@mittwald/api-client 4.321.0 → 4.323.0
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 +2 -0
- package/dist/esm/generated/v2/client.js +4 -0
- package/dist/esm/generated/v2/descriptors.js +12 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +13 -0
- package/dist/types/generated/v2/client.d.ts +132 -0
- package/dist/types/generated/v2/descriptors.d.ts +5 -1
- package/dist/types/generated/v2/types.d.ts +131 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -92,6 +92,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
92
|
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
93
93
|
/** List Volumes belonging to a Project. */
|
|
94
94
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
95
|
+
/** List Stacks belonging to the executing user. */
|
|
96
|
+
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
95
97
|
});
|
|
96
98
|
const buildContractApi = (baseClient) => ({
|
|
97
99
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -123,6 +123,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
123
123
|
requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
|
|
124
124
|
/** Change the description of a ProjectBackup. */
|
|
125
125
|
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
126
|
+
/** Update a Backup's expiration time. */
|
|
127
|
+
replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
|
|
126
128
|
};
|
|
127
129
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
128
130
|
container = {
|
|
@@ -176,6 +178,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
176
178
|
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
177
179
|
/** Set an update schedule for a Stack. */
|
|
178
180
|
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
181
|
+
/** List Stacks belonging to the executing user. */
|
|
182
|
+
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
179
183
|
};
|
|
180
184
|
/** The contract API allows you to manage your contracts and orders */
|
|
181
185
|
contract = {
|
|
@@ -2728,3 +2728,15 @@ export const containerSetStackUpdateSchedule = {
|
|
|
2728
2728
|
method: "PUT",
|
|
2729
2729
|
operationId: "container-set-stack-update-schedule",
|
|
2730
2730
|
};
|
|
2731
|
+
/** List Stacks belonging to the executing user. */
|
|
2732
|
+
export const containerListSelfStacks = {
|
|
2733
|
+
path: "/v2/stacks",
|
|
2734
|
+
method: "GET",
|
|
2735
|
+
operationId: "container-list-self-stacks",
|
|
2736
|
+
};
|
|
2737
|
+
/** Update a Backup's expiration time. */
|
|
2738
|
+
export const backupReplaceProjectBackupExpirationTime = {
|
|
2739
|
+
path: "/v2/project-backups/{projectBackupId}/expiration-time",
|
|
2740
|
+
method: "PUT",
|
|
2741
|
+
operationId: "backup-replace-project-backup-expiration-time",
|
|
2742
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.322.0';
|
|
@@ -675,6 +675,19 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
675
675
|
page?: number | undefined;
|
|
676
676
|
} | undefined;
|
|
677
677
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
678
|
+
/** List Stacks belonging to the executing user. */
|
|
679
|
+
listSelfStacks: (conf?: {
|
|
680
|
+
headers?: {
|
|
681
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
682
|
+
"x-access-token"?: string | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
queryParameters?: {
|
|
685
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
686
|
+
limit?: number | undefined;
|
|
687
|
+
skip?: number | undefined;
|
|
688
|
+
page?: number | undefined;
|
|
689
|
+
} | undefined;
|
|
690
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
|
|
678
691
|
};
|
|
679
692
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
680
693
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -3378,6 +3378,69 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3378
3378
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3379
3379
|
[x: string]: unknown;
|
|
3380
3380
|
}, 429, "application/json">>>;
|
|
3381
|
+
/** Update a Backup's expiration time. */
|
|
3382
|
+
replaceProjectBackupExpirationTime: (request: {
|
|
3383
|
+
projectBackupId: string;
|
|
3384
|
+
data?: {
|
|
3385
|
+
expirationTime?: string | undefined;
|
|
3386
|
+
} | undefined;
|
|
3387
|
+
headers?: {
|
|
3388
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3389
|
+
"x-access-token"?: string | undefined;
|
|
3390
|
+
} | undefined;
|
|
3391
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3392
|
+
data: {
|
|
3393
|
+
expirationTime?: string | undefined;
|
|
3394
|
+
};
|
|
3395
|
+
} & {
|
|
3396
|
+
pathParameters: {
|
|
3397
|
+
projectBackupId: string;
|
|
3398
|
+
};
|
|
3399
|
+
} & {
|
|
3400
|
+
headers?: Partial<{
|
|
3401
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3402
|
+
}>;
|
|
3403
|
+
} & {
|
|
3404
|
+
headers: {
|
|
3405
|
+
"x-access-token"?: string | undefined;
|
|
3406
|
+
} & Partial<{
|
|
3407
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3408
|
+
}>;
|
|
3409
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
3410
|
+
[x: string]: unknown;
|
|
3411
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3412
|
+
[x: string]: unknown;
|
|
3413
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3414
|
+
[x: string]: unknown;
|
|
3415
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3416
|
+
[x: string]: unknown;
|
|
3417
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3418
|
+
data: {
|
|
3419
|
+
expirationTime?: string | undefined;
|
|
3420
|
+
};
|
|
3421
|
+
} & {
|
|
3422
|
+
pathParameters: {
|
|
3423
|
+
projectBackupId: string;
|
|
3424
|
+
};
|
|
3425
|
+
} & {
|
|
3426
|
+
headers?: Partial<{
|
|
3427
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3428
|
+
}>;
|
|
3429
|
+
} & {
|
|
3430
|
+
headers: {
|
|
3431
|
+
"x-access-token"?: string | undefined;
|
|
3432
|
+
} & Partial<{
|
|
3433
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
3434
|
+
}>;
|
|
3435
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
3436
|
+
[x: string]: unknown;
|
|
3437
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3438
|
+
[x: string]: unknown;
|
|
3439
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3440
|
+
[x: string]: unknown;
|
|
3441
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3442
|
+
[x: string]: unknown;
|
|
3443
|
+
}, 429, "application/json">>>;
|
|
3381
3444
|
};
|
|
3382
3445
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
3383
3446
|
readonly container: {
|
|
@@ -5375,6 +5438,71 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5375
5438
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5376
5439
|
[x: string]: unknown;
|
|
5377
5440
|
}, 500, "application/json">>>;
|
|
5441
|
+
/** List Stacks belonging to the executing user. */
|
|
5442
|
+
listSelfStacks: (request?: {
|
|
5443
|
+
headers?: {
|
|
5444
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5445
|
+
"x-access-token"?: string | undefined;
|
|
5446
|
+
} | undefined;
|
|
5447
|
+
queryParameters?: {
|
|
5448
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5449
|
+
limit?: number | undefined;
|
|
5450
|
+
skip?: number | undefined;
|
|
5451
|
+
page?: number | undefined;
|
|
5452
|
+
} | undefined;
|
|
5453
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5454
|
+
headers?: Partial<{
|
|
5455
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5456
|
+
}>;
|
|
5457
|
+
} & {
|
|
5458
|
+
queryParameters: {
|
|
5459
|
+
limit?: number | undefined;
|
|
5460
|
+
skip?: number | undefined;
|
|
5461
|
+
page?: number | undefined;
|
|
5462
|
+
} & Partial<{
|
|
5463
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5464
|
+
}>;
|
|
5465
|
+
} & {
|
|
5466
|
+
headers: {
|
|
5467
|
+
"x-access-token"?: string | undefined;
|
|
5468
|
+
} & Partial<{
|
|
5469
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5470
|
+
}>;
|
|
5471
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5472
|
+
[x: string]: unknown;
|
|
5473
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5474
|
+
[x: string]: unknown;
|
|
5475
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5476
|
+
[x: string]: unknown;
|
|
5477
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5478
|
+
[x: string]: unknown;
|
|
5479
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5480
|
+
headers?: Partial<{
|
|
5481
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5482
|
+
}>;
|
|
5483
|
+
} & {
|
|
5484
|
+
queryParameters: {
|
|
5485
|
+
limit?: number | undefined;
|
|
5486
|
+
skip?: number | undefined;
|
|
5487
|
+
page?: number | undefined;
|
|
5488
|
+
} & Partial<{
|
|
5489
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5490
|
+
}>;
|
|
5491
|
+
} & {
|
|
5492
|
+
headers: {
|
|
5493
|
+
"x-access-token"?: string | undefined;
|
|
5494
|
+
} & Partial<{
|
|
5495
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5496
|
+
}>;
|
|
5497
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5498
|
+
[x: string]: unknown;
|
|
5499
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5500
|
+
[x: string]: unknown;
|
|
5501
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5502
|
+
[x: string]: unknown;
|
|
5503
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5504
|
+
[x: string]: unknown;
|
|
5505
|
+
}, 500, "application/json">>>;
|
|
5378
5506
|
};
|
|
5379
5507
|
/** The contract API allows you to manage your contracts and orders */
|
|
5380
5508
|
readonly contract: {
|
|
@@ -17665,6 +17793,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
17665
17793
|
[x: string]: unknown;
|
|
17666
17794
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17667
17795
|
[x: string]: unknown;
|
|
17796
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17797
|
+
[x: string]: unknown;
|
|
17668
17798
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
17669
17799
|
data: {
|
|
17670
17800
|
authCode?: string | undefined;
|
|
@@ -17680,6 +17810,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
17680
17810
|
[x: string]: unknown;
|
|
17681
17811
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17682
17812
|
[x: string]: unknown;
|
|
17813
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17814
|
+
[x: string]: unknown;
|
|
17683
17815
|
}, 429, "application/json">>>;
|
|
17684
17816
|
/** Create an auth code for a Domains transfer-out process. */
|
|
17685
17817
|
createDomainAuthCode: (request: {
|
|
@@ -422,7 +422,7 @@ export declare const domainCancelScheduledDeletion: OpenAPIOperation<RequestType
|
|
|
422
422
|
/** Check if a Domain is available to register. */
|
|
423
423
|
export declare const domainCheckDomainRegistrability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
424
424
|
/** Check if a Domain is available to transfer. */
|
|
425
|
-
export declare const domainCheckDomainTransferability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
425
|
+
export declare const domainCheckDomainTransferability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
426
426
|
/** Create an auth code for a Domains transfer-out process. */
|
|
427
427
|
export declare const domainCreateDomainAuthCode: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
428
428
|
/** Get a Domain. */
|
|
@@ -913,3 +913,7 @@ export declare const licenseRotateLicenseKey: OpenAPIOperation<RequestType<Simpl
|
|
|
913
913
|
export declare const licenseValidateLicenseKeyForProject: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
914
914
|
/** Set an update schedule for a Stack. */
|
|
915
915
|
export declare const containerSetStackUpdateSchedule: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdUpdateSchedule.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
916
|
+
/** List Stacks belonging to the executing user. */
|
|
917
|
+
export declare const containerListSelfStacks: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Stacks.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
918
|
+
/** Update a Backup's expiration time. */
|
|
919
|
+
export declare const backupReplaceProjectBackupExpirationTime: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectBackupsProjectBackupIdExpirationTime.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1822,6 +1822,14 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1822
1822
|
type RequestData = InferredRequestData<typeof descriptors.containerSetStackUpdateSchedule>;
|
|
1823
1823
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerSetStackUpdateSchedule, TStatus>;
|
|
1824
1824
|
}
|
|
1825
|
+
namespace ContainerListSelfStacks {
|
|
1826
|
+
type RequestData = InferredRequestData<typeof descriptors.containerListSelfStacks>;
|
|
1827
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListSelfStacks, TStatus>;
|
|
1828
|
+
}
|
|
1829
|
+
namespace BackupReplaceProjectBackupExpirationTime {
|
|
1830
|
+
type RequestData = InferredRequestData<typeof descriptors.backupReplaceProjectBackupExpirationTime>;
|
|
1831
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.backupReplaceProjectBackupExpirationTime, TStatus>;
|
|
1832
|
+
}
|
|
1825
1833
|
}
|
|
1826
1834
|
namespace Components {
|
|
1827
1835
|
namespace Schemas {
|
|
@@ -1848,7 +1856,8 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1848
1856
|
*/
|
|
1849
1857
|
keyId: string;
|
|
1850
1858
|
/**
|
|
1851
|
-
*
|
|
1859
|
+
* @deprecated
|
|
1860
|
+
* This Field is deprecated. You can find the allowed models in the /ai-hosting route.
|
|
1852
1861
|
*/
|
|
1853
1862
|
models: string[];
|
|
1854
1863
|
name: string;
|
|
@@ -16965,6 +16974,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
16965
16974
|
}
|
|
16966
16975
|
}
|
|
16967
16976
|
}
|
|
16977
|
+
namespace $412 {
|
|
16978
|
+
namespace Content {
|
|
16979
|
+
interface ApplicationJson {
|
|
16980
|
+
[k: string]: unknown;
|
|
16981
|
+
}
|
|
16982
|
+
}
|
|
16983
|
+
}
|
|
16968
16984
|
namespace $429 {
|
|
16969
16985
|
namespace Content {
|
|
16970
16986
|
interface ApplicationJson {
|
|
@@ -29522,5 +29538,119 @@ export declare namespace MittwaldAPIV2 {
|
|
|
29522
29538
|
}
|
|
29523
29539
|
}
|
|
29524
29540
|
}
|
|
29541
|
+
namespace V2Stacks {
|
|
29542
|
+
namespace Get {
|
|
29543
|
+
namespace Parameters {
|
|
29544
|
+
type Path = {};
|
|
29545
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
29546
|
+
type Query = {
|
|
29547
|
+
limit?: number;
|
|
29548
|
+
skip?: number;
|
|
29549
|
+
page?: number;
|
|
29550
|
+
};
|
|
29551
|
+
}
|
|
29552
|
+
namespace Responses {
|
|
29553
|
+
namespace $200 {
|
|
29554
|
+
namespace Content {
|
|
29555
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerStackResponse[];
|
|
29556
|
+
}
|
|
29557
|
+
}
|
|
29558
|
+
namespace $400 {
|
|
29559
|
+
namespace Content {
|
|
29560
|
+
interface ApplicationJson {
|
|
29561
|
+
[k: string]: unknown;
|
|
29562
|
+
}
|
|
29563
|
+
}
|
|
29564
|
+
}
|
|
29565
|
+
namespace $403 {
|
|
29566
|
+
namespace Content {
|
|
29567
|
+
interface ApplicationJson {
|
|
29568
|
+
[k: string]: unknown;
|
|
29569
|
+
}
|
|
29570
|
+
}
|
|
29571
|
+
}
|
|
29572
|
+
namespace $429 {
|
|
29573
|
+
namespace Content {
|
|
29574
|
+
interface ApplicationJson {
|
|
29575
|
+
[k: string]: unknown;
|
|
29576
|
+
}
|
|
29577
|
+
}
|
|
29578
|
+
}
|
|
29579
|
+
namespace $500 {
|
|
29580
|
+
namespace Content {
|
|
29581
|
+
interface ApplicationJson {
|
|
29582
|
+
[k: string]: unknown;
|
|
29583
|
+
}
|
|
29584
|
+
}
|
|
29585
|
+
}
|
|
29586
|
+
namespace Default {
|
|
29587
|
+
namespace Content {
|
|
29588
|
+
interface ApplicationJson {
|
|
29589
|
+
[k: string]: unknown;
|
|
29590
|
+
}
|
|
29591
|
+
}
|
|
29592
|
+
}
|
|
29593
|
+
}
|
|
29594
|
+
}
|
|
29595
|
+
}
|
|
29596
|
+
namespace V2ProjectBackupsProjectBackupIdExpirationTime {
|
|
29597
|
+
namespace Put {
|
|
29598
|
+
namespace Parameters {
|
|
29599
|
+
type Path = {
|
|
29600
|
+
projectBackupId: string;
|
|
29601
|
+
};
|
|
29602
|
+
interface RequestBody {
|
|
29603
|
+
/**
|
|
29604
|
+
* Time when to expire the Backup.
|
|
29605
|
+
*/
|
|
29606
|
+
expirationTime?: string;
|
|
29607
|
+
}
|
|
29608
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
29609
|
+
type Query = {};
|
|
29610
|
+
}
|
|
29611
|
+
namespace Responses {
|
|
29612
|
+
namespace $204 {
|
|
29613
|
+
namespace Content {
|
|
29614
|
+
type Empty = unknown;
|
|
29615
|
+
}
|
|
29616
|
+
}
|
|
29617
|
+
namespace $400 {
|
|
29618
|
+
namespace Content {
|
|
29619
|
+
interface ApplicationJson {
|
|
29620
|
+
[k: string]: unknown;
|
|
29621
|
+
}
|
|
29622
|
+
}
|
|
29623
|
+
}
|
|
29624
|
+
namespace $403 {
|
|
29625
|
+
namespace Content {
|
|
29626
|
+
interface ApplicationJson {
|
|
29627
|
+
[k: string]: unknown;
|
|
29628
|
+
}
|
|
29629
|
+
}
|
|
29630
|
+
}
|
|
29631
|
+
namespace $404 {
|
|
29632
|
+
namespace Content {
|
|
29633
|
+
interface ApplicationJson {
|
|
29634
|
+
[k: string]: unknown;
|
|
29635
|
+
}
|
|
29636
|
+
}
|
|
29637
|
+
}
|
|
29638
|
+
namespace $429 {
|
|
29639
|
+
namespace Content {
|
|
29640
|
+
interface ApplicationJson {
|
|
29641
|
+
[k: string]: unknown;
|
|
29642
|
+
}
|
|
29643
|
+
}
|
|
29644
|
+
}
|
|
29645
|
+
namespace Default {
|
|
29646
|
+
namespace Content {
|
|
29647
|
+
interface ApplicationJson {
|
|
29648
|
+
[k: string]: unknown;
|
|
29649
|
+
}
|
|
29650
|
+
}
|
|
29651
|
+
}
|
|
29652
|
+
}
|
|
29653
|
+
}
|
|
29654
|
+
}
|
|
29525
29655
|
}
|
|
29526
29656
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.322.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.323.0",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"test:compile": "run tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@mittwald/api-client-commons": "^4.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.323.0",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.323.0",
|
|
54
54
|
"@mittwald/react-use-promise": "^2.6.2",
|
|
55
55
|
"@types/node": "^22.18.11",
|
|
56
56
|
"@types/react": "^18.3.26",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "598d4db0ae5120049cb8595020c1217cf571827a"
|
|
84
84
|
}
|