@mittwald/api-client 4.358.0 → 4.360.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.
@@ -68,6 +68,8 @@ const buildBackupApi = (baseClient) => ({
68
68
  getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
69
69
  /** Get a ProjectBackup. */
70
70
  getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
71
+ /** List database dump's for a ProjectBackup. */
72
+ getProjectBackupDatabaseDumps: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumps, baseClient.backup.getProjectBackupDatabaseDumps).getApiResource,
71
73
  /** List paths for a ProjectBackup. */
72
74
  getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
73
75
  });
@@ -119,10 +119,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
119
119
  getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
120
120
  /** Delete a ProjectBackup. */
121
121
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
122
+ /** List database dump's for a ProjectBackup. */
123
+ getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
122
124
  /** List paths for a ProjectBackup. */
123
125
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
124
126
  /** Update a Backup's expiration time. */
125
127
  replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
128
+ /** Restore a ProjectBackup. */
129
+ requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
126
130
  /** Change the description of a ProjectBackup. */
127
131
  updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
128
132
  };
@@ -310,6 +310,12 @@ export const backupDeleteProjectBackup = {
310
310
  method: "DELETE",
311
311
  operationId: "backup-delete-project-backup",
312
312
  };
313
+ /** List database dump's for a ProjectBackup. */
314
+ export const backupGetProjectBackupDatabaseDumps = {
315
+ path: "/v2/project-backups/{projectBackupId}/database-dumps",
316
+ method: "GET",
317
+ operationId: "backup-get-project-backup-database-dumps",
318
+ };
313
319
  /** List paths for a ProjectBackup. */
