@commercetools/importapi-sdk 2.0.1 → 2.1.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.
Files changed (19) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/commercetools-importapi-sdk.browser.cjs.js +0 -197
  3. package/dist/commercetools-importapi-sdk.browser.esm.js +0 -197
  4. package/dist/commercetools-importapi-sdk.cjs.dev.js +0 -197
  5. package/dist/commercetools-importapi-sdk.cjs.prod.js +0 -197
  6. package/dist/commercetools-importapi-sdk.esm.js +0 -197
  7. package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +0 -2
  8. package/dist/declarations/src/generated/index.d.ts +0 -1
  9. package/dist/declarations/src/generated/models/common.d.ts +1 -1
  10. package/dist/declarations/src/generated/models/importoperations.d.ts +1 -1
  11. package/dist/declarations/src/generated/models/importrequests.d.ts +1 -15
  12. package/package.json +2 -2
  13. package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-by-import-container-key-request-builder.d.ts +0 -35
  14. package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-request-builder.d.ts +0 -26
  15. package/dist/declarations/src/generated/client/import-operations/by-project-key-inventories-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
  16. package/dist/declarations/src/generated/client/import-operations/by-project-key-inventories-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
  17. package/dist/declarations/src/generated/client/inventories/by-project-key-inventories-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
  18. package/dist/declarations/src/generated/client/inventories/by-project-key-inventories-request-builder.d.ts +0 -28
  19. package/dist/declarations/src/generated/models/inventories.d.ts +0 -44
@@ -1,37 +0,0 @@
1
- /**
2
- * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
3
- * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4
- * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
- */
6
- import { ImportResponse, InventoryImportRequest } from '../../models/importrequests';
7
- import { executeRequest } from '../../shared/utils/common-types';
8
- import { ApiRequest } from '../../shared/utils/requests-utils';
9
- import { ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-inventories-import-sink-key-by-import-sink-key-import-operations-request-builder';
10
- export declare class ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyRequestBuilder {
11
- protected readonly args: {
12
- pathArgs: {
13
- projectKey: string;
14
- importSinkKey: string;
15
- };
16
- executeRequest: executeRequest;
17
- baseUri?: string;
18
- };
19
- constructor(args: {
20
- pathArgs: {
21
- projectKey: string;
22
- importSinkKey: string;
23
- };
24
- executeRequest: executeRequest;
25
- baseUri?: string;
26
- });
27
- importOperations(): ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
28
- /**
29
- * Creates import request for creating new inventories or updating existing ones.
30
- */
31
- post(methodArgs: {
32
- body: InventoryImportRequest;
33
- headers?: {
34
- [key: string]: string | string[];
35
- };
36
- }): ApiRequest<ImportResponse>;
37
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
3
- * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4
- * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
- */
6
- import { executeRequest } from '../../shared/utils/common-types';
7
- import { ByProjectKeyInventoriesImportContainersRequestBuilder } from '../import-containers/by-project-key-inventories-import-containers-request-builder';
8
- import { ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyRequestBuilder } from './by-project-key-inventories-import-sink-key-by-import-sink-key-request-builder';
9
- export declare class ByProjectKeyInventoriesRequestBuilder {
10
- protected readonly args: {
11
- pathArgs: {
12
- projectKey: string;
13
- };
14
- executeRequest: executeRequest;
15
- baseUri?: string;
16
- };
17
- constructor(args: {
18
- pathArgs: {
19
- projectKey: string;
20
- };
21
- executeRequest: executeRequest;
22
- baseUri?: string;
23
- });
24
- importContainers(): ByProjectKeyInventoriesImportContainersRequestBuilder;
25
- importSinkKeyWithImportSinkKeyValue(childPathArgs: {
26
- importSinkKey: string;
27
- }): ByProjectKeyInventoriesImportSinkKeyByImportSinkKeyRequestBuilder;
28
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
3
- * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4
- * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
- */
6
- import { ChannelKeyReference, ImportResource } from './common';
7
- import { Custom } from './customfields';
8
- /**
9
- * The data representation for an Inventory to be imported that is persisted as a [Inventory](/../api/projects/inventory#top) in the Project.
10
- *
11
- */
12
- export interface InventoryImport extends ImportResource {
13
- /**
14
- *
15
- */
16
- readonly sku: string;
17
- /**
18
- * Maps to `Inventory.quantityOnStock`
19
- *
20
- *
21
- */
22
- readonly quantityOnStock: number;
23
- /**
24
- * Maps to `Inventory.restockableInDays`
25
- *
26
- *
27
- */
28
- readonly restockableInDays?: number;
29
- /**
30
- *
31
- */
32
- readonly expectedDelivery?: string;
33
- /**
34
- * References a channel by key.
35
- *
36
- */
37
- readonly supplyChannel?: ChannelKeyReference;
38
- /**
39
- * Maps to `Inventory.custom`.
40
- *
41
- *
42
- */
43
- readonly custom?: Custom;
44
- }