@flowio/api-prop-types 10.16.84 → 10.16.85
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.
- package/lib/api.d.ts +8 -1
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +8 -1
- package/src/api.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-prop-types",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.85",
|
|
4
4
|
"description": "PropType validators that work with Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"prop-types": "^15.7.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "0dd960b5d48f8ac9f314c8593a3597630199ba40"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -2586,7 +2586,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2586
2586
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2587
2587
|
type PriceFacetBoundary = 'min' | 'max';
|
|
2588
2588
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2589
|
-
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Restrict by Default' | 'Supplements' | 'Weapon' | 'Wood';
|
|
2589
|
+
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Restrict by Default' | 'Supplements' | 'Tattoo Ink And PMU' | 'Weapon' | 'Wood';
|
|
2590
2590
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2591
2591
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2592
2592
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -3556,6 +3556,8 @@ declare namespace io.flow.v0.models {
|
|
|
3556
3556
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
3557
3557
|
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
3558
3558
|
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
3559
|
+
readonly 'reference_id'?: string;
|
|
3560
|
+
readonly 'hub_code'?: string;
|
|
3559
3561
|
}
|
|
3560
3562
|
|
|
3561
3563
|
interface BrowseOptinResponses {
|
|
@@ -5190,6 +5192,7 @@ declare namespace io.flow.v0.models {
|
|
|
5190
5192
|
readonly 'service'?: string;
|
|
5191
5193
|
readonly 'shipment_recipient'?: io.flow.v0.enums.ShipmentRecipient;
|
|
5192
5194
|
readonly 'package_dimensions_source'?: io.flow.v0.enums.PackageDimensionsSource;
|
|
5195
|
+
readonly 'reference_id'?: string;
|
|
5193
5196
|
}
|
|
5194
5197
|
|
|
5195
5198
|
interface DetailedShippingNotificationForm {
|
|
@@ -7242,6 +7245,9 @@ declare namespace io.flow.v0.models {
|
|
|
7242
7245
|
readonly 'delivered'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7243
7246
|
readonly 'rejected'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7244
7247
|
readonly 'returned'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7248
|
+
readonly 'crossed_border'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7249
|
+
readonly 'destroyed'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7250
|
+
readonly 'return_reversal'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7245
7251
|
}
|
|
7246
7252
|
|
|
7247
7253
|
interface LabelTrackingSummaryUpdate {
|
|
@@ -12086,6 +12092,7 @@ declare namespace io.flow.v0.models {
|
|
|
12086
12092
|
readonly 'items': io.flow.v0.models.LineItemForm[];
|
|
12087
12093
|
readonly 'center_key'?: string;
|
|
12088
12094
|
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
12095
|
+
readonly 'reference_id'?: string;
|
|
12089
12096
|
}
|
|
12090
12097
|
|
|
12091
12098
|
interface SummaryShippingNotificationForm {
|
package/src/api.js
CHANGED
|
@@ -4302,6 +4302,7 @@ T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
|
|
|
4302
4302
|
'Oversized',
|
|
4303
4303
|
'Restrict by Default',
|
|
4304
4304
|
'Supplements',
|
|
4305
|
+
'Tattoo Ink And PMU',
|
|
4305
4306
|
'Weapon',
|
|
4306
4307
|
'Wood',
|
|
4307
4308
|
]);
|
|
@@ -5519,6 +5520,9 @@ T['io.flow.v0.models.label_tracking_summary'] = PropTypes.exact({
|
|
|
5519
5520
|
delivered: T['io.flow.v0.models.label_tracking_summary_update'],
|
|
5520
5521
|
rejected: T['io.flow.v0.models.label_tracking_summary_update'],
|
|
5521
5522
|
returned: T['io.flow.v0.models.label_tracking_summary_update'],
|
|
5523
|
+
crossed_border: T['io.flow.v0.models.label_tracking_summary_update'],
|
|
5524
|
+
destroyed: T['io.flow.v0.models.label_tracking_summary_update'],
|
|
5525
|
+
return_reversal: T['io.flow.v0.models.label_tracking_summary_update'],
|
|
5522
5526
|
});
|
|
5523
5527
|
|
|
5524
5528
|
T['io.flow.v0.models.label_surcharge_detail_per_weight_unit'] = PropTypes.exact({
|
|
@@ -13593,6 +13597,7 @@ T['io.flow.v0.models.summary_shipping_label_form'] = PropTypes.exact({
|
|
|
13593
13597
|
items: PropTypes.arrayOf(T['io.flow.v0.models.line_item_form']).isRequired,
|
|
13594
13598
|
center_key: PropTypes.string,
|
|
13595
13599
|
direction: T['io.flow.v0.enums.direction'],
|
|
13600
|
+
reference_id: PropTypes.string,
|
|
13596
13601
|
});
|
|
13597
13602
|
|
|
13598
13603
|
T['io.flow.v0.models.ratecard_estimate_v4'] = PropTypes.exact({
|
|
@@ -14165,6 +14170,7 @@ T['io.flow.v0.models.detailed_shipping_label_form'] = PropTypes.exact({
|
|
|
14165
14170
|
service: PropTypes.string,
|
|
14166
14171
|
shipment_recipient: T['io.flow.v0.enums.shipment_recipient'],
|
|
14167
14172
|
package_dimensions_source: T['io.flow.v0.enums.package_dimensions_source'],
|
|
14173
|
+
reference_id: PropTypes.string,
|
|
14168
14174
|
});
|
|
14169
14175
|
|
|
14170
14176
|
T['io.flow.v0.models.bridge_shipping_label_form'] = PropTypes.exact({
|
|
@@ -14174,6 +14180,8 @@ T['io.flow.v0.models.bridge_shipping_label_form'] = PropTypes.exact({
|
|
|
14174
14180
|
'package': T['io.flow.v0.models.shipping_label_package'],
|
|
14175
14181
|
origin: T['io.flow.v0.models.shipping_address'],
|
|
14176
14182
|
direction: T['io.flow.v0.enums.direction'],
|
|
14183
|
+
reference_id: PropTypes.string,
|
|
14184
|
+
hub_code: PropTypes.string,
|
|
14177
14185
|
});
|
|
14178
14186
|
|
|
14179
14187
|
T['io.flow.v0.unions.shipping_label_form'] = PropTypes.oneOfType([
|