@whiplashmerch/whiplash-api-client 3.2.28 → 3.2.29
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 +32 -1
- package/dist/client.esm.js.map +1 -1
- package/dist/utils/shipnotices.d.ts +19 -0
- package/package.json +1 -1
|
@@ -4,14 +4,33 @@ export interface ApiV21ShipnoticeIdCustomerReservedReceivingResult {
|
|
|
4
4
|
result: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const getApiV21ShipnoticesIdCustomerReservedReceiving: (client: HttpClient, shipnoticeId: number) => Promise<ApiV21ShipnoticeIdCustomerReservedReceivingResult>;
|
|
7
|
+
interface SbrScannedItem {
|
|
8
|
+
id: number;
|
|
9
|
+
scanned_qty: number;
|
|
10
|
+
}
|
|
7
11
|
export interface PutApiV21ShipnoticesIdBulkReceiveArgs {
|
|
8
12
|
shipnoticeId: number;
|
|
9
13
|
locationName: string;
|
|
10
14
|
locationRole: ApiV21EntitiesLocationRole;
|
|
11
15
|
}
|
|
16
|
+
export declare enum BulkReceiveAndAllocateFlows {
|
|
17
|
+
sbr = "Scan-Based Receiving - Modern",
|
|
18
|
+
binPutaway = "Bin Putaway"
|
|
19
|
+
}
|
|
20
|
+
export interface ApiV21ShipNoticesIdSbrBulkReceiveAndAllocateArgs {
|
|
21
|
+
shipNoticeId: number;
|
|
22
|
+
locationName: string;
|
|
23
|
+
locationRole: ApiV21EntitiesLocationRole;
|
|
24
|
+
reasonCodeId?: number;
|
|
25
|
+
flow: BulkReceiveAndAllocateFlows;
|
|
26
|
+
pusherInstance: Pusher;
|
|
27
|
+
shipNoticeItems: SbrScannedItem[];
|
|
28
|
+
}
|
|
12
29
|
export declare const putApiV21ShipnoticesIdBulkReceive: (client: HttpClient, { shipnoticeId, locationRole, locationName }: PutApiV21ShipnoticesIdBulkReceiveArgs) => Promise<ApiV21EntitiesShipnotice>;
|
|
13
30
|
export interface PutApiV21ShipnoticesIdBulkReceiveAsyncArgs extends PutApiV21ShipnoticesIdBulkReceiveArgs {
|
|
14
31
|
pusherInstance: Pusher;
|
|
15
32
|
defectiveReasonCodeId: string | null;
|
|
16
33
|
}
|
|
17
34
|
export declare const putApiV21ShipnoticesIdBulkReceiveAsync: (client: HttpClient, { shipnoticeId, locationRole, locationName, pusherInstance, defectiveReasonCodeId }: PutApiV21ShipnoticesIdBulkReceiveAsyncArgs) => Promise<void>;
|
|
35
|
+
export declare const ApiV21ShipNoticesIdSbrBulkReceiveAndAllocateAsync: (client: HttpClient, argsObj: ApiV21ShipNoticesIdSbrBulkReceiveAndAllocateArgs) => Promise<void>;
|
|
36
|
+
export {};
|