314
320
  export const backupGetProjectBackupDirectories = {
315
321
  path: "/v2/project-backups/{projectBackupId}/path",
@@ -322,6 +328,12 @@ export const backupReplaceProjectBackupExpirationTime = {
322
328
  method: "PUT",
323
329
  operationId: "backup-replace-project-backup-expiration-time",
324
330
  };
331
+ /** Restore a ProjectBackup. */
332
+ export const backupRequestProjectBackupRestore = {
333
+ path: "/v2/project-backups/{projectBackupId}/restore",
334
+ method: "POST",
335
+ operationId: "backup-request-project-backup-restore",
336
+ };
325
337
  /** Change the description of a ProjectBackup. */
326
338
  export const backupUpdateProjectBackupDescription = {
327
339
  path: "/v2/project-backups/{projectBackupId}/description",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.357.0';
1
+ export const MittwaldAPIClientVersion = '4.359.0';
@@ -254,6 +254,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
254
254
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
255
255
  appIds?: string[] | undefined;
256
256
  searchTerm?: string | undefined;
257
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
257
258
  limit?: number | undefined;
258
259
  skip?: number | undefined;
259
260
  page?: number | undefined;
@@ -270,6 +271,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
270
271
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
271
272
  appIds?: string[] | undefined;
272
273
  searchTerm?: string | undefined;
274
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
273
275
  limit?: number | undefined;
274
276
  skip?: number | undefined;
275
277
  page?: number | undefined;
@@ -471,6 +473,16 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
471
473
  restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathDeprecated | undefined;
472
474
  status: string;
473
475
  }>;
476
+ /** List database dump's for a ProjectBackup. */
477
+ getProjectBackupDatabaseDumps: (conf: {
478
+ projectBackupId: string;
479
+ headers?: {
480
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
481
+ "x-access-token"?: string | undefined;
482
+ } | undefined;
483
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
484
+ databases: string[];
485
+ }>;
474
486
  /** List paths for a ProjectBackup. */
475
487
  getProjectBackupDirectories: (conf: {
476
488
  projectBackupId: string;
@@ -1613,6 +1613,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1613
1613
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1614
1614
  appIds?: string[] | undefined;
1615
1615
  searchTerm?: string | undefined;
1616
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
1616
1617
  limit?: number | undefined;
1617
1618
  skip?: number | undefined;
1618
1619
  page?: number | undefined;
@@ -1625,6 +1626,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1625
1626
  queryParameters: {
1626
1627
  appIds?: string[] | undefined;
1627
1628
  searchTerm?: string | undefined;
1629
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
1628
1630
  limit?: number | undefined;
1629
1631
  skip?: number | undefined;
1630
1632
  page?: number | undefined;
@@ -1647,6 +1649,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1647
1649
  queryParameters: {
1648
1650
  appIds?: string[] | undefined;
1649
1651
  searchTerm?: string | undefined;
1652
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
1650
1653
  limit?: number | undefined;
1651
1654
  skip?: number | undefined;
1652
1655
  page?: number | undefined;
@@ -1673,6 +1676,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1673
1676
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1674
1677
  appIds?: string[] | undefined;
1675
1678
  searchTerm?: string | undefined;
1679
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
1676
1680
  limit?: number | undefined;
1677
1681
  skip?: number | undefined;
1678
1682
  page?: number | undefined;
@@ -1689,6 +1693,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1689
1693
  queryParameters: {
1690
1694
  appIds?: string[] | undefined;
1691
1695
  searchTerm?: string | undefined;
1696
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
1692
1697
  limit?: number | undefined;
1693
1698
  skip?: number | undefined;
1694
1699
  page?: number | undefined;
@@ -1715,6 +1720,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1715
1720
  queryParameters: {
1716
1721
  appIds?: string[] | undefined;
1717
1722
  searchTerm?: string | undefined;
1723
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
1718
1724
  limit?: number | undefined;
1719
1725
  skip?: number | undefined;
1720
1726
  page?: number | undefined;
@@ -3199,6 +3205,66 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3199
3205
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3200
3206
  [x: string]: unknown;
3201
3207
  }, 429, "application/json">>>;
3208
+ /** List database dump's for a ProjectBackup. */
3209
+ getProjectBackupDatabaseDumps: (request: {
3210
+ projectBackupId: string;
3211
+ headers?: {
3212
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3213
+ "x-access-token"?: string | undefined;
3214
+ } | undefined;
3215
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3216
+ headers?: Partial<{
3217
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3218
+ }>;
3219
+ } & {
3220
+ pathParameters: {
3221
+ projectBackupId: string;
3222
+ };
3223
+ } & {
3224
+ headers: {
3225
+ "x-access-token"?: string | undefined;
3226
+ } & Partial<{
3227
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3228
+ }>;
3229
+ }, import("@mittwald/api-client-commons").Response<{
3230
+ databases: string[];
3231
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
3232
+ [x: string]: unknown;
3233
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
3234
+ [x: string]: unknown;
3235
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3236
+ [x: string]: unknown;
3237
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
3238
+ [x: string]: unknown;
3239
+ }, 502, "application/json"> | import("@mittwald/api-client-commons").Response<{
3240
+ [x: string]: unknown;
3241
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3242
+ headers?: Partial<{
3243
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3244
+ }>;
3245
+ } & {
3246
+ pathParameters: {
3247
+ projectBackupId: string;
3248
+ };
3249
+ } & {
3250
+ headers: {
3251
+ "x-access-token"?: string | undefined;
3252
+ } & Partial<{
3253
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3254
+ }>;
3255
+ }, import("@mittwald/api-client-commons").Response<{
3256
+ databases: string[];
3257
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
3258
+ [x: string]: unknown;
3259
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
3260
+ [x: string]: unknown;
3261
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3262
+ [x: string]: unknown;
3263
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
3264
+ [x: string]: unknown;
3265
+ }, 502, "application/json"> | import("@mittwald/api-client-commons").Response<{
3266
+ [x: string]: unknown;
3267
+ }, 503, "application/json">>>;
3202
3268
  /** List paths for a ProjectBackup. */
3203
3269
  getProjectBackupDirectories: (request: {
3204
3270
  projectBackupId: string;
@@ -3354,6 +3420,76 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3354
3420
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3355
3421
  [x: string]: unknown;
3356
3422
  }, 429, "application/json">>>;
3423
+ /** Restore a ProjectBackup. */
3424
+ requestProjectBackupRestore: (request: {
3425
+ projectBackupId: string;
3426
+ data?: {
3427
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3428
+ pathRestore?: {
3429
+ sourcePaths: string[];
3430
+ clearTargetPath?: boolean | undefined;
3431
+ targetRestorePath?: string | undefined;
3432
+ } | undefined;
3433
+ } | undefined;
3434
+ headers?: {
3435
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3436
+ "x-access-token"?: string | undefined;
3437
+ } | undefined;
3438
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3439
+ data: {
3440
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3441
+ pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3442
+ };
3443
+ } & {
3444
+ pathParameters: {
3445
+ projectBackupId: string;
3446
+ };
3447
+ } & {
3448
+ headers?: Partial<{
3449
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3450
+ }>;
3451
+ } & {
3452
+ headers: {
3453
+ "x-access-token"?: string | undefined;
3454
+ } & Partial<{
3455
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3456
+ }>;
3457
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
3458
+ [x: string]: unknown;
3459
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
3460
+ [x: string]: unknown;
3461
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
3462
+ [x: string]: unknown;
3463
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3464
+ [x: string]: unknown;
3465
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3466
+ data: {
3467
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3468
+ pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3469
+ };
3470
+ } & {
3471
+ pathParameters: {
3472
+ projectBackupId: string;
3473
+ };
3474
+ } & {
3475
+ headers?: Partial<{
3476
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3477
+ }>;
3478
+ } & {
3479
+ headers: {
3480
+ "x-access-token"?: string | undefined;
3481
+ } & Partial<{
3482
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
3483
+ }>;
3484
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
3485
+ [x: string]: unknown;
3486
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
3487
+ [x: string]: unknown;
3488
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
3489
+ [x: string]: unknown;
3490
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3491
+ [x: string]: unknown;
3492
+ }, 429, "application/json">>>;
3357
3493
  /** Change the description of a ProjectBackup. */
3358
3494
  updateProjectBackupDescription: (request: {
3359
3495
  projectBackupId: string;
@@ -107,10 +107,14 @@ export declare const backupUpdateProjectBackupSchedule: OpenAPIOperation<Request
107
107
  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">>;
108
108
  /** Delete a ProjectBackup. */
109
109
  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">>;
110
+ /** List database dump's for a ProjectBackup. */
111
+ export declare const backupGetProjectBackupDatabaseDumps: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.$502.Content.ApplicationJson>, 502, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdDatabaseDumps.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
110
112
  /** List paths for a ProjectBackup. */
111
113
  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">>;
112
114
  /** Update a Backup's expiration time. */
113
115
  export declare const backupReplaceProjectBackupExpirationTime: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
116
+ /** Restore a ProjectBackup. */
117
+ export declare const backupRequestProjectBackupRestore: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdRestore.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
114
118
  /** Change the description of a ProjectBackup. */
115
119
  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">>;
116
120
  /** Call pull-image webhook */
@@ -210,6 +210,10 @@ export declare namespace MittwaldAPIV2 {
210
210
  type RequestData = InferredRequestData<typeof descriptors.backupDeleteProjectBackup>;
211
211
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupDeleteProjectBackup, TStatus>;
212
212
  }
213
+ namespace BackupGetProjectBackupDatabaseDumps {
214
+ type RequestData = InferredRequestData<typeof descriptors.backupGetProjectBackupDatabaseDumps>;
215
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupGetProjectBackupDatabaseDumps, TStatus>;
216
+ }
213
217
  namespace BackupGetProjectBackupDirectories {
214
218
  type RequestData = InferredRequestData<typeof descriptors.backupGetProjectBackupDirectories>;
215
219
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupGetProjectBackupDirectories, TStatus>;
@@ -218,6 +222,10 @@ export declare namespace MittwaldAPIV2 {
218
222
  type RequestData = InferredRequestData<typeof descriptors.backupReplaceProjectBackupExpirationTime>;
219
223
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupReplaceProjectBackupExpirationTime, TStatus>;
220
224
  }
225
+ namespace BackupRequestProjectBackupRestore {
226
+ type RequestData = InferredRequestData<typeof descriptors.backupRequestProjectBackupRestore>;
227
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupRequestProjectBackupRestore, TStatus>;
228
+ }
221
229
  namespace BackupUpdateProjectBackupDescription {
222
230
  type RequestData = InferredRequestData<typeof descriptors.backupUpdateProjectBackupDescription>;
223
231
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupUpdateProjectBackupDescription, TStatus>;
@@ -6141,6 +6149,7 @@ export declare namespace MittwaldAPIV2 {
6141
6149
  }
6142
6150
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6143
6151
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6152
+ type AppAppInstallationSortOrder = "newestFirst" | "oldestFirst" | "sortByPhpVersionAsc" | "sortByPhpVersionDesc";
6144
6153
  interface CommonsAddress {
6145
6154
  street: string;
6146
6155
  houseNumber: string;
@@ -7709,6 +7718,7 @@ export declare namespace MittwaldAPIV2 {
7709
7718
  type Query = {
7710
7719
  appIds?: string[];
7711
7720
  searchTerm?: string;
7721
+ sortOrder?: MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder;
7712
7722
  limit?: number;
7713
7723
  skip?: number;
7714
7724
  page?: number;
@@ -7748,6 +7758,7 @@ export declare namespace MittwaldAPIV2 {
7748
7758
  type Query = {
7749
7759
  appIds?: string[];
7750
7760
  searchTerm?: string;
7761
+ sortOrder?: MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder;
7751
7762
  limit?: number;
7752
7763
  skip?: number;
7753
7764
  page?: number;
@@ -8858,6 +8869,68 @@ export declare namespace MittwaldAPIV2 {
8858
8869
  }
8859
8870
  }
8860
8871
  }
8872
+ namespace V2ProjectBackupsProjectBackupIdDatabaseDumps {
8873
+ namespace Get {
8874
+ namespace Parameters {
8875
+ type Path = {
8876
+ projectBackupId: string;
8877
+ };
8878
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8879
+ type Query = {};
8880
+ }
8881
+ namespace Responses {
8882
+ namespace $200 {
8883
+ namespace Content {
8884
+ interface ApplicationJson {
8885
+ databases: string[];
8886
+ }
8887
+ }
8888
+ }
8889
+ namespace $403 {
8890
+ namespace Content {
8891
+ interface ApplicationJson {
8892
+ [k: string]: unknown;
8893
+ }
8894
+ }
8895
+ }
8896
+ namespace $404 {
8897
+ namespace Content {
8898
+ interface ApplicationJson {
8899
+ [k: string]: unknown;
8900
+ }
8901
+ }
8902
+ }
8903
+ namespace $429 {
8904
+ namespace Content {
8905
+ interface ApplicationJson {
8906
+ [k: string]: unknown;
8907
+ }
8908
+ }
8909
+ }
8910
+ namespace $502 {
8911
+ namespace Content {
8912
+ interface ApplicationJson {
8913
+ [k: string]: unknown;
8914
+ }
8915
+ }
8916
+ }
8917
+ namespace $503 {
8918
+ namespace Content {
8919
+ interface ApplicationJson {
8920
+ [k: string]: unknown;
8921
+ }
8922
+ }
8923
+ }
8924
+ namespace Default {
8925
+ namespace Content {
8926
+ interface ApplicationJson {
8927
+ [k: string]: unknown;
8928
+ }
8929
+ }
8930
+ }
8931
+ }
8932
+ }
8933
+ }
8861
8934
  namespace V2ProjectBackupsProjectBackupIdPath {
8862
8935
  namespace Get {
8863
8936
  namespace Parameters {
@@ -8980,6 +9053,60 @@ export declare namespace MittwaldAPIV2 {
8980
9053
  }
8981
9054
  }
8982
9055
  namespace V2ProjectBackupsProjectBackupIdRestorePath { }
9056
+ namespace V2ProjectBackupsProjectBackupIdRestore {
9057
+ namespace Post {
9058
+ namespace Parameters {
9059
+ type Path = {
9060
+ projectBackupId: string;
9061
+ };
9062
+ type RequestBody = MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreRequest;
9063
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9064
+ type Query = {};
9065
+ }
9066
+ namespace Responses {
9067
+ namespace $204 {
9068
+ namespace Content {
9069
+ type Empty = unknown;
9070
+ }
9071
+ }
9072
+ namespace $400 {
9073
+ namespace Content {
9074
+ interface ApplicationJson {
9075
+ [k: string]: unknown;
9076
+ }
9077
+ }
9078
+ }
9079
+ namespace $403 {
9080
+ namespace Content {
9081
+ interface ApplicationJson {
9082
+ [k: string]: unknown;
9083
+ }
9084
+ }
9085
+ }
9086
+ namespace $404 {
9087
+ namespace Content {
9088
+ interface ApplicationJson {
9089
+ [k: string]: unknown;
9090
+ }
9091
+ }
9092
+ }
9093
+ namespace $429 {
9094
+ namespace Content {
9095
+ interface ApplicationJson {
9096
+ [k: string]: unknown;
9097
+ }
9098
+ }
9099
+ }
9100
+ namespace Default {
9101
+ namespace Content {
9102
+ interface ApplicationJson {
9103
+ [k: string]: unknown;
9104
+ }
9105
+ }
9106
+ }
9107
+ }
9108
+ }
9109
+ }
8983
9110
  namespace V2ProjectBackupsProjectBackupIdDescription {
8984
9111
  namespace Patch {
8985
9112
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.357.0';
1
+ export declare const MittwaldAPIClientVersion = '4.359.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.358.0",
3
+ "version": "4.360.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.358.0",
49
+ "@mittwald/api-client-commons": "^4.360.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.358.0",
53
+ "@mittwald/api-code-generator": "^4.360.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": "7b8741295bdbe9278c5fddcdf190ec7b427df9ad"
83
+ "gitHead": "be365a8328d68fac35e37b204280cd7ce45ec4ed"
84
84
  }