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