@whiplashmerch/whiplash-api-client 1.0.11 → 1.0.13

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.
@@ -2351,6 +2351,43 @@ export interface ApiV2EntitiesItem {
2351
2351
  width?: number;
2352
2352
  }
2353
2353
 
2354
+ /** Api_V2_Entities_ItemLocation model */
2355
+ export interface ApiV2EntitiesItemLocation {
2356
+ /** Human readable version of the location name */
2357
+ humanize_shelf_name?: string;
2358
+ /**
2359
+ * the location id
2360
+ * @format int32
2361
+ */
2362
+ id?: number;
2363
+ /**
2364
+ * the number of in progress transfers
2365
+ * @format int32
2366
+ */
2367
+ in_progress_transfers?: number;
2368
+ /**
2369
+ * the lot expiration date
2370
+ * @format date-time
2371
+ */
2372
+ lot_expires_on?: string;
2373
+ /** the lot number associated to the location */
2374
+ lot_number?: string;
2375
+ /** the location name */
2376
+ name?: string;
2377
+ /**
2378
+ * the quantity of the location
2379
+ * @format int32
2380
+ */
2381
+ quantity?: number;
2382
+ /** the location role */
2383
+ role?: string;
2384
+ /**
2385
+ * the uncommitted quantity of the location
2386
+ * @format int32
2387
+ */
2388
+ uncommitted?: number;
2389
+ }
2390
+
2354
2391
  /** Api_V2_Entities_ItemWarehouseQuantity model */
