@commercetools/importapi-sdk 4.1.0 → 4.2.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 +174 -0
- package/dist/commercetools-importapi-sdk.browser.cjs.js +124 -246
- package/dist/commercetools-importapi-sdk.browser.esm.js +124 -246
- package/dist/commercetools-importapi-sdk.cjs.dev.js +124 -246
- package/dist/commercetools-importapi-sdk.cjs.prod.js +124 -246
- package/dist/commercetools-importapi-sdk.esm.js +124 -246
- package/dist/declarations/src/generated/models/common.d.ts +17 -7
- package/dist/declarations/src/generated/models/customfields.d.ts +1 -1
- package/dist/declarations/src/generated/models/errors.d.ts +1 -1
- package/dist/declarations/src/generated/models/importoperations.d.ts +1 -1
- package/dist/declarations/src/generated/models/importrequests.d.ts +2 -2
- package/dist/declarations/src/generated/models/order-patches.d.ts +1 -1
- package/dist/declarations/src/generated/models/orders.d.ts +14 -14
- package/dist/declarations/src/generated/models/prices.d.ts +8 -8
- package/dist/declarations/src/generated/models/productdrafts.d.ts +2 -0
- package/dist/declarations/src/generated/models/products.d.ts +1 -1
- package/dist/declarations/src/generated/models/producttypes.d.ts +3 -3
- package/dist/declarations/src/generated/models/productvariants.d.ts +5 -2
- package/dist/declarations/src/generated/models/standalone-prices.d.ts +1 -1
- package/dist/declarations/src/generated/shared/utils/common-types.d.ts +5 -5
- package/dist/declarations/src/generated/shared/utils/middleware.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
import { stringify } from 'querystring';
|
|
2
2
|
|
|
3
|
+
function _toPrimitive(input, hint) {
|
|
4
|
+
if (typeof input !== "object" || input === null) return input;
|
|
5
|
+
var prim = input[Symbol.toPrimitive];
|
|
6
|
+
if (prim !== undefined) {
|
|
7
|
+
var res = prim.call(input, hint || "default");
|
|
8
|
+
if (typeof res !== "object") return res;
|
|
9
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
10
|
+
}
|
|
11
|
+
return (hint === "string" ? String : Number)(input);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function _toPropertyKey(arg) {
|
|
15
|
+
var key = _toPrimitive(arg, "string");
|
|
16
|
+
return typeof key === "symbol" ? key : String(key);
|
|
17
|
+
}
|
|
18
|
+
|
|
3
19
|
function _defineProperty(obj, key, value) {
|
|
20
|
+
key = _toPropertyKey(key);
|
|
4
21
|
if (key in obj) {
|
|
5
22
|
Object.defineProperty(obj, key, {
|
|
6
23
|
value: value,
|
|
@@ -11,7 +28,6 @@ function _defineProperty(obj, key, value) {
|
|
|
11
28
|
} else {
|
|
12
29
|
obj[key] = value;
|
|
13
30
|
}
|
|
14
|
-
|
|
15
31
|
return obj;
|
|
16
32
|
}
|
|
17
33
|
|
|
@@ -20,56 +36,45 @@ function _defineProperty(obj, key, value) {
|
|
|
20
36
|
* Please don't change this file manually but run `rmf-codegen generate <raml_file_path> -o <output_path> -t typescript_client` to update it.
|
|
21
37
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
22
38
|
*/
|
|
23
|
-
|
|
24
39
|
function isDefined(value) {
|
|
25
40
|
return typeof value !== 'undefined' && value !== null;
|
|
26
41
|
}
|
|
27
|
-
|
|
28
42
|
function cleanObject(obj) {
|
|
29
43
|
return Object.keys(obj).reduce((result, key) => {
|
|
30
44
|
const value = obj[key];
|
|
31
|
-
|
|
32
45
|
if (Array.isArray(value)) {
|
|
33
46
|
const values = value.filter(isDefined);
|
|
34
|
-
|
|
35
47
|
if (!values.length) {
|
|
36
48
|
return result;
|
|
37
49
|
}
|
|
38
|
-
|
|
39
|
-
|
|
50
|
+
return {
|
|
51
|
+
...result,
|
|
40
52
|
[key]: values
|
|
41
53
|
};
|
|
42
54
|
}
|
|
43
|
-
|
|
44
55
|
if (isDefined(value)) {
|
|
45
|
-
return {
|
|
56
|
+
return {
|
|
57
|
+
...result,
|
|
46
58
|
[key]: value
|
|
47
59
|
};
|
|
48
60
|
}
|
|
49
|
-
|
|
50
61
|
return result;
|
|
51
62
|
}, {});
|
|
52
63
|
}
|
|
53
|
-
|
|
54
64
|
function formatQueryString(variableMap) {
|
|
55
65
|
const map = cleanObject(variableMap);
|
|
56
66
|
const result = stringify(map);
|
|
57
|
-
|
|
58
67
|
if (result === '') {
|
|
59
68
|
return '';
|
|
60
69
|
}
|
|
61
|
-
|
|
62
70
|
return `?${result}`;
|
|
63
71
|
}
|
|
64
|
-
|
|
65
72
|
function buildRelativeUri(commonRequest) {
|
|
66
73
|
const pathMap = commonRequest.pathVariables;
|
|
67
74
|
var uri = commonRequest.uriTemplate;
|
|
68
|
-
|
|
69
75
|
for (const param in pathMap) {
|
|
70
76
|
uri = uri.replace(`{${param}}`, `${pathMap[param]}`);
|
|
71
77
|
}
|
|
72
|
-
|
|
73
78
|
const resQuery = formatQueryString(commonRequest.queryParams || {});
|
|
74
79
|
return `${uri}${resQuery}`;
|
|
75
80
|
}
|
|
@@ -77,22 +82,18 @@ function buildRelativeUri(commonRequest) {
|
|
|
77
82
|
class ApiRequest {
|
|
78
83
|
constructor(request, requestExecutor) {
|
|
79
84
|
this.requestExecutor = requestExecutor;
|
|
80
|
-
|
|
81
85
|
_defineProperty(this, "request", void 0);
|
|
82
|
-
|
|
83
|
-
|
|
86
|
+
this.request = {
|
|
87
|
+
...request,
|
|
84
88
|
uri: buildRelativeUri(request)
|
|
85
89
|
};
|
|
86
90
|
}
|
|
87
|
-
|
|
88
91
|
clientRequest() {
|
|
89
92
|
return this.request;
|
|
90
93
|
}
|
|
91
|
-
|
|
92
94
|
execute() {
|
|
93
95
|
return this.requestExecutor(this.request);
|
|
94
96
|
}
|
|
95
|
-
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
/**
|
|
@@ -102,7 +103,6 @@ class ApiRequest {
|
|
|
102
103
|
*/
|
|
103
104
|
/**
|
|
104
105
|
**/
|
|
105
|
-
|
|
106
106
|
class ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
107
107
|
constructor(args) {
|
|
108
108
|
this.args = args;
|
|
@@ -110,8 +110,6 @@ class ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
110
110
|
/**
|
|
111
111
|
* Creates a request for creating new Categories or updating existing ones.
|
|
112
112
|
*/
|
|
113
|
-
|
|
114
|
-
|
|
115
113
|
post(methodArgs) {
|
|
116
114
|
return new ApiRequest({
|
|
117
115
|
baseUri: this.args.baseUri,
|
|
@@ -125,7 +123,6 @@ class ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
125
123
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
126
124
|
}, this.args.executeRequest);
|
|
127
125
|
}
|
|
128
|
-
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
/**
|
|
@@ -135,22 +132,20 @@ class ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
135
132
|
*/
|
|
136
133
|
/**
|
|
137
134
|
**/
|
|
138
|
-
|
|
139
135
|
class ByProjectKeyCategoriesImportContainersRequestBuilder {
|
|
140
136
|
constructor(args) {
|
|
141
137
|
this.args = args;
|
|
142
138
|
}
|
|
143
|
-
|
|
144
139
|
withImportContainerKeyValue(childPathArgs) {
|
|
145
140
|
return new ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder({
|
|
146
|
-
pathArgs: {
|
|
141
|
+
pathArgs: {
|
|
142
|
+
...this.args.pathArgs,
|
|
147
143
|
...childPathArgs
|
|
148
144
|
},
|
|
149
145
|
executeRequest: this.args.executeRequest,
|
|
150
146
|
baseUri: this.args.baseUri
|
|
151
147
|
});
|
|
152
148
|
}
|
|
153
|
-
|
|
154
149
|
}
|
|
155
150
|
|
|
156
151
|
/**
|
|
@@ -160,21 +155,19 @@ class ByProjectKeyCategoriesImportContainersRequestBuilder {
|
|
|
160
155
|
*/
|
|
161
156
|
/**
|
|
162
157
|
**/
|
|
163
|
-
|
|
164
158
|
class ByProjectKeyCategoriesRequestBuilder {
|
|
165
159
|
constructor(args) {
|
|
166
160
|
this.args = args;
|
|
167
161
|
}
|
|
168
|
-
|
|
169
162
|
importContainers() {
|
|
170
163
|
return new ByProjectKeyCategoriesImportContainersRequestBuilder({
|
|
171
|
-
pathArgs: {
|
|
164
|
+
pathArgs: {
|
|
165
|
+
...this.args.pathArgs
|
|
172
166
|
},
|
|
173
167
|
executeRequest: this.args.executeRequest,
|
|
174
168
|
baseUri: this.args.baseUri
|
|
175
169
|
});
|
|
176
170
|
}
|
|
177
|
-
|
|
178
171
|
}
|
|
179
172
|
|
|
180
173
|
/**
|
|
@@ -184,7 +177,6 @@ class ByProjectKeyCategoriesRequestBuilder {
|
|
|
184
177
|
*/
|
|
185
178
|
/**
|
|
186
179
|
**/
|
|
187
|
-
|
|
188
180
|
class ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder {
|
|
189
181
|
constructor(args) {
|
|
190
182
|
this.args = args;
|
|
@@ -192,8 +184,6 @@ class ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
192
184
|
/**
|
|
193
185
|
* Creates a request for creating new Customers or updating existing ones.
|
|
194
186
|
*/
|
|
195
|
-
|
|
196
|
-
|
|
197
187
|
post(methodArgs) {
|
|
198
188
|
return new ApiRequest({
|
|
199
189
|
baseUri: this.args.baseUri,
|
|
@@ -207,7 +197,6 @@ class ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
207
197
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
208
198
|
}, this.args.executeRequest);
|
|
209
199
|
}
|
|
210
|
-
|
|
211
200
|
}
|
|
212
201
|
|
|
213
202
|
/**
|
|
@@ -217,22 +206,20 @@ class ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
217
206
|
*/
|
|
218
207
|
/**
|
|
219
208
|
**/
|
|
220
|
-
|
|
221
209
|
class ByProjectKeyCustomersImportContainersRequestBuilder {
|
|
222
210
|
constructor(args) {
|
|
223
211
|
this.args = args;
|
|
224
212
|
}
|
|
225
|
-
|
|
226
213
|
withImportContainerKeyValue(childPathArgs) {
|
|
227
214
|
return new ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder({
|
|
228
|
-
pathArgs: {
|
|
215
|
+
pathArgs: {
|
|
216
|
+
...this.args.pathArgs,
|
|
229
217
|
...childPathArgs
|
|
230
218
|
},
|
|
231
219
|
executeRequest: this.args.executeRequest,
|
|
232
220
|
baseUri: this.args.baseUri
|
|
233
221
|
});
|
|
234
222
|
}
|
|
235
|
-
|
|
236
223
|
}
|
|
237
224
|
|
|
238
225
|
/**
|
|
@@ -242,21 +229,19 @@ class ByProjectKeyCustomersImportContainersRequestBuilder {
|
|
|
242
229
|
*/
|
|
243
230
|
/**
|
|
244
231
|
**/
|
|
245
|
-
|
|
246
232
|
class ByProjectKeyCustomersRequestBuilder {
|
|
247
233
|
constructor(args) {
|
|
248
234
|
this.args = args;
|
|
249
235
|
}
|
|
250
|
-
|
|
251
236
|
importContainers() {
|
|
252
237
|
return new ByProjectKeyCustomersImportContainersRequestBuilder({
|
|
253
|
-
pathArgs: {
|
|
238
|
+
pathArgs: {
|
|
239
|
+
...this.args.pathArgs
|
|
254
240
|
},
|
|
255
241
|
executeRequest: this.args.executeRequest,
|
|
256
242
|
baseUri: this.args.baseUri
|
|
257
243
|
});
|
|
258
244
|
}
|
|
259
|
-
|
|
260
245
|
}
|
|
261
246
|
|
|
262
247
|
/**
|
|
@@ -266,7 +251,6 @@ class ByProjectKeyCustomersRequestBuilder {
|
|
|
266
251
|
*/
|
|
267
252
|
/**
|
|
268
253
|
**/
|
|
269
|
-
|
|
270
254
|
class ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder {
|
|
271
255
|
constructor(args) {
|
|
272
256
|
this.args = args;
|
|
@@ -275,20 +259,18 @@ class ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBui
|
|
|
275
259
|
* Retrieves all [ImportOperations](ctp:import:type:ImportOperation) of a given ImportContainer key.
|
|
276
260
|
*
|
|
277
261
|
*/
|
|
278
|
-
|
|
279
|
-
|
|
280
262
|
get(methodArgs) {
|
|
281
263
|
return new ApiRequest({
|
|
282
264
|
baseUri: this.args.baseUri,
|
|
283
265
|
method: 'GET',
|
|
284
266
|
uriTemplate: '/{projectKey}/import-containers/{importContainerKey}/import-operations',
|
|
285
267
|
pathVariables: this.args.pathArgs,
|
|
286
|
-
headers: {
|
|
268
|
+
headers: {
|
|
269
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
287
270
|
},
|
|
288
271
|
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
289
272
|
}, this.args.executeRequest);
|
|
290
273
|
}
|
|
291
|
-
|
|
292
274
|
}
|
|
293
275
|
|
|
294
276
|
/**
|
|
@@ -298,7 +280,6 @@ class ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBui
|
|
|
298
280
|
*/
|
|
299
281
|
/**
|
|
300
282
|
**/
|
|
301
|
-
|
|
302
283
|
class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder {
|
|
303
284
|
constructor(args) {
|
|
304
285
|
this.args = args;
|
|
@@ -307,19 +288,17 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
307
288
|
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given import container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
308
289
|
*
|
|
309
290
|
*/
|
|
310
|
-
|
|
311
|
-
|
|
312
291
|
get(methodArgs) {
|
|
313
292
|
return new ApiRequest({
|
|
314
293
|
baseUri: this.args.baseUri,
|
|
315
294
|
method: 'GET',
|
|
316
295
|
uriTemplate: '/{projectKey}/import-containers/{importContainerKey}/import-summaries',
|
|
317
296
|
pathVariables: this.args.pathArgs,
|
|
318
|
-
headers: {
|
|
297
|
+
headers: {
|
|
298
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
319
299
|
}
|
|
320
300
|
}, this.args.executeRequest);
|
|
321
301
|
}
|
|
322
|
-
|
|
323
302
|
}
|
|
324
303
|
|
|
325
304
|
/**
|
|
@@ -329,34 +308,32 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
329
308
|
*/
|
|
330
309
|
/**
|
|
331
310
|
**/
|
|
332
|
-
|
|
333
311
|
class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
334
312
|
constructor(args) {
|
|
335
313
|
this.args = args;
|
|
336
314
|
}
|
|
337
|
-
|
|
338
315
|
importSummaries() {
|
|
339
316
|
return new ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder({
|
|
340
|
-
pathArgs: {
|
|
317
|
+
pathArgs: {
|
|
318
|
+
...this.args.pathArgs
|
|
341
319
|
},
|
|
342
320
|
executeRequest: this.args.executeRequest,
|
|
343
321
|
baseUri: this.args.baseUri
|
|
344
322
|
});
|
|
345
323
|
}
|
|
346
|
-
|
|
347
324
|
importOperations() {
|
|
348
325
|
return new ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder({
|
|
349
|
-
pathArgs: {
|
|
326
|
+
pathArgs: {
|
|
327
|
+
...this.args.pathArgs
|
|
350
328
|
},
|
|
351
329
|
executeRequest: this.args.executeRequest,
|
|
352
330
|
baseUri: this.args.baseUri
|
|
353
331
|
});
|
|
354
332
|
}
|
|
333
|
+
|
|
355
334
|
/**
|
|
356
335
|
* Updates the import container given by the key.
|
|
357
336
|
*/
|
|
358
|
-
|
|
359
|
-
|
|
360
337
|
put(methodArgs) {
|
|
361
338
|
return new ApiRequest({
|
|
362
339
|
baseUri: this.args.baseUri,
|
|
@@ -373,34 +350,31 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
373
350
|
/**
|
|
374
351
|
* Retrieves the import container given by the key.
|
|
375
352
|
*/
|
|
376
|
-
|
|
377
|
-
|
|
378
353
|
get(methodArgs) {
|
|
379
354
|
return new ApiRequest({
|
|
380
355
|
baseUri: this.args.baseUri,
|
|
381
356
|
method: 'GET',
|
|
382
357
|
uriTemplate: '/{projectKey}/import-containers/{importContainerKey}',
|
|
383
358
|
pathVariables: this.args.pathArgs,
|
|
384
|
-
headers: {
|
|
359
|
+
headers: {
|
|
360
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
385
361
|
}
|
|
386
362
|
}, this.args.executeRequest);
|
|
387
363
|
}
|
|
388
364
|
/**
|
|
389
365
|
* Deletes the import container given by the key.
|
|
390
366
|
*/
|
|
391
|
-
|
|
392
|
-
|
|
393
367
|
delete(methodArgs) {
|
|
394
368
|
return new ApiRequest({
|
|
395
369
|
baseUri: this.args.baseUri,
|
|
396
370
|
method: 'DELETE',
|
|
397
371
|
uriTemplate: '/{projectKey}/import-containers/{importContainerKey}',
|
|
398
372
|
pathVariables: this.args.pathArgs,
|
|
399
|
-
headers: {
|
|
373
|
+
headers: {
|
|
374
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
400
375
|
}
|
|
401
376
|
}, this.args.executeRequest);
|
|
402
377
|
}
|
|
403
|
-
|
|
404
378
|
}
|
|
405
379
|
|
|
406
380
|
/**
|
|
@@ -410,26 +384,24 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
410
384
|
*/
|
|
411
385
|
/**
|
|
412
386
|
**/
|
|
413
|
-
|
|
414
387
|
class ByProjectKeyImportContainersRequestBuilder {
|
|
415
388
|
constructor(args) {
|
|
416
389
|
this.args = args;
|
|
417
390
|
}
|
|
418
|
-
|
|
419
391
|
withImportContainerKeyValue(childPathArgs) {
|
|
420
392
|
return new ByProjectKeyImportContainersByImportContainerKeyRequestBuilder({
|
|
421
|
-
pathArgs: {
|
|
393
|
+
pathArgs: {
|
|
394
|
+
...this.args.pathArgs,
|
|
422
395
|
...childPathArgs
|
|
423
396
|
},
|
|
424
397
|
executeRequest: this.args.executeRequest,
|
|
425
398
|
baseUri: this.args.baseUri
|
|
426
399
|
});
|
|
427
400
|
}
|
|
401
|
+
|
|
428
402
|
/**
|
|
429
403
|
* Creates a new import container.
|
|
430
404
|
*/
|
|
431
|
-
|
|
432
|
-
|
|
433
405
|
post(methodArgs) {
|
|
434
406
|
return new ApiRequest({
|
|
435
407
|
baseUri: this.args.baseUri,
|
|
@@ -446,20 +418,18 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
446
418
|
/**
|
|
447
419
|
* Retrieves all import containers of a given project key.
|
|
448
420
|
*/
|
|
449
|
-
|
|
450
|
-
|
|
451
421
|
get(methodArgs) {
|
|
452
422
|
return new ApiRequest({
|
|
453
423
|
baseUri: this.args.baseUri,
|
|
454
424
|
method: 'GET',
|
|
455
425
|
uriTemplate: '/{projectKey}/import-containers',
|
|
456
426
|
pathVariables: this.args.pathArgs,
|
|
457
|
-
headers: {
|
|
427
|
+
headers: {
|
|
428
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
458
429
|
},
|
|
459
430
|
queryParams: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.queryArgs
|
|
460
431
|
}, this.args.executeRequest);
|
|
461
432
|
}
|
|
462
|
-
|
|
463
433
|
}
|
|
464
434
|
|
|
465
435
|
/**
|
|
@@ -469,7 +439,6 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
469
439
|
*/
|
|
470
440
|
/**
|
|
471
441
|
**/
|
|
472
|
-
|
|
473
442
|
class ByProjectKeyImportOperationsByIdRequestBuilder {
|
|
474
443
|
constructor(args) {
|
|
475
444
|
this.args = args;
|
|
@@ -478,19 +447,17 @@ class ByProjectKeyImportOperationsByIdRequestBuilder {
|
|
|
478
447
|
* Retrieves the [ImportOperation](ctp:import:type:ImportOperation) of a given ID.
|
|
479
448
|
*
|
|
480
449
|
*/
|
|
481
|
-
|
|
482
|
-
|
|
483
450
|
get(methodArgs) {
|
|
484
451
|
return new ApiRequest({
|
|
485
452
|
baseUri: this.args.baseUri,
|
|
486
453
|
method: 'GET',
|
|
487
454
|
uriTemplate: '/{projectKey}/import-operations/{id}',
|
|
488
455
|
pathVariables: this.args.pathArgs,
|
|
489
|
-
headers: {
|
|
456
|
+
headers: {
|
|
457
|
+
...(methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.headers)
|
|
490
458
|
}
|
|
491
459
|
}, this.args.executeRequest);
|
|
492
460
|
}
|
|
493
|
-
|
|
494
461
|
}
|
|
495
462
|
|
|
496
463
|
/**
|
|
@@ -500,22 +467,20 @@ class ByProjectKeyImportOperationsByIdRequestBuilder {
|
|
|
500
467
|
*/
|
|
501
468
|
/**
|
|
502
469
|
**/
|
|
503
|
-
|
|
504
470
|
class ByProjectKeyImportOperationsRequestBuilder {
|
|
505
471
|
constructor(args) {
|
|
506
472
|
this.args = args;
|
|
507
473
|
}
|
|
508
|
-
|
|
509
474
|
withIdValue(childPathArgs) {
|
|
510
475
|
return new ByProjectKeyImportOperationsByIdRequestBuilder({
|
|
511
|
-
pathArgs: {
|
|
476
|
+
pathArgs: {
|
|
477
|
+
...this.args.pathArgs,
|
|
512
478
|
...childPathArgs
|
|
513
479
|
},
|
|
514
480
|
executeRequest: this.args.executeRequest,
|
|
515
481
|
baseUri: this.args.baseUri
|
|
516
482
|
});
|
|
517
483
|
}
|
|
518
|
-
|
|
519
484
|
}
|
|
520
485
|
|
|
521
486
|
/**
|
|
@@ -525,7 +490,6 @@ class ByProjectKeyImportOperationsRequestBuilder {
|
|
|
525
490
|
*/
|
|
526
491
|
/**
|
|
527
492
|
**/
|
|
528
|
-
|
|
529
493
|
class ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder {
|
|
530
494
|
constructor(args) {
|
|
531
495
|
this.args = args;
|
|
@@ -533,8 +497,6 @@ class ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder
|
|
|
533
497
|
/**
|
|
534
498
|
* Creates a request for creating new Inventories or updating existing ones.
|
|
535
499
|
*/
|
|
536
|
-
|
|
537
|
-
|
|
538
500
|
post(methodArgs) {
|
|
539
501
|
return new ApiRequest({
|
|
540
502
|
baseUri: this.args.baseUri,
|
|
@@ -548,7 +510,6 @@ class ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder
|
|
|
548
510
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
549
511
|
}, this.args.executeRequest);
|
|
550
512
|
}
|
|
551
|
-
|
|
552
513
|
}
|
|
553
514
|
|
|
554
515
|
/**
|
|
@@ -558,22 +519,20 @@ class ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder
|
|
|
558
519
|
*/
|
|
559
520
|
/**
|
|
560
521
|
**/
|
|
561
|
-
|
|
562
522
|
class ByProjectKeyInventoriesImportContainersRequestBuilder {
|
|
563
523
|
constructor(args) {
|
|
564
524
|
this.args = args;
|
|
565
525
|
}
|
|
566
|
-
|
|
567
526
|
withImportContainerKeyValue(childPathArgs) {
|
|
568
527
|
return new ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder({
|
|
569
|
-
pathArgs: {
|
|
528
|
+
pathArgs: {
|
|
529
|
+
...this.args.pathArgs,
|
|
570
530
|
...childPathArgs
|
|
571
531
|
},
|
|
572
532
|
executeRequest: this.args.executeRequest,
|
|
573
533
|
baseUri: this.args.baseUri
|
|
574
534
|
});
|
|
575
535
|
}
|
|
576
|
-
|
|
577
536
|
}
|
|
578
537
|
|
|
579
538
|
/**
|
|
@@ -583,21 +542,19 @@ class ByProjectKeyInventoriesImportContainersRequestBuilder {
|
|
|
583
542
|
*/
|
|
584
543
|
/**
|
|
585
544
|
**/
|
|
586
|
-
|
|
587
545
|
class ByProjectKeyInventoriesRequestBuilder {
|
|
588
546
|
constructor(args) {
|
|
589
547
|
this.args = args;
|
|
590
548
|
}
|
|
591
|
-
|
|
592
549
|
importContainers() {
|
|
593
550
|
return new ByProjectKeyInventoriesImportContainersRequestBuilder({
|
|
594
|
-
pathArgs: {
|
|
551
|
+
pathArgs: {
|
|
552
|
+
...this.args.pathArgs
|
|
595
553
|
},
|
|
596
554
|
executeRequest: this.args.executeRequest,
|
|
597
555
|
baseUri: this.args.baseUri
|
|
598
556
|
});
|
|
599
557
|
}
|
|
600
|
-
|
|
601
558
|
}
|
|
602
559
|
|
|
603
560
|
/**
|
|
@@ -607,7 +564,6 @@ class ByProjectKeyInventoriesRequestBuilder {
|
|
|
607
564
|
*/
|
|
608
565
|
/**
|
|
609
566
|
**/
|
|
610
|
-
|
|
611
567
|
class ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder {
|
|
612
568
|
constructor(args) {
|
|
613
569
|
this.args = args;
|
|
@@ -615,8 +571,6 @@ class ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder
|
|
|
615
571
|
/**
|
|
616
572
|
* Creates a new import request for order patches
|
|
617
573
|
*/
|
|
618
|
-
|
|
619
|
-
|
|
620
574
|
post(methodArgs) {
|
|
621
575
|
return new ApiRequest({
|
|
622
576
|
baseUri: this.args.baseUri,
|
|
@@ -630,7 +584,6 @@ class ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder
|
|
|
630
584
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
631
585
|
}, this.args.executeRequest);
|
|
632
586
|
}
|
|
633
|
-
|
|
634
587
|
}
|
|
635
588
|
|
|
636
589
|
/**
|
|
@@ -640,22 +593,20 @@ class ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder
|
|
|
640
593
|
*/
|
|
641
594
|
/**
|
|
642
595
|
**/
|
|
643
|
-
|
|
644
596
|
class ByProjectKeyOrderPatchesImportContainersRequestBuilder {
|
|
645
597
|
constructor(args) {
|
|
646
598
|
this.args = args;
|
|
647
599
|
}
|
|
648
|
-
|
|
649
600
|
withImportContainerKeyValue(childPathArgs) {
|
|
650
601
|
return new ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder({
|
|
651
|
-
pathArgs: {
|
|
602
|
+
pathArgs: {
|
|
603
|
+
...this.args.pathArgs,
|
|
652
604
|
...childPathArgs
|
|
653
605
|
},
|
|
654
606
|
executeRequest: this.args.executeRequest,
|
|
655
607
|
baseUri: this.args.baseUri
|
|
656
608
|
});
|
|
657
609
|
}
|
|
658
|
-
|
|
659
610
|
}
|
|
660
611
|
|
|
661
612
|
/**
|
|
@@ -665,21 +616,19 @@ class ByProjectKeyOrderPatchesImportContainersRequestBuilder {
|
|
|
665
616
|
*/
|
|
666
617
|
/**
|
|
667
618
|
**/
|
|
668
|
-
|
|
669
619
|
class ByProjectKeyOrderPatchesRequestBuilder {
|
|
670
620
|
constructor(args) {
|
|
671
621
|
this.args = args;
|
|
672
622
|
}
|
|
673
|
-
|
|
674
623
|
importContainers() {
|
|
675
624
|
return new ByProjectKeyOrderPatchesImportContainersRequestBuilder({
|
|
676
|
-
pathArgs: {
|
|
625
|
+
pathArgs: {
|
|
626
|
+
...this.args.pathArgs
|
|
677
627
|
},
|
|
678
628
|
executeRequest: this.args.executeRequest,
|
|
679
629
|
baseUri: this.args.baseUri
|
|
680
630
|
});
|
|
681
631
|
}
|
|
682
|
-
|
|
683
632
|
}
|
|
684
633
|
|
|
685
634
|
/**
|
|
@@ -689,7 +638,6 @@ class ByProjectKeyOrderPatchesRequestBuilder {
|
|
|
689
638
|
*/
|
|
690
639
|
/**
|
|
691
640
|
**/
|
|
692
|
-
|
|
693
641
|
class ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder {
|
|
694
642
|
constructor(args) {
|
|
695
643
|
this.args = args;
|
|
@@ -697,8 +645,6 @@ class ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
697
645
|
/**
|
|
698
646
|
* Creates a request for creating new Orders or updating existing ones.
|
|
699
647
|
*/
|
|
700
|
-
|
|
701
|
-
|
|
702
648
|
post(methodArgs) {
|
|
703
649
|
return new ApiRequest({
|
|
704
650
|
baseUri: this.args.baseUri,
|
|
@@ -712,7 +658,6 @@ class ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
712
658
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
713
659
|
}, this.args.executeRequest);
|
|
714
660
|
}
|
|
715
|
-
|
|
716
661
|
}
|
|
717
662
|
|
|
718
663
|
/**
|
|
@@ -722,22 +667,20 @@ class ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder {
|
|
|
722
667
|
*/
|
|
723
668
|
/**
|
|
724
669
|
**/
|
|
725
|
-
|
|
726
670
|
class ByProjectKeyOrdersImportContainersRequestBuilder {
|
|
727
671
|
constructor(args) {
|
|
728
672
|
this.args = args;
|
|
729
673
|
}
|
|
730
|
-
|
|
731
674
|
withImportContainerKeyValue(childPathArgs) {
|
|
732
675
|
return new ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder({
|
|
733
|
-
pathArgs: {
|
|
676
|
+
pathArgs: {
|
|
677
|
+
...this.args.pathArgs,
|
|
734
678
|
...childPathArgs
|
|
735
679
|
},
|
|
736
680
|
executeRequest: this.args.executeRequest,
|
|
737
681
|
baseUri: this.args.baseUri
|
|
738
682
|
});
|
|
739
683
|
}
|
|
740
|
-
|
|
741
684
|
}
|
|
742
685
|
|
|
743
686
|
/**
|
|
@@ -747,21 +690,19 @@ class ByProjectKeyOrdersImportContainersRequestBuilder {
|
|
|
747
690
|
*/
|
|
748
691
|
/**
|
|
749
692
|
**/
|
|
750
|
-
|
|
751
693
|
class ByProjectKeyOrdersRequestBuilder {
|
|
752
694
|
constructor(args) {
|
|
753
695
|
this.args = args;
|
|
754
696
|
}
|
|
755
|
-
|
|
756
697
|
importContainers() {
|
|
757
698
|
return new ByProjectKeyOrdersImportContainersRequestBuilder({
|
|
758
|
-
pathArgs: {
|
|
699
|
+
pathArgs: {
|
|
700
|
+
...this.args.pathArgs
|
|
759
701
|
},
|
|
760
702
|
executeRequest: this.args.executeRequest,
|
|
761
703
|
baseUri: this.args.baseUri
|
|
762
704
|
});
|
|
763
705
|
}
|
|
764
|
-
|
|
765
706
|
}
|
|
766
707
|
|
|
767
708
|
/**
|
|
@@ -771,7 +712,6 @@ class ByProjectKeyOrdersRequestBuilder {
|
|
|
771
712
|
*/
|
|
772
713
|
/**
|
|
773
714
|
**/
|
|
774
|
-
|
|
775
715
|
class ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder {
|
|
776
716
|
constructor(args) {
|
|
777
717
|
this.args = args;
|
|
@@ -779,8 +719,6 @@ class ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
779
719
|
/**
|
|
780
720
|
* Creates a request for creating new Prices or updating existing ones.
|
|
781
721
|
*/
|
|
782
|
-
|
|
783
|
-
|
|
784
722
|
post(methodArgs) {
|
|
785
723
|
return new ApiRequest({
|
|
786
724
|
baseUri: this.args.baseUri,
|
|
@@ -794,7 +732,6 @@ class ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
794
732
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
795
733
|
}, this.args.executeRequest);
|
|
796
734
|
}
|
|
797
|
-
|
|
798
735
|
}
|
|
799
736
|
|
|
800
737
|
/**
|
|
@@ -804,22 +741,20 @@ class ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder {
|
|
|
804
741
|
*/
|
|
805
742
|
/**
|
|
806
743
|
**/
|
|
807
|
-
|
|
808
744
|
class ByProjectKeyPricesImportContainersRequestBuilder {
|
|
809
745
|
constructor(args) {
|
|
810
746
|
this.args = args;
|
|
811
747
|
}
|
|
812
|
-
|
|
813
748
|
withImportContainerKeyValue(childPathArgs) {
|
|
814
749
|
return new ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder({
|
|
815
|
-
pathArgs: {
|
|
750
|
+
pathArgs: {
|
|
751
|
+
...this.args.pathArgs,
|
|
816
752
|
...childPathArgs
|
|
817
753
|
},
|
|
818
754
|
executeRequest: this.args.executeRequest,
|
|
819
755
|
baseUri: this.args.baseUri
|
|
820
756
|
});
|
|
821
757
|
}
|
|
822
|
-
|
|
823
758
|
}
|
|
824
759
|
|
|
825
760
|
/**
|
|
@@ -829,21 +764,19 @@ class ByProjectKeyPricesImportContainersRequestBuilder {
|
|
|
829
764
|
*/
|
|
830
765
|
/**
|
|
831
766
|
**/
|
|
832
|
-
|
|
833
767
|
class ByProjectKeyPricesRequestBuilder {
|
|
834
768
|
constructor(args) {
|
|
835
769
|
this.args = args;
|
|
836
770
|
}
|
|
837
|
-
|
|
838
771
|
importContainers() {
|
|
839
772
|
return new ByProjectKeyPricesImportContainersRequestBuilder({
|
|
840
|
-
pathArgs: {
|
|
773
|
+
pathArgs: {
|
|
774
|
+
...this.args.pathArgs
|
|
841
775
|
},
|
|
842
776
|
executeRequest: this.args.executeRequest,
|
|
843
777
|
baseUri: this.args.baseUri
|
|
844
778
|
});
|
|
845
779
|
}
|
|
846
|
-
|
|
847
780
|
}
|
|
848
781
|
|
|
849
782
|
/**
|
|
@@ -853,7 +786,6 @@ class ByProjectKeyPricesRequestBuilder {
|
|
|
853
786
|
*/
|
|
854
787
|
/**
|
|
855
788
|
**/
|
|
856
|
-
|
|
857
789
|
class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder {
|
|
858
790
|
constructor(args) {
|
|
859
791
|
this.args = args;
|
|
@@ -862,8 +794,6 @@ class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilde
|
|
|
862
794
|
* Creates a request for creating new ProductDrafts or updating existing ones.
|
|
863
795
|
*
|
|
864
796
|
*/
|
|
865
|
-
|
|
866
|
-
|
|
867
797
|
post(methodArgs) {
|
|
868
798
|
return new ApiRequest({
|
|
869
799
|
baseUri: this.args.baseUri,
|
|
@@ -877,7 +807,6 @@ class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilde
|
|
|
877
807
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
878
808
|
}, this.args.executeRequest);
|
|
879
809
|
}
|
|
880
|
-
|
|
881
810
|
}
|
|
882
811
|
|
|
883
812
|
/**
|
|
@@ -887,22 +816,20 @@ class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilde
|
|
|
887
816
|
*/
|
|
888
817
|
/**
|
|
889
818
|
**/
|
|
890
|
-
|
|
891
819
|
class ByProjectKeyProductDraftsImportContainersRequestBuilder {
|
|
892
820
|
constructor(args) {
|
|
893
821
|
this.args = args;
|
|
894
822
|
}
|
|
895
|
-
|
|
896
823
|
withImportContainerKeyValue(childPathArgs) {
|
|
897
824
|
return new ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder({
|
|
898
|
-
pathArgs: {
|
|
825
|
+
pathArgs: {
|
|
826
|
+
...this.args.pathArgs,
|
|
899
827
|
...childPathArgs
|
|
900
828
|
},
|
|
901
829
|
executeRequest: this.args.executeRequest,
|
|
902
830
|
baseUri: this.args.baseUri
|
|
903
831
|
});
|
|
904
832
|
}
|
|
905
|
-
|
|
906
833
|
}
|
|
907
834
|
|
|
908
835
|
/**
|
|
@@ -912,21 +839,19 @@ class ByProjectKeyProductDraftsImportContainersRequestBuilder {
|
|
|
912
839
|
*/
|
|
913
840
|
/**
|
|
914
841
|
**/
|
|
915
|
-
|
|
916
842
|
class ByProjectKeyProductDraftsRequestBuilder {
|
|
917
843
|
constructor(args) {
|
|
918
844
|
this.args = args;
|
|
919
845
|
}
|
|
920
|
-
|
|
921
846
|
importContainers() {
|
|
922
847
|
return new ByProjectKeyProductDraftsImportContainersRequestBuilder({
|
|
923
|
-
pathArgs: {
|
|
848
|
+
pathArgs: {
|
|
849
|
+
...this.args.pathArgs
|
|
924
850
|
},
|
|
925
851
|
executeRequest: this.args.executeRequest,
|
|
926
852
|
baseUri: this.args.baseUri
|
|
927
853
|
});
|
|
928
854
|
}
|
|
929
|
-
|
|
930
855
|
}
|
|
931
856
|
|
|
932
857
|
/**
|
|
@@ -936,7 +861,6 @@ class ByProjectKeyProductDraftsRequestBuilder {
|
|
|
936
861
|
*/
|
|
937
862
|
/**
|
|
938
863
|
**/
|
|
939
|
-
|
|
940
864
|
class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder {
|
|
941
865
|
constructor(args) {
|
|
942
866
|
this.args = args;
|
|
@@ -944,8 +868,6 @@ class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder
|
|
|
944
868
|
/**
|
|
945
869
|
* Creates a request for creating new ProductTypes or updating existing ones.
|
|
946
870
|
*/
|
|
947
|
-
|
|
948
|
-
|
|
949
871
|
post(methodArgs) {
|
|
950
872
|
return new ApiRequest({
|
|
951
873
|
baseUri: this.args.baseUri,
|
|
@@ -959,7 +881,6 @@ class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder
|
|
|
959
881
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
960
882
|
}, this.args.executeRequest);
|
|
961
883
|
}
|
|
962
|
-
|
|
963
884
|
}
|
|
964
885
|
|
|
965
886
|
/**
|
|
@@ -969,22 +890,20 @@ class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder
|
|
|
969
890
|
*/
|
|
970
891
|
/**
|
|
971
892
|
**/
|
|
972
|
-
|
|
973
893
|
class ByProjectKeyProductTypesImportContainersRequestBuilder {
|
|
974
894
|
constructor(args) {
|
|
975
895
|
this.args = args;
|
|
976
896
|
}
|
|
977
|
-
|
|
978
897
|
withImportContainerKeyValue(childPathArgs) {
|
|
979
898
|
return new ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder({
|
|
980
|
-
pathArgs: {
|
|
899
|
+
pathArgs: {
|
|
900
|
+
...this.args.pathArgs,
|
|
981
901
|
...childPathArgs
|
|
982
902
|
},
|
|
983
903
|
executeRequest: this.args.executeRequest,
|
|
984
904
|
baseUri: this.args.baseUri
|
|
985
905
|
});
|
|
986
906
|
}
|
|
987
|
-
|
|
988
907
|
}
|
|
989
908
|
|
|
990
909
|
/**
|
|
@@ -994,21 +913,19 @@ class ByProjectKeyProductTypesImportContainersRequestBuilder {
|
|
|
994
913
|
*/
|
|
995
914
|
/**
|
|
996
915
|
**/
|
|
997
|
-
|
|
998
916
|
class ByProjectKeyProductTypesRequestBuilder {
|
|
999
917
|
constructor(args) {
|
|
1000
918
|
this.args = args;
|
|
1001
919
|
}
|
|
1002
|
-
|
|
1003
920
|
importContainers() {
|
|
1004
921
|
return new ByProjectKeyProductTypesImportContainersRequestBuilder({
|
|
1005
|
-
pathArgs: {
|
|
922
|
+
pathArgs: {
|
|
923
|
+
...this.args.pathArgs
|
|
1006
924
|
},
|
|
1007
925
|
executeRequest: this.args.executeRequest,
|
|
1008
926
|
baseUri: this.args.baseUri
|
|
1009
927
|
});
|
|
1010
928
|
}
|
|
1011
|
-
|
|
1012
929
|
}
|
|
1013
930
|
|
|
1014
931
|
/**
|
|
@@ -1018,7 +935,6 @@ class ByProjectKeyProductTypesRequestBuilder {
|
|
|
1018
935
|
*/
|
|
1019
936
|
/**
|
|
1020
937
|
**/
|
|
1021
|
-
|
|
1022
938
|
class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder {
|
|
1023
939
|
constructor(args) {
|
|
1024
940
|
this.args = args;
|
|
@@ -1026,8 +942,6 @@ class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyReque
|
|
|
1026
942
|
/**
|
|
1027
943
|
* Creates a new import request for product variant patches
|
|
1028
944
|
*/
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
945
|
post(methodArgs) {
|
|
1032
946
|
return new ApiRequest({
|
|
1033
947
|
baseUri: this.args.baseUri,
|
|
@@ -1041,7 +955,6 @@ class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyReque
|
|
|
1041
955
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1042
956
|
}, this.args.executeRequest);
|
|
1043
957
|
}
|
|
1044
|
-
|
|
1045
958
|
}
|
|
1046
959
|
|
|
1047
960
|
/**
|
|
@@ -1051,22 +964,20 @@ class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyReque
|
|
|
1051
964
|
*/
|
|
1052
965
|
/**
|
|
1053
966
|
**/
|
|
1054
|
-
|
|
1055
967
|
class ByProjectKeyProductVariantPatchesImportContainersRequestBuilder {
|
|
1056
968
|
constructor(args) {
|
|
1057
969
|
this.args = args;
|
|
1058
970
|
}
|
|
1059
|
-
|
|
1060
971
|
withImportContainerKeyValue(childPathArgs) {
|
|
1061
972
|
return new ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder({
|
|
1062
|
-
pathArgs: {
|
|
973
|
+
pathArgs: {
|
|
974
|
+
...this.args.pathArgs,
|
|
1063
975
|
...childPathArgs
|
|
1064
976
|
},
|
|
1065
977
|
executeRequest: this.args.executeRequest,
|
|
1066
978
|
baseUri: this.args.baseUri
|
|
1067
979
|
});
|
|
1068
980
|
}
|
|
1069
|
-
|
|
1070
981
|
}
|
|
1071
982
|
|
|
1072
983
|
/**
|
|
@@ -1076,21 +987,19 @@ class ByProjectKeyProductVariantPatchesImportContainersRequestBuilder {
|
|
|
1076
987
|
*/
|
|
1077
988
|
/**
|
|
1078
989
|
**/
|
|
1079
|
-
|
|
1080
990
|
class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
1081
991
|
constructor(args) {
|
|
1082
992
|
this.args = args;
|
|
1083
993
|
}
|
|
1084
|
-
|
|
1085
994
|
importContainers() {
|
|
1086
995
|
return new ByProjectKeyProductVariantPatchesImportContainersRequestBuilder({
|
|
1087
|
-
pathArgs: {
|
|
996
|
+
pathArgs: {
|
|
997
|
+
...this.args.pathArgs
|
|
1088
998
|
},
|
|
1089
999
|
executeRequest: this.args.executeRequest,
|
|
1090
1000
|
baseUri: this.args.baseUri
|
|
1091
1001
|
});
|
|
1092
1002
|
}
|
|
1093
|
-
|
|
1094
1003
|
}
|
|
1095
1004
|
|
|
1096
1005
|
/**
|
|
@@ -1100,7 +1009,6 @@ class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
|
1100
1009
|
*/
|
|
1101
1010
|
/**
|
|
1102
1011
|
**/
|
|
1103
|
-
|
|
1104
1012
|
class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder {
|
|
1105
1013
|
constructor(args) {
|
|
1106
1014
|
this.args = args;
|
|
@@ -1108,8 +1016,6 @@ class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuil
|
|
|
1108
1016
|
/**
|
|
1109
1017
|
* Creates a request for creating new ProductVariants or updating existing ones.
|
|
1110
1018
|
*/
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
1019
|
post(methodArgs) {
|
|
1114
1020
|
return new ApiRequest({
|
|
1115
1021
|
baseUri: this.args.baseUri,
|
|
@@ -1123,7 +1029,6 @@ class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuil
|
|
|
1123
1029
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1124
1030
|
}, this.args.executeRequest);
|
|
1125
1031
|
}
|
|
1126
|
-
|
|
1127
1032
|
}
|
|
1128
1033
|
|
|
1129
1034
|
/**
|
|
@@ -1133,22 +1038,20 @@ class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuil
|
|
|
1133
1038
|
*/
|
|
1134
1039
|
/**
|
|
1135
1040
|
**/
|
|
1136
|
-
|
|
1137
1041
|
class ByProjectKeyProductVariantsImportContainersRequestBuilder {
|
|
1138
1042
|
constructor(args) {
|
|
1139
1043
|
this.args = args;
|
|
1140
1044
|
}
|
|
1141
|
-
|
|
1142
1045
|
withImportContainerKeyValue(childPathArgs) {
|
|
1143
1046
|
return new ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder({
|
|
1144
|
-
pathArgs: {
|
|
1047
|
+
pathArgs: {
|
|
1048
|
+
...this.args.pathArgs,
|
|
1145
1049
|
...childPathArgs
|
|
1146
1050
|
},
|
|
1147
1051
|
executeRequest: this.args.executeRequest,
|
|
1148
1052
|
baseUri: this.args.baseUri
|
|
1149
1053
|
});
|
|
1150
1054
|
}
|
|
1151
|
-
|
|
1152
1055
|
}
|
|
1153
1056
|
|
|
1154
1057
|
/**
|
|
@@ -1158,21 +1061,19 @@ class ByProjectKeyProductVariantsImportContainersRequestBuilder {
|
|
|
1158
1061
|
*/
|
|
1159
1062
|
/**
|
|
1160
1063
|
**/
|
|
1161
|
-
|
|
1162
1064
|
class ByProjectKeyProductVariantsRequestBuilder {
|
|
1163
1065
|
constructor(args) {
|
|
1164
1066
|
this.args = args;
|
|
1165
1067
|
}
|
|
1166
|
-
|
|
1167
1068
|
importContainers() {
|
|
1168
1069
|
return new ByProjectKeyProductVariantsImportContainersRequestBuilder({
|
|
1169
|
-
pathArgs: {
|
|
1070
|
+
pathArgs: {
|
|
1071
|
+
...this.args.pathArgs
|
|
1170
1072
|
},
|
|
1171
1073
|
executeRequest: this.args.executeRequest,
|
|
1172
1074
|
baseUri: this.args.baseUri
|
|
1173
1075
|
});
|
|
1174
1076
|
}
|
|
1175
|
-
|
|
1176
1077
|
}
|
|
1177
1078
|
|
|
1178
1079
|
/**
|
|
@@ -1182,7 +1083,6 @@ class ByProjectKeyProductVariantsRequestBuilder {
|
|
|
1182
1083
|
*/
|
|
1183
1084
|
/**
|
|
1184
1085
|
**/
|
|
1185
|
-
|
|
1186
1086
|
class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
1187
1087
|
constructor(args) {
|
|
1188
1088
|
this.args = args;
|
|
@@ -1190,8 +1090,6 @@ class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
|
1190
1090
|
/**
|
|
1191
1091
|
* Creates a request for creating new Products or updating existing ones.
|
|
1192
1092
|
*/
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
1093
|
post(methodArgs) {
|
|
1196
1094
|
return new ApiRequest({
|
|
1197
1095
|
baseUri: this.args.baseUri,
|
|
@@ -1205,7 +1103,6 @@ class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
|
1205
1103
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1206
1104
|
}, this.args.executeRequest);
|
|
1207
1105
|
}
|
|
1208
|
-
|
|
1209
1106
|
}
|
|
1210
1107
|
|
|
1211
1108
|
/**
|
|
@@ -1215,22 +1112,20 @@ class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
|
1215
1112
|
*/
|
|
1216
1113
|
/**
|
|
1217
1114
|
**/
|
|
1218
|
-
|
|
1219
1115
|
class ByProjectKeyProductsImportContainersRequestBuilder {
|
|
1220
1116
|
constructor(args) {
|
|
1221
1117
|
this.args = args;
|
|
1222
1118
|
}
|
|
1223
|
-
|
|
1224
1119
|
withImportContainerKeyValue(childPathArgs) {
|
|
1225
1120
|
return new ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder({
|
|
1226
|
-
pathArgs: {
|
|
1121
|
+
pathArgs: {
|
|
1122
|
+
...this.args.pathArgs,
|
|
1227
1123
|
...childPathArgs
|
|
1228
1124
|
},
|
|
1229
1125
|
executeRequest: this.args.executeRequest,
|
|
1230
1126
|
baseUri: this.args.baseUri
|
|
1231
1127
|
});
|
|
1232
1128
|
}
|
|
1233
|
-
|
|
1234
1129
|
}
|
|
1235
1130
|
|
|
1236
1131
|
/**
|
|
@@ -1240,21 +1135,19 @@ class ByProjectKeyProductsImportContainersRequestBuilder {
|
|
|
1240
1135
|
*/
|
|
1241
1136
|
/**
|
|
1242
1137
|
**/
|
|
1243
|
-
|
|
1244
1138
|
class ByProjectKeyProductsRequestBuilder {
|
|
1245
1139
|
constructor(args) {
|
|
1246
1140
|
this.args = args;
|
|
1247
1141
|
}
|
|
1248
|
-
|
|
1249
1142
|
importContainers() {
|
|
1250
1143
|
return new ByProjectKeyProductsImportContainersRequestBuilder({
|
|
1251
|
-
pathArgs: {
|
|
1144
|
+
pathArgs: {
|
|
1145
|
+
...this.args.pathArgs
|
|
1252
1146
|
},
|
|
1253
1147
|
executeRequest: this.args.executeRequest,
|
|
1254
1148
|
baseUri: this.args.baseUri
|
|
1255
1149
|
});
|
|
1256
1150
|
}
|
|
1257
|
-
|
|
1258
1151
|
}
|
|
1259
1152
|
|
|
1260
1153
|
/**
|
|
@@ -1264,7 +1157,6 @@ class ByProjectKeyProductsRequestBuilder {
|
|
|
1264
1157
|
*/
|
|
1265
1158
|
/**
|
|
1266
1159
|
**/
|
|
1267
|
-
|
|
1268
1160
|
class ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder {
|
|
1269
1161
|
constructor(args) {
|
|
1270
1162
|
this.args = args;
|
|
@@ -1272,8 +1164,6 @@ class ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBui
|
|
|
1272
1164
|
/**
|
|
1273
1165
|
* Creates a request for creating new Standalone Prices or updating existing ones.
|
|
1274
1166
|
*/
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
1167
|
post(methodArgs) {
|
|
1278
1168
|
return new ApiRequest({
|
|
1279
1169
|
baseUri: this.args.baseUri,
|
|
@@ -1287,7 +1177,6 @@ class ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBui
|
|
|
1287
1177
|
body: methodArgs === null || methodArgs === void 0 ? void 0 : methodArgs.body
|
|
1288
1178
|
}, this.args.executeRequest);
|
|
1289
1179
|
}
|
|
1290
|
-
|
|
1291
1180
|
}
|
|
1292
1181
|
|
|
1293
1182
|
/**
|
|
@@ -1297,22 +1186,20 @@ class ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBui
|
|
|
1297
1186
|
*/
|
|
1298
1187
|
/**
|
|
1299
1188
|
**/
|
|
1300
|
-
|
|
1301
1189
|
class ByProjectKeyStandalonePricesImportContainersRequestBuilder {
|
|
1302
1190
|
constructor(args) {
|
|
1303
1191
|
this.args = args;
|
|
1304
1192
|
}
|
|
1305
|
-
|
|
1306
1193
|
withImportContainerKeyValue(childPathArgs) {
|
|
1307
1194
|
return new ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder({
|
|
1308
|
-
pathArgs: {
|
|
1195
|
+
pathArgs: {
|
|
1196
|
+
...this.args.pathArgs,
|
|
1309
1197
|
...childPathArgs
|
|
1310
1198
|
},
|
|
1311
1199
|
executeRequest: this.args.executeRequest,
|
|
1312
1200
|
baseUri: this.args.baseUri
|
|
1313
1201
|
});
|
|
1314
1202
|
}
|
|
1315
|
-
|
|
1316
1203
|
}
|
|
1317
1204
|
|
|
1318
1205
|
/**
|
|
@@ -1322,21 +1209,19 @@ class ByProjectKeyStandalonePricesImportContainersRequestBuilder {
|
|
|
1322
1209
|
*/
|
|
1323
1210
|
/**
|
|
1324
1211
|
**/
|
|
1325
|
-
|
|
1326
1212
|
class ByProjectKeyStandalonePricesRequestBuilder {
|
|
1327
1213
|
constructor(args) {
|
|
1328
1214
|
this.args = args;
|
|
1329
1215
|
}
|
|
1330
|
-
|
|
1331
1216
|
importContainers() {
|
|
1332
1217
|
return new ByProjectKeyStandalonePricesImportContainersRequestBuilder({
|
|
1333
|
-
pathArgs: {
|
|
1218
|
+
pathArgs: {
|
|
1219
|
+
...this.args.pathArgs
|
|
1334
1220
|
},
|
|
1335
1221
|
executeRequest: this.args.executeRequest,
|
|
1336
1222
|
baseUri: this.args.baseUri
|
|
1337
1223
|
});
|
|
1338
1224
|
}
|
|
1339
|
-
|
|
1340
1225
|
}
|
|
1341
1226
|
|
|
1342
1227
|
/**
|
|
@@ -1346,159 +1231,154 @@ class ByProjectKeyStandalonePricesRequestBuilder {
|
|
|
1346
1231
|
*/
|
|
1347
1232
|
/**
|
|
1348
1233
|
**/
|
|
1349
|
-
|
|
1350
1234
|
class ByProjectKeyRequestBuilder {
|
|
1351
1235
|
constructor(args) {
|
|
1352
1236
|
this.args = args;
|
|
1353
1237
|
}
|
|
1354
|
-
|
|
1355
1238
|
importContainers() {
|
|
1356
1239
|
return new ByProjectKeyImportContainersRequestBuilder({
|
|
1357
|
-
pathArgs: {
|
|
1240
|
+
pathArgs: {
|
|
1241
|
+
...this.args.pathArgs
|
|
1358
1242
|
},
|
|
1359
1243
|
executeRequest: this.args.executeRequest,
|
|
1360
1244
|
baseUri: this.args.baseUri
|
|
1361
1245
|
});
|
|
1362
1246
|
}
|
|
1363
|
-
|
|
1364
1247
|
importOperations() {
|
|
1365
1248
|
return new ByProjectKeyImportOperationsRequestBuilder({
|
|
1366
|
-
pathArgs: {
|
|
1249
|
+
pathArgs: {
|
|
1250
|
+
...this.args.pathArgs
|
|
1367
1251
|
},
|
|
1368
1252
|
executeRequest: this.args.executeRequest,
|
|
1369
1253
|
baseUri: this.args.baseUri
|
|
1370
1254
|
});
|
|
1371
1255
|
}
|
|
1372
|
-
|
|
1373
1256
|
categories() {
|
|
1374
1257
|
return new ByProjectKeyCategoriesRequestBuilder({
|
|
1375
|
-
pathArgs: {
|
|
1258
|
+
pathArgs: {
|
|
1259
|
+
...this.args.pathArgs
|
|
1376
1260
|
},
|
|
1377
1261
|
executeRequest: this.args.executeRequest,
|
|
1378
1262
|
baseUri: this.args.baseUri
|
|
1379
1263
|
});
|
|
1380
1264
|
}
|
|
1381
|
-
|
|
1382
1265
|
prices() {
|
|
1383
1266
|
return new ByProjectKeyPricesRequestBuilder({
|
|
1384
|
-
pathArgs: {
|
|
1267
|
+
pathArgs: {
|
|
1268
|
+
...this.args.pathArgs
|
|
1385
1269
|
},
|
|
1386
1270
|
executeRequest: this.args.executeRequest,
|
|
1387
1271
|
baseUri: this.args.baseUri
|
|
1388
1272
|
});
|
|
1389
1273
|
}
|
|
1390
|
-
|
|
1391
1274
|
standalonePrices() {
|
|
1392
1275
|
return new ByProjectKeyStandalonePricesRequestBuilder({
|
|
1393
|
-
pathArgs: {
|
|
1276
|
+
pathArgs: {
|
|
1277
|
+
...this.args.pathArgs
|
|
1394
1278
|
},
|
|
1395
1279
|
executeRequest: this.args.executeRequest,
|
|
1396
1280
|
baseUri: this.args.baseUri
|
|
1397
1281
|
});
|
|
1398
1282
|
}
|
|
1399
|
-
|
|
1400
1283
|
products() {
|
|
1401
1284
|
return new ByProjectKeyProductsRequestBuilder({
|
|
1402
|
-
pathArgs: {
|
|
1285
|
+
pathArgs: {
|
|
1286
|
+
...this.args.pathArgs
|
|
1403
1287
|
},
|
|
1404
1288
|
executeRequest: this.args.executeRequest,
|
|
1405
1289
|
baseUri: this.args.baseUri
|
|
1406
1290
|
});
|
|
1407
1291
|
}
|
|
1408
|
-
|
|
1409
1292
|
productDrafts() {
|
|
1410
1293
|
return new ByProjectKeyProductDraftsRequestBuilder({
|
|
1411
|
-
pathArgs: {
|
|
1294
|
+
pathArgs: {
|
|
1295
|
+
...this.args.pathArgs
|
|
1412
1296
|
},
|
|
1413
1297
|
executeRequest: this.args.executeRequest,
|
|
1414
1298
|
baseUri: this.args.baseUri
|
|
1415
1299
|
});
|
|
1416
1300
|
}
|
|
1417
|
-
|
|
1418
1301
|
productTypes() {
|
|
1419
1302
|
return new ByProjectKeyProductTypesRequestBuilder({
|
|
1420
|
-
pathArgs: {
|
|
1303
|
+
pathArgs: {
|
|
1304
|
+
...this.args.pathArgs
|
|
1421
1305
|
},
|
|
1422
1306
|
executeRequest: this.args.executeRequest,
|
|
1423
1307
|
baseUri: this.args.baseUri
|
|
1424
1308
|
});
|
|
1425
1309
|
}
|
|
1426
|
-
|
|
1427
1310
|
productVariants() {
|
|
1428
1311
|
return new ByProjectKeyProductVariantsRequestBuilder({
|
|
1429
|
-
pathArgs: {
|
|
1312
|
+
pathArgs: {
|
|
1313
|
+
...this.args.pathArgs
|
|
1430
1314
|
},
|
|
1431
1315
|
executeRequest: this.args.executeRequest,
|
|
1432
1316
|
baseUri: this.args.baseUri
|
|
1433
1317
|
});
|
|
1434
1318
|
}
|
|
1435
|
-
|
|
1436
1319
|
productVariantPatches() {
|
|
1437
1320
|
return new ByProjectKeyProductVariantPatchesRequestBuilder({
|
|
1438
|
-
pathArgs: {
|
|
1321
|
+
pathArgs: {
|
|
1322
|
+
...this.args.pathArgs
|
|
1439
1323
|
},
|
|
1440
1324
|
executeRequest: this.args.executeRequest,
|
|
1441
1325
|
baseUri: this.args.baseUri
|
|
1442
1326
|
});
|
|
1443
1327
|
}
|
|
1444
|
-
|
|
1445
1328
|
orders() {
|
|
1446
1329
|
return new ByProjectKeyOrdersRequestBuilder({
|
|
1447
|
-
pathArgs: {
|
|
1330
|
+
pathArgs: {
|
|
1331
|
+
...this.args.pathArgs
|
|
1448
1332
|
},
|
|
1449
1333
|
executeRequest: this.args.executeRequest,
|
|
1450
1334
|
baseUri: this.args.baseUri
|
|
1451
1335
|
});
|
|
1452
1336
|
}
|
|
1453
|
-
|
|
1454
1337
|
orderPatches() {
|
|
1455
1338
|
return new ByProjectKeyOrderPatchesRequestBuilder({
|
|
1456
|
-
pathArgs: {
|
|
1339
|
+
pathArgs: {
|
|
1340
|
+
...this.args.pathArgs
|
|
1457
1341
|
},
|
|
1458
1342
|
executeRequest: this.args.executeRequest,
|
|
1459
1343
|
baseUri: this.args.baseUri
|
|
1460
1344
|
});
|
|
1461
1345
|
}
|
|
1462
|
-
|
|
1463
1346
|
customers() {
|
|
1464
1347
|
return new ByProjectKeyCustomersRequestBuilder({
|
|
1465
|
-
pathArgs: {
|
|
1348
|
+
pathArgs: {
|
|
1349
|
+
...this.args.pathArgs
|
|
1466
1350
|
},
|
|
1467
1351
|
executeRequest: this.args.executeRequest,
|
|
1468
1352
|
baseUri: this.args.baseUri
|
|
1469
1353
|
});
|
|
1470
1354
|
}
|
|
1471
|
-
|
|
1472
1355
|
inventories() {
|
|
1473
1356
|
return new ByProjectKeyInventoriesRequestBuilder({
|
|
1474
|
-
pathArgs: {
|
|
1357
|
+
pathArgs: {
|
|
1358
|
+
...this.args.pathArgs
|
|
1475
1359
|
},
|
|
1476
1360
|
executeRequest: this.args.executeRequest,
|
|
1477
1361
|
baseUri: this.args.baseUri
|
|
1478
1362
|
});
|
|
1479
1363
|
}
|
|
1480
|
-
|
|
1481
1364
|
}
|
|
1482
1365
|
|
|
1483
1366
|
class ApiRoot {
|
|
1484
1367
|
constructor(args) {
|
|
1485
1368
|
_defineProperty(this, "executeRequest", void 0);
|
|
1486
|
-
|
|
1487
1369
|
_defineProperty(this, "baseUri", void 0);
|
|
1488
|
-
|
|
1489
1370
|
this.executeRequest = args.executeRequest;
|
|
1490
1371
|
this.baseUri = args.baseUri || 'https://import.europe-west1.gcp.commercetools.com';
|
|
1491
1372
|
}
|
|
1492
|
-
|
|
1493
1373
|
withProjectKeyValue(childPathArgs) {
|
|
1494
1374
|
return new ByProjectKeyRequestBuilder({
|
|
1495
|
-
pathArgs: {
|
|
1375
|
+
pathArgs: {
|
|
1376
|
+
...childPathArgs
|
|
1496
1377
|
},
|
|
1497
1378
|
executeRequest: this.executeRequest,
|
|
1498
1379
|
baseUri: this.baseUri
|
|
1499
1380
|
});
|
|
1500
1381
|
}
|
|
1501
|
-
|
|
1502
1382
|
}
|
|
1503
1383
|
|
|
1504
1384
|
/**
|
|
@@ -1506,19 +1386,17 @@ class ApiRoot {
|
|
|
1506
1386
|
* Please don't change this file manually but run `rmf-codegen generate <raml_file_path> -o <output_path> -t typescript_client` to update it.
|
|
1507
1387
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
1508
1388
|
*/
|
|
1389
|
+
|
|
1509
1390
|
const createExecutorFromMiddlewares = (executor, midds) => {
|
|
1510
1391
|
if (!midds || midds.length == 0) {
|
|
1511
1392
|
return executor;
|
|
1512
1393
|
}
|
|
1513
|
-
|
|
1514
1394
|
const reduced = midds.reduce(reduceMiddleware);
|
|
1515
1395
|
return middlewareToExecutor(reduced, executor);
|
|
1516
1396
|
};
|
|
1517
|
-
|
|
1518
1397
|
function reduceMiddleware(middleware1, middleware2) {
|
|
1519
1398
|
return (request, executor) => middleware1(request, middlewareToExecutor(middleware2, executor));
|
|
1520
1399
|
}
|
|
1521
|
-
|
|
1522
1400
|
function middlewareToExecutor(middleware, executor) {
|
|
1523
1401
|
return request => middleware(request, executor);
|
|
1524
1402
|
}
|