@whiplashmerch/whiplash-api-client 3.2.25 → 3.2.27

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 { 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[]>;
@@ -3876,6 +3876,33 @@ export interface ApiV2EntitiesPallet {
3876
3876
  warehouse_id?: number | null;
3877
3877
  }
3878
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 */
3879
3906
  export interface ApiV2EntitiesPalletLocation {
3880
3907
  /** the pallet location active status */
3881
3908
  active?: boolean;
@@ -8997,6 +9024,33 @@ export interface ApiV21EntitiesPallet {
8997
9024
  warehouse_id?: number | null;
8998
9025
  }
8999
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 */
9000
9054
  export interface ApiV21EntitiesPalletLocation {
9001
9055
  /** the pallet location active status */
9002
9056
  active?: boolean;
@@ -12702,6 +12756,34 @@ export interface GetApiV21PalletLocationsCountParams {
12702
12756
  /** JSON search string like {"attribute_eq": "Term"} */
12703
12757
  search?: string;
12704
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
+ }
12705
12787
  export interface GetApiV21PalletLocationsIdPalletsParams {
12706
12788
  /** JSON search string like {"attribute_eq": "Term"} */
12707
12789
  search?: string;
@@ -15569,6 +15651,34 @@ export interface GetApiV2PalletLocationsCountParams {
15569
15651
  /** JSON search string like {"attribute_eq": "Term"} */
15570
15652
  search?: string;
15571
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
+ }
15572
15682
  export interface GetApiV2PalletLocationsIdPalletsParams {
15573
15683
  /** JSON search string like {"attribute_eq": "Term"} */
15574
15684
  search?: string;
@@ -17925,7 +18035,7 @@ export interface PostApiV21OrderBatchesIdIncidentsRequest {
17925
18035
  }
17926
18036
  export interface PostApiV21OrdersBulkRequest {
17927
18037
  /** An array of order objects to create in bulk */
17928
- resources?: {
18038
+ resources: {
17929
18039
  /**
17930
18040
  * the order shipping method id
17931
18041
  * @format int32
@@ -19506,7 +19616,7 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
19506
19616
  location_role?: string;
19507
19617
  lot_attributes?: {
19508
19618
  /** Lot number */
19509
- number?: string;
19619
+ number: string;
19510
19620
  /**
19511
19621
  * When merchandise in the lot expires
19512
19622
  * @format date
@@ -21422,7 +21532,7 @@ export interface PostApiV2OrderBatchesIdIncidentsRequest {
21422
21532
  }
21423
21533
  export interface PostApiV2OrdersBulkRequest {
21424
21534
  /** An array of order objects to create in bulk */
21425
- resources?: {
21535
+ resources: {
21426
21536
  /**
21427
21537
  * the order shipping method id
21428
21538
  * @format int32
@@ -23003,7 +23113,7 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
23003
23113
  location_role?: string;
23004
23114
  lot_attributes?: {
23005
23115
  /** Lot number */
23006
- number?: string;
23116
+ number: string;
23007
23117
  /**
23008
23118
  * When merchandise in the lot expires
23009
23119
  * @format date
@@ -32,6 +32,8 @@ export interface ApiV21OrderIdCommercialInvoiceResult {
32
32
  result: {
33
33
  print_commercial_invoice: boolean;
34
34
  url: string | null;
35
+ urls: string[];
36
+ printable_urls: string[];
35
37
  };
36
38
  }
37
39
  export interface ApiV21OrderIdPublicPackingslipResult {
@@ -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.25",
3
+ "version": "3.2.27",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {