@commercetools/importapi-sdk 4.6.1 → 4.7.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 +339 -0
- package/dist/commercetools-importapi-sdk.cjs.d.ts +1 -0
- package/dist/commercetools-importapi-sdk.cjs.d.ts.map +1 -0
- package/dist/declarations/src/ctp/ctp-client.d.ts +1 -1
- package/dist/declarations/src/generated/client/api-root.d.ts +2 -2
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +16 -16
- package/dist/declarations/src/generated/client/categories/by-project-key-categories-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/customers/by-project-key-customers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts +5 -5
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts +4 -4
- package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-standalone-prices-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-standalone-prices-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-containers/by-project-key-types-import-containers-by-import-container-key-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-containers/by-project-key-types-import-containers-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.d.ts +4 -4
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-by-id-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-containers-by-import-container-key-import-summaries-request-builder.d.ts +3 -3
- package/dist/declarations/src/generated/client/inventories/by-project-key-inventories-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/orders/by-project-key-orders-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/prices/by-project-key-prices-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/products/by-project-key-products-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/standalone-prices/by-project-key-standalone-prices-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/client/types/by-project-key-types-request-builder.d.ts +2 -2
- package/dist/declarations/src/generated/index.d.ts +22 -22
- package/dist/declarations/src/generated/models/categories.d.ts +2 -2
- package/dist/declarations/src/generated/models/common.d.ts +13 -13
- package/dist/declarations/src/generated/models/customers.d.ts +3 -3
- package/dist/declarations/src/generated/models/customfields.d.ts +1 -1
- package/dist/declarations/src/generated/models/errors.d.ts +5 -5
- package/dist/declarations/src/generated/models/importcontainers.d.ts +1 -1
- package/dist/declarations/src/generated/models/importoperations.d.ts +2 -2
- package/dist/declarations/src/generated/models/importrequests.d.ts +13 -13
- package/dist/declarations/src/generated/models/importsummaries.d.ts +5 -0
- package/dist/declarations/src/generated/models/inventories.d.ts +2 -2
- package/dist/declarations/src/generated/models/order-patches.d.ts +2 -2
- package/dist/declarations/src/generated/models/orders.d.ts +5 -5
- package/dist/declarations/src/generated/models/prices.d.ts +2 -2
- package/dist/declarations/src/generated/models/productdrafts.d.ts +5 -5
- package/dist/declarations/src/generated/models/products.d.ts +1 -1
- package/dist/declarations/src/generated/models/producttypes.d.ts +1 -1
- package/dist/declarations/src/generated/models/productvariants.d.ts +1 -1
- package/dist/declarations/src/generated/models/standalone-prices.d.ts +2 -2
- package/dist/declarations/src/generated/models/types.d.ts +2 -2
- package/dist/declarations/src/generated/shared/utils/middleware.d.ts +1 -1
- package/dist/declarations/src/generated/shared/utils/requests-utils.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/declarations/src/generated/shared/utils/uri-utils.d.ts +0 -7
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-prices-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyPricesImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, ProductDraftImportRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, ProductDraftImportRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-product-drafts-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductDraftsImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, ProductTypeImportRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, ProductTypeImportRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-product-types-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductTypesImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, ProductVariantPatchRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, ProductVariantPatchRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductVariantPatchesImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, ProductVariantImportRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, ProductVariantImportRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-product-variants-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductVariantsImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, ProductImportRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, ProductImportRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-products-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductsImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, StandalonePriceImportRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, StandalonePriceImportRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-standalone-prices-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyStandalonePricesImportContainersRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResponse, TypeImportRequest } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportResponse, TypeImportRequest } from "../../models/importrequests.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyTypesImportContainersByImportContainerKeyRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyTypesImportContainersByImportContainerKeyRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyTypesImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-types-import-containers-by-import-container-key-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyTypesImportContainersRequestBuilder {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ProcessingState } from
|
|
7
|
-
import { ImportOperationPagedResponse } from
|
|
8
|
-
import { executeRequest, QueryParam } from
|
|
9
|
-
import { ApiRequest } from
|
|
6
|
+
import { ProcessingState } from "../../models/common.js";
|
|
7
|
+
import { ImportOperationPagedResponse } from "../../models/importoperations.js";
|
|
8
|
+
import { executeRequest, QueryParam } from "../../shared/utils/common-types.js";
|
|
9
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
10
10
|
/**
|
|
11
11
|
**/
|
|
12
12
|
export declare class ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportOperation } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportOperation } from "../../models/importoperations.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyImportOperationsByIdRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyImportOperationsByIdRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyImportOperationsByIdRequestBuilder } from "./by-project-key-import-operations-by-id-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyImportOperationsRequestBuilder {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportSummary } from
|
|
7
|
-
import { executeRequest } from
|
|
8
|
-
import { ApiRequest } from
|
|
6
|
+
import { ImportSummary } from "../../models/importsummaries.js";
|
|
7
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
8
|
+
import { ApiRequest } from "../../shared/utils/requests-utils.js";
|
|
9
9
|
/**
|
|
10
10
|
**/
|
|
11
11
|
export declare class ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyInventoriesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyInventoriesImportContainersRequestBuilder } from "../import-containers/by-project-key-inventories-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyInventoriesRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyOrderPatchesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyOrderPatchesImportContainersRequestBuilder } from "../import-containers/by-project-key-order-patches-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyOrderPatchesRequestBuilder {
|
package/dist/declarations/src/generated/client/orders/by-project-key-orders-request-builder.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyOrdersImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyOrdersImportContainersRequestBuilder } from "../import-containers/by-project-key-orders-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyOrdersRequestBuilder {
|
package/dist/declarations/src/generated/client/prices/by-project-key-prices-request-builder.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyPricesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyPricesImportContainersRequestBuilder } from "../import-containers/by-project-key-prices-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyPricesRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductDraftsImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductDraftsImportContainersRequestBuilder } from "../import-containers/by-project-key-product-drafts-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductDraftsRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductTypesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductTypesImportContainersRequestBuilder } from "../import-containers/by-project-key-product-types-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductTypesRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductVariantPatchesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductVariantPatchesImportContainersRequestBuilder } from "../import-containers/by-project-key-product-variant-patches-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductVariantPatchesRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductVariantsImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductVariantsImportContainersRequestBuilder } from "../import-containers/by-project-key-product-variants-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductVariantsRequestBuilder {
|
package/dist/declarations/src/generated/client/products/by-project-key-products-request-builder.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyProductsImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyProductsImportContainersRequestBuilder } from "../import-containers/by-project-key-products-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyProductsRequestBuilder {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyStandalonePricesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyStandalonePricesImportContainersRequestBuilder } from "../import-containers/by-project-key-standalone-prices-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyStandalonePricesRequestBuilder {
|
package/dist/declarations/src/generated/client/types/by-project-key-types-request-builder.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { executeRequest } from
|
|
7
|
-
import { ByProjectKeyTypesImportContainersRequestBuilder } from
|
|
6
|
+
import { executeRequest } from "../../shared/utils/common-types.js";
|
|
7
|
+
import { ByProjectKeyTypesImportContainersRequestBuilder } from "../import-containers/by-project-key-types-import-containers-request-builder.js";
|
|
8
8
|
/**
|
|
9
9
|
**/
|
|
10
10
|
export declare class ByProjectKeyTypesRequestBuilder {
|
|
@@ -3,25 +3,25 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
6
|
+
export * from "./client/api-root.js";
|
|
7
|
+
export * from "./models/categories.js";
|
|
8
|
+
export * from "./models/common.js";
|
|
9
|
+
export * from "./models/customers.js";
|
|
10
|
+
export * from "./models/customfields.js";
|
|
11
|
+
export * from "./models/errors.js";
|
|
12
|
+
export * from "./models/importcontainers.js";
|
|
13
|
+
export * from "./models/importoperations.js";
|
|
14
|
+
export * from "./models/importrequests.js";
|
|
15
|
+
export * from "./models/importsummaries.js";
|
|
16
|
+
export * from "./models/inventories.js";
|
|
17
|
+
export * from "./models/order-patches.js";
|
|
18
|
+
export * from "./models/orders.js";
|
|
19
|
+
export * from "./models/prices.js";
|
|
20
|
+
export * from "./models/productdrafts.js";
|
|
21
|
+
export * from "./models/products.js";
|
|
22
|
+
export * from "./models/producttypes.js";
|
|
23
|
+
export * from "./models/productvariants.js";
|
|
24
|
+
export * from "./models/standalone-prices.js";
|
|
25
|
+
export * from "./models/types.js";
|
|
26
|
+
export * from "./shared/utils/common-types.js";
|
|
27
|
+
export * from "./shared/utils/middleware.js";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { Asset, CategoryKeyReference, ImportResource, LocalizedString } from
|
|
7
|
-
import { Custom } from
|
|
6
|
+
import { Asset, CategoryKeyReference, ImportResource, LocalizedString } from "./common.js";
|
|
7
|
+
import { Custom } from "./customfields.js";
|
|
8
8
|
/**
|
|
9
9
|
* The data representation for a Category to be imported that is persisted as a [Category](/../api/projects/categories#category) in the Project.
|
|
10
10
|
*
|
|
@@ -3,17 +3,17 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { CategoryImport } from
|
|
7
|
-
import { CustomerImport } from
|
|
8
|
-
import { Custom } from
|
|
9
|
-
import { InventoryImport } from
|
|
10
|
-
import { PriceImport } from
|
|
11
|
-
import { ProductDraftImport } from
|
|
12
|
-
import { ProductImport } from
|
|
13
|
-
import { ProductTypeImport } from
|
|
14
|
-
import { ProductVariantImport } from
|
|
15
|
-
import { StandalonePriceImport } from
|
|
16
|
-
import { TypeImport } from
|
|
6
|
+
import { CategoryImport } from "./categories.js";
|
|
7
|
+
import { CustomerImport } from "./customers.js";
|
|
8
|
+
import { Custom } from "./customfields.js";
|
|
9
|
+
import { InventoryImport } from "./inventories.js";
|
|
10
|
+
import { PriceImport } from "./prices.js";
|
|
11
|
+
import { ProductDraftImport } from "./productdrafts.js";
|
|
12
|
+
import { ProductImport } from "./products.js";
|
|
13
|
+
import { ProductTypeImport } from "./producttypes.js";
|
|
14
|
+
import { ProductVariantImport } from "./productvariants.js";
|
|
15
|
+
import { StandalonePriceImport } from "./standalone-prices.js";
|
|
16
|
+
import { TypeImport } from "./types.js";
|
|
17
17
|
export interface Asset {
|
|
18
18
|
/**
|
|
19
19
|
* User-defined identifier for the asset.
|
|
@@ -473,10 +473,10 @@ export type ImportResourceType = 'category' | 'customer' | 'inventory' | 'order'
|
|
|
473
473
|
*/
|
|
474
474
|
export type ReferenceType = 'cart' | 'cart-discount' | 'category' | 'channel' | 'customer' | 'customer-group' | 'discount-code' | 'key-value-document' | 'order' | 'payment' | 'price' | 'product' | 'product-discount' | 'product-type' | 'product-variant' | 'shipping-method' | 'state' | 'store' | 'tax-category' | 'type' | string;
|
|
475
475
|
/**
|
|
476
|
-
* Every [Import Operation](/import-operation) is assigned
|
|
476
|
+
* Every [Import Operation](/import-operation) is assigned one of the following states.
|
|
477
477
|
*
|
|
478
478
|
*/
|
|
479
|
-
export type ProcessingState = 'imported' | 'processing' | 'rejected' | 'unresolved' | 'validationFailed' | 'waitForMasterVariant' | string;
|
|
479
|
+
export type ProcessingState = 'canceled' | 'imported' | 'processing' | 'rejected' | 'unresolved' | 'validationFailed' | 'waitForMasterVariant' | string;
|
|
480
480
|
export interface Address {
|
|
481
481
|
/**
|
|
482
482
|
*
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { CustomerGroupKeyReference, ImportResource, StoreKeyReference } from
|
|
7
|
-
import { Custom } from
|
|
6
|
+
import { CustomerGroupKeyReference, ImportResource, StoreKeyReference } from "./common.js";
|
|
7
|
+
import { Custom } from "./customfields.js";
|
|
8
8
|
export type AuthenticationMode = 'ExternalAuth' | 'Password' | string;
|
|
9
9
|
/**
|
|
10
10
|
* Different from Address in that `key` is required and `id` is not supported.
|
|
@@ -219,7 +219,7 @@ export interface CustomerImport extends ImportResource {
|
|
|
219
219
|
*
|
|
220
220
|
*
|
|
221
221
|
*/
|
|
222
|
-
readonly addresses
|
|
222
|
+
readonly addresses?: CustomerAddress[];
|
|
223
223
|
/**
|
|
224
224
|
* The index of the address in the addresses array. The `defaultBillingAddressId` of the customer will be set to the ID of that address.
|
|
225
225
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { KeyReference, LocalizedString, Money, TypedMoney, TypeKeyReference } from
|
|
6
|
+
import { KeyReference, LocalizedString, Money, TypedMoney, TypeKeyReference } from "./common.js";
|
|
7
7
|
/**
|
|
8
8
|
* The representation to be sent to the server when creating a resource with custom fields.
|
|
9
9
|
*/
|
|
@@ -3,9 +3,9 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ProcessingState } from
|
|
7
|
-
import { PriceImport } from
|
|
8
|
-
import { Attribute } from
|
|
6
|
+
import { ProcessingState } from "./common.js";
|
|
7
|
+
import { PriceImport } from "./prices.js";
|
|
8
|
+
import { Attribute } from "./productvariants.js";
|
|
9
9
|
/**
|
|
10
10
|
* The response in case of an error.
|
|
11
11
|
*
|
|
@@ -300,13 +300,13 @@ export interface InvalidStateTransitionError {
|
|
|
300
300
|
*/
|
|
301
301
|
readonly message: string;
|
|
302
302
|
/**
|
|
303
|
-
* Every [Import Operation](/import-operation) is assigned
|
|
303
|
+
* Every [Import Operation](/import-operation) is assigned one of the following states.
|
|
304
304
|
*
|
|
305
305
|
*
|
|
306
306
|
*/
|
|
307
307
|
readonly currentState: ProcessingState;
|
|
308
308
|
/**
|
|
309
|
-
* Every [Import Operation](/import-operation) is assigned
|
|
309
|
+
* Every [Import Operation](/import-operation) is assigned one of the following states.
|
|
310
310
|
*
|
|
311
311
|
*
|
|
312
312
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ImportResourceType } from
|
|
6
|
+
import { ImportResourceType } from "./common.js";
|
|
7
7
|
/**
|
|
8
8
|
* Serves as the entry point of resources.
|
|
9
9
|
* An Import Container is not resource type-specific.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
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
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
-
import { ProcessingState, UnresolvedReferences } from
|
|
7
|
-
import { ErrorObject } from
|
|
6
|
+
import { ProcessingState, UnresolvedReferences } from "./common.js";
|
|
7
|
+
import { ErrorObject } from "./errors.js";
|
|
8
8
|
/**
|
|
9
9
|
* Import Operation describes the import status of a specific resource.
|
|
10
10
|
*
|