@mittwald/api-client 0.0.0-development-7f54d64-20251022 → 0.0.0-development-b04ddc9-20251030
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 +4 -4
- package/dist/esm/generated/v2/client.js +10 -10
- package/dist/esm/generated/v2/descriptors.js +30 -30
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +31 -30
- package/dist/types/generated/v2/client.d.ts +327 -305
- package/dist/types/generated/v2/descriptors.d.ts +10 -10
- package/dist/types/generated/v2/types.d.ts +333 -297
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -48,10 +48,10 @@ const buildBackupApi = (baseClient) => ({
|
|
|
48
48
|
getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
|
|
49
49
|
/** Get a ProjectBackup. */
|
|
50
50
|
getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
|
|
51
|
+
/** Check databases for a ProjectBackup. */
|
|
52
|
+
getProjectBackupDatabases: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabases, baseClient.backup.getProjectBackupDatabases).getApiResource,
|
|
51
53
|
/** Get paths for a ProjectBackup. */
|
|
52
54
|
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
53
|
-
/** Get databases for a ProjectBackup. */
|
|
54
|
-
getProjectBackupDatabases: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabases, baseClient.backup.getProjectBackupDatabases).getApiResource,
|
|
55
55
|
});
|
|
56
56
|
const buildContainerApi = (baseClient) => ({
|
|
57
57
|
/** List Registries belonging to a Project. */
|
|
@@ -188,10 +188,10 @@ const buildCronjobApi = (baseClient) => ({
|
|
|
188
188
|
listExecutions: new ApiCallAsyncResourceFactory(descriptors.cronjobListExecutions, baseClient.cronjob.listExecutions).getApiResource,
|
|
189
189
|
/** Get a Cronjob. */
|
|
190
190
|
getCronjob: new ApiCallAsyncResourceFactory(descriptors.cronjobGetCronjob, baseClient.cronjob.getCronjob).getApiResource,
|
|
191
|
-
/** Get a CronjobExecution. */
|
|
192
|
-
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
193
191
|
/** Get a CronjobExecution analysis for failed executions. */
|
|
194
192
|
getExecutionAnalysis: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecutionAnalysis, baseClient.cronjob.getExecutionAnalysis).getApiResource,
|
|
193
|
+
/** Get a CronjobExecution. */
|
|
194
|
+
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
195
195
|
});
|
|
196
196
|
const buildCustomerApi = (baseClient) => ({
|
|
197
197
|
/** List Invites belonging to a Customer. */
|
|
@@ -86,16 +86,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
86
86
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
87
87
|
/** Delete a ProjectBackup. */
|
|
88
88
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
89
|
+
/** Check databases for a ProjectBackup. */
|
|
90
|
+
getProjectBackupDatabases: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabases),
|
|
89
91
|
/** Get paths for a ProjectBackup. */
|
|
90
92
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
93
|
+
/** Restore a ProjectBackup's database. */
|
|
94
|
+
requestProjectBackupRestoreDatabase: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreDatabase),
|
|
91
95
|
/** Restore a ProjectBackup's path. */
|
|
92
96
|
requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
|
|
93
97
|
/** Change the description of a ProjectBackup. */
|
|
94
98
|
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
95
|
-
/** Restore a ProjectBackup's database. */
|
|
96
|
-
requestProjectBackupRestoreDatabase: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreDatabase),
|
|
97
|
-
/** Get databases for a ProjectBackup. */
|
|
98
|
-
getProjectBackupDatabases: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabases),
|
|
99
99
|
};
|
|
100
100
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
101
101
|
container = {
|
|
@@ -381,12 +381,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
381
381
|
deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
|
|
382
382
|
/** Update a Cronjob. */
|
|
383
383
|
updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
|
|
384
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
385
|
+
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
384
386
|
/** Get a CronjobExecution. */
|
|
385
387
|
getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
|
|
386
388
|
/** Update a Cronjob's app id. */
|
|
387
389
|
updateCronjobAppId: this.requestFunctionFactory(descriptors.cronjobUpdateCronjobAppId),
|
|
388
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
389
|
-
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
390
390
|
};
|
|
391
391
|
/** The customer API allows you to manage your own organizations and users. */
|
|
392
392
|
customer = {
|
|
@@ -520,6 +520,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
520
520
|
dnsUpdateRecordSet: this.requestFunctionFactory(descriptors.dnsUpdateRecordSet),
|
|
521
521
|
/** Abort a Domain declaration. */
|
|
522
522
|
abortDomainDeclaration: this.requestFunctionFactory(descriptors.domainAbortDomainDeclaration),
|
|
523
|
+
/** Create a scheduled deletion of a Domain. */
|
|
524
|
+
createScheduledDeletion: this.requestFunctionFactory(descriptors.domainCreateScheduledDeletion),
|
|
525
|
+
/** Cancel a scheduled deletion of a Domain. */
|
|
526
|
+
cancelScheduledDeletion: this.requestFunctionFactory(descriptors.domainCancelScheduledDeletion),
|
|
523
527
|
/** Check if a Domain is available to register. */
|
|
524
528
|
checkDomainRegistrability: this.requestFunctionFactory(descriptors.domainCheckDomainRegistrability),
|
|
525
529
|
/** Check if a Domain is available to transfer. */
|
|
@@ -580,10 +584,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
580
584
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
581
585
|
/** Update the certificate of a CertificateRequest. */
|
|
582
586
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
583
|
-
/** Create a scheduled deletion of a Domain. */
|
|
584
|
-
createScheduledDeletion: this.requestFunctionFactory(descriptors.domainCreateScheduledDeletion),
|
|
585
|
-
/** Cancel a scheduled deletion of a Domain. */
|
|
586
|
-
cancelScheduledDeletion: this.requestFunctionFactory(descriptors.domainCancelScheduledDeletion),
|
|
587
587
|
};
|
|
588
588
|
/** The mail API allows you to manage your mail accounts. */
|
|
589
589
|
mail = {
|
|
@@ -220,12 +220,24 @@ export const backupDeleteProjectBackup = {
|
|
|
220
220
|
method: "DELETE",
|
|
221
221
|
operationId: "backup-delete-project-backup",
|
|
222
222
|
};
|
|
223
|
+
/** Check databases for a ProjectBackup. */
|
|
224
|
+
export const backupGetProjectBackupDatabases = {
|
|
225
|
+
path: "/v2/project-backups/{projectBackupId}/database",
|
|
226
|
+
method: "GET",
|
|
227
|
+
operationId: "backup-get-project-backup-databases",
|
|
228
|
+
};
|
|
223
229
|
/** Get paths for a ProjectBackup. */
|
|
224
230
|
export const backupGetProjectBackupDirectories = {
|
|
225
231
|
path: "/v2/project-backups/{projectBackupId}/path",
|
|
226
232
|
method: "GET",
|
|
227
233
|
operationId: "backup-get-project-backup-directories",
|
|
228
234
|
};
|
|
235
|
+
/** Restore a ProjectBackup's database. */
|
|
236
|
+
export const backupRequestProjectBackupRestoreDatabase = {
|
|
237
|
+
path: "/v2/project-backups/{projectBackupId}/restore-database",
|
|
238
|
+
method: "POST",
|
|
239
|
+
operationId: "backup-request-project-backup-restore-database",
|
|
240
|
+
};
|
|
229
241
|
/** Restore a ProjectBackup's path. */
|
|
230
242
|
export const backupRequestProjectBackupRestorePath = {
|
|
231
243
|
path: "/v2/project-backups/{projectBackupId}/restore-path",
|
|
@@ -706,6 +718,12 @@ export const cronjobUpdateCronjob = {
|
|
|
706
718
|
method: "PATCH",
|
|
707
719
|
operationId: "cronjob-update-cronjob",
|
|
708
720
|
};
|
|
721
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
722
|
+
export const cronjobGetExecutionAnalysis = {
|
|
723
|
+
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
|
|
724
|
+
method: "GET",
|
|
725
|
+
operationId: "cronjob-get-execution-analysis",
|
|
726
|
+
};
|
|
709
727
|
/** Get a CronjobExecution. */
|
|
710
728
|
export const cronjobGetExecution = {
|
|
711
729
|
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
|
|
@@ -1132,6 +1150,18 @@ export const domainAbortDomainDeclaration = {
|
|
|
1132
1150
|
method: "DELETE",
|
|
1133
1151
|
operationId: "domain-abort-domain-declaration",
|
|
1134
1152
|
};
|
|
1153
|
+
/** Create a scheduled deletion of a Domain. */
|
|
1154
|
+
export const domainCreateScheduledDeletion = {
|
|
1155
|
+
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
1156
|
+
method: "POST",
|
|
1157
|
+
operationId: "domain-create-scheduled-deletion",
|
|
1158
|
+
};
|
|
1159
|
+
/** Cancel a scheduled deletion of a Domain. */
|
|
1160
|
+
export const domainCancelScheduledDeletion = {
|
|
1161
|
+
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
1162
|
+
method: "DELETE",
|
|
1163
|
+
operationId: "domain-cancel-scheduled-deletion",
|
|
1164
|
+
};
|
|
1135
1165
|
/** Check if a Domain is available to register. */
|
|
1136
1166
|
export const domainCheckDomainRegistrability = {
|
|
1137
1167
|
path: "/v2/domain-registrable",
|
|
@@ -2614,33 +2644,3 @@ export const verificationVerifyCompany = {
|
|
|
2614
2644
|
method: "POST",
|
|
2615
2645
|
operationId: "verification-verify-company",
|
|
2616
2646
|
};
|
|
2617
|
-
/** Create a scheduled deletion of a Domain. */
|
|
2618
|
-
export const domainCreateScheduledDeletion = {
|
|
2619
|
-
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
2620
|
-
method: "POST",
|
|
2621
|
-
operationId: "domain-create-scheduled-deletion",
|
|
2622
|
-
};
|
|
2623
|
-
/** Cancel a scheduled deletion of a Domain. */
|
|
2624
|
-
export const domainCancelScheduledDeletion = {
|
|
2625
|
-
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
2626
|
-
method: "DELETE",
|
|
2627
|
-
operationId: "domain-cancel-scheduled-deletion",
|
|
2628
|
-
};
|
|
2629
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
2630
|
-
export const cronjobGetExecutionAnalysis = {
|
|
2631
|
-
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
|
|
2632
|
-
method: "GET",
|
|
2633
|
-
operationId: "cronjob-get-execution-analysis",
|
|
2634
|
-
};
|
|
2635
|
-
/** Restore a ProjectBackup's database. */
|
|
2636
|
-
export const backupRequestProjectBackupRestoreDatabase = {
|
|
2637
|
-
path: "/v2/project-backups/{projectBackupId}/restore-database",
|
|
2638
|
-
method: "POST",
|
|
2639
|
-
operationId: "backup-request-project-backup-restore-database",
|
|
2640
|
-
};
|
|
2641
|
-
/** Get databases for a ProjectBackup. */
|
|
2642
|
-
export const backupGetProjectBackupDatabases = {
|
|
2643
|
-
path: "/v2/project-backups/{projectBackupId}/database",
|
|
2644
|
-
method: "GET",
|
|
2645
|
-
operationId: "backup-get-project-backup-databases",
|
|
2646
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.248.0';
|
|
@@ -344,9 +344,24 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
344
344
|
parentId?: string | undefined;
|
|
345
345
|
projectId: string;
|
|
346
346
|
requestedAt: string;
|
|
347
|
+
restoreDatabase?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabase | undefined;
|
|
347
348
|
restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
|
|
348
349
|
status: string;
|
|
349
350
|
}>;
|
|
351
|
+
/** Check databases for a ProjectBackup. */
|
|
352
|
+
getProjectBackupDatabases: (conf: {
|
|
353
|
+
projectBackupId: string;
|
|
354
|
+
headers?: {
|
|
355
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
356
|
+
"x-access-token"?: string | undefined;
|
|
357
|
+
} | undefined;
|
|
358
|
+
queryParameters?: {
|
|
359
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
360
|
+
databaseName?: string | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
363
|
+
databases: string[];
|
|
364
|
+
}>;
|
|
350
365
|
/** Get paths for a ProjectBackup. */
|
|
351
366
|
getProjectBackupDirectories: (conf: {
|
|
352
367
|
projectBackupId: string;
|
|
@@ -369,21 +384,6 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
369
384
|
size: number;
|
|
370
385
|
target?: string | undefined;
|
|
371
386
|
}>;
|
|
372
|
-
/** Get databases for a ProjectBackup. */
|
|
373
|
-
getProjectBackupDatabases: (conf: {
|
|
374
|
-
projectBackupId: string;
|
|
375
|
-
headers?: {
|
|
376
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
377
|
-
"x-access-token"?: string | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
queryParameters?: {
|
|
380
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
381
|
-
directory?: string | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
384
|
-
databases: string[];
|
|
385
|
-
projectBackupId: string;
|
|
386
|
-
}>;
|
|
387
387
|
};
|
|
388
388
|
declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
389
389
|
/** List Registries belonging to a Project. */
|
|
@@ -497,6 +497,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
497
497
|
"x-access-token"?: string | undefined;
|
|
498
498
|
} | undefined;
|
|
499
499
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
500
|
+
deploy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerDeploy | undefined;
|
|
500
501
|
deployedState: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceState;
|
|
501
502
|
description: string;
|
|
502
503
|
id: string;
|
|
@@ -1474,6 +1475,19 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1474
1475
|
timeout: number;
|
|
1475
1476
|
updatedAt: string;
|
|
1476
1477
|
}>;
|
|
1478
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
1479
|
+
getExecutionAnalysis: (conf: {
|
|
1480
|
+
executionId: string;
|
|
1481
|
+
cronjobId: string;
|
|
1482
|
+
headers?: {
|
|
1483
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1484
|
+
"x-access-token"?: string | undefined;
|
|
1485
|
+
} | undefined;
|
|
1486
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1487
|
+
issues?: string[] | undefined;
|
|
1488
|
+
message: string;
|
|
1489
|
+
recommendation?: string | undefined;
|
|
1490
|
+
}>;
|
|
1477
1491
|
/** Get a CronjobExecution. */
|
|
1478
1492
|
getExecution: (conf: {
|
|
1479
1493
|
executionId: string;
|
|
@@ -1500,19 +1514,6 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1500
1514
|
id?: string;
|
|
1501
1515
|
} | undefined;
|
|
1502
1516
|
}>;
|
|
1503
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
1504
|
-
getExecutionAnalysis: (conf: {
|
|
1505
|
-
executionId: string;
|
|
1506
|
-
cronjobId: string;
|
|
1507
|
-
headers?: {
|
|
1508
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1509
|
-
"x-access-token"?: string | undefined;
|
|
1510
|
-
} | undefined;
|
|
1511
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1512
|
-
issues?: string[] | undefined;
|
|
1513
|
-
message: string;
|
|
1514
|
-
recommendation?: string | undefined;
|
|
1515
|
-
}>;
|
|
1516
1517
|
};
|
|
1517
1518
|
declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1518
1519
|
/** List Invites belonging to a Customer. */
|
|
@@ -2315,7 +2316,7 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2315
2316
|
employeeCountMax?: number | undefined;
|
|
2316
2317
|
salesVolumeMin?: number | undefined;
|
|
2317
2318
|
salesVolumeMax?: number | undefined;
|
|
2318
|
-
technologies?: string[] | undefined;
|
|
2319
|
+
technologies?: (string | "none")[] | undefined;
|
|
2319
2320
|
businessFields?: string[] | undefined;
|
|
2320
2321
|
locationCity?: string | undefined;
|
|
2321
2322
|
locationPostCode?: string | undefined;
|
|
@@ -2352,7 +2353,7 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2352
2353
|
employeeCountMax?: number | undefined;
|
|
2353
2354
|
salesVolumeMin?: number | undefined;
|
|
2354
2355
|
salesVolumeMax?: number | undefined;
|
|
2355
|
-
technologies?: string[] | undefined;
|
|
2356
|
+
technologies?: (string | "none")[] | undefined;
|
|
2356
2357
|
businessFields?: string[] | undefined;
|
|
2357
2358
|
locationCity?: string | undefined;
|
|
2358
2359
|
locationPostCode?: string | undefined;
|