@whiplashmerch/whiplash-api-client 3.2.24 → 3.2.26

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.
@@ -1,4 +1,4 @@
1
- import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesCount, ApiV21EntitiesCustomsInfo, ApiV21EntitiesIncident, ApiV21EntitiesListValue, ApiV21EntitiesMessage, ApiV21EntitiesOrder, ApiV21EntitiesOrderDocument, ApiV21EntitiesOrderEvent, ApiV21EntitiesOrderItem, ApiV21EntitiesOrderItemLotMap, ApiV21EntitiesOrderMetadata, ApiV21EntitiesOriginator, ApiV21EntitiesPackage, ApiV21EntitiesPackingRule, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV21EntitiesRuleDismissal, ApiV21EntitiesSerialNumber, ApiV21EntitiesShippingDocument, ApiV21EntitiesShippingRate, ApiV21EntitiesWholesale, ApiV2EntitiesCount, ApiV2EntitiesCustomsInfo, ApiV2EntitiesIncident, ApiV2EntitiesListValue, ApiV2EntitiesMessage, ApiV2EntitiesOrder, ApiV2EntitiesOrderDocument, ApiV2EntitiesOrderEvent, ApiV2EntitiesOrderItem, ApiV2EntitiesOrderItemLotMap, ApiV2EntitiesOrderMetadata, ApiV2EntitiesOriginator, ApiV2EntitiesPackage, ApiV2EntitiesPackingRule, ApiV2EntitiesResult, ApiV2EntitiesRuleDismissal, ApiV2EntitiesSerialNumber, ApiV2EntitiesShippingDocument, ApiV2EntitiesShippingRate, ApiV2EntitiesWholesale, GetApiV21OrdersAggregateParams, GetApiV21OrdersCountParams, GetApiV21OrdersIdCallTraitParams, GetApiV21OrdersIdEventsCountParams, GetApiV21OrdersIdEventsParams, GetApiV21OrdersIdIncidentsCountParams, GetApiV21OrdersIdIncidentsParams, GetApiV21OrdersIdMessagesCountParams, GetApiV21OrdersIdMessagesParams, GetApiV21OrdersIdMetaFieldsParams, GetApiV21OrdersIdOrderDocumentsCountParams, GetApiV21OrdersIdOrderDocumentsParams, GetApiV21OrdersIdOrderItemsCountParams, GetApiV21OrdersIdOrderItemsParams, GetApiV21OrdersIdPackagesCountParams, GetApiV21OrdersIdPackagesParams, GetApiV21OrdersIdShippingDocumentsParams, GetApiV21OrdersIdSuggestedItemsParams, GetApiV21OrdersIdTraitsParams, GetApiV21OrdersParams, GetApiV2OrdersAggregateParams, GetApiV2OrdersCountParams, GetApiV2OrdersIdCallTraitParams, GetApiV2OrdersIdEventsCountParams, GetApiV2OrdersIdEventsParams, GetApiV2OrdersIdIncidentsCountParams, GetApiV2OrdersIdIncidentsParams, GetApiV2OrdersIdMessagesCountParams, GetApiV2OrdersIdMessagesParams, GetApiV2OrdersIdMetaFieldsParams, GetApiV2OrdersIdOrderDocumentsCountParams, GetApiV2OrdersIdOrderDocumentsParams, GetApiV2OrdersIdOrderItemsCountParams, GetApiV2OrdersIdOrderItemsParams, GetApiV2OrdersIdPackagesCountParams, GetApiV2OrdersIdPackagesParams, GetApiV2OrdersIdShippingDocumentsParams, GetApiV2OrdersIdSuggestedItemsParams, GetApiV2OrdersIdTraitsParams, GetApiV2OrdersParams, PostApiV21OrdersBulkRequest, PostApiV21OrdersIdIncidentsRequest, PostApiV21OrdersIdMessagesRequest, PostApiV21OrdersIdOrderDocumentsRequest, PostApiV21OrdersIdOrderItemsRequest, PostApiV21OrdersIdPackagesRequest, PostApiV21OrdersIdRuleDismissalsRequest, PostApiV21OrdersRequest, PostApiV2OrdersBulkRequest, PostApiV2OrdersIdIncidentsRequest, PostApiV2OrdersIdMessagesRequest, PostApiV2OrdersIdOrderDocumentsRequest, PostApiV2OrdersIdOrderItemsRequest, PostApiV2OrdersIdPackagesRequest, PostApiV2OrdersIdRuleDismissalsRequest, PostApiV2OrdersRequest, PutApiV21OrdersIdCallActionRequest, PutApiV21OrdersIdCallAsyncActionRequest, PutApiV21OrdersIdCustomsInfoRequest, PutApiV21OrdersIdMetaFieldsRequest, PutApiV21OrdersIdRequest, PutApiV21OrdersIdWholesaleRequest, PutApiV2OrdersIdCallActionRequest, PutApiV2OrdersIdCallAsyncActionRequest, PutApiV2OrdersIdCustomsInfoRequest, PutApiV2OrdersIdMetaFieldsRequest, PutApiV2OrdersIdRequest, PutApiV2OrdersIdWholesaleRequest } from "./data-contracts";
1
+ import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesCount, ApiV21EntitiesCustomsInfo, ApiV21EntitiesIncident, ApiV21EntitiesListValue, ApiV21EntitiesMessage, ApiV21EntitiesOrder, ApiV21EntitiesOrderDocument, ApiV21EntitiesOrderEvent, ApiV21EntitiesOrderItem, ApiV21EntitiesOrderItemInventoryInfo, ApiV21EntitiesOrderItemLotMap, ApiV21EntitiesOrderMetadata, ApiV21EntitiesOriginator, ApiV21EntitiesPackage, ApiV21EntitiesPackingRule, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV21EntitiesRuleDismissal, ApiV21EntitiesSerialNumber, ApiV21EntitiesShippingDocument, ApiV21EntitiesShippingRate, ApiV21EntitiesWholesale, ApiV2EntitiesCount, ApiV2EntitiesCustomsInfo, ApiV2EntitiesIncident, ApiV2EntitiesListValue, ApiV2EntitiesMessage, ApiV2EntitiesOrder, ApiV2EntitiesOrderDocument, ApiV2EntitiesOrderEvent, ApiV2EntitiesOrderItem, ApiV2EntitiesOrderItemInventoryInfo, ApiV2EntitiesOrderItemLotMap, ApiV2EntitiesOrderMetadata, ApiV2EntitiesOriginator, ApiV2EntitiesPackage, ApiV2EntitiesPackingRule, ApiV2EntitiesResult, ApiV2EntitiesRuleDismissal, ApiV2EntitiesSerialNumber, ApiV2EntitiesShippingDocument, ApiV2EntitiesShippingRate, ApiV2EntitiesWholesale, GetApiV21OrdersAggregateParams, GetApiV21OrdersCountParams, GetApiV21OrdersIdCallTraitParams, GetApiV21OrdersIdEventsCountParams, GetApiV21OrdersIdEventsParams, GetApiV21OrdersIdIncidentsCountParams, GetApiV21OrdersIdIncidentsParams, GetApiV21OrdersIdMessagesCountParams, GetApiV21OrdersIdMessagesParams, GetApiV21OrdersIdMetaFieldsParams, GetApiV21OrdersIdOrderDocumentsCountParams, GetApiV21OrdersIdOrderDocumentsParams, GetApiV21OrdersIdOrderItemsCountParams, GetApiV21OrdersIdOrderItemsInventoryInfoParams, GetApiV21OrdersIdOrderItemsParams, GetApiV21OrdersIdPackagesCountParams, GetApiV21OrdersIdPackagesParams, GetApiV21OrdersIdShippingDocumentsParams, GetApiV21OrdersIdSuggestedItemsParams, GetApiV21OrdersIdTraitsParams, GetApiV21OrdersParams, GetApiV2OrdersAggregateParams, GetApiV2OrdersCountParams, GetApiV2OrdersIdCallTraitParams, GetApiV2OrdersIdEventsCountParams, GetApiV2OrdersIdEventsParams, GetApiV2OrdersIdIncidentsCountParams, GetApiV2OrdersIdIncidentsParams, GetApiV2OrdersIdMessagesCountParams, GetApiV2OrdersIdMessagesParams, GetApiV2OrdersIdMetaFieldsParams, GetApiV2OrdersIdOrderDocumentsCountParams, GetApiV2OrdersIdOrderDocumentsParams, GetApiV2OrdersIdOrderItemsCountParams, GetApiV2OrdersIdOrderItemsInventoryInfoParams, GetApiV2OrdersIdOrderItemsParams, GetApiV2OrdersIdPackagesCountParams, GetApiV2OrdersIdPackagesParams, GetApiV2OrdersIdShippingDocumentsParams, GetApiV2OrdersIdSuggestedItemsParams, GetApiV2OrdersIdTraitsParams, GetApiV2OrdersParams, PostApiV21OrdersBulkRequest, PostApiV21OrdersIdIncidentsRequest, PostApiV21OrdersIdMessagesRequest, PostApiV21OrdersIdOrderDocumentsRequest, PostApiV21OrdersIdOrderItemsRequest, PostApiV21OrdersIdPackagesRequest, PostApiV21OrdersIdRuleDismissalsRequest, PostApiV21OrdersRequest, PostApiV2OrdersBulkRequest, PostApiV2OrdersIdIncidentsRequest, PostApiV2OrdersIdMessagesRequest, PostApiV2OrdersIdOrderDocumentsRequest, PostApiV2OrdersIdOrderItemsRequest, PostApiV2OrdersIdPackagesRequest, PostApiV2OrdersIdRuleDismissalsRequest, PostApiV2OrdersRequest, PutApiV21OrdersIdCallActionRequest, PutApiV21OrdersIdCallAsyncActionRequest, PutApiV21OrdersIdCustomsInfoRequest, PutApiV21OrdersIdMetaFieldsRequest, PutApiV21OrdersIdRequest, PutApiV21OrdersIdWholesaleRequest, PutApiV2OrdersIdCallActionRequest, PutApiV2OrdersIdCallAsyncActionRequest, PutApiV2OrdersIdCustomsInfoRequest, PutApiV2OrdersIdMetaFieldsRequest, PutApiV2OrdersIdRequest, PutApiV2OrdersIdWholesaleRequest } from "./data-contracts";
2
2
  import { HttpClient, RequestParams } from "./http-client";
