@djust-b2b/djust-front-sdk 1.12.0 → 1.14.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/lib/index.d.ts +13 -8
- package/lib/interfaces/models/customer-user.d.ts +6 -0
- package/lib/interfaces/models/offer.d.ts +1 -1
- package/lib/interfaces/models/order.d.ts +96 -0
- package/lib/interfaces/models/quote.d.ts +13 -1
- package/lib/services/auth/index.d.ts +124 -10
- package/lib/services/auth/index.js +124 -10
- package/lib/services/commercial-order/definitions.d.ts +20 -3
- package/lib/services/commercial-order/index.d.ts +361 -15
- package/lib/services/commercial-order/index.js +397 -33
- package/lib/services/customer-account/index.d.ts +1781 -23
- package/lib/services/customer-account/index.js +1780 -45
- package/lib/services/customer-user/definitions.d.ts +3 -4
- package/lib/services/customer-user/index.d.ts +263 -14
- package/lib/services/customer-user/index.js +264 -20
- package/lib/services/logistic-order/definitions.d.ts +16 -1
- package/lib/services/logistic-order/index.d.ts +799 -28
- package/lib/services/logistic-order/index.js +823 -28
- package/lib/services/navigation-category/index.d.ts +122 -3
- package/lib/services/navigation-category/index.js +122 -3
- package/lib/services/quote/definitions.d.ts +25 -1
- package/lib/services/quote/index.d.ts +349 -10
- package/lib/services/quote/index.js +382 -11
- package/lib/services/supplier/definitions.d.ts +3 -0
- package/lib/services/supplier/index.d.ts +92 -4
- package/lib/services/supplier/index.js +96 -5
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { WarningReportDto } from "../../interfaces/models/common";
|
|
1
2
|
import { CustomFieldValueRequest, PageCustomFieldSearch } from "../../interfaces/models/custom-field";
|
|
2
|
-
import { ApprovalDto, OrderDocumentDto, OrderIdType, OrderLogisticDto, OrderLogisticLineDto, OrderLogisticStatusType, OrderRatingResponse, PageOrderLogisticDto, PageOrderLogisticLineDto, ShippingTypeInformationDto, ThreadReasonDto, ThreadReasonType, ThreadReasonTypeDto } from "../../interfaces/models/order";
|
|
3
|
+
import { ApprovalDto, OrderDocumentDto, OrderIdType, OrderLogisticDto, OrderLogisticLineDto, OrderLogisticLineUpdate, OrderLogisticStatusType, OrderRatingResponse, PageOrderLogisticDto, PageOrderLogisticLineDto, ShippingTypeInformationDto, ThreadReasonDto, ThreadReasonType, ThreadReasonTypeDto } from "../../interfaces/models/order";
|
|
3
4
|
import { PaymentOption } from "../../interfaces/models/payment";
|
|
4
5
|
/**
|
|
5
6
|
* Request parameters type definitions
|
|
@@ -67,6 +68,9 @@ export interface ConfirmLogisticOrderReceptionParameters {
|
|
|
67
68
|
locale: string;
|
|
68
69
|
nbPreviewLines?: number;
|
|
69
70
|
}
|
|
71
|
+
export interface CreateLogisticOrderParameters {
|
|
72
|
+
orderId: string;
|
|
73
|
+
}
|
|
70
74
|
export interface DisapproveLogisticOrderParameters {
|
|
71
75
|
orderId: string;
|
|
72
76
|
locale: string;
|
|
@@ -87,12 +91,21 @@ export interface GetLogisticOrderLinesParameters {
|
|
|
87
91
|
sort?: string;
|
|
88
92
|
locale?: string;
|
|
89
93
|
}
|
|
94
|
+
export interface UpdateOnHoldLogisticOrderLinesParameters {
|
|
95
|
+
orderId: string;
|
|
96
|
+
lines: OrderLogisticLineUpdate[];
|
|
97
|
+
}
|
|
90
98
|
export interface UpdateLogisticOrderLineCustomFieldsParameters {
|
|
91
99
|
orderId: string;
|
|
92
100
|
lineId: string;
|
|
93
101
|
locale?: string;
|
|
94
102
|
customFields: CustomFieldValueRequest[];
|
|
95
103
|
}
|
|
104
|
+
export interface UpdateOnHoldLogisticOrderLineParameters {
|
|
105
|
+
orderId: string;
|
|
106
|
+
orderLineId: string;
|
|
107
|
+
quantity: number;
|
|
108
|
+
}
|
|
96
109
|
export interface UpdateLogisticOrderShippingAddressParameters {
|
|
97
110
|
orderId: string;
|
|
98
111
|
shippingAddressId: string;
|
|
@@ -155,6 +168,8 @@ export interface GetLogisticOrderDocumentsResponse extends Array<OrderDocumentDt
|
|
|
155
168
|
}
|
|
156
169
|
export interface GetLogisticOrderLinesResponse extends PageOrderLogisticLineDto {
|
|
157
170
|
}
|
|
171
|
+
export interface UpdateOnHoldLogisticOrderLinesResponse extends WarningReportDto {
|
|
172
|
+
}
|
|
158
173
|
export interface UpdateLogisticOrderLineCustomFieldsResponse extends OrderLogisticLineDto {
|
|
159
174
|
}
|
|
160
175
|
export interface GetLogisticOrderShippingAddressResponse extends Array<ShippingTypeInformationDto> {
|