@djust-b2b/djust-front-sdk 2.4.0 → 2.5.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.
|
@@ -12,7 +12,7 @@ type OrderLineStatus = "CANCELED" | "PARTIALLY_CANCELED" | "DECLINED_BY_SUPPLIER
|
|
|
12
12
|
export type OrderLogisticStatusType = "CREATING" | "DRAFT_ORDER" | "DRAFT_ORDER_ON_HOLD" | "ORDER_CREATED" | "WAITING_CUSTOMER_APPROVAL" | "WAITING_SUPPLIER_APPROVAL" | "DECLINED_BY_CUSTOMER" | "DECLINED_BY_SUPPLIER" | "ACCEPTED_BY_SUPPLIER" | "WAITING_SHIPMENT" | "PARTIALLY_SHIPPED" | "SHIPPED" | "COMPLETED" | "PARTIALLY_CANCELED" | "CANCELED";
|
|
13
13
|
export type OrderLineType = "PRODUCT_VARIANT" | "OFFER_PRICE";
|
|
14
14
|
export type OrderOrigin = "CART" | "SUPPLIER_QUOTE";
|
|
15
|
-
export type OrderIdType = "BUSINESS_ID" | "CART_ID";
|
|
15
|
+
export type OrderIdType = "BUSINESS_ID" | "CART_ID" | "REFERENCE";
|
|
16
16
|
export type ApprovalStatus = "APPROVED" | "REFUSED" | "WAITING_APPROVAL";
|
|
17
17
|
export type ThreadReasonType = "INCIDENT_OPEN" | "REFUND" | "ORDER_MESSAGING" | "OFFER_MESSAGING" | "CANCELATION";
|
|
18
18
|
export interface PageOrderLogisticDto {
|
|
@@ -119,7 +119,7 @@ export declare function createCommercialOrderV2({ customFieldIdType, customField
|
|
|
119
119
|
* |-------------------|---------------------------------|------------|------------------------------------------|
|
|
120
120
|
* | `orderId` | `string` | ✅ | The ID of the commercial order you want to retrieve. |
|
|
121
121
|
* | `locale` | `string` | ✅ | The locale in which to return the commercial order. |
|
|
122
|
-
* | `idType` | `OrderIdType` | ❌ | The type of order ID (e.g., `BUSINESS_ID`, `CART_ID`). |
|
|
122
|
+
* | `idType` | `OrderIdType` | ❌ | The type of order ID (e.g., `BUSINESS_ID`, `CART_ID`, `REFERENCE`). |
|
|
123
123
|
* | `nbPreviewLines` | `integer` | ❌ | The number of lines to display in the commercial order. |
|
|
124
124
|
*
|
|
125
125
|
* 📤 **Returns**:
|
|
@@ -186,7 +186,7 @@ async function createCommercialOrderV2({ customFieldIdType, customFields, }) {
|
|
|
186
186
|
* |-------------------|---------------------------------|------------|------------------------------------------|
|
|
187
187
|
* | `orderId` | `string` | ✅ | The ID of the commercial order you want to retrieve. |
|
|
188
188
|
* | `locale` | `string` | ✅ | The locale in which to return the commercial order. |
|
|
189
|
-
* | `idType` | `OrderIdType` | ❌ | The type of order ID (e.g., `BUSINESS_ID`, `CART_ID`). |
|
|
189
|
+
* | `idType` | `OrderIdType` | ❌ | The type of order ID (e.g., `BUSINESS_ID`, `CART_ID`, `REFERENCE`). |
|
|
190
190
|
* | `nbPreviewLines` | `integer` | ❌ | The number of lines to display in the commercial order. |
|
|
191
191
|
*
|
|
192
192
|
* 📤 **Returns**:
|