@mittwald/api-client 4.465.0 → 4.466.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/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +2 -0
- package/dist/types/generated/v2/client.d.ts +25 -0
- package/dist/types/generated/v2/types.d.ts +64 -5
- package/dist/types/generated/v3-next/client-react.d.ts +2 -0
- package/dist/types/generated/v3-next/client.d.ts +25 -0
- package/dist/types/generated/v3-next/types.d.ts +64 -5
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.465.0';
|
|
@@ -743,6 +743,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
743
743
|
};
|
|
744
744
|
headers?: {
|
|
745
745
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
746
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
746
747
|
"x-access-token"?: string | undefined;
|
|
747
748
|
} | undefined;
|
|
748
749
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
@@ -765,6 +766,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
765
766
|
serviceId: string;
|
|
766
767
|
headers?: {
|
|
767
768
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
769
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
768
770
|
"x-access-token"?: string | undefined;
|
|
769
771
|
} | undefined;
|
|
770
772
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
@@ -4712,8 +4712,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4712
4712
|
[x: string]: string;
|
|
4713
4713
|
} | undefined;
|
|
4714
4714
|
ports?: string[] | undefined;
|
|
4715
|
+
restart?: string | undefined;
|
|
4715
4716
|
restartPolicy?: string | undefined;
|
|
4716
4717
|
volumes?: string[] | undefined;
|
|
4718
|
+
"x-description"?: string | undefined;
|
|
4717
4719
|
};
|
|
4718
4720
|
} | undefined;
|
|
4719
4721
|
volumes?: {
|
|
@@ -4901,8 +4903,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4901
4903
|
} | undefined;
|
|
4902
4904
|
image?: string | undefined;
|
|
4903
4905
|
ports?: string[] | undefined;
|
|
4906
|
+
restart?: string | undefined;
|
|
4904
4907
|
restartPolicy?: string | undefined;
|
|
4905
4908
|
volumes?: string[] | undefined;
|
|
4909
|
+
"x-description"?: string | undefined;
|
|
4906
4910
|
};
|
|
4907
4911
|
} | undefined;
|
|
4908
4912
|
updateSchedule?: {
|
|
@@ -4914,6 +4918,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4914
4918
|
name?: string | undefined;
|
|
4915
4919
|
};
|
|
4916
4920
|
} | undefined;
|
|
4921
|
+
"x-description"?: string | undefined;
|
|
4922
|
+
"x-update-schedule"?: {
|
|
4923
|
+
cron: string;
|
|
4924
|
+
timezone?: string | undefined;
|
|
4925
|
+
} | undefined;
|
|
4917
4926
|
} | undefined;
|
|
4918
4927
|
headers?: {
|
|
4919
4928
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -4936,6 +4945,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4936
4945
|
volumes?: {
|
|
4937
4946
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
4938
4947
|
} | undefined;
|
|
4948
|
+
"x-description"?: string | undefined;
|
|
4949
|
+
"x-update-schedule"?: {
|
|
4950
|
+
cron: string;
|
|
4951
|
+
timezone?: string;
|
|
4952
|
+
} | undefined;
|
|
4939
4953
|
};
|
|
4940
4954
|
} & {
|
|
4941
4955
|
pathParameters: {
|
|
@@ -4989,6 +5003,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4989
5003
|
volumes?: {
|
|
4990
5004
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
4991
5005
|
} | undefined;
|
|
5006
|
+
"x-description"?: string | undefined;
|
|
5007
|
+
"x-update-schedule"?: {
|
|
5008
|
+
cron: string;
|
|
5009
|
+
timezone?: string;
|
|
5010
|
+
} | undefined;
|
|
4992
5011
|
};
|
|
4993
5012
|
} & {
|
|
4994
5013
|
pathParameters: {
|
|
@@ -5379,6 +5398,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5379
5398
|
};
|
|
5380
5399
|
headers?: {
|
|
5381
5400
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5401
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5382
5402
|
"x-access-token"?: string | undefined;
|
|
5383
5403
|
} | undefined;
|
|
5384
5404
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -5396,6 +5416,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5396
5416
|
}>;
|
|
5397
5417
|
} & {
|
|
5398
5418
|
headers: {
|
|
5419
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5399
5420
|
"x-access-token"?: string | undefined;
|
|
5400
5421
|
} & Partial<{
|
|
5401
5422
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -5440,6 +5461,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5440
5461
|
}>;
|
|
5441
5462
|
} & {
|
|
5442
5463
|
headers: {
|
|
5464
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5443
5465
|
"x-access-token"?: string | undefined;
|
|
5444
5466
|
} & Partial<{
|
|
5445
5467
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -5476,6 +5498,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5476
5498
|
serviceId: string;
|
|
5477
5499
|
headers?: {
|
|
5478
5500
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5501
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5479
5502
|
"x-access-token"?: string | undefined;
|
|
5480
5503
|
} | undefined;
|
|
5481
5504
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -5489,6 +5512,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5489
5512
|
};
|
|
5490
5513
|
} & {
|
|
5491
5514
|
headers: {
|
|
5515
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5492
5516
|
"x-access-token"?: string | undefined;
|
|
5493
5517
|
} & Partial<{
|
|
5494
5518
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -5517,6 +5541,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5517
5541
|
};
|
|
5518
5542
|
} & {
|
|
5519
5543
|
headers: {
|
|
5544
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5520
5545
|
"x-access-token"?: string | undefined;
|
|
5521
5546
|
} & Partial<{
|
|
5522
5547
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -2823,6 +2823,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2823
2823
|
*/
|
|
2824
2824
|
command?: string[];
|
|
2825
2825
|
deploy?: MittwaldAPIV2.Components.Schemas.ContainerDeploy;
|
|
2826
|
+
/**
|
|
2827
|
+
* @deprecated
|
|
2828
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
2829
|
+
*/
|
|
2826
2830
|
description?: string;
|
|
2827
2831
|
/**
|
|
2828
2832
|
* The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.
|
|
@@ -2858,12 +2862,25 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2858
2862
|
*
|
|
2859
2863
|
*/
|
|
2860
2864
|
ports?: string[];
|
|
2865
|
+
/**
|
|
2866
|
+
* Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
|
|
2867
|
+
*
|
|
2868
|
+
*/
|
|
2869
|
+
restart?: string;
|
|
2870
|
+
/**
|
|
2871
|
+
* @deprecated
|
|
2872
|
+
* Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.
|
|
2873
|
+
*/
|
|
2861
2874
|
restartPolicy?: string;
|
|
2862
2875
|
/**
|
|
2863
2876
|
* Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
|
|
2864
2877
|
*
|
|
2865
2878
|
*/
|
|
2866
2879
|
volumes?: string[];
|
|
2880
|
+
/**
|
|
2881
|
+
* Human-readable description of this container.
|
|
2882
|
+
*/
|
|
2883
|
+
"x-description"?: string;
|
|
2867
2884
|
}
|
|
2868
2885
|
interface ContainerDeploy {
|
|
2869
2886
|
resources?: MittwaldAPIV2.Components.Schemas.ContainerResources;
|
|
@@ -2889,6 +2906,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2889
2906
|
*/
|
|
2890
2907
|
command?: string[];
|
|
2891
2908
|
deploy?: MittwaldAPIV2.Components.Schemas.ContainerDeploy;
|
|
2909
|
+
/**
|
|
2910
|
+
* @deprecated
|
|
2911
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
2912
|
+
*/
|
|
2892
2913
|
description?: string;
|
|
2893
2914
|
/**
|
|
2894
2915
|
* The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.
|
|
@@ -2924,12 +2945,25 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2924
2945
|
*
|
|
2925
2946
|
*/
|
|
2926
2947
|
ports?: string[];
|
|
2948
|
+
/**
|
|
2949
|
+
* Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
|
|
2950
|
+
*
|
|
2951
|
+
*/
|
|
2952
|
+
restart?: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* @deprecated
|
|
2955
|
+
* Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.
|
|
2956
|
+
*/
|
|
2927
2957
|
restartPolicy?: string;
|
|
2928
2958
|
/**
|
|
2929
2959
|
* Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
|
|
2930
2960
|
*
|
|
2931
2961
|
*/
|
|
2932
2962
|
volumes?: string[];
|
|
2963
|
+
/**
|
|
2964
|
+
* Human-readable description of this container.
|
|
2965
|
+
*/
|
|
2966
|
+
"x-description"?: string;
|
|
2933
2967
|
}
|
|
2934
2968
|
interface ContainerResourceSpec {
|
|
2935
2969
|
/**
|
|
@@ -4755,7 +4789,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4755
4789
|
* @deprecated
|
|
4756
4790
|
*/
|
|
4757
4791
|
blocked: boolean;
|
|
4758
|
-
context
|
|
4792
|
+
context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
4759
4793
|
contributorId: string;
|
|
4760
4794
|
deletionDeadline?: string;
|
|
4761
4795
|
deprecation?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation;
|
|
@@ -11339,6 +11373,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11339
11373
|
stackId: string;
|
|
11340
11374
|
};
|
|
11341
11375
|
interface RequestBody {
|
|
11376
|
+
/**
|
|
11377
|
+
* @deprecated
|
|
11378
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
11379
|
+
*/
|
|
11342
11380
|
description?: string;
|
|
11343
11381
|
/**
|
|
11344
11382
|
* A set of containers that should be started in this stack. The key is relevant for
|
|
@@ -11356,8 +11394,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11356
11394
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerServiceRequest;
|
|
11357
11395
|
};
|
|
11358
11396
|
/**
|
|
11359
|
-
*
|
|
11360
|
-
* schedule
|
|
11397
|
+
* @deprecated
|
|
11398
|
+
* Deprecated by 'x-update-schedule' (which takes precedence). This field will be
|
|
11399
|
+
* removed in a future version.
|
|
11361
11400
|
*
|
|
11362
11401
|
*/
|
|
11363
11402
|
updateSchedule?: {
|
|
@@ -11376,6 +11415,22 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11376
11415
|
volumes?: {
|
|
11377
11416
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
11378
11417
|
};
|
|
11418
|
+
/**
|
|
11419
|
+
* Description of the stack.
|
|
11420
|
+
*/
|
|
11421
|
+
"x-description"?: string;
|
|
11422
|
+
/**
|
|
11423
|
+
* Schedule for automatic image updates of this stack. Set to `null` to remove the
|
|
11424
|
+
* schedule; omit the property to leave it unchanged.
|
|
11425
|
+
*
|
|
11426
|
+
*/
|
|
11427
|
+
"x-update-schedule"?: {
|
|
11428
|
+
cron: string;
|
|
11429
|
+
/**
|
|
11430
|
+
* Valid timezones can be retrieved via GET /v2/time-zones
|
|
11431
|
+
*/
|
|
11432
|
+
timezone?: string;
|
|
11433
|
+
};
|
|
11379
11434
|
}
|
|
11380
11435
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
11381
11436
|
type Query = {
|
|
@@ -11741,7 +11796,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11741
11796
|
namespace Get {
|
|
11742
11797
|
namespace Parameters {
|
|
11743
11798
|
type Path = {};
|
|
11744
|
-
type Header = {
|
|
11799
|
+
type Header = {
|
|
11800
|
+
"Accept-Language"?: "de" | "en";
|
|
11801
|
+
} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
11745
11802
|
type Query = {
|
|
11746
11803
|
imageReference: string;
|
|
11747
11804
|
useCredentialsForProjectId?: string;
|
|
@@ -11814,7 +11871,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11814
11871
|
stackId: string;
|
|
11815
11872
|
serviceId: string;
|
|
11816
11873
|
};
|
|
11817
|
-
type Header = {
|
|
11874
|
+
type Header = {
|
|
11875
|
+
"Accept-Language"?: "de" | "en";
|
|
11876
|
+
} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
11818
11877
|
type Query = {};
|
|
11819
11878
|
}
|
|
11820
11879
|
namespace Responses {
|
|
@@ -743,6 +743,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
743
743
|
};
|
|
744
744
|
headers?: {
|
|
745
745
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
746
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
746
747
|
"x-access-token"?: string | undefined;
|
|
747
748
|
} | undefined;
|
|
748
749
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
@@ -765,6 +766,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
765
766
|
serviceId: string;
|
|
766
767
|
headers?: {
|
|
767
768
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
769
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
768
770
|
"x-access-token"?: string | undefined;
|
|
769
771
|
} | undefined;
|
|
770
772
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
@@ -4712,8 +4712,10 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
4712
4712
|
[x: string]: string;
|
|
4713
4713
|
} | undefined;
|
|
4714
4714
|
ports?: string[] | undefined;
|
|
4715
|
+
restart?: string | undefined;
|
|
4715
4716
|
restartPolicy?: string | undefined;
|
|
4716
4717
|
volumes?: string[] | undefined;
|
|
4718
|
+
"x-description"?: string | undefined;
|
|
4717
4719
|
};
|
|
4718
4720
|
} | undefined;
|
|
4719
4721
|
volumes?: {
|
|
@@ -4901,8 +4903,10 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
4901
4903
|
} | undefined;
|
|
4902
4904
|
image?: string | undefined;
|
|
4903
4905
|
ports?: string[] | undefined;
|
|
4906
|
+
restart?: string | undefined;
|
|
4904
4907
|
restartPolicy?: string | undefined;
|
|
4905
4908
|
volumes?: string[] | undefined;
|
|
4909
|
+
"x-description"?: string | undefined;
|
|
4906
4910
|
};
|
|
4907
4911
|
} | undefined;
|
|
4908
4912
|
updateSchedule?: {
|
|
@@ -4914,6 +4918,11 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
4914
4918
|
name?: string | undefined;
|
|
4915
4919
|
};
|
|
4916
4920
|
} | undefined;
|
|
4921
|
+
"x-description"?: string | undefined;
|
|
4922
|
+
"x-update-schedule"?: {
|
|
4923
|
+
cron: string;
|
|
4924
|
+
timezone?: string | undefined;
|
|
4925
|
+
} | undefined;
|
|
4917
4926
|
} | undefined;
|
|
4918
4927
|
headers?: {
|
|
4919
4928
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -4936,6 +4945,11 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
4936
4945
|
volumes?: {
|
|
4937
4946
|
[k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeRequest;
|
|
4938
4947
|
} | undefined;
|
|
4948
|
+
"x-description"?: string | undefined;
|
|
4949
|
+
"x-update-schedule"?: {
|
|
4950
|
+
cron: string;
|
|
4951
|
+
timezone?: string;
|
|
4952
|
+
} | undefined;
|
|
4939
4953
|
};
|
|
4940
4954
|
} & {
|
|
4941
4955
|
pathParameters: {
|
|
@@ -4989,6 +5003,11 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
4989
5003
|
volumes?: {
|
|
4990
5004
|
[k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeRequest;
|
|
4991
5005
|
} | undefined;
|
|
5006
|
+
"x-description"?: string | undefined;
|
|
5007
|
+
"x-update-schedule"?: {
|
|
5008
|
+
cron: string;
|
|
5009
|
+
timezone?: string;
|
|
5010
|
+
} | undefined;
|
|
4992
5011
|
};
|
|
4993
5012
|
} & {
|
|
4994
5013
|
pathParameters: {
|
|
@@ -5379,6 +5398,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5379
5398
|
};
|
|
5380
5399
|
headers?: {
|
|
5381
5400
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5401
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5382
5402
|
"x-access-token"?: string | undefined;
|
|
5383
5403
|
} | undefined;
|
|
5384
5404
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -5396,6 +5416,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5396
5416
|
}>;
|
|
5397
5417
|
} & {
|
|
5398
5418
|
headers: {
|
|
5419
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5399
5420
|
"x-access-token"?: string | undefined;
|
|
5400
5421
|
} & Partial<{
|
|
5401
5422
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -5440,6 +5461,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5440
5461
|
}>;
|
|
5441
5462
|
} & {
|
|
5442
5463
|
headers: {
|
|
5464
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5443
5465
|
"x-access-token"?: string | undefined;
|
|
5444
5466
|
} & Partial<{
|
|
5445
5467
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -5476,6 +5498,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5476
5498
|
serviceId: string;
|
|
5477
5499
|
headers?: {
|
|
5478
5500
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5501
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5479
5502
|
"x-access-token"?: string | undefined;
|
|
5480
5503
|
} | undefined;
|
|
5481
5504
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -5489,6 +5512,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5489
5512
|
};
|
|
5490
5513
|
} & {
|
|
5491
5514
|
headers: {
|
|
5515
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5492
5516
|
"x-access-token"?: string | undefined;
|
|
5493
5517
|
} & Partial<{
|
|
5494
5518
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -5517,6 +5541,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5517
5541
|
};
|
|
5518
5542
|
} & {
|
|
5519
5543
|
headers: {
|
|
5544
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
5520
5545
|
"x-access-token"?: string | undefined;
|
|
5521
5546
|
} & Partial<{
|
|
5522
5547
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -2823,6 +2823,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
2823
2823
|
*/
|
|
2824
2824
|
command?: string[];
|
|
2825
2825
|
deploy?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerDeploy;
|
|
2826
|
+
/**
|
|
2827
|
+
* @deprecated
|
|
2828
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
2829
|
+
*/
|
|
2826
2830
|
description?: string;
|
|
2827
2831
|
/**
|
|
2828
2832
|
* The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.
|
|
@@ -2858,12 +2862,25 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
2858
2862
|
*
|
|
2859
2863
|
*/
|
|
2860
2864
|
ports?: string[];
|
|
2865
|
+
/**
|
|
2866
|
+
* Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
|
|
2867
|
+
*
|
|
2868
|
+
*/
|
|
2869
|
+
restart?: string;
|
|
2870
|
+
/**
|
|
2871
|
+
* @deprecated
|
|
2872
|
+
* Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.
|
|
2873
|
+
*/
|
|
2861
2874
|
restartPolicy?: string;
|
|
2862
2875
|
/**
|
|
2863
2876
|
* Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
|
|
2864
2877
|
*
|
|
2865
2878
|
*/
|
|
2866
2879
|
volumes?: string[];
|
|
2880
|
+
/**
|
|
2881
|
+
* Human-readable description of this container.
|
|
2882
|
+
*/
|
|
2883
|
+
"x-description"?: string;
|
|
2867
2884
|
}
|
|
2868
2885
|
interface DeMittwaldContainerDeploy {
|
|
2869
2886
|
resources?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerResources;
|
|
@@ -2889,6 +2906,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
2889
2906
|
*/
|
|
2890
2907
|
command?: string[];
|
|
2891
2908
|
deploy?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerDeploy;
|
|
2909
|
+
/**
|
|
2910
|
+
* @deprecated
|
|
2911
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
2912
|
+
*/
|
|
2892
2913
|
description?: string;
|
|
2893
2914
|
/**
|
|
2894
2915
|
* The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.
|
|
@@ -2924,12 +2945,25 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
2924
2945
|
*
|
|
2925
2946
|
*/
|
|
2926
2947
|
ports?: string[];
|
|
2948
|
+
/**
|
|
2949
|
+
* Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
|
|
2950
|
+
*
|
|
2951
|
+
*/
|
|
2952
|
+
restart?: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* @deprecated
|
|
2955
|
+
* Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.
|
|
2956
|
+
*/
|
|
2927
2957
|
restartPolicy?: string;
|
|
2928
2958
|
/**
|
|
2929
2959
|
* Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
|
|
2930
2960
|
*
|
|
2931
2961
|
*/
|
|
2932
2962
|
volumes?: string[];
|
|
2963
|
+
/**
|
|
2964
|
+
* Human-readable description of this container.
|
|
2965
|
+
*/
|
|
2966
|
+
"x-description"?: string;
|
|
2933
2967
|
}
|
|
2934
2968
|
interface DeMittwaldContainerResourceSpec {
|
|
2935
2969
|
/**
|
|
@@ -4759,7 +4793,7 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
4759
4793
|
* @deprecated
|
|
4760
4794
|
*/
|
|
4761
4795
|
blocked: boolean;
|
|
4762
|
-
context
|
|
4796
|
+
context?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext;
|
|
4763
4797
|
contributorId: string;
|
|
4764
4798
|
deletionDeadline?: string;
|
|
4765
4799
|
deprecation?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionDeprecation;
|
|
@@ -11331,6 +11365,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
11331
11365
|
stackId: string;
|
|
11332
11366
|
};
|
|
11333
11367
|
interface RequestBody {
|
|
11368
|
+
/**
|
|
11369
|
+
* @deprecated
|
|
11370
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
11371
|
+
*/
|
|
11334
11372
|
description?: string;
|
|
11335
11373
|
/**
|
|
11336
11374
|
* A set of containers that should be started in this stack. The key is relevant for
|
|
@@ -11348,8 +11386,9 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
11348
11386
|
[k: string]: MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceRequest;
|
|
11349
11387
|
};
|
|
11350
11388
|
/**
|
|
11351
|
-
*
|
|
11352
|
-
* schedule
|
|
11389
|
+
* @deprecated
|
|
11390
|
+
* Deprecated by 'x-update-schedule' (which takes precedence). This field will be
|
|
11391
|
+
* removed in a future version.
|
|
11353
11392
|
*
|
|
11354
11393
|
*/
|
|
11355
11394
|
updateSchedule?: {
|
|
@@ -11368,6 +11407,22 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
11368
11407
|
volumes?: {
|
|
11369
11408
|
[k: string]: MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeRequest;
|
|
11370
11409
|
};
|
|
11410
|
+
/**
|
|
11411
|
+
* Description of the stack.
|
|
11412
|
+
*/
|
|
11413
|
+
"x-description"?: string;
|
|
11414
|
+
/**
|
|
11415
|
+
* Schedule for automatic image updates of this stack. Set to `null` to remove the
|
|
11416
|
+
* schedule; omit the property to leave it unchanged.
|
|
11417
|
+
*
|
|
11418
|
+
*/
|
|
11419
|
+
"x-update-schedule"?: {
|
|
11420
|
+
cron: string;
|
|
11421
|
+
/**
|
|
11422
|
+
* Valid timezones can be retrieved via GET /v2/time-zones
|
|
11423
|
+
*/
|
|
11424
|
+
timezone?: string;
|
|
11425
|
+
};
|
|
11371
11426
|
}
|
|
11372
11427
|
type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
|
|
11373
11428
|
type Query = {
|
|
@@ -11733,7 +11788,9 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
11733
11788
|
namespace Get {
|
|
11734
11789
|
namespace Parameters {
|
|
11735
11790
|
type Path = {};
|
|
11736
|
-
type Header = {
|
|
11791
|
+
type Header = {
|
|
11792
|
+
"Accept-Language"?: "de" | "en";
|
|
11793
|
+
} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
|
|
11737
11794
|
type Query = {
|
|
11738
11795
|
imageReference: string;
|
|
11739
11796
|
useCredentialsForProjectId?: string;
|
|
@@ -11806,7 +11863,9 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
11806
11863
|
stackId: string;
|
|
11807
11864
|
serviceId: string;
|
|
11808
11865
|
};
|
|
11809
|
-
type Header = {
|
|
11866
|
+
type Header = {
|
|
11867
|
+
"Accept-Language"?: "de" | "en";
|
|
11868
|
+
} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
|
|
11810
11869
|
type Query = {};
|
|
11811
11870
|
}
|
|
11812
11871
|
namespace Responses {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.465.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.466.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",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"test:compile": "run tsc --noEmit"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mittwald/api-client-commons": "^4.
|
|
75
|
+
"@mittwald/api-client-commons": "^4.466.0",
|
|
76
76
|
"browser-or-node": "^3.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@mittwald/api-code-generator": "^4.
|
|
79
|
+
"@mittwald/api-code-generator": "^4.466.0",
|
|
80
80
|
"@mittwald/react-use-promise": "^4.2.3",
|
|
81
81
|
"@types/node": "^22.18.11",
|
|
82
82
|
"@types/react": "^18.3.26",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"optional": true
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "58405d84af2171a4f823242baa066bfad61dfcff"
|
|
110
110
|
}
|