@commercetools/importapi-sdk 2.5.0 → 3.0.1
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/CHANGELOG.md +46 -0
- package/README.md +1 -1
- package/dist/commercetools-importapi-sdk.browser.cjs.js +247 -1383
- package/dist/commercetools-importapi-sdk.browser.esm.js +247 -1383
- package/dist/commercetools-importapi-sdk.cjs.dev.js +247 -1383
- package/dist/commercetools-importapi-sdk.cjs.prod.js +247 -1383
- package/dist/commercetools-importapi-sdk.esm.js +247 -1383
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +4 -4
- package/dist/declarations/src/generated/client/categories/by-project-key-categories-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/customers/by-project-key-customers-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/{import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts → import-containers/by-project-key-inventories-import-containers-by-import-container-key-request-builder.d.ts} +10 -10
- package/dist/declarations/src/generated/client/{import-operations/by-project-key-categories-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts → import-containers/by-project-key-inventories-import-containers-request-builder.d.ts} +7 -16
- package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-by-id-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-containers-by-import-container-key-import-summaries-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/{import-summaries/by-project-key-import-summaries-request-builder.d.ts → inventories/by-project-key-inventories-request-builder.d.ts} +5 -5
- package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/orders/by-project-key-orders-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/prices/by-project-key-prices-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/products/by-project-key-products-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/index.d.ts +1 -1
- package/dist/declarations/src/generated/models/common.d.ts +5 -4
- package/dist/declarations/src/generated/models/customers.d.ts +5 -0
- package/dist/declarations/src/generated/models/customfields.d.ts +2 -2
- package/dist/declarations/src/generated/models/errors.d.ts +2 -2
- package/dist/declarations/src/generated/models/importcontainers.d.ts +1 -2
- package/dist/declarations/src/generated/models/importoperations.d.ts +2 -3
- package/dist/declarations/src/generated/models/importrequests.d.ts +23 -9
- package/dist/declarations/src/generated/models/inventories.d.ts +49 -0
- package/dist/declarations/src/generated/models/order-patches.d.ts +2 -2
- package/dist/declarations/src/generated/models/orders.d.ts +6 -1
- package/dist/declarations/src/generated/models/prices.d.ts +8 -8
- package/dist/declarations/src/generated/models/productdrafts.d.ts +8 -2
- package/dist/declarations/src/generated/models/products.d.ts +8 -2
- package/dist/declarations/src/generated/models/productvariants.d.ts +4 -4
- package/package.json +11 -5
- package/dist/declarations/src/generated/client/categories/by-project-key-categories-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/customers/by-project-key-customers-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-categories-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -49
- package/dist/declarations/src/generated/client/import-operations/by-project-key-customers-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-customers-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-sinks/by-project-key-import-sinks-by-import-sink-key-request-builder.d.ts +0 -51
- package/dist/declarations/src/generated/client/import-sinks/by-project-key-import-sinks-request-builder.d.ts +0 -51
- package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-summaries-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/orders/by-project-key-orders-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/prices/by-project-key-prices-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -38
- package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/products/by-project-key-products-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/models/importsinks.d.ts +0 -113
|
@@ -104,6 +104,9 @@ class ApiRequest {
|
|
|
104
104
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
105
105
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
106
106
|
*/
|
|
107
|
+
/**
|
|
108
|
+
**/
|
|
109
|
+
|
|
107
110
|
class ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
108
111
|
constructor(args) {
|
|
109
112
|
this.args = args;
|
|
@@ -134,6 +137,9 @@ class ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
134
137
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
135
138
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
136
139
|
*/
|
|
140
|
+
/**
|
|
141
|
+
**/
|
|
142
|
+
|
|
137
143
|
class ByProjectKeyCategoriesImportContainersRequestBuilder {
|
|
138
144
|
constructor(args) {
|
|
139
145
|
this.args = args;
|
|
@@ -156,112 +162,9 @@ class ByProjectKeyCategoriesImportContainersRequestBuilder {
|
|
|
156
162
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
157
163
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
158
164
|
*/
|
|
159
|
-
class ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
160
|
-
constructor(args) {
|
|
161
|
-
this.args = args;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Retrieves the ImportOperation of a given ID.
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
get(methodArgs) {
|
|
170
|
-
return new ApiRequest({
|
|
171
|
-
baseUri: this.args.baseUri,
|
|
172
|
-
method: 'GET',
|
|
173
|
-
uriTemplate: '/{projectKey}/categories/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
174
|
-
pathVariables: this.args.pathArgs,
|
|
175
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
176
|
-
}
|
|
177
|
-
}, this.args.executeRequest);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
184
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
185
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
186
|
-
*/
|
|
187
|
-
class ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
188
|
-
constructor(args) {
|
|
189
|
-
this.args = args;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
withIdValue(childPathArgs) {
|
|
193
|
-
return new ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
194
|
-
pathArgs: { ...this.args.pathArgs,
|
|
195
|
-
...childPathArgs
|
|
196
|
-
},
|
|
197
|
-
executeRequest: this.args.executeRequest,
|
|
198
|
-
baseUri: this.args.baseUri
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Retrieves all category import operations of an import sink key.
|
|
203
|
-
*
|
|
204
|
-
*/
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
get(methodArgs) {
|
|
208
|
-
return new ApiRequest({
|
|
209
|
-
baseUri: this.args.baseUri,
|
|
210
|
-
method: 'GET',
|
|
211
|
-
uriTemplate: '/{projectKey}/categories/importSinkKey={importSinkKey}/import-operations',
|
|
212
|
-
pathVariables: this.args.pathArgs,
|
|
213
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
214
|
-
},
|
|
215
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
216
|
-
}, this.args.executeRequest);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
165
|
/**
|
|
222
|
-
|
|
223
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
224
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
225
|
-
*/
|
|
226
|
-
class ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
227
|
-
constructor(args) {
|
|
228
|
-
this.args = args;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
importOperations() {
|
|
232
|
-
return new ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
233
|
-
pathArgs: { ...this.args.pathArgs
|
|
234
|
-
},
|
|
235
|
-
executeRequest: this.args.executeRequest,
|
|
236
|
-
baseUri: this.args.baseUri
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Creates import request for creating new categories or updating existing ones.
|
|
241
|
-
*/
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
post(methodArgs) {
|
|
245
|
-
return new ApiRequest({
|
|
246
|
-
baseUri: this.args.baseUri,
|
|
247
|
-
method: 'POST',
|
|
248
|
-
uriTemplate: '/{projectKey}/categories/importSinkKey={importSinkKey}',
|
|
249
|
-
pathVariables: this.args.pathArgs,
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/json',
|
|
252
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
253
|
-
},
|
|
254
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
255
|
-
}, this.args.executeRequest);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
}
|
|
166
|
+
**/
|
|
259
167
|
|
|
260
|
-
/**
|
|
261
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
262
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
263
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
264
|
-
*/
|
|
265
168
|
class ByProjectKeyCategoriesRequestBuilder {
|
|
266
169
|
constructor(args) {
|
|
267
170
|
this.args = args;
|
|
@@ -276,16 +179,6 @@ class ByProjectKeyCategoriesRequestBuilder {
|
|
|
276
179
|
});
|
|
277
180
|
}
|
|
278
181
|
|
|
279
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
280
|
-
return new ByProjectKeyCategoriesImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
281
|
-
pathArgs: { ...this.args.pathArgs,
|
|
282
|
-
...childPathArgs
|
|
283
|
-
},
|
|
284
|
-
executeRequest: this.args.executeRequest,
|
|
285
|
-
baseUri: this.args.baseUri
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
|
|
289
182
|
}
|
|
290
183
|
|
|
291
184
|
/**
|
|
@@ -293,6 +186,9 @@ class ByProjectKeyCategoriesRequestBuilder {
|
|
|
293
186
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
294
187
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
295
188
|
*/
|
|
189
|
+
/**
|
|
190
|
+
**/
|
|
191
|
+
|
|
296
192
|
class ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder {
|
|
297
193
|
constructor(args) {
|
|
298
194
|
this.args = args;
|
|
@@ -323,6 +219,9 @@ class ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
323
219
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
324
220
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
325
221
|
*/
|
|
222
|
+
/**
|
|
223
|
+
**/
|
|
224
|
+
|
|
326
225
|
class ByProjectKeyCustomersImportContainersRequestBuilder {
|
|
327
226
|
constructor(args) {
|
|
328
227
|
this.args = args;
|
|
@@ -345,111 +244,9 @@ class ByProjectKeyCustomersImportContainersRequestBuilder {
|
|
|
345
244
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
346
245
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
347
246
|
*/
|
|
348
|
-
class ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
349
|
-
constructor(args) {
|
|
350
|
-
this.args = args;
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
* Retrieves the import operation with the given id.
|
|
354
|
-
*
|
|
355
|
-
*/
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
get(methodArgs) {
|
|
359
|
-
return new ApiRequest({
|
|
360
|
-
baseUri: this.args.baseUri,
|
|
361
|
-
method: 'GET',
|
|
362
|
-
uriTemplate: '/{projectKey}/customers/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
363
|
-
pathVariables: this.args.pathArgs,
|
|
364
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
365
|
-
}
|
|
366
|
-
}, this.args.executeRequest);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
373
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
374
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
375
|
-
*/
|
|
376
|
-
class ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
377
|
-
constructor(args) {
|
|
378
|
-
this.args = args;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
withIdValue(childPathArgs) {
|
|
382
|
-
return new ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
383
|
-
pathArgs: { ...this.args.pathArgs,
|
|
384
|
-
...childPathArgs
|
|
385
|
-
},
|
|
386
|
-
executeRequest: this.args.executeRequest,
|
|
387
|
-
baseUri: this.args.baseUri
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Retrieves all customer import operations of an import sink key.
|
|
392
|
-
*/
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
get(methodArgs) {
|
|
396
|
-
return new ApiRequest({
|
|
397
|
-
baseUri: this.args.baseUri,
|
|
398
|
-
method: 'GET',
|
|
399
|
-
uriTemplate: '/{projectKey}/customers/importSinkKey={importSinkKey}/import-operations',
|
|
400
|
-
pathVariables: this.args.pathArgs,
|
|
401
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
402
|
-
},
|
|
403
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
404
|
-
}, this.args.executeRequest);
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
}
|
|
408
|
-
|
|
409
247
|
/**
|
|
410
|
-
|
|
411
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
412
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
413
|
-
*/
|
|
414
|
-
class ByProjectKeyCustomersImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
415
|
-
constructor(args) {
|
|
416
|
-
this.args = args;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
importOperations() {
|
|
420
|
-
return new ByProjectKeyCustomersImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
421
|
-
pathArgs: { ...this.args.pathArgs
|
|
422
|
-
},
|
|
423
|
-
executeRequest: this.args.executeRequest,
|
|
424
|
-
baseUri: this.args.baseUri
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* Creates import request for creating new customers or updating existing ones.
|
|
429
|
-
*/
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
post(methodArgs) {
|
|
433
|
-
return new ApiRequest({
|
|
434
|
-
baseUri: this.args.baseUri,
|
|
435
|
-
method: 'POST',
|
|
436
|
-
uriTemplate: '/{projectKey}/customers/importSinkKey={importSinkKey}',
|
|
437
|
-
pathVariables: this.args.pathArgs,
|
|
438
|
-
headers: {
|
|
439
|
-
'Content-Type': 'application/json',
|
|
440
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
441
|
-
},
|
|
442
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
443
|
-
}, this.args.executeRequest);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
}
|
|
248
|
+
**/
|
|
447
249
|
|
|
448
|
-
/**
|
|
449
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
450
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
451
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
452
|
-
*/
|
|
453
250
|
class ByProjectKeyCustomersRequestBuilder {
|
|
454
251
|
constructor(args) {
|
|
455
252
|
this.args = args;
|
|
@@ -464,16 +261,6 @@ class ByProjectKeyCustomersRequestBuilder {
|
|
|
464
261
|
});
|
|
465
262
|
}
|
|
466
263
|
|
|
467
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
468
|
-
return new ByProjectKeyCustomersImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
469
|
-
pathArgs: { ...this.args.pathArgs,
|
|
470
|
-
...childPathArgs
|
|
471
|
-
},
|
|
472
|
-
executeRequest: this.args.executeRequest,
|
|
473
|
-
baseUri: this.args.baseUri
|
|
474
|
-
});
|
|
475
|
-
}
|
|
476
|
-
|
|
477
264
|
}
|
|
478
265
|
|
|
479
266
|
/**
|
|
@@ -481,6 +268,9 @@ class ByProjectKeyCustomersRequestBuilder {
|
|
|
481
268
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
482
269
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
483
270
|
*/
|
|
271
|
+
/**
|
|
272
|
+
**/
|
|
273
|
+
|
|
484
274
|
class ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder {
|
|
485
275
|
constructor(args) {
|
|
486
276
|
this.args = args;
|
|
@@ -510,6 +300,9 @@ class ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBui
|
|
|
510
300
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
511
301
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
512
302
|
*/
|
|
303
|
+
/**
|
|
304
|
+
**/
|
|
305
|
+
|
|
513
306
|
class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder {
|
|
514
307
|
constructor(args) {
|
|
515
308
|
this.args = args;
|
|
@@ -538,6 +331,9 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
538
331
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
539
332
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
540
333
|
*/
|
|
334
|
+
/**
|
|
335
|
+
**/
|
|
336
|
+
|
|
541
337
|
class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
542
338
|
constructor(args) {
|
|
543
339
|
this.args = args;
|
|
@@ -616,6 +412,9 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
616
412
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
617
413
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
618
414
|
*/
|
|
415
|
+
/**
|
|
416
|
+
**/
|
|
417
|
+
|
|
619
418
|
class ByProjectKeyImportContainersRequestBuilder {
|
|
620
419
|
constructor(args) {
|
|
621
420
|
this.args = args;
|
|
@@ -672,6 +471,9 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
672
471
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
673
472
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
674
473
|
*/
|
|
474
|
+
/**
|
|
475
|
+
**/
|
|
476
|
+
|
|
675
477
|
class ByProjectKeyImportOperationsByIdRequestBuilder {
|
|
676
478
|
constructor(args) {
|
|
677
479
|
this.args = args;
|
|
@@ -700,6 +502,9 @@ class ByProjectKeyImportOperationsByIdRequestBuilder {
|
|
|
700
502
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
701
503
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
702
504
|
*/
|
|
505
|
+
/**
|
|
506
|
+
**/
|
|
507
|
+
|
|
703
508
|
class ByProjectKeyImportOperationsRequestBuilder {
|
|
704
509
|
constructor(args) {
|
|
705
510
|
this.args = args;
|
|
@@ -722,20 +527,23 @@ class ByProjectKeyImportOperationsRequestBuilder {
|
|
|
722
527
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
723
528
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
724
529
|
*/
|
|
725
|
-
|
|
530
|
+
/**
|
|
531
|
+
**/
|
|
532
|
+
|
|
533
|
+
class ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
726
534
|
constructor(args) {
|
|
727
535
|
this.args = args;
|
|
728
536
|
}
|
|
729
537
|
/**
|
|
730
|
-
*
|
|
538
|
+
* Creates a request for creating new Inventories or updating existing ones.
|
|
731
539
|
*/
|
|
732
540
|
|
|
733
541
|
|
|
734
|
-
|
|
542
|
+
post(methodArgs) {
|
|
735
543
|
return new ApiRequest({
|
|
736
544
|
baseUri: this.args.baseUri,
|
|
737
|
-
method: '
|
|
738
|
-
uriTemplate: '/{projectKey}/import-
|
|
545
|
+
method: 'POST',
|
|
546
|
+
uriTemplate: '/{projectKey}/inventories/import-containers/{importContainerKey}',
|
|
739
547
|
pathVariables: this.args.pathArgs,
|
|
740
548
|
headers: {
|
|
741
549
|
'Content-Type': 'application/json',
|
|
@@ -744,36 +552,6 @@ class ByProjectKeyImportSinksByImportSinkKeyRequestBuilder {
|
|
|
744
552
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
745
553
|
}, this.args.executeRequest);
|
|
746
554
|
}
|
|
747
|
-
/**
|
|
748
|
-
* Retrieves the import sink given by the key.
|
|
749
|
-
*/
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
get(methodArgs) {
|
|
753
|
-
return new ApiRequest({
|
|
754
|
-
baseUri: this.args.baseUri,
|
|
755
|
-
method: 'GET',
|
|
756
|
-
uriTemplate: '/{projectKey}/import-sinks/{importSinkKey}',
|
|
757
|
-
pathVariables: this.args.pathArgs,
|
|
758
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
759
|
-
}
|
|
760
|
-
}, this.args.executeRequest);
|
|
761
|
-
}
|
|
762
|
-
/**
|
|
763
|
-
* Deletes the import sink given by the key.
|
|
764
|
-
*/
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
delete(methodArgs) {
|
|
768
|
-
return new ApiRequest({
|
|
769
|
-
baseUri: this.args.baseUri,
|
|
770
|
-
method: 'DELETE',
|
|
771
|
-
uriTemplate: '/{projectKey}/import-sinks/{importSinkKey}',
|
|
772
|
-
pathVariables: this.args.pathArgs,
|
|
773
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
774
|
-
}
|
|
775
|
-
}, this.args.executeRequest);
|
|
776
|
-
}
|
|
777
555
|
|
|
778
556
|
}
|
|
779
557
|
|
|
@@ -782,13 +560,16 @@ class ByProjectKeyImportSinksByImportSinkKeyRequestBuilder {
|
|
|
782
560
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
783
561
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
784
562
|
*/
|
|
785
|
-
|
|
563
|
+
/**
|
|
564
|
+
**/
|
|
565
|
+
|
|
566
|
+
class ByProjectKeyInventoriesImportContainersRequestBuilder {
|
|
786
567
|
constructor(args) {
|
|
787
568
|
this.args = args;
|
|
788
569
|
}
|
|
789
570
|
|
|
790
|
-
|
|
791
|
-
return new
|
|
571
|
+
withImportContainerKeyValue(childPathArgs) {
|
|
572
|
+
return new ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder({
|
|
792
573
|
pathArgs: { ...this.args.pathArgs,
|
|
793
574
|
...childPathArgs
|
|
794
575
|
},
|
|
@@ -796,40 +577,6 @@ class ByProjectKeyImportSinksRequestBuilder {
|
|
|
796
577
|
baseUri: this.args.baseUri
|
|
797
578
|
});
|
|
798
579
|
}
|
|
799
|
-
/**
|
|
800
|
-
* Creates a new import sink.
|
|
801
|
-
*/
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
post(methodArgs) {
|
|
805
|
-
return new ApiRequest({
|
|
806
|
-
baseUri: this.args.baseUri,
|
|
807
|
-
method: 'POST',
|
|
808
|
-
uriTemplate: '/{projectKey}/import-sinks',
|
|
809
|
-
pathVariables: this.args.pathArgs,
|
|
810
|
-
headers: {
|
|
811
|
-
'Content-Type': 'application/json',
|
|
812
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
813
|
-
},
|
|
814
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
815
|
-
}, this.args.executeRequest);
|
|
816
|
-
}
|
|
817
|
-
/**
|
|
818
|
-
* Retrieves all import sinks of a project key.
|
|
819
|
-
*/
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
get(methodArgs) {
|
|
823
|
-
return new ApiRequest({
|
|
824
|
-
baseUri: this.args.baseUri,
|
|
825
|
-
method: 'GET',
|
|
826
|
-
uriTemplate: '/{projectKey}/import-sinks',
|
|
827
|
-
pathVariables: this.args.pathArgs,
|
|
828
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
829
|
-
},
|
|
830
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
831
|
-
}, this.args.executeRequest);
|
|
832
|
-
}
|
|
833
580
|
|
|
834
581
|
}
|
|
835
582
|
|
|
@@ -838,45 +585,17 @@ class ByProjectKeyImportSinksRequestBuilder {
|
|
|
838
585
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
839
586
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
840
587
|
*/
|
|
841
|
-
class ByProjectKeyImportSummariesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
842
|
-
constructor(args) {
|
|
843
|
-
this.args = args;
|
|
844
|
-
}
|
|
845
|
-
/**
|
|
846
|
-
* Retrieves an import summary for the given import sink.
|
|
847
|
-
*
|
|
848
|
-
* The import summary is calculated on demand.
|
|
849
|
-
*
|
|
850
|
-
*/
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
get(methodArgs) {
|
|
854
|
-
return new ApiRequest({
|
|
855
|
-
baseUri: this.args.baseUri,
|
|
856
|
-
method: 'GET',
|
|
857
|
-
uriTemplate: '/{projectKey}/import-summaries/importSinkKey={importSinkKey}',
|
|
858
|
-
pathVariables: this.args.pathArgs,
|
|
859
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
860
|
-
}
|
|
861
|
-
}, this.args.executeRequest);
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
}
|
|
865
|
-
|
|
866
588
|
/**
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
*/
|
|
871
|
-
class ByProjectKeyImportSummariesRequestBuilder {
|
|
589
|
+
**/
|
|
590
|
+
|
|
591
|
+
class ByProjectKeyInventoriesRequestBuilder {
|
|
872
592
|
constructor(args) {
|
|
873
593
|
this.args = args;
|
|
874
594
|
}
|
|
875
595
|
|
|
876
|
-
|
|
877
|
-
return new
|
|
878
|
-
pathArgs: { ...this.args.pathArgs
|
|
879
|
-
...childPathArgs
|
|
596
|
+
importContainers() {
|
|
597
|
+
return new ByProjectKeyInventoriesImportContainersRequestBuilder({
|
|
598
|
+
pathArgs: { ...this.args.pathArgs
|
|
880
599
|
},
|
|
881
600
|
executeRequest: this.args.executeRequest,
|
|
882
601
|
baseUri: this.args.baseUri
|
|
@@ -890,6 +609,9 @@ class ByProjectKeyImportSummariesRequestBuilder {
|
|
|
890
609
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
891
610
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
892
611
|
*/
|
|
612
|
+
/**
|
|
613
|
+
**/
|
|
614
|
+
|
|
893
615
|
class ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder {
|
|
894
616
|
constructor(args) {
|
|
895
617
|
this.args = args;
|
|
@@ -920,6 +642,9 @@ class ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder
|
|
|
920
642
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
921
643
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
922
644
|
*/
|
|
645
|
+
/**
|
|
646
|
+
**/
|
|
647
|
+
|
|
923
648
|
class ByProjectKeyOrderPatchesImportContainersRequestBuilder {
|
|
924
649
|
constructor(args) {
|
|
925
650
|
this.args = args;
|
|
@@ -942,111 +667,9 @@ class ByProjectKeyOrderPatchesImportContainersRequestBuilder {
|
|
|
942
667
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
943
668
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
944
669
|
*/
|
|
945
|
-
class ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
946
|
-
constructor(args) {
|
|
947
|
-
this.args = args;
|
|
948
|
-
}
|
|
949
|
-
/**
|
|
950
|
-
* Retrieves the import operation with the given id.
|
|
951
|
-
*
|
|
952
|
-
*/
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
get(methodArgs) {
|
|
956
|
-
return new ApiRequest({
|
|
957
|
-
baseUri: this.args.baseUri,
|
|
958
|
-
method: 'GET',
|
|
959
|
-
uriTemplate: '/{projectKey}/order-patches/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
960
|
-
pathVariables: this.args.pathArgs,
|
|
961
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
962
|
-
}
|
|
963
|
-
}, this.args.executeRequest);
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
970
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
971
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
972
|
-
*/
|
|
973
|
-
class ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
974
|
-
constructor(args) {
|
|
975
|
-
this.args = args;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
withIdValue(childPathArgs) {
|
|
979
|
-
return new ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
980
|
-
pathArgs: { ...this.args.pathArgs,
|
|
981
|
-
...childPathArgs
|
|
982
|
-
},
|
|
983
|
-
executeRequest: this.args.executeRequest,
|
|
984
|
-
baseUri: this.args.baseUri
|
|
985
|
-
});
|
|
986
|
-
}
|
|
987
|
-
/**
|
|
988
|
-
* Retrieves all order-patches import operations of an import sink key.
|
|
989
|
-
*/
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
get(methodArgs) {
|
|
993
|
-
return new ApiRequest({
|
|
994
|
-
baseUri: this.args.baseUri,
|
|
995
|
-
method: 'GET',
|
|
996
|
-
uriTemplate: '/{projectKey}/order-patches/importSinkKey={importSinkKey}/import-operations',
|
|
997
|
-
pathVariables: this.args.pathArgs,
|
|
998
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
999
|
-
},
|
|
1000
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
1001
|
-
}, this.args.executeRequest);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
670
|
/**
|
|
1007
|
-
|
|
1008
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1009
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1010
|
-
*/
|
|
1011
|
-
class ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
1012
|
-
constructor(args) {
|
|
1013
|
-
this.args = args;
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
importOperations() {
|
|
1017
|
-
return new ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
1018
|
-
pathArgs: { ...this.args.pathArgs
|
|
1019
|
-
},
|
|
1020
|
-
executeRequest: this.args.executeRequest,
|
|
1021
|
-
baseUri: this.args.baseUri
|
|
1022
|
-
});
|
|
1023
|
-
}
|
|
1024
|
-
/**
|
|
1025
|
-
* Creates a new import request for order patches
|
|
1026
|
-
*/
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
post(methodArgs) {
|
|
1030
|
-
return new ApiRequest({
|
|
1031
|
-
baseUri: this.args.baseUri,
|
|
1032
|
-
method: 'POST',
|
|
1033
|
-
uriTemplate: '/{projectKey}/order-patches/importSinkKey={importSinkKey}',
|
|
1034
|
-
pathVariables: this.args.pathArgs,
|
|
1035
|
-
headers: {
|
|
1036
|
-
'Content-Type': 'application/json',
|
|
1037
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1038
|
-
},
|
|
1039
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1040
|
-
}, this.args.executeRequest);
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
}
|
|
671
|
+
**/
|
|
1044
672
|
|
|
1045
|
-
/**
|
|
1046
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1047
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1048
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1049
|
-
*/
|
|
1050
673
|
class ByProjectKeyOrderPatchesRequestBuilder {
|
|
1051
674
|
constructor(args) {
|
|
1052
675
|
this.args = args;
|
|
@@ -1061,16 +684,6 @@ class ByProjectKeyOrderPatchesRequestBuilder {
|
|
|
1061
684
|
});
|
|
1062
685
|
}
|
|
1063
686
|
|
|
1064
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
1065
|
-
return new ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
1066
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1067
|
-
...childPathArgs
|
|
1068
|
-
},
|
|
1069
|
-
executeRequest: this.args.executeRequest,
|
|
1070
|
-
baseUri: this.args.baseUri
|
|
1071
|
-
});
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
687
|
}
|
|
1075
688
|
|
|
1076
689
|
/**
|
|
@@ -1078,6 +691,9 @@ class ByProjectKeyOrderPatchesRequestBuilder {
|
|
|
1078
691
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1079
692
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1080
693
|
*/
|
|
694
|
+
/**
|
|
695
|
+
**/
|
|
696
|
+
|
|
1081
697
|
class ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder {
|
|
1082
698
|
constructor(args) {
|
|
1083
699
|
this.args = args;
|
|
@@ -1108,6 +724,9 @@ class ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
1108
724
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1109
725
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1110
726
|
*/
|
|
727
|
+
/**
|
|
728
|
+
**/
|
|
729
|
+
|
|
1111
730
|
class ByProjectKeyOrdersImportContainersRequestBuilder {
|
|
1112
731
|
constructor(args) {
|
|
1113
732
|
this.args = args;
|
|
@@ -1130,64 +749,22 @@ class ByProjectKeyOrdersImportContainersRequestBuilder {
|
|
|
1130
749
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1131
750
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1132
751
|
*/
|
|
1133
|
-
class ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
1134
|
-
constructor(args) {
|
|
1135
|
-
this.args = args;
|
|
1136
|
-
}
|
|
1137
|
-
/**
|
|
1138
|
-
* Retrieves the import operation with the given id.
|
|
1139
|
-
*
|
|
1140
|
-
*/
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
get(methodArgs) {
|
|
1144
|
-
return new ApiRequest({
|
|
1145
|
-
baseUri: this.args.baseUri,
|
|
1146
|
-
method: 'GET',
|
|
1147
|
-
uriTemplate: '/{projectKey}/orders/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
1148
|
-
pathVariables: this.args.pathArgs,
|
|
1149
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1150
|
-
}
|
|
1151
|
-
}, this.args.executeRequest);
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
752
|
/**
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
*/
|
|
1161
|
-
class ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
753
|
+
**/
|
|
754
|
+
|
|
755
|
+
class ByProjectKeyOrdersRequestBuilder {
|
|
1162
756
|
constructor(args) {
|
|
1163
757
|
this.args = args;
|
|
1164
758
|
}
|
|
1165
759
|
|
|
1166
|
-
|
|
1167
|
-
return new
|
|
1168
|
-
pathArgs: { ...this.args.pathArgs
|
|
1169
|
-
...childPathArgs
|
|
760
|
+
importContainers() {
|
|
761
|
+
return new ByProjectKeyOrdersImportContainersRequestBuilder({
|
|
762
|
+
pathArgs: { ...this.args.pathArgs
|
|
1170
763
|
},
|
|
1171
764
|
executeRequest: this.args.executeRequest,
|
|
1172
765
|
baseUri: this.args.baseUri
|
|
1173
766
|
});
|
|
1174
767
|
}
|
|
1175
|
-
/**
|
|
1176
|
-
* Retrieves all order import operations of an import sink key.
|
|
1177
|
-
*/
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
get(methodArgs) {
|
|
1181
|
-
return new ApiRequest({
|
|
1182
|
-
baseUri: this.args.baseUri,
|
|
1183
|
-
method: 'GET',
|
|
1184
|
-
uriTemplate: '/{projectKey}/orders/importSinkKey={importSinkKey}/import-operations',
|
|
1185
|
-
pathVariables: this.args.pathArgs,
|
|
1186
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1187
|
-
},
|
|
1188
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
1189
|
-
}, this.args.executeRequest);
|
|
1190
|
-
}
|
|
1191
768
|
|
|
1192
769
|
}
|
|
1193
770
|
|
|
@@ -1196,21 +773,15 @@ class ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsRequestBuild
|
|
|
1196
773
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1197
774
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1198
775
|
*/
|
|
1199
|
-
|
|
776
|
+
/**
|
|
777
|
+
**/
|
|
778
|
+
|
|
779
|
+
class ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder {
|
|
1200
780
|
constructor(args) {
|
|
1201
781
|
this.args = args;
|
|
1202
782
|
}
|
|
1203
|
-
|
|
1204
|
-
importOperations() {
|
|
1205
|
-
return new ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
1206
|
-
pathArgs: { ...this.args.pathArgs
|
|
1207
|
-
},
|
|
1208
|
-
executeRequest: this.args.executeRequest,
|
|
1209
|
-
baseUri: this.args.baseUri
|
|
1210
|
-
});
|
|
1211
|
-
}
|
|
1212
783
|
/**
|
|
1213
|
-
* Creates
|
|
784
|
+
* Creates a request for creating new Prices or updating existing ones.
|
|
1214
785
|
*/
|
|
1215
786
|
|
|
1216
787
|
|
|
@@ -1218,7 +789,7 @@ class ByProjectKeyOrdersImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
|
1218
789
|
return new ApiRequest({
|
|
1219
790
|
baseUri: this.args.baseUri,
|
|
1220
791
|
method: 'POST',
|
|
1221
|
-
uriTemplate: '/{projectKey}/
|
|
792
|
+
uriTemplate: '/{projectKey}/prices/import-containers/{importContainerKey}',
|
|
1222
793
|
pathVariables: this.args.pathArgs,
|
|
1223
794
|
headers: {
|
|
1224
795
|
'Content-Type': 'application/json',
|
|
@@ -1235,22 +806,16 @@ class ByProjectKeyOrdersImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
|
1235
806
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1236
807
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1237
808
|
*/
|
|
1238
|
-
|
|
809
|
+
/**
|
|
810
|
+
**/
|
|
811
|
+
|
|
812
|
+
class ByProjectKeyPricesImportContainersRequestBuilder {
|
|
1239
813
|
constructor(args) {
|
|
1240
814
|
this.args = args;
|
|
1241
815
|
}
|
|
1242
816
|
|
|
1243
|
-
|
|
1244
|
-
return new
|
|
1245
|
-
pathArgs: { ...this.args.pathArgs
|
|
1246
|
-
},
|
|
1247
|
-
executeRequest: this.args.executeRequest,
|
|
1248
|
-
baseUri: this.args.baseUri
|
|
1249
|
-
});
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
1253
|
-
return new ByProjectKeyOrdersImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
817
|
+
withImportContainerKeyValue(childPathArgs) {
|
|
818
|
+
return new ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder({
|
|
1254
819
|
pathArgs: { ...this.args.pathArgs,
|
|
1255
820
|
...childPathArgs
|
|
1256
821
|
},
|
|
@@ -1266,736 +831,16 @@ class ByProjectKeyOrdersRequestBuilder {
|
|
|
1266
831
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1267
832
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1268
833
|
*/
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Creates a request for creating new Prices or updating existing ones.
|
|
1275
|
-
*/
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
post(methodArgs) {
|
|
1279
|
-
return new ApiRequest({
|
|
1280
|
-
baseUri: this.args.baseUri,
|
|
1281
|
-
method: 'POST',
|
|
1282
|
-
uriTemplate: '/{projectKey}/prices/import-containers/{importContainerKey}',
|
|
1283
|
-
pathVariables: this.args.pathArgs,
|
|
1284
|
-
headers: {
|
|
1285
|
-
'Content-Type': 'application/json',
|
|
1286
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1287
|
-
},
|
|
1288
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1289
|
-
}, this.args.executeRequest);
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1296
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1297
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1298
|
-
*/
|
|
1299
|
-
class ByProjectKeyPricesImportContainersRequestBuilder {
|
|
1300
|
-
constructor(args) {
|
|
1301
|
-
this.args = args;
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
withImportContainerKeyValue(childPathArgs) {
|
|
1305
|
-
return new ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder({
|
|
1306
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1307
|
-
...childPathArgs
|
|
1308
|
-
},
|
|
1309
|
-
executeRequest: this.args.executeRequest,
|
|
1310
|
-
baseUri: this.args.baseUri
|
|
1311
|
-
});
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1318
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1319
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1320
|
-
*/
|
|
1321
|
-
class ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
1322
|
-
constructor(args) {
|
|
1323
|
-
this.args = args;
|
|
1324
|
-
}
|
|
1325
|
-
/**
|
|
1326
|
-
* Retrieves the import operation with the given id.
|
|
1327
|
-
*
|
|
1328
|
-
*/
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
get(methodArgs) {
|
|
1332
|
-
return new ApiRequest({
|
|
1333
|
-
baseUri: this.args.baseUri,
|
|
1334
|
-
method: 'GET',
|
|
1335
|
-
uriTemplate: '/{projectKey}/prices/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
1336
|
-
pathVariables: this.args.pathArgs,
|
|
1337
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1338
|
-
}
|
|
1339
|
-
}, this.args.executeRequest);
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1346
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1347
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1348
|
-
*/
|
|
1349
|
-
class ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
1350
|
-
constructor(args) {
|
|
1351
|
-
this.args = args;
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
withIdValue(childPathArgs) {
|
|
1355
|
-
return new ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
1356
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1357
|
-
...childPathArgs
|
|
1358
|
-
},
|
|
1359
|
-
executeRequest: this.args.executeRequest,
|
|
1360
|
-
baseUri: this.args.baseUri
|
|
1361
|
-
});
|
|
1362
|
-
}
|
|
1363
|
-
/**
|
|
1364
|
-
* Retrieves all price import operations of an import sink key.
|
|
1365
|
-
*/
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
get(methodArgs) {
|
|
1369
|
-
return new ApiRequest({
|
|
1370
|
-
baseUri: this.args.baseUri,
|
|
1371
|
-
method: 'GET',
|
|
1372
|
-
uriTemplate: '/{projectKey}/prices/importSinkKey={importSinkKey}/import-operations',
|
|
1373
|
-
pathVariables: this.args.pathArgs,
|
|
1374
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1375
|
-
},
|
|
1376
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
1377
|
-
}, this.args.executeRequest);
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1384
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1385
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1386
|
-
*/
|
|
1387
|
-
class ByProjectKeyPricesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
1388
|
-
constructor(args) {
|
|
1389
|
-
this.args = args;
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
importOperations() {
|
|
1393
|
-
return new ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
1394
|
-
pathArgs: { ...this.args.pathArgs
|
|
1395
|
-
},
|
|
1396
|
-
executeRequest: this.args.executeRequest,
|
|
1397
|
-
baseUri: this.args.baseUri
|
|
1398
|
-
});
|
|
1399
|
-
}
|
|
1400
|
-
/**
|
|
1401
|
-
* Creates import request for creating new prices or updating existing ones.
|
|
1402
|
-
*/
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
post(methodArgs) {
|
|
1406
|
-
return new ApiRequest({
|
|
1407
|
-
baseUri: this.args.baseUri,
|
|
1408
|
-
method: 'POST',
|
|
1409
|
-
uriTemplate: '/{projectKey}/prices/importSinkKey={importSinkKey}',
|
|
1410
|
-
pathVariables: this.args.pathArgs,
|
|
1411
|
-
headers: {
|
|
1412
|
-
'Content-Type': 'application/json',
|
|
1413
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1414
|
-
},
|
|
1415
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1416
|
-
}, this.args.executeRequest);
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
/**
|
|
1422
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1423
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1424
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1425
|
-
*/
|
|
1426
|
-
class ByProjectKeyPricesRequestBuilder {
|
|
1427
|
-
constructor(args) {
|
|
1428
|
-
this.args = args;
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
importContainers() {
|
|
1432
|
-
return new ByProjectKeyPricesImportContainersRequestBuilder({
|
|
1433
|
-
pathArgs: { ...this.args.pathArgs
|
|
1434
|
-
},
|
|
1435
|
-
executeRequest: this.args.executeRequest,
|
|
1436
|
-
baseUri: this.args.baseUri
|
|
1437
|
-
});
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
1441
|
-
return new ByProjectKeyPricesImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
1442
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1443
|
-
...childPathArgs
|
|
1444
|
-
},
|
|
1445
|
-
executeRequest: this.args.executeRequest,
|
|
1446
|
-
baseUri: this.args.baseUri
|
|
1447
|
-
});
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
/**
|
|
1453
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1454
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1455
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1456
|
-
*/
|
|
1457
|
-
class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder {
|
|
1458
|
-
constructor(args) {
|
|
1459
|
-
this.args = args;
|
|
1460
|
-
}
|
|
1461
|
-
/**
|
|
1462
|
-
* Creates a request for creating new ProductDrafts or updating existing ones.
|
|
1463
|
-
*
|
|
1464
|
-
*/
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
post(methodArgs) {
|
|
1468
|
-
return new ApiRequest({
|
|
1469
|
-
baseUri: this.args.baseUri,
|
|
1470
|
-
method: 'POST',
|
|
1471
|
-
uriTemplate: '/{projectKey}/product-drafts/import-containers/{importContainerKey}',
|
|
1472
|
-
pathVariables: this.args.pathArgs,
|
|
1473
|
-
headers: {
|
|
1474
|
-
'Content-Type': 'application/json',
|
|
1475
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1476
|
-
},
|
|
1477
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1478
|
-
}, this.args.executeRequest);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
/**
|
|
1484
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1485
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1486
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1487
|
-
*/
|
|
1488
|
-
class ByProjectKeyProductDraftsImportContainersRequestBuilder {
|
|
1489
|
-
constructor(args) {
|
|
1490
|
-
this.args = args;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
withImportContainerKeyValue(childPathArgs) {
|
|
1494
|
-
return new ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder({
|
|
1495
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1496
|
-
...childPathArgs
|
|
1497
|
-
},
|
|
1498
|
-
executeRequest: this.args.executeRequest,
|
|
1499
|
-
baseUri: this.args.baseUri
|
|
1500
|
-
});
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
/**
|
|
1506
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1507
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1508
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1509
|
-
*/
|
|
1510
|
-
class ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
1511
|
-
constructor(args) {
|
|
1512
|
-
this.args = args;
|
|
1513
|
-
}
|
|
1514
|
-
/**
|
|
1515
|
-
* Retrieves the import operation with the given id.
|
|
1516
|
-
*
|
|
1517
|
-
*/
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
get(methodArgs) {
|
|
1521
|
-
return new ApiRequest({
|
|
1522
|
-
baseUri: this.args.baseUri,
|
|
1523
|
-
method: 'GET',
|
|
1524
|
-
uriTemplate: '/{projectKey}/product-drafts/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
1525
|
-
pathVariables: this.args.pathArgs,
|
|
1526
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1527
|
-
}
|
|
1528
|
-
}, this.args.executeRequest);
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1535
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1536
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1537
|
-
*/
|
|
1538
|
-
class ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
1539
|
-
constructor(args) {
|
|
1540
|
-
this.args = args;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
withIdValue(childPathArgs) {
|
|
1544
|
-
return new ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
1545
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1546
|
-
...childPathArgs
|
|
1547
|
-
},
|
|
1548
|
-
executeRequest: this.args.executeRequest,
|
|
1549
|
-
baseUri: this.args.baseUri
|
|
1550
|
-
});
|
|
1551
|
-
}
|
|
1552
|
-
/**
|
|
1553
|
-
* Retrieves all import operations of an import sink key.
|
|
1554
|
-
*/
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
get(methodArgs) {
|
|
1558
|
-
return new ApiRequest({
|
|
1559
|
-
baseUri: this.args.baseUri,
|
|
1560
|
-
method: 'GET',
|
|
1561
|
-
uriTemplate: '/{projectKey}/product-drafts/importSinkKey={importSinkKey}/import-operations',
|
|
1562
|
-
pathVariables: this.args.pathArgs,
|
|
1563
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1564
|
-
},
|
|
1565
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
1566
|
-
}, this.args.executeRequest);
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1573
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1574
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1575
|
-
*/
|
|
1576
|
-
class ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
1577
|
-
constructor(args) {
|
|
1578
|
-
this.args = args;
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
importOperations() {
|
|
1582
|
-
return new ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
1583
|
-
pathArgs: { ...this.args.pathArgs
|
|
1584
|
-
},
|
|
1585
|
-
executeRequest: this.args.executeRequest,
|
|
1586
|
-
baseUri: this.args.baseUri
|
|
1587
|
-
});
|
|
1588
|
-
}
|
|
1589
|
-
/**
|
|
1590
|
-
* Creates import request for creating new product drafts or updating existing ones.
|
|
1591
|
-
*
|
|
1592
|
-
*/
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
post(methodArgs) {
|
|
1596
|
-
return new ApiRequest({
|
|
1597
|
-
baseUri: this.args.baseUri,
|
|
1598
|
-
method: 'POST',
|
|
1599
|
-
uriTemplate: '/{projectKey}/product-drafts/importSinkKey={importSinkKey}',
|
|
1600
|
-
pathVariables: this.args.pathArgs,
|
|
1601
|
-
headers: {
|
|
1602
|
-
'Content-Type': 'application/json',
|
|
1603
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1604
|
-
},
|
|
1605
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1606
|
-
}, this.args.executeRequest);
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1613
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1614
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1615
|
-
*/
|
|
1616
|
-
class ByProjectKeyProductDraftsRequestBuilder {
|
|
1617
|
-
constructor(args) {
|
|
1618
|
-
this.args = args;
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
importContainers() {
|
|
1622
|
-
return new ByProjectKeyProductDraftsImportContainersRequestBuilder({
|
|
1623
|
-
pathArgs: { ...this.args.pathArgs
|
|
1624
|
-
},
|
|
1625
|
-
executeRequest: this.args.executeRequest,
|
|
1626
|
-
baseUri: this.args.baseUri
|
|
1627
|
-
});
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
1631
|
-
return new ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
1632
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1633
|
-
...childPathArgs
|
|
1634
|
-
},
|
|
1635
|
-
executeRequest: this.args.executeRequest,
|
|
1636
|
-
baseUri: this.args.baseUri
|
|
1637
|
-
});
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1644
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1645
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1646
|
-
*/
|
|
1647
|
-
class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder {
|
|
1648
|
-
constructor(args) {
|
|
1649
|
-
this.args = args;
|
|
1650
|
-
}
|
|
1651
|
-
/**
|
|
1652
|
-
* Creates a request for creating new ProductTypes or updating existing ones.
|
|
1653
|
-
*/
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
post(methodArgs) {
|
|
1657
|
-
return new ApiRequest({
|
|
1658
|
-
baseUri: this.args.baseUri,
|
|
1659
|
-
method: 'POST',
|
|
1660
|
-
uriTemplate: '/{projectKey}/product-types/import-containers/{importContainerKey}',
|
|
1661
|
-
pathVariables: this.args.pathArgs,
|
|
1662
|
-
headers: {
|
|
1663
|
-
'Content-Type': 'application/json',
|
|
1664
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1665
|
-
},
|
|
1666
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1667
|
-
}, this.args.executeRequest);
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
/**
|
|
1673
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1674
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1675
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1676
|
-
*/
|
|
1677
|
-
class ByProjectKeyProductTypesImportContainersRequestBuilder {
|
|
1678
|
-
constructor(args) {
|
|
1679
|
-
this.args = args;
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
withImportContainerKeyValue(childPathArgs) {
|
|
1683
|
-
return new ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder({
|
|
1684
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1685
|
-
...childPathArgs
|
|
1686
|
-
},
|
|
1687
|
-
executeRequest: this.args.executeRequest,
|
|
1688
|
-
baseUri: this.args.baseUri
|
|
1689
|
-
});
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
/**
|
|
1695
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1696
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1697
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1698
|
-
*/
|
|
1699
|
-
class ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
1700
|
-
constructor(args) {
|
|
1701
|
-
this.args = args;
|
|
1702
|
-
}
|
|
1703
|
-
/**
|
|
1704
|
-
* Retrieves the import operation with the given id.
|
|
1705
|
-
*
|
|
1706
|
-
*/
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
get(methodArgs) {
|
|
1710
|
-
return new ApiRequest({
|
|
1711
|
-
baseUri: this.args.baseUri,
|
|
1712
|
-
method: 'GET',
|
|
1713
|
-
uriTemplate: '/{projectKey}/product-types/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
1714
|
-
pathVariables: this.args.pathArgs,
|
|
1715
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1716
|
-
}
|
|
1717
|
-
}, this.args.executeRequest);
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
/**
|
|
1723
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1724
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1725
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1726
|
-
*/
|
|
1727
|
-
class ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
1728
|
-
constructor(args) {
|
|
1729
|
-
this.args = args;
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
withIdValue(childPathArgs) {
|
|
1733
|
-
return new ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
1734
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1735
|
-
...childPathArgs
|
|
1736
|
-
},
|
|
1737
|
-
executeRequest: this.args.executeRequest,
|
|
1738
|
-
baseUri: this.args.baseUri
|
|
1739
|
-
});
|
|
1740
|
-
}
|
|
1741
|
-
/**
|
|
1742
|
-
* Retrieves all import operations of an import sink key.
|
|
1743
|
-
*/
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
get(methodArgs) {
|
|
1747
|
-
return new ApiRequest({
|
|
1748
|
-
baseUri: this.args.baseUri,
|
|
1749
|
-
method: 'GET',
|
|
1750
|
-
uriTemplate: '/{projectKey}/product-types/importSinkKey={importSinkKey}/import-operations',
|
|
1751
|
-
pathVariables: this.args.pathArgs,
|
|
1752
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1753
|
-
},
|
|
1754
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
1755
|
-
}, this.args.executeRequest);
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1762
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1763
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1764
|
-
*/
|
|
1765
|
-
class ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
1766
|
-
constructor(args) {
|
|
1767
|
-
this.args = args;
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
importOperations() {
|
|
1771
|
-
return new ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
1772
|
-
pathArgs: { ...this.args.pathArgs
|
|
1773
|
-
},
|
|
1774
|
-
executeRequest: this.args.executeRequest,
|
|
1775
|
-
baseUri: this.args.baseUri
|
|
1776
|
-
});
|
|
1777
|
-
}
|
|
1778
|
-
/**
|
|
1779
|
-
* Creates import request for creating new product types or updating existing ones.
|
|
1780
|
-
*/
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
post(methodArgs) {
|
|
1784
|
-
return new ApiRequest({
|
|
1785
|
-
baseUri: this.args.baseUri,
|
|
1786
|
-
method: 'POST',
|
|
1787
|
-
uriTemplate: '/{projectKey}/product-types/importSinkKey={importSinkKey}',
|
|
1788
|
-
pathVariables: this.args.pathArgs,
|
|
1789
|
-
headers: {
|
|
1790
|
-
'Content-Type': 'application/json',
|
|
1791
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1792
|
-
},
|
|
1793
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1794
|
-
}, this.args.executeRequest);
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
/**
|
|
1800
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1801
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1802
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1803
|
-
*/
|
|
1804
|
-
class ByProjectKeyProductTypesRequestBuilder {
|
|
1805
|
-
constructor(args) {
|
|
1806
|
-
this.args = args;
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
importContainers() {
|
|
1810
|
-
return new ByProjectKeyProductTypesImportContainersRequestBuilder({
|
|
1811
|
-
pathArgs: { ...this.args.pathArgs
|
|
1812
|
-
},
|
|
1813
|
-
executeRequest: this.args.executeRequest,
|
|
1814
|
-
baseUri: this.args.baseUri
|
|
1815
|
-
});
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
1819
|
-
return new ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
1820
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1821
|
-
...childPathArgs
|
|
1822
|
-
},
|
|
1823
|
-
executeRequest: this.args.executeRequest,
|
|
1824
|
-
baseUri: this.args.baseUri
|
|
1825
|
-
});
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
/**
|
|
1831
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1832
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1833
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1834
|
-
*/
|
|
1835
|
-
class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder {
|
|
1836
|
-
constructor(args) {
|
|
1837
|
-
this.args = args;
|
|
1838
|
-
}
|
|
1839
|
-
/**
|
|
1840
|
-
* Creates a new import request for product variant patches
|
|
1841
|
-
*/
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
post(methodArgs) {
|
|
1845
|
-
return new ApiRequest({
|
|
1846
|
-
baseUri: this.args.baseUri,
|
|
1847
|
-
method: 'POST',
|
|
1848
|
-
uriTemplate: '/{projectKey}/product-variant-patches/import-containers/{importContainerKey}',
|
|
1849
|
-
pathVariables: this.args.pathArgs,
|
|
1850
|
-
headers: {
|
|
1851
|
-
'Content-Type': 'application/json',
|
|
1852
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1853
|
-
},
|
|
1854
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1855
|
-
}, this.args.executeRequest);
|
|
1856
|
-
}
|
|
1857
|
-
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
/**
|
|
1861
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1862
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1863
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1864
|
-
*/
|
|
1865
|
-
class ByProjectKeyProductVariantPatchesImportContainersRequestBuilder {
|
|
1866
|
-
constructor(args) {
|
|
1867
|
-
this.args = args;
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
withImportContainerKeyValue(childPathArgs) {
|
|
1871
|
-
return new ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder({
|
|
1872
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1873
|
-
...childPathArgs
|
|
1874
|
-
},
|
|
1875
|
-
executeRequest: this.args.executeRequest,
|
|
1876
|
-
baseUri: this.args.baseUri
|
|
1877
|
-
});
|
|
1878
|
-
}
|
|
1879
|
-
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
/**
|
|
1883
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1884
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1885
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1886
|
-
*/
|
|
1887
|
-
class ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder {
|
|
1888
|
-
constructor(args) {
|
|
1889
|
-
this.args = args;
|
|
1890
|
-
}
|
|
1891
|
-
/**
|
|
1892
|
-
* Retrieves the import operation with the given id.
|
|
1893
|
-
*
|
|
1894
|
-
*/
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
get(methodArgs) {
|
|
1898
|
-
return new ApiRequest({
|
|
1899
|
-
baseUri: this.args.baseUri,
|
|
1900
|
-
method: 'GET',
|
|
1901
|
-
uriTemplate: '/{projectKey}/product-variant-patches/importSinkKey={importSinkKey}/import-operations/{id}',
|
|
1902
|
-
pathVariables: this.args.pathArgs,
|
|
1903
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1904
|
-
}
|
|
1905
|
-
}, this.args.executeRequest);
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
/**
|
|
1911
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1912
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1913
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1914
|
-
*/
|
|
1915
|
-
class ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
1916
|
-
constructor(args) {
|
|
1917
|
-
this.args = args;
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
withIdValue(childPathArgs) {
|
|
1921
|
-
return new ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
1922
|
-
pathArgs: { ...this.args.pathArgs,
|
|
1923
|
-
...childPathArgs
|
|
1924
|
-
},
|
|
1925
|
-
executeRequest: this.args.executeRequest,
|
|
1926
|
-
baseUri: this.args.baseUri
|
|
1927
|
-
});
|
|
1928
|
-
}
|
|
1929
|
-
/**
|
|
1930
|
-
* Retrieves all product-variant-patches import operations of an import sink key.
|
|
1931
|
-
*/
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
get(methodArgs) {
|
|
1935
|
-
return new ApiRequest({
|
|
1936
|
-
baseUri: this.args.baseUri,
|
|
1937
|
-
method: 'GET',
|
|
1938
|
-
uriTemplate: '/{projectKey}/product-variant-patches/importSinkKey={importSinkKey}/import-operations',
|
|
1939
|
-
pathVariables: this.args.pathArgs,
|
|
1940
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1941
|
-
},
|
|
1942
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
1943
|
-
}, this.args.executeRequest);
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
}
|
|
1947
|
-
|
|
1948
|
-
/**
|
|
1949
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1950
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1951
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1952
|
-
*/
|
|
1953
|
-
class ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
1954
|
-
constructor(args) {
|
|
1955
|
-
this.args = args;
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
importOperations() {
|
|
1959
|
-
return new ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder({
|
|
1960
|
-
pathArgs: { ...this.args.pathArgs
|
|
1961
|
-
},
|
|
1962
|
-
executeRequest: this.args.executeRequest,
|
|
1963
|
-
baseUri: this.args.baseUri
|
|
1964
|
-
});
|
|
1965
|
-
}
|
|
1966
|
-
/**
|
|
1967
|
-
* Creates a new import request for product variant patches
|
|
1968
|
-
*/
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
post(methodArgs) {
|
|
1972
|
-
return new ApiRequest({
|
|
1973
|
-
baseUri: this.args.baseUri,
|
|
1974
|
-
method: 'POST',
|
|
1975
|
-
uriTemplate: '/{projectKey}/product-variant-patches/importSinkKey={importSinkKey}',
|
|
1976
|
-
pathVariables: this.args.pathArgs,
|
|
1977
|
-
headers: {
|
|
1978
|
-
'Content-Type': 'application/json',
|
|
1979
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1980
|
-
},
|
|
1981
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1982
|
-
}, this.args.executeRequest);
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1989
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1990
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1991
|
-
*/
|
|
1992
|
-
class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
834
|
+
/**
|
|
835
|
+
**/
|
|
836
|
+
|
|
837
|
+
class ByProjectKeyPricesRequestBuilder {
|
|
1993
838
|
constructor(args) {
|
|
1994
839
|
this.args = args;
|
|
1995
840
|
}
|
|
1996
841
|
|
|
1997
842
|
importContainers() {
|
|
1998
|
-
return new
|
|
843
|
+
return new ByProjectKeyPricesImportContainersRequestBuilder({
|
|
1999
844
|
pathArgs: { ...this.args.pathArgs
|
|
2000
845
|
},
|
|
2001
846
|
executeRequest: this.args.executeRequest,
|
|
@@ -2003,16 +848,6 @@ class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
|
2003
848
|
});
|
|
2004
849
|
}
|
|
2005
850
|
|
|
2006
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
2007
|
-
return new ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
2008
|
-
pathArgs: { ...this.args.pathArgs,
|
|
2009
|
-
...childPathArgs
|
|
2010
|
-
},
|
|
2011
|
-
executeRequest: this.args.executeRequest,
|
|
2012
|
-
baseUri: this.args.baseUri
|
|
2013
|
-
});
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
851
|
}
|
|
2017
852
|
|
|
2018
853
|
/**
|
|
@@ -2020,12 +855,16 @@ class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
|
2020
855
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2021
856
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2022
857
|
*/
|
|
2023
|
-
|
|
858
|
+
/**
|
|
859
|
+
**/
|
|
860
|
+
|
|
861
|
+
class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder {
|
|
2024
862
|
constructor(args) {
|
|
2025
863
|
this.args = args;
|
|
2026
864
|
}
|
|
2027
865
|
/**
|
|
2028
|
-
* Creates a request for creating new
|
|
866
|
+
* Creates a request for creating new ProductDrafts or updating existing ones.
|
|
867
|
+
*
|
|
2029
868
|
*/
|
|
2030
869
|
|
|
2031
870
|
|
|
@@ -2033,7 +872,7 @@ class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuil
|
|
|
2033
872
|
return new ApiRequest({
|
|
2034
873
|
baseUri: this.args.baseUri,
|
|
2035
874
|
method: 'POST',
|
|
2036
|
-
uriTemplate: '/{projectKey}/product-
|
|
875
|
+
uriTemplate: '/{projectKey}/product-drafts/import-containers/{importContainerKey}',
|
|
2037
876
|
pathVariables: this.args.pathArgs,
|
|
2038
877
|
headers: {
|
|
2039
878
|
'Content-Type': 'application/json',
|
|
@@ -2050,13 +889,16 @@ class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuil
|
|
|
2050
889
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2051
890
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2052
891
|
*/
|
|
2053
|
-
|
|
892
|
+
/**
|
|
893
|
+
**/
|
|
894
|
+
|
|
895
|
+
class ByProjectKeyProductDraftsImportContainersRequestBuilder {
|
|
2054
896
|
constructor(args) {
|
|
2055
897
|
this.args = args;
|
|
2056
898
|
}
|
|
2057
899
|
|
|
2058
900
|
withImportContainerKeyValue(childPathArgs) {
|
|
2059
|
-
return new
|
|
901
|
+
return new ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder({
|
|
2060
902
|
pathArgs: { ...this.args.pathArgs,
|
|
2061
903
|
...childPathArgs
|
|
2062
904
|
},
|
|
@@ -2072,25 +914,21 @@ class ByProjectKeyProductVariantsImportContainersRequestBuilder {
|
|
|
2072
914
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2073
915
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2074
916
|
*/
|
|
2075
|
-
|
|
917
|
+
/**
|
|
918
|
+
**/
|
|
919
|
+
|
|
920
|
+
class ByProjectKeyProductDraftsRequestBuilder {
|
|
2076
921
|
constructor(args) {
|
|
2077
922
|
this.args = args;
|
|
2078
923
|
}
|
|
2079
|
-
/**
|
|
2080
|
-
* Retrieves the import operation with the given id.
|
|
2081
|
-
*
|
|
2082
|
-
*/
|
|
2083
|
-
|
|
2084
924
|
|
|
2085
|
-
|
|
2086
|
-
return new
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
}
|
|
2093
|
-
}, this.args.executeRequest);
|
|
925
|
+
importContainers() {
|
|
926
|
+
return new ByProjectKeyProductDraftsImportContainersRequestBuilder({
|
|
927
|
+
pathArgs: { ...this.args.pathArgs
|
|
928
|
+
},
|
|
929
|
+
executeRequest: this.args.executeRequest,
|
|
930
|
+
baseUri: this.args.baseUri
|
|
931
|
+
});
|
|
2094
932
|
}
|
|
2095
933
|
|
|
2096
934
|
}
|
|
@@ -2100,34 +938,29 @@ class ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsByI
|
|
|
2100
938
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2101
939
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2102
940
|
*/
|
|
2103
|
-
|
|
941
|
+
/**
|
|
942
|
+
**/
|
|
943
|
+
|
|
944
|
+
class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder {
|
|
2104
945
|
constructor(args) {
|
|
2105
946
|
this.args = args;
|
|
2106
947
|
}
|
|
2107
|
-
|
|
2108
|
-
withIdValue(childPathArgs) {
|
|
2109
|
-
return new ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder({
|
|
2110
|
-
pathArgs: { ...this.args.pathArgs,
|
|
2111
|
-
...childPathArgs
|
|
2112
|
-
},
|
|
2113
|
-
executeRequest: this.args.executeRequest,
|
|
2114
|
-
baseUri: this.args.baseUri
|
|
2115
|
-
});
|
|
2116
|
-
}
|
|
2117
948
|
/**
|
|
2118
|
-
*
|
|
949
|
+
* Creates a request for creating new ProductTypes or updating existing ones.
|
|
2119
950
|
*/
|
|
2120
951
|
|
|
2121
952
|
|
|
2122
|
-
|
|
953
|
+
post(methodArgs) {
|
|
2123
954
|
return new ApiRequest({
|
|
2124
955
|
baseUri: this.args.baseUri,
|
|
2125
|
-
method: '
|
|
2126
|
-
uriTemplate: '/{projectKey}/product-
|
|
956
|
+
method: 'POST',
|
|
957
|
+
uriTemplate: '/{projectKey}/product-types/import-containers/{importContainerKey}',
|
|
2127
958
|
pathVariables: this.args.pathArgs,
|
|
2128
|
-
headers: {
|
|
959
|
+
headers: {
|
|
960
|
+
'Content-Type': 'application/json',
|
|
961
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
2129
962
|
},
|
|
2130
|
-
|
|
963
|
+
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
2131
964
|
}, this.args.executeRequest);
|
|
2132
965
|
}
|
|
2133
966
|
|
|
@@ -2138,37 +971,23 @@ class ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsReq
|
|
|
2138
971
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2139
972
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2140
973
|
*/
|
|
2141
|
-
|
|
974
|
+
/**
|
|
975
|
+
**/
|
|
976
|
+
|
|
977
|
+
class ByProjectKeyProductTypesImportContainersRequestBuilder {
|
|
2142
978
|
constructor(args) {
|
|
2143
979
|
this.args = args;
|
|
2144
980
|
}
|
|
2145
981
|
|
|
2146
|
-
|
|
2147
|
-
return new
|
|
2148
|
-
pathArgs: { ...this.args.pathArgs
|
|
982
|
+
withImportContainerKeyValue(childPathArgs) {
|
|
983
|
+
return new ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder({
|
|
984
|
+
pathArgs: { ...this.args.pathArgs,
|
|
985
|
+
...childPathArgs
|
|
2149
986
|
},
|
|
2150
987
|
executeRequest: this.args.executeRequest,
|
|
2151
988
|
baseUri: this.args.baseUri
|
|
2152
989
|
});
|
|
2153
990
|
}
|
|
2154
|
-
/**
|
|
2155
|
-
* Creates import request for creating new product variants or updating existing ones.
|
|
2156
|
-
*/
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
post(methodArgs) {
|
|
2160
|
-
return new ApiRequest({
|
|
2161
|
-
baseUri: this.args.baseUri,
|
|
2162
|
-
method: 'POST',
|
|
2163
|
-
uriTemplate: '/{projectKey}/product-variants/importSinkKey={importSinkKey}',
|
|
2164
|
-
pathVariables: this.args.pathArgs,
|
|
2165
|
-
headers: {
|
|
2166
|
-
'Content-Type': 'application/json',
|
|
2167
|
-
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
2168
|
-
},
|
|
2169
|
-
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
2170
|
-
}, this.args.executeRequest);
|
|
2171
|
-
}
|
|
2172
991
|
|
|
2173
992
|
}
|
|
2174
993
|
|
|
@@ -2177,13 +996,16 @@ class ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
|
2177
996
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2178
997
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2179
998
|
*/
|
|
2180
|
-
|
|
999
|
+
/**
|
|
1000
|
+
**/
|
|
1001
|
+
|
|
1002
|
+
class ByProjectKeyProductTypesRequestBuilder {
|
|
2181
1003
|
constructor(args) {
|
|
2182
1004
|
this.args = args;
|
|
2183
1005
|
}
|
|
2184
1006
|
|
|
2185
1007
|
importContainers() {
|
|
2186
|
-
return new
|
|
1008
|
+
return new ByProjectKeyProductTypesImportContainersRequestBuilder({
|
|
2187
1009
|
pathArgs: { ...this.args.pathArgs
|
|
2188
1010
|
},
|
|
2189
1011
|
executeRequest: this.args.executeRequest,
|
|
@@ -2191,16 +1013,6 @@ class ByProjectKeyProductVariantsRequestBuilder {
|
|
|
2191
1013
|
});
|
|
2192
1014
|
}
|
|
2193
1015
|
|
|
2194
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
2195
|
-
return new ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
2196
|
-
pathArgs: { ...this.args.pathArgs,
|
|
2197
|
-
...childPathArgs
|
|
2198
|
-
},
|
|
2199
|
-
executeRequest: this.args.executeRequest,
|
|
2200
|
-
baseUri: this.args.baseUri
|
|
2201
|
-
});
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
1016
|
}
|
|
2205
1017
|
|
|
2206
1018
|
/**
|
|
@@ -2208,12 +1020,15 @@ class ByProjectKeyProductVariantsRequestBuilder {
|
|
|
2208
1020
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2209
1021
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2210
1022
|
*/
|
|
2211
|
-
|
|
1023
|
+
/**
|
|
1024
|
+
**/
|
|
1025
|
+
|
|
1026
|
+
class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder {
|
|
2212
1027
|
constructor(args) {
|
|
2213
1028
|
this.args = args;
|
|
2214
1029
|
}
|
|
2215
1030
|
/**
|
|
2216
|
-
* Creates a request for
|
|
1031
|
+
* Creates a new import request for product variant patches
|
|
2217
1032
|
*/
|
|
2218
1033
|
|
|
2219
1034
|
|
|
@@ -2221,7 +1036,7 @@ class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
|
2221
1036
|
return new ApiRequest({
|
|
2222
1037
|
baseUri: this.args.baseUri,
|
|
2223
1038
|
method: 'POST',
|
|
2224
|
-
uriTemplate: '/{projectKey}/
|
|
1039
|
+
uriTemplate: '/{projectKey}/product-variant-patches/import-containers/{importContainerKey}',
|
|
2225
1040
|
pathVariables: this.args.pathArgs,
|
|
2226
1041
|
headers: {
|
|
2227
1042
|
'Content-Type': 'application/json',
|
|
@@ -2238,13 +1053,16 @@ class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
|
2238
1053
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2239
1054
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2240
1055
|
*/
|
|
2241
|
-
|
|
1056
|
+
/**
|
|
1057
|
+
**/
|
|
1058
|
+
|
|
1059
|
+
class ByProjectKeyProductVariantPatchesImportContainersRequestBuilder {
|
|
2242
1060
|
constructor(args) {
|
|
2243
1061
|
this.args = args;
|
|
2244
1062
|
}
|
|
2245
1063
|
|
|
2246
1064
|
withImportContainerKeyValue(childPathArgs) {
|
|
2247
|
-
return new
|
|
1065
|
+
return new ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder({
|
|
2248
1066
|
pathArgs: { ...this.args.pathArgs,
|
|
2249
1067
|
...childPathArgs
|
|
2250
1068
|
},
|
|
@@ -2260,24 +1078,53 @@ class ByProjectKeyProductsImportContainersRequestBuilder {
|
|
|
2260
1078
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2261
1079
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2262
1080
|
*/
|
|
2263
|
-
|
|
1081
|
+
/**
|
|
1082
|
+
**/
|
|
1083
|
+
|
|
1084
|
+
class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
1085
|
+
constructor(args) {
|
|
1086
|
+
this.args = args;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
importContainers() {
|
|
1090
|
+
return new ByProjectKeyProductVariantPatchesImportContainersRequestBuilder({
|
|
1091
|
+
pathArgs: { ...this.args.pathArgs
|
|
1092
|
+
},
|
|
1093
|
+
executeRequest: this.args.executeRequest,
|
|
1094
|
+
baseUri: this.args.baseUri
|
|
1095
|
+
});
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1102
|
+
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1103
|
+
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1104
|
+
*/
|
|
1105
|
+
/**
|
|
1106
|
+
**/
|
|
1107
|
+
|
|
1108
|
+
class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder {
|
|
2264
1109
|
constructor(args) {
|
|
2265
1110
|
this.args = args;
|
|
2266
1111
|
}
|
|
2267
1112
|
/**
|
|
2268
|
-
*
|
|
2269
|
-
*
|
|
1113
|
+
* Creates a request for creating new ProductVariants or updating existing ones.
|
|
2270
1114
|
*/
|
|
2271
1115
|
|
|
2272
1116
|
|
|
2273
|
-
|
|
1117
|
+
post(methodArgs) {
|
|
2274
1118
|
return new ApiRequest({
|
|
2275
1119
|
baseUri: this.args.baseUri,
|
|
2276
|
-
method: '
|
|
2277
|
-
uriTemplate: '/{projectKey}/
|
|
1120
|
+
method: 'POST',
|
|
1121
|
+
uriTemplate: '/{projectKey}/product-variants/import-containers/{importContainerKey}',
|
|
2278
1122
|
pathVariables: this.args.pathArgs,
|
|
2279
|
-
headers: {
|
|
2280
|
-
|
|
1123
|
+
headers: {
|
|
1124
|
+
'Content-Type': 'application/json',
|
|
1125
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
1126
|
+
},
|
|
1127
|
+
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
2281
1128
|
}, this.args.executeRequest);
|
|
2282
1129
|
}
|
|
2283
1130
|
|
|
@@ -2288,13 +1135,16 @@ class ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsByIdReques
|
|
|
2288
1135
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2289
1136
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2290
1137
|
*/
|
|
2291
|
-
|
|
1138
|
+
/**
|
|
1139
|
+
**/
|
|
1140
|
+
|
|
1141
|
+
class ByProjectKeyProductVariantsImportContainersRequestBuilder {
|
|
2292
1142
|
constructor(args) {
|
|
2293
1143
|
this.args = args;
|
|
2294
1144
|
}
|
|
2295
1145
|
|
|
2296
|
-
|
|
2297
|
-
return new
|
|
1146
|
+
withImportContainerKeyValue(childPathArgs) {
|
|
1147
|
+
return new ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder({
|
|
2298
1148
|
pathArgs: { ...this.args.pathArgs,
|
|
2299
1149
|
...childPathArgs
|
|
2300
1150
|
},
|
|
@@ -2302,22 +1152,6 @@ class ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsRequestBui
|
|
|
2302
1152
|
baseUri: this.args.baseUri
|
|
2303
1153
|
});
|
|
2304
1154
|
}
|
|
2305
|
-
/**
|
|
2306
|
-
* Retrieves all product import operations of an import sink key.
|
|
2307
|
-
*/
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
get(methodArgs) {
|
|
2311
|
-
return new ApiRequest({
|
|
2312
|
-
baseUri: this.args.baseUri,
|
|
2313
|
-
method: 'GET',
|
|
2314
|
-
uriTemplate: '/{projectKey}/products/importSinkKey={importSinkKey}/import-operations',
|
|
2315
|
-
pathVariables: this.args.pathArgs,
|
|
2316
|
-
headers: { ...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
2317
|
-
},
|
|
2318
|
-
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
2319
|
-
}, this.args.executeRequest);
|
|
2320
|
-
}
|
|
2321
1155
|
|
|
2322
1156
|
}
|
|
2323
1157
|
|
|
@@ -2326,21 +1160,39 @@ class ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsRequestBui
|
|
|
2326
1160
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2327
1161
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2328
1162
|
*/
|
|
2329
|
-
|
|
1163
|
+
/**
|
|
1164
|
+
**/
|
|
1165
|
+
|
|
1166
|
+
class ByProjectKeyProductVariantsRequestBuilder {
|
|
2330
1167
|
constructor(args) {
|
|
2331
1168
|
this.args = args;
|
|
2332
1169
|
}
|
|
2333
1170
|
|
|
2334
|
-
|
|
2335
|
-
return new
|
|
1171
|
+
importContainers() {
|
|
1172
|
+
return new ByProjectKeyProductVariantsImportContainersRequestBuilder({
|
|
2336
1173
|
pathArgs: { ...this.args.pathArgs
|
|
2337
1174
|
},
|
|
2338
1175
|
executeRequest: this.args.executeRequest,
|
|
2339
1176
|
baseUri: this.args.baseUri
|
|
2340
1177
|
});
|
|
2341
1178
|
}
|
|
1179
|
+
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1184
|
+
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1185
|
+
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1186
|
+
*/
|
|
1187
|
+
/**
|
|
1188
|
+
**/
|
|
1189
|
+
|
|
1190
|
+
class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
1191
|
+
constructor(args) {
|
|
1192
|
+
this.args = args;
|
|
1193
|
+
}
|
|
2342
1194
|
/**
|
|
2343
|
-
* Creates
|
|
1195
|
+
* Creates a request for creating new Products or updating existing ones.
|
|
2344
1196
|
*/
|
|
2345
1197
|
|
|
2346
1198
|
|
|
@@ -2348,7 +1200,7 @@ class ByProjectKeyProductsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
|
2348
1200
|
return new ApiRequest({
|
|
2349
1201
|
baseUri: this.args.baseUri,
|
|
2350
1202
|
method: 'POST',
|
|
2351
|
-
uriTemplate: '/{projectKey}/products/
|
|
1203
|
+
uriTemplate: '/{projectKey}/products/import-containers/{importContainerKey}',
|
|
2352
1204
|
pathVariables: this.args.pathArgs,
|
|
2353
1205
|
headers: {
|
|
2354
1206
|
'Content-Type': 'application/json',
|
|
@@ -2365,22 +1217,16 @@ class ByProjectKeyProductsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
|
2365
1217
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2366
1218
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2367
1219
|
*/
|
|
2368
|
-
|
|
1220
|
+
/**
|
|
1221
|
+
**/
|
|
1222
|
+
|
|
1223
|
+
class ByProjectKeyProductsImportContainersRequestBuilder {
|
|
2369
1224
|
constructor(args) {
|
|
2370
1225
|
this.args = args;
|
|
2371
1226
|
}
|
|
2372
1227
|
|
|
2373
|
-
|
|
2374
|
-
return new
|
|
2375
|
-
pathArgs: { ...this.args.pathArgs
|
|
2376
|
-
},
|
|
2377
|
-
executeRequest: this.args.executeRequest,
|
|
2378
|
-
baseUri: this.args.baseUri
|
|
2379
|
-
});
|
|
2380
|
-
}
|
|
2381
|
-
|
|
2382
|
-
importSinkKeyWithImportSinkKeyValue(childPathArgs) {
|
|
2383
|
-
return new ByProjectKeyProductsImportSinkKeyByImportSinkKeyRequestBuilder({
|
|
1228
|
+
withImportContainerKeyValue(childPathArgs) {
|
|
1229
|
+
return new ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder({
|
|
2384
1230
|
pathArgs: { ...this.args.pathArgs,
|
|
2385
1231
|
...childPathArgs
|
|
2386
1232
|
},
|
|
@@ -2396,13 +1242,16 @@ class ByProjectKeyProductsRequestBuilder {
|
|
|
2396
1242
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
2397
1243
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
2398
1244
|
*/
|
|
2399
|
-
|
|
1245
|
+
/**
|
|
1246
|
+
**/
|
|
1247
|
+
|
|
1248
|
+
class ByProjectKeyProductsRequestBuilder {
|
|
2400
1249
|
constructor(args) {
|
|
2401
1250
|
this.args = args;
|
|
2402
1251
|
}
|
|
2403
1252
|
|
|
2404
|
-
|
|
2405
|
-
return new
|
|
1253
|
+
importContainers() {
|
|
1254
|
+
return new ByProjectKeyProductsImportContainersRequestBuilder({
|
|
2406
1255
|
pathArgs: { ...this.args.pathArgs
|
|
2407
1256
|
},
|
|
2408
1257
|
executeRequest: this.args.executeRequest,
|
|
@@ -2410,13 +1259,19 @@ class ByProjectKeyRequestBuilder {
|
|
|
2410
1259
|
});
|
|
2411
1260
|
}
|
|
2412
1261
|
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
1266
|
+
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
1267
|
+
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1268
|
+
*/
|
|
1269
|
+
/**
|
|
1270
|
+
**/
|
|
1271
|
+
|
|
1272
|
+
class ByProjectKeyRequestBuilder {
|
|
1273
|
+
constructor(args) {
|
|
1274
|
+
this.args = args;
|
|
2420
1275
|
}
|
|
2421
1276
|
|
|
2422
1277
|
importContainers() {
|
|
@@ -2527,6 +1382,15 @@ class ByProjectKeyRequestBuilder {
|
|
|
2527
1382
|
});
|
|
2528
1383
|
}
|
|
2529
1384
|
|
|
1385
|
+
inventories() {
|
|
1386
|
+
return new ByProjectKeyInventoriesRequestBuilder({
|
|
1387
|
+
pathArgs: { ...this.args.pathArgs
|
|
1388
|
+
},
|
|
1389
|
+
executeRequest: this.args.executeRequest,
|
|
1390
|
+
baseUri: this.args.baseUri
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
|
|
2530
1394
|
}
|
|
2531
1395
|
|
|
2532
1396
|
class ApiRoot {
|