@whiplashmerch/whiplash-api-client 2.0.8 → 2.0.10
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/dist/client.esm.js
CHANGED
|
@@ -44098,11 +44098,12 @@ const putApiV21ShipnoticesIdBulkReceive = (client, { shipnoticeId, locationRole,
|
|
|
44098
44098
|
.catch(reject);
|
|
44099
44099
|
});
|
|
44100
44100
|
};
|
|
44101
|
-
const putApiV21ShipnoticesIdBulkReceiveAsync = (client, { shipnoticeId, locationRole, locationName, pusherInstance }) => {
|
|
44101
|
+
const putApiV21ShipnoticesIdBulkReceiveAsync = (client, { shipnoticeId, locationRole, locationName, pusherInstance, defectiveReasonCodeId }) => {
|
|
44102
44102
|
return new Promise((resolve, reject) => {
|
|
44103
44103
|
const actionArgsObj = { args: {
|
|
44104
44104
|
location_name: locationName,
|
|
44105
44105
|
location_role: locationRole,
|
|
44106
|
+
defective_reason_code_id: defectiveReasonCodeId,
|
|
44106
44107
|
} };
|
|
44107
44108
|
// v2.1 version of call async has a type issue where it says it returns void (wrong), which means we have to tsignore errors here. Bad news. TODO: Fix swagger and replace with v2.1
|
|
44108
44109
|
putApiV2ShipnoticesIdCallAsyncAction(client, 'bulk_receive', shipnoticeId, actionArgsObj)
|