@whiplashmerch/whiplash-api-client 3.1.11 → 3.1.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.
@@ -1495,11 +1495,11 @@ export interface ApiV2EntitiesFilterSetOptions {
1495
1495
  };
1496
1496
  rule_actions?: {
1497
1497
  backstock?: object;
1498
- carrier_account?: object;
1499
- routing?: object;
1500
1498
  batching?: object;
1499
+ carrier_account?: object;
1501
1500
  packing?: object;
1502
1501
  replenishment?: object;
1502
+ routing?: object;
1503
1503
  shipping_method?: object;
1504
1504
  };
1505
1505
  traits?: {
@@ -3468,6 +3468,36 @@ export interface ApiV2EntitiesOrderEvent {
3468
3468
  saved_via?: string;
3469
3469
  }
3470
3470
  /** V2 */
3471
+ export interface ApiV2EntitiesOrderFee {
3472
+ /** currency of order fees */
3473
+ currency?: string;
3474
+ /**
3475
+ * order pack fee
3476
+ * @format float
3477
+ */
3478
+ pack?: number;
3479
+ /**
3480
+ * order packaging fee
3481
+ * @format float
3482
+ */
3483
+ packaging?: number;
3484
+ /**
3485
+ * order pick fee
3486
+ * @format float
3487
+ */
3488
+ pick?: number;
3489
+ /**
3490
+ * order postage fee
3491
+ * @format float
3492
+ */
3493
+ postage?: number;
3494
+ /**
3495
+ * order fee total
3496
+ * @format float
3497
+ */
3498
+ total?: number;
3499
+ }
3500
+ /** V2 */
3471
3501
  export interface ApiV2EntitiesOrderItem {
3472
3502
  /** is this item available? */
3473
3503
  available?: boolean | null;
@@ -3699,8 +3729,7 @@ export interface ApiV2EntitiesOrderMetadata {
3699
3729
  * @format float
3700
3730
  */
3701
3731
  documents_fee?: number;
3702
- /** retail fees for the order (pick, pack, packaging, postage, total) */
3703
- fees?: object;
3732
+ fees?: ApiV2EntitiesOrderFee;
3704
3733
  /**
3705
3734
  * fee charged for serial number
3706
3735
  * @format float
@@ -8770,6 +8799,36 @@ export interface ApiV21EntitiesOrderEvent {
8770
8799
  saved_via?: string;
8771
8800
  }
8772
8801
  /** V3 */
8802
+ export interface ApiV21EntitiesOrderFee {
8803
+ /** currency of order fees */
8804
+ currency?: string;
8805
+ /**
8806
+ * order pack fee
8807
+ * @format float
8808
+ */
8809
+ pack?: number;
8810
+ /**
8811
+ * order packaging fee
8812
+ * @format float
8813
+ */
8814
+ packaging?: number;
8815
+ /**
8816
+ * order pick fee
8817
+ * @format float
8818
+ */
8819
+ pick?: number;
8820
+ /**
8821
+ * order postage fee
8822
+ * @format float
8823
+ */
8824
+ postage?: number;
8825
+ /**
8826
+ * order fee total
8827
+ * @format float
8828
+ */
8829
+ total?: number;
8830
+ }
8831
+ /** V3 */
8773
8832
  export interface ApiV21EntitiesOrderItem {
8774
8833
  /** is this item available? */
8775
8834
  available?: boolean | null;
@@ -8977,8 +9036,7 @@ export interface ApiV21EntitiesOrderMetadata {
8977
9036
  * @format float
8978
9037
  */
8979
9038
  documents_fee?: number;
8980
- /** retail fees for the order (pick, pack, packaging, postage, total) */
8981
- fees?: object;
9039
+ fees?: ApiV21EntitiesOrderFee;
8982
9040
  /**
8983
9041
  * fee charged for serial number
8984
9042
  * @format float
@@ -32221,11 +32279,11 @@ export declare enum PostApiV21RulesRequestState {
32221
32279
  /** Which type of rule this is */
32222
32280
  export declare enum PostApiV21RulesRequestType {
32223
32281
  BackstockRule = "BackstockRule",
32224
- CarrierAccountRule = "CarrierAccountRule",
32225
- RoutingRule = "RoutingRule",
32226
32282
  BatchingRule = "BatchingRule",
32283
+ CarrierAccountRule = "CarrierAccountRule",
32227
32284
  PackingRule = "PackingRule",
32228
32285
  ReplenishmentRule = "ReplenishmentRule",
32286
+ RoutingRule = "RoutingRule",
32229
32287
  ShippingMethodRule = "ShippingMethodRule"
32230
32288
  }
32231
32289
  /** locale for language settings */
@@ -33027,11 +33085,11 @@ export declare enum PostApiV2RulesRequestState {
33027
33085
  /** Which type of rule this is */
33028
33086
  export declare enum PostApiV2RulesRequestType {
33029
33087
  BackstockRule = "BackstockRule",
33030
- CarrierAccountRule = "CarrierAccountRule",
33031
- RoutingRule = "RoutingRule",
33032
33088
  BatchingRule = "BatchingRule",
33089
+ CarrierAccountRule = "CarrierAccountRule",
33033
33090
  PackingRule = "PackingRule",
33034
33091
  ReplenishmentRule = "ReplenishmentRule",
33092
+ RoutingRule = "RoutingRule",
33035
33093
  ShippingMethodRule = "ShippingMethodRule"
33036
33094
  }
33037
33095
  /** locale for language settings */
@@ -1,2 +1,2 @@
1
- import { ApiV2EntitiesOrderBatchItem, GetApiV21OrderBatchItemsParams, HttpClient, RequestParams } from '../generated';
2
- export declare const multiPageGetApiV21OrderBatchItems: (client: HttpClient, query: GetApiV21OrderBatchItemsParams, params?: RequestParams) => Promise<ApiV2EntitiesOrderBatchItem[]>;
1
+ import { ApiV21EntitiesOrderBatchItem, GetApiV21OrderBatchItemsParams, HttpClient, RequestParams } from '../generated';
2
+ export declare const multiPageGetApiV21OrderBatchItems: (client: HttpClient, query: GetApiV21OrderBatchItemsParams, params?: RequestParams) => Promise<ApiV21EntitiesOrderBatchItem[]>;
@@ -1,4 +1,4 @@
1
- import { HttpClient, ApiV21EntitiesLocationRole, ApiV2EntitiesSidekiqBatch } from './../generated';
1
+ import { HttpClient, ApiV21EntitiesLocationRole, ApiSharedEntitiesSidekiqBatch } from './../generated';
2
2
  export interface CallAsyncProcessShelfToShelfTransferParams {
3
3
  args: {
4
4
  source_shelf: string;
@@ -14,7 +14,7 @@ export interface CallAsyncProcessShelfToShelfTransferParams {
14
14
  };
15
15
  retry?: number | false;
16
16
  }
17
- export declare const putProcessShelfToShelfTransfer: (client: HttpClient, params: CallAsyncProcessShelfToShelfTransferParams) => Promise<ApiV2EntitiesSidekiqBatch>;
17
+ export declare const putProcessShelfToShelfTransfer: (client: HttpClient, params: CallAsyncProcessShelfToShelfTransferParams) => Promise<ApiSharedEntitiesSidekiqBatch>;
18
18
  export interface CallTraitOpenBatchesAgainstShelfParams {
19
19
  args: {
20
20
  shelf_name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.1.11",
3
+ "version": "3.1.13",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {