@mittwald/api-client 4.235.0 → 4.236.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.
@@ -70,6 +70,8 @@ const buildContainerApi = (baseClient) => ({
70
70
  listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
71
71
  /** List Volumes belonging to a Project. */
72
72
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
73
+ /** List Volumes belonging to a Stack. */
74
+ listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
73
75
  });
74
76
  const buildContractApi = (baseClient) => ({
75
77
  /** Return the BaseItem of the Contract with the given ID. */
@@ -137,6 +137,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
137
137
  validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
138
138
  /** Validate a Registries' credentials. */
139
139
  validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
140
+ /** List Volumes belonging to a Stack. */
141
+ listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
140
142
  };
141
143
  /** The contract API allows you to manage your contracts and orders */
142
144
  contract = {
@@ -2560,3 +2560,9 @@ export const leadfyndrCreateLeadsExport = {
2560
2560
  method: "POST",
2561
2561
  operationId: "leadfyndr-create-leads-export",
2562
2562
  };
2563
+ /** List Volumes belonging to a Stack. */
2564
+ export const containerListStackVolumes = {
2565
+ path: "/v2/stacks/{stackId}/volumes",
2566
+ method: "GET",
2567
+ operationId: "container-list-stack-volumes",
2568
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.234.0';
1
+ export const MittwaldAPIClientVersion = '4.235.0';
@@ -521,6 +521,22 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
521
521
  page?: number | undefined;
522
522
  } | undefined;
523
523
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
524
+ /** List Volumes belonging to a Stack. */
525
+ listStackVolumes: (conf: {
526
+ stackId: string;
527
+ headers?: {
528
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
529
+ "x-access-token"?: string | undefined;
530
+ } | undefined;
531
+ queryParameters?: {
532
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
533
+ searchTerm?: string | undefined;
534
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
535
+ limit?: number | undefined;
536
+ skip?: number | undefined;
537
+ page?: number | undefined;
538
+ } | undefined;
539
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
524
540
  };
525
541
  declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
526
542
  /** Return the BaseItem of the Contract with the given ID. */
@@ -797,12 +813,12 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
797
813
  } | undefined;
798
814
  queryParameters?: {
799
815
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
800
- limit?: number | undefined;
801
- skip?: number | undefined;
802
- page?: number | undefined;
803
816
  includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
804
817
  excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
805
818
  templateNames?: string[] | undefined;
819
+ limit?: number | undefined;
820
+ skip?: number | undefined;
821
+ page?: number | undefined;
806
822
  } | undefined;
807
823
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
808
824
  /** Get Order for Customer. */
@@ -4114,6 +4114,86 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4114
4114
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
4115
4115
  [x: string]: unknown;
4116
4116
  }, 500, "application/json">>>;
4117
+ /** List Volumes belonging to a Stack. */
4118
+ listStackVolumes: (request: {
4119
+ stackId: string;
4120
+ headers?: {
4121
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4122
+ "x-access-token"?: string | undefined;
4123
+ } | undefined;
4124
+ queryParameters?: {
4125
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4126
+ searchTerm?: string | undefined;
4127
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
4128
+ limit?: number | undefined;
4129
+ skip?: number | undefined;
4130
+ page?: number | undefined;
4131
+ } | undefined;
4132
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
4133
+ headers?: Partial<{
4134
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4135
+ }>;
4136
+ } & {
4137
+ pathParameters: {
4138
+ stackId: string;
4139
+ };
4140
+ } & {
4141
+ queryParameters: {
4142
+ searchTerm?: string | undefined;
4143
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
4144
+ limit?: number | undefined;
4145
+ skip?: number | undefined;
4146
+ page?: number | undefined;
4147
+ } & Partial<{
4148
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4149
+ }>;
4150
+ } & {
4151
+ headers: {
4152
+ "x-access-token"?: string | undefined;
4153
+ } & Partial<{
4154
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4155
+ }>;
4156
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4157
+ [x: string]: unknown;
4158
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
4159
+ [x: string]: unknown;
4160
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
4161
+ [x: string]: unknown;
4162
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
4163
+ [x: string]: unknown;
4164
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4165
+ headers?: Partial<{
4166
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4167
+ }>;
4168
+ } & {
4169
+ pathParameters: {
4170
+ stackId: string;
4171
+ };
4172
+ } & {
4173
+ queryParameters: {
4174
+ searchTerm?: string | undefined;
4175
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder | undefined;
4176
+ limit?: number | undefined;
4177
+ skip?: number | undefined;
4178
+ page?: number | undefined;
4179
+ } & Partial<{
4180
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4181
+ }>;
4182
+ } & {
4183
+ headers: {
4184
+ "x-access-token"?: string | undefined;
4185
+ } & Partial<{
4186
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4187
+ }>;
4188
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4189
+ [x: string]: unknown;
4190
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
4191
+ [x: string]: unknown;
4192
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
4193
+ [x: string]: unknown;
4194
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
4195
+ [x: string]: unknown;
4196
+ }, 500, "application/json">>>;
4117
4197
  };
4118
4198
  /** The contract API allows you to manage your contracts and orders */
4119
4199
  readonly contract: {
@@ -5580,12 +5660,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5580
5660
  } | undefined;
5581
5661
  queryParameters?: {
5582
5662
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5583
- limit?: number | undefined;
5584
- skip?: number | undefined;
5585
- page?: number | undefined;
5586
5663
  includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
5587
5664
  excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
5588
5665
  templateNames?: string[] | undefined;
5666
+ limit?: number | undefined;
5667
+ skip?: number | undefined;
5668
+ page?: number | undefined;
5589
5669
  } | undefined;
5590
5670
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5591
5671
  headers?: Partial<{
@@ -5593,12 +5673,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5593
5673
  }>;
5594
5674
  } & {
5595
5675
  queryParameters: {
5596
- limit?: number | undefined;
5597
- skip?: number | undefined;
5598
- page?: number | undefined;
5599
5676
  includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
5600
5677
  excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
5601
5678
  templateNames?: string[] | undefined;
5679
+ limit?: number | undefined;
5680
+ skip?: number | undefined;
5681
+ page?: number | undefined;
5602
5682
  } & Partial<{
5603
5683
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5604
5684
  }>;
@@ -5616,12 +5696,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5616
5696
  }>;
5617
5697
  } & {
5618
5698
  queryParameters: {
5619
- limit?: number | undefined;
5620
- skip?: number | undefined;
5621
- page?: number | undefined;
5622
5699
  includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
5623
5700
  excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
5624
5701
  templateNames?: string[] | undefined;
5702
+ limit?: number | undefined;
5703
+ skip?: number | undefined;
5704
+ page?: number | undefined;
5625
5705
  } & Partial<{
5626
5706
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5627
5707
  }>;
@@ -857,3 +857,5 @@ export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Sim
857
857
  export declare const leadfyndrGetLeadsExportHistory: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExports.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
858
858
  /** Create an export of unlocked leads for the given customerId. */
859
859
  export declare const leadfyndrCreateLeadsExport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$200.Content.TextCsv>, 200, "text/csv"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdUnlockedLeadsExport.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
860
+ /** List Volumes belonging to a Stack. */
861
+ export declare const containerListStackVolumes: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdVolumes.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1710,6 +1710,10 @@ export declare namespace MittwaldAPIV2 {
1710
1710
  type RequestData = InferredRequestData<typeof descriptors.leadfyndrCreateLeadsExport>;
1711
1711
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.leadfyndrCreateLeadsExport, TStatus>;
1712
1712
  }
1713
+ namespace ContainerListStackVolumes {
1714
+ type RequestData = InferredRequestData<typeof descriptors.containerListStackVolumes>;
1715
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListStackVolumes, TStatus>;
1716
+ }
1713
1717
  }
1714
1718
  namespace Components {
1715
1719
  namespace Schemas {
@@ -20788,12 +20792,12 @@ export declare namespace MittwaldAPIV2 {
20788
20792
  type Path = {};
20789
20793
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20790
20794
  type Query = {
20791
- limit?: number;
20792
- skip?: number;
20793
- page?: number;
20794
20795
  includesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[];
20795
20796
  excludesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[];
20796
20797
  templateNames?: string[];
20798
+ limit?: number;
20799
+ skip?: number;
20800
+ page?: number;
20797
20801
  };
20798
20802
  }
20799
20803
  namespace Responses {
@@ -27151,5 +27155,64 @@ export declare namespace MittwaldAPIV2 {
27151
27155
  }
27152
27156
  }
27153
27157
  }
27158
+ namespace V2StacksStackIdVolumes {
27159
+ namespace Get {
27160
+ namespace Parameters {
27161
+ type Path = {
27162
+ stackId: string;
27163
+ };
27164
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27165
+ type Query = {
27166
+ searchTerm?: string;
27167
+ sortOrder?: MittwaldAPIV2.Components.Schemas.ContainerVolumeSortOrder;
27168
+ limit?: number;
27169
+ skip?: number;
27170
+ page?: number;
27171
+ };
27172
+ }
27173
+ namespace Responses {
27174
+ namespace $200 {
27175
+ namespace Content {
27176
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[];
27177
+ }
27178
+ }
27179
+ namespace $400 {
27180
+ namespace Content {
27181
+ interface ApplicationJson {
27182
+ [k: string]: unknown;
27183
+ }
27184
+ }
27185
+ }
27186
+ namespace $403 {
27187
+ namespace Content {
27188
+ interface ApplicationJson {
27189
+ [k: string]: unknown;
27190
+ }
27191
+ }
27192
+ }
27193
+ namespace $429 {
27194
+ namespace Content {
27195
+ interface ApplicationJson {
27196
+ [k: string]: unknown;
27197
+ }
27198
+ }
27199
+ }
27200
+ namespace $500 {
27201
+ namespace Content {
27202
+ interface ApplicationJson {
27203
+ [k: string]: unknown;
27204
+ }
27205
+ }
27206
+ }
27207
+ namespace Default {
27208
+ namespace Content {
27209
+ interface ApplicationJson {
27210
+ [k: string]: unknown;
27211
+ }
27212
+ }
27213
+ }
27214
+ }
27215
+ }
27216
+ }
27154
27217
  }
27155
27218
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.234.0';
1
+ export declare const MittwaldAPIClientVersion = '4.235.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.235.0",
3
+ "version": "4.236.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",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "eadd93adc5353e7b754b400916fcc593bf60c92d"
83
+ "gitHead": "bbbfd8abe4dcfc1d9f991e5550ddcea2dc509658"
84
84
  }