@mittwald/api-client 4.251.1 → 4.253.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.
@@ -48,6 +48,8 @@ const buildBackupApi = (baseClient) => ({
48
48
  getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
49
49
  /** Get a ProjectBackup. */
50
50
  getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
51
+ /** Get table of contents for a ProjectBackup. */
52
+ getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
51
53
  });
52
54
  const buildContainerApi = (baseClient) => ({
53
55
  /** List Registries belonging to a Project. */
@@ -86,6 +86,10 @@ 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
+ /** Get table of contents for a ProjectBackup. */
90
+ getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
91
+ /** Restore a ProjectBackup's path. */
92
+ requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
89
93
  /** Change the description of a ProjectBackup. */
90
94
  updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
91
95
  };
@@ -587,6 +591,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
587
591
  updateMailAddressQuota: this.requestFunctionFactory(descriptors.mailUpdateMailAddressQuota),
588
592
  /** Update the spam protection of a MailAddress. */
589
593
  updateMailAddressSpamProtection: this.requestFunctionFactory(descriptors.mailUpdateMailAddressSpamProtection),
594
+ /** Update a mail setting of a Project. */
595
+ updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
590
596
  /** List DeliveryBoxes belonging to a Project. */
591
597
  listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
592
598
  /** Create a DeliveryBox. */
@@ -619,8 +625,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
619
625
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
620
626
  /** Update the catch-all of a MailAddress. */
621
627
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
622
- /** Update a mail setting of a Project. */
623
- updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
624
628
  };
625
629
  /** The notification API allows you to manage your notifications. */
626
630
  notification = {
@@ -220,6 +220,18 @@ export const backupDeleteProjectBackup = {
220
220
  method: "DELETE",
221
221
  operationId: "backup-delete-project-backup",
222
222
  };
223
+ /** Get table of contents for a ProjectBackup. */
224
+ export const backupGetProjectBackupDirectories = {
225
+ path: "/v2/project-backups/{projectBackupId}/path",
226
+ method: "GET",
227
+ operationId: "backup-get-project-backup-directories",
228
+ };
229
+ /** Restore a ProjectBackup's path. */
230
+ export const backupRequestProjectBackupRestorePath = {
231
+ path: "/v2/project-backups/{projectBackupId}/restore-path",
232
+ method: "POST",
233
+ operationId: "backup-request-project-backup-restore-path",
234
+ };
223
235
  /** Change the description of a ProjectBackup. */
224
236
  export const backupUpdateProjectBackupDescription = {
225
237
  path: "/v2/project-backups/{projectBackupId}/description",
@@ -1066,6 +1078,12 @@ export const mailUpdateMailAddressSpamProtection = {
1066
1078
  method: "PATCH",
1067
1079
  operationId: "mail-update-mail-address-spam-protection",
1068
1080
  };
1081
+ /** Update a mail setting of a Project. */
1082
+ export const mailUpdateProjectMailSetting = {
1083
+ path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
1084
+ method: "PATCH",
1085
+ operationId: "mail-update-project-mail-setting",
1086
+ };
1069
1087
  /** Subscribe a user to the mStudio newsletter. */
1070
1088
  export const newsletterSubscribeUser = {
1071
1089
  path: "/v2/newsletter-subscriptions",
@@ -1756,12 +1774,6 @@ export const mailUpdateMailAddressCatchAll = {
1756
1774
  method: "PATCH",
1757
1775
  operationId: "mail-update-mail-address-catch-all",
1758
1776
  };
1759
- /** Update a mail setting of a Project. */
1760
- export const mailUpdateProjectMailSetting = {
1761
- path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
1762
- method: "PATCH",
1763
- operationId: "mail-update-project-mail-setting",
1764
- };
1765
1777
  /** Get payment method details */
1766
1778
  export const marketplaceCustomerGetPaymentMethod = {
1767
1779
  path: "/v2/customers/{customerId}/payment-method",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.251.0';
1
+ export const MittwaldAPIClientVersion = '4.252.0';
@@ -344,8 +344,31 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
344
344
  parentId?: string | undefined;
345
345
  projectId: string;
346
346
  requestedAt: string;
347
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
347
348
  status: string;
348
349
  }>;
350
+ /** Get table of contents for a ProjectBackup. */
351
+ getProjectBackupDirectories: (conf: {
352
+ projectBackupId: string;
353
+ headers?: {
354
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
355
+ "x-access-token"?: string | undefined;
356
+ } | undefined;
357
+ queryParameters?: {
358
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
359
+ directory?: string | undefined;
360
+ } | undefined;
361
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
362
+ absolutePath: string;
363
+ isDirectory?: boolean | undefined;
364
+ isExecutable?: boolean | undefined;
365
+ isFile?: boolean | undefined;
366
+ isSymlink?: boolean | undefined;
367
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
368
+ name: string;
369
+ size: number;
370
+ target?: string | undefined;
371
+ }>;
349
372
  };
350
373
  declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
351
374
  /** List Registries belonging to a Project. */
@@ -1913,6 +1913,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1913
1913
  parentId?: string | undefined;
1914
1914
  projectId: string;
1915
1915
  requestedAt: string;
1916
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
1916
1917
  status: string;
1917
1918
  }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
1918
1919
  [x: string]: unknown;
@@ -1949,6 +1950,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1949
1950
  parentId?: string | undefined;
1950
1951
  projectId: string;
1951
1952
  requestedAt: string;
1953
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
1952
1954
  status: string;
1953
1955
  }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
1954
1956
  [x: string]: unknown;
@@ -2171,6 +2173,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2171
2173
  parentId?: string | undefined;
2172
2174
  projectId: string;
2173
2175
  requestedAt: string;
2176
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
2174
2177
  status: string;
2175
2178
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2176
2179
  [x: string]: unknown;
@@ -2202,6 +2205,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2202
2205
  parentId?: string | undefined;
2203
2206
  projectId: string;
2204
2207
  requestedAt: string;
2208
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
2205
2209
  status: string;
2206
2210
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2207
2211
  [x: string]: unknown;
@@ -2258,6 +2262,167 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2258
2262
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2259
2263
  [x: string]: unknown;
2260
2264
  }, 429, "application/json">>>;
