@mittwald/api-client 0.0.0-development-9dc255f-20250925 → 0.0.0-development-ccafe69-20250930
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 +1 -3
- package/dist/esm/generated/v2/client.js +7 -7
- package/dist/esm/generated/v2/descriptors.js +24 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +4 -10
- package/dist/types/generated/v2/client.d.ts +195 -169
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +260 -246
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -49,7 +49,7 @@ const buildBackupApi = (baseClient) => ({
|
|
|
49
49
|
/** Get a ProjectBackup. */
|
|
50
50
|
getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
|
|
51
51
|
/** Get table of contents for a Project Backup. */
|
|
52
|
-
|
|
52
|
+
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
53
53
|
});
|
|
54
54
|
const buildContainerApi = (baseClient) => ({
|
|
55
55
|
/** List Registries belonging to a Project. */
|
|
@@ -316,8 +316,6 @@ const buildMailApi = (baseClient) => ({
|
|
|
316
316
|
const buildMiscApi = (baseClient) => ({
|
|
317
317
|
/** Get a list of currently active llm models. */
|
|
318
318
|
getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
|
|
319
|
-
/** List valid time zones. */
|
|
320
|
-
ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
|
|
321
319
|
});
|
|
322
320
|
const buildNotificationApi = (baseClient) => ({
|
|
323
321
|
/** Getting the subscription status of the subscription. */
|
|
@@ -86,12 +86,12 @@ 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
|
-
/** Change the description of a ProjectBackup. */
|
|
90
|
-
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
91
89
|
/** Get table of contents for a Project Backup. */
|
|
92
|
-
|
|
90
|
+
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
93
91
|
/** Restore a ProjectBackup's path. */
|
|
94
92
|
requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
|
|
93
|
+
/** Change the description of a ProjectBackup. */
|
|
94
|
+
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
95
95
|
};
|
|
96
96
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
97
97
|
container = {
|
|
@@ -203,6 +203,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
203
203
|
};
|
|
204
204
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
205
205
|
marketplace = {
|
|
206
|
+
/** Start the verification process of a contributor. */
|
|
207
|
+
contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
|
|
208
|
+
/** Cancel the verification-process of a contributor. */
|
|
209
|
+
contributorCancelVerification: this.requestFunctionFactory(descriptors.contributorCancelVerification),
|
|
206
210
|
/** Get a Contributor. */
|
|
207
211
|
extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
|
|
208
212
|
/** Delete a Contributor. */
|
|
@@ -231,8 +235,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
231
235
|
contributorRequestDeviatingContributorAvatarUpload: this.requestFunctionFactory(descriptors.contributorRequestDeviatingContributorAvatarUpload),
|
|
232
236
|
/** Delete deviating contributor avatar und return to the inherited customer avatar. */
|
|
233
237
|
contributorResetContributorAvatar: this.requestFunctionFactory(descriptors.contributorResetContributorAvatar),
|
|
234
|
-
/** Start the verification process of a contributor. */
|
|
235
|
-
contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
|
|
236
238
|
/** Rotate the secret for an extension instance. */
|
|
237
239
|
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
238
240
|
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
@@ -804,8 +806,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
804
806
|
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
805
807
|
/** Check if a company exists. */
|
|
806
808
|
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
807
|
-
/** List valid time zones. */
|
|
808
|
-
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
809
809
|
};
|
|
810
810
|
/** The page insights API allows you to get page insights information. */
|
|
811
811
|
pageInsights = {
|
|
@@ -220,6 +220,18 @@ export const backupDeleteProjectBackup = {
|
|
|
220
220
|
method: "DELETE",
|
|
221
221
|
operationId: "backup-delete-project-backup",
|
|
222
222
|
};
|
|
223
|
+
/** Get table of contents for a Project Backup. */
|
|
224
|
+
export const backupGetProjectBackupDirectories = {
|
|
225
|
+
path: "/v2/project-backups/{projectBackupId}/directories",
|
|
226
|
+
method: "GET",
|
|
227
|
+
operationId: "backup-get-project-backup-directories",
|
|
228
|
+
};
|
|
229
|
+
/** Restore a ProjectBackup's path. */
|
|
230
|
+
export const backupRequestProjectBackupRestorePath = {
|
|
231
|
+
path: "/v2/project-backups/{projectBackupId}/restore-path",
|
|
232
|
+
method: "POST",
|
|
233
|
+
operationId: "backup-request-project-backup-restore-path",
|
|
234
|
+
};
|
|
223
235
|
/** Change the description of a ProjectBackup. */
|
|
224
236
|
export const backupUpdateProjectBackupDescription = {
|
|
225
237
|
path: "/v2/project-backups/{projectBackupId}/description",
|
|
@@ -454,6 +466,18 @@ export const contractListContracts = {
|
|
|
454
466
|
method: "GET",
|
|
455
467
|
operationId: "contract-list-contracts",
|
|
456
468
|
};
|
|
469
|
+
/** Start the verification process of a contributor. */
|
|
470
|
+
export const contributorRequestVerification = {
|
|
471
|
+
path: "/v2/contributors/{contributorId}/verification-process",
|
|
472
|
+
method: "POST",
|
|
473
|
+
operationId: "contributor-request-verification",
|
|
474
|
+
};
|
|
475
|
+
/** Cancel the verification-process of a contributor. */
|
|
476
|
+
export const contributorCancelVerification = {
|
|
477
|
+
path: "/v2/contributors/{contributorId}/verification-process",
|
|
478
|
+
method: "DELETE",
|
|
479
|
+
operationId: "contributor-cancel-verification",
|
|
480
|
+
};
|
|
457
481
|
/** Get a Contributor. */
|
|
458
482
|
export const extensionGetContributor = {
|
|
459
483
|
path: "/v2/contributors/{contributorId}",
|
|
@@ -538,12 +562,6 @@ export const contributorResetContributorAvatar = {
|
|
|
538
562
|
method: "DELETE",
|
|
539
563
|
operationId: "contributor-reset-contributor-avatar",
|
|
540
564
|
};
|
|
541
|
-
/** Start the verification process of a contributor. */
|
|
542
|
-
export const contributorRequestVerification = {
|
|
543
|
-
path: "/v2/contributors/{contributorId}/verification-process",
|
|
544
|
-
method: "POST",
|
|
545
|
-
operationId: "contributor-request-verification",
|
|
546
|
-
};
|
|
547
565
|
/** Rotate the secret for an extension instance. */
|
|
548
566
|
export const contributorRotateSecretForExtensionInstance = {
|
|
549
567
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
@@ -2572,21 +2590,3 @@ export const verificationVerifyCompany = {
|
|
|
2572
2590
|
method: "POST",
|
|
2573
2591
|
operationId: "verification-verify-company",
|
|
2574
2592
|
};
|
|
2575
|
-
/** Get table of contents for a Project Backup. */
|
|
2576
|
-
export const backupGetProjectBackupToc = {
|
|
2577
|
-
path: "/v2/project-backups/{projectBackupId}/paths",
|
|
2578
|
-
method: "GET",
|
|
2579
|
-
operationId: "backup-get-project-backup-toc",
|
|
2580
|
-
};
|
|
2581
|
-
/** Restore a ProjectBackup's path. */
|
|
2582
|
-
export const backupRequestProjectBackupRestorePath = {
|
|
2583
|
-
path: "/v2/project-backups/{projectBackupId}/restore-path",
|
|
2584
|
-
method: "POST",
|
|
2585
|
-
operationId: "backup-request-project-backup-restore-path",
|
|
2586
|
-
};
|
|
2587
|
-
/** List valid time zones. */
|
|
2588
|
-
export const miscellaneousListTimeZones = {
|
|
2589
|
-
path: "/v2/time-zones",
|
|
2590
|
-
method: "GET",
|
|
2591
|
-
operationId: "miscellaneous-list-time-zones",
|
|
2592
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.233.0';
|
|
@@ -343,11 +343,11 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
343
343
|
parentId?: string | undefined;
|
|
344
344
|
projectId: string;
|
|
345
345
|
requestedAt: string;
|
|
346
|
-
restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
346
|
+
restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
|
|
347
347
|
status: string;
|
|
348
348
|
}>;
|
|
349
349
|
/** Get table of contents for a Project Backup. */
|
|
350
|
-
|
|
350
|
+
getProjectBackupDirectories: (conf: {
|
|
351
351
|
projectBackupId: string;
|
|
352
352
|
headers?: {
|
|
353
353
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -1431,13 +1431,13 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1431
1431
|
description: string;
|
|
1432
1432
|
destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand;
|
|
1433
1433
|
email?: string | undefined;
|
|
1434
|
+
failedExecutionAlertThreshold?: number | undefined;
|
|
1434
1435
|
id: string;
|
|
1435
1436
|
interval: string;
|
|
1436
1437
|
latestExecution?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution | undefined;
|
|
1437
1438
|
nextExecutionTime?: string | undefined;
|
|
1438
1439
|
projectId?: string | undefined;
|
|
1439
1440
|
shortId: string;
|
|
1440
|
-
timeZone?: string | undefined;
|
|
1441
1441
|
timeout: number;
|
|
1442
1442
|
updatedAt: string;
|
|
1443
1443
|
}>;
|
|
@@ -1921,6 +1921,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1921
1921
|
projectId?: string | undefined;
|
|
1922
1922
|
certificateId?: string | undefined;
|
|
1923
1923
|
hostnameSubstring?: string | undefined;
|
|
1924
|
+
appInstallationId?: string | undefined;
|
|
1924
1925
|
limit?: number | undefined;
|
|
1925
1926
|
skip?: number | undefined;
|
|
1926
1927
|
page?: number | undefined;
|
|
@@ -2471,13 +2472,6 @@ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2471
2472
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2472
2473
|
} | undefined;
|
|
2473
2474
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
|
|
2474
|
-
/** List valid time zones. */
|
|
2475
|
-
ellaneousListTimeZones: (conf?: {
|
|
2476
|
-
headers?: {
|
|
2477
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2478
|
-
"x-access-token"?: string | undefined;
|
|
2479
|
-
} | undefined;
|
|
2480
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
2481
2475
|
};
|
|
2482
2476
|
declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2483
2477
|
/** Getting the subscription status of the subscription. */
|