@whiplashmerch/whiplash-api-client 3.0.4 → 3.0.6

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, ApiV21EntitiesBundleItem, ApiV21EntitiesCount, ApiV21EntitiesIncident, ApiV21EntitiesItem, ApiV21EntitiesItemLocation, ApiV21EntitiesItemWarehouseQuantity, ApiV21EntitiesLocation, ApiV21EntitiesMessage, ApiV21EntitiesOriginator, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV21EntitiesScancode, ApiV21EntitiesScancodeAlias, ApiV21EntitiesShipnoticeItem, ApiV21EntitiesTransaction, ApiV2EntitiesBundleItem, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesItem, ApiV2EntitiesItemLocation, ApiV2EntitiesItemWarehouseQuantity, ApiV2EntitiesLocation, ApiV2EntitiesMessage, ApiV2EntitiesOriginator, ApiV2EntitiesResult, ApiV2EntitiesScancode, ApiV2EntitiesScancodeAlias, ApiV2EntitiesShipnoticeItem, ApiV2EntitiesTransaction, GetApiV21ItemsAggregateParams, GetApiV21ItemsCountParams, GetApiV21ItemsIdCallTraitParams, GetApiV21ItemsIdInboundParams, GetApiV21ItemsIdIncidentsCountParams, GetApiV21ItemsIdIncidentsParams, GetApiV21ItemsIdLocationsCountParams, GetApiV21ItemsIdLocationsParams, GetApiV21ItemsIdLocationsWithTransferCountParams, GetApiV21ItemsIdMessagesCountParams, GetApiV21ItemsIdMessagesParams, GetApiV21ItemsIdMetaFieldsParams, GetApiV21ItemsIdOriginatorsCountParams, GetApiV21ItemsIdOriginatorsParams, GetApiV21ItemsIdScancodeAliasesParams, GetApiV21ItemsIdScancodesCountParams, GetApiV21ItemsIdScancodesParams, GetApiV21ItemsIdShipnoticeItemsCountParams, GetApiV21ItemsIdShipnoticeItemsParams, GetApiV21ItemsIdTraitsParams, GetApiV21ItemsIdTransactionsCountParams, GetApiV21ItemsIdTransactionsParams, GetApiV21ItemsParams, GetApiV2ItemsAggregateParams, GetApiV2ItemsCountParams, GetApiV2ItemsIdCallTraitParams, GetApiV2ItemsIdInboundParams, GetApiV2ItemsIdIncidentsCountParams, GetApiV2ItemsIdIncidentsParams, GetApiV2ItemsIdLocationsCountParams, GetApiV2ItemsIdLocationsParams, GetApiV2ItemsIdLocationsWithTransferCountParams, GetApiV2ItemsIdMessagesCountParams, GetApiV2ItemsIdMessagesParams, GetApiV2ItemsIdMetaFieldsParams, GetApiV2ItemsIdOriginatorsCountParams, GetApiV2ItemsIdOriginatorsParams, GetApiV2ItemsIdScancodeAliasesParams, GetApiV2ItemsIdScancodesCountParams, GetApiV2ItemsIdScancodesParams, GetApiV2ItemsIdShipnoticeItemsCountParams, GetApiV2ItemsIdShipnoticeItemsParams, GetApiV2ItemsIdTraitsParams, GetApiV2ItemsIdTransactionsCountParams, GetApiV2ItemsIdTransactionsParams, GetApiV2ItemsParams, PostApiV21ItemsIdBundleItemsRequest, PostApiV21ItemsIdIncidentsRequest, PostApiV21ItemsIdLocationsRequest, PostApiV21ItemsIdMessagesRequest, PostApiV21ItemsIdOriginatorsRequest, PostApiV21ItemsRequest, PostApiV2ItemsIdBundleItemsRequest, PostApiV2ItemsIdIncidentsRequest, PostApiV2ItemsIdLocationsRequest, PostApiV2ItemsIdMessagesRequest, PostApiV2ItemsIdOriginatorsRequest, PostApiV2ItemsRequest, PutApiV21ItemsIdCallActionRequest, PutApiV21ItemsIdCallAsyncActionRequest, PutApiV21ItemsIdMetaFieldsRequest, PutApiV21ItemsIdRequest, PutApiV2ItemsIdCallActionRequest, PutApiV2ItemsIdCallAsyncActionRequest, PutApiV2ItemsIdMetaFieldsRequest, PutApiV2ItemsIdRequest } from "./data-contracts";
1
+ import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesBundleItem, ApiV21EntitiesCount, ApiV21EntitiesIncident, ApiV21EntitiesItem, ApiV21EntitiesItemLocation, ApiV21EntitiesItemWarehouseQuantity, ApiV21EntitiesListValue, ApiV21EntitiesLocation, ApiV21EntitiesMessage, ApiV21EntitiesOriginator, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV21EntitiesScancode, ApiV21EntitiesScancodeAlias, ApiV21EntitiesShipnoticeItem, ApiV21EntitiesTransaction, ApiV2EntitiesBundleItem, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesItem, ApiV2EntitiesItemLocation, ApiV2EntitiesItemWarehouseQuantity, ApiV2EntitiesListValue, ApiV2EntitiesLocation, ApiV2EntitiesMessage, ApiV2EntitiesOriginator, ApiV2EntitiesResult, ApiV2EntitiesScancode, ApiV2EntitiesScancodeAlias, ApiV2EntitiesShipnoticeItem, ApiV2EntitiesTransaction, GetApiV21ItemsAggregateParams, GetApiV21ItemsCountParams, GetApiV21ItemsIdCallTraitParams, GetApiV21ItemsIdInboundParams, GetApiV21ItemsIdIncidentsCountParams, GetApiV21ItemsIdIncidentsParams, GetApiV21ItemsIdLocationsCountParams, GetApiV21ItemsIdLocationsParams, GetApiV21ItemsIdLocationsWithTransferCountParams, GetApiV21ItemsIdMessagesCountParams, GetApiV21ItemsIdMessagesParams, GetApiV21ItemsIdMetaFieldsParams, GetApiV21ItemsIdOriginatorsCountParams, GetApiV21ItemsIdOriginatorsParams, GetApiV21ItemsIdScancodeAliasesParams, GetApiV21ItemsIdScancodesCountParams, GetApiV21ItemsIdScancodesParams, GetApiV21ItemsIdShipnoticeItemsCountParams, GetApiV21ItemsIdShipnoticeItemsParams, GetApiV21ItemsIdTraitsParams, GetApiV21ItemsIdTransactionsCountParams, GetApiV21ItemsIdTransactionsParams, GetApiV21ItemsParams, GetApiV2ItemsAggregateParams, GetApiV2ItemsCountParams, GetApiV2ItemsIdCallTraitParams, GetApiV2ItemsIdInboundParams, GetApiV2ItemsIdIncidentsCountParams, GetApiV2ItemsIdIncidentsParams, GetApiV2ItemsIdLocationsCountParams, GetApiV2ItemsIdLocationsParams, GetApiV2ItemsIdLocationsWithTransferCountParams, GetApiV2ItemsIdMessagesCountParams, GetApiV2ItemsIdMessagesParams, GetApiV2ItemsIdMetaFieldsParams, GetApiV2ItemsIdOriginatorsCountParams, GetApiV2ItemsIdOriginatorsParams, GetApiV2ItemsIdScancodeAliasesParams, GetApiV2ItemsIdScancodesCountParams, GetApiV2ItemsIdScancodesParams, GetApiV2ItemsIdShipnoticeItemsCountParams, GetApiV2ItemsIdShipnoticeItemsParams, GetApiV2ItemsIdTraitsParams, GetApiV2ItemsIdTransactionsCountParams, GetApiV2ItemsIdTransactionsParams, GetApiV2ItemsParams, PostApiV21ItemsIdBundleItemsRequest, PostApiV21ItemsIdIncidentsRequest, PostApiV21ItemsIdLocationsRequest, PostApiV21ItemsIdMessagesRequest, PostApiV21ItemsIdOriginatorsRequest, PostApiV21ItemsRequest, PostApiV2ItemsIdBundleItemsRequest, PostApiV2ItemsIdIncidentsRequest, PostApiV2ItemsIdLocationsRequest, PostApiV2ItemsIdMessagesRequest, PostApiV2ItemsIdOriginatorsRequest, PostApiV2ItemsRequest, PutApiV21ItemsIdCallActionRequest, PutApiV21ItemsIdCallAsyncActionRequest, PutApiV21ItemsIdMetaFieldsRequest, PutApiV21ItemsIdRequest, PutApiV2ItemsIdCallActionRequest, PutApiV2ItemsIdCallAsyncActionRequest, PutApiV2ItemsIdMetaFieldsRequest, PutApiV2ItemsIdRequest } from "./data-contracts";
2
2
  import { HttpClient, RequestParams } from "./http-client";
