Skip to content

Commit 57e4af1

Browse files
feat: update generated client
1 parent e12d723 commit 57e4af1

File tree

5 files changed

+700
-1
lines changed

5 files changed

+700
-1
lines changed

packages/mittwald/spec/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/mittwald/src/generated/v2/client-react.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,16 @@ const buildProjectApi = (baseClient: MittwaldAPIV2Client) => ({
865865
descriptors.storagespaceGetServerStatistics,
866866
baseClient.project.storagespaceGetServerStatistics,
867867
).getApiResource,
868+
/** Get a list of already created llm licences. */
869+
getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(
870+
descriptors.projectGetLlmLicencesExperimental,
871+
baseClient.project.getLlmLicencesExperimental,
872+
).getApiResource,
873+
/** Get a licence of a project. */
874+
getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(
875+
descriptors.projectGetLlmLicenceExperimental,
876+
baseClient.project.getLlmLicenceExperimental,
877+
).getApiResource,
868878
});
869879

870880
const buildProjectFileSystemApi = (baseClient: MittwaldAPIV2Client) => ({

packages/mittwald/src/generated/v2/client.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
14101410
storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(
14111411
descriptors.storagespaceReplaceServerNotificationThreshold,
14121412
),
1413+
/** Get a list of already created llm licences. */
1414+
getLlmLicencesExperimental: this.requestFunctionFactory(
1415+
descriptors.projectGetLlmLicencesExperimental,
1416+
),
1417+
/** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1418+
createLlmBetaLicenceExperimental: this.requestFunctionFactory(
1419+
descriptors.projectCreateLlmBetaLicenceExperimental,
1420+
),
1421+
/** Get a licence of a project. */
1422+
getLlmLicenceExperimental: this.requestFunctionFactory(
1423+
descriptors.projectGetLlmLicenceExperimental,
1424+
),
1425+
/** Update a llm Licence for a project. */
1426+
updateLlmLicenceExperimental: this.requestFunctionFactory(
1427+
descriptors.projectUpdateLlmLicenceExperimental,
1428+
),
14131429
};
14141430

14151431
/** The filesystem API allows you to directly access the filesystem of your project. */

packages/mittwald/src/generated/v2/descriptors.ts

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15769,3 +15769,243 @@ export const leadfyndrCreateLeadFyndrAccessRequest: OpenAPIOperation<
1576915769
method: "POST",
1577015770
operationId: "leadfyndr-create-lead-fyndr-access-request",
1577115771
};
15772+
15773+
/** Get a list of currently active llm models. */
15774+
export const aihostingGetLlmModelsExperimental: OpenAPIOperation<
15775+
RequestType<
15776+
Simplify<null>,
15777+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Parameters.Path>,
15778+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Parameters.Query>,
15779+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Parameters.Header>
15780+
>,
15781+
| Response<
15782+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Responses.$200.Content.ApplicationJson>,
15783+
200,
15784+
"application/json"
15785+
>
15786+
| Response<
15787+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Responses.$400.Content.ApplicationJson>,
15788+
400,
15789+
"application/json"
15790+
>
15791+
| Response<
15792+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Responses.$403.Content.ApplicationJson>,
15793+
403,
15794+
"application/json"
15795+
>
15796+
| Response<
15797+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Responses.$404.Content.ApplicationJson>,
15798+
404,
15799+
"application/json"
15800+
>
15801+
| Response<
15802+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Responses.$429.Content.ApplicationJson>,
15803+
429,
15804+
"application/json"
15805+
>
15806+
| Response<
15807+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalLlmModels.Get.Responses.Default.Content.ApplicationJson>,
15808+
"default",
15809+
"application/json"
15810+
>
15811+
> = {
15812+
path: "/v2-experimental/llm/models",
15813+
method: "GET",
15814+
operationId: "aihosting-get-llm-models-experimental",
15815+
};
15816+
15817+
/** Get a list of already created llm licences. */
15818+
export const projectGetLlmLicencesExperimental: OpenAPIOperation<
15819+
RequestType<
15820+
Simplify<null>,
15821+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Parameters.Path>,
15822+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Parameters.Query>,
15823+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Parameters.Header>
15824+
>,
15825+
| Response<
15826+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Responses.$200.Content.ApplicationJson>,
15827+
200,
15828+
"application/json"
15829+
>
15830+
| Response<
15831+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Responses.$400.Content.ApplicationJson>,
15832+
400,
15833+
"application/json"
15834+
>
15835+
| Response<
15836+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Responses.$403.Content.ApplicationJson>,
15837+
403,
15838+
"application/json"
15839+
>
15840+
| Response<
15841+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Responses.$404.Content.ApplicationJson>,
15842+
404,
15843+
"application/json"
15844+
>
15845+
| Response<
15846+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Responses.$429.Content.ApplicationJson>,
15847+
429,
15848+
"application/json"
15849+
>
15850+
| Response<
15851+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Get.Responses.Default.Content.ApplicationJson>,
15852+
"default",
15853+
"application/json"
15854+
>
15855+
> = {
15856+
path: "/v2-experimental/projects/{projectId}/llm-licences",
15857+
method: "GET",
15858+
operationId: "project-get-llm-licences-experimental",
15859+
};
15860+
15861+
/** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
15862+
export const projectCreateLlmBetaLicenceExperimental: OpenAPIOperation<
15863+
RequestType<
15864+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Parameters.RequestBody>,
15865+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Parameters.Path>,
15866+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Parameters.Query>,
15867+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Parameters.Header>
15868+
>,
15869+
| Response<
15870+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$201.Content.ApplicationJson>,
15871+
201,
15872+
"application/json"
15873+
>
15874+
| Response<
15875+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$400.Content.ApplicationJson>,
15876+
400,
15877+
"application/json"
15878+
>
15879+
| Response<
15880+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$403.Content.ApplicationJson>,
15881+
403,
15882+
"application/json"
15883+
>
15884+
| Response<
15885+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$404.Content.ApplicationJson>,
15886+
404,
15887+
"application/json"
15888+
>
15889+
| Response<
15890+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$409.Content.ApplicationJson>,
15891+
409,
15892+
"application/json"
15893+
>
15894+
| Response<
15895+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$412.Content.ApplicationJson>,
15896+
412,
15897+
"application/json"
15898+
>
15899+
| Response<
15900+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.$429.Content.ApplicationJson>,
15901+
429,
15902+
"application/json"
15903+
>
15904+
| Response<
15905+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicences.Post.Responses.Default.Content.ApplicationJson>,
15906+
"default",
15907+
"application/json"
15908+
>
15909+
> = {
15910+
path: "/v2-experimental/projects/{projectId}/llm-licences",
15911+
method: "POST",
15912+
operationId: "project-create-llm-beta-licence-experimental",
15913+
};
15914+
15915+
/** Get a licence of a project. */
15916+
export const projectGetLlmLicenceExperimental: OpenAPIOperation<
15917+
RequestType<
15918+
Simplify<null>,
15919+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Parameters.Path>,
15920+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Parameters.Query>,
15921+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Parameters.Header>
15922+
>,
15923+
| Response<
15924+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Responses.$200.Content.ApplicationJson>,
15925+
200,
15926+
"application/json"
15927+
>
15928+
| Response<
15929+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Responses.$400.Content.ApplicationJson>,
15930+
400,
15931+
"application/json"
15932+
>
15933+
| Response<
15934+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Responses.$403.Content.ApplicationJson>,
15935+
403,
15936+
"application/json"
15937+
>
15938+
| Response<
15939+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Responses.$404.Content.ApplicationJson>,
15940+
404,
15941+
"application/json"
15942+
>
15943+
| Response<
15944+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Responses.$429.Content.ApplicationJson>,
15945+
429,
15946+
"application/json"
15947+
>
15948+
| Response<
15949+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Get.Responses.Default.Content.ApplicationJson>,
15950+
"default",
15951+
"application/json"
15952+
>
15953+
> = {
15954+
path: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
15955+
method: "GET",
15956+
operationId: "project-get-llm-licence-experimental",
15957+
};
15958+
15959+
/** Update a llm Licence for a project. */
15960+
export const projectUpdateLlmLicenceExperimental: OpenAPIOperation<
15961+
RequestType<
15962+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Parameters.RequestBody>,
15963+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Parameters.Path>,
15964+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Parameters.Query>,
15965+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Parameters.Header>
15966+
>,
15967+
| Response<
15968+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$200.Content.ApplicationJson>,
15969+
200,
15970+
"application/json"
15971+
>
15972+
| Response<
15973+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$400.Content.ApplicationJson>,
15974+
400,
15975+
"application/json"
15976+
>
15977+
| Response<
15978+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$403.Content.ApplicationJson>,
15979+
403,
15980+
"application/json"
15981+
>
15982+
| Response<
15983+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$404.Content.ApplicationJson>,
15984+
404,
15985+
"application/json"
15986+
>
15987+
| Response<
15988+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$409.Content.ApplicationJson>,
15989+
409,
15990+
"application/json"
15991+
>
15992+
| Response<
15993+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$412.Content.ApplicationJson>,
15994+
412,
15995+
"application/json"
15996+
>
15997+
| Response<
15998+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.$429.Content.ApplicationJson>,
15999+
429,
16000+
"application/json"
16001+
>
16002+
| Response<
16003+
Simplify<MittwaldAPIV2.Paths.V2ExperimentalProjectsProjectIdLlmLicencesLicenceId.Put.Responses.Default.Content.ApplicationJson>,
16004+
"default",
16005+
"application/json"
16006+
>
16007+
> = {
16008+
path: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
16009+
method: "PUT",
16010+
operationId: "project-update-llm-licence-experimental",
16011+
};

0 commit comments

Comments
 (0)