@whiplashmerch/whiplash-api-client 3.0.8 → 3.0.9
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, ApiV21EntitiesCount, ApiV21EntitiesCustomsInfo, ApiV21EntitiesIncident, ApiV21EntitiesListValue, ApiV21EntitiesMessage, ApiV21EntitiesOrder, ApiV21EntitiesOrderDocument, ApiV21EntitiesOrderEvent, ApiV21EntitiesOrderItem, ApiV21EntitiesOrderItemLotMap, ApiV21EntitiesOriginator, ApiV21EntitiesPackage, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV21EntitiesRuleDismissal, ApiV21EntitiesSerialNumber, ApiV21EntitiesWholesale, ApiV2EntitiesCount, ApiV2EntitiesCustomsInfo, ApiV2EntitiesIncident, ApiV2EntitiesListValue, ApiV2EntitiesMessage, ApiV2EntitiesOrder, ApiV2EntitiesOrderDocument, ApiV2EntitiesOrderEvent, ApiV2EntitiesOrderItem, ApiV2EntitiesOrderItemLotMap, ApiV2EntitiesOriginator, ApiV2EntitiesPackage, ApiV2EntitiesResult, ApiV2EntitiesRuleDismissal, ApiV2EntitiesSerialNumber, ApiV2EntitiesWholesale, GetApiV21OrdersAggregateParams, GetApiV21OrdersCountParams, GetApiV21OrdersIdCallTraitParams, GetApiV21OrdersIdEventsCountParams, GetApiV21OrdersIdEventsParams, GetApiV21OrdersIdIncidentsCountParams, GetApiV21OrdersIdIncidentsParams, GetApiV21OrdersIdMessagesCountParams, GetApiV21OrdersIdMessagesParams, GetApiV21OrdersIdMetaFieldsParams, GetApiV21OrdersIdOrderDocumentsParams, GetApiV21OrdersIdOrderItemsCountParams, GetApiV21OrdersIdOrderItemsParams, GetApiV21OrdersIdPackagesCountParams, GetApiV21OrdersIdPackagesParams, GetApiV21OrdersIdTraitsParams, GetApiV21OrdersParams, GetApiV2OrdersAggregateParams, GetApiV2OrdersCountParams, GetApiV2OrdersIdCallTraitParams, GetApiV2OrdersIdEventsCountParams, GetApiV2OrdersIdEventsParams, GetApiV2OrdersIdIncidentsCountParams, GetApiV2OrdersIdIncidentsParams, GetApiV2OrdersIdMessagesCountParams, GetApiV2OrdersIdMessagesParams, GetApiV2OrdersIdMetaFieldsParams, GetApiV2OrdersIdOrderDocumentsParams, GetApiV2OrdersIdOrderItemsCountParams, GetApiV2OrdersIdOrderItemsParams, GetApiV2OrdersIdPackagesCountParams, GetApiV2OrdersIdPackagesParams, GetApiV2OrdersIdTraitsParams, GetApiV2OrdersParams, PostApiV21OrdersBulkRequest, PostApiV21OrdersIdIncidentsRequest, PostApiV21OrdersIdMessagesRequest, PostApiV21OrdersIdOrderDocumentsRequest, PostApiV21OrdersIdOrderItemsRequest, PostApiV21OrdersIdPackagesRequest, PostApiV21OrdersIdRuleDismissalsRequest, PostApiV21OrdersRequest, PostApiV2OrdersBulkRequest, PostApiV2OrdersIdIncidentsRequest, PostApiV2OrdersIdMessagesRequest, PostApiV2OrdersIdOrderDocumentsRequest, PostApiV2OrdersIdOrderItemsRequest, PostApiV2OrdersIdPackagesRequest, PostApiV2OrdersIdRuleDismissalsRequest, PostApiV2OrdersRequest, PutApiV21OrdersIdCallActionRequest, PutApiV21OrdersIdCallAsyncActionRequest, PutApiV21OrdersIdCustomsInfoRequest, PutApiV21OrdersIdMetaFieldsRequest, PutApiV21OrdersIdRequest, PutApiV21OrdersIdWholesaleRequest, PutApiV2OrdersIdCallActionRequest, PutApiV2OrdersIdCallAsyncActionRequest, PutApiV2OrdersIdCustomsInfoRequest, PutApiV2OrdersIdMetaFieldsRequest, PutApiV2OrdersIdRequest, PutApiV2OrdersIdWholesaleRequest } from "./data-contracts";
|
|
1
|
+
import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesCount, ApiV21EntitiesCustomsInfo, ApiV21EntitiesIncident, ApiV21EntitiesListValue, ApiV21EntitiesMessage, ApiV21EntitiesOrder, ApiV21EntitiesOrderDocument, ApiV21EntitiesOrderEvent, ApiV21EntitiesOrderItem, ApiV21EntitiesOrderItemLotMap, ApiV21EntitiesOriginator, ApiV21EntitiesPackage, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV21EntitiesRuleDismissal, ApiV21EntitiesSerialNumber, ApiV21EntitiesShippingRate, ApiV21EntitiesWholesale, ApiV2EntitiesCount, ApiV2EntitiesCustomsInfo, ApiV2EntitiesIncident, ApiV2EntitiesListValue, ApiV2EntitiesMessage, ApiV2EntitiesOrder, ApiV2EntitiesOrderDocument, ApiV2EntitiesOrderEvent, ApiV2EntitiesOrderItem, ApiV2EntitiesOrderItemLotMap, ApiV2EntitiesOriginator, ApiV2EntitiesPackage, ApiV2EntitiesResult, ApiV2EntitiesRuleDismissal, ApiV2EntitiesSerialNumber, ApiV2EntitiesShippingRate, ApiV2EntitiesWholesale, GetApiV21OrdersAggregateParams, GetApiV21OrdersCountParams, GetApiV21OrdersIdCallTraitParams, GetApiV21OrdersIdEventsCountParams, GetApiV21OrdersIdEventsParams, GetApiV21OrdersIdIncidentsCountParams, GetApiV21OrdersIdIncidentsParams, GetApiV21OrdersIdMessagesCountParams, GetApiV21OrdersIdMessagesParams, GetApiV21OrdersIdMetaFieldsParams, GetApiV21OrdersIdOrderDocumentsParams, GetApiV21OrdersIdOrderItemsCountParams, GetApiV21OrdersIdOrderItemsParams, GetApiV21OrdersIdPackagesCountParams, GetApiV21OrdersIdPackagesParams, GetApiV21OrdersIdTraitsParams, GetApiV21OrdersParams, GetApiV2OrdersAggregateParams, GetApiV2OrdersCountParams, GetApiV2OrdersIdCallTraitParams, GetApiV2OrdersIdEventsCountParams, GetApiV2OrdersIdEventsParams, GetApiV2OrdersIdIncidentsCountParams, GetApiV2OrdersIdIncidentsParams, GetApiV2OrdersIdMessagesCountParams, GetApiV2OrdersIdMessagesParams, GetApiV2OrdersIdMetaFieldsParams, GetApiV2OrdersIdOrderDocumentsParams, GetApiV2OrdersIdOrderItemsCountParams, GetApiV2OrdersIdOrderItemsParams, GetApiV2OrdersIdPackagesCountParams, GetApiV2OrdersIdPackagesParams, GetApiV2OrdersIdTraitsParams, GetApiV2OrdersParams, PostApiV21OrdersBulkRequest, PostApiV21OrdersIdIncidentsRequest, PostApiV21OrdersIdMessagesRequest, PostApiV21OrdersIdOrderDocumentsRequest, PostApiV21OrdersIdOrderItemsRequest, PostApiV21OrdersIdPackagesRequest, PostApiV21OrdersIdRuleDismissalsRequest, PostApiV21OrdersRequest, PostApiV2OrdersBulkRequest, PostApiV2OrdersIdIncidentsRequest, PostApiV2OrdersIdMessagesRequest, PostApiV2OrdersIdOrderDocumentsRequest, PostApiV2OrdersIdOrderItemsRequest, PostApiV2OrdersIdPackagesRequest, PostApiV2OrdersIdRuleDismissalsRequest, PostApiV2OrdersRequest, PutApiV21OrdersIdCallActionRequest, PutApiV21OrdersIdCallAsyncActionRequest, PutApiV21OrdersIdCustomsInfoRequest, PutApiV21OrdersIdMetaFieldsRequest, PutApiV21OrdersIdRequest, PutApiV21OrdersIdWholesaleRequest, PutApiV2OrdersIdCallActionRequest, PutApiV2OrdersIdCallAsyncActionRequest, PutApiV2OrdersIdCustomsInfoRequest, PutApiV2OrdersIdMetaFieldsRequest, PutApiV2OrdersIdRequest, PutApiV2OrdersIdWholesaleRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Retrieves a list of orders
|
|
@@ -386,7 +386,7 @@ export declare const getApiV2OrdersIdSerialNumbers: (client: HttpClient, id: num
|
|
|
386
386
|
* @summary Retrieve shipment rates for an order, excluding fees
|
|
387
387
|
* @request GET:/api/v2/orders/{id}/shipment_rates
|
|
388
388
|
*/
|
|
389
|
-
export declare const getApiV2OrdersIdShipmentRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
389
|
+
export declare const getApiV2OrdersIdShipmentRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesShippingRate[]>;
|
|
390
390
|
/**
|
|
391
391
|
* @description List shipping rates for an order
|
|
392
392
|
*
|
|
@@ -395,7 +395,7 @@ export declare const getApiV2OrdersIdShipmentRates: (client: HttpClient, id: num
|
|
|
395
395
|
* @summary Retrieve shipping rates for an order
|
|
396
396
|
* @request GET:/api/v2/orders/{id}/shipping_rates
|
|
397
397
|
*/
|
|
398
|
-
export declare const getApiV2OrdersIdShippingRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
398
|
+
export declare const getApiV2OrdersIdShippingRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesShippingRate[]>;
|
|
399
399
|
/**
|
|
400
400
|
* @description Get the shipping weight for an order
|
|
401
401
|
*
|
|
@@ -818,7 +818,7 @@ export declare const getApiV21OrdersIdSerialNumbers: (client: HttpClient, id: nu
|
|
|
818
818
|
* @summary Retrieve shipment rates for an order, excluding fees
|
|
819
819
|
* @request GET:/api/v2.1/orders/{id}/shipment_rates
|
|
820
820
|
*/
|
|
821
|
-
export declare const getApiV21OrdersIdShipmentRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
821
|
+
export declare const getApiV21OrdersIdShipmentRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesShippingRate[]>;
|
|
822
822
|
/**
|
|
823
823
|
* @description List shipping rates for an order
|
|
824
824
|
*
|
|
@@ -827,7 +827,7 @@ export declare const getApiV21OrdersIdShipmentRates: (client: HttpClient, id: nu
|
|
|
827
827
|
* @summary Retrieve shipping rates for an order
|
|
828
828
|
* @request GET:/api/v2.1/orders/{id}/shipping_rates
|
|
829
829
|
*/
|
|
830
|
-
export declare const getApiV21OrdersIdShippingRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
830
|
+
export declare const getApiV21OrdersIdShippingRates: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesShippingRate[]>;
|
|
831
831
|
/**
|
|
832
832
|
* @description Get the shipping weight for an order
|
|
833
833
|
*
|
|
@@ -1394,131 +1394,131 @@ export interface ApiV2EntitiesFilterSet {
|
|
|
1394
1394
|
/** V2 */
|
|
1395
1395
|
export interface ApiV2EntitiesFilterSetOptions {
|
|
1396
1396
|
bulk_actions?: {
|
|
1397
|
-
location?: object;
|
|
1398
|
-
account_transaction?: object;
|
|
1399
|
-
shipping_method?: object;
|
|
1400
1397
|
location_audit?: object;
|
|
1401
|
-
|
|
1402
|
-
order_batch?: object;
|
|
1403
|
-
incident?: object;
|
|
1404
|
-
item?: object;
|
|
1405
|
-
warehouse?: object;
|
|
1406
|
-
carrier_account?: object;
|
|
1398
|
+
account_transaction?: object;
|
|
1407
1399
|
order?: object;
|
|
1408
|
-
|
|
1400
|
+
user?: object;
|
|
1401
|
+
item?: object;
|
|
1409
1402
|
shipnotice?: object;
|
|
1403
|
+
location?: object;
|
|
1410
1404
|
project?: object;
|
|
1411
|
-
|
|
1412
|
-
|
|
1405
|
+
warehouse?: object;
|
|
1406
|
+
shipping_method?: object;
|
|
1413
1407
|
meta_key?: object;
|
|
1408
|
+
order_batch?: object;
|
|
1409
|
+
location_transfer?: object;
|
|
1410
|
+
carrier_account?: object;
|
|
1411
|
+
incident?: object;
|
|
1412
|
+
manifest?: object;
|
|
1413
|
+
consumer_return?: object;
|
|
1414
1414
|
};
|
|
1415
1415
|
exporters?: {
|
|
1416
|
-
|
|
1416
|
+
location_audit?: object;
|
|
1417
1417
|
account_transaction?: object;
|
|
1418
|
+
order?: object;
|
|
1419
|
+
item?: object;
|
|
1420
|
+
shipnotice?: object;
|
|
1421
|
+
location?: object;
|
|
1418
1422
|
shipping_method?: object;
|
|
1419
|
-
|
|
1420
|
-
document?: object;
|
|
1421
|
-
consumer_return?: object;
|
|
1423
|
+
location_transfer?: object;
|
|
1422
1424
|
customer?: object;
|
|
1423
1425
|
incident?: object;
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
location_transfer?: object;
|
|
1427
|
-
shipnotice?: object;
|
|
1426
|
+
document?: object;
|
|
1427
|
+
consumer_return?: object;
|
|
1428
1428
|
};
|
|
1429
1429
|
filters?: {
|
|
1430
|
-
|
|
1430
|
+
location_audit?: any[];
|
|
1431
1431
|
account_transaction?: any[];
|
|
1432
|
+
order?: any[];
|
|
1433
|
+
user?: any[];
|
|
1434
|
+
item?: any[];
|
|
1435
|
+
shipnotice?: any[];
|
|
1436
|
+
location?: any[];
|
|
1437
|
+
partner?: any[];
|
|
1438
|
+
project?: any[];
|
|
1439
|
+
warehouse?: any[];
|
|
1432
1440
|
shipping_method?: any[];
|
|
1433
|
-
|
|
1434
|
-
document?: any[];
|
|
1435
|
-
transaction?: any[];
|
|
1436
|
-
consumer_return?: any[];
|
|
1441
|
+
meta_key?: any[];
|
|
1437
1442
|
order_batch?: any[];
|
|
1443
|
+
location_transfer?: any[];
|
|
1438
1444
|
customer?: any[];
|
|
1439
|
-
incident?: any[];
|
|
1440
|
-
item?: any[];
|
|
1441
|
-
warehouse?: any[];
|
|
1442
1445
|
carrier_account?: any[];
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
shipnotice?: any[];
|
|
1446
|
-
project?: any[];
|
|
1447
|
-
partner?: any[];
|
|
1446
|
+
incident?: any[];
|
|
1447
|
+
document?: any[];
|
|
1448
1448
|
manifest?: any[];
|
|
1449
|
-
|
|
1450
|
-
|
|
1449
|
+
consumer_return?: any[];
|
|
1450
|
+
transaction?: any[];
|
|
1451
1451
|
};
|
|
1452
1452
|
importers?: {
|
|
1453
|
-
document?: any[];
|
|
1454
|
-
consumer_return?: any[];
|
|
1455
|
-
item?: any[];
|
|
1456
1453
|
order?: any[];
|
|
1457
|
-
|
|
1454
|
+
item?: any[];
|
|
1458
1455
|
shipnotice?: any[];
|
|
1456
|
+
location_transfer?: any[];
|
|
1457
|
+
document?: any[];
|
|
1458
|
+
consumer_return?: any[];
|
|
1459
1459
|
};
|
|
1460
1460
|
required_scopes?: {
|
|
1461
|
-
|
|
1461
|
+
location_audit?: any[];
|
|
1462
1462
|
account_transaction?: any[];
|
|
1463
|
+
order?: any[];
|
|
1464
|
+
user?: any[];
|
|
1465
|
+
item?: any[];
|
|
1466
|
+
shipnotice?: any[];
|
|
1467
|
+
location?: any[];
|
|
1468
|
+
partner?: any[];
|
|
1469
|
+
project?: any[];
|
|
1470
|
+
warehouse?: any[];
|
|
1463
1471
|
shipping_method?: any[];
|
|
1464
|
-
|
|
1465
|
-
document?: any[];
|
|
1466
|
-
transaction?: any[];
|
|
1467
|
-
consumer_return?: any[];
|
|
1472
|
+
meta_key?: any[];
|
|
1468
1473
|
order_batch?: any[];
|
|
1474
|
+
location_transfer?: any[];
|
|
1469
1475
|
customer?: any[];
|
|
1470
|
-
incident?: any[];
|
|
1471
|
-
item?: any[];
|
|
1472
|
-
warehouse?: any[];
|
|
1473
1476
|
carrier_account?: any[];
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
shipnotice?: any[];
|
|
1477
|
-
project?: any[];
|
|
1478
|
-
partner?: any[];
|
|
1477
|
+
incident?: any[];
|
|
1478
|
+
document?: any[];
|
|
1479
1479
|
manifest?: any[];
|
|
1480
|
-
|
|
1481
|
-
|
|
1480
|
+
consumer_return?: any[];
|
|
1481
|
+
transaction?: any[];
|
|
1482
1482
|
};
|
|
1483
1483
|
resource_actions?: {
|
|
1484
|
-
|
|
1484
|
+
location_audit?: object;
|
|
1485
1485
|
account_transaction?: object;
|
|
1486
|
+
order?: object;
|
|
1487
|
+
user?: object;
|
|
1488
|
+
item?: object;
|
|
1489
|
+
shipnotice?: object;
|
|
1490
|
+
location?: object;
|
|
1491
|
+
project?: object;
|
|
1492
|
+
warehouse?: object;
|
|
1486
1493
|
shipping_method?: object;
|
|
1487
|
-
|
|
1488
|
-
document?: object;
|
|
1489
|
-
consumer_return?: object;
|
|
1494
|
+
meta_key?: object;
|
|
1490
1495
|
order_batch?: object;
|
|
1496
|
+
location_transfer?: object;
|
|
1491
1497
|
customer?: object;
|
|
1492
|
-
incident?: object;
|
|
1493
|
-
item?: object;
|
|
1494
|
-
warehouse?: object;
|
|
1495
1498
|
carrier_account?: object;
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
shipnotice?: object;
|
|
1499
|
-
project?: object;
|
|
1499
|
+
incident?: object;
|
|
1500
|
+
document?: object;
|
|
1500
1501
|
manifest?: object;
|
|
1501
|
-
|
|
1502
|
-
meta_key?: object;
|
|
1502
|
+
consumer_return?: object;
|
|
1503
1503
|
};
|
|
1504
1504
|
rule_actions?: {
|
|
1505
1505
|
batching?: object;
|
|
1506
|
-
routing?: object;
|
|
1507
1506
|
packing?: object;
|
|
1507
|
+
replenishment?: object;
|
|
1508
1508
|
backstock?: object;
|
|
1509
1509
|
carrier_account?: object;
|
|
1510
|
-
|
|
1510
|
+
routing?: object;
|
|
1511
1511
|
shipping_method?: object;
|
|
1512
1512
|
};
|
|
1513
1513
|
traits?: {
|
|
1514
|
-
consumer_return?: any[];
|
|
1515
|
-
order_batch?: any[];
|
|
1516
|
-
customer?: any[];
|
|
1517
|
-
item?: any[];
|
|
1518
|
-
warehouse?: any[];
|
|
1519
1514
|
order?: any[];
|
|
1520
|
-
shipnotice?: any[];
|
|
1521
1515
|
user?: any[];
|
|
1516
|
+
item?: any[];
|
|
1517
|
+
shipnotice?: any[];
|
|
1518
|
+
warehouse?: any[];
|
|
1519
|
+
order_batch?: any[];
|
|
1520
|
+
customer?: any[];
|
|
1521
|
+
consumer_return?: any[];
|
|
1522
1522
|
};
|
|
1523
1523
|
}
|
|
1524
1524
|
/** V2 */
|
|
@@ -5087,6 +5087,50 @@ export interface ApiV2EntitiesShippingMethod {
|
|
|
5087
5087
|
updated_at?: string;
|
|
5088
5088
|
}
|
|
5089
5089
|
/** V2 */
|
|
5090
|
+
export interface ApiV2EntitiesShippingRate {
|
|
5091
|
+
/** is the shipping method avoided? */
|
|
5092
|
+
avoided?: boolean;
|
|
5093
|
+
/** the shipping method carrier (FedEx, UPS, etc) */
|
|
5094
|
+
carrier?: string;
|
|
5095
|
+
/**
|
|
5096
|
+
* the shipping rate cost
|
|
5097
|
+
* @format float
|
|
5098
|
+
*/
|
|
5099
|
+
cost?: number;
|
|
5100
|
+
/**
|
|
5101
|
+
* estimated delivery days
|
|
5102
|
+
* @format int32
|
|
5103
|
+
*/
|
|
5104
|
+
delivery_days?: number;
|
|
5105
|
+
/** the shipping method service description (Next Day Air, Ground, etc) */
|
|
5106
|
+
description?: string;
|
|
5107
|
+
/** for Whiplash Cheapest methods, this is the current method we would ship */
|
|
5108
|
+
determined?: boolean;
|
|
5109
|
+
/** is the shipping method expedited? */
|
|
5110
|
+
expedited?: boolean;
|
|
5111
|
+
/** the shipping method extended description */
|
|
5112
|
+
extended_description?: string;
|
|
5113
|
+
/** is the shipping method flat rate? */
|
|
5114
|
+
flat_rate?: boolean;
|
|
5115
|
+
/**
|
|
5116
|
+
* the shipping method id
|
|
5117
|
+
* @format int32
|
|
5118
|
+
*/
|
|
5119
|
+
id?: number;
|
|
5120
|
+
/** is the shipping method international? */
|
|
5121
|
+
international?: boolean;
|
|
5122
|
+
/** does the shipping method support multi-parcel shipments? */
|
|
5123
|
+
multi_parcel?: boolean;
|
|
5124
|
+
/** nicely formatted carrier and service */
|
|
5125
|
+
name?: string;
|
|
5126
|
+
/** Standard Carrier Alpha Code */
|
|
5127
|
+
scac?: string;
|
|
5128
|
+
/** the shipping method service (NextDayAir, Ground, etc) */
|
|
5129
|
+
service?: string;
|
|
5130
|
+
/** is the shipping method trackable? */
|
|
5131
|
+
trackable?: boolean;
|
|
5132
|
+
}
|
|
5133
|
+
/** V2 */
|
|
5090
5134
|
export interface ApiV2EntitiesShop {
|
|
5091
5135
|
/** accepts payment statuses */
|
|
5092
5136
|
accepts_payment_statuses?: string | null;
|
|
@@ -10163,6 +10207,50 @@ export interface ApiV21EntitiesShippingMethod {
|
|
|
10163
10207
|
updated_at?: string;
|
|
10164
10208
|
}
|
|
10165
10209
|
/** V3 */
|
|
10210
|
+
export interface ApiV21EntitiesShippingRate {
|
|
10211
|
+
/** is the shipping method avoided? */
|
|
10212
|
+
avoided?: boolean;
|
|
10213
|
+
/** the shipping method carrier (FedEx, UPS, etc) */
|
|
10214
|
+
carrier?: string;
|
|
10215
|
+
/**
|
|
10216
|
+
* the shipping rate cost
|
|
10217
|
+
* @format float
|
|
10218
|
+
*/
|
|
10219
|
+
cost?: number;
|
|
10220
|
+
/**
|
|
10221
|
+
* estimated delivery days
|
|
10222
|
+
* @format int32
|
|
10223
|
+
*/
|
|
10224
|
+
delivery_days?: number;
|
|
10225
|
+
/** the shipping method service description (Next Day Air, Ground, etc) */
|
|
10226
|
+
description?: string;
|
|
10227
|
+
/** for Whiplash Cheapest methods, this is the current method we would ship */
|
|
10228
|
+
determined?: boolean;
|
|
10229
|
+
/** is the shipping method expedited? */
|
|
10230
|
+
expedited?: boolean;
|
|
10231
|
+
/** the shipping method extended description */
|
|
10232
|
+
extended_description?: string;
|
|
10233
|
+
/** is the shipping method flat rate? */
|
|
10234
|
+
flat_rate?: boolean;
|
|
10235
|
+
/**
|
|
10236
|
+
* the shipping method id
|
|
10237
|
+
* @format int32
|
|
10238
|
+
*/
|
|
10239
|
+
id?: number;
|
|
10240
|
+
/** is the shipping method international? */
|
|
10241
|
+
international?: boolean;
|
|
10242
|
+
/** does the shipping method support multi-parcel shipments? */
|
|
10243
|
+
multi_parcel?: boolean;
|
|
10244
|
+
/** nicely formatted carrier and service */
|
|
10245
|
+
name?: string;
|
|
10246
|
+
/** Standard Carrier Alpha Code */
|
|
10247
|
+
scac?: string;
|
|
10248
|
+
/** the shipping method service (NextDayAir, Ground, etc) */
|
|
10249
|
+
service?: string;
|
|
10250
|
+
/** is the shipping method trackable? */
|
|
10251
|
+
trackable?: boolean;
|
|
10252
|
+
}
|
|
10253
|
+
/** V3 */
|
|
10166
10254
|
export interface ApiV21EntitiesShop {
|
|
10167
10255
|
/** accepts payment statuses */
|
|
10168
10256
|
accepts_payment_statuses?: string | null;
|
|
@@ -31964,11 +32052,11 @@ export declare enum PostApiV21RulesRequestState {
|
|
|
31964
32052
|
/** Which type of rule this is */
|
|
31965
32053
|
export declare enum PostApiV21RulesRequestType {
|
|
31966
32054
|
BatchingRule = "BatchingRule",
|
|
31967
|
-
RoutingRule = "RoutingRule",
|
|
31968
32055
|
PackingRule = "PackingRule",
|
|
32056
|
+
ReplenishmentRule = "ReplenishmentRule",
|
|
31969
32057
|
BackstockRule = "BackstockRule",
|
|
31970
32058
|
CarrierAccountRule = "CarrierAccountRule",
|
|
31971
|
-
|
|
32059
|
+
RoutingRule = "RoutingRule",
|
|
31972
32060
|
ShippingMethodRule = "ShippingMethodRule"
|
|
31973
32061
|
}
|
|
31974
32062
|
/** locale for language settings */
|
|
@@ -32769,11 +32857,11 @@ export declare enum PostApiV2RulesRequestState {
|
|
|
32769
32857
|
/** Which type of rule this is */
|
|
32770
32858
|
export declare enum PostApiV2RulesRequestType {
|
|
32771
32859
|
BatchingRule = "BatchingRule",
|
|
32772
|
-
RoutingRule = "RoutingRule",
|
|
32773
32860
|
PackingRule = "PackingRule",
|
|
32861
|
+
ReplenishmentRule = "ReplenishmentRule",
|
|
32774
32862
|
BackstockRule = "BackstockRule",
|
|
32775
32863
|
CarrierAccountRule = "CarrierAccountRule",
|
|
32776
|
-
|
|
32864
|
+
RoutingRule = "RoutingRule",
|
|
32777
32865
|
ShippingMethodRule = "ShippingMethodRule"
|
|
32778
32866
|
}
|
|
32779
32867
|
/** locale for language settings */
|