@commercetools/importapi-sdk 6.1.1 → 6.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 +25 -0
- package/dist/commercetools-importapi-sdk.browser.cjs.js +12 -6
- package/dist/commercetools-importapi-sdk.browser.esm.js +12 -6
- package/dist/commercetools-importapi-sdk.cjs.dev.js +12 -6
- package/dist/commercetools-importapi-sdk.cjs.prod.js +12 -6
- package/dist/commercetools-importapi-sdk.esm.js +12 -6
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts +6 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts.map +1 -1
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts +5 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts.map +1 -1
- package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-containers-by-import-container-key-import-summaries-request-builder.d.ts +1 -1
- package/dist/declarations/src/generated/models/importcontainers.d.ts +1 -1
- package/dist/declarations/src/generated/models/importrequests.d.ts +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @commercetools/importapi-sdk
|
|
2
2
|
|
|
3
|
+
## 6.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1064](https://github.com/commercetools/commercetools-sdk-typescript/pull/1064) [`eaaad59`](https://github.com/commercetools/commercetools-sdk-typescript/commit/eaaad59b073929feed42adcfc72035fc36d66632) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Import changes**
|
|
8
|
+
|
|
9
|
+
<details>
|
|
10
|
+
<summary>Added Property(s)</summary>
|
|
11
|
+
|
|
12
|
+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords`
|
|
13
|
+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString`
|
|
14
|
+
</details>
|
|
15
|
+
|
|
16
|
+
<details>
|
|
17
|
+
<summary>Removed Property(s)</summary>
|
|
18
|
+
|
|
19
|
+
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `SearchKeywords`
|
|
20
|
+
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `LocalizedString`
|
|
21
|
+
</details>
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`3d61678`](https://github.com/commercetools/commercetools-sdk-typescript/commit/3d61678549f5a77690b330fac0b28012acbfbfb0)]:
|
|
26
|
+
- @commercetools/ts-client@3.3.1
|
|
27
|
+
|
|
3
28
|
## 6.1.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -367,7 +367,7 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
367
367
|
this.args = args;
|
|
368
368
|
}
|
|
369
369
|
/**
|
|
370
|
-
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given
|
|
370
|
+
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given Import Container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
371
371
|
*
|
|
372
372
|
*/
|
|
373
373
|
get(methodArgs) {
|
|
@@ -414,7 +414,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
* Updates the
|
|
417
|
+
* Updates the Import Container given by the key.
|
|
418
418
|
*/
|
|
419
419
|
put(methodArgs) {
|
|
420
420
|
return new ApiRequest({
|
|
@@ -430,7 +430,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
430
430
|
}, this.args.executeRequest);
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
|
-
* Retrieves the
|
|
433
|
+
* Retrieves the Import Container given by the key.
|
|
434
434
|
*/
|
|
435
435
|
get(methodArgs) {
|
|
436
436
|
return new ApiRequest({
|
|
@@ -444,7 +444,10 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
444
444
|
}, this.args.executeRequest);
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
|
-
* Deletes the
|
|
447
|
+
* Deletes the Import Container specified by the `importContainerKey`.
|
|
448
|
+
*
|
|
449
|
+
* Generates the [ImportContainerDeleted](/projects/events#import-container-deleted-event) Event.
|
|
450
|
+
*
|
|
448
451
|
*/
|
|
449
452
|
delete(methodArgs) {
|
|
450
453
|
return new ApiRequest({
|
|
@@ -482,7 +485,10 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
482
485
|
}
|
|
483
486
|
|
|
484
487
|
/**
|
|
485
|
-
* Creates a new
|
|
488
|
+
* Creates a new Import Container.
|
|
489
|
+
*
|
|
490
|
+
* Generates the [ImportContainerCreated](/projects/events#import-container-created-event) Event.
|
|
491
|
+
*
|
|
486
492
|
*/
|
|
487
493
|
post(methodArgs) {
|
|
488
494
|
return new ApiRequest({
|
|
@@ -498,7 +504,7 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
498
504
|
}, this.args.executeRequest);
|
|
499
505
|
}
|
|
500
506
|
/**
|
|
501
|
-
* Retrieves all
|
|
507
|
+
* Retrieves all Import Containers of a given project key.
|
|
502
508
|
*/
|
|
503
509
|
get(methodArgs) {
|
|
504
510
|
return new ApiRequest({
|
|
@@ -363,7 +363,7 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
363
363
|
this.args = args;
|
|
364
364
|
}
|
|
365
365
|
/**
|
|
366
|
-
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given
|
|
366
|
+
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given Import Container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
367
367
|
*
|
|
368
368
|
*/
|
|
369
369
|
get(methodArgs) {
|
|
@@ -410,7 +410,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
|
-
* Updates the
|
|
413
|
+
* Updates the Import Container given by the key.
|
|
414
414
|
*/
|
|
415
415
|
put(methodArgs) {
|
|
416
416
|
return new ApiRequest({
|
|
@@ -426,7 +426,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
426
426
|
}, this.args.executeRequest);
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
|
-
* Retrieves the
|
|
429
|
+
* Retrieves the Import Container given by the key.
|
|
430
430
|
*/
|
|
431
431
|
get(methodArgs) {
|
|
432
432
|
return new ApiRequest({
|
|
@@ -440,7 +440,10 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
440
440
|
}, this.args.executeRequest);
|
|
441
441
|
}
|
|
442
442
|
/**
|
|
443
|
-
* Deletes the
|
|
443
|
+
* Deletes the Import Container specified by the `importContainerKey`.
|
|
444
|
+
*
|
|
445
|
+
* Generates the [ImportContainerDeleted](/projects/events#import-container-deleted-event) Event.
|
|
446
|
+
*
|
|
444
447
|
*/
|
|
445
448
|
delete(methodArgs) {
|
|
446
449
|
return new ApiRequest({
|
|
@@ -478,7 +481,10 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
478
481
|
}
|
|
479
482
|
|
|
480
483
|
/**
|
|
481
|
-
* Creates a new
|
|
484
|
+
* Creates a new Import Container.
|
|
485
|
+
*
|
|
486
|
+
* Generates the [ImportContainerCreated](/projects/events#import-container-created-event) Event.
|
|
487
|
+
*
|
|
482
488
|
*/
|
|
483
489
|
post(methodArgs) {
|
|
484
490
|
return new ApiRequest({
|
|
@@ -494,7 +500,7 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
494
500
|
}, this.args.executeRequest);
|
|
495
501
|
}
|
|
496
502
|
/**
|
|
497
|
-
* Retrieves all
|
|
503
|
+
* Retrieves all Import Containers of a given project key.
|
|
498
504
|
*/
|
|
499
505
|
get(methodArgs) {
|
|
500
506
|
return new ApiRequest({
|
|
@@ -367,7 +367,7 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
367
367
|
this.args = args;
|
|
368
368
|
}
|
|
369
369
|
/**
|
|
370
|
-
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given
|
|
370
|
+
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given Import Container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
371
371
|
*
|
|
372
372
|
*/
|
|
373
373
|
get(methodArgs) {
|
|
@@ -414,7 +414,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
* Updates the
|
|
417
|
+
* Updates the Import Container given by the key.
|
|
418
418
|
*/
|
|
419
419
|
put(methodArgs) {
|
|
420
420
|
return new ApiRequest({
|
|
@@ -430,7 +430,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
430
430
|
}, this.args.executeRequest);
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
|
-
* Retrieves the
|
|
433
|
+
* Retrieves the Import Container given by the key.
|
|
434
434
|
*/
|
|
435
435
|
get(methodArgs) {
|
|
436
436
|
return new ApiRequest({
|
|
@@ -444,7 +444,10 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
444
444
|
}, this.args.executeRequest);
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
|
-
* Deletes the
|
|
447
|
+
* Deletes the Import Container specified by the `importContainerKey`.
|
|
448
|
+
*
|
|
449
|
+
* Generates the [ImportContainerDeleted](/projects/events#import-container-deleted-event) Event.
|
|
450
|
+
*
|
|
448
451
|
*/
|
|
449
452
|
delete(methodArgs) {
|
|
450
453
|
return new ApiRequest({
|
|
@@ -482,7 +485,10 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
482
485
|
}
|
|
483
486
|
|
|
484
487
|
/**
|
|
485
|
-
* Creates a new
|
|
488
|
+
* Creates a new Import Container.
|
|
489
|
+
*
|
|
490
|
+
* Generates the [ImportContainerCreated](/projects/events#import-container-created-event) Event.
|
|
491
|
+
*
|
|
486
492
|
*/
|
|
487
493
|
post(methodArgs) {
|
|
488
494
|
return new ApiRequest({
|
|
@@ -498,7 +504,7 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
498
504
|
}, this.args.executeRequest);
|
|
499
505
|
}
|
|
500
506
|
/**
|
|
501
|
-
* Retrieves all
|
|
507
|
+
* Retrieves all Import Containers of a given project key.
|
|
502
508
|
*/
|
|
503
509
|
get(methodArgs) {
|
|
504
510
|
return new ApiRequest({
|
|
@@ -367,7 +367,7 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
367
367
|
this.args = args;
|
|
368
368
|
}
|
|
369
369
|
/**
|
|
370
|
-
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given
|
|
370
|
+
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given Import Container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
371
371
|
*
|
|
372
372
|
*/
|
|
373
373
|
get(methodArgs) {
|
|
@@ -414,7 +414,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
* Updates the
|
|
417
|
+
* Updates the Import Container given by the key.
|
|
418
418
|
*/
|
|
419
419
|
put(methodArgs) {
|
|
420
420
|
return new ApiRequest({
|
|
@@ -430,7 +430,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
430
430
|
}, this.args.executeRequest);
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
|
-
* Retrieves the
|
|
433
|
+
* Retrieves the Import Container given by the key.
|
|
434
434
|
*/
|
|
435
435
|
get(methodArgs) {
|
|
436
436
|
return new ApiRequest({
|
|
@@ -444,7 +444,10 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
444
444
|
}, this.args.executeRequest);
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
|
-
* Deletes the
|
|
447
|
+
* Deletes the Import Container specified by the `importContainerKey`.
|
|
448
|
+
*
|
|
449
|
+
* Generates the [ImportContainerDeleted](/projects/events#import-container-deleted-event) Event.
|
|
450
|
+
*
|
|
448
451
|
*/
|
|
449
452
|
delete(methodArgs) {
|
|
450
453
|
return new ApiRequest({
|
|
@@ -482,7 +485,10 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
482
485
|
}
|
|
483
486
|
|
|
484
487
|
/**
|
|
485
|
-
* Creates a new
|
|
488
|
+
* Creates a new Import Container.
|
|
489
|
+
*
|
|
490
|
+
* Generates the [ImportContainerCreated](/projects/events#import-container-created-event) Event.
|
|
491
|
+
*
|
|
486
492
|
*/
|
|
487
493
|
post(methodArgs) {
|
|
488
494
|
return new ApiRequest({
|
|
@@ -498,7 +504,7 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
498
504
|
}, this.args.executeRequest);
|
|
499
505
|
}
|
|
500
506
|
/**
|
|
501
|
-
* Retrieves all
|
|
507
|
+
* Retrieves all Import Containers of a given project key.
|
|
502
508
|
*/
|
|
503
509
|
get(methodArgs) {
|
|
504
510
|
return new ApiRequest({
|
|
@@ -363,7 +363,7 @@ class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuil
|
|
|
363
363
|
this.args = args;
|
|
364
364
|
}
|
|
365
365
|
/**
|
|
366
|
-
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given
|
|
366
|
+
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given Import Container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
367
367
|
*
|
|
368
368
|
*/
|
|
369
369
|
get(methodArgs) {
|
|
@@ -410,7 +410,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
|
-
* Updates the
|
|
413
|
+
* Updates the Import Container given by the key.
|
|
414
414
|
*/
|
|
415
415
|
put(methodArgs) {
|
|
416
416
|
return new ApiRequest({
|
|
@@ -426,7 +426,7 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
426
426
|
}, this.args.executeRequest);
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
|
-
* Retrieves the
|
|
429
|
+
* Retrieves the Import Container given by the key.
|
|
430
430
|
*/
|
|
431
431
|
get(methodArgs) {
|
|
432
432
|
return new ApiRequest({
|
|
@@ -440,7 +440,10 @@ class ByProjectKeyImportContainersByImportContainerKeyRequestBuilder {
|
|
|
440
440
|
}, this.args.executeRequest);
|
|
441
441
|
}
|
|
442
442
|
/**
|
|
443
|
-
* Deletes the
|
|
443
|
+
* Deletes the Import Container specified by the `importContainerKey`.
|
|
444
|
+
*
|
|
445
|
+
* Generates the [ImportContainerDeleted](/projects/events#import-container-deleted-event) Event.
|
|
446
|
+
*
|
|
444
447
|
*/
|
|
445
448
|
delete(methodArgs) {
|
|
446
449
|
return new ApiRequest({
|
|
@@ -478,7 +481,10 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
478
481
|
}
|
|
479
482
|
|
|
480
483
|
/**
|
|
481
|
-
* Creates a new
|
|
484
|
+
* Creates a new Import Container.
|
|
485
|
+
*
|
|
486
|
+
* Generates the [ImportContainerCreated](/projects/events#import-container-created-event) Event.
|
|
487
|
+
*
|
|
482
488
|
*/
|
|
483
489
|
post(methodArgs) {
|
|
484
490
|
return new ApiRequest({
|
|
@@ -494,7 +500,7 @@ class ByProjectKeyImportContainersRequestBuilder {
|
|
|
494
500
|
}, this.args.executeRequest);
|
|
495
501
|
}
|
|
496
502
|
/**
|
|
497
|
-
* Retrieves all
|
|
503
|
+
* Retrieves all Import Containers of a given project key.
|
|
498
504
|
*/
|
|
499
505
|
get(methodArgs) {
|
|
500
506
|
return new ApiRequest({
|
|
@@ -30,7 +30,7 @@ export declare class ByProjectKeyImportContainersByImportContainerKeyRequestBuil
|
|
|
30
30
|
importSummaries(): ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder;
|
|
31
31
|
importOperations(): ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder;
|
|
32
32
|
/**
|
|
33
|
-
* Updates the
|
|
33
|
+
* Updates the Import Container given by the key.
|
|
34
34
|
*/
|
|
35
35
|
put(methodArgs: {
|
|
36
36
|
body: ImportContainerUpdateDraft;
|
|
@@ -39,7 +39,7 @@ export declare class ByProjectKeyImportContainersByImportContainerKeyRequestBuil
|
|
|
39
39
|
};
|
|
40
40
|
}): ApiRequest<ImportContainer>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieves the
|
|
42
|
+
* Retrieves the Import Container given by the key.
|
|
43
43
|
*/
|
|
44
44
|
get(methodArgs?: {
|
|
45
45
|
headers?: {
|
|
@@ -47,7 +47,10 @@ export declare class ByProjectKeyImportContainersByImportContainerKeyRequestBuil
|
|
|
47
47
|
};
|
|
48
48
|
}): ApiRequest<ImportContainer>;
|
|
49
49
|
/**
|
|
50
|
-
* Deletes the
|
|
50
|
+
* Deletes the Import Container specified by the `importContainerKey`.
|
|
51
|
+
*
|
|
52
|
+
* Generates the [ImportContainerDeleted](/projects/events#import-container-deleted-event) Event.
|
|
53
|
+
*
|
|
51
54
|
*/
|
|
52
55
|
delete(methodArgs?: {
|
|
53
56
|
headers?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"by-project-key-import-containers-by-import-container-key-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/import-containers","sources":["by-project-key-import-containers-by-import-container-key-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,eAAe,EACf,0BAA0B,EAC3B,yCAAqC;AACtC,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAChE,OAAO,EAAE,UAAU,EAAE,6CAAyC;AAC9D,OAAO,EAAE,8EAA8E,EAAE,2HAAuH;AAChN,OAAO,EAAE,6EAA6E,EAAE,yHAAqH;AAC7M;IACI;AACJ,qBAAa,8DAA8D;IAEvE,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;YAClB,kBAAkB,EAAE,MAAM,CAAA;SAC3B,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;gBAPkB,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;YAClB,kBAAkB,EAAE,MAAM,CAAA;SAC3B,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;IAEI,eAAe,IAAI,6EAA6E;IAWhG,gBAAgB,IAAI,8EAA8E;IAYzG;;OAEG;IACI,GAAG,CAAC,UAAU,EAAE;QACrB,IAAI,EAAE,0BAA0B,CAAA;QAChC,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,eAAe,CAAC;IAgB/B;;OAEG;IACI,GAAG,CAAC,UAAU,CAAC,EAAE;QACtB,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,eAAe,CAAC;IAc/B
|
|
1
|
+
{"version":3,"file":"by-project-key-import-containers-by-import-container-key-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/import-containers","sources":["by-project-key-import-containers-by-import-container-key-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,eAAe,EACf,0BAA0B,EAC3B,yCAAqC;AACtC,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAChE,OAAO,EAAE,UAAU,EAAE,6CAAyC;AAC9D,OAAO,EAAE,8EAA8E,EAAE,2HAAuH;AAChN,OAAO,EAAE,6EAA6E,EAAE,yHAAqH;AAC7M;IACI;AACJ,qBAAa,8DAA8D;IAEvE,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;YAClB,kBAAkB,EAAE,MAAM,CAAA;SAC3B,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;gBAPkB,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;YAClB,kBAAkB,EAAE,MAAM,CAAA;SAC3B,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;IAEI,eAAe,IAAI,6EAA6E;IAWhG,gBAAgB,IAAI,8EAA8E;IAYzG;;OAEG;IACI,GAAG,CAAC,UAAU,EAAE;QACrB,IAAI,EAAE,0BAA0B,CAAA;QAChC,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,eAAe,CAAC;IAgB/B;;OAEG;IACI,GAAG,CAAC,UAAU,CAAC,EAAE;QACtB,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,eAAe,CAAC;IAc/B;;;;;OAKG;IACI,MAAM,CAAC,UAAU,CAAC,EAAE;QACzB,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,eAAe,CAAC;CAchC"}
|
|
@@ -28,7 +28,10 @@ export declare class ByProjectKeyImportContainersRequestBuilder {
|
|
|
28
28
|
importContainerKey: string;
|
|
29
29
|
}): ByProjectKeyImportContainersByImportContainerKeyRequestBuilder;
|
|
30
30
|
/**
|
|
31
|
-
* Creates a new
|
|
31
|
+
* Creates a new Import Container.
|
|
32
|
+
*
|
|
33
|
+
* Generates the [ImportContainerCreated](/projects/events#import-container-created-event) Event.
|
|
34
|
+
*
|
|
32
35
|
*/
|
|
33
36
|
post(methodArgs: {
|
|
34
37
|
body: ImportContainerDraft;
|
|
@@ -37,7 +40,7 @@ export declare class ByProjectKeyImportContainersRequestBuilder {
|
|
|
37
40
|
};
|
|
38
41
|
}): ApiRequest<ImportContainer>;
|
|
39
42
|
/**
|
|
40
|
-
* Retrieves all
|
|
43
|
+
* Retrieves all Import Containers of a given project key.
|
|
41
44
|
*/
|
|
42
45
|
get(methodArgs?: {
|
|
43
46
|
queryArgs?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"by-project-key-import-containers-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/import-containers","sources":["by-project-key-import-containers-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC7B,yCAAqC;AACtC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,2CAAuC;AAC5E,OAAO,EAAE,UAAU,EAAE,6CAAyC;AAC9D,OAAO,EAAE,8DAA8D,EAAE,sFAAkF;AAC3J;IACI;AACJ,qBAAa,0CAA0C;IAEnD,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;gBANkB,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;IAEI,2BAA2B,CAAC,aAAa,EAAE;QAChD,kBAAkB,EAAE,MAAM,CAAA;KAC3B,GAAG,8DAA8D;IAWlE
|
|
1
|
+
{"version":3,"file":"by-project-key-import-containers-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/import-containers","sources":["by-project-key-import-containers-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC7B,yCAAqC;AACtC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,2CAAuC;AAC5E,OAAO,EAAE,UAAU,EAAE,6CAAyC;AAC9D,OAAO,EAAE,8DAA8D,EAAE,sFAAkF;AAC3J;IACI;AACJ,qBAAa,0CAA0C;IAEnD,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;gBANkB,IAAI,EAAE;QACvB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,cAAc,EAAE,cAAc,CAAA;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;IAEI,2BAA2B,CAAC,aAAa,EAAE;QAChD,kBAAkB,EAAE,MAAM,CAAA;KAC3B,GAAG,8DAA8D;IAWlE;;;;;OAKG;IACI,IAAI,CAAC,UAAU,EAAE;QACtB,IAAI,EAAE,oBAAoB,CAAA;QAC1B,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,eAAe,CAAC;IAgB/B;;OAEG;IACI,GAAG,CAAC,UAAU,CAAC,EAAE;QACtB,SAAS,CAAC,EAAE;YACV,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,MAAM,CAAC,EAAE,MAAM,CAAA;YACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;YACxB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;SAC1B,CAAA;QACD,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,4BAA4B,CAAC;CAe7C"}
|
|
@@ -26,7 +26,7 @@ export declare class ByProjectKeyImportContainersByImportContainerKeyImportSumma
|
|
|
26
26
|
baseUri?: string;
|
|
27
27
|
});
|
|
28
28
|
/**
|
|
29
|
-
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given
|
|
29
|
+
* Retrieves an [ImportSummary](ctp:import:type:ImportSummary) for the given Import Container. An [ImportSummary](ctp:import:type:ImportSummary) is calculated on demand.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
get(methodArgs?: {
|
|
@@ -61,7 +61,7 @@ export interface ImportContainerDraft {
|
|
|
61
61
|
readonly resourceType?: ImportResourceType;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
* The representation sent to the server when updating an
|
|
64
|
+
* The representation sent to the server when updating an Import Container.
|
|
65
65
|
*
|
|
66
66
|
*/
|
|
67
67
|
export interface ImportContainerUpdateDraft {
|
|
@@ -19,7 +19,7 @@ import { ProductVariantImport, ProductVariantPatch } from "./productvariants.js"
|
|
|
19
19
|
import { StandalonePriceImport } from "./standalone-prices.js";
|
|
20
20
|
import { TypeImport } from "./types.js";
|
|
21
21
|
/**
|
|
22
|
-
* An import request batches multiple import resources of the same import resource type for processing by an
|
|
22
|
+
* An import request batches multiple import resources of the same import resource type for processing by an Import Container.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
export type ImportRequest = CategoryImportRequest | CustomerImportRequest | DiscountCodeImportRequest | InventoryImportRequest | OrderImportRequest | OrderPatchImportRequest | PriceImportRequest | ProductDraftImportRequest | ProductImportRequest | ProductTypeImportRequest | ProductVariantImportRequest | ProductVariantPatchRequest | StandalonePriceImportRequest | TypeImportRequest;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@commercetools/importapi-sdk",
|
|
7
|
-
"version": "6.
|
|
7
|
+
"version": "6.2.0",
|
|
8
8
|
"engines": {
|
|
9
9
|
"node": ">=18"
|
|
10
10
|
},
|
|
@@ -32,10 +32,7 @@
|
|
|
32
32
|
"./dist/commercetools-importapi-sdk.esm.js": "./dist/commercetools-importapi-sdk.browser.esm.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@commercetools/
|
|
36
|
-
"@commercetools/sdk-middleware-auth": "^7.0.0",
|
|
37
|
-
"@commercetools/sdk-middleware-http": "^7.0.0",
|
|
38
|
-
"@commercetools/sdk-middleware-logger": "^3.0.0"
|
|
35
|
+
"@commercetools/ts-client": "^3.3.1"
|
|
39
36
|
},
|
|
40
37
|
"devDependencies": {
|
|
41
38
|
"@types/uuid": "10.0.0",
|