@mittwald/api-client 4.345.0 → 4.346.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.
@@ -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' URI. */
188
- validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
189
187
  /** Validate a Registries' credentials. */
190
188
  validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
191
189
  };
@@ -496,12 +496,6 @@ export const containerStopService = {
496
496
  method: "POST",
497
497
  operationId: "container-stop-service",
498
498
  };
499
- /** Validate a Registries' URI. */
500
- export const containerValidateContainerRegistryUri = {
501
- path: "/v2/actions/validate-container-registry-uri",
502
- method: "POST",
503
- operationId: "container-validate-container-registry-uri",
504
- };
505
499
  /** Validate a Registries' credentials. */
506
500
  export const containerValidateRegistryCredentials = {
507
501
  path: "/v2/registries/{registryId}/actions/validate-credentials",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.344.0';
1
+ export const MittwaldAPIClientVersion = '4.345.0';
@@ -5604,74 +5604,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5604
5604
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5605
5605
  [x: string]: unknown;
5606
5606
  }, 500, "application/json">>>;
5607
- /** Validate a Registries' URI. */
5608
- validateContainerRegistryUri: (request: {
5609
- data: {
5610
- registryUri: string;
5611
- };
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
- data: {
5618
- registryUri: string;
5619
- };
5620
- } & {
5621
- headers?: Partial<{
5622
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
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
- reason?: string | undefined;
5632
- valid: boolean;
5633
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5634
- [x: string]: unknown;
5635
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5636
- [x: string]: unknown;
5637
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5638
- [x: string]: unknown;
5639
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5640
- [x: string]: unknown;
5641
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5642
- [x: string]: unknown;
5643
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5644
- [x: string]: unknown;
5645
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5646
- data: {
5647
- registryUri: string;
5648
- };
5649
- } & {
5650
- headers?: Partial<{
5651
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5652
- }>;
5653
- } & {
5654
- headers: {
5655
- "x-access-token"?: string | undefined;
5656
- } & Partial<{
5657
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5658
- }>;
5659
- }, import("@mittwald/api-client-commons").Response<{
5660
- reason?: string | undefined;
5661
- valid: boolean;
5662
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5663
- [x: string]: unknown;
5664
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5665
- [x: string]: unknown;
5666
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5667
- [x: string]: unknown;
5668
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5669
- [x: string]: unknown;
5670
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5671
- [x: string]: unknown;
5672
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5673
- [x: string]: unknown;
5674
- }, 500, "application/json">>>;
5675
5607
  /** Validate a Registries' credentials. */
5676
5608
  validateRegistryCredentials: (request: {
5677
5609
  registryId: string;
@@ -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' URI. */
173
- export declare const containerValidateContainerRegistryUri: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsValidateContainerRegistryUri.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
174
172
  /** Validate a Registries' credentials. */
175
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">>;
176
174
  /** Schedule the Termination of a 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 ContainerValidateContainerRegistryUri {
338
- type RequestData = InferredRequestData<typeof descriptors.containerValidateContainerRegistryUri>;
339
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerValidateContainerRegistryUri, TStatus>;
340
- }
341
337
  namespace ContainerValidateRegistryCredentials {
342
338
  type RequestData = InferredRequestData<typeof descriptors.containerValidateRegistryCredentials>;
343
339
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerValidateRegistryCredentials, TStatus>;
@@ -10861,80 +10857,6 @@ export declare namespace MittwaldAPIV2 {
10861
10857
  }
10862
10858
  }
10863
10859
  }
10864
- namespace V2ActionsValidateContainerRegistryUri {
10865
- namespace Post {
10866
- namespace Parameters {
10867
- type Path = {};
10868
- /**
10869
- * The Registry URI to validate.
10870
- */
10871
- interface RequestBody {
10872
- registryUri: string;
10873
- }
10874
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10875
- type Query = {};
10876
- }
10877
- namespace Responses {
10878
- namespace $200 {
10879
- namespace Content {
10880
- interface ApplicationJson {
10881
- reason?: string;
10882
- valid: boolean;
10883
- }
10884
- }
10885
- }
10886
- namespace $400 {
10887
- namespace Content {
10888
- interface ApplicationJson {
10889
- [k: string]: unknown;
10890
- }
10891
- }
10892
- }
10893
- namespace $403 {
10894
- namespace Content {
10895
- interface ApplicationJson {
10896
- [k: string]: unknown;
10897
- }
10898
- }
10899
- }
10900
- namespace $404 {
10901
- namespace Content {
10902
- interface ApplicationJson {
10903
- [k: string]: unknown;
10904
- }
10905
- }
10906
- }
10907
- namespace $412 {
10908
- namespace Content {
10909
- interface ApplicationJson {
10910
- [k: string]: unknown;
10911
- }
10912
- }
10913
- }
10914
- namespace $429 {
10915
- namespace Content {
10916
- interface ApplicationJson {
10917
- [k: string]: unknown;
10918
- }
10919
- }
10920
- }
10921
- namespace $500 {
10922
- namespace Content {
10923
- interface ApplicationJson {
10924
- [k: string]: unknown;
10925
- }
10926
- }
10927
- }
10928
- namespace Default {
10929
- namespace Content {
10930
- interface ApplicationJson {
10931
- [k: string]: unknown;
10932
- }
10933
- }
10934
- }
10935
- }
10936
- }
10937
- }
10938
10860
  namespace V2RegistriesRegistryIdActionsValidateCredentials {
10939
10861
  namespace Post {
10940
10862
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.344.0';
1
+ export declare const MittwaldAPIClientVersion = '4.345.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.345.0",
3
+ "version": "4.346.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.345.0",
49
+ "@mittwald/api-client-commons": "^4.346.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.345.0",
53
+ "@mittwald/api-code-generator": "^4.346.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": "4aa37ebce183c8f0abe5f1373f421782bde34192"
83
+ "gitHead": "44bab1b4e829fa0506dbf2bd04231240e6633302"
84
84
  }