@whiplashmerch/whiplash-api-client 3.2.51 → 3.2.52

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,6 +1,10 @@
1
1
  /** Shared */
2
2
  export interface ApiSharedEntitiesApiError {
3
- /** error message */
3
+ /** top-level error class */
4
+ error?: string;
5
+ /** short code for error, used for error response logic */
6
+ error_code?: string;
7
+ /** readable error message */
4
8
  message?: string;
5
9
  }
6
10
  /** Shared */
@@ -13765,7 +13769,7 @@ export interface GetApiV21UsersIdTraitsParams {
13765
13769
  }
13766
13770
  export interface GetApiV21UsersJwtParams {
13767
13771
  /** Integration provider to generate JWT for. Currently only supports pandium */
13768
- provider: string;
13772
+ provider: GetApiV21UsersJwtParamsProvider;
13769
13773
  }
13770
13774
  export interface GetApiV21UsersParams {
13771
13775
  /** JSON search string like {"attribute_eq": "Term"} */
@@ -16679,7 +16683,7 @@ export interface GetApiV2UsersIdTraitsParams {
16679
16683
  }
16680
16684
  export interface GetApiV2UsersJwtParams {
16681
16685
  /** Integration provider to generate JWT for. Currently only supports pandium */
16682
- provider: string;
16686
+ provider: GetApiV2UsersJwtParamsProvider;
16683
16687
  }
16684
16688
  export interface GetApiV2UsersParams {
16685
16689
  /** JSON search string like {"attribute_eq": "Term"} */
@@ -31093,6 +31097,10 @@ export declare enum GetApiV21ItemsIdLocationsWithTransferCountParamsRole {
31093
31097
  export declare enum GetApiV21SchemasLotsParamsSchema {
31094
31098
  ItemDetail = "ItemDetail"
31095
31099
  }
31100
+ /** Integration provider to generate JWT for. Currently only supports pandium */
31101
+ export declare enum GetApiV21UsersJwtParamsProvider {
31102
+ Pandium = "pandium"
31103
+ }
31096
31104
  /** Type of inbound ship notice to fetch (Shipnotice or ConsumerReturn) */
31097
31105
  export declare enum GetApiV2ItemsIdInboundParamsType {
31098
31106
  Shipnotice = "Shipnotice",
@@ -31115,6 +31123,10 @@ export declare enum GetApiV2ItemsIdLocationsWithTransferCountParamsRole {
31115
31123
  export declare enum GetApiV2SchemasLotsParamsSchema {
31116
31124
  ItemDetail = "ItemDetail"
31117
31125
  }
31126
+ /** Integration provider to generate JWT for. Currently only supports pandium */
31127
+ export declare enum GetApiV2UsersJwtParamsProvider {
31128
+ Pandium = "pandium"
31129
+ }
31118
31130
  export declare enum PostApiV21BillOfLadingsIdAddressesRequestAddressType {
31119
31131
  ShipTo = "ship_to",
31120
31132
  ShipFrom = "ship_from",
@@ -11,7 +11,11 @@
11
11
 
12
12
  /** Shared */
13
13
  export interface ApiSharedEntitiesApiError {
14
- /** error message */
14
+ /** top-level error class */
15
+ error?: string;
16
+ /** short code for error, used for error response logic */
17
+ error_code?: string;
18
+ /** readable error message */
15
19
  message?: string;
16
20
  }
17
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.51",
3
+ "version": "3.2.52",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {