@commercetools/importapi-sdk 6.5.0 → 6.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/commercetools-importapi-sdk.browser.cjs.js +180 -1
  3. package/dist/commercetools-importapi-sdk.browser.esm.js +172 -2
  4. package/dist/commercetools-importapi-sdk.cjs.dev.js +180 -1
  5. package/dist/commercetools-importapi-sdk.cjs.prod.js +180 -1
  6. package/dist/commercetools-importapi-sdk.esm.js +172 -2
  7. package/dist/declarations/src/generated/client/business-units/by-project-key-business-units-request-builder.d.ts +27 -0
  8. package/dist/declarations/src/generated/client/business-units/by-project-key-business-units-request-builder.d.ts.map +1 -0
  9. package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +2 -0
  10. package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts.map +1 -1
  11. package/dist/declarations/src/generated/client/import-containers/by-project-key-business-units-import-containers-by-import-container-key-request-builder.d.ts +38 -0
  12. package/dist/declarations/src/generated/client/import-containers/by-project-key-business-units-import-containers-by-import-container-key-request-builder.d.ts.map +1 -0
  13. package/dist/declarations/src/generated/client/import-containers/by-project-key-business-units-import-containers-request-builder.d.ts +29 -0
  14. package/dist/declarations/src/generated/client/import-containers/by-project-key-business-units-import-containers-request-builder.d.ts.map +1 -0
  15. package/dist/declarations/src/generated/index.d.ts +4 -0
  16. package/dist/declarations/src/generated/index.d.ts.map +1 -1
  17. package/dist/declarations/src/generated/models/business-units.d.ts +330 -0
  18. package/dist/declarations/src/generated/models/business-units.d.ts.map +1 -0
  19. package/dist/declarations/src/generated/models/common.d.ts +29 -4
  20. package/dist/declarations/src/generated/models/common.d.ts.map +1 -1
  21. package/dist/declarations/src/generated/models/customers.d.ts +1 -1
  22. package/dist/declarations/src/generated/models/importrequests.d.ts +16 -2
  23. package/dist/declarations/src/generated/models/importrequests.d.ts.map +1 -1
  24. package/dist/declarations/src/generated/shared/utils/common-types.d.ts +29 -1
  25. package/dist/declarations/src/generated/shared/utils/common-types.d.ts.map +1 -1
  26. package/package.json +2 -2
@@ -100,6 +100,80 @@ class ApiRequest {
100
100
  }
101
101
  }
102
102
 