3
3
  /**
4
4
  * @description Get a list of items
@@ -45,6 +45,15 @@ export declare const getApiV2ItemsAggregate: (client: HttpClient, query: GetApiV
45
45
  * @request GET:/api/v2/items/count
46
46
  */
47
47
  export declare const getApiV2ItemsCount: (client: HttpClient, query: GetApiV2ItemsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
48
+ /**
49
+ * @description Returns all item hazmat types
50
+ *
51
+ * @tags items
52
+ * @name GetApiV2ItemsHazmatTypes
53
+ * @summary Item Hazmat Types
54
+ * @request GET:/api/v2/items/hazmat_types
55
+ */
56
+ export declare const getApiV2ItemsHazmatTypes: (client: HttpClient, params?: RequestParams) => Promise<ApiV2EntitiesListValue>;
48
57
  /**
49
58
  * @description Get items traits
50
59
  *
@@ -423,6 +432,15 @@ export declare const getApiV21ItemsAggregate: (client: HttpClient, query: GetApi
423
432
  * @request GET:/api/v2.1/items/count
424
433
  */
425
434
  export declare const getApiV21ItemsCount: (client: HttpClient, query: GetApiV21ItemsCountParams, params?: RequestParams) => Promise<ApiV21EntitiesCount>;
435
+ /**
436
+ * @description Returns all item hazmat types
437
+ *
438
+ * @tags items
439
+ * @name GetApiV21ItemsHazmatTypes
440
+ * @summary Item Hazmat Types
441
+ * @request GET:/api/v2.1/items/hazmat_types
442
+ */
443
+ export declare const getApiV21ItemsHazmatTypes: (client: HttpClient, params?: RequestParams) => Promise<ApiV21EntitiesListValue>;
426
444
  /**
427
445
  * @description Get items traits
428
446
  *
@@ -29792,12 +29792,9 @@ export declare enum ApiV21EntitiesChromalistResourceType {
29792
29792
  }
29793
29793
  /** hazmat class */
29794
29794
  export declare enum ApiV21EntitiesItemHazmatType {
29795
- Ormd = "ormd",
29796
29795
  Lithium = "lithium",
29797
- Lighters = "lighters",
29798
- ORMD = "ORMD",
29799
- LITHIUM = "LITHIUM",
29800
- LIGHTERS = "LIGHTERS"
29796
+ Ormd = "ormd",
29797
+ Lighters = "lighters"
29801
29798
  }
29802
29799
  /** label format */
29803
29800
  export declare enum ApiV21EntitiesItemLabelFormat {
@@ -30489,12 +30486,9 @@ export declare enum ApiV2EntitiesChromalistResourceType {
30489
30486
  }
30490
30487
  /** hazmat class */
30491
30488
  export declare enum ApiV2EntitiesItemHazmatType {
30492
- Ormd = "ormd",
30493
30489
  Lithium = "lithium",
30494
- Lighters = "lighters",
30495
- ORMD = "ORMD",
30496
- LITHIUM = "LITHIUM",
30497
- LIGHTERS = "LIGHTERS"
30490
+ Ormd = "ormd",
30491
+ Lighters = "lighters"
30498
30492
  }
30499
30493
  /** label format */
30500
30494
  export declare enum ApiV2EntitiesItemLabelFormat {
@@ -31283,12 +31277,9 @@ export declare enum PostApiV21ItemsIdLocationsRequestRole {
31283
31277
  }
31284
31278
  /** hazmat class */
31285
31279
  export declare enum PostApiV21ItemsRequestHazmatType {
31286
- Ormd = "ormd",
31287
31280
  Lithium = "lithium",
31288
- Lighters = "lighters",
31289
- ORMD = "ORMD",
31290
- LITHIUM = "LITHIUM",
31291
- LIGHTERS = "LIGHTERS"
31281
+ Ormd = "ormd",
31282
+ Lighters = "lighters"
31292
31283
  }
31293
31284
  /** label format */
31294
31285
  export declare enum PostApiV21ItemsRequestLabelFormat {
@@ -32091,12 +32082,9 @@ export declare enum PostApiV2ItemsIdLocationsRequestRole {
32091
32082
  }
32092
32083
  /** hazmat class */
32093
32084
  export declare enum PostApiV2ItemsRequestHazmatType {
32094
- Ormd = "ormd",
32095
32085
  Lithium = "lithium",
32096
- Lighters = "lighters",
32097
- ORMD = "ORMD",
32098
- LITHIUM = "LITHIUM",
32099
- LIGHTERS = "LIGHTERS"
32086
+ Ormd = "ormd",
32087
+ Lighters = "lighters"
32100
32088
  }
32101
32089
  /** label format */
32102
32090
  export declare enum PostApiV2ItemsRequestLabelFormat {
@@ -32899,12 +32887,9 @@ export declare enum PutApiV21FilterSetsUpsertRequestType {
32899
32887
  }
32900
32888
  /** hazmat class */
32901
32889
  export declare enum PutApiV21IncidentsIdRequestHazmatType {
32902
- Ormd = "ormd",
32903
32890
  Lithium = "lithium",
32904
- Lighters = "lighters",
32905
- ORMD = "ORMD",
32906
- LITHIUM = "LITHIUM",
32907
- LIGHTERS = "LIGHTERS"
32891
+ Ormd = "ormd",
32892
+ Lighters = "lighters"
32908
32893
  }
32909
32894
  /** label format */
32910
32895
  export declare enum PutApiV21IncidentsIdRequestLabelFormat {
@@ -33217,12 +33202,9 @@ export declare enum PutApiV21IncidentsIdRequestPackagingType {
33217
33202
  }
33218
33203
  /** hazmat class */
33219
33204
  export declare enum PutApiV21ItemsIdRequestHazmatType {
33220
- Ormd = "ormd",
33221
33205
  Lithium = "lithium",
33222
- Lighters = "lighters",
33223
- ORMD = "ORMD",
33224
- LITHIUM = "LITHIUM",
33225
- LIGHTERS = "LIGHTERS"
33206
+ Ormd = "ormd",
33207
+ Lighters = "lighters"
33226
33208
  }
33227
33209
  /** label format */
33228
33210
  export declare enum PutApiV21ItemsIdRequestLabelFormat {
@@ -33964,12 +33946,9 @@ export declare enum PutApiV2FilterSetsUpsertRequestType {
33964
33946
  }
33965
33947
  /** hazmat class */
33966
33948
  export declare enum PutApiV2IncidentsIdRequestHazmatType {
33967
- Ormd = "ormd",
33968
33949
  Lithium = "lithium",
33969
- Lighters = "lighters",
33970
- ORMD = "ORMD",
33971
- LITHIUM = "LITHIUM",
33972
- LIGHTERS = "LIGHTERS"
33950
+ Ormd = "ormd",
33951
+ Lighters = "lighters"
33973
33952
  }
33974
33953
  /** label format */
33975
33954
  export declare enum PutApiV2IncidentsIdRequestLabelFormat {
@@ -34282,12 +34261,9 @@ export declare enum PutApiV2IncidentsIdRequestPackagingType {
34282
34261
  }
34283
34262
  /** hazmat class */
34284
34263
  export declare enum PutApiV2ItemsIdRequestHazmatType {
34285
- Ormd = "ormd",
34286
34264
  Lithium = "lithium",
34287
- Lighters = "lighters",
34288
- ORMD = "ORMD",
34289
- LITHIUM = "LITHIUM",
34290
- LIGHTERS = "LIGHTERS"
34265
+ Ormd = "ormd",
34266
+ Lighters = "lighters"
34291
34267
  }
34292
34268
  /** label format */
34293
34269
  export declare enum PutApiV2ItemsIdRequestLabelFormat {
@@ -12757,12 +12757,9 @@ export interface PutApiV2WholesaleItemsIdRequest {
12757
12757
 
12758
12758
  /** hazmat class */
12759
12759
  export enum ApiV21EntitiesItemHazmatType {
12760
- Ormd = "ormd",
12761
12760
  Lithium = "lithium",
12761
+ Ormd = "ormd",
12762
12762
  Lighters = "lighters",
12763
- ORMD = "ORMD",
12764
- LITHIUM = "LITHIUM",
12765
- LIGHTERS = "LIGHTERS",
12766
12763
  }
12767
12764
 
12768
12765
  /** label format */
@@ -13162,12 +13159,9 @@ export enum ApiV21EntitiesOrderStatus {
13162
13159
 
13163
13160
  /** hazmat class */
13164
13161
  export enum ApiV2EntitiesItemHazmatType {
13165
- Ormd = "ormd",
13166
13162
  Lithium = "lithium",
13163
+ Ormd = "ormd",
13167
13164
  Lighters = "lighters",
13168
- ORMD = "ORMD",
13169
- LITHIUM = "LITHIUM",
13170
- LIGHTERS = "LIGHTERS",
13171
13165
  }
13172
13166
 
13173
13167
  /** label format */
@@ -13608,12 +13602,9 @@ export enum GetApiV2ItemsIdLocationsWithTransferCountParamsRole {
13608
13602
 
13609
13603
  /** hazmat class */
13610
13604
  export enum PostApiV21ItemsRequestHazmatType {
13611
- Ormd = "ormd",
13612
13605
  Lithium = "lithium",
13606
+ Ormd = "ormd",
13613
13607
  Lighters = "lighters",
13614
- ORMD = "ORMD",
13615
- LITHIUM = "LITHIUM",
13616
- LIGHTERS = "LIGHTERS",
13617
13608
  }
13618
13609
 
13619
13610
  /** label format */
@@ -14020,12 +14011,9 @@ export enum PostApiV21OrdersRequestStatus {
14020
14011
 
14021
14012
  /** hazmat class */
14022
14013
  export enum PostApiV2ItemsRequestHazmatType {
14023
- Ormd = "ormd",
14024
14014
  Lithium = "lithium",
14015
+ Ormd = "ormd",
14025
14016
  Lighters = "lighters",
14026
- ORMD = "ORMD",
14027
- LITHIUM = "LITHIUM",
14028
- LIGHTERS = "LIGHTERS",
14029
14017
  }
14030
14018
 
14031
14019
  /** label format */
@@ -14432,12 +14420,9 @@ export enum PostApiV2OrdersRequestStatus {
14432
14420
 
14433
14421
  /** hazmat class */
14434
14422
  export enum PutApiV21ItemsIdRequestHazmatType {
14435
- Ormd = "ormd",
14436
14423
  Lithium = "lithium",
14424
+ Ormd = "ormd",
14437
14425
  Lighters = "lighters",
14438
- ORMD = "ORMD",
14439
- LITHIUM = "LITHIUM",
14440
- LIGHTERS = "LIGHTERS",
14441
14426
  }
14442
14427
 
14443
14428
  /** label format */
@@ -14797,12 +14782,9 @@ export enum PutApiV21SimulateOrdersOrderIdProcessingRequestStatus {
14797
14782
 
14798
14783
  /** hazmat class */
14799
14784
  export enum PutApiV2ItemsIdRequestHazmatType {
14800
- Ormd = "ormd",
14801
14785
  Lithium = "lithium",
14786
+ Ormd = "ormd",
14802
14787
  Lighters = "lighters",
14803
- ORMD = "ORMD",
14804
- LITHIUM = "LITHIUM",
14805
- LIGHTERS = "LIGHTERS",
14806
14788
  }
14807
14789
 
14808
14790
  /** label format */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {