@mittwald/api-client 4.280.0 → 4.282.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,22 @@
1
1
  import { ApiCallAsyncResourceFactory } from "@mittwald/api-client-commons/react";
2
2
  import * as descriptors from "./descriptors.js";
3
3
  export * from "@mittwald/react-use-promise";
4
+ const buildAiHostingApi = (baseClient) => ({
5
+ /** Get a list of already created keys. */
6
+ customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
7
+ /** Get a key of a customer. */
8
+ customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
+ /** Get ai hosting plan and usages of a customer. */
10
+ customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
11
+ /** Get a list of currently active models. */
12
+ getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
13
+ /** Get a list of keys of a project. */
14
+ projectGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKeys, baseClient.aiHosting.projectGetKeys).getApiResource,
15
+ /** Get a key of a project. */
16
+ projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
17
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
18
+ projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
19
+ });
4
20
  const buildAppApi = (baseClient) => ({
5
21
  /** Get an App. */
6
22
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
@@ -320,8 +336,6 @@ const buildMailApi = (baseClient) => ({
320
336
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
321
337
  });
322
338
  const buildMiscApi = (baseClient) => ({
323
- /** Get a list of currently active llm models. */
324
- getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
325
339
  /** List valid time zones. */
326
340
  ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
327
341
  });
@@ -376,8 +390,6 @@ const buildUserApi = (baseClient) => ({
376
390
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
377
391
  });
378
392
  const buildProjectApi = (baseClient) => ({
379
- /** Get a list of already created llm licences. */
380
- getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
381
393
  /** List Invites belonging to a Project. */
382
394
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
383
395
  /** Get a ProjectInvite. */
@@ -386,8 +398,6 @@ const buildProjectApi = (baseClient) => ({
386
398
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
387
399
  /** Get a Project. */
388
400
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
389
- /** Get a licence of a project. */
390
- getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
391
401
  /** Get a ProjectInvite by token. */
392
402
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
393
403
  /** Get the executing user's membership in a Project. */
@@ -432,6 +442,8 @@ const buildSshsftpUserApi = (baseClient) => ({
432
442
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
433
443
  });
434
444
  export class MittwaldAPIV2ClientReact {
445
+ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
446
+ aiHosting;
435
447
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
436
448
  app;
437
449
  /** The article API allows you to read article information. */
@@ -475,6 +487,7 @@ export class MittwaldAPIV2ClientReact {
475
487
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
476
488
  sshsftpUser;
477
489
  constructor(baseClient) {
490
+ this.aiHosting = buildAiHostingApi(baseClient);
478
491
  this.app = buildAppApi(baseClient);
479
492
  this.article = buildArticleApi(baseClient);
480
493
  this.backup = buildBackupApi(baseClient);
@@ -4,6 +4,35 @@
4
4
  import * as descriptors from "./descriptors.js";
5
5
  import { ApiClientBase } from "@mittwald/api-client-commons";
6
6
  export class MittwaldAPIV2Client extends ApiClientBase {
7
+ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
8
+ aiHosting = {
9
+ /** Get a list of already created keys. */
10
+ customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
11
+ /** Creates a new key. */
12
+ customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
13
+ /** Get a key of a customer. */
14
+ customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
15
+ /** Update a key for a customer. */
16
+ customerUpdateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdateKey),
17
+ /** Delete a key for a customer. */
18
+ customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
19
+ /** Get ai hosting plan and usages of a customer. */
20
+ customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
21
+ /** Get a list of currently active models. */
22
+ getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
23
+ /** Get a list of keys of a project. */
24
+ projectGetKeys: this.requestFunctionFactory(descriptors.aiHostingProjectGetKeys),
25
+ /** Creates a new key for a project. */
26
+ projectCreateKey: this.requestFunctionFactory(descriptors.aiHostingProjectCreateKey),
27
+ /** Get a key of a project. */
28
+ projectGetKey: this.requestFunctionFactory(descriptors.aiHostingProjectGetKey),
29
+ /** Update a key for a project. */
30
+ projectUpdateKey: this.requestFunctionFactory(descriptors.aiHostingProjectUpdateKey),
31
+ /** Delete a key for a project. */
32
+ projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
33
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
34
+ projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
35
+ };
7
36
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
8
37
  app = {
9
38
  /** Trigger a runtime action belonging to an AppInstallation. */
@@ -808,8 +837,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
808
837
  };
809
838
  /** API endpoints that are not related to any specific API domain */
810
839
  misc = {
811
- /** Get a list of currently active llm models. */
812
- getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
813
840
  /** List valid time zones. */
814
841
  ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
815
842
  /** Obtain a service token. */
@@ -836,10 +863,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
836
863
  project = {
837
864
  /** Accept a ProjectInvite. */
838
865
  acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
839
- /** Get a list of already created llm licences. */
840
- getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
841
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
842
- createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
843
866
  /** List Invites belonging to a Project. */
844
867
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
845
868
  /** Create a ProjectInvite. */
@@ -870,10 +893,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
870
893
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
871
894
  /** Delete a Server's avatar. */
872
895
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
873
- /** Get a licence of a project. */
874
- getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
875
- /** Update a llm Licence for a project. */
876
- updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
877
896
  /** Get a ProjectInvite by token. */
878
897
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
879
898
  /** Get the executing user's membership in a Project. */
@@ -1,3 +1,81 @@
1
+ /** Get a list of already created keys. */
2
+ export const aiHostingCustomerGetKeys = {
3
+ path: "/v2/customers/{customerId}/ai-hosting-keys",
4
+ method: "GET",
5
+ operationId: "ai-hosting-customer-get-keys",
6
+ };
7
+ /** Creates a new key. */
8
+ export const aiHostingCustomerCreateKey = {
9
+ path: "/v2/customers/{customerId}/ai-hosting-keys",
10
+ method: "POST",
11
+ operationId: "ai-hosting-customer-create-key",
12
+ };
13
+ /** Get a key of a customer. */
14
+ export const aiHostingCustomerGetKey = {
15
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
16
+ method: "GET",
17
+ operationId: "ai-hosting-customer-get-key",
18
+ };
19
+ /** Update a key for a customer. */
20
+ export const aiHostingCustomerUpdateKey = {
21
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
22
+ method: "PUT",
23
+ operationId: "ai-hosting-customer-update-key",
24
+ };
25
+ /** Delete a key for a customer. */
26
+ export const aiHostingCustomerDeleteKey = {
27
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
28
+ method: "DELETE",
29
+ operationId: "ai-hosting-customer-delete-key",
30
+ };
31
+ /** Get ai hosting plan and usages of a customer. */
32
+ export const aiHostingCustomerGetUsage = {
33
+ path: "/v2/customers/{customerId}/ai-hosting",
34
+ method: "GET",
35
+ operationId: "ai-hosting-customer-get-usage",
36
+ };
37
+ /** Get a list of currently active models. */
38
+ export const aiHostingGetModels = {
39
+ path: "/v2/ai-hosting-models",
40
+ method: "GET",
41
+ operationId: "ai-hosting-get-models",
42
+ };
43
+ /** Get a list of keys of a project. */
44
+ export const aiHostingProjectGetKeys = {
45
+ path: "/v2/projects/{projectId}/ai-hosting-keys",
46
+ method: "GET",
47
+ operationId: "ai-hosting-project-get-keys",
48
+ };
49
+ /** Creates a new key for a project. */
50
+ export const aiHostingProjectCreateKey = {
51
+ path: "/v2/projects/{projectId}/ai-hosting-keys",
52
+ method: "POST",
53
+ operationId: "ai-hosting-project-create-key",
54
+ };
55
+ /** Get a key of a project. */
56
+ export const aiHostingProjectGetKey = {
57
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
58
+ method: "GET",
59
+ operationId: "ai-hosting-project-get-key",
60
+ };
61
+ /** Update a key for a project. */
62
+ export const aiHostingProjectUpdateKey = {
63
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
64
+ method: "PUT",
65
+ operationId: "ai-hosting-project-update-key",
66
+ };
67
+ /** Delete a key for a project. */
68
+ export const aiHostingProjectDeleteKey = {
69
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
70
+ method: "DELETE",
71
+ operationId: "ai-hosting-project-delete-key",
72
+ };
73
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
74
+ export const aiHostingProjectGetUsage = {
75
+ path: "/v2/projects/{projectId}/ai-hosting",
76
+ method: "GET",
77
+ operationId: "ai-hosting-project-get-usage",
78
+ };
1
79
  /** Trigger a runtime action belonging to an AppInstallation. */
2
80
  export const appExecuteAction = {
3
81
  path: "/v2/app-installations/{appInstallationId}/actions/{action}",
@@ -1804,12 +1882,6 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1804
1882
  method: "PUT",
1805
1883
  operationId: "marketplace-customer-update-payment-method",
1806
1884
  };
1807
- /** Get a list of currently active llm models. */
1808
- export const miscGetLlmModelsExperimental = {
1809
- path: "/v2/llm-models",
1810
- method: "GET",
1811
- operationId: "misc-get-llm-models-experimental",
1812
- };
1813
1885
  /** List valid time zones. */
1814
1886
  export const miscellaneousListTimeZones = {
1815
1887
  path: "/v2/time-zones",
@@ -1936,18 +2008,6 @@ export const projectAcceptProjectInvite = {
1936
2008
  method: "POST",
1937
2009
  operationId: "project-accept-project-invite",
1938
2010
  };
1939
- /** Get a list of already created llm licences. */
1940
- export const projectGetLlmLicencesExperimental = {
1941
- path: "/v2/projects/{projectId}/llm-licences",
1942
- method: "GET",
1943
- operationId: "project-get-llm-licences-experimental",
1944
- };
1945
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1946
- export const projectCreateLlmBetaLicenceExperimental = {
1947
- path: "/v2/projects/{projectId}/llm-licences",
1948
- method: "POST",
1949
- operationId: "project-create-llm-beta-licence-experimental",
1950
- };
1951
2011
  /** List Invites belonging to a Project. */
1952
2012
  export const projectListInvitesForProject = {
1953
2013
  path: "/v2/projects/{projectId}/invites",
@@ -2068,18 +2128,6 @@ export const projectFileSystemListFiles = {
2068
2128
  method: "GET",
2069
2129
  operationId: "project-file-system-list-files",
2070
2130
  };
2071
- /** Get a licence of a project. */
2072
- export const projectGetLlmLicenceExperimental = {
2073
- path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
2074
- method: "GET",
2075
- operationId: "project-get-llm-licence-experimental",
2076
- };
2077
- /** Update a llm Licence for a project. */
2078
- export const projectUpdateLlmLicenceExperimental = {
2079
- path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
2080
- method: "PUT",
2081
- operationId: "project-update-llm-licence-experimental",
2082
- };
2083
2131
  /** Get a ProjectInvite by token. */
2084
2132
  export const projectGetProjectTokenInvite = {
2085
2133
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.279.0';
1
+ export const MittwaldAPIClientVersion = '4.281.0';
@@ -1,5 +1,100 @@
1
1
  import MittwaldAPIV2Client from "./client.js";
2
2
  export * from "@mittwald/react-use-promise";
3
+ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
4
+ /** Get a list of already created keys. */
5
+ customerGetKeys: (conf: {
6
+ customerId: string;
7
+ headers?: {
8
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9
+ } | undefined;
10
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
11
+ /** Get a key of a customer. */
12
+ customerGetKey: (conf: {
13
+ customerId: string;
14
+ keyId: string;
15
+ headers?: {
16
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17
+ } | undefined;
18
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
19
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
20
+ customerId?: string | undefined;
21
+ isBlocked: boolean;
22
+ key: string;
23
+ keyId: string;
24
+ models: string[];
25
+ name: string;
26
+ projectId?: string | undefined;
27
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
28
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
29
+ }>;
30
+ /** Get ai hosting plan and usages of a customer. */
31
+ customerGetUsage: (conf: {
32
+ customerId: string;
33
+ headers?: {
34
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
35
+ } | undefined;
36
+ queryParameters?: {
37
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
38
+ topUsageCount?: number | undefined;
39
+ } | undefined;
40
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
41
+ customerId: string;
42
+ deletedAt?: string | undefined;
43
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
44
+ nextTokenReset: string;
45
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
46
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
47
+ topUsages?: {
48
+ keyId?: string;
49
+ name: string;
50
+ projectId?: string;
51
+ tokenUsed: number;
52
+ }[] | undefined;
53
+ }>;
54
+ /** Get a list of currently active models. */
55
+ getModels: (conf?: {
56
+ headers?: {
57
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
58
+ } | undefined;
59
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
60
+ /** Get a list of keys of a project. */
61
+ projectGetKeys: (conf: {
62
+ projectId: string;
63
+ headers?: {
64
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
65
+ } | undefined;
66
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
67
+ /** Get a key of a project. */
68
+ projectGetKey: (conf: {
69
+ projectId: string;
70
+ keyId: string;
71
+ headers?: {
72
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
73
+ } | undefined;
74
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
75
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
76
+ customerId?: string | undefined;
77
+ isBlocked: boolean;
78
+ key: string;
79
+ keyId: string;
80
+ models: string[];
81
+ name: string;
82
+ projectId?: string | undefined;
83
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
84
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
85
+ }>;
86
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
87
+ projectGetUsage: (conf: {
88
+ projectId: string;
89
+ headers?: {
90
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
91
+ } | undefined;
92
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
93
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
94
+ nextTokenReset?: string | undefined;
95
+ projectId: string;
96
+ }>;
97
+ };
3
98
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
4
99
  /** Get an App. */
5
100
  getApp: (conf: {
@@ -259,7 +354,7 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
259
354
  } | undefined;
260
355
  modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
261
356
  name: string;
262
- orderable: "forbidden" | "internal" | "beta_testing" | "full" | "deprecated";
357
+ orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
263
358
  possibleArticleChanges?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
264
359
  price?: number | undefined;
265
360
  tags?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
@@ -2531,12 +2626,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2531
2626
  }>;
2532
2627
  };
2533
2628
  declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2534
- /** Get a list of currently active llm models. */
2535
- getLlmModelsExperimental: (conf?: {
2536
- headers?: {
2537
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2538
- } | undefined;
2539
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
2540
2629
  /** List valid time zones. */
2541
2630
  ellaneousListTimeZones: (conf?: {
2542
2631
  headers?: {
@@ -2867,13 +2956,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2867
2956
  }>;
2868
2957
  };
2869
2958
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2870
- /** Get a list of already created llm licences. */
2871
- getLlmLicencesExperimental: (conf: {
2872
- projectId: string;
2873
- headers?: {
2874
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2875
- } | undefined;
2876
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
2877
2959
  /** List Invites belonging to a Project. */
2878
2960
  listInvitesForProject: (conf: {
2879
2961
  projectId: string;
@@ -2967,28 +3049,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2967
3049
  webStorageUsageInBytes: number;
2968
3050
  webStorageUsageInBytesSetAt: string;
2969
3051
  }>;
2970
- /** Get a licence of a project. */
2971
- getLlmLicenceExperimental: (conf: {
2972
- projectId: string;
2973
- licenceId: string;
2974
- headers?: {
2975
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2976
- } | undefined;
2977
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2978
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
2979
- customerId?: string | undefined;
2980
- isBlocked: boolean;
2981
- licenceId: string;
2982
- licenceKey: string;
2983
- limit: {
2984
- allowedRequestsPerUnit: number;
2985
- unit: "minute" | "hour";
2986
- };
2987
- models: string[];
2988
- name: string;
2989
- projectId?: string | undefined;
2990
- rateLimit: number;
2991
- }>;
2992
3052
  /** Get a ProjectInvite by token. */
2993
3053
  getProjectTokenInvite: (conf: {
2994
3054
  headers: {
@@ -3354,6 +3414,8 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
3354
3414
  }>;
3355
3415
  };
3356
3416
  export declare class MittwaldAPIV2ClientReact {
3417
+ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
3418
+ readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
3357
3419
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
3358
3420
  readonly app: ReturnType<typeof buildAppApi>;
3359
3421
  /** The article API allows you to read article information. */