@mittwald/api-client 0.0.0-development-3c2e654-20260107 → 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.
- package/dist/esm/generated/v2/client-react.js +9 -9
- package/dist/esm/generated/v2/client.js +15 -15
- package/dist/esm/generated/v2/descriptors.js +18 -18
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +22 -22
- package/dist/types/generated/v2/client.d.ts +244 -240
- package/dist/types/generated/v2/descriptors.d.ts +7 -7
- package/dist/types/generated/v2/types.d.ts +211 -204
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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 = {
|
|
@@ -849,6 +849,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
849
849
|
/** Removes a reservation on a unlocked lead for the given customerId. */
|
|
850
850
|
leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
|
|
851
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
|
+
};
|
|
852
863
|
/** The page insights API allows you to get page insights information. */
|
|
853
864
|
pageInsights = {
|
|
854
865
|
/** Get detailed performance data for a given domain and path. */
|
|
@@ -968,16 +979,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
968
979
|
/** Update an SSHUser. */
|
|
969
980
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
970
981
|
};
|
|
971
|
-
/** API endpoints that are not related to any specific API domain */
|
|
972
|
-
misc = {
|
|
973
|
-
/** Check if an email is from mittwald. */
|
|
974
|
-
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
975
|
-
/** Check if an address exists. */
|
|
976
|
-
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
977
|
-
/** Check if a company exists. */
|
|
978
|
-
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
979
|
-
/** List valid time zones. */
|
|
980
|
-
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
981
|
-
};
|
|
982
982
|
}
|
|
983
983
|
export default MittwaldAPIV2Client;
|
|
@@ -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",
|
|
@@ -1930,6 +1942,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
|
|
|
1930
1942
|
method: "PUT",
|
|
1931
1943
|
operationId: "marketplace-customer-update-payment-method",
|
|
1932
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
|
+
};
|
|
1933
1951
|
/** Getting the subscription status of the subscription. */
|
|
1934
1952
|
export const newsletterGetInfo = {
|
|
1935
1953
|
path: "/v2/newsletter-subscriptions/self",
|
|
@@ -2722,21 +2740,3 @@ export const verificationVerifyCompany = {
|
|
|
2722
2740
|
method: "POST",
|
|
2723
2741
|
operationId: "verification-verify-company",
|
|
2724
2742
|
};
|
|
2725
|
-
/** List valid time zones. */
|
|
2726
|
-
export const miscellaneousListTimeZones = {
|
|
2727
|
-
path: "/v2/time-zones",
|
|
2728
|
-
method: "GET",
|
|
2729
|
-
operationId: "miscellaneous-list-time-zones",
|
|
2730
|
-
};
|
|
2731
|
-
/** List database dump's for a ProjectBackup. */
|
|
2732
|
-
export const backupGetProjectBackupDatabaseDumps = {
|
|
2733
|
-
path: "/v2/project-backups/{projectBackupId}/database-dumps",
|
|
2734
|
-
method: "GET",
|
|
2735
|
-
operationId: "backup-get-project-backup-database-dumps",
|
|
2736
|
-
};
|
|
2737
|
-
/** Restore a ProjectBackup. */
|
|
2738
|
-
export const backupRequestProjectBackupRestore = {
|
|
2739
|
-
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
2740
|
-
method: "POST",
|
|
2741
|
-
operationId: "backup-request-project-backup-restore",
|
|
2742
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
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. */
|
|
@@ -1624,7 +1624,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1624
1624
|
id: string;
|
|
1625
1625
|
logPath?: string | undefined;
|
|
1626
1626
|
start?: string | undefined;
|
|
1627
|
-
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut"
|
|
1627
|
+
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
|
|
1628
1628
|
successful: boolean;
|
|
1629
1629
|
triggeredBy?: {
|
|
1630
1630
|
id?: string;
|
|
@@ -2671,6 +2671,15 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2671
2671
|
} | undefined;
|
|
2672
2672
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
|
|
2673
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
|
+
};
|
|
2674
2683
|
declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2675
2684
|
/** Getting the subscription status of the subscription. */
|
|
2676
2685
|
newsletterGetInfo: (conf?: {
|
|
@@ -3450,15 +3459,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3450
3459
|
userName: string;
|
|
3451
3460
|
}>;
|
|
3452
3461
|
};
|
|
3453
|
-
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3454
|
-
/** List valid time zones. */
|
|
3455
|
-
ellaneousListTimeZones: (conf?: {
|
|
3456
|
-
headers?: {
|
|
3457
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3458
|
-
"x-access-token"?: string | undefined;
|
|
3459
|
-
} | undefined;
|
|
3460
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3461
|
-
};
|
|
3462
3462
|
export declare class MittwaldAPIV2ClientReact {
|
|
3463
3463
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
3464
3464
|
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
@@ -3490,6 +3490,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3490
3490
|
readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
|
|
3491
3491
|
/** The mail API allows you to manage your mail accounts. */
|
|
3492
3492
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
3493
|
+
/** API endpoints that are not related to any specific API domain */
|
|
3494
|
+
readonly misc: ReturnType<typeof buildMiscApi>;
|
|
3493
3495
|
/** The notification API allows you to manage your notifications. */
|
|
3494
3496
|
readonly notification: ReturnType<typeof buildNotificationApi>;
|
|
3495
3497
|
/** The page insights API allows you to get page insights information. */
|
|
@@ -3502,8 +3504,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3502
3504
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3503
3505
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3504
3506
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
3505
|
-
/** API endpoints that are not related to any specific API domain */
|
|
3506
|
-
readonly misc: ReturnType<typeof buildMiscApi>;
|
|
3507
3507
|
private constructor();
|
|
3508
3508
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
3509
3509
|
}
|