2265
+ /** Get table of contents for a ProjectBackup. */
2266
+ getProjectBackupDirectories: (request: {
2267
+ projectBackupId: string;
2268
+ headers?: {
2269
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2270
+ "x-access-token"?: string | undefined;
2271
+ } | undefined;
2272
+ queryParameters?: {
2273
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2274
+ directory?: string | undefined;
2275
+ } | undefined;
2276
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
2277
+ headers?: Partial<{
2278
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2279
+ }>;
2280
+ } & {
2281
+ pathParameters: {
2282
+ projectBackupId: string;
2283
+ };
2284
+ } & {
2285
+ queryParameters: {
2286
+ directory?: string | undefined;
2287
+ } & Partial<{
2288
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2289
+ }>;
2290
+ } & {
2291
+ headers: {
2292
+ "x-access-token"?: string | undefined;
2293
+ } & Partial<{
2294
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2295
+ }>;
2296
+ }, import("@mittwald/api-client-commons").Response<{
2297
+ absolutePath: string;
2298
+ isDirectory?: boolean | undefined;
2299
+ isExecutable?: boolean | undefined;
2300
+ isFile?: boolean | undefined;
2301
+ isSymlink?: boolean | undefined;
2302
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
2303
+ name: string;
2304
+ size: number;
2305
+ target?: string | undefined;
2306
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2307
+ [x: string]: unknown;
2308
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2309
+ [x: string]: unknown;
2310
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2311
+ [x: string]: unknown;
2312
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
2313
+ [x: string]: unknown;
2314
+ }, 502, "application/json"> | import("@mittwald/api-client-commons").Response<{
2315
+ [x: string]: unknown;
2316
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2317
+ headers?: Partial<{
2318
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2319
+ }>;
2320
+ } & {
2321
+ pathParameters: {
2322
+ projectBackupId: string;
2323
+ };
2324
+ } & {
2325
+ queryParameters: {
2326
+ directory?: string | undefined;
2327
+ } & Partial<{
2328
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2329
+ }>;
2330
+ } & {
2331
+ headers: {
2332
+ "x-access-token"?: string | undefined;
2333
+ } & Partial<{
2334
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2335
+ }>;
2336
+ }, import("@mittwald/api-client-commons").Response<{
2337
+ absolutePath: string;
2338
+ isDirectory?: boolean | undefined;
2339
+ isExecutable?: boolean | undefined;
2340
+ isFile?: boolean | undefined;
2341
+ isSymlink?: boolean | undefined;
2342
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
2343
+ name: string;
2344
+ size: number;
2345
+ target?: string | undefined;
2346
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2347
+ [x: string]: unknown;
2348
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2349
+ [x: string]: unknown;
2350
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2351
+ [x: string]: unknown;
2352
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
2353
+ [x: string]: unknown;
2354
+ }, 502, "application/json"> | import("@mittwald/api-client-commons").Response<{
2355
+ [x: string]: unknown;
2356
+ }, 503, "application/json">>>;
2357
+ /** Restore a ProjectBackup's path. */
2358
+ requestProjectBackupRestorePath: (request: {
2359
+ data: {
2360
+ sourcePath: string;
2361
+ clearTargetPath?: boolean | undefined;
2362
+ targetPath?: string | undefined;
2363
+ };
2364
+ projectBackupId: string;
2365
+ headers?: {
2366
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2367
+ "x-access-token"?: string | undefined;
2368
+ } | undefined;
2369
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
2370
+ data: {
2371
+ clearTargetPath?: boolean | undefined;
2372
+ sourcePath: string;
2373
+ targetPath?: string | undefined;
2374
+ };
2375
+ } & {
2376
+ pathParameters: {
2377
+ projectBackupId: string;
2378
+ };
2379
+ } & {
2380
+ headers?: Partial<{
2381
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2382
+ }>;
2383
+ } & {
2384
+ headers: {
2385
+ "x-access-token"?: string | undefined;
2386
+ } & Partial<{
2387
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2388
+ }>;
2389
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
2390
+ [x: string]: unknown;
2391
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2392
+ [x: string]: unknown;
2393
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2394
+ [x: string]: unknown;
2395
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2396
+ [x: string]: unknown;
2397
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2398
+ data: {
2399
+ clearTargetPath?: boolean | undefined;
2400
+ sourcePath: string;
2401
+ targetPath?: string | undefined;
2402
+ };
2403
+ } & {
2404
+ pathParameters: {
2405
+ projectBackupId: string;
2406
+ };
2407
+ } & {
2408
+ headers?: Partial<{
2409
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2410
+ }>;
2411
+ } & {
2412
+ headers: {
2413
+ "x-access-token"?: string | undefined;
2414
+ } & Partial<{
2415
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2416
+ }>;
2417
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
2418
+ [x: string]: unknown;
2419
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2420
+ [x: string]: unknown;
2421
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2422
+ [x: string]: unknown;
2423
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2424
+ [x: string]: unknown;
2425
+ }, 429, "application/json">>>;
2261
2426
  /** Change the description of a ProjectBackup. */
2262
2427
  updateProjectBackupDescription: (request: {
2263
2428
  projectBackupId: string;
@@ -18154,6 +18319,98 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18154
18319
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18155
18320
  [x: string]: unknown;
18156
18321
  }, 503, "application/json">>>;
18322
+ /** Update a mail setting of a Project. */
18323
+ updateProjectMailSetting: (request: {
18324
+ data: {
18325
+ blacklist: string[];
18326
+ };
18327
+ projectId: string;
18328
+ mailSetting: "blacklist" | "whitelist";
18329
+ headers?: {
18330
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18331
+ "x-access-token"?: string | undefined;
18332
+ } | undefined;
18333
+ } | {
18334
+ data: {
18335
+ whitelist: string[];
18336
+ };
18337
+ projectId: string;
18338
+ mailSetting: "blacklist" | "whitelist";
18339
+ headers?: {
18340
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18341
+ "x-access-token"?: string | undefined;
18342
+ } | undefined;
18343
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
18344
+ data: {
18345
+ blacklist: string[];
18346
+ };
18347
+ } | {
18348
+ data: {
18349
+ whitelist: string[];
18350
+ };
18351
+ }) & {
18352
+ pathParameters: {
18353
+ projectId: string;
18354
+ mailSetting: "blacklist" | "whitelist";
18355
+ };
18356
+ }) & {
18357
+ headers?: Partial<{
18358
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18359
+ }>;
18360
+ } & {
18361
+ headers: {
18362
+ "x-access-token"?: string | undefined;
18363
+ } & Partial<{
18364
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18365
+ }>;
18366
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18367
+ [x: string]: unknown;
18368
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18369
+ [x: string]: unknown;
18370
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18371
+ [x: string]: unknown;
18372
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18373
+ [x: string]: unknown;
18374
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
18375
+ [x: string]: unknown;
18376
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18377
+ [x: string]: unknown;
18378
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
18379
+ data: {
18380
+ blacklist: string[];
18381
+ };
18382
+ } | {
18383
+ data: {
18384
+ whitelist: string[];
18385
+ };
18386
+ }) & {
18387
+ pathParameters: {
18388
+ projectId: string;
18389
+ mailSetting: "blacklist" | "whitelist";
18390
+ };
18391
+ }) & {
18392
+ headers?: Partial<{
18393
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18394
+ }>;
18395
+ } & {
18396
+ headers: {
18397
+ "x-access-token"?: string | undefined;
18398
+ } & Partial<{
18399
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18400
+ }>;
18401
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18402
+ [x: string]: unknown;
18403
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18404
+ [x: string]: unknown;
18405
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18406
+ [x: string]: unknown;
18407
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18408
+ [x: string]: unknown;
18409
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
18410
+ [x: string]: unknown;
18411
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
18412
+ [x: string]: unknown;
18413
+ }, 503, "application/json">>>;
18157
18414
  /** List DeliveryBoxes belonging to a Project. */
