@mittwald/api-client 0.0.0-development-c3744f8-20260122 → 0.0.0-development-5fa3f27-20260129

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.
@@ -55,6 +55,20 @@ const buildArticleApi = (baseClient) => ({
55
55
  /** List Articles. */
56
56
  listArticles: new ApiCallAsyncResourceFactory(descriptors.articleListArticles, baseClient.article.listArticles).getApiResource,
57
57
  });
58
+ const buildBackupApi = (baseClient) => ({
59
+ /** List BackupSchedules belonging to a Project. */
60
+ listProjectBackupSchedules: new ApiCallAsyncResourceFactory(descriptors.backupListProjectBackupSchedules, baseClient.backup.listProjectBackupSchedules).getApiResource,
61
+ /** List Backups belonging to a Project. */
62
+ listProjectBackups: new ApiCallAsyncResourceFactory(descriptors.backupListProjectBackups, baseClient.backup.listProjectBackups).getApiResource,
63
+ /** Get a ProjectBackupSchedule. */
64
+ getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
65
+ /** Get a ProjectBackup. */
66
+ getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
67
+ /** List database dump's for a ProjectBackup. */
68
+ getProjectBackupDatabaseDumpsV2Experimental: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental, baseClient.backup.getProjectBackupDatabaseDumpsV2Experimental).getApiResource,
69
+ /** List paths for a ProjectBackup. */
70
+ getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
71
+ });
58
72
  const buildContainerApi = (baseClient) => ({
59
73
  /** List Registries belonging to a Project. */
60
74
  listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
@@ -136,6 +150,8 @@ const buildMarketplaceApi = (baseClient) => ({
136
150
  contributorListOnbehalfInvoices: new ApiCallAsyncResourceFactory(descriptors.contributorListOnbehalfInvoices, baseClient.marketplace.contributorListOnbehalfInvoices).getApiResource,
137
151
  /** Request an Access Token for the Incoming Invoice file. */
138
152
  contributorReceiptGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.contributorReceiptGetFileAccessToken, baseClient.marketplace.contributorReceiptGetFileAccessToken).getApiResource,
153
+ /** Check if an Extension is unchargable for this specific context or if it must be charged. */
154
+ extensionCheckExtensionIsChargable: new ApiCallAsyncResourceFactory(descriptors.extensionCheckExtensionIsChargable, baseClient.marketplace.extensionCheckExtensionIsChargable).getApiResource,
139
155
  /** List ExtensionInstances. */
140
156
  extensionListExtensionInstances: new ApiCallAsyncResourceFactory(descriptors.extensionListExtensionInstances, baseClient.marketplace.extensionListExtensionInstances).getApiResource,
141
157
  /** Get an ExtensionInstance. */
@@ -439,20 +455,6 @@ const buildSshsftpUserApi = (baseClient) => ({
439
455
  /** Get an SSHUser. */
440
456
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
441
457
  });
442
- const buildBackupApi = (baseClient) => ({
443
- /** Get a ProjectBackupSchedule. */
444
- getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
445
- /** List database dump's for a ProjectBackup. */
446
- getProjectBackupDatabaseDumpsV2Experimental: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental, baseClient.backup.getProjectBackupDatabaseDumpsV2Experimental).getApiResource,
447
- /** List BackupSchedules belonging to a Project. */
448
- listProjectBackupSchedules: new ApiCallAsyncResourceFactory(descriptors.backupListProjectBackupSchedules, baseClient.backup.listProjectBackupSchedules).getApiResource,
449
- /** List Backups belonging to a Project. */
450
- listProjectBackups: new ApiCallAsyncResourceFactory(descriptors.backupListProjectBackups, baseClient.backup.listProjectBackups).getApiResource,
451
- /** List paths for a ProjectBackup. */
452
- getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
453
- /** Get a ProjectBackup. */
454
- getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
455
- });
456
458
  export class MittwaldAPIV2ClientReact {
457
459
  /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
458
460
  aiHosting;
@@ -460,6 +462,8 @@ export class MittwaldAPIV2ClientReact {
460
462
  app;
461
463
  /** The article API allows you to read article information. */
462
464
  article;
465
+ /** The backup API allows you to manage your project backups. */
466
+ backup;
463
467
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
464
468
  container;
465
469
  /** The contract API allows you to manage your contracts and orders */
@@ -498,12 +502,11 @@ export class MittwaldAPIV2ClientReact {
498
502
  projectFileSystem;
499
503
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
500
504
  sshsftpUser;
501
- /** The backup API allows you to manage your project backups. */
502
- backup;
503
505
  constructor(baseClient) {
504
506
  this.aiHosting = buildAiHostingApi(baseClient);
505
507
  this.app = buildAppApi(baseClient);
506
508
  this.article = buildArticleApi(baseClient);
509
+ this.backup = buildBackupApi(baseClient);
507
510
  this.container = buildContainerApi(baseClient);
508
511
  this.contract = buildContractApi(baseClient);
509
512
  this.marketplace = buildMarketplaceApi(baseClient);
@@ -523,7 +526,6 @@ export class MittwaldAPIV2ClientReact {
523
526
  this.project = buildProjectApi(baseClient);
524
527
  this.projectFileSystem = buildProjectFileSystemApi(baseClient);
525
528
  this.sshsftpUser = buildSshsftpUserApi(baseClient);
526
- this.backup = buildBackupApi(baseClient);
527
529
  }
528
530
  static fromBaseClient(baseClient) {
529
531
  return new MittwaldAPIV2ClientReact(baseClient);
@@ -91,6 +91,39 @@ export class MittwaldAPIV2Client extends ApiClientBase {
91
91
  /** List Articles. */
92
92
  listArticles: this.requestFunctionFactory(descriptors.articleListArticles),
93
93
  };
94
+ /** The backup API allows you to manage your project backups. */
95
+ backup = {
96
+ /** Export a ProjectBackup for download. */
97
+ createProjectBackupExport: this.requestFunctionFactory(descriptors.backupCreateProjectBackupExport),
98
+ /** Delete a ProjectBackupExport. */
99
+ deleteProjectBackupExport: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupExport),
100
+ /** List BackupSchedules belonging to a Project. */
101
+ listProjectBackupSchedules: this.requestFunctionFactory(descriptors.backupListProjectBackupSchedules),
102
+ /** Create a BackupSchedule for a Project. */
103
+ createProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupCreateProjectBackupSchedule),
104
+ /** List Backups belonging to a Project. */
105
+ listProjectBackups: this.requestFunctionFactory(descriptors.backupListProjectBackups),
106
+ /** Create a Backup of a Project. */
107
+ createProjectBackup: this.requestFunctionFactory(descriptors.backupCreateProjectBackup),
108
+ /** Get a ProjectBackupSchedule. */
109
+ getProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupGetProjectBackupSchedule),
110
+ /** Delete a ProjectBackupSchedule. */
111
+ deleteProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupSchedule),
112
+ /** Update a ProjectBackupSchedule. */
113
+ updateProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupSchedule),
114
+ /** Get a ProjectBackup. */
115
+ getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
116
+ /** Delete a ProjectBackup. */
117
+ deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
118
+ /** List database dump's for a ProjectBackup. */
119
+ getProjectBackupDatabaseDumpsV2Experimental: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental),
120
+ /** List paths for a ProjectBackup. */
121
+ getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
122
+ /** Restore a ProjectBackup. */
123
+ requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
124
+ /** Change the description of a ProjectBackup. */
125
+ updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
126
+ };
94
127
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
95
128
  container = {
96
129
  /** List Registries belonging to a Project. */
@@ -253,6 +286,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
253
286
  extensionCancelExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionCancelExtensionVariantChange),
254
287
  /** Change the context of an Extension. */
255
288
  extensionChangeContext: this.requestFunctionFactory(descriptors.extensionChangeContext),
289
+ /** Check if an Extension is unchargable for this specific context or if it must be charged. */
290
+ extensionCheckExtensionIsChargable: this.requestFunctionFactory(descriptors.extensionCheckExtensionIsChargable),
256
291
  /** Consent to extension scopes. */
257
292
  extensionConsentToExtensionScopes: this.requestFunctionFactory(descriptors.extensionConsentToExtensionScopes),
258
293
  /** Create the OnboardingProcess of a Contributor. */
@@ -384,7 +419,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
384
419
  /** Get a CronjobExecution. */
385
420
  getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
386
421
  /** Update a Cronjob's app installation id. */
387
- updateCronjobAppId: this.requestFunctionFactory(descriptors.cronjobUpdateCronjobAppId),
422
+ replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
388
423
  };