2355
2392
  export interface ApiV2EntitiesItemWarehouseQuantity {
2356
2393
  /** Warehouse address line 1 */
@@ -4223,6 +4260,28 @@ export interface GetApiV21ItemsCountParams {
4223
4260
  search?: string;
4224
4261
  }
4225
4262
 
4263
+ export interface GetApiV21ItemsIdLocationsWithTransferCountParams {
4264
+ /**
4265
+ * Pickable, backstock, etc
4266
+ * @default "pickable"
4267
+ */
4268
+ role?: GetApiV21ItemsIdLocationsWithTransferCountParamsRole;
4269
+ /**
4270
+ * Page number for pagination
4271
+ * @format int32
4272
+ * @default 1
4273
+ */
4274
+ page?: number;
4275
+ /**
4276
+ * Number of locations per page for pagination
4277
+ * @format int32
4278
+ * @default 25
4279
+ */
4280
+ per_page?: number;
4281
+ /** @format int32 */
4282
+ id: number;
4283
+ }
4284
+
4226
4285
  export interface GetApiV21ItemsIdMetaFieldsParams {
4227
4286
  /** Include meta fields for associations */
4228
4287
  associations?: string[];
@@ -4318,6 +4377,28 @@ export interface GetApiV21ItemsIdTransactionsParams {
4318
4377
  id: number;
4319
4378
  }
4320
4379
 
4380
+ export interface GetApiV21ItemsOriginatorOriginatorIdLocationsWithTransferCountParams {
4381
+ /**
4382
+ * Pickable, backstock, etc
4383
+ * @default "pickable"
4384
+ */
4385
+ role?: GetApiV21ItemsOriginatorOriginatorIdLocationsWithTransferCountParamsRole;
4386
+ /**
4387
+ * Page number for pagination
4388
+ * @format int32
4389
+ * @default 1
4390
+ */
4391
+ page?: number;
4392
+ /**
4393
+ * Number of locations per page for pagination
4394
+ * @format int32
4395
+ * @default 25
4396
+ */
4397
+ per_page?: number;
4398
+ /** @format int32 */
4399
+ originatorId: number;
4400
+ }
4401
+
4321
4402
  export interface GetApiV21ItemsOriginatorOriginatorIdScancodesParams {
4322
4403
  /** JSON search string like {"attribute_eq": "Term"} */
4323
4404
  search?: string;
@@ -4773,6 +4854,28 @@ export interface GetApiV2ItemsCountParams {
4773
4854
  search?: string;
4774
4855
  }
4775
4856
 
4857
+ export interface GetApiV2ItemsIdLocationsWithTransferCountParams {
4858
+ /**
4859
+ * Pickable, backstock, etc
4860
+ * @default "pickable"
4861
+ */
4862
+ role?: GetApiV2ItemsIdLocationsWithTransferCountParamsRole;
4863
+ /**
4864
+ * Page number for pagination
4865
+ * @format int32
4866
+ * @default 1
4867
+ */
4868
+ page?: number;
4869
+ /**
4870
+ * Number of locations per page for pagination
4871
+ * @format int32
4872
+ * @default 25
4873
+ */
4874
+ per_page?: number;
4875
+ /** @format int32 */
4876
+ id: number;
4877
+ }
4878
+
4776
4879
  export interface GetApiV2ItemsIdMetaFieldsParams {
4777
4880
  /** Include meta fields for associations */
4778
4881
  "associations[]"?: string[];
@@ -4868,6 +4971,28 @@ export interface GetApiV2ItemsIdTransactionsParams {
4868
4971
  id: number;
4869
4972
  }
4870
4973
 
4974
+ export interface GetApiV2ItemsOriginatorOriginatorIdLocationsWithTransferCountParams {
4975
+ /**
4976
+ * Pickable, backstock, etc
4977
+ * @default "pickable"
4978
+ */
4979
+ role?: GetApiV2ItemsOriginatorOriginatorIdLocationsWithTransferCountParamsRole;
4980
+ /**
4981
+ * Page number for pagination
4982
+ * @format int32
4983
+ * @default 1
4984
+ */
4985
+ page?: number;
4986
+ /**
4987
+ * Number of locations per page for pagination
4988
+ * @format int32
4989
+ * @default 25
4990
+ */
4991
+ per_page?: number;
4992
+ /** @format int32 */
4993
+ originatorId: number;
4994
+ }
4995
+
4871
4996
  export interface GetApiV2ItemsOriginatorOriginatorIdScancodesParams {
4872
4997
  /** JSON search string like {"attribute_eq": "Term"} */
4873
4998
  search?: string;
@@ -5984,6 +6109,70 @@ export enum ApiV2EntitiesUserRole {
5984
6109
  Partner = "partner",
5985
6110
  }
5986
6111
 
6112
+ /**
6113
+ * Pickable, backstock, etc
6114
+ * @default "pickable"
6115
+ */
6116
+ export enum GetApiV21ItemsIdLocationsWithTransferCountParamsRole {
6117
+ Pickable = "pickable",
6118
+ Backstock = "backstock",
6119
+ Damaged = "damaged",
6120
+ Expired = "expired",
6121
+ Reserved = "reserved",
6122
+ Pending = "pending",
6123
+ External = "external",
6124
+ Dropoff = "dropoff",
6125
+ BStock = "b_stock",
6126
+ }
6127
+
6128
+ /**
6129
+ * Pickable, backstock, etc
6130
+ * @default "pickable"
6131
+ */
6132
+ export enum GetApiV21ItemsOriginatorOriginatorIdLocationsWithTransferCountParamsRole {
6133
+ Pickable = "pickable",
6134
+ Backstock = "backstock",
6135
+ Damaged = "damaged",
6136
+ Expired = "expired",
6137
+ Reserved = "reserved",
6138
+ Pending = "pending",
6139
+ External = "external",
6140
+ Dropoff = "dropoff",
6141
+ BStock = "b_stock",
6142
+ }
6143
+
6144
+ /**
6145
+ * Pickable, backstock, etc
6146
+ * @default "pickable"
6147
+ */
6148
+ export enum GetApiV2ItemsIdLocationsWithTransferCountParamsRole {
6149
+ Pickable = "pickable",
6150
+ Backstock = "backstock",
6151
+ Damaged = "damaged",
6152
+ Expired = "expired",
6153
+ Reserved = "reserved",
6154
+ Pending = "pending",
6155
+ External = "external",
6156
+ Dropoff = "dropoff",
6157
+ BStock = "b_stock",
6158
+ }
6159
+
6160
+ /**
6161
+ * Pickable, backstock, etc
6162
+ * @default "pickable"
6163
+ */
6164
+ export enum GetApiV2ItemsOriginatorOriginatorIdLocationsWithTransferCountParamsRole {
6165
+ Pickable = "pickable",
6166
+ Backstock = "backstock",
6167
+ Damaged = "damaged",
6168
+ Expired = "expired",
6169
+ Reserved = "reserved",
6170
+ Pending = "pending",
6171
+ External = "external",
6172
+ Dropoff = "dropoff",
6173
+ BStock = "b_stock",
6174
+ }
6175
+
5987
6176
  /** Create a consumer return */
5988
6177
  export interface PostApiV21ConsumerReturns {
5989
6178
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {