@whiplashmerch/whiplash-api-client 3.1.2 → 3.1.3

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.
Files changed (26) hide show
  1. package/dist/client.esm.js +1231 -11
  2. package/dist/client.esm.js.map +1 -1
  3. package/dist/mock-data/index.d.ts +22 -0
  4. package/dist/mock-data/v2/bill-of-lading/child-bols.d.ts +34 -0
  5. package/dist/mock-data/v2/bill-of-lading/master-bol.d.ts +34 -0
  6. package/dist/mock-data/v2/load/closed-listing.d.ts +22 -0
  7. package/dist/mock-data/v2/load/closed.d.ts +22 -0
  8. package/dist/mock-data/v2/load/open-with-batches.d.ts +22 -0
  9. package/dist/mock-data/v2/load/open-with-bol.d.ts +22 -0
  10. package/dist/mock-data/v2/load/open-with-notes.d.ts +22 -0
  11. package/dist/mock-data/v2/load/trait-closeable-all-met.d.ts +8 -0
  12. package/dist/mock-data/v2/load/trait-closeable-partial.d.ts +8 -0
  13. package/dist/mock-data/v2/order-batch/in-load-with-bol.d.ts +203 -0
  14. package/dist/mock-data/v2/order-batch/in-load-with-grouping.d.ts +99 -0
  15. package/dist/mock-data/v2_1/bill-of-lading/child-bols.d.ts +32 -0
  16. package/dist/mock-data/v2_1/bill-of-lading/master-bol.d.ts +32 -0
  17. package/dist/mock-data/v2_1/load/closed-listing.d.ts +22 -0
  18. package/dist/mock-data/v2_1/load/closed.d.ts +22 -0
  19. package/dist/mock-data/v2_1/load/open-with-batches.d.ts +22 -0
  20. package/dist/mock-data/v2_1/load/open-with-bol.d.ts +22 -0
  21. package/dist/mock-data/v2_1/load/open-with-notes.d.ts +22 -0
  22. package/dist/mock-data/v2_1/load/trait-closeable-all-met.d.ts +8 -0
  23. package/dist/mock-data/v2_1/load/trait-closeable-partial.d.ts +8 -0
  24. package/dist/mock-data/v2_1/order-batch/in-load-with-bol.d.ts +43 -0
  25. package/dist/mock-data/v2_1/order-batch/in-load-with-grouping.d.ts +43 -0
  26. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ export declare const ApiV21LoadOpenWithBolExample: {
2
+ id: number;
3
+ status: string;
4
+ closed_at_datetime: null;
5
+ wholesale_purchase_order_number: string;
6
+ wholesale_distribution_center: string;
7
+ wholesale_vendor: string;
8
+ wholesale_start_date: string;
9
+ packages_count: number;
10
+ packages_total_weight: string;
11
+ packages_total_dimensional_weight: string;
12
+ order_batches_count: number;
13
+ warehouse_id: number;
14
+ created_at: string;
15
+ updated_at: string;
16
+ cascade_routing: boolean;
17
+ appointment_datetime: string;
18
+ bill_of_lading_id: number;
19
+ customer_id: number;
20
+ notes: null;
21
+ reference: null;
22
+ }[];
@@ -0,0 +1,22 @@
1
+ export declare const ApiV21LoadOpenWithNotesExample: {
2
+ id: number;
3
+ status: string;
4
+ closed_at_datetime: null;
5
+ wholesale_purchase_order_number: string;
6
+ wholesale_distribution_center: string;
7
+ wholesale_vendor: string;
8
+ wholesale_start_date: string;
9
+ packages_count: null;
10
+ packages_total_weight: null;
11
+ packages_total_dimensional_weight: null;
12
+ order_batches_count: number;
13
+ warehouse_id: number;
14
+ created_at: string;
15
+ updated_at: string;
16
+ cascade_routing: boolean;
17
+ appointment_datetime: string;
18
+ bill_of_lading_id: null;
19
+ customer_id: number;
20
+ notes: string;
21
+ reference: null;
22
+ }[];
@@ -0,0 +1,8 @@
1
+ export declare const ApiV21LoadTraitCloseableAllMetExample: {
2
+ result: {
3
+ all_batches_have_bol: boolean;
4
+ all_orders_packed: boolean;
5
+ all_orders_needs_routing: boolean;
6
+ routing_satisfied: boolean;
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ export declare const ApiV21LoadTraitCloseablePartialExample: {
2
+ result: {
3
+ all_batches_have_bol: boolean;
4
+ all_orders_packed: boolean;
5
+ all_orders_needs_routing: boolean;
6
+ routing_satisfied: boolean;
7
+ };
8
+ };
@@ -0,0 +1,43 @@
1
+ export declare const ApiV21OrderBatchInLoadWithBolExample: {
2
+ id: number;
3
+ created_at: string;
4
+ updated_at: string;
5
+ status: number;
6
+ status_name: string;
7
+ warehouse_id: number;
8
+ assigned_to: null;
9
+ packingslips_pdf_url: string;
10
+ cf_packingslips_pdf_url: string;
11
+ packingslips_printed_at: null;
12
+ picklist_pdf_url: null;
13
+ started_at: null;
14
+ stopped_at: null;
15
+ expedited_shipping: null;
16
+ identical_orders: null;
17
+ pick_strategy: string;
18
+ single_item: null;
19
+ order_batch_item_count: number;
20
+ order_batch_item_quantity: number;
21
+ location_roles: string[];
22
+ short_form: null;
23
+ grouping_fields: {
24
+ wholesale_po_number: string;
25
+ wholesale_start_date: string;
26
+ wholesale_distribution_center: string;
27
+ };
28
+ bol_id: number;
29
+ call_in_date: null;
30
+ requested_ship_date: null;
31
+ bill_of_lading_id: number;
32
+ load_id: number;
33
+ customer_id: number;
34
+ packages_count: number;
35
+ packages_total_weight: null;
36
+ packages_total_dimensional_weight: null;
37
+ items_count: number;
38
+ items_total_quantity: number;
39
+ order_batch_request_id: null;
40
+ international: null;
41
+ expedited_orders: null;
42
+ prepack: null;
43
+ }[];
@@ -0,0 +1,43 @@
1
+ export declare const ApiV21OrderBatchInLoadWithGroupingExample: {
2
+ id: number;
3
+ created_at: string;
4
+ updated_at: string;
5
+ status: number;
6
+ status_name: string;
7
+ warehouse_id: number;
8
+ assigned_to: null;
9
+ packingslips_pdf_url: string;
10
+ cf_packingslips_pdf_url: string;
11
+ packingslips_printed_at: null;
12
+ picklist_pdf_url: null;
13
+ started_at: null;
14
+ stopped_at: null;
15
+ expedited_shipping: null;
16
+ identical_orders: null;
17
+ pick_strategy: string;
18
+ single_item: null;
19
+ order_batch_item_count: number;
20
+ order_batch_item_quantity: number;
21
+ location_roles: string[];
22
+ short_form: null;
23
+ grouping_fields: {
24
+ wholesale_po_number: string;
25
+ wholesale_distribution_center: string;
26
+ wholesale_start_date: string;
27
+ };
28
+ bol_id: null;
29
+ call_in_date: null;
30
+ requested_ship_date: null;
31
+ bill_of_lading_id: null;
32
+ load_id: number;
33
+ customer_id: number;
34
+ packages_count: number;
35
+ packages_total_weight: null;
36
+ packages_total_dimensional_weight: null;
37
+ items_count: number;
38
+ items_total_quantity: number;
39
+ order_batch_request_id: null;
40
+ international: null;
41
+ expedited_orders: null;
42
+ prepack: null;
43
+ }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {