@mittwald/api-client 0.0.0-development-bc8cbfe-20250710 → 0.0.0-development-076c388-20250804

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. */
@@ -86,6 +86,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
86
86
  getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
87
87
  /** Delete a ProjectBackup. */
88
88
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
89
+ /** Restore a ProjectBackup's paths. */
90
+ requestProjectBackupRestorePaths: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePaths),
89
91
  /** Change the description of a ProjectBackup. */
90
92
  updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
91
93
  };
@@ -123,7 +125,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
123
125
  listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
124
126
  /** List Volumes belonging to a Project. */
125
127
  listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
126
- /** Pulls the latest version of the Service's image and recreates the Service. */
128
+ /** Pulls the latest version of the Service's image and optionally recreates the Service. */
127
129
  pullImageForService: this.requestFunctionFactory(descriptors.containerPullImageForService),
128
130
  /** Recreate a Service. */
129
131
  recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
@@ -299,8 +301,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
299
301
  extensionRequestExtensionVerification: this.requestFunctionFactory(descriptors.extensionRequestExtensionVerification),
300
302
  /** Publish or withdraw an Extension. */
301
303
  extensionSetExtensionPublishedState: this.requestFunctionFactory(descriptors.extensionSetExtensionPublishedState),
302
- /** Start a checkout process for an extension. */
303
- extensionStartExtensionCheckout: this.requestFunctionFactory(descriptors.extensionStartExtensionCheckout),
304
304
  /** Creates or Updates Pricing for an Extension. */
305
305
  extensionUpdateExtensionPricing: this.requestFunctionFactory(descriptors.extensionUpdateExtensionPricing),
306
306
  /** Get payment method details */
@@ -579,6 +579,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
579
579
  getMailAddress: this.requestFunctionFactory(descriptors.mailGetMailAddress),
580
580
  /** Delete a MailAddress. */
581
581
  deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
582
+ /** List backups belonging to a MailAddress. */
583
+ listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
582
584
  /** List mail settings of a Project. */
583
585
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
584
586
  /** Check if a Migration between two projects is possible. */
@@ -589,6 +591,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
589
591
  migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
590
592
  /** Request a Mail Migration between two projects. */
591
593
  migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
594
+ /** Recover emails for a MailAddress from a backup. */
595
+ recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
592
596
  /** Update the description of a DeliveryBox. */
593
597
  updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
594
598
  /** Update the password of a DeliveryBox. */
@@ -220,6 +220,12 @@ export const backupDeleteProjectBackup = {
220
220
  method: "DELETE",
221
221
  operationId: "backup-delete-project-backup",
222
222
  };
223
+ /** Restore a ProjectBackup's paths. */
224
+ export const backupRequestProjectBackupRestorePaths = {
225
+ path: "/v2/project-backups/{projectBackupId}/restore-paths",
226
+ method: "POST",
227
+ operationId: "backup-request-project-backup-restore-paths",
228
+ };
223
229
  /** Change the description of a ProjectBackup. */