103
+ /**
104
+ * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
105
+ * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
106
+ * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
107
+ */
108
+ /**
109
+ **/
110
+ class ByProjectKeyBusinessUnitsImportContainersByImportContainerKeyRequestBuilder {
111
+ constructor(args) {
112
+ this.args = args;
113
+ }
114
+ /**
115
+ * Creates an Import Request for Business Units.
116
+ */
117
+ post(methodArgs) {
118
+ return new ApiRequest({
119
+ baseUri: this.args.baseUri,
120
+ method: 'POST',
121
+ uriTemplate: '/{projectKey}/business-units/import-containers/{importContainerKey}',
122
+ pathVariables: this.args.pathArgs,
123
+ headers: {
124
+ 'Content-Type': 'application/json',
125
+ ...methodArgs?.headers
126
+ },
127
+ body: methodArgs?.body
128
+ }, this.args.executeRequest);
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
134
+ * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
135
+ * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
136
+ */
137
+ /**
138
+ **/
139
+ class ByProjectKeyBusinessUnitsImportContainersRequestBuilder {
140
+ constructor(args) {
141
+ this.args = args;
142
+ }
143
+ withImportContainerKeyValue(childPathArgs) {
144
+ return new ByProjectKeyBusinessUnitsImportContainersByImportContainerKeyRequestBuilder({
145
+ pathArgs: {
146
+ ...this.args.pathArgs,
147
+ ...childPathArgs
148
+ },
149
+ executeRequest: this.args.executeRequest,
150
+ baseUri: this.args.baseUri
151
+ });
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
157
+ * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
158
+ * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
159
+ */
160
+ /**
161
+ **/
162
+ class ByProjectKeyBusinessUnitsRequestBuilder {
163
+ constructor(args) {
164
+ this.args = args;
165
+ }
166
+ importContainers() {
167
+ return new ByProjectKeyBusinessUnitsImportContainersRequestBuilder({
168
+ pathArgs: {
169
+ ...this.args.pathArgs
170
+ },
171
+ executeRequest: this.args.executeRequest,
172
+ baseUri: this.args.baseUri
173
+ });
174
+ }
175
+ }
176
+
103
177
  /**
104
178
  * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
105
179
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
@@ -1622,6 +1696,15 @@ class ByProjectKeyRequestBuilder {
1622
1696
  baseUri: this.args.baseUri
1623
1697
  });
1624
1698
  }
1699
+ businessUnits() {
1700
+ return new ByProjectKeyBusinessUnitsRequestBuilder({
1701
+ pathArgs: {
1702
+ ...this.args.pathArgs
1703
+ },
1704
+ executeRequest: this.args.executeRequest,
1705
+ baseUri: this.args.baseUri
1706
+ });
1707
+ }
1625
1708
  }
1626
1709
 
1627
1710
  class ApiRoot {
@@ -1642,6 +1725,82 @@ class ApiRoot {
1642
1725
  }
1643
1726
  }
1644
1727
 
1728
+ /**
1729
+ * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
1730
+ * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
1731
+ * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
1732
+ */
1733
+
1734
+ /**
1735
+ * Determines whether the AssociateRoleAssignment can be inherited by child Business Units.
1736
+ *
1737
+ */
1738
+ let AssociateRoleInheritanceModeValues = /*#__PURE__*/function (AssociateRoleInheritanceModeValues) {
1739
+ AssociateRoleInheritanceModeValues["Disabled"] = "Disabled";
1740
+ AssociateRoleInheritanceModeValues["Enabled"] = "Enabled";
1741
+ return AssociateRoleInheritanceModeValues;
1742
+ }({});
1743
+ /**
1744
+ * Indicates whether the Business Unit can be used.
1745
+ */
1746
+ let BusinessUnitStatusValues = /*#__PURE__*/function (BusinessUnitStatusValues) {
1747
+ BusinessUnitStatusValues["Active"] = "Active";
1748
+ BusinessUnitStatusValues["Inactive"] = "Inactive";
1749
+ return BusinessUnitStatusValues;
1750
+ }({});
1751
+ let BusinessUnitAssociateModeValues = /*#__PURE__*/function (BusinessUnitAssociateModeValues) {
1752
+ BusinessUnitAssociateModeValues["Explicit"] = "Explicit";
1753
+ BusinessUnitAssociateModeValues["ExplicitAndFromParent"] = "ExplicitAndFromParent";
1754
+ return BusinessUnitAssociateModeValues;
1755
+ }({});
1756
+ /**
1757
+ * Determines whether a Business Unit can inherit [Approval Rules](/projects/approval-rules) from a parent. Only Business Units of type `Division` can use `ExplicitAndFromParent`.
1758
+ *
1759
+ */
1760
+ let BusinessUnitApprovalRuleModeValues = /*#__PURE__*/function (BusinessUnitApprovalRuleModeValues) {
1761
+ BusinessUnitApprovalRuleModeValues["Explicit"] = "Explicit";
1762
+ BusinessUnitApprovalRuleModeValues["ExplicitAndFromParent"] = "ExplicitAndFromParent";
1763
+ return BusinessUnitApprovalRuleModeValues;
1764
+ }({});
1765
+ /**
1766
+ * Defines whether the Stores of the Business Unit are set directly on the Business Unit or are inherited from its parent unit.
1767
+ *
1768
+ */
1769
+ let BusinessUnitStoreModeValues = /*#__PURE__*/function (BusinessUnitStoreModeValues) {
1770
+ BusinessUnitStoreModeValues["Explicit"] = "Explicit";
1771
+ BusinessUnitStoreModeValues["FromParent"] = "FromParent";
1772
+ return BusinessUnitStoreModeValues;
1773
+ }({});
1774
+ /**
1775
+ * Defines the type of the Business Unit.
1776
+ */
1777
+ let BusinessUnitTypeValues = /*#__PURE__*/function (BusinessUnitTypeValues) {
1778
+ BusinessUnitTypeValues["Company"] = "Company";
1779
+ BusinessUnitTypeValues["Division"] = "Division";
1780
+ return BusinessUnitTypeValues;
1781
+ }({});
1782
+
1783
+ /**
1784
+ * The role of an Associate in a Business Unit.
1785
+ */
1786
+
1787
+ /**
1788
+ * Draft for an Associate in a Business Unit.
1789
+ */
1790
+
1791
+ /**
1792
+ * Represents the data used to import a BusinessUnit. Can be of type [Company](ctp:api:type:Company) or [Division](ctp:api:type:Division).
1793
+ *
1794
+ */
1795
+
1796
+ /**
1797
+ * Represents a [Company](ctp:api:type:Company), the top-level of a business.
1798
+ */
1799
+
1800
+ /**
1801
+ * Represents a [Division](ctp:api:type:Division), a sub-unit of a [Company](ctp:api:type:Company) or another Division.
1802
+ */
1803
+
1645
1804
  /**
1646
1805
  * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
1647
1806
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
@@ -1763,6 +1922,14 @@ class ApiRoot {
1763
1922
  * Used by the [Import API](/import-export/overview) to identify a Type.
1764
1923
  */
1765
1924
 
1925
+ /**
1926
+ * References an Associate Role by its key.
1927
+ */
1928
+
1929
+ /**
1930
+ * References a business unit by its key.
1931
+ */
1932
+
1766
1933
  /**
1767
1934
  * Contains a reference to a resource which does not exist. For example, if a Category is imported with a parent Category that does not exist, the reference to the parent Category is an unresolved reference.
1768
1935
  */
@@ -1785,10 +1952,11 @@ let MoneyTypeValues = /*#__PURE__*/function (MoneyTypeValues) {
1785
1952
  */
1786
1953
 
1787
1954
  /**
1788
- * The resource types that can be imported.
1955
+ * The resource type that can be imported.
1789
1956
  *
1790
1957
  */
1791
1958
  let ImportResourceTypeValues = /*#__PURE__*/function (ImportResourceTypeValues) {
1959
+ ImportResourceTypeValues["BusinessUnit"] = "business-unit";
1792
1960
  ImportResourceTypeValues["Category"] = "category";
1793
1961
  ImportResourceTypeValues["Customer"] = "customer";
1794
1962
  ImportResourceTypeValues["DiscountCode"] = "discount-code";
@@ -1811,6 +1979,8 @@ let ImportResourceTypeValues = /*#__PURE__*/function (ImportResourceTypeValues)
1811
1979
  *
1812
1980
  */
1813
1981
  let ReferenceTypeValues = /*#__PURE__*/function (ReferenceTypeValues) {
1982
+ ReferenceTypeValues["AssociateRole"] = "associate-role";
1983
+ ReferenceTypeValues["BusinessUnit"] = "business-unit";
1814
1984
  ReferenceTypeValues["Cart"] = "cart";
1815
1985
  ReferenceTypeValues["CartDiscount"] = "cart-discount";
1816
1986
  ReferenceTypeValues["Category"] = "category";
@@ -2367,4 +2537,4 @@ function createApiBuilderFromCtpClient(ctpClient, baseUri) {
2367
2537
  });
2368
2538
  }
2369
2539
 
2370
- export { ApiRequest, ApiRoot, AttributeConstraintEnumValues, AttributeLevelValues, AuthenticationModeValues, ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyCategoriesImportContainersRequestBuilder, ByProjectKeyCategoriesRequestBuilder, ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyCustomersImportContainersRequestBuilder, ByProjectKeyCustomersRequestBuilder, ByProjectKeyDiscountCodesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyDiscountCodesImportContainersRequestBuilder, ByProjectKeyDiscountCodesRequestBuilder, ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder, ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder, ByProjectKeyImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyImportContainersRequestBuilder, ByProjectKeyImportOperationsByIdRequestBuilder, ByProjectKeyImportOperationsRequestBuilder, ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyInventoriesImportContainersRequestBuilder, ByProjectKeyInventoriesRequestBuilder, ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyOrderPatchesImportContainersRequestBuilder, ByProjectKeyOrderPatchesRequestBuilder, ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyOrdersImportContainersRequestBuilder, ByProjectKeyOrdersRequestBuilder, ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyPricesImportContainersRequestBuilder, ByProjectKeyPricesRequestBuilder, ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductDraftsImportContainersRequestBuilder, ByProjectKeyProductDraftsRequestBuilder, ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductSelectionsImportContainersRequestBuilder, ByProjectKeyProductSelectionsRequestBuilder, ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductTypesImportContainersRequestBuilder, ByProjectKeyProductTypesRequestBuilder, ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductVariantPatchesImportContainersRequestBuilder, ByProjectKeyProductVariantPatchesRequestBuilder, ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductVariantsImportContainersRequestBuilder, ByProjectKeyProductVariantsRequestBuilder, ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductsImportContainersRequestBuilder, ByProjectKeyProductsRequestBuilder, ByProjectKeyRequestBuilder, ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyStandalonePricesImportContainersRequestBuilder, ByProjectKeyStandalonePricesRequestBuilder, ByProjectKeyTypesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyTypesImportContainersRequestBuilder, ByProjectKeyTypesRequestBuilder, CartOriginValues, CustomFieldReferenceValueValues, DiscountCodeStateValues, ImportOperationStateValues, ImportResourceTypeValues, InventoryModeValues, MoneyTypeValues, OrderStateValues, PaymentStateValues, ProcessingStateValues, ProductPriceModeEnumValues, ProductSelectionModeValues, ReferenceTypeValues, ResourceTypeIdValues, ReturnShipmentStateValues, RoundingModeValues, ShipmentStateValues, ShippingMethodStateValues, ShippingRateInputTypeValues, ShippingRateTierTypeValues, StrategyEnumValues, TaxCalculationModeValues, TaxModeValues, TextInputHintValues, TypeTextInputHintValues, VariantSelectionTypeValues, buildRelativeUri, createApiBuilderFromCtpClient, createExecutorFromMiddlewares };
2540
+ export { ApiRequest, ApiRoot, AssociateRoleInheritanceModeValues, AttributeConstraintEnumValues, AttributeLevelValues, AuthenticationModeValues, BusinessUnitApprovalRuleModeValues, BusinessUnitAssociateModeValues, BusinessUnitStatusValues, BusinessUnitStoreModeValues, BusinessUnitTypeValues, ByProjectKeyBusinessUnitsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyBusinessUnitsImportContainersRequestBuilder, ByProjectKeyBusinessUnitsRequestBuilder, ByProjectKeyCategoriesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyCategoriesImportContainersRequestBuilder, ByProjectKeyCategoriesRequestBuilder, ByProjectKeyCustomersImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyCustomersImportContainersRequestBuilder, ByProjectKeyCustomersRequestBuilder, ByProjectKeyDiscountCodesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyDiscountCodesImportContainersRequestBuilder, ByProjectKeyDiscountCodesRequestBuilder, ByProjectKeyImportContainersByImportContainerKeyImportOperationsRequestBuilder, ByProjectKeyImportContainersByImportContainerKeyImportSummariesRequestBuilder, ByProjectKeyImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyImportContainersRequestBuilder, ByProjectKeyImportOperationsByIdRequestBuilder, ByProjectKeyImportOperationsRequestBuilder, ByProjectKeyInventoriesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyInventoriesImportContainersRequestBuilder, ByProjectKeyInventoriesRequestBuilder, ByProjectKeyOrderPatchesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyOrderPatchesImportContainersRequestBuilder, ByProjectKeyOrderPatchesRequestBuilder, ByProjectKeyOrdersImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyOrdersImportContainersRequestBuilder, ByProjectKeyOrdersRequestBuilder, ByProjectKeyPricesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyPricesImportContainersRequestBuilder, ByProjectKeyPricesRequestBuilder, ByProjectKeyProductDraftsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductDraftsImportContainersRequestBuilder, ByProjectKeyProductDraftsRequestBuilder, ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductSelectionsImportContainersRequestBuilder, ByProjectKeyProductSelectionsRequestBuilder, ByProjectKeyProductTypesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductTypesImportContainersRequestBuilder, ByProjectKeyProductTypesRequestBuilder, ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductVariantPatchesImportContainersRequestBuilder, ByProjectKeyProductVariantPatchesRequestBuilder, ByProjectKeyProductVariantsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductVariantsImportContainersRequestBuilder, ByProjectKeyProductVariantsRequestBuilder, ByProjectKeyProductsImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyProductsImportContainersRequestBuilder, ByProjectKeyProductsRequestBuilder, ByProjectKeyRequestBuilder, ByProjectKeyStandalonePricesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyStandalonePricesImportContainersRequestBuilder, ByProjectKeyStandalonePricesRequestBuilder, ByProjectKeyTypesImportContainersByImportContainerKeyRequestBuilder, ByProjectKeyTypesImportContainersRequestBuilder, ByProjectKeyTypesRequestBuilder, CartOriginValues, CustomFieldReferenceValueValues, DiscountCodeStateValues, ImportOperationStateValues, ImportResourceTypeValues, InventoryModeValues, MoneyTypeValues, OrderStateValues, PaymentStateValues, ProcessingStateValues, ProductPriceModeEnumValues, ProductSelectionModeValues, ReferenceTypeValues, ResourceTypeIdValues, ReturnShipmentStateValues, RoundingModeValues, ShipmentStateValues, ShippingMethodStateValues, ShippingRateInputTypeValues, ShippingRateTierTypeValues, StrategyEnumValues, TaxCalculationModeValues, TaxModeValues, TextInputHintValues, TypeTextInputHintValues, VariantSelectionTypeValues, buildRelativeUri, createApiBuilderFromCtpClient, createExecutorFromMiddlewares };
@@ -0,0 +1,27 @@
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.js";
7
+ import { ByProjectKeyBusinessUnitsImportContainersRequestBuilder } from "../import-containers/by-project-key-business-units-import-containers-request-builder.js";
8
+ /**
9
+ **/
10
+ export declare class ByProjectKeyBusinessUnitsRequestBuilder {
11
+ protected readonly args: {
12
+ pathArgs: {
13
+ projectKey: string;
14
+ };
15
+ executeRequest: executeRequest;
16
+ baseUri?: string;
17
+ };
18
+ constructor(args: {
19
+ pathArgs: {
20
+ projectKey: string;
21
+ };
22
+ executeRequest: executeRequest;
23
+ baseUri?: string;
24
+ });
25
+ importContainers(): ByProjectKeyBusinessUnitsImportContainersRequestBuilder;
26
+ }
27
+ //# sourceMappingURL=by-project-key-business-units-request-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"by-project-key-business-units-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/business-units","sources":["by-project-key-business-units-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAChE,OAAO,EAAE,uDAAuD,EAAE,gGAA4F;AAC9J;IACI;AACJ,qBAAa,uCAAuC;IAEhD,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,gBAAgB,IAAI,uDAAuD;CASnF"}
@@ -4,6 +4,7 @@
4
4
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
5
  */
6
6
  import { executeRequest } from "../shared/utils/common-types.js";
7
+ import { ByProjectKeyBusinessUnitsRequestBuilder } from "./business-units/by-project-key-business-units-request-builder.js";
7
8
  import { ByProjectKeyCategoriesRequestBuilder } from "./categories/by-project-key-categories-request-builder.js";
8
9
  import { ByProjectKeyCustomersRequestBuilder } from "./customers/by-project-key-customers-request-builder.js";
9
10
  import { ByProjectKeyDiscountCodesRequestBuilder } from "./discount-codes/by-project-key-discount-codes-request-builder.js";
@@ -55,5 +56,6 @@ export declare class ByProjectKeyRequestBuilder {
55
56
  types(): ByProjectKeyTypesRequestBuilder;
56
57
  discountCodes(): ByProjectKeyDiscountCodesRequestBuilder;
57
58
  productSelections(): ByProjectKeyProductSelectionsRequestBuilder;
59
+ businessUnits(): ByProjectKeyBusinessUnitsRequestBuilder;
58
60
  }
59
61
  //# sourceMappingURL=by-project-key-request-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"by-project-key-request-builder.d.ts","sourceRoot":"../../../../../src/generated/client","sources":["by-project-key-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,oCAAoC,EAAE,kEAA8D;AAC7G,OAAO,EAAE,mCAAmC,EAAE,gEAA4D;AAC1G,OAAO,EAAE,uCAAuC,EAAE,0EAAsE;AACxH,OAAO,EAAE,0CAA0C,EAAE,gFAA4E;AACjI,OAAO,EAAE,0CAA0C,EAAE,gFAA4E;AACjI,OAAO,EAAE,qCAAqC,EAAE,oEAAgE;AAChH,OAAO,EAAE,sCAAsC,EAAE,wEAAoE;AACrH,OAAO,EAAE,gCAAgC,EAAE,0DAAsD;AACjG,OAAO,EAAE,gCAAgC,EAAE,0DAAsD;AACjG,OAAO,EAAE,uCAAuC,EAAE,0EAAsE;AACxH,OAAO,EAAE,2CAA2C,EAAE,kFAA8E;AACpI,OAAO,EAAE,sCAAsC,EAAE,wEAAoE;AACrH,OAAO,EAAE,+CAA+C,EAAE,4FAAwF;AAClJ,OAAO,EAAE,yCAAyC,EAAE,8EAA0E;AAC9H,OAAO,EAAE,kCAAkC,EAAE,8DAA0D;AACvG,OAAO,EAAE,0CAA0C,EAAE,gFAA4E;AACjI,OAAO,EAAE,+BAA+B,EAAE,wDAAoD;AAC9F;IACI;AACJ,qBAAa,0BAA0B;IAEnC,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,gBAAgB,IAAI,0CAA0C;IAS9D,gBAAgB,IAAI,0CAA0C;IAS9D,UAAU,IAAI,oCAAoC;IASlD,MAAM,IAAI,gCAAgC;IAS1C,gBAAgB,IAAI,0CAA0C;IAS9D,QAAQ,IAAI,kCAAkC;IAS9C,aAAa,IAAI,uCAAuC;IASxD,YAAY,IAAI,sCAAsC;IAStD,eAAe,IAAI,yCAAyC;IAS5D,qBAAqB,IAAI,+CAA+C;IASxE,MAAM,IAAI,gCAAgC;IAS1C,YAAY,IAAI,sCAAsC;IAStD,SAAS,IAAI,mCAAmC;IAShD,WAAW,IAAI,qCAAqC;IASpD,KAAK,IAAI,+BAA+B;IASxC,aAAa,IAAI,uCAAuC;IASxD,iBAAiB,IAAI,2CAA2C;CASxE"}
1
+ {"version":3,"file":"by-project-key-request-builder.d.ts","sourceRoot":"../../../../../src/generated/client","sources":["by-project-key-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,uCAAuC,EAAE,0EAAsE;AACxH,OAAO,EAAE,oCAAoC,EAAE,kEAA8D;AAC7G,OAAO,EAAE,mCAAmC,EAAE,gEAA4D;AAC1G,OAAO,EAAE,uCAAuC,EAAE,0EAAsE;AACxH,OAAO,EAAE,0CAA0C,EAAE,gFAA4E;AACjI,OAAO,EAAE,0CAA0C,EAAE,gFAA4E;AACjI,OAAO,EAAE,qCAAqC,EAAE,oEAAgE;AAChH,OAAO,EAAE,sCAAsC,EAAE,wEAAoE;AACrH,OAAO,EAAE,gCAAgC,EAAE,0DAAsD;AACjG,OAAO,EAAE,gCAAgC,EAAE,0DAAsD;AACjG,OAAO,EAAE,uCAAuC,EAAE,0EAAsE;AACxH,OAAO,EAAE,2CAA2C,EAAE,kFAA8E;AACpI,OAAO,EAAE,sCAAsC,EAAE,wEAAoE;AACrH,OAAO,EAAE,+CAA+C,EAAE,4FAAwF;AAClJ,OAAO,EAAE,yCAAyC,EAAE,8EAA0E;AAC9H,OAAO,EAAE,kCAAkC,EAAE,8DAA0D;AACvG,OAAO,EAAE,0CAA0C,EAAE,gFAA4E;AACjI,OAAO,EAAE,+BAA+B,EAAE,wDAAoD;AAC9F;IACI;AACJ,qBAAa,0BAA0B;IAEnC,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,gBAAgB,IAAI,0CAA0C;IAS9D,gBAAgB,IAAI,0CAA0C;IAS9D,UAAU,IAAI,oCAAoC;IASlD,MAAM,IAAI,gCAAgC;IAS1C,gBAAgB,IAAI,0CAA0C;IAS9D,QAAQ,IAAI,kCAAkC;IAS9C,aAAa,IAAI,uCAAuC;IASxD,YAAY,IAAI,sCAAsC;IAStD,eAAe,IAAI,yCAAyC;IAS5D,qBAAqB,IAAI,+CAA+C;IASxE,MAAM,IAAI,gCAAgC;IAS1C,YAAY,IAAI,sCAAsC;IAStD,SAAS,IAAI,mCAAmC;IAShD,WAAW,IAAI,qCAAqC;IASpD,KAAK,IAAI,+BAA+B;IASxC,aAAa,IAAI,uCAAuC;IASxD,iBAAiB,IAAI,2CAA2C;IAShE,aAAa,IAAI,uCAAuC;CAShE"}
@@ -0,0 +1,38 @@
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 { BusinessUnitImportRequest, ImportResponse } from "../../models/importrequests.js";
7
+ import { executeRequest } from "../../shared/utils/common-types.js";
8
+ import { ApiRequest } from "../../shared/utils/requests-utils.js";
9
+ /**
10
+ **/
11
+ export declare class ByProjectKeyBusinessUnitsImportContainersByImportContainerKeyRequestBuilder {
12
+ protected readonly args: {
13
+ pathArgs: {
14
+ projectKey: string;
15
+ importContainerKey: string;
16
+ };
17
+ executeRequest: executeRequest;
18
+ baseUri?: string;
19
+ };
20
+ constructor(args: {
21
+ pathArgs: {
22
+ projectKey: string;
23
+ importContainerKey: string;
24
+ };
25
+ executeRequest: executeRequest;
26
+ baseUri?: string;
27
+ });
28
+ /**
29
+ * Creates an Import Request for Business Units.
30
+ */
31
+ post(methodArgs: {
32
+ body: BusinessUnitImportRequest;
33
+ headers?: {
34
+ [key: string]: string | string[];
35
+ };
36
+ }): ApiRequest<ImportResponse>;
37
+ }
38
+ //# sourceMappingURL=by-project-key-business-units-import-containers-by-import-container-key-request-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"by-project-key-business-units-import-containers-by-import-container-key-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/import-containers","sources":["by-project-key-business-units-import-containers-by-import-container-key-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,yBAAyB,EACzB,cAAc,EACf,uCAAmC;AACpC,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAChE,OAAO,EAAE,UAAU,EAAE,6CAAyC;AAC9D;IACI;AACJ,qBAAa,2EAA2E;IAEpF,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;IAEH;;OAEG;IACI,IAAI,CAAC,UAAU,EAAE;QACtB,IAAI,EAAE,yBAAyB,CAAA;QAC/B,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;SACjC,CAAA;KACF,GAAG,UAAU,CAAC,cAAc,CAAC;CAiB/B"}
@@ -0,0 +1,29 @@
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.js";
7
+ import { ByProjectKeyBusinessUnitsImportContainersByImportContainerKeyRequestBuilder } from "./by-project-key-business-units-import-containers-by-import-container-key-request-builder.js";
8
+ /**
9
+ **/
10
+ export declare class ByProjectKeyBusinessUnitsImportContainersRequestBuilder {
11
+ protected readonly args: {
12
+ pathArgs: {
13
+ projectKey: string;
14
+ };
15
+ executeRequest: executeRequest;
16
+ baseUri?: string;
17
+ };
18
+ constructor(args: {
19
+ pathArgs: {
20
+ projectKey: string;
21
+ };
22
+ executeRequest: executeRequest;
23
+ baseUri?: string;
24
+ });
25
+ withImportContainerKeyValue(childPathArgs: {
26
+ importContainerKey: string;
27
+ }): ByProjectKeyBusinessUnitsImportContainersByImportContainerKeyRequestBuilder;
28
+ }
29
+ //# sourceMappingURL=by-project-key-business-units-import-containers-request-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"by-project-key-business-units-import-containers-request-builder.d.ts","sourceRoot":"../../../../../../src/generated/client/import-containers","sources":["by-project-key-business-units-import-containers-request-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAChE,OAAO,EAAE,2EAA2E,EAAE,qGAAiG;AACvL;IACI;AACJ,qBAAa,uDAAuD;IAEhE,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,2EAA2E;CAYhF"}
@@ -4,10 +4,13 @@
4
4
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
5
  */
6
6
  export * from "./client/api-root.js";
7
+ export * from "./client/business-units/by-project-key-business-units-request-builder.js";
7
8
  export * from "./client/by-project-key-request-builder.js";
8
9
  export * from "./client/categories/by-project-key-categories-request-builder.js";
9
10
  export * from "./client/customers/by-project-key-customers-request-builder.js";
10
11
  export * from "./client/discount-codes/by-project-key-discount-codes-request-builder.js";
12
+ export * from "./client/import-containers/by-project-key-business-units-import-containers-by-import-container-key-request-builder.js";
13
+ export * from "./client/import-containers/by-project-key-business-units-import-containers-request-builder.js";
11
14
  export * from "./client/import-containers/by-project-key-categories-import-containers-by-import-container-key-request-builder.js";
12
15
  export * from "./client/import-containers/by-project-key-categories-import-containers-request-builder.js";
13
16
  export * from "./client/import-containers/by-project-key-customers-import-containers-by-import-container-key-request-builder.js";
@@ -56,6 +59,7 @@ export * from "./client/product-variants/by-project-key-product-variants-request
56
59
  export * from "./client/products/by-project-key-products-request-builder.js";
57
60
  export * from "./client/standalone-prices/by-project-key-standalone-prices-request-builder.js";
58
61
  export * from "./client/types/by-project-key-types-request-builder.js";
62
+ export * from "./models/business-units.js";
59
63
  export * from "./models/categories.js";
60
64
  export * from "./models/common.js";
61
65
  export * from "./models/customers.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"../../../../src/generated","sources":["index.ts"],"names":[],"mappings":"AACA;;;;EAIE;AAGF,qCAAkC;AAClC,2DAAuD;AACvD,iFAA6E;AAC7E,+EAA2E;AAC3E,yFAAqF;AACrF,kIAA8H;AAC9H,0GAAsG;AACtG,iIAA6H;AAC7H,yGAAqG;AACrG,sIAAkI;AAClI,8GAA0G;AAC1G,uHAAmH;AACnH,+FAA2F;AAC3F,mIAA+H;AAC/H,2GAAuG;AACvG,qIAAiI;AACjI,6GAAyG;AACzG,8HAA0H;AAC1H,sGAAkG;AAClG,8HAA0H;AAC1H,sGAAkG;AAClG,sIAAkI;AAClI,8GAA0G;AAC1G,0IAAsI;AACtI,kHAA8G;AAC9G,qIAAiI;AACjI,6GAAyG;AACzG,+IAA2I;AAC3I,uHAAmH;AACnH,wIAAoI;AACpI,gHAA4G;AAC5G,gIAA4H;AAC5H,wGAAoG;AACpG,yIAAqI;AACrI,iHAA6G;AAC7G,6HAAyH;AACzH,qGAAiG;AACjG,yIAAqI;AACrI,qGAAiG;AACjG,+FAA2F;AAC3F,uIAAmI;AACnI,mFAA+E;AAC/E,uFAAmF;AACnF,yEAAqE;AACrE,yEAAqE;AACrE,yFAAqF;AACrF,iGAA6F;AAC7F,uFAAmF;AACnF,2GAAuG;AACvG,6FAAyF;AACzF,6EAAyE;AACzE,+FAA2F;AAC3F,uEAAmE;AACnE,uCAAmC;AACnC,mCAA+B;AAC/B,sCAAkC;AAClC,yCAAqC;AACrC,2CAAuC;AAEvC,mCAA+B;AAC/B,6CAAyC;AACzC,6CAAyC;AACzC,2CAAuC;AACvC,4CAAwC;AACxC,wCAAoC;AACpC,0CAAsC;AACtC,mCAA+B;AAC/B,mCAA+B;AAC/B,+CAA2C;AAC3C,0CAAsC;AACtC,qCAAiC;AACjC,yCAAqC;AACrC,4CAAwC;AACxC,8CAA0C;AAC1C,kCAA8B;AAE9B,+CAA2C;AAC3C,6CAAyC;AACzC,iDAA6C;AAC7C,4CAAwC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"../../../../src/generated","sources":["index.ts"],"names":[],"mappings":"AACA;;;;EAIE;AAGF,qCAAkC;AAClC,yFAAqF;AACrF,2DAAuD;AACvD,iFAA6E;AAC7E,+EAA2E;AAC3E,yFAAqF;AACrF,sIAAkI;AAClI,8GAA0G;AAC1G,kIAA8H;AAC9H,0GAAsG;AACtG,iIAA6H;AAC7H,yGAAqG;AACrG,sIAAkI;AAClI,8GAA0G;AAC1G,uHAAmH;AACnH,+FAA2F;AAC3F,mIAA+H;AAC/H,2GAAuG;AACvG,qIAAiI;AACjI,6GAAyG;AACzG,8HAA0H;AAC1H,sGAAkG;AAClG,8HAA0H;AAC1H,sGAAkG;AAClG,sIAAkI;AAClI,8GAA0G;AAC1G,0IAAsI;AACtI,kHAA8G;AAC9G,qIAAiI;AACjI,6GAAyG;AACzG,+IAA2I;AAC3I,uHAAmH;AACnH,wIAAoI;AACpI,gHAA4G;AAC5G,gIAA4H;AAC5H,wGAAoG;AACpG,yIAAqI;AACrI,iHAA6G;AAC7G,6HAAyH;AACzH,qGAAiG;AACjG,yIAAqI;AACrI,qGAAiG;AACjG,+FAA2F;AAC3F,uIAAmI;AACnI,mFAA+E;AAC/E,uFAAmF;AACnF,yEAAqE;AACrE,yEAAqE;AACrE,yFAAqF;AACrF,iGAA6F;AAC7F,uFAAmF;AACnF,2GAAuG;AACvG,6FAAyF;AACzF,6EAAyE;AACzE,+FAA2F;AAC3F,uEAAmE;AACnE,2CAAuC;AACvC,uCAAmC;AACnC,mCAA+B;AAC/B,sCAAkC;AAClC,yCAAqC;AACrC,2CAAuC;AAEvC,mCAA+B;AAC/B,6CAAyC;AACzC,6CAAyC;AACzC,2CAAuC;AACvC,4CAAwC;AACxC,wCAAoC;AACpC,0CAAsC;AACtC,mCAA+B;AAC/B,mCAA+B;AAC/B,+CAA2C;AAC3C,0CAAsC;AACtC,qCAAiC;AACjC,yCAAqC;AACrC,4CAAwC;AACxC,8CAA0C;AAC1C,kCAA8B;AAE9B,+CAA2C;AAC3C,6CAAyC;AACzC,iDAA6C;AAC7C,4CAAwC"}