18158
18415
  listDeliveryBoxes: (request: {
18159
18416
  projectId: string;
@@ -19391,98 +19648,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19391
19648
  }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19392
19649
  [x: string]: unknown;
19393
19650
  }, 503, "application/json">>>;
19394
- /** Update a mail setting of a Project. */
19395
- updateProjectMailSetting: (request: {
19396
- data: {
19397
- blacklist: string[];
19398
- };
19399
- projectId: string;
19400
- mailSetting: "blacklist" | "whitelist";
19401
- headers?: {
19402
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19403
- "x-access-token"?: string | undefined;
19404
- } | undefined;
19405
- } | {
19406
- data: {
19407
- whitelist: string[];
19408
- };
19409
- projectId: string;
19410
- mailSetting: "blacklist" | "whitelist";
19411
- headers?: {
19412
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19413
- "x-access-token"?: string | undefined;
19414
- } | undefined;
19415
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
19416
- data: {
19417
- blacklist: string[];
19418
- };
19419
- } | {
19420
- data: {
19421
- whitelist: string[];
19422
- };
19423
- }) & {
19424
- pathParameters: {
19425
- projectId: string;
19426
- mailSetting: "blacklist" | "whitelist";
19427
- };
19428
- }) & {
19429
- headers?: Partial<{
19430
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19431
- }>;
19432
- } & {
19433
- headers: {
19434
- "x-access-token"?: string | undefined;
19435
- } & Partial<{
19436
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19437
- }>;
19438
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19439
- [x: string]: unknown;
19440
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19441
- [x: string]: unknown;
19442
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19443
- [x: string]: unknown;
19444
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19445
- [x: string]: unknown;
19446
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19447
- [x: string]: unknown;
19448
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19449
- [x: string]: unknown;
19450
- }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
19451
- data: {
19452
- blacklist: string[];
19453
- };
19454
- } | {
19455
- data: {
19456
- whitelist: string[];
19457
- };
19458
- }) & {
19459
- pathParameters: {
19460
- projectId: string;
19461
- mailSetting: "blacklist" | "whitelist";
19462
- };
19463
- }) & {
19464
- headers?: Partial<{
19465
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19466
- }>;
19467
- } & {
19468
- headers: {
19469
- "x-access-token"?: string | undefined;
19470
- } & Partial<{
19471
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19472
- }>;
19473
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19474
- [x: string]: unknown;
19475
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19476
- [x: string]: unknown;
19477
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19478
- [x: string]: unknown;
19479
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19480
- [x: string]: unknown;
19481
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19482
- [x: string]: unknown;
19483
- }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
19484
- [x: string]: unknown;
19485
- }, 503, "application/json">>>;
19486
19651
  };
