@djust-b2b/djust-front-sdk 1.18.5 → 1.18.7
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.
|
@@ -261,12 +261,12 @@ async function getCustomerUserAddresses({ shipping, billing, account, organisati
|
|
|
261
261
|
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
262
262
|
method: "GET",
|
|
263
263
|
path: `/v1/shop/customer-users/addresses`,
|
|
264
|
-
|
|
264
|
+
params: {
|
|
265
265
|
shipping,
|
|
266
266
|
billing,
|
|
267
267
|
account,
|
|
268
268
|
organisationIds,
|
|
269
|
-
}
|
|
269
|
+
},
|
|
270
270
|
});
|
|
271
271
|
return data;
|
|
272
272
|
}
|
|
@@ -246,7 +246,7 @@ async function createOrderLogisticLineIncident({ logisticOrderId, idType, custom
|
|
|
246
246
|
* @returns {Promise<createOrderLogisticLineIncidentResponse>} A promise resolving to the response containing the created thread's details.
|
|
247
247
|
*/
|
|
248
248
|
async function createOrderLogisticIncidentThread({ logisticOrderId, incidentId, idType, customField, message, name, reasonCode, }) {
|
|
249
|
-
(0, parameters_validation_1.required)({ logisticOrderId, incidentId, reasonCode, message
|
|
249
|
+
(0, parameters_validation_1.required)({ logisticOrderId, incidentId, reasonCode, message });
|
|
250
250
|
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
251
251
|
method: "POST",
|
|
252
252
|
path: `/v2/shop/logistic-orders/${logisticOrderId}/incidents/${incidentId}/threads`,
|