@mittwald/api-client 0.0.0-development-3a5c2fb-20251119 → 0.0.0-development-3b96bc8-20251126

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 llm licences. */
6
+ customerGetLlmLicences: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetLlmLicences, baseClient.aiHosting.customerGetLlmLicences).getApiResource,
7
+ /** Get a licence of a customer. */
8
+ customerGetLlmLicence: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetLlmLicence, baseClient.aiHosting.customerGetLlmLicence).getApiResource,
9
+ /** Get llm tariff and usages of a customer. */
10
+ customerGetCustomerLlmTariffOptions: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetCustomerLlmTariffOptions, baseClient.aiHosting.customerGetCustomerLlmTariffOptions).getApiResource,
11
+ /** Get a list of currently active llm models. */
12
+ getLlmModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetLlmModels, baseClient.aiHosting.getLlmModels).getApiResource,
13
+ /** Get a list of already created llm licences of a project. */
14
+ projectGetLlmLicences: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetLlmLicences, baseClient.aiHosting.projectGetLlmLicences).getApiResource,
15
+ /** Get a licence of a project. */
16
+ projectGetLlmLicence: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetLlmLicence, baseClient.aiHosting.projectGetLlmLicence).getApiResource,
17
+ /** Get llm tariff and usages of a project. Same as the customer route, but less details. */
18
+ projectGetProjectLlmTariffOptions: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetProjectLlmTariffOptions, baseClient.aiHosting.projectGetProjectLlmTariffOptions).getApiResource,
19
+ });
4
20
  const buildAppApi = (baseClient) => ({
5
21
  /** Get an App. */
6
22
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
@@ -312,6 +328,8 @@ const buildMailApi = (baseClient) => ({
312
328
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
313
329
  /** List backups belonging to a MailAddress. */
314
330
  listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
331
+ /** List MailAddresses. */
332
+ listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
315
333
  /** List mail settings of a Project. */
316
334
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
317
335
  /** Get a Migration. */
@@ -319,10 +337,6 @@ const buildMailApi = (baseClient) => ({
319
337
  /** List Migrations belonging to a Project in customer center or mStudio. */
320
338
  migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
321
339
  });
322
- const buildMiscApi = (baseClient) => ({
323
- /** Get a list of currently active llm models. */
324
- getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
325
- });
326
340
  const buildNotificationApi = (baseClient) => ({
327
341
  /** Getting the subscription status of the subscription. */
328
342
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -374,8 +388,6 @@ const buildUserApi = (baseClient) => ({
374
388
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
375
389
  });
376
390
  const buildProjectApi = (baseClient) => ({
377
- /** Get a list of already created llm licences. */
378
- getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
379
391
  /** List Invites belonging to a Project. */
380
392
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
381
393
  /** Get a ProjectInvite. */
@@ -384,8 +396,6 @@ const buildProjectApi = (baseClient) => ({
384
396
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
385
397
  /** Get a Project. */
386
398
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
387
- /** Get a licence of a project. */
388
- getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
389
399
  /** Get a ProjectInvite by token. */
390
400
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
391
401
  /** Get the executing user's membership in a Project. */
@@ -430,6 +440,8 @@ const buildSshsftpUserApi = (baseClient) => ({
430
440
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
431
441
  });
432
442
  export class MittwaldAPIV2ClientReact {
443
+ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
444
+ aiHosting;
433
445
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
434
446
  app;
435
447
  /** The article API allows you to read article information. */
@@ -458,8 +470,6 @@ export class MittwaldAPIV2ClientReact {
458
470
  leadFyndr;
459
471
  /** The mail API allows you to manage your mail accounts. */
460
472
  mail;
461
- /** API endpoints that are not related to any specific API domain */
462
- misc;
463
473
  /** The notification API allows you to manage your notifications. */
464
474
  notification;
465
475
  /** The page insights API allows you to get page insights information. */
@@ -473,6 +483,7 @@ export class MittwaldAPIV2ClientReact {
473
483
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
474
484
  sshsftpUser;
475
485
  constructor(baseClient) {
486
+ this.aiHosting = buildAiHostingApi(baseClient);
476
487
  this.app = buildAppApi(baseClient);
477
488
  this.article = buildArticleApi(baseClient);
478
489
  this.backup = buildBackupApi(baseClient);
@@ -487,7 +498,6 @@ export class MittwaldAPIV2ClientReact {
487
498
  this.file = buildFileApi(baseClient);
488
499
  this.leadFyndr = buildLeadFyndrApi(baseClient);
489
500
  this.mail = buildMailApi(baseClient);
490
- this.misc = buildMiscApi(baseClient);
491
501
  this.notification = buildNotificationApi(baseClient);
492
502
  this.pageInsights = buildPageInsightsApi(baseClient);
493
503
  this.user = buildUserApi(baseClient);
@@ -4,6 +4,33 @@
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 llm licences. */
10
+ customerGetLlmLicences: this.requestFunctionFactory(descriptors.aiHostingCustomerGetLlmLicences),
11
+ /** Creates a new llm licence for a customer. */
12
+ customerCreateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateLlmLicence),
13
+ /** Get a licence of a customer. */
14
+ customerGetLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerGetLlmLicence),
15
+ /** Update a llm Licence for a customer. */
16
+ customerUpdateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdateLlmLicence),
17
+ /** Delete a llm Licence for a customer. */
18
+ customerDeleteLlmLicence: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteLlmLicence),
19
+ /** Get llm tariff and usages of a customer. */
20
+ customerGetCustomerLlmTariffOptions: this.requestFunctionFactory(descriptors.aiHostingCustomerGetCustomerLlmTariffOptions),
21
+ /** Get a list of currently active llm models. */
22
+ getLlmModels: this.requestFunctionFactory(descriptors.aiHostingGetLlmModels),
23
+ /** Get a list of already created llm licences of a project. */
24
+ projectGetLlmLicences: this.requestFunctionFactory(descriptors.aiHostingProjectGetLlmLicences),
25
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
26
+ projectCreateLlmBetaLicence: this.requestFunctionFactory(descriptors.aiHostingProjectCreateLlmBetaLicence),
27
+ /** Get a licence of a project. */
28
+ projectGetLlmLicence: this.requestFunctionFactory(descriptors.aiHostingProjectGetLlmLicence),
29
+ /** Update a llm Licence for a project. */
30
+ projectUpdateLlmLicence: this.requestFunctionFactory(descriptors.aiHostingProjectUpdateLlmLicence),
31
+ /** Get llm tariff and usages of a project. Same as the customer route, but less details. */
32
+ projectGetProjectLlmTariffOptions: this.requestFunctionFactory(descriptors.aiHostingProjectGetProjectLlmTariffOptions),
33
+ };
7
34
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
8
35
  app = {
9
36
  /** Trigger a runtime action belonging to an AppInstallation. */
@@ -233,12 +260,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
233
260
  contributorListOnbehalfInvoices: this.requestFunctionFactory(descriptors.contributorListOnbehalfInvoices),
234
261
  /** Request an Access Token for the Incoming Invoice file. */
235
262
  contributorReceiptGetFileAccessToken: this.requestFunctionFactory(descriptors.contributorReceiptGetFileAccessToken),
263
+ /** Reject a contributor verification request. */
264
+ contributorRejectContributorInternal: this.requestFunctionFactory(descriptors.contributorRejectContributorInternal),
236
265
  /** Add a deviating avatar to a Contributor. */
237
266
  contributorRequestDeviatingContributorAvatarUpload: this.requestFunctionFactory(descriptors.contributorRequestDeviatingContributorAvatarUpload),
238
267
  /** Delete deviating contributor avatar und return to the inherited customer avatar. */
239
268
  contributorResetContributorAvatar: this.requestFunctionFactory(descriptors.contributorResetContributorAvatar),
240
269
  /** Rotate the secret for an extension instance. */
241
270
  contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
271
+ /** Accept a contributor verification request */
272
+ contributorVerifyContributorInternal: this.requestFunctionFactory(descriptors.contributorVerifyContributorInternal),
242
273
  /** Authenticate your external application using the extensionInstanceSecret. */
243
274
  extensionAuthenticateInstance: this.requestFunctionFactory(descriptors.extensionAuthenticateInstance),
244
275
  /** Authenticate your external application using a session token and an extension secret */
@@ -619,6 +650,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
619
650
  disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
620
651
  /** List backups belonging to a MailAddress. */
621
652
  listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
653
+ /** List MailAddresses. */
654
+ listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
622
655
  /** List mail settings of a Project. */
623
656
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
624
657
  /** Check if a Migration between two projects is possible. */
@@ -814,17 +847,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
814
847
  /** Removes a reservation on a unlocked lead for the given customerId. */
815
848
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
816
849
  };
817
- /** API endpoints that are not related to any specific API domain */
818
- misc = {
819
- /** Get a list of currently active llm models. */
820
- getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
821
- /** Check if an email is from mittwald. */
822
- verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
823
- /** Check if an address exists. */
824
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
825
- /** Check if a company exists. */
826
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
827
- };
828
850
  /** The page insights API allows you to get page insights information. */
829
851
  pageInsights = {
830
852
  /** Get detailed performance data for a given domain and path. */
@@ -840,10 +862,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
840
862
  project = {
841
863
  /** Accept a ProjectInvite. */
842
864
  acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
843
- /** Get a list of already created llm licences. */
844
- getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
845
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
846
- createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
847
865
  /** List Invites belonging to a Project. */
848
866
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
849
867
  /** Create a ProjectInvite. */
@@ -874,10 +892,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
874
892
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
875
893
  /** Delete a Server's avatar. */
876
894
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
877
- /** Get a licence of a project. */
878
- getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
879
- /** Update a llm Licence for a project. */
880
- updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
881
895
  /** Get a ProjectInvite by token. */
882
896
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
883
897
  /** Get the executing user's membership in a Project. */
@@ -952,5 +966,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
952
966
  /** Update an SSHUser. */
953
967
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
954
968
  };
969
+ /** API endpoints that are not related to any specific API domain */
970
+ misc = {
971
+ /** Check if an email is from mittwald. */
972
+ verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
973
+ /** Check if an address exists. */
974
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
975
+ /** Check if a company exists. */
976
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
977
+ };
955
978
  }
956
979
  export default MittwaldAPIV2Client;
@@ -1,3 +1,75 @@
1
+ /** Get a list of already created llm licences. */
2
+ export const aiHostingCustomerGetLlmLicences = {
3
+ path: "/v2/customers/{customerId}/llm-licences",
4
+ method: "GET",
5
+ operationId: "ai-hosting-customer-get-llm-licences",
6
+ };
7
+ /** Creates a new llm licence for a customer. */
8
+ export const aiHostingCustomerCreateLlmLicence = {
9
+ path: "/v2/customers/{customerId}/llm-licences",
10
+ method: "POST",
11
+ operationId: "ai-hosting-customer-create-llm-licence",
12
+ };
13
+ /** Get a licence of a customer. */
14
+ export const aiHostingCustomerGetLlmLicence = {
15
+ path: "/v2/customers/{customerId}/llm-licences/{licenceId}",
16
+ method: "GET",
17
+ operationId: "ai-hosting-customer-get-llm-licence",
18
+ };
19
+ /** Update a llm Licence for a customer. */
20
+ export const aiHostingCustomerUpdateLlmLicence = {
21
+ path: "/v2/customers/{customerId}/llm-licences/{licenceId}",
22
+ method: "PUT",
23
+ operationId: "ai-hosting-customer-update-llm-licence",
24
+ };
25
+ /** Delete a llm Licence for a customer. */
26
+ export const aiHostingCustomerDeleteLlmLicence = {
27
+ path: "/v2/customers/{customerId}/llm-licences/{licenceId}",
28
+ method: "DELETE",
29
+ operationId: "ai-hosting-customer-delete-llm-licence",
30
+ };
31
+ /** Get llm tariff and usages of a customer. */
32
+ export const aiHostingCustomerGetCustomerLlmTariffOptions = {
33
+ path: "/v2/customers/{customerId}/llm-licences/tariff",
34
+ method: "GET",
35
+ operationId: "ai-hosting-customer-get-customer-llm-tariff-options",
36
+ };
37
+ /** Get a list of currently active llm models. */
38
+ export const aiHostingGetLlmModels = {
39
+ path: "/v2/llm-models",
40
+ method: "GET",
41
+ operationId: "ai-hosting-get-llm-models",
42
+ };
43
+ /** Get a list of already created llm licences of a project. */
44
+ export const aiHostingProjectGetLlmLicences = {
45
+ path: "/v2/projects/{projectId}/llm-licences",
46
+ method: "GET",
47
+ operationId: "ai-hosting-project-get-llm-licences",
48
+ };
49
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
50
+ export const aiHostingProjectCreateLlmBetaLicence = {
51
+ path: "/v2/projects/{projectId}/llm-licences",
52
+ method: "POST",
53
+ operationId: "ai-hosting-project-create-llm-beta-licence",
54
+ };
55
+ /** Get a licence of a project. */
56
+ export const aiHostingProjectGetLlmLicence = {
57
+ path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
58
+ method: "GET",
59
+ operationId: "ai-hosting-project-get-llm-licence",
60
+ };
61
+ /** Update a llm Licence for a project. */
62
+ export const aiHostingProjectUpdateLlmLicence = {
63
+ path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
64
+ method: "PUT",
65
+ operationId: "ai-hosting-project-update-llm-licence",
66
+ };
67
+ /** Get llm tariff and usages of a project. Same as the customer route, but less details. */
68
+ export const aiHostingProjectGetProjectLlmTariffOptions = {
69
+ path: "/v2/projects/{projectId}/llm-licences/tariff",
70
+ method: "GET",
71
+ operationId: "ai-hosting-project-get-project-llm-tariff-options",
72
+ };
1
73
  /** Trigger a runtime action belonging to an AppInstallation. */
2
74
  export const appExecuteAction = {
3
75
  path: "/v2/app-installations/{appInstallationId}/actions/{action}",
@@ -556,6 +628,12 @@ export const contributorReceiptGetFileAccessToken = {
556
628
  method: "GET",
557
629
  operationId: "contributor-receipt-get-file-access-token",
558
630
  };
631
+ /** Reject a contributor verification request. */
632
+ export const contributorRejectContributorInternal = {
633
+ path: "/internal-v2/contributors/{contributorId}/actions/reject",
634
+ method: "POST",
635
+ operationId: "contributor-reject-contributor-internal",
636
+ };
559
637
  /** Add a deviating avatar to a Contributor. */
560
638
  export const contributorRequestDeviatingContributorAvatarUpload = {
561
639
  path: "/v2/contributors/{contributorId}/avatar",
@@ -574,6 +652,12 @@ export const contributorRotateSecretForExtensionInstance = {
574
652
  method: "PUT",
575
653
  operationId: "contributor-rotate-secret-for-extension-instance",
576
654
  };
655
+ /** Accept a contributor verification request */
656
+ export const contributorVerifyContributorInternal = {
657
+ path: "/internal-v2/contributors/{contributorId}/actions/verify",
658
+ method: "POST",
659
+ operationId: "contributor-verify-contributor-internal",
660
+ };
577
661
  /** Get all conversation the authenticated user has created or has access to. */
578
662
  export const conversationListConversations = {
579
663
  path: "/v2/conversations",
@@ -1774,6 +1858,12 @@ export const mailListBackupsForMailAddress = {
1774
1858
  method: "GET",
1775
1859
  operationId: "mail-list-backups-for-mail-address",
1776
1860
  };
1861
+ /** List MailAddresses. */
1862
+ export const mailListMailAddressesForUser = {
1863
+ path: "/v2/mail-addresses/",
1864
+ method: "GET",
1865
+ operationId: "mail-list-mail-addresses-for-user",
1866
+ };
1777
1867
  /** List mail settings of a Project. */
1778
1868
  export const mailListProjectMailSettings = {
1779
1869
  path: "/v2/projects/{projectId}/mail-settings",
@@ -1846,12 +1936,6 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1846
1936
  method: "PUT",
1847
1937
  operationId: "marketplace-customer-update-payment-method",
1848
1938
  };
1849
- /** Get a list of currently active llm models. */
1850
- export const miscGetLlmModelsExperimental = {
1851
- path: "/v2/llm-models",
1852
- method: "GET",
1853
- operationId: "misc-get-llm-models-experimental",
1854
- };
1855
1939
  /** Getting the subscription status of the subscription. */
1856
1940
  export const newsletterGetInfo = {
1857
1941
  path: "/v2/newsletter-subscriptions/self",
@@ -1972,18 +2056,6 @@ export const projectAcceptProjectInvite = {
1972
2056
  method: "POST",
1973
2057
  operationId: "project-accept-project-invite",
1974
2058
  };
1975
- /** Get a list of already created llm licences. */
1976
- export const projectGetLlmLicencesExperimental = {
1977
- path: "/v2/projects/{projectId}/llm-licences",
1978
- method: "GET",
1979
- operationId: "project-get-llm-licences-experimental",
1980
- };
1981
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1982
- export const projectCreateLlmBetaLicenceExperimental = {
1983
- path: "/v2/projects/{projectId}/llm-licences",
1984
- method: "POST",
1985
- operationId: "project-create-llm-beta-licence-experimental",
1986
- };
1987
2059
  /** List Invites belonging to a Project. */
1988
2060
  export const projectListInvitesForProject = {
1989
2061
  path: "/v2/projects/{projectId}/invites",
@@ -2104,18 +2176,6 @@ export const projectFileSystemListFiles = {
2104
2176
  method: "GET",
2105
2177
  operationId: "project-file-system-list-files",
2106
2178
  };
2107
- /** Get a licence of a project. */
2108
- export const projectGetLlmLicenceExperimental = {
2109
- path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
2110
- method: "GET",
2111
- operationId: "project-get-llm-licence-experimental",
2112
- };
2113
- /** Update a llm Licence for a project. */
2114
- export const projectUpdateLlmLicenceExperimental = {
2115
- path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
2116
- method: "PUT",
2117
- operationId: "project-update-llm-licence-experimental",
2118
- };
2119
2179
  /** Get a ProjectInvite by token. */
2120
2180
  export const projectGetProjectTokenInvite = {
2121
2181
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.261.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-f1482e5-20251125';
@@ -1,5 +1,90 @@
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 llm licences. */
5
+ customerGetLlmLicences: (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.AihostingLicence[]>;
11
+ /** Get a licence of a customer. */
12
+ customerGetLlmLicence: (conf: {
13
+ customerId: string;
14
+ licenceId: 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
+ licenceId: string;
23
+ licenceKey: string;
24
+ limit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
25
+ models: string[];
26
+ name: string;
27
+ projectId?: string | undefined;
28
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
29
+ }>;
30
+ /** Get llm tariff and usages of a customer. */
31
+ customerGetCustomerLlmTariffOptions: (conf: {
32
+ customerId: string;
33
+ headers?: {
34
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
35
+ } | undefined;
36
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
37
+ detailedUsage?: {
38
+ licencesUsed: number;
39
+ projectId?: string;
40
+ tokenUsed: number;
41
+ }[] | undefined;
42
+ licences: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTariffUsage;
43
+ limit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
44
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTariffUsageBig;
45
+ }>;
46
+ /** Get a list of currently active llm models. */
47
+ getLlmModels: (conf?: {
48
+ headers?: {
49
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
50
+ } | undefined;
51
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
52
+ /** Get a list of already created llm licences of a project. */
53
+ projectGetLlmLicences: (conf: {
54
+ projectId: string;
55
+ headers?: {
56
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
57
+ } | undefined;
58
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
59
+ /** Get a licence of a project. */
60
+ projectGetLlmLicence: (conf: {
61
+ projectId: string;
62
+ licenceId: string;
63
+ headers?: {
64
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
65
+ } | undefined;
66
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
67
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
68
+ customerId?: string | undefined;
69
+ isBlocked: boolean;
70
+ licenceId: string;
71
+ licenceKey: string;
72
+ limit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
73
+ models: string[];
74
+ name: string;
75
+ projectId?: string | undefined;
76
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
77
+ }>;
78
+ /** Get llm tariff and usages of a project. Same as the customer route, but less details. */
79
+ projectGetProjectLlmTariffOptions: (conf: {
80
+ projectId: string;
81
+ headers?: {
82
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
83
+ } | undefined;
84
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
85
+ licences: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTariffUsage;
86
+ }>;
87
+ };
3
88
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
4
89
  /** Get an App. */
5
90
  getApp: (conf: {
@@ -1137,8 +1222,8 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1137
1222
  interactionDeadline?: string | undefined;
1138
1223
  interactionRequired: boolean;
1139
1224
  pendingVariantChange?: {
1140
- effectiveDate?: string;
1141
- targetVariantKey?: string;
1225
+ effectiveDate: string;
1226
+ targetVariantKey: string;
1142
1227
  } | undefined;
1143
1228
  status: "notStarted" | "pending" | "active" | "terminationPending";
1144
1229
  terminationTargetDate?: string | undefined;
@@ -2478,6 +2563,27 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2478
2563
  "x-access-token"?: string | undefined;
2479
2564
  } | undefined;
2480
2565
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
2566
+ /** List MailAddresses. */
2567
+ listMailAddressesForUser: (conf?: {
2568
+ headers?: {
2569
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2570
+ "x-access-token"?: string | undefined;
2571
+ } | undefined;
2572
+ queryParameters?: {
2573
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2574
+ projectId?: string | undefined;
2575
+ search?: string | undefined;
2576
+ forwardAddress?: boolean | undefined;
2577
+ catchAll?: boolean | undefined;
2578
+ autoResponder?: boolean | undefined;
2579
+ mailArchive?: boolean | undefined;
2580
+ limit?: number | undefined;
2581
+ skip?: number | undefined;
2582
+ page?: number | undefined;
2583
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
2584
+ order?: ("asc" | "desc")[] | undefined;
2585
+ } | undefined;
2586
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
2481
2587
  /** List mail settings of a Project. */
2482
2588
  listProjectMailSettings: (conf: {
2483
2589
  projectId: string;
@@ -2521,14 +2627,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2521
2627
  } | undefined;
2522
2628
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
2523
2629
  };
2524
- declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2525
- /** Get a list of currently active llm models. */
2526
- getLlmModelsExperimental: (conf?: {
2527
- headers?: {
2528
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2529
- } | undefined;
2530
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
2531
- };
2532
2630
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2533
2631
  /** Getting the subscription status of the subscription. */
2534
2632
  newsletterGetInfo: (conf?: {
@@ -2851,13 +2949,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2851
2949
  }>;
2852
2950
  };
2853
2951
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2854
- /** Get a list of already created llm licences. */
2855
- getLlmLicencesExperimental: (conf: {
2856
- projectId: string;
2857
- headers?: {
2858
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2859
- } | undefined;
2860
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingLicence[]>;
2861
2952
  /** List Invites belonging to a Project. */
2862
2953
  listInvitesForProject: (conf: {
2863
2954
  projectId: string;
@@ -2951,28 +3042,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2951
3042
  webStorageUsageInBytes: number;
2952
3043
  webStorageUsageInBytesSetAt: string;
2953
3044
  }>;
2954
- /** Get a licence of a project. */
2955
- getLlmLicenceExperimental: (conf: {
2956
- projectId: string;
2957
- licenceId: string;
2958
- headers?: {
2959
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2960
- } | undefined;
2961
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2962
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
2963
- customerId?: string | undefined;
2964
- isBlocked: boolean;
2965
- licenceId: string;
2966
- licenceKey: string;
2967
- limit: {
2968
- allowedRequestsPerUnit: number;
2969
- unit: "minute" | "hour";
2970
- };
2971
- models: string[];
2972
- name: string;
2973
- projectId?: string | undefined;
2974
- rateLimit: number;
2975
- }>;
2976
3045
  /** Get a ProjectInvite by token. */
2977
3046
  getProjectTokenInvite: (conf: {
2978
3047
  headers: {
@@ -3338,6 +3407,8 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
3338
3407
  }>;
3339
3408
  };
3340
3409
  export declare class MittwaldAPIV2ClientReact {
3410
+ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
3411
+ readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
3341
3412
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
3342
3413
  readonly app: ReturnType<typeof buildAppApi>;
3343
3414
  /** The article API allows you to read article information. */
@@ -3366,8 +3437,6 @@ export declare class MittwaldAPIV2ClientReact {
3366
3437
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3367
3438
  /** The mail API allows you to manage your mail accounts. */
3368
3439
  readonly mail: ReturnType<typeof buildMailApi>;
3369
- /** API endpoints that are not related to any specific API domain */
3370
- readonly misc: ReturnType<typeof buildMiscApi>;
3371
3440
  /** The notification API allows you to manage your notifications. */
3372
3441
  readonly notification: ReturnType<typeof buildNotificationApi>;
3373
3442
  /** The page insights API allows you to get page insights information. */