19487
19652
  /** The notification API allows you to manage your notifications. */
19488
19653
  readonly notification: {
@@ -77,6 +77,10 @@ export declare const backupUpdateProjectBackupSchedule: OpenAPIOperation<Request
77
77
  export declare const backupGetProjectBackup: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
78
78
  /** Delete a ProjectBackup. */
79
79
  export declare const backupDeleteProjectBackup: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
80
+ /** Get table of contents for a ProjectBackup. */
81
+ export declare const backupGetProjectBackupDirectories: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$502.Content.ApplicationJson>, 502, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdPath.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
82
+ /** Restore a ProjectBackup's path. */
83
+ export declare const backupRequestProjectBackupRestorePath: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestorePath.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
80
84
  /** Change the description of a ProjectBackup. */
81
85
  export declare const backupUpdateProjectBackupDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
82
86
  /** List Registries belonging to a Project. */
@@ -359,6 +363,8 @@ export declare const mailUpdateMailAddressPassword: OpenAPIOperation<RequestType
359
363
  export declare const mailUpdateMailAddressQuota: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdQuota.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
360
364
  /** Update the spam protection of a MailAddress. */
361
365
  export declare const mailUpdateMailAddressSpamProtection: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
366
+ /** Update a mail setting of a Project. */
367
+ export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
362
368
  /** Subscribe a user to the mStudio newsletter. */
363
369
  export declare const newsletterSubscribeUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
364
370
  /** Update your account information. */
@@ -589,8 +595,6 @@ export declare const mailUpdateDeliveryBoxPassword: OpenAPIOperation<RequestType
589
595
  export declare const mailUpdateMailAddressAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdAddress.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
590
596
  /** Update the catch-all of a MailAddress. */
591
597
  export declare const mailUpdateMailAddressCatchAll: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdCatchAll.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
592
- /** Update a mail setting of a Project. */
593
- export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
594
598
  /** Get payment method details */
595
599
  export declare const marketplaceCustomerGetPaymentMethod: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdPaymentMethod.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
596
600
  /** Get the link to update the marketplace payment method */
@@ -150,6 +150,14 @@ export declare namespace MittwaldAPIV2 {
150
150
  type RequestData = InferredRequestData<typeof descriptors.backupDeleteProjectBackup>;
151
151
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupDeleteProjectBackup, TStatus>;
152
152
  }
153
+ namespace BackupGetProjectBackupDirectories {
154
+ type RequestData = InferredRequestData<typeof descriptors.backupGetProjectBackupDirectories>;
155
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupGetProjectBackupDirectories, TStatus>;
156
+ }
157
+ namespace BackupRequestProjectBackupRestorePath {
158
+ type RequestData = InferredRequestData<typeof descriptors.backupRequestProjectBackupRestorePath>;
159
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupRequestProjectBackupRestorePath, TStatus>;
160
+ }
153
161
  namespace BackupUpdateProjectBackupDescription {
154
162
  type RequestData = InferredRequestData<typeof descriptors.backupUpdateProjectBackupDescription>;
155
163
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupUpdateProjectBackupDescription, TStatus>;
@@ -714,6 +722,10 @@ export declare namespace MittwaldAPIV2 {
714
722
  type RequestData = InferredRequestData<typeof descriptors.mailUpdateMailAddressSpamProtection>;
715
723
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateMailAddressSpamProtection, TStatus>;
716
724
  }
725
+ namespace MailUpdateProjectMailSetting {
726
+ type RequestData = InferredRequestData<typeof descriptors.mailUpdateProjectMailSetting>;
727
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateProjectMailSetting, TStatus>;
728
+ }
717
729
  namespace NewsletterSubscribeUser {
718
730
  type RequestData = InferredRequestData<typeof descriptors.newsletterSubscribeUser>;
719
731
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.newsletterSubscribeUser, TStatus>;
@@ -1174,10 +1186,6 @@ export declare namespace MittwaldAPIV2 {
1174
1186
  type RequestData = InferredRequestData<typeof descriptors.mailUpdateMailAddressCatchAll>;
1175
1187
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateMailAddressCatchAll, TStatus>;
1176
1188
  }
1177
- namespace MailUpdateProjectMailSetting {
1178
- type RequestData = InferredRequestData<typeof descriptors.mailUpdateProjectMailSetting>;
1179
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateProjectMailSetting, TStatus>;
1180
- }
1181
1189
  namespace MarketplaceCustomerGetPaymentMethod {
1182
1190
  type RequestData = InferredRequestData<typeof descriptors.marketplaceCustomerGetPaymentMethod>;
1183
1191
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.marketplaceCustomerGetPaymentMethod, TStatus>;
@@ -1989,6 +1997,7 @@ export declare namespace MittwaldAPIV2 {
1989
1997
  current?: string;
1990
1998
  desired: string;
1991
1999
  }
2000
+ type BackupRestorePathPhase = "running" | "completed";
1992
2001
  type BackupBackupSortOrder = "oldestFirst" | "newestFirst";
1993
2002
  interface BackupBackupTemplate {
1994
2003
  expirationTime: string;
@@ -2012,6 +2021,7 @@ export declare namespace MittwaldAPIV2 {
2012
2021
  parentId?: string;
2013
2022
  projectId: string;
2014
2023
  requestedAt: string;
2024
+ restorePath?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath;
2015
2025
  status: string;
2016
2026
  }
2017
2027
  interface BackupProjectBackupExport {
@@ -2022,6 +2032,35 @@ export declare namespace MittwaldAPIV2 {
2022
2032
  sha256Checksum?: string;
2023
2033
  withPassword: boolean;
2024
2034
  }
2035
+ interface BackupProjectBackupPath {
2036
+ absolutePath: string;
2037
+ isDirectory?: boolean;
2038
+ isExecutable?: boolean;
2039
+ isFile?: boolean;
2040
+ isSymlink?: boolean;
2041
+ items?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[];
2042
+ name: string;
2043
+ size: number;
2044
+ target?: string;
2045
+ }
2046
+ interface BackupProjectBackupRestorePathRequest {
2047
+ /**
2048
+ * Whether to clear the target path before restoring. If true, existing files in the target path will be deleted before the restore. If false, existing files will be kept and may be overwritten if they exist in the backup.
2049
+ */
2050
+ clearTargetPath?: boolean;
2051
+ sourcePath: string;
2052
+ /**
2053
+ * Target path where the source path should be restored to. If not set, the target path will be determined to equal the origin source. The target path should always be a folder, no files allowed here.
2054
+ */
2055
+ targetPath?: string;
2056
+ }
2057
+ interface BackupProjectBackupRestorePath {
2058
+ clearTargetPath: boolean;
2059
+ determinedTargetPath: string;
2060
+ phase: MittwaldAPIV2.Components.Schemas.BackupRestorePathPhase;
2061
+ sourcePath: string;
2062
+ targetPath?: string;
2063
+ }
2025
2064
  interface BackupProjectBackupSchedule {
2026
2065
  createdAt?: string;
2027
2066
  /**
@@ -7255,6 +7294,122 @@ export declare namespace MittwaldAPIV2 {
7255
7294
  }
7256
7295
  }
7257
7296
  }
7297
+ namespace V2ProjectBackupsProjectBackupIdPath {
7298
+ namespace Get {
7299
+ namespace Parameters {
7300
+ type Path = {
7301
+ projectBackupId: string;
7302
+ };
7303
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7304
+ type Query = {
7305
+ directory?: string;
7306
+ };
7307
+ }
7308
+ namespace Responses {
7309
+ namespace $200 {
7310
+ namespace Content {
7311
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath;
7312
+ }
7313
+ }
7314
+ namespace $403 {
7315
+ namespace Content {
7316
+ interface ApplicationJson {
7317
+ [k: string]: unknown;
7318
+ }
7319
+ }
7320
+ }
7321
+ namespace $404 {
7322
+ namespace Content {
7323
+ interface ApplicationJson {
7324
+ [k: string]: unknown;
7325
+ }
7326
+ }
7327
+ }
7328
+ namespace $429 {
7329
+ namespace Content {
7330
+ interface ApplicationJson {
7331
+ [k: string]: unknown;
7332
+ }
7333
+ }
7334
+ }
7335
+ namespace $502 {
7336
+ namespace Content {
7337
+ interface ApplicationJson {
7338
+ [k: string]: unknown;
7339
+ }
7340
+ }
7341
+ }
7342
+ namespace $503 {
7343
+ namespace Content {
7344
+ interface ApplicationJson {
7345
+ [k: string]: unknown;
7346
+ }
7347
+ }
7348
+ }
7349
+ namespace Default {
7350
+ namespace Content {
7351
+ interface ApplicationJson {
7352
+ [k: string]: unknown;
7353
+ }
7354
+ }
7355
+ }
7356
+ }
7357
+ }
7358
+ }
7359
+ namespace V2ProjectBackupsProjectBackupIdRestorePath {
7360
+ namespace Post {
7361
+ namespace Parameters {
7362
+ type Path = {
7363
+ projectBackupId: string;
7364
+ };
7365
+ type RequestBody = MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest;
7366
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7367
+ type Query = {};
7368
+ }
7369
+ namespace Responses {
7370
+ namespace $204 {
7371
+ namespace Content {
7372
+ type Empty = unknown;
7373
+ }
7374
+ }
7375
+ namespace $400 {
7376
+ namespace Content {
7377
+ interface ApplicationJson {
7378
+ [k: string]: unknown;
7379
+ }
7380
+ }
7381
+ }
7382
+ namespace $403 {
7383
+ namespace Content {
7384
+ interface ApplicationJson {
7385
+ [k: string]: unknown;
7386
+ }
7387
+ }
7388
+ }
7389
+ namespace $404 {
7390
+ namespace Content {
7391
+ interface ApplicationJson {
7392
+ [k: string]: unknown;
7393
+ }
7394
+ }
7395
+ }
7396
+ namespace $429 {
7397
+ namespace Content {
7398
+ interface ApplicationJson {
7399
+ [k: string]: unknown;
7400
+ }
7401
+ }
7402
+ }
7403
+ namespace Default {
7404
+ namespace Content {
7405
+ interface ApplicationJson {
7406
+ [k: string]: unknown;
7407
+ }
7408
+ }
7409
+ }
7410
+ }
7411
+ }
7412
+ }
7258
7413
  namespace V2ProjectBackupsProjectBackupIdDescription {
7259
7414
  namespace Patch {
7260
7415
  namespace Parameters {
@@ -14672,7 +14827,79 @@ export declare namespace MittwaldAPIV2 {
14672
14827
  }
14673
14828
  }
14674
14829
  }
14675
- namespace V2ProjectsProjectIdMailSettingsSetting { }
14830
+ namespace V2ProjectsProjectIdMailSettingsMailSetting {
14831
+ namespace Patch {
14832
+ namespace Parameters {
14833
+ type Path = {
14834
+ projectId: string;
14835
+ mailSetting: "blacklist" | "whitelist";
14836
+ };
14837
+ type RequestBody = {
14838
+ blacklist: string[];
14839
+ } | {
14840
+ whitelist: string[];
14841
+ };
14842
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14843
+ type Query = {};
14844
+ }
14845
+ namespace Responses {
14846
+ namespace $204 {
14847
+ namespace Content {
14848
+ type Empty = unknown;
14849
+ }
14850
+ }
14851
+ namespace $400 {
14852
+ namespace Content {
14853
+ interface ApplicationJson {
14854
+ [k: string]: unknown;
14855
+ }
14856
+ }
14857
+ }
14858
+ namespace $403 {
14859
+ namespace Content {
14860
+ interface ApplicationJson {
14861
+ [k: string]: unknown;
14862
+ }
14863
+ }
14864
+ }
14865
+ namespace $404 {
14866
+ namespace Content {
14867
+ interface ApplicationJson {
14868
+ [k: string]: unknown;
14869
+ }
14870
+ }
14871
+ }
14872
+ namespace $429 {
14873
+ namespace Content {
14874
+ interface ApplicationJson {
14875
+ [k: string]: unknown;
14876
+ }
14877
+ }
14878
+ }
14879
+ namespace $500 {
14880
+ namespace Content {
14881
+ interface ApplicationJson {
14882
+ [k: string]: unknown;
14883
+ }
14884
+ }
14885
+ }
14886
+ namespace $503 {
14887
+ namespace Content {
14888
+ interface ApplicationJson {
14889
+ [k: string]: unknown;
14890
+ }
14891
+ }
14892
+ }
14893
+ namespace Default {
14894
+ namespace Content {
14895
+ interface ApplicationJson {
14896
+ [k: string]: unknown;
14897
+ }
14898
+ }
14899
+ }
14900
+ }
14901
+ }
14902
+ }
14676
14903
  namespace V2NewsletterSubscriptions {
14677
14904
  namespace Post {
14678
14905
  namespace Parameters {
@@ -20876,79 +21103,6 @@ export declare namespace MittwaldAPIV2 {
20876
21103
  }
20877
21104
  }
20878
21105
  }
20879
- namespace V2ProjectsProjectIdMailSettingsMailSetting {
20880
- namespace Patch {
20881
- namespace Parameters {
20882
- type Path = {
20883
- projectId: string;
20884
- mailSetting: "blacklist" | "whitelist";
20885
- };
20886
- type RequestBody = {
20887
- blacklist: string[];
20888
- } | {
20889
- whitelist: string[];
20890
- };
20891
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20892
- type Query = {};
20893
- }
20894
- namespace Responses {
20895
- namespace $204 {
20896
- namespace Content {
20897
- type Empty = unknown;
20898
- }
20899
- }
20900
- namespace $400 {
20901
- namespace Content {
20902
- interface ApplicationJson {
20903
- [k: string]: unknown;
20904
- }
20905
- }
20906
- }
20907
- namespace $403 {
20908
- namespace Content {
20909
- interface ApplicationJson {
20910
- [k: string]: unknown;
20911
- }
20912
- }
20913
- }
20914
- namespace $404 {
20915
- namespace Content {
20916
- interface ApplicationJson {
20917
- [k: string]: unknown;
20918
- }
20919
- }
20920
- }
20921
- namespace $429 {
20922
- namespace Content {
20923
- interface ApplicationJson {
20924
- [k: string]: unknown;
20925
- }
20926
- }
20927
- }
20928
- namespace $500 {
20929
- namespace Content {
20930
- interface ApplicationJson {
20931
- [k: string]: unknown;
20932
- }
20933
- }
20934
- }
20935
- namespace $503 {
20936
- namespace Content {
20937
- interface ApplicationJson {
20938
- [k: string]: unknown;
20939
- }
20940
- }
20941
- }
20942
- namespace Default {
20943
- namespace Content {
20944
- interface ApplicationJson {
20945
- [k: string]: unknown;
20946
- }
20947
- }
20948
- }
20949
- }
20950
- }
20951
- }
20952
21106
  namespace V2CustomersCustomerIdPaymentMethod {
20953
21107
  namespace Get {
20954
21108
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.251.0';
1
+ export declare const MittwaldAPIClientVersion = '4.252.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.251.1",
3
+ "version": "4.253.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.251.1",
49
+ "@mittwald/api-client-commons": "^4.253.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.251.1",
53
+ "@mittwald/api-code-generator": "^4.253.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "a7652dc265b17b35f3e536c3c78212af23810052"
83
+ "gitHead": "563a727df0ebab16168b42e6cb1e5e9b53655a4c"
84
84
  }