@mittwald/api-client 0.0.0-development-da42e97-20250926 → 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 -9
- package/dist/esm/generated/v2/descriptors.js +24 -30
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +4 -12
- package/dist/types/generated/v2/client.d.ts +193 -211
- package/dist/types/generated/v2/descriptors.d.ts +8 -10
- package/dist/types/generated/v2/types.d.ts +258 -286
- 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,10 +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
|
-
/** Cancel the verification-process of a contributor. */
|
|
237
|
-
contributorCancelVerification: this.requestFunctionFactory(descriptors.contributorCancelVerification),
|
|
238
238
|
/** Rotate the secret for an extension instance. */
|
|
239
239
|
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
240
240
|
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
@@ -806,8 +806,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
806
806
|
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
807
807
|
/** Check if a company exists. */
|
|
808
808
|
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
809
|
-
/** List valid time zones. */
|
|
810
|
-
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
811
809
|
};
|
|
812
810
|
/** The page insights API allows you to get page insights information. */
|
|
813
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,18 +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
|
-
/** Cancel the verification-process of a contributor. */
|
|
548
|
-
export const contributorCancelVerification = {
|
|
549
|
-
path: "/v2/contributors/{contributorId}/verification-process",
|
|
550
|
-
method: "DELETE",
|
|
551
|
-
operationId: "contributor-cancel-verification",
|
|
552
|
-
};
|
|
553
565
|
/** Rotate the secret for an extension instance. */
|
|
554
566
|
export const contributorRotateSecretForExtensionInstance = {
|
|
555
567
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
@@ -2578,21 +2590,3 @@ export const verificationVerifyCompany = {
|
|
|
2578
2590
|
method: "POST",
|
|
2579
2591
|
operationId: "verification-verify-company",
|
|
2580
2592
|
};
|
|
2581
|
-
/** Get table of contents for a Project Backup. */
|
|
2582
|
-
export const backupGetProjectBackupToc = {
|
|
2583
|
-
path: "/v2/project-backups/{projectBackupId}/paths",
|
|
2584
|
-
method: "GET",
|
|
2585
|
-
operationId: "backup-get-project-backup-toc",
|
|
2586
|
-
};
|
|
2587
|
-
/** Restore a ProjectBackup's path. */
|
|
2588
|
-
export const backupRequestProjectBackupRestorePath = {
|
|
2589
|
-
path: "/v2/project-backups/{projectBackupId}/restore-path",
|
|
2590
|
-
method: "POST",
|
|
2591
|
-
operationId: "backup-request-project-backup-restore-path",
|
|
2592
|
-
};
|
|
2593
|
-
/** List valid time zones. */
|
|
2594
|
-
export const miscellaneousListTimeZones = {
|
|
2595
|
-
path: "/v2/time-zones",
|
|
2596
|
-
method: "GET",
|
|
2597
|
-
operationId: "miscellaneous-list-time-zones",
|
|
2598
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
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
|
}>;
|
|
@@ -1458,13 +1458,11 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1458
1458
|
end?: string | undefined;
|
|
1459
1459
|
executionEnd?: string | undefined;
|
|
1460
1460
|
executionStart?: string | undefined;
|
|
1461
|
-
exitCode?: number | undefined;
|
|
1462
1461
|
id: string;
|
|
1463
1462
|
logPath?: string | undefined;
|
|
1464
1463
|
start?: string | undefined;
|
|
1465
1464
|
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
|
|
1466
1465
|
successful: boolean;
|
|
1467
|
-
summary?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobStatusSummary | undefined;
|
|
1468
1466
|
triggeredBy?: {
|
|
1469
1467
|
id?: string;
|
|
1470
1468
|
} | undefined;
|
|
@@ -1923,6 +1921,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1923
1921
|
projectId?: string | undefined;
|
|
1924
1922
|
certificateId?: string | undefined;
|
|
1925
1923
|
hostnameSubstring?: string | undefined;
|
|
1924
|
+
appInstallationId?: string | undefined;
|
|
1926
1925
|
limit?: number | undefined;
|
|
1927
1926
|
skip?: number | undefined;
|
|
1928
1927
|
page?: number | undefined;
|
|
@@ -2473,13 +2472,6 @@ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2473
2472
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2474
2473
|
} | undefined;
|
|
2475
2474
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingModel[]>;
|
|
2476
|
-
/** List valid time zones. */
|
|
2477
|
-
ellaneousListTimeZones: (conf?: {
|
|
2478
|
-
headers?: {
|
|
2479
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2480
|
-
"x-access-token"?: string | undefined;
|
|
2481
|
-
} | undefined;
|
|
2482
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
2483
2475
|
};
|
|
2484
2476
|
declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2485
2477
|
/** Getting the subscription status of the subscription. */
|