@djust-b2b/djust-front-sdk 1.27.1 → 1.28.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
CHANGED
|
@@ -24,7 +24,7 @@ export declare const DjustSDK: {
|
|
|
24
24
|
updateCommercialOrderLines({ commercialOrderId, customFieldIdType, lineIdType, lineType, updateOrderCommercialLines, updateOrderLineIdType, updateOrderLineType, }: import("./interfaces").UpdateCommercialOrderLinesParameters): Promise<import("./interfaces").UpdateCommercialOrderLinesResponse>;
|
|
25
25
|
deleteCommercialOrderLines({ commercialOrderId, body, }: import("./interfaces").DeleteCommercialOrderLinesParameters): Promise<import("./interfaces").DeleteCommercialOrderLinesResponse>;
|
|
26
26
|
punchoutOciCommercialOrder({ tenantConfigurationKey, commercialOrderId, locale, }: import("./interfaces").PunchoutOciCommercialOrderParameters): Promise<any>;
|
|
27
|
-
getLogisticOrders({ approvalIds, locale, logisticStatus, incident, paymentOptions, nbPreviewLines, page, size, sort, }: import("./interfaces").GetLogisticOrdersParameters): Promise<import("./interfaces").GetLogisticOrdersResponse>;
|
|
27
|
+
getLogisticOrders({ approvalIds, locale, logisticStatus, incident, paymentOptions, connectedUserOnly, nbPreviewLines, page, size, sort, }: import("./interfaces").GetLogisticOrdersParameters): Promise<import("./interfaces").GetLogisticOrdersResponse>;
|
|
28
28
|
logisticOrdersPaginatedList({ page, size, sort, nbPreviewLines, accountCustomFieldValueCriteria, approvalIds, connectedUserOnly, creationDateFrom, creationDateTo, customerAccountIds, incident, locale, logisticStatus, offerCustomFieldValueCriteria, orderLogisticCustomFieldValueCriteria, paymentOptions, supplierIds, updateDateFrom, updateDateTo, }: import("./interfaces").GetPaginatedLogisticOrdersParameters): Promise<import("./interfaces").GetPaginatedLogisticOrdersResponse>;
|
|
29
29
|
getLogisticOrderCustomFields({ customFieldIds, page, size, sort, }: import("./interfaces").GetLogisticOrderCustomFieldsParameters): Promise<import("./interfaces").GetLogisticOrderCustomFieldsResponse>;
|
|
30
30
|
getLogisticOrderLineCustomFields({ customFieldIds, page, size, sort, }: import("./interfaces").GetLogisticOrderLineCustomFieldsParameters): Promise<import("./interfaces").GetLogisticOrderLineCustomFieldsResponse>;
|
|
@@ -33,7 +33,7 @@ import { AddLogisticOrderReviewParameters, AddLogisticOrderReviewResponse, Appro
|
|
|
33
33
|
* @throws {Error} If `locale` is missing.
|
|
34
34
|
* @returns {Promise<GetLogisticOrdersResponse>} A promise resolving to the response containing page object.
|
|
35
35
|
*/
|
|
36
|
-
export declare function getLogisticOrders({ approvalIds, locale, logisticStatus, incident, paymentOptions, nbPreviewLines, page, size, sort, }: GetLogisticOrdersParameters): Promise<GetLogisticOrdersResponse>;
|
|
36
|
+
export declare function getLogisticOrders({ approvalIds, locale, logisticStatus, incident, paymentOptions, connectedUserOnly, nbPreviewLines, page, size, sort, }: GetLogisticOrdersParameters): Promise<GetLogisticOrdersResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* 🚚 Get paginated and filtered Order logistics.
|
|
39
39
|
*
|
|
@@ -75,7 +75,7 @@ const fetch_instance_1 = require("../../settings/fetch-instance");
|
|
|
75
75
|
* @throws {Error} If `locale` is missing.
|
|
76
76
|
* @returns {Promise<GetLogisticOrdersResponse>} A promise resolving to the response containing page object.
|
|
77
77
|
*/
|
|
78
|
-
async function getLogisticOrders({ approvalIds, locale, logisticStatus, incident, paymentOptions, nbPreviewLines, page, size, sort, }) {
|
|
78
|
+
async function getLogisticOrders({ approvalIds, locale, logisticStatus, incident, paymentOptions, connectedUserOnly, nbPreviewLines, page, size, sort, }) {
|
|
79
79
|
(0, parameters_validation_1.required)({ locale });
|
|
80
80
|
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
81
81
|
method: "GET",
|
|
@@ -87,6 +87,7 @@ async function getLogisticOrders({ approvalIds, locale, logisticStatus, incident
|
|
|
87
87
|
incident,
|
|
88
88
|
paymentOptions,
|
|
89
89
|
nbPreviewLines,
|
|
90
|
+
connectedUserOnly,
|
|
90
91
|
page,
|
|
91
92
|
size,
|
|
92
93
|
sort,
|