389
424
  /** The customer API allows you to manage your own organizations and users. */
390
425
  customer = {
@@ -955,38 +990,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
955
990
  /** Update an SSHUser. */
956
991
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
957
992
  };
958
- /** The backup API allows you to manage your project backups. */
959
- backup = {
960
- /** Export a ProjectBackup for download. */
961
- createProjectBackupExport: this.requestFunctionFactory(descriptors.backupCreateProjectBackupExport),
962
- /** Delete a ProjectBackupExport. */
963
- deleteProjectBackupExport: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupExport),
964
- /** Get a ProjectBackupSchedule. */
965
- getProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupGetProjectBackupSchedule),
966
- /** Delete a ProjectBackupSchedule. */
967
- deleteProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupSchedule),
968
- /** Update a ProjectBackupSchedule. */
969
- updateProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupSchedule),
970
- /** List database dump's for a ProjectBackup. */
971
- getProjectBackupDatabaseDumpsV2Experimental: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental),
972
- /** Restore a ProjectBackup. */
973
- requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
974
- /** List BackupSchedules belonging to a Project. */
975
- listProjectBackupSchedules: this.requestFunctionFactory(descriptors.backupListProjectBackupSchedules),
976
- /** Create a BackupSchedule for a Project. */
977
- createProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupCreateProjectBackupSchedule),
978
- /** List Backups belonging to a Project. */
979
- listProjectBackups: this.requestFunctionFactory(descriptors.backupListProjectBackups),
980
- /** Create a Backup of a Project. */
981
- createProjectBackup: this.requestFunctionFactory(descriptors.backupCreateProjectBackup),
982
- /** List paths for a ProjectBackup. */
983
- getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
984
- /** Get a ProjectBackup. */
985
- getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
986
- /** Delete a ProjectBackup. */
987
- deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
988
- /** Change the description of a ProjectBackup. */
989
- updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
990
- };
991
993
  }
992
994
  export default MittwaldAPIV2Client;
@@ -232,6 +232,96 @@ export const articleListArticles = {
232
232
  method: "GET",
233
233
  operationId: "article-list-articles",
234
234
  };
235
+ /** Export a ProjectBackup for download. */
236
+ export const backupCreateProjectBackupExport = {
237
+ path: "/v2/project-backups/{projectBackupId}/export",
238
+ method: "POST",
239
+ operationId: "backup-create-project-backup-export",
240
+ };
241
+ /** Delete a ProjectBackupExport. */
242
+ export const backupDeleteProjectBackupExport = {
243
+ path: "/v2/project-backups/{projectBackupId}/export",
244
+ method: "DELETE",
245
+ operationId: "backup-delete-project-backup-export",
246
+ };
247
+ /** List BackupSchedules belonging to a Project. */
248
+ export const backupListProjectBackupSchedules = {
249
+ path: "/v2/projects/{projectId}/backup-schedules",
250
+ method: "GET",
251
+ operationId: "backup-list-project-backup-schedules",
252
+ };
253
+ /** Create a BackupSchedule for a Project. */
254
+ export const backupCreateProjectBackupSchedule = {
255
+ path: "/v2/projects/{projectId}/backup-schedules",
256
+ method: "POST",
257
+ operationId: "backup-create-project-backup-schedule",
258
+ };
259
+ /** List Backups belonging to a Project. */
260
+ export const backupListProjectBackups = {
261
+ path: "/v2/projects/{projectId}/backups",
262
+ method: "GET",
263
+ operationId: "backup-list-project-backups",
264
+ };
265
+ /** Create a Backup of a Project. */
266
+ export const backupCreateProjectBackup = {
267
+ path: "/v2/projects/{projectId}/backups",
268
+ method: "POST",
269
+ operationId: "backup-create-project-backup",
270
+ };
271
+ /** Get a ProjectBackupSchedule. */
272
+ export const backupGetProjectBackupSchedule = {
273
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
274
+ method: "GET",
275
+ operationId: "backup-get-project-backup-schedule",
276
+ };
277
+ /** Delete a ProjectBackupSchedule. */
278
+ export const backupDeleteProjectBackupSchedule = {
279
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
280
+ method: "DELETE",
281
+ operationId: "backup-delete-project-backup-schedule",
282
+ };
283
+ /** Update a ProjectBackupSchedule. */
284
+ export const backupUpdateProjectBackupSchedule = {
285
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
286
+ method: "PATCH",
287
+ operationId: "backup-update-project-backup-schedule",
288
+ };
289
+ /** Get a ProjectBackup. */
290
+ export const backupGetProjectBackup = {
291
+ path: "/v2/project-backups/{projectBackupId}",
292
+ method: "GET",
293
+ operationId: "backup-get-project-backup",
294
+ };
295
+ /** Delete a ProjectBackup. */
296
+ export const backupDeleteProjectBackup = {
297
+ path: "/v2/project-backups/{projectBackupId}",
298
+ method: "DELETE",
299
+ operationId: "backup-delete-project-backup",
300
+ };
301
+ /** List database dump's for a ProjectBackup. */
302
+ export const backupGetProjectBackupDatabaseDumpsV2Experimental = {
303
+ path: "/v2/project-backups/{projectBackupId}/database-dumps",
304
+ method: "GET",
305
+ operationId: "backup-get-project-backup-database-dumps-v2-experimental",
306
+ };
307
+ /** List paths for a ProjectBackup. */
308
+ export const backupGetProjectBackupDirectories = {
309
+ path: "/v2/project-backups/{projectBackupId}/path",
310
+ method: "GET",
311
+ operationId: "backup-get-project-backup-directories",
312
+ };
313
+ /** Restore a ProjectBackup. */
314
+ export const backupRequestProjectBackupRestoreV2Experimental = {
315
+ path: "/v2/project-backups/{projectBackupId}/restore",
316
+ method: "POST",
317
+ operationId: "backup-request-project-backup-restore-v2-experimental",
318
+ };
319
+ /** Change the description of a ProjectBackup. */
320
+ export const backupUpdateProjectBackupDescription = {
321
+ path: "/v2/project-backups/{projectBackupId}/description",
322
+ method: "PATCH",
323
+ operationId: "backup-update-project-backup-description",
324
+ };
235
325
  /** List Registries belonging to a Project. */
