@viu/emporix-sdk 4.6.0 → 4.6.2

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/dist/index.d.cts CHANGED
@@ -7562,7 +7562,13 @@ type QuoteResponse = {
7562
7562
  */
7563
7563
  cartId?: string;
7564
7564
  /**
7565
- * The company for which the quote was created.
7565
+ * Identifier of the legal entity linked to the quote.
7566
+ */
7567
+ legalEntityId?: string;
7568
+ /**
7569
+ * **This field is deprecated**. Use `legalEntityId` to identify the company. The object remains populated for compatibility and contains the company name stored on the quote.
7570
+ *
7571
+ * @deprecated
7566
7572
  */
7567
7573
  company?: {
7568
7574
  /**
@@ -7939,9 +7945,15 @@ type QuoteCreateRequest = {
7939
7945
  */
7940
7946
  employeeId?: string;
7941
7947
  /**
7942
- * The name of the merchant company.
7948
+ * **This field is deprecated**. Use `legalEntityId` instead. When `legalEntityId` is omitted and exactly one legal entity assigned to the billing address has this name, the quote is linked to that legal entity. When several legal entities share the name, the quote stores the name only.
7949
+ *
7950
+ * @deprecated
7943
7951
  */
7944
7952
  companyName?: string;
7953
+ /**
7954
+ * Identifier of the legal entity assigned to `billingAddressId`. When present, this value is used instead of `companyName`.
7955
+ */
7956
+ legalEntityId?: string;
7945
7957
  /**
7946
7958
  * The site code for which the quote is created.
7947
7959
  */
@@ -8151,7 +8163,10 @@ type QuoteItemIds = Array<{
8151
8163
  */
8152
8164
  type QuoteUpdateRequest = Array<{
8153
8165
  op: 'ADD' | 'REMOVE' | 'REPLACE';
8154
- path: '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8166
+ /**
8167
+ * JSON Pointer path of the quote field to update. The `/companyName` value is deprecated; use `/legalEntityId` instead.
8168
+ */
8169
+ path: '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/legalEntityId' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8155
8170
  value?: QuoteUpdateValues;
8156
8171
  }>;
8157
8172
  type QuoteUpdateValues = QuoteItemUpdate | QuoteItemsReplaceUpdate | QuoteItemUpdatePrice | QuoteUpdateStatus | QuoteShipping | QuoteItemIds | string | {
@@ -8172,7 +8187,7 @@ type QuoteHistory$1 = Array<{
8172
8187
  /**
8173
8188
  * Path that indicates on which element the update has been executed.
8174
8189
  */
8175
- path?: '/quote' | '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8190
+ path?: '/quote' | '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/legalEntityId' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8176
8191
  newValue?: QuoteUpdateValues & {
8177
8192
  [key: string]: unknown;
8178
8193
  };
@@ -9878,7 +9893,7 @@ type ImportRun$1 = {
9878
9893
  */
9879
9894
  trigger?: 'MANUAL' | 'SCHEDULED';
9880
9895
  /**
9881
- * Dry-run only. A sample of the mapped records that would be written, so the mapping can be previewed without a real import. Absent on normal runs.
9896
+ * Dry-run only. A sample of the mapped records that would be written, so the mapping can be previewed without a real import. Absent on normal runs. Each stream is sampled separately, up to the `sampleSize` set in the run request. A parent stream's records include the records of its composite child streams that have `childStrategy` set to `EMBED` or `PATCH`. Those child records appear in the parent attribute named by the child stream's `embedAttribute`, as a real import writes them. Only child records inside the child stream's own sample are included, so a sampled parent record can show fewer child records than the source contains for that parent, or none. Child records are also sampled under their own stream.
9882
9897
  */
9883
9898
  dryRunSample?: Array<{
9884
9899
  /**
package/dist/index.d.ts CHANGED
@@ -7562,7 +7562,13 @@ type QuoteResponse = {
7562
7562
  */
7563
7563
  cartId?: string;
7564
7564
  /**
7565
- * The company for which the quote was created.
7565
+ * Identifier of the legal entity linked to the quote.
7566
+ */
7567
+ legalEntityId?: string;
7568
+ /**
7569
+ * **This field is deprecated**. Use `legalEntityId` to identify the company. The object remains populated for compatibility and contains the company name stored on the quote.
7570
+ *
7571
+ * @deprecated
7566
7572
  */
7567
7573
  company?: {
7568
7574
  /**
@@ -7939,9 +7945,15 @@ type QuoteCreateRequest = {
7939
7945
  */
7940
7946
  employeeId?: string;
7941
7947
  /**
7942
- * The name of the merchant company.
7948
+ * **This field is deprecated**. Use `legalEntityId` instead. When `legalEntityId` is omitted and exactly one legal entity assigned to the billing address has this name, the quote is linked to that legal entity. When several legal entities share the name, the quote stores the name only.
7949
+ *
7950
+ * @deprecated
7943
7951
  */
7944
7952
  companyName?: string;
7953
+ /**
7954
+ * Identifier of the legal entity assigned to `billingAddressId`. When present, this value is used instead of `companyName`.
7955
+ */
7956
+ legalEntityId?: string;
7945
7957
  /**
7946
7958
  * The site code for which the quote is created.
7947
7959
  */
@@ -8151,7 +8163,10 @@ type QuoteItemIds = Array<{
8151
8163
  */
8152
8164
  type QuoteUpdateRequest = Array<{
8153
8165
  op: 'ADD' | 'REMOVE' | 'REPLACE';
8154
- path: '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8166
+ /**
8167
+ * JSON Pointer path of the quote field to update. The `/companyName` value is deprecated; use `/legalEntityId` instead.
8168
+ */
8169
+ path: '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/legalEntityId' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8155
8170
  value?: QuoteUpdateValues;
8156
8171
  }>;
8157
8172
  type QuoteUpdateValues = QuoteItemUpdate | QuoteItemsReplaceUpdate | QuoteItemUpdatePrice | QuoteUpdateStatus | QuoteShipping | QuoteItemIds | string | {
@@ -8172,7 +8187,7 @@ type QuoteHistory$1 = Array<{
8172
8187
  /**
8173
8188
  * Path that indicates on which element the update has been executed.
8174
8189
  */
8175
- path?: '/quote' | '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8190
+ path?: '/quote' | '/status' | '/validTo' | '/comment' | '/billingAddressId' | '/shippingAddressId' | '/companyName' | '/legalEntityId' | '/customerId' | '/shipping' | '/restriction' | '/items' | '/items/{itemId}' | '/items/{itemId}/price' | '/items/{itemId}/mixins/{mixinsPath}' | '/items/{itemId}/metadata/mixins/{mixinsPath}' | '/items/{itemId}/product/mixins/{mixinsPath}' | '/items/{itemId}/product/metadata/mixins/{mixinsPath}' | '/mixins/{mixinsPath}' | '/metadata/{mixinsPath}';
8176
8191
  newValue?: QuoteUpdateValues & {
8177
8192
  [key: string]: unknown;
8178
8193
  };
@@ -9878,7 +9893,7 @@ type ImportRun$1 = {
9878
9893
  */
9879
9894
  trigger?: 'MANUAL' | 'SCHEDULED';
9880
9895
  /**
9881
- * Dry-run only. A sample of the mapped records that would be written, so the mapping can be previewed without a real import. Absent on normal runs.
9896
+ * Dry-run only. A sample of the mapped records that would be written, so the mapping can be previewed without a real import. Absent on normal runs. Each stream is sampled separately, up to the `sampleSize` set in the run request. A parent stream's records include the records of its composite child streams that have `childStrategy` set to `EMBED` or `PATCH`. Those child records appear in the parent attribute named by the child stream's `embedAttribute`, as a real import writes them. Only child records inside the child stream's own sample are included, so a sampled parent record can show fewer child records than the source contains for that parent, or none. Child records are also sampled under their own stream.
9882
9897
  */
9883
9898
  dryRunSample?: Array<{
9884
9899
  /**
package/dist/index.js CHANGED
@@ -948,7 +948,7 @@ var HttpClient = class {
948
948
  };
949
949
 
950
950
  // package.json
951
- var version = "4.6.0";
951
+ var version = "4.6.2";
952
952
 
953
953
  // src/version.ts
954
954
  var SDK_VERSION = version;