224
230
  export const backupUpdateProjectBackupDescription = {
225
231
  path: "/v2/project-backups/{projectBackupId}/description",
@@ -322,7 +328,7 @@ export const containerListVolumes = {
322
328
  method: "GET",
323
329
  operationId: "container-list-volumes",
324
330
  };
325
- /** Pulls the latest version of the Service's image and recreates the Service. */
331
+ /** Pulls the latest version of the Service's image and optionally recreates the Service. */
326
332
  export const containerPullImageForService = {
327
333
  path: "/v2/stacks/{stackId}/services/{serviceId}/actions/pull",
328
334
  method: "POST",
@@ -1378,12 +1384,6 @@ export const extensionSetExtensionPublishedState = {
1378
1384
  method: "PUT",
1379
1385
  operationId: "extension-set-extension-published-state",
1380
1386
  };
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
1387
  /** Creates or Updates Pricing for an Extension. */
1388
1388
  export const extensionUpdateExtensionPricing = {
1389
1389
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/pricing",
@@ -1618,6 +1618,12 @@ export const mailDeleteMailAddress = {
1618
1618
  method: "DELETE",
1619
1619
  operationId: "mail-delete-mail-address",
1620
1620
  };
1621
+ /** List backups belonging to a MailAddress. */
1622
+ export const mailListBackupsForMailAddress = {
1623
+ path: "/v2/mail-addresses/{mailAddressId}/backups",
1624
+ method: "GET",
1625
+ operationId: "mail-list-backups-for-mail-address",
1626
+ };
1621
1627
  /** List mail settings of a Project. */
1622
1628
  export const mailListProjectMailSettings = {
1623
1629
  path: "/v2/projects/{projectId}/mail-settings",
@@ -1648,6 +1654,12 @@ export const mailMigrationRequestMailMigration = {
1648
1654
  method: "POST",
1649
1655
  operationId: "mail-migration-request-mail-migration",
1650
1656
  };
1657
+ /** Recover emails for a MailAddress from a backup. */
1658
+ export const mailRecoverMailAddressEmails = {
1659
+ path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
1660
+ method: "POST",
1661
+ operationId: "mail-recover-mail-address-emails",
1662
+ };
1651
1663
  /** Update the description of a DeliveryBox. */
1652
1664
  export const mailUpdateDeliveryBoxDescription = {
1653
1665
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-7e09328-20250710';
1
+ export const MittwaldAPIClientVersion = '4.192.0';
@@ -340,6 +340,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
340
340
  parentId?: string | undefined;
341
341
  projectId: string;
342
342
  requestedAt: string;
343
+ restorePaths?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePaths | undefined;
343
344
  status: string;
344
345
  }>;
345
346
  };
@@ -473,6 +474,10 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
473
474
  queryParameters?: {
474
475
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
475
476
  stackId?: string | undefined;
477
+ status?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus | undefined;
478
+ requiresRecreate?: boolean | undefined;
479
+ searchTerm?: string | undefined;
480
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
476
481
  limit?: number | undefined;
477
482
  skip?: number | undefined;
478
483
  page?: number | undefined;
@@ -502,6 +507,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
502
507
  queryParameters?: {
503
508
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
504
509
  stackId?: string | undefined;
510
+ searchTerm?: string | undefined;
511
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
505
512
  limit?: number | undefined;
506
513
  skip?: number | undefined;
507
514
  page?: number | undefined;
@@ -750,6 +757,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
750
757
  queryParameters?: {
751
758
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
752
759
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
760
+ search?: string | undefined;
753
761
  limit?: number | undefined;
754
762
  skip?: number | undefined;
755
763
  page?: number | undefined;
@@ -958,7 +966,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
958
966
  };
959
967
  chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
960
968
  consentedScopes: string[];
961
- contributorId?: string | undefined;
969
+ contributorId: string;
962
970
  contributorName: string;
963
971
  createdAt?: string | undefined;
964
972
  disabled: boolean;
@@ -1060,7 +1068,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1060
1068
  };
1061
1069
  chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1062
1070
  consentedScopes: string[];
1063
- contributorId?: string | undefined;
1071
+ contributorId: string;
1064
1072
  contributorName: string;
1065
1073
  createdAt?: string | undefined;
1066
1074
  disabled: boolean;
@@ -1087,7 +1095,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1087
1095
  };
1088
1096
  chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1089
1097
  consentedScopes: string[];
1090
- contributorId?: string | undefined;
1098
+ contributorId: string;
1091
1099
  contributorName: string;
1092
1100
  createdAt?: string | undefined;
1093
1101
  disabled: boolean;
@@ -1152,6 +1160,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1152
1160
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1153
1161
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
1154
1162
  searchTerm?: string | undefined;
1163
+ includeDeprecated?: boolean | undefined;
1155
1164
  limit?: number | undefined;
1156
1165
  skip?: number | undefined;
1157
1166
  page?: number | undefined;
@@ -2282,6 +2291,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2282
2291
  forwardAddresses: string[];
2283
2292
  id: string;
2284
2293
  isArchived: boolean;
2294
+ isBackupInProgress: boolean;
2285
2295
  isCatchAll: boolean;
2286
2296
  mailbox?: {
2287
2297
  name: string;
@@ -2305,6 +2315,14 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2305
2315
  receivingDisabled: boolean;
2306
2316
  updatedAt: string;
2307
2317
  }>;
2318
+ /** List backups belonging to a MailAddress. */
2319
+ listBackupsForMailAddress: (conf: {
2320
+ mailAddressId: string;
2321
+ headers?: {
2322
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2323
+ "x-access-token"?: string | undefined;
2324
+ } | undefined;
2325
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddressBackup[]>;
2308
2326
  /** List mail settings of a Project. */
2309
2327
  listProjectMailSettings: (conf: {
2310
2328
  projectId: string;
@@ -2390,6 +2408,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2390
2408
  queryParameters?: {
2391
2409
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2392
2410
  status?: "unread" | "read" | undefined;
2411
+ severity?: ("success" | "info" | "warning" | "error")[] | undefined;
2393
2412
  limit?: number | undefined;
2394
2413
  skip?: number | undefined;
2395
2414
  page?: number | undefined;
@@ -2757,6 +2776,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2757
2776
  disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
2758
2777
  disabledAt?: string | undefined;
2759
2778
  enabled: boolean;
2779
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[] | undefined;
2760
2780
  id: string;
2761
2781
  imageRefId?: string | undefined;
2762
2782
  isReady: boolean;
@@ -2923,6 +2943,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2923
2943
  disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
2924
2944
  disabledAt?: string;
2925
2945
  enabled: boolean;
2946
+ features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
2926
2947
  id: string;
2927
2948
  imageRefId?: string;
2928
2949
  isReady: boolean;