236
326
  export const containerListRegistries = {
237
327
  path: "/v2/projects/{projectId}/registries",
@@ -712,12 +802,6 @@ export const cronjobGetExecution = {
712
802
  method: "GET",
713
803
  operationId: "cronjob-get-execution",
714
804
  };
715
- /** Update a Cronjob's app installation id. */
716
- export const cronjobUpdateCronjobAppId = {
717
- path: "/v2/cronjobs/{cronjobId}/app-installation-id",
718
- method: "PATCH",
719
- operationId: "cronjob-update-cronjob-app-id",
720
- };
721
805
  /** Accept a CustomerInvite. */
722
806
  export const customerAcceptCustomerInvite = {
723
807
  path: "/v2/customer-invites/{customerInviteId}/actions/accept",
@@ -1270,6 +1354,12 @@ export const extensionChangeContext = {
1270
1354
  method: "PUT",
1271
1355
  operationId: "extension-change-context",
1272
1356
  };
1357
+ /** Check if an Extension is unchargable for this specific context or if it must be charged. */
1358
+ export const extensionCheckExtensionIsChargable = {
1359
+ path: "/v2/extensions/{extensionId}/contexts/{contextId}/chargability",
1360
+ method: "GET",
1361
+ operationId: "extension-check-extension-is-chargable",
1362
+ };
1273
1363
  /** Consent to extension scopes. */
1274
1364
  export const extensionConsentToExtensionScopes = {
1275
1365
  path: "/v2/extension-instances/{extensionInstanceId}/scopes",
@@ -2644,93 +2734,9 @@ export const verificationVerifyCompany = {
2644
2734
  method: "POST",
2645
2735
  operationId: "verification-verify-company",
2646
2736
  };
2647
- /** Export a ProjectBackup for download. */
2648
- export const backupCreateProjectBackupExport = {
2649
- path: "/v2/project-backups/{projectBackupId}/export",
2650
- method: "POST",
2651
- operationId: "backup-create-project-backup-export",
2652
- };
2653
- /** Delete a ProjectBackupExport. */
2654
- export const backupDeleteProjectBackupExport = {
2655
- path: "/v2/project-backups/{projectBackupId}/export",
2656
- method: "DELETE",
2657
- operationId: "backup-delete-project-backup-export",
2658
- };
2659
- /** Get a ProjectBackupSchedule. */
2660
- export const backupGetProjectBackupSchedule = {
2661
- path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
2662
- method: "GET",
2663
- operationId: "backup-get-project-backup-schedule",
2664
- };
2665
- /** Delete a ProjectBackupSchedule. */
2666
- export const backupDeleteProjectBackupSchedule = {
2667
- path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
2668
- method: "DELETE",
2669
- operationId: "backup-delete-project-backup-schedule",
2670
- };
2671
- /** Update a ProjectBackupSchedule. */
2672
- export const backupUpdateProjectBackupSchedule = {
2673
- path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
2674
- method: "PATCH",
2675
- operationId: "backup-update-project-backup-schedule",
2676
- };
2677
- /** List database dump's for a ProjectBackup. */
2678
- export const backupGetProjectBackupDatabaseDumpsV2Experimental = {
2679
- path: "/v2/project-backups/{projectBackupId}/database-dumps",
2680
- method: "GET",
2681
- operationId: "backup-get-project-backup-database-dumps-v2-experimental",
2682
- };
2683
- /** Restore a ProjectBackup. */
2684
- export const backupRequestProjectBackupRestoreV2Experimental = {
2685
- path: "/v2/project-backups/{projectBackupId}/restore",
2686
- method: "POST",
2687
- operationId: "backup-request-project-backup-restore-v2-experimental",
2688
- };
2689
- /** List BackupSchedules belonging to a Project. */
2690
- export const backupListProjectBackupSchedules = {
2691
- path: "/v2/projects/{projectId}/backup-schedules",
2692
- method: "GET",
2693
- operationId: "backup-list-project-backup-schedules",
2694
- };
2695
- /** Create a BackupSchedule for a Project. */
2696
- export const backupCreateProjectBackupSchedule = {
2697
- path: "/v2/projects/{projectId}/backup-schedules",
2698
- method: "POST",
2699
- operationId: "backup-create-project-backup-schedule",
2700
- };
2701
- /** List Backups belonging to a Project. */
2702
- export const backupListProjectBackups = {
2703
- path: "/v2/projects/{projectId}/backups",
2704
- method: "GET",
2705
- operationId: "backup-list-project-backups",
2706
- };
2707
- /** Create a Backup of a Project. */
2708
- export const backupCreateProjectBackup = {
2709
- path: "/v2/projects/{projectId}/backups",
2710
- method: "POST",
2711
- operationId: "backup-create-project-backup",
2712
- };
2713
- /** List paths for a ProjectBackup. */
2714
- export const backupGetProjectBackupDirectories = {
2715
- path: "/v2/project-backups/{projectBackupId}/path",
2716
- method: "GET",
2717
- operationId: "backup-get-project-backup-directories",
2718
- };
2719
- /** Get a ProjectBackup. */
2720
- export const backupGetProjectBackup = {
2721
- path: "/v2/project-backups/{projectBackupId}",
2722
- method: "GET",
2723
- operationId: "backup-get-project-backup",
2724
- };
2725
- /** Delete a ProjectBackup. */
2726
- export const backupDeleteProjectBackup = {
2727
- path: "/v2/project-backups/{projectBackupId}",
2728
- method: "DELETE",
2729
- operationId: "backup-delete-project-backup",
2730
- };
2731
- /** Change the description of a ProjectBackup. */
2732
- export const backupUpdateProjectBackupDescription = {
2733
- path: "/v2/project-backups/{projectBackupId}/description",
2734
- method: "PATCH",
2735
- operationId: "backup-update-project-backup-description",
2737
+ /** Update a Cronjob's app installation id. */
2738
+ export const cronjobReplaceCronjobAppInstallationId = {
2739
+ path: "/v2/cronjobs/{cronjobId}/app-installation-id",
2740
+ method: "PUT",
2741
+ operationId: "cronjob-replace-cronjob-app-installation-id",
2736
2742
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.287.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-833ac69-20260128';
@@ -379,6 +379,104 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
379
379
  } | undefined;
380
380
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle[]>;
381
381
  };
382
+ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
383
+ /** List BackupSchedules belonging to a Project. */
384
+ listProjectBackupSchedules: (conf: {
385
+ projectId: string;
386
+ headers?: {
387
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
388
+ "x-access-token"?: string | undefined;
389
+ } | undefined;
390
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupSchedule[]>;
391
+ /** List Backups belonging to a Project. */
392
+ listProjectBackups: (conf: {
393
+ projectId: string;
394
+ headers?: {
395
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
396
+ "x-access-token"?: string | undefined;
397
+ } | undefined;
398
+ queryParameters?: {
399
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
400
+ searchTerm?: string | undefined;
401
+ withExportsOnly?: boolean | undefined;
402
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
403
+ runningRestoresOnly?: boolean | undefined;
404
+ limit?: number | undefined;
405
+ skip?: number | undefined;
406
+ page?: number | undefined;
407
+ } | undefined;
408
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackup[]>;
409
+ /** Get a ProjectBackupSchedule. */
410
+ getProjectBackupSchedule: (conf: {
411
+ projectBackupScheduleId: string;
412
+ headers?: {
413
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
414
+ "x-access-token"?: string | undefined;
415
+ } | undefined;
416
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
417
+ createdAt?: string | undefined;
418
+ description?: string | undefined;
419
+ id: string;
420
+ isSystemBackup: boolean;
421
+ projectId: string;
422
+ schedule: string;
423
+ ttl?: string | undefined;
424
+ updatedAt?: string | undefined;
425
+ }>;
426
+ /** Get a ProjectBackup. */
427
+ getProjectBackup: (conf: {
428
+ projectBackupId: string;
429
+ headers?: {
430
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
431
+ "x-access-token"?: string | undefined;
432
+ } | undefined;
433
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
434
+ createdAt?: string | undefined;
435
+ deletable: boolean;
436
+ description?: string | undefined;
437
+ expiresAt?: string | undefined;
438
+ export?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupExport | undefined;
439
+ id: string;
440
+ parentId?: string | undefined;
441
+ projectId: string;
442
+ requestedAt: string;
443
+ restore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestore | undefined;
444
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathDeprecated | undefined;
445
+ status: string;
446
+ }>;
447
+ /** List database dump's for a ProjectBackup. */
448
+ getProjectBackupDatabaseDumpsV2Experimental: (conf: {
449
+ projectBackupId: string;
450
+ headers?: {
451
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
452
+ "x-access-token"?: string | undefined;
453
+ } | undefined;
454
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
455
+ databases: string[];
456
+ }>;
457
+ /** List paths for a ProjectBackup. */
458
+ getProjectBackupDirectories: (conf: {
459
+ projectBackupId: string;
460
+ headers?: {
461
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
462
+ "x-access-token"?: string | undefined;
463
+ } | undefined;
464
+ queryParameters?: {
465
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
466
+ directory?: string | undefined;
467
+ } | undefined;
468
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
469
+ absolutePath: string;
470
+ isDirectory?: boolean | undefined;
471
+ isExecutable?: boolean | undefined;
472
+ isFile?: boolean | undefined;
473
+ isSymlink?: boolean | undefined;
474
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
475
+ name: string;
476
+ size: number;
477
+ target?: string | undefined;
478
+ }>;
479
+ };
382
480
  declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
383
481
  /** List Registries belonging to a Project. */
384
482
  listRegistries: (conf: {
@@ -1039,6 +1137,20 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1039
1137
  accessToken: string;
1040
1138
  expiresAt: string;
1041
1139
  }>;
1140
+ /** Check if an Extension is unchargable for this specific context or if it must be charged. */
1141
+ extensionCheckExtensionIsChargable: (conf: {
1142
+ extensionId: string;
1143
+ contextId: string;
1144
+ headers?: {
1145
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1146
+ } | undefined;
1147
+ queryParameters?: {
1148
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1149
+ variantKey?: string | undefined;
1150
+ } | undefined;
1151
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1152
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1153
+ }>;
1042
1154
  /** List ExtensionInstances. */
1043
1155
  extensionListExtensionInstances: (conf?: {
1044
1156
  headers?: {
@@ -1642,7 +1754,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1642
1754
  isAllowedToPlaceOrders?: boolean | undefined;
1643
1755
  isBanned?: boolean | undefined;
1644
1756
  isInDefaultOfPayment?: boolean | undefined;
1645
- isMailAddressInvalid?: boolean | undefined;
1646
1757
  levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
1647
1758
  memberCount: number;
1648
1759
  name: string;
@@ -3401,104 +3512,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
3401
3512
  userName: string;
3402
3513
  }>;
3403
3514
  };
3404
- declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
3405
- /** Get a ProjectBackupSchedule. */
3406
- getProjectBackupSchedule: (conf: {
3407
- projectBackupScheduleId: string;
3408
- headers?: {
3409
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3410
- "x-access-token"?: string | undefined;
3411
- } | undefined;
3412
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3413
- createdAt?: string | undefined;
3414
- description?: string | undefined;
3415
- id: string;
3416
- isSystemBackup: boolean;
3417
- projectId: string;
3418
- schedule: string;
3419
- ttl?: string | undefined;
3420
- updatedAt?: string | undefined;
3421
- }>;
3422
- /** List database dump's for a ProjectBackup. */
3423
- getProjectBackupDatabaseDumpsV2Experimental: (conf: {
3424
- projectBackupId: string;
3425
- headers?: {
3426
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3427
- "x-access-token"?: string | undefined;
3428
- } | undefined;
3429
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3430
- databases: string[];
3431
- }>;
3432
- /** List BackupSchedules belonging to a Project. */
3433
- listProjectBackupSchedules: (conf: {
3434
- projectId: string;
3435
- headers?: {
3436
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3437
- "x-access-token"?: string | undefined;
3438
- } | undefined;
3439
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupSchedule[]>;
3440
- /** List Backups belonging to a Project. */
3441
- listProjectBackups: (conf: {
3442
- projectId: string;
3443
- headers?: {
3444
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3445
- "x-access-token"?: string | undefined;
3446
- } | undefined;
3447
- queryParameters?: {
3448
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3449
- searchTerm?: string | undefined;
3450
- withExportsOnly?: boolean | undefined;
3451
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
3452
- runningRestoresOnly?: boolean | undefined;
3453
- limit?: number | undefined;
3454
- skip?: number | undefined;
3455
- page?: number | undefined;
3456
- } | undefined;
3457
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackup[]>;
3458
- /** List paths for a ProjectBackup. */
3459
- getProjectBackupDirectories: (conf: {
3460
- projectBackupId: string;
3461
- headers?: {
3462
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3463
- "x-access-token"?: string | undefined;
3464
- } | undefined;
3465
- queryParameters?: {
3466
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3467
- directory?: string | undefined;
3468
- } | undefined;
3469
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3470
- absolutePath: string;
3471
- isDirectory?: boolean | undefined;
3472
- isExecutable?: boolean | undefined;
3473
- isFile?: boolean | undefined;
3474
- isSymlink?: boolean | undefined;
3475
- items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
3476
- name: string;
3477
- size: number;
3478
- target?: string | undefined;
3479
- }>;
3480
- /** Get a ProjectBackup. */
3481
- getProjectBackup: (conf: {
3482
- projectBackupId: string;
3483
- headers?: {
3484
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3485
- "x-access-token"?: string | undefined;
3486
- } | undefined;
3487
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3488
- createdAt?: string | undefined;
3489
- deletable: boolean;
3490
- description?: string | undefined;
3491
- expiresAt?: string | undefined;
3492
- export?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupExport | undefined;
3493
- id: string;
3494
- parentId?: string | undefined;
3495
- projectId: string;
3496
- requestedAt: string;
3497
- restore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestore | undefined;
3498
- restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathDeprecated | undefined;
3499
- status: string;
3500
- }>;
3501
- };
3502
3515
  export declare class MittwaldAPIV2ClientReact {
3503
3516
  /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
3504
3517
  readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
@@ -3506,6 +3519,8 @@ export declare class MittwaldAPIV2ClientReact {
3506
3519
  readonly app: ReturnType<typeof buildAppApi>;
3507
3520
  /** The article API allows you to read article information. */
3508
3521
  readonly article: ReturnType<typeof buildArticleApi>;
3522
+ /** The backup API allows you to manage your project backups. */
3523
+ readonly backup: ReturnType<typeof buildBackupApi>;
3509
3524
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
3510
3525
  readonly container: ReturnType<typeof buildContainerApi>;
3511
3526
  /** The contract API allows you to manage your contracts and orders */
@@ -3544,8 +3559,6 @@ export declare class MittwaldAPIV2ClientReact {
3544
3559
  readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
3545
3560
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
3546
3561
  readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
3547
- /** The backup API allows you to manage your project backups. */
3548
- readonly backup: ReturnType<typeof buildBackupApi>;
3549
3562
  private constructor();
3550
3563
  static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
3551
3564
  }