@viu/emporix-sdk 4.6.0 → 4.6.1
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 +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7562,7 +7562,13 @@ type QuoteResponse = {
|
|
|
7562
7562
|
*/
|
|
7563
7563
|
cartId?: string;
|
|
7564
7564
|
/**
|
|
7565
|
-
*
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -7562,7 +7562,13 @@ type QuoteResponse = {
|
|
|
7562
7562
|
*/
|
|
7563
7563
|
cartId?: string;
|
|
7564
7564
|
/**
|
|
7565
|
-
*
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
};
|