@mittwald/api-client 4.349.0 → 4.350.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.js +0 -2
- package/dist/esm/generated/v2/descriptors.js +0 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client.d.ts +0 -64
- package/dist/types/generated/v2/descriptors.d.ts +0 -2
- package/dist/types/generated/v2/types.d.ts +0 -73
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -184,8 +184,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
184
184
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
185
185
|
/** Stop a started Service. */
|
|
186
186
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
187
|
-
/** Validate a Registries' credentials. */
|
|
188
|
-
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
189
187
|
};
|
|
190
188
|
/** The contract API allows you to manage your contracts and orders */
|
|
191
189
|
contract = {
|
|
@@ -496,12 +496,6 @@ export const containerStopService = {
|
|
|
496
496
|
method: "POST",
|
|
497
497
|
operationId: "container-stop-service",
|
|
498
498
|
};
|
|
499
|
-
/** Validate a Registries' credentials. */
|
|
500
|
-
export const containerValidateRegistryCredentials = {
|
|
501
|
-
path: "/v2/registries/{registryId}/actions/validate-credentials",
|
|
502
|
-
method: "POST",
|
|
503
|
-
operationId: "container-validate-registry-credentials",
|
|
504
|
-
};
|
|
505
499
|
/** Schedule the Termination of a ContractItem. */
|
|
506
500
|
export const contractTerminateContractItem = {
|
|
507
501
|
path: "/v2/contracts/{contractId}/items/{contractItemId}/termination",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.349.0';
|
|
@@ -5606,70 +5606,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5606
5606
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5607
5607
|
[x: string]: unknown;
|
|
5608
5608
|
}, 500, "application/json">>>;
|
|
5609
|
-
/** Validate a Registries' credentials. */
|
|
5610
|
-
validateRegistryCredentials: (request: {
|
|
5611
|
-
registryId: string;
|
|
5612
|
-
headers?: {
|
|
5613
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5614
|
-
"x-access-token"?: string | undefined;
|
|
5615
|
-
} | undefined;
|
|
5616
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5617
|
-
headers?: Partial<{
|
|
5618
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5619
|
-
}>;
|
|
5620
|
-
} & {
|
|
5621
|
-
pathParameters: {
|
|
5622
|
-
registryId: string;
|
|
5623
|
-
};
|
|
5624
|
-
} & {
|
|
5625
|
-
headers: {
|
|
5626
|
-
"x-access-token"?: string | undefined;
|
|
5627
|
-
} & Partial<{
|
|
5628
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5629
|
-
}>;
|
|
5630
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
5631
|
-
valid: boolean;
|
|
5632
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5633
|
-
[x: string]: unknown;
|
|
5634
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5635
|
-
[x: string]: unknown;
|
|
5636
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5637
|
-
[x: string]: unknown;
|
|
5638
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5639
|
-
[x: string]: unknown;
|
|
5640
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5641
|
-
[x: string]: unknown;
|
|
5642
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5643
|
-
[x: string]: unknown;
|
|
5644
|
-
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5645
|
-
headers?: Partial<{
|
|
5646
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5647
|
-
}>;
|
|
5648
|
-
} & {
|
|
5649
|
-
pathParameters: {
|
|
5650
|
-
registryId: string;
|
|
5651
|
-
};
|
|
5652
|
-
} & {
|
|
5653
|
-
headers: {
|
|
5654
|
-
"x-access-token"?: string | undefined;
|
|
5655
|
-
} & Partial<{
|
|
5656
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5657
|
-
}>;
|
|
5658
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
5659
|
-
valid: boolean;
|
|
5660
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5661
|
-
[x: string]: unknown;
|
|
5662
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5663
|
-
[x: string]: unknown;
|
|
5664
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5665
|
-
[x: string]: unknown;
|
|
5666
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5667
|
-
[x: string]: unknown;
|
|
5668
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5669
|
-
[x: string]: unknown;
|
|
5670
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5671
|
-
[x: string]: unknown;
|
|
5672
|
-
}, 500, "application/json">>>;
|
|
5673
5609
|
};
|
|
5674
5610
|
/** The contract API allows you to manage your contracts and orders */
|
|
5675
5611
|
readonly contract: {
|
|
@@ -169,8 +169,6 @@ export declare const containerSetStackUpdateSchedule: OpenAPIOperation<RequestTy
|
|
|
169
169
|
export declare const containerStartService: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStart.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
170
170
|
/** Stop a started Service. */
|
|
171
171
|
export declare const containerStopService: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdActionsStop.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
172
|
-
/** Validate a Registries' credentials. */
|
|
173
|
-
export declare const containerValidateRegistryCredentials: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RegistriesRegistryIdActionsValidateCredentials.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
174
172
|
/** Schedule the Termination of a ContractItem. */
|
|
175
173
|
export declare const contractTerminateContractItem: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContractsContractIdItemsContractItemIdTermination.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
176
174
|
/** Cancel the Termination for the referred ContractItem. */
|
|
@@ -334,10 +334,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
334
334
|
type RequestData = InferredRequestData<typeof descriptors.containerStopService>;
|
|
335
335
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerStopService, TStatus>;
|
|
336
336
|
}
|
|
337
|
-
namespace ContainerValidateRegistryCredentials {
|
|
338
|
-
type RequestData = InferredRequestData<typeof descriptors.containerValidateRegistryCredentials>;
|
|
339
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerValidateRegistryCredentials, TStatus>;
|
|
340
|
-
}
|
|
341
337
|
namespace ContractTerminateContractItem {
|
|
342
338
|
type RequestData = InferredRequestData<typeof descriptors.contractTerminateContractItem>;
|
|
343
339
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractTerminateContractItem, TStatus>;
|
|
@@ -10858,75 +10854,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
10858
10854
|
}
|
|
10859
10855
|
}
|
|
10860
10856
|
}
|
|
10861
|
-
namespace V2RegistriesRegistryIdActionsValidateCredentials {
|
|
10862
|
-
namespace Post {
|
|
10863
|
-
namespace Parameters {
|
|
10864
|
-
type Path = {
|
|
10865
|
-
registryId: string;
|
|
10866
|
-
};
|
|
10867
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10868
|
-
type Query = {};
|
|
10869
|
-
}
|
|
10870
|
-
namespace Responses {
|
|
10871
|
-
namespace $200 {
|
|
10872
|
-
namespace Content {
|
|
10873
|
-
interface ApplicationJson {
|
|
10874
|
-
valid: boolean;
|
|
10875
|
-
}
|
|
10876
|
-
}
|
|
10877
|
-
}
|
|
10878
|
-
namespace $400 {
|
|
10879
|
-
namespace Content {
|
|
10880
|
-
interface ApplicationJson {
|
|
10881
|
-
[k: string]: unknown;
|
|
10882
|
-
}
|
|
10883
|
-
}
|
|
10884
|
-
}
|
|
10885
|
-
namespace $403 {
|
|
10886
|
-
namespace Content {
|
|
10887
|
-
interface ApplicationJson {
|
|
10888
|
-
[k: string]: unknown;
|
|
10889
|
-
}
|
|
10890
|
-
}
|
|
10891
|
-
}
|
|
10892
|
-
namespace $404 {
|
|
10893
|
-
namespace Content {
|
|
10894
|
-
interface ApplicationJson {
|
|
10895
|
-
[k: string]: unknown;
|
|
10896
|
-
}
|
|
10897
|
-
}
|
|
10898
|
-
}
|
|
10899
|
-
namespace $412 {
|
|
10900
|
-
namespace Content {
|
|
10901
|
-
interface ApplicationJson {
|
|
10902
|
-
[k: string]: unknown;
|
|
10903
|
-
}
|
|
10904
|
-
}
|
|
10905
|
-
}
|
|
10906
|
-
namespace $429 {
|
|
10907
|
-
namespace Content {
|
|
10908
|
-
interface ApplicationJson {
|
|
10909
|
-
[k: string]: unknown;
|
|
10910
|
-
}
|
|
10911
|
-
}
|
|
10912
|
-
}
|
|
10913
|
-
namespace $500 {
|
|
10914
|
-
namespace Content {
|
|
10915
|
-
interface ApplicationJson {
|
|
10916
|
-
[k: string]: unknown;
|
|
10917
|
-
}
|
|
10918
|
-
}
|
|
10919
|
-
}
|
|
10920
|
-
namespace Default {
|
|
10921
|
-
namespace Content {
|
|
10922
|
-
interface ApplicationJson {
|
|
10923
|
-
[k: string]: unknown;
|
|
10924
|
-
}
|
|
10925
|
-
}
|
|
10926
|
-
}
|
|
10927
|
-
}
|
|
10928
|
-
}
|
|
10929
|
-
}
|
|
10930
10857
|
namespace V2ContractsContractIdItemsContractItemIdTermination {
|
|
10931
10858
|
namespace Post {
|
|
10932
10859
|
namespace Parameters {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.349.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.350.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.350.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.350.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": "c963cd7a0eac2916c06686ec048eb83f2a9778b8"
|
|
84
84
|
}
|