3
3
  /**
4
4
  * @description Retrieves a list of orders
@@ -315,6 +315,15 @@ export declare const postApiV2OrdersIdOrderItems: (client: HttpClient, id: numbe
315
315
  * @request GET:/api/v2/orders/{id}/order_items/count
316
316
  */
317
317
  export declare const getApiV2OrdersIdOrderItemsCount: (client: HttpClient, { id, ...query }: GetApiV2OrdersIdOrderItemsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
318
+ /**
319
+ * @description Get inventory info for a list of order items
320
+ *
321
+ * @tags orders
322
+ * @name GetApiV2OrdersIdOrderItemsInventoryInfo
323
+ * @summary List inventory info for order items
324
+ * @request GET:/api/v2/orders/{id}/order_items_inventory_info
325
+ */
326
+ export declare const getApiV2OrdersIdOrderItemsInventoryInfo: (client: HttpClient, { id, ...query }: GetApiV2OrdersIdOrderItemsInventoryInfoParams, params?: RequestParams) => Promise<ApiV2EntitiesOrderItemInventoryInfo[]>;
318
327
  /**
319
328
  * @description Get the originator for a(n) Item
320
329
  *
@@ -774,6 +783,15 @@ export declare const postApiV21OrdersIdOrderItems: (client: HttpClient, id: numb
774
783
  * @request GET:/api/v2.1/orders/{id}/order_items/count
775
784
  */
776
785
  export declare const getApiV21OrdersIdOrderItemsCount: (client: HttpClient, { id, ...query }: GetApiV21OrdersIdOrderItemsCountParams, params?: RequestParams) => Promise<ApiV21EntitiesCount>;
786
+ /**
787
+ * @description Get inventory info for a list of order items
788
+ *
789
+ * @tags orders
790
+ * @name GetApiV21OrdersIdOrderItemsInventoryInfo
791
+ * @summary List inventory info for order items
792
+ * @request GET:/api/v2.1/orders/{id}/order_items_inventory_info
793
+ */
794
+ export declare const getApiV21OrdersIdOrderItemsInventoryInfo: (client: HttpClient, { id, ...query }: GetApiV21OrdersIdOrderItemsInventoryInfoParams, params?: RequestParams) => Promise<ApiV21EntitiesOrderItemInventoryInfo[]>;
777
795
  /**
778
796
  * @description Get the originator for a(n) Item
779
797
  *
@@ -1,4 +1,4 @@
1
- import { ApiV21EntitiesCount, ApiV21EntitiesPallet, ApiV21EntitiesPalletLocation, ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesPallet, ApiV2EntitiesPalletLocation, GetApiV21PalletLocationsCountParams, GetApiV21PalletLocationsIdPalletsParams, GetApiV21PalletLocationsParams, GetApiV2PalletLocationsCountParams, GetApiV2PalletLocationsIdPalletsParams, GetApiV2PalletLocationsParams, PostApiV21PalletLocationsRequest, PostApiV2PalletLocationsRequest, PutApiV21PalletLocationsIdRequest, PutApiV2PalletLocationsIdRequest } from "./data-contracts";
1
+ import { ApiV21EntitiesCount, ApiV21EntitiesPallet, ApiV21EntitiesPalletInfo, ApiV21EntitiesPalletLocation, ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesPallet, ApiV2EntitiesPalletInfo, ApiV2EntitiesPalletLocation, GetApiV21PalletLocationsCountParams, GetApiV21PalletLocationsIdPalletsCountParams, GetApiV21PalletLocationsIdPalletsInfoParams, GetApiV21PalletLocationsIdPalletsParams, GetApiV21PalletLocationsParams, GetApiV2PalletLocationsCountParams, GetApiV2PalletLocationsIdPalletsCountParams, GetApiV2PalletLocationsIdPalletsInfoParams, GetApiV2PalletLocationsIdPalletsParams, GetApiV2PalletLocationsParams, PostApiV21PalletLocationsRequest, PostApiV2PalletLocationsRequest, PutApiV21PalletLocationsIdRequest, PutApiV2PalletLocationsIdRequest } from "./data-contracts";
2
2
  import { HttpClient, RequestParams } from "./http-client";
3
3
  /**
4
4
  * @description Get all pallet locations
@@ -63,6 +63,24 @@ export declare const deleteApiV2PalletLocationsId: (client: HttpClient, id: numb
63
63
  * @request GET:/api/v2/pallet_locations/{id}/pallets
64
64
  */
65
65
  export declare const getApiV2PalletLocationsIdPallets: (client: HttpClient, { id, ...query }: GetApiV2PalletLocationsIdPalletsParams, params?: RequestParams) => Promise<ApiV2EntitiesPallet[]>;
66
+ /**
67
+ * @description Returns count of pallets for a Pallet location
68
+ *
69
+ * @tags pallet_locations
70
+ * @name GetApiV2PalletLocationsIdPalletsCount
71
+ * @summary Count pallets for a pallet location
72
+ * @request GET:/api/v2/pallet_locations/{id}/pallets/count
73
+ */
74
+ export declare const getApiV2PalletLocationsIdPalletsCount: (client: HttpClient, { id, ...query }: GetApiV2PalletLocationsIdPalletsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
75
+ /**
76
+ * @description Get all pallets info for a Pallet location
77
+ *
78
+ * @tags pallet_locations
79
+ * @name GetApiV2PalletLocationsIdPalletsInfo
80
+ * @summary List all pallets info for a pallet location
81
+ * @request GET:/api/v2/pallet_locations/{id}/pallets_info
82
+ */
83
+ export declare const getApiV2PalletLocationsIdPalletsInfo: (client: HttpClient, { id, ...query }: GetApiV2PalletLocationsIdPalletsInfoParams, params?: RequestParams) => Promise<ApiV2EntitiesPalletInfo[]>;
66
84
  /**
67
85
  * @description Get all pallet locations
68
86
  *
@@ -126,3 +144,21 @@ export declare const deleteApiV21PalletLocationsId: (client: HttpClient, id: num
126
144
  * @request GET:/api/v2.1/pallet_locations/{id}/pallets
127
145
  */
128
146
  export declare const getApiV21PalletLocationsIdPallets: (client: HttpClient, { id, ...query }: GetApiV21PalletLocationsIdPalletsParams, params?: RequestParams) => Promise<ApiV21EntitiesPallet[]>;
147
+ /**
148
+ * @description Returns count of pallets for a Pallet location
149
+ *
150
+ * @tags pallet_locations
151
+ * @name GetApiV21PalletLocationsIdPalletsCount
152
+ * @summary Count pallets for a pallet location
153
+ * @request GET:/api/v2.1/pallet_locations/{id}/pallets/count
154
+ */
155
+ export declare const getApiV21PalletLocationsIdPalletsCount: (client: HttpClient, { id, ...query }: GetApiV21PalletLocationsIdPalletsCountParams, params?: RequestParams) => Promise<ApiV21EntitiesCount>;
156
+ /**
157
+ * @description Get all pallets info for a Pallet location
158
+ *
159
+ * @tags pallet_locations
160
+ * @name GetApiV21PalletLocationsIdPalletsInfo
161
+ * @summary List all pallets info for a pallet location
162
+ * @request GET:/api/v2.1/pallet_locations/{id}/pallets_info
163
+ */
164
+ export declare const getApiV21PalletLocationsIdPalletsInfo: (client: HttpClient, { id, ...query }: GetApiV21PalletLocationsIdPalletsInfoParams, params?: RequestParams) => Promise<ApiV21EntitiesPalletInfo[]>;
@@ -3439,6 +3439,27 @@ export interface ApiV2EntitiesOrderItem {
3439
3439
  wholesale_item?: ApiV2EntitiesWholesaleItem;
3440
3440
  }
3441
3441
  /** V2 */
3442
+ export interface ApiV2EntitiesOrderItemInventoryInfo {
3443
+ /** does backstock quantity exceeds the order item quantity */
3444
+ backstock_available?: boolean;
3445
+ /** does the order_item belong to a multi-warehouse customer and have inventory in another warehouse */
3446
+ has_inventory_in_other_warehouses?: boolean;
3447
+ /**
3448
+ * The order item ID
3449
+ * @format int32
3450
+ */
3451
+ id?: number;
3452
+ /** is pickable quantity less than the order item quantity */
3453
+ insufficient_inventory?: boolean;
3454
+ /**
3455
+ * The item ID
3456
+ * @format int32
3457
+ */
3458
+ item_id?: number;
3459
+ /** does the item have negative total inventory */
3460
+ negative_inventory?: boolean;
3461
+ }
3462
+ /** V2 */
3442
3463
  export interface ApiV2EntitiesOrderItemLotMap {
3443
3464
  /** is this item available? */
3444
3465
  available?: boolean;
@@ -3855,6 +3876,33 @@ export interface ApiV2EntitiesPallet {
3855
3876
  warehouse_id?: number | null;
3856
3877
  }
3857
3878
  /** V2 */
3879
+ export interface ApiV2EntitiesPalletInfo {
3880
+ /**
3881
+ * the customer id associated with the pallet
3882
+ * @format int32
3883
+ */
3884
+ customer_id?: number;
3885
+ /** the customer name associated with the pallet */
3886
+ customer_name?: string;
3887
+ /**
3888
+ * the load id associated with the pallet
3889
+ * @format int32
3890
+ */
3891
+ load_id?: number;
3892
+ /**
3893
+ * the pallet id
3894
+ * @format int32
3895
+ */
3896
+ pallet_id?: number;
3897
+ /**
3898
+ * the pallet number (LPN)
3899
+ * @format int32
3900
+ */
3901
+ pallet_number?: number;
3902
+ /** the PO number associated with the pallet */
3903
+ po_number?: string;
3904
+ }
3905
+ /** V2 */
3858
3906
  export interface ApiV2EntitiesPalletLocation {
3859
3907
  /** the pallet location active status */
3860
3908
  active?: boolean;
@@ -8559,6 +8607,27 @@ export interface ApiV21EntitiesOrderItem {
8559
8607
  wholesale_item?: ApiV21EntitiesWholesaleItem;
8560
8608
  }
8561
8609
  /** V3 */
8610
+ export interface ApiV21EntitiesOrderItemInventoryInfo {
8611
+ /** does backstock quantity exceeds the order item quantity */
8612
+ backstock_available?: boolean;
8613
+ /** does the order_item belong to a multi-warehouse customer and have inventory in another warehouse */
8614
+ has_inventory_in_other_warehouses?: boolean;
8615
+ /**
8616
+ * The order item ID
8617
+ * @format int32
8618
+ */
8619
+ id?: number;
8620
+ /** is pickable quantity less than the order item quantity */
8621
+ insufficient_inventory?: boolean;
8622
+ /**
8623
+ * The item ID
8624
+ * @format int32
8625
+ */
8626
+ item_id?: number;
8627
+ /** does the item have negative total inventory */
8628
+ negative_inventory?: boolean;
8629
+ }
8630
+ /** V3 */
8562
8631
  export interface ApiV21EntitiesOrderItemLotMap {
8563
8632
  /** is this item available? */
8564
8633
  available?: boolean;
@@ -8955,6 +9024,33 @@ export interface ApiV21EntitiesPallet {
8955
9024
  warehouse_id?: number | null;
8956
9025
  }
8957
9026
  /** V3 */
9027
+ export interface ApiV21EntitiesPalletInfo {
9028
+ /**
9029
+ * the customer id associated with the pallet
9030
+ * @format int32
9031
+ */
9032
+ customer_id?: number;
9033
+ /** the customer name associated with the pallet */
9034
+ customer_name?: string;
9035
+ /**
9036
+ * the load id associated with the pallet
9037
+ * @format int32
9038
+ */
9039
+ load_id?: number;
9040
+ /**
9041
+ * the pallet id
9042
+ * @format int32
9043
+ */
9044
+ pallet_id?: number;
9045
+ /**
9046
+ * the pallet number (LPN)
9047
+ * @format int32
9048
+ */
9049
+ pallet_number?: number;
9050
+ /** the PO number associated with the pallet */
9051
+ po_number?: string;
9052
+ }
9053
+ /** V3 */
8958
9054
  export interface ApiV21EntitiesPalletLocation {
8959
9055
  /** the pallet location active status */
8960
9056
  active?: boolean;
@@ -12425,6 +12521,25 @@ export interface GetApiV21OrdersIdOrderItemsCountParams {
12425
12521
  search?: string;
12426
12522
  id: number;
12427
12523
  }
12524
+ export interface GetApiV21OrdersIdOrderItemsInventoryInfoParams {
12525
+ /** List of order item IDs */
12526
+ order_item_ids?: number[];
12527
+ /**
12528
+ * Page of results to fetch
12529
+ * @format int32
12530
+ */
12531
+ page?: number;
12532
+ /**
12533
+ * Number of results to return per page
12534
+ * @format int32
12535
+ */
12536
+ per_page?: number;
12537
+ /** Include total count of results */
12538
+ page_total?: boolean;
12539
+ /** Include prev/next links in response headers */
12540
+ page_links?: boolean;
12541
+ id: number;
12542
+ }
12428
12543
  export interface GetApiV21OrdersIdOrderItemsParams {
12429
12544
  /** JSON search string like {"attribute_eq": "Term"} */
12430
12545
  search?: string;
@@ -12641,6 +12756,34 @@ export interface GetApiV21PalletLocationsCountParams {
12641
12756
  /** JSON search string like {"attribute_eq": "Term"} */
12642
12757
  search?: string;
12643
12758
  }
12759
+ export interface GetApiV21PalletLocationsIdPalletsCountParams {
12760
+ /** JSON search string like {"attribute_eq": "Term"} */
12761
+ search?: string;
12762
+ id: number;
12763
+ }
12764
+ export interface GetApiV21PalletLocationsIdPalletsInfoParams {
12765
+ /** JSON search string like {"attribute_eq": "Term"} */
12766
+ search?: string;
12767
+ /** Comma-separated list of fields to include in the response */
12768
+ fields?: string;
12769
+ /** A list of sort options (ex: name asc,created_at desc) */
12770
+ sort?: string;
12771
+ /**
12772
+ * Page of results to fetch
12773
+ * @format int32
12774
+ */
12775
+ page?: number;
12776
+ /**
12777
+ * Number of results to return per page
12778
+ * @format int32
12779
+ */
12780
+ per_page?: number;
12781
+ /** Include total count of results */
12782
+ page_total?: boolean;
12783
+ /** Include prev/next links in response headers */
12784
+ page_links?: boolean;
12785
+ id: number;
12786
+ }
12644
12787
  export interface GetApiV21PalletLocationsIdPalletsParams {
12645
12788
  /** JSON search string like {"attribute_eq": "Term"} */
12646
12789
  search?: string;
@@ -15273,6 +15416,25 @@ export interface GetApiV2OrdersIdOrderItemsCountParams {
15273
15416
  search?: string;
15274
15417
  id: number;
15275
15418
  }
15419
+ export interface GetApiV2OrdersIdOrderItemsInventoryInfoParams {
15420
+ /** List of order item IDs */
15421
+ order_item_ids?: number[];
15422
+ /**
15423
+ * Page of results to fetch
15424
+ * @format int32
15425
+ */
15426
+ page?: number;
15427
+ /**
15428
+ * Number of results to return per page
15429
+ * @format int32
15430
+ */
15431
+ per_page?: number;
15432
+ /** Include total count of results */
15433
+ page_total?: boolean;
15434
+ /** Include prev/next links in response headers */
15435
+ page_links?: boolean;
15436
+ id: number;
15437
+ }
15276
15438
  export interface GetApiV2OrdersIdOrderItemsParams {
15277
15439
  /** JSON search string like {"attribute_eq": "Term"} */
15278
15440
  search?: string;
@@ -15489,6 +15651,34 @@ export interface GetApiV2PalletLocationsCountParams {
15489
15651
  /** JSON search string like {"attribute_eq": "Term"} */
15490
15652
  search?: string;
15491
15653
  }
15654
+ export interface GetApiV2PalletLocationsIdPalletsCountParams {
15655
+ /** JSON search string like {"attribute_eq": "Term"} */
15656
+ search?: string;
15657
+ id: number;
15658
+ }
15659
+ export interface GetApiV2PalletLocationsIdPalletsInfoParams {
15660
+ /** JSON search string like {"attribute_eq": "Term"} */
15661
+ search?: string;
15662
+ /** Comma-separated list of fields to include in the response */
15663
+ fields?: string;
15664
+ /** A list of sort options (ex: name asc,created_at desc) */
15665
+ sort?: string;
15666
+ /**
15667
+ * Page of results to fetch
15668
+ * @format int32
15669
+ */
15670
+ page?: number;
15671
+ /**
15672
+ * Number of results to return per page
15673
+ * @format int32
15674
+ */
15675
+ per_page?: number;
15676
+ /** Include total count of results */
15677
+ page_total?: boolean;
15678
+ /** Include prev/next links in response headers */
15679
+ page_links?: boolean;
15680
+ id: number;
15681
+ }
15492
15682
  export interface GetApiV2PalletLocationsIdPalletsParams {
15493
15683
  /** JSON search string like {"attribute_eq": "Term"} */
15494
15684
  search?: string;
@@ -17845,7 +18035,7 @@ export interface PostApiV21OrderBatchesIdIncidentsRequest {
17845
18035
  }
17846
18036
  export interface PostApiV21OrdersBulkRequest {
17847
18037
  /** An array of order objects to create in bulk */
17848
- resources?: {
18038
+ resources: {
17849
18039
  /**
17850
18040
  * the order shipping method id
17851
18041
  * @format int32
@@ -19426,7 +19616,7 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
19426
19616
  location_role?: string;
19427
19617
  lot_attributes?: {
19428
19618
  /** Lot number */
19429
- number?: string;
19619
+ number: string;
19430
19620
  /**
19431
19621
  * When merchandise in the lot expires
19432
19622
  * @format date
@@ -21342,7 +21532,7 @@ export interface PostApiV2OrderBatchesIdIncidentsRequest {
21342
21532
  }
21343
21533
  export interface PostApiV2OrdersBulkRequest {
21344
21534
  /** An array of order objects to create in bulk */
21345
- resources?: {
21535
+ resources: {
21346
21536
  /**
21347
21537
  * the order shipping method id
21348
21538
  * @format int32
@@ -22923,7 +23113,7 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
22923
23113
  location_role?: string;
22924
23114
  lot_attributes?: {
22925
23115
  /** Lot number */
22926
- number?: string;
23116
+ number: string;
22927
23117
  /**
22928
23118
  * When merchandise in the lot expires
22929
23119
  * @format date
@@ -7128,7 +7128,7 @@ export interface PostApiV21NotificationSubscriptionsRequest {
7128
7128
 
7129
7129
  export interface PostApiV21OrdersBulkRequest {
7130
7130
  /** An array of order objects to create in bulk */
7131
- resources?: {
7131
+ resources: {
7132
7132
  /**
7133
7133
  * the order shipping method id
7134
7134
  * @format int32
@@ -8291,7 +8291,7 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
8291
8291
  location_role?: string;
8292
8292
  lot_attributes?: {
8293
8293
  /** Lot number */
8294
- number?: string;
8294
+ number: string;
8295
8295
  /**
8296
8296
  * When merchandise in the lot expires
8297
8297
  * @format date
@@ -9041,7 +9041,7 @@ export interface PostApiV2NotificationSubscriptionsRequest {
9041
9041
 
9042
9042
  export interface PostApiV2OrdersBulkRequest {
9043
9043
  /** An array of order objects to create in bulk */
9044
- resources?: {
9044
+ resources: {
9045
9045
  /**
9046
9046
  * the order shipping method id
9047
9047
  * @format int32
@@ -10204,7 +10204,7 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
10204
10204
  location_role?: string;
10205
10205
  lot_attributes?: {
10206
10206
  /** Lot number */
10207
- number?: string;
10207
+ number: string;
10208
10208
  /**
10209
10209
  * When merchandise in the lot expires
10210
10210
  * @format date
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.24",
3
+ "version": "3.2.26",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {