@mittwald/api-client 0.0.0-development-7e09328-20250710 → 0.0.0-development-7423599-20250729

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.
@@ -298,6 +298,8 @@ const buildMailApi = (baseClient) => ({
298
298
  getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
299
299
  /** Get a MailAddress. */
300
300
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
301
+ /** List backups belonging to a MailAddress. */
302
+ listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
301
303
  /** List mail settings of a Project. */
302
304
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
303
305
  /** Get a Migration. */
@@ -305,6 +307,10 @@ const buildMailApi = (baseClient) => ({
305
307
  /** List Migrations belonging to a Project in customer center or mStudio. */
306
308
  migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
307
309
  });
310
+ const buildMiscApi = (baseClient) => ({
311
+ /** Get a list of currently active llm models. */
312
+ getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
313
+ });
308
314
  const buildNotificationApi = (baseClient) => ({
309
315
  /** Getting the subscription status of the subscription. */
310
316
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -356,6 +362,8 @@ const buildUserApi = (baseClient) => ({
356
362
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
357
363
  });
358
364
  const buildProjectApi = (baseClient) => ({
365
+ /** Get a list of already created llm licences. */
366
+ getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
359
367
  /** List Invites belonging to a Project. */
360
368
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
361
369
  /** Get a ProjectInvite. */
@@ -364,6 +372,8 @@ const buildProjectApi = (baseClient) => ({
364
372
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
365
373
  /** Get a Project. */
366
374
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
375
+ /** Get a licence of a project. */
376
+ getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
367
377
  /** Get a ProjectInvite by token. */
368
378
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
369
379
  /** Get the executing user's membership in a Project. */
@@ -436,6 +446,8 @@ export class MittwaldAPIV2ClientReact {
436
446
  leadFyndr;
437
447
  /** The mail API allows you to manage your mail accounts. */
438
448
  mail;
449
+ /** API endpoints that are not related to any specific API domain */
450
+ misc;
439
451
  /** The notification API allows you to manage your notifications. */
440
452
  notification;
441
453
  /** The page insights API allows you to get page insights information. */
@@ -463,6 +475,7 @@ export class MittwaldAPIV2ClientReact {
463
475
  this.file = buildFileApi(baseClient);
464
476
  this.leadFyndr = buildLeadFyndrApi(baseClient);
465
477
  this.mail = buildMailApi(baseClient);
478
+ this.misc = buildMiscApi(baseClient);
466
479
  this.notification = buildNotificationApi(baseClient);
467
480
  this.pageInsights = buildPageInsightsApi(baseClient);
468
481
  this.user = buildUserApi(baseClient);
@@ -299,8 +299,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
299
299
  extensionRequestExtensionVerification: this.requestFunctionFactory(descriptors.extensionRequestExtensionVerification),
300
300
  /** Publish or withdraw an Extension. */
301
301
  extensionSetExtensionPublishedState: this.requestFunctionFactory(descriptors.extensionSetExtensionPublishedState),
302
- /** Start a checkout process for an extension. */
303
- extensionStartExtensionCheckout: this.requestFunctionFactory(descriptors.extensionStartExtensionCheckout),
304
302
  /** Creates or Updates Pricing for an Extension. */
305
303
  extensionUpdateExtensionPricing: this.requestFunctionFactory(descriptors.extensionUpdateExtensionPricing),
306
304
  /** Get payment method details */
@@ -579,6 +577,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
579
577
  getMailAddress: this.requestFunctionFactory(descriptors.mailGetMailAddress),
580
578
  /** Delete a MailAddress. */
581
579
  deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
580
+ /** List backups belonging to a MailAddress. */
581
+ listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
582
582
  /** List mail settings of a Project. */
583
583
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
584
584
  /** Check if a Migration between two projects is possible. */
@@ -589,6 +589,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
589
589
  migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
590
590
  /** Request a Mail Migration between two projects. */
591
591
  migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
592
+ /** Recover emails for a MailAddress from a backup. */
593
+ recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
592
594
  /** Update the description of a DeliveryBox. */
593
595
  updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
594
596
  /** Update the password of a DeliveryBox. */
@@ -770,6 +772,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
770
772
  /** Removes a reservation on a unlocked lead for the given customerId. */
771
773
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
772
774
  };
775
+ /** API endpoints that are not related to any specific API domain */
776
+ misc = {
777
+ /** Get a list of currently active llm models. */
778
+ getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
779
+ /** Check if an email is from mittwald. */
780
+ verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
781
+ /** Check if an address exists. */
782
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
783
+ /** Check if a company exists. */
784
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
785
+ };
773
786
  /** The page insights API allows you to get page insights information. */
774
787
  pageInsights = {
775
788
  /** Get detailed performance data for a given domain and path. */
@@ -785,6 +798,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
785
798
  project = {
786
799
  /** Accept a ProjectInvite. */
787
800
  acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
801
+ /** Get a list of already created llm licences. */
802
+ getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
803
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
804
+ createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
788
805
  /** List Invites belonging to a Project. */
789
806
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
790
807
  /** Create a ProjectInvite. */
@@ -815,6 +832,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
815
832
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
816
833
  /** Delete a Server's avatar. */
817
834
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
835
+ /** Get a licence of a project. */
836
+ getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
837
+ /** Update a llm Licence for a project. */
838
+ updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
818
839
  /** Get a ProjectInvite by token. */
819
840
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
820
841
  /** Get the executing user's membership in a Project. */
@@ -889,14 +910,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
889
910
  /** Update an SSHUser. */
890
911
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
891
912
  };
892
- /** API endpoints that are not related to any specific API domain */
893
- misc = {
894
- /** Check if an email is from mittwald. */
895
- verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
896
- /** Check if an address exists. */
897
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
898
- /** Check if a company exists. */
899
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
900
- };
901
913
  }
902
914
  export default MittwaldAPIV2Client;
@@ -1378,12 +1378,6 @@ export const extensionSetExtensionPublishedState = {
1378
1378
  method: "PUT",
1379
1379
  operationId: "extension-set-extension-published-state",
1380
1380
  };
1381
- /** Start a checkout process for an extension. */
1382
- export const extensionStartExtensionCheckout = {
1383
- path: "/v2/extensions/{extensionId}/checkout",
1384
- method: "POST",
1385
- operationId: "extension-start-extension-checkout",
1386
- };
1387
1381
  /** Creates or Updates Pricing for an Extension. */
1388
1382
  export const extensionUpdateExtensionPricing = {
1389
1383
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/pricing",
@@ -1618,6 +1612,12 @@ export const mailDeleteMailAddress = {
1618
1612
  method: "DELETE",
1619
1613
  operationId: "mail-delete-mail-address",
1620
1614
  };
1615
+ /** List backups belonging to a MailAddress. */
1616
+ export const mailListBackupsForMailAddress = {
1617
+ path: "/v2/mail-addresses/{mailAddressId}/backups",
1618
+ method: "GET",
1619
+ operationId: "mail-list-backups-for-mail-address",
1620
+ };
1621
1621
  /** List mail settings of a Project. */
1622
1622
  export const mailListProjectMailSettings = {
1623
1623
  path: "/v2/projects/{projectId}/mail-settings",
@@ -1648,6 +1648,12 @@ export const mailMigrationRequestMailMigration = {
1648
1648
  method: "POST",
1649
1649
  operationId: "mail-migration-request-mail-migration",
1650
1650
  };
1651
+ /** Recover emails for a MailAddress from a backup. */
1652
+ export const mailRecoverMailAddressEmails = {
1653
+ path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
1654
+ method: "POST",
1655
+ operationId: "mail-recover-mail-address-emails",
1656
+ };
1651
1657
  /** Update the description of a DeliveryBox. */
1652
1658
  export const mailUpdateDeliveryBoxDescription = {
1653
1659
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -1690,6 +1696,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1690
1696
  method: "PUT",
1691
1697
  operationId: "marketplace-customer-update-payment-method",
1692
1698
  };
1699
+ /** Get a list of currently active llm models. */
1700
+ export const miscGetLlmModelsExperimental = {
1701
+ path: "/v2/llm-models",
1702
+ method: "GET",
1703
+ operationId: "misc-get-llm-models-experimental",
1704
+ };
1693
1705
  /** Getting the subscription status of the subscription. */
1694
1706
  export const newsletterGetInfo = {
1695
1707
  path: "/v2/newsletter-subscriptions/self",
@@ -1810,6 +1822,18 @@ export const projectAcceptProjectInvite = {
1810
1822
  method: "POST",
1811
1823
  operationId: "project-accept-project-invite",
1812
1824
  };
1825
+ /** Get a list of already created llm licences. */
1826
+ export const projectGetLlmLicencesExperimental = {
1827
+ path: "/v2/projects/{projectId}/llm-licences",
1828
+ method: "GET",
1829
+ operationId: "project-get-llm-licences-experimental",
1830
+ };
1831
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1832
+ export const projectCreateLlmBetaLicenceExperimental = {
1833
+ path: "/v2/projects/{projectId}/llm-licences",
1834
+ method: "POST",
1835
+ operationId: "project-create-llm-beta-licence-experimental",
1836
+ };
1813
1837
  /** List Invites belonging to a Project. */
1814
1838
  export const projectListInvitesForProject = {
1815
1839
  path: "/v2/projects/{projectId}/invites",
@@ -1930,6 +1954,18 @@ export const projectFileSystemListFiles = {
1930
1954
  method: "GET",
1931
1955
  operationId: "project-file-system-list-files",
1932
1956
  };
1957
+ /** Get a licence of a project. */
1958
+ export const projectGetLlmLicenceExperimental = {
1959
+ path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
1960
+ method: "GET",
1961
+ operationId: "project-get-llm-licence-experimental",
1962
+ };
1963
+ /** Update a llm Licence for a project. */
1964
+ export const projectUpdateLlmLicenceExperimental = {
1965
+ path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
1966
+ method: "PUT",
1967
+ operationId: "project-update-llm-licence-experimental",
1968
+ };
1933
1969
  /** Get a ProjectInvite by token. */
1934
1970
  export const projectGetProjectTokenInvite = {
1935
1971
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.179.0';
1
+ export const MittwaldAPIClientVersion = '4.190.0';
@@ -473,6 +473,10 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
473
473
  queryParameters?: {
474
474
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
475
475
  stackId?: string | undefined;
476
+ status?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus | undefined;
477
+ requiresRecreate?: boolean | undefined;
478
+ searchTerm?: string | undefined;
479
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
476
480
  limit?: number | undefined;
477
481
  skip?: number | undefined;
478
482
  page?: number | undefined;
@@ -502,6 +506,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
502
506
  queryParameters?: {
503
507
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
504
508
  stackId?: string | undefined;
509
+ searchTerm?: string | undefined;
510
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
505
511
  limit?: number | undefined;
506
512
  skip?: number | undefined;
507
513
  page?: number | undefined;
@@ -750,6 +756,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
750
756
  queryParameters?: {
751
757
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
752
758
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
759
+ search?: string | undefined;
753
760
  limit?: number | undefined;
754
761
  skip?: number | undefined;
755
762
  page?: number | undefined;
@@ -2282,6 +2289,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2282
2289
  forwardAddresses: string[];
2283
2290
  id: string;
2284
2291
  isArchived: boolean;
2292
+ isBackupInProgress: boolean;
2285
2293
  isCatchAll: boolean;
2286
2294
  mailbox?: {
2287
2295
  name: string;
@@ -2305,6 +2313,14 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2305
2313
  receivingDisabled: boolean;
2306
2314
  updatedAt: string;
2307
2315
  }>;
2316
+ /** List backups belonging to a MailAddress. */
2317
+ listBackupsForMailAddress: (conf: {
2318
+ mailAddressId: string;
2319
+ headers?: {
2320
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2321
+ "x-access-token"?: string | undefined;
2322
+ } | undefined;
2323
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
2308
2324
  /** List mail settings of a Project. */
2309
2325
  listProjectMailSettings: (conf: {
2310
2326
  projectId: string;
@@ -2348,6 +2364,14 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2348
2364
  } | undefined;
2349
2365
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
2350
2366
  };
2367
+ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2368
+ /** Get a list of currently active llm models. */
2369
+ getLlmModelsExperimental: (conf?: {
2370
+ headers?: {
2371
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2372
+ } | undefined;
2373
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[]>;
2374
+ };
2351
2375
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2352
2376
  /** Getting the subscription status of the subscription. */
2353
2377
  newsletterGetInfo: (conf?: {
@@ -2667,6 +2691,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2667
2691
  }>;
2668
2692
  };
2669
2693
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2694
+ /** Get a list of already created llm licences. */
2695
+ getLlmLicencesExperimental: (conf: {
2696
+ projectId: string;
2697
+ headers?: {
2698
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2699
+ } | undefined;
2700
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[]>;
2670
2701
  /** List Invites belonging to a Project. */
2671
2702
  listInvitesForProject: (conf: {
2672
2703
  projectId: string;
@@ -2742,6 +2773,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2742
2773
  disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
2743
2774
  disabledAt?: string | undefined;
2744
2775
  enabled: boolean;
2776
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[] | undefined;
2745
2777
  id: string;
2746
2778
  imageRefId?: string | undefined;
2747
2779
  isReady: boolean;
@@ -2757,6 +2789,23 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2757
2789
  webStorageUsageInBytes: number;
2758
2790
  webStorageUsageInBytesSetAt: string;
2759
2791
  }>;
2792
+ /** Get a licence of a project. */
2793
+ getLlmLicenceExperimental: (conf: {
2794
+ projectId: string;
2795
+ licenceId: string;
2796
+ headers?: {
2797
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2798
+ } | undefined;
2799
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2800
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2801
+ customerId?: string | undefined;
2802
+ licenceId: string;
2803
+ licenceKey: string;
2804
+ models: string[];
2805
+ name: string;
2806
+ projectId?: string | undefined;
2807
+ rateLimit: number;
2808
+ }>;
2760
2809
  /** Get a ProjectInvite by token. */
2761
2810
  getProjectTokenInvite: (conf: {
2762
2811
  headers: {
@@ -2891,6 +2940,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2891
2940
  disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
2892
2941
  disabledAt?: string;
2893
2942
  enabled: boolean;
2943
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
2894
2944
  id: string;
2895
2945
  imageRefId?: string;
2896
2946
  isReady: boolean;
@@ -3142,6 +3192,8 @@ export declare class MittwaldAPIV2ClientReact {
3142
3192
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3143
3193
  /** The mail API allows you to manage your mail accounts. */
3144
3194
  readonly mail: ReturnType<typeof buildMailApi>;
3195
+ /** API endpoints that are not related to any specific API domain */
3196
+ readonly misc: ReturnType<typeof buildMiscApi>;
3145
3197
  /** The notification API allows you to manage your notifications. */
3146
3198
  readonly notification: ReturnType<typeof buildNotificationApi>;
3147
3199
  /** The page insights API allows you to get page insights information. */