@mittwald/api-client 0.0.0-development-32b0259-20260106 → 0.0.0-development-7f5061a-20260114

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.
@@ -64,10 +64,10 @@ const buildBackupApi = (baseClient) => ({
64
64
  getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
65
65
  /** Get a ProjectBackup. */
66
66
  getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
67
- /** List paths for a ProjectBackup. */
68
- getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
69
67
  /** List database dump's for a ProjectBackup. */
70
68
  getProjectBackupDatabaseDumps: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumps, baseClient.backup.getProjectBackupDatabaseDumps).getApiResource,
69
+ /** List paths for a ProjectBackup. */
70
+ getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
71
71
  });
72
72
  const buildContainerApi = (baseClient) => ({
73
73
  /** List Registries belonging to a Project. */
@@ -341,6 +341,10 @@ const buildMailApi = (baseClient) => ({
341
341
  /** List Migrations belonging to a Project in customer center or mStudio. */
342
342
  migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
343
343
  });
344
+ const buildMiscApi = (baseClient) => ({
345
+ /** List valid time zones. */
346
+ ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
347
+ });
344
348
  const buildNotificationApi = (baseClient) => ({
345
349
  /** Getting the subscription status of the subscription. */
346
350
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -443,10 +447,6 @@ const buildSshsftpUserApi = (baseClient) => ({
443
447
  /** Get an SSHUser. */
444
448
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
445
449
  });
446
- const buildMiscApi = (baseClient) => ({
447
- /** List valid time zones. */
448
- ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
449
- });
450
450
  export class MittwaldAPIV2ClientReact {
451
451
  /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
452
452
  aiHosting;
@@ -478,6 +478,8 @@ export class MittwaldAPIV2ClientReact {
478
478
  leadFyndr;
479
479
  /** The mail API allows you to manage your mail accounts. */
480
480
  mail;
481
+ /** API endpoints that are not related to any specific API domain */
482
+ misc;
481
483
  /** The notification API allows you to manage your notifications. */
482
484
  notification;
483
485
  /** The page insights API allows you to get page insights information. */
@@ -490,8 +492,6 @@ export class MittwaldAPIV2ClientReact {
490
492
  projectFileSystem;
491
493
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
492
494
  sshsftpUser;
493
- /** API endpoints that are not related to any specific API domain */
494
- misc;
495
495
  constructor(baseClient) {
496
496
  this.aiHosting = buildAiHostingApi(baseClient);
497
497
  this.app = buildAppApi(baseClient);
@@ -508,13 +508,13 @@ export class MittwaldAPIV2ClientReact {
508
508
  this.file = buildFileApi(baseClient);
509
509
  this.leadFyndr = buildLeadFyndrApi(baseClient);
510
510
  this.mail = buildMailApi(baseClient);
511
+ this.misc = buildMiscApi(baseClient);
511
512
  this.notification = buildNotificationApi(baseClient);
512
513
  this.pageInsights = buildPageInsightsApi(baseClient);
513
514
  this.user = buildUserApi(baseClient);
514
515
  this.project = buildProjectApi(baseClient);
515
516
  this.projectFileSystem = buildProjectFileSystemApi(baseClient);
516
517
  this.sshsftpUser = buildSshsftpUserApi(baseClient);
517
- this.misc = buildMiscApi(baseClient);
518
518
  }
519
519
  static fromBaseClient(baseClient) {
520
520
  return new MittwaldAPIV2ClientReact(baseClient);
@@ -115,16 +115,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
115
115
  getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
116
116
  /** Delete a ProjectBackup. */
117
117
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
118
+ /** List database dump's for a ProjectBackup. */
119
+ getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
118
120
  /** List paths for a ProjectBackup. */
119
121
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
120
122
  /** Restore a ProjectBackup's path. */
121
123
  requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
122
- /** Change the description of a ProjectBackup. */
123
- updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
124
- /** List database dump's for a ProjectBackup. */
125
- getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
126
124
  /** Restore a ProjectBackup. */
127
125
  requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
126
+ /** Change the description of a ProjectBackup. */
127
+ updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
128
128
  };
129
129
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
130
130
  container = {
@@ -400,8 +400,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
400
400
  };
401
401
  /** The cronjob API allows you to manage cronjobs within a project. */
402
402
  cronjob = {
403
- /** Abort a CronjobExecution. */
404
- abortExecution: this.requestFunctionFactory(descriptors.cronjobAbortExecution),
405
403
  /** List Cronjobs belonging to a Project. */
406
404
  listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
407
405
  /** Create a Cronjob. */
@@ -851,6 +849,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
851
849
  /** Removes a reservation on a unlocked lead for the given customerId. */
852
850
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
853
851
  };
852
+ /** API endpoints that are not related to any specific API domain */
853
+ misc = {
854
+ /** List valid time zones. */
855
+ ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
856
+ /** Check if an email is from mittwald. */
857
+ verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
858
+ /** Check if an address exists. */
859
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
860
+ /** Check if a company exists. */
861
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
862
+ };
854
863
  /** The page insights API allows you to get page insights information. */
855
864
  pageInsights = {
856
865
  /** Get detailed performance data for a given domain and path. */
@@ -970,16 +979,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
970
979
  /** Update an SSHUser. */
971
980
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
972
981
  };
973
- /** API endpoints that are not related to any specific API domain */
974
- misc = {
975
- /** Check if an email is from mittwald. */
976
- verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
977
- /** Check if an address exists. */
978
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
979
- /** Check if a company exists. */
980
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
981
- /** List valid time zones. */
982
- ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
983
- };
984
982
  }
985
983
  export default MittwaldAPIV2Client;
@@ -1,30 +1,30 @@
1
1
  /** Get a list of already created keys. */
2
2
  export const aiHostingCustomerGetKeys = {
3
- path: "/v2/customers/{customerId}/ai-hosting/keys",
3
+ path: "/v2/customers/{customerId}/ai-hosting-keys",
4
4
  method: "GET",
5
5
  operationId: "ai-hosting-customer-get-keys",
6
6
  };
7
7
  /** Creates a new key. */
8
8
  export const aiHostingCustomerCreateKey = {
9
- path: "/v2/customers/{customerId}/ai-hosting/keys",
9
+ path: "/v2/customers/{customerId}/ai-hosting-keys",
10
10
  method: "POST",
11
11
  operationId: "ai-hosting-customer-create-key",
12
12
  };
13
13
  /** Get a key of a customer. */
14
14
  export const aiHostingCustomerGetKey = {
15
- path: "/v2/customers/{customerId}/ai-hosting/keys/{keyId}",
15
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
16
16
  method: "GET",
17
17
  operationId: "ai-hosting-customer-get-key",
18
18
  };
19
19
  /** Update a key for a customer. */
20
20
  export const aiHostingCustomerUpdateKey = {
21
- path: "/v2/customers/{customerId}/ai-hosting/keys/{keyId}",
21
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
22
22
  method: "PUT",
23
23
  operationId: "ai-hosting-customer-update-key",
24
24
  };
25
25
  /** Delete a key for a customer. */
26
26
  export const aiHostingCustomerDeleteKey = {
27
- path: "/v2/customers/{customerId}/ai-hosting/keys/{keyId}",
27
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
28
28
  method: "DELETE",
29
29
  operationId: "ai-hosting-customer-delete-key",
30
30
  };
@@ -42,31 +42,31 @@ export const aiHostingGetModels = {
42
42
  };
43
43
  /** Get a list of keys of a project. */
44
44
  export const aiHostingProjectGetKeys = {
45
- path: "/v2/projects/{projectId}/ai-hosting/keys",
45
+ path: "/v2/projects/{projectId}/ai-hosting-keys",
46
46
  method: "GET",
47
47
  operationId: "ai-hosting-project-get-keys",
48
48
  };
49
49
  /** Creates a new key for a project. */
50
50
  export const aiHostingProjectCreateKey = {
51
- path: "/v2/projects/{projectId}/ai-hosting/keys",
51
+ path: "/v2/projects/{projectId}/ai-hosting-keys",
52
52
  method: "POST",
53
53
  operationId: "ai-hosting-project-create-key",
54
54
  };
55
55
  /** Get a key of a project. */
56
56
  export const aiHostingProjectGetKey = {
57
- path: "/v2/projects/{projectId}/ai-hosting/keys/{keyId}",
57
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
58
58
  method: "GET",
59
59
  operationId: "ai-hosting-project-get-key",
60
60
  };
61
61
  /** Update a key for a project. */
62
62
  export const aiHostingProjectUpdateKey = {
63
- path: "/v2/projects/{projectId}/ai-hosting/keys/{keyId}",
63
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
64
64
  method: "PUT",
65
65
  operationId: "ai-hosting-project-update-key",
66
66
  };
67
67
  /** Delete a key for a project. */
68
68
  export const aiHostingProjectDeleteKey = {
69
- path: "/v2/projects/{projectId}/ai-hosting/keys/{keyId}",
69
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}",
70
70
  method: "DELETE",
71
71
  operationId: "ai-hosting-project-delete-key",
72
72
  };
@@ -298,6 +298,12 @@ export const backupDeleteProjectBackup = {
298
298
  method: "DELETE",
299
299
  operationId: "backup-delete-project-backup",
300
300
  };
301
+ /** List database dump's for a ProjectBackup. */
302
+ export const backupGetProjectBackupDatabaseDumps = {
303
+ path: "/v2/project-backups/{projectBackupId}/database-dumps",
304
+ method: "GET",
305
+ operationId: "backup-get-project-backup-database-dumps",
306
+ };
301
307
  /** List paths for a ProjectBackup. */
302
308
  export const backupGetProjectBackupDirectories = {
303
309
  path: "/v2/project-backups/{projectBackupId}/path",
@@ -310,6 +316,12 @@ export const backupRequestProjectBackupRestorePath = {
310
316
  method: "POST",
311
317
  operationId: "backup-request-project-backup-restore-path",
312
318
  };
319
+ /** Restore a ProjectBackup. */
320
+ export const backupRequestProjectBackupRestore = {
321
+ path: "/v2/project-backups/{projectBackupId}/restore",
322
+ method: "POST",
323
+ operationId: "backup-request-project-backup-restore",
324
+ };
313
325
  /** Change the description of a ProjectBackup. */
314
326
  export const backupUpdateProjectBackupDescription = {
315
327
  path: "/v2/project-backups/{projectBackupId}/description",
@@ -742,12 +754,6 @@ export const conversationUpdateMessage = {
742
754
  method: "PATCH",
743
755
  operationId: "conversation-update-message",
744
756
  };
745
- /** Abort a CronjobExecution. */
746
- export const cronjobAbortExecution = {
747
- path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/actions/abort",
748
- method: "POST",
749
- operationId: "cronjob-abort-execution",
750
- };
751
757
  /** List Cronjobs belonging to a Project. */
752
758
  export const cronjobListCronjobs = {
753
759
  path: "/v2/projects/{projectId}/cronjobs",
@@ -1936,6 +1942,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1936
1942
  method: "PUT",
1937
1943
  operationId: "marketplace-customer-update-payment-method",
1938
1944
  };
1945
+ /** List valid time zones. */
1946
+ export const miscellaneousListTimeZones = {
1947
+ path: "/v2/time-zones",
1948
+ method: "GET",
1949
+ operationId: "miscellaneous-list-time-zones",
1950
+ };
1939
1951
  /** Getting the subscription status of the subscription. */
1940
1952
  export const newsletterGetInfo = {
1941
1953
  path: "/v2/newsletter-subscriptions/self",
@@ -2728,21 +2740,3 @@ export const verificationVerifyCompany = {
2728
2740
  method: "POST",
2729
2741
  operationId: "verification-verify-company",
2730
2742
  };
2731
- /** List valid time zones. */
2732
- export const miscellaneousListTimeZones = {
2733
- path: "/v2/time-zones",
2734
- method: "GET",
2735
- operationId: "miscellaneous-list-time-zones",
2736
- };
2737
- /** List database dump's for a ProjectBackup. */
2738
- export const backupGetProjectBackupDatabaseDumps = {
2739
- path: "/v2/project-backups/{projectBackupId}/database-dumps",
2740
- method: "GET",
2741
- operationId: "backup-get-project-backup-database-dumps",
2742
- };
2743
- /** Restore a ProjectBackup. */
2744
- export const backupRequestProjectBackupRestore = {
2745
- path: "/v2/project-backups/{projectBackupId}/restore",
2746
- method: "POST",
2747
- operationId: "backup-request-project-backup-restore",
2748
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-1011833-20260105';
1
+ export const MittwaldAPIClientVersion = '4.280.0';
@@ -444,6 +444,16 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
444
444
  restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathDeprecated | undefined;
445
445
  status: string;
446
446
  }>;
447
+ /** List database dump's for a ProjectBackup. */
448
+ getProjectBackupDatabaseDumps: (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
+ }>;
447
457
  /** List paths for a ProjectBackup. */
448
458
  getProjectBackupDirectories: (conf: {
449
459
  projectBackupId: string;
@@ -466,16 +476,6 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
466
476
  size: number;
467
477
  target?: string | undefined;
468
478
  }>;
469
- /** List database dump's for a ProjectBackup. */
470
- getProjectBackupDatabaseDumps: (conf: {
471
- projectBackupId: string;
472
- headers?: {
473
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
474
- "x-access-token"?: string | undefined;
475
- } | undefined;
476
- }) => import("@mittwald/react-use-promise").AsyncResource<{
477
- databases: string[];
478
- }>;
479
479
  };
480
480
  declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
481
481
  /** List Registries belonging to a Project. */
@@ -1626,7 +1626,6 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1626
1626
  start?: string | undefined;
1627
1627
  status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
1628
1628
  successful: boolean;
1629
- summary?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobStatusSummary | undefined;
1630
1629
  triggeredBy?: {
1631
1630
  id?: string;
1632
1631
  } | undefined;
@@ -2166,7 +2165,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2166
2165
  commonName?: string | undefined;
2167
2166
  contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
2168
2167
  dnsCertSpec?: {
2169
- cNameTarget?: string;
2168
+ cnameTarget?: string;
2170
2169
  } | undefined;
2171
2170
  dnsNames?: string[] | undefined;
2172
2171
  id: string;
@@ -2672,6 +2671,15 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2672
2671
  } | undefined;
2673
2672
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
2674
2673
  };
2674
+ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2675
+ /** List valid time zones. */
2676
+ ellaneousListTimeZones: (conf?: {
2677
+ headers?: {
2678
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2679
+ "x-access-token"?: string | undefined;
2680
+ } | undefined;
2681
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
2682
+ };
2675
2683
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2676
2684
  /** Getting the subscription status of the subscription. */
2677
2685
  newsletterGetInfo: (conf?: {
@@ -3451,15 +3459,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
3451
3459
  userName: string;
3452
3460
  }>;
3453
3461
  };
3454
- declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
3455
- /** List valid time zones. */
3456
- ellaneousListTimeZones: (conf?: {
3457
- headers?: {
3458
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3459
- "x-access-token"?: string | undefined;
3460
- } | undefined;
3461
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
3462
- };
3463
3462
  export declare class MittwaldAPIV2ClientReact {
3464
3463
  /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
3465
3464
  readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
@@ -3491,6 +3490,8 @@ export declare class MittwaldAPIV2ClientReact {
3491
3490
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3492
3491
  /** The mail API allows you to manage your mail accounts. */
3493
3492
  readonly mail: ReturnType<typeof buildMailApi>;
3493
+ /** API endpoints that are not related to any specific API domain */
3494
+ readonly misc: ReturnType<typeof buildMiscApi>;
3494
3495
  /** The notification API allows you to manage your notifications. */
3495
3496
  readonly notification: ReturnType<typeof buildNotificationApi>;
3496
3497
  /** The page insights API allows you to get page insights information. */
@@ -3503,8 +3504,6 @@ export declare class MittwaldAPIV2ClientReact {
3503
3504
  readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
3504
3505
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
3505
3506
  readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
3506
- /** API endpoints that are not related to any specific API domain */
3507
- readonly misc: ReturnType<typeof buildMiscApi>;
3508
3507
  private constructor();
3509
3508
  static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
3510
3509
  }