@flowio/api-prop-types 10.16.84 → 10.16.86
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 +12 -1
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +12 -1
- package/src/api.js +18 -0
package/lib/api.d.ts
CHANGED
|
@@ -2559,6 +2559,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2559
2559
|
type OrganizationPaymentMethodTag = 'deny';
|
|
2560
2560
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
2561
2561
|
type OrganizationType = 'standalone' | 'channel';
|
|
2562
|
+
type OriginLocationSource = 'public_hub_code' | 'merchant_hub_code_override' | 'shopify' | 'fallback_location';
|
|
2562
2563
|
type PackageDimensionsSource = 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated';
|
|
2563
2564
|
type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
2564
2565
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
@@ -2586,7 +2587,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2586
2587
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2587
2588
|
type PriceFacetBoundary = 'min' | 'max';
|
|
2588
2589
|
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';
|
|
2590
|
+
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
2591
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2591
2592
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2592
2593
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -3556,6 +3557,9 @@ declare namespace io.flow.v0.models {
|
|
|
3556
3557
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
3557
3558
|
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
3558
3559
|
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
3560
|
+
readonly 'reference_id'?: string;
|
|
3561
|
+
readonly 'origin_location_source'?: io.flow.v0.enums.OriginLocationSource;
|
|
3562
|
+
readonly 'hub_code'?: string;
|
|
3559
3563
|
}
|
|
3560
3564
|
|
|
3561
3565
|
interface BrowseOptinResponses {
|
|
@@ -5190,6 +5194,8 @@ declare namespace io.flow.v0.models {
|
|
|
5190
5194
|
readonly 'service'?: string;
|
|
5191
5195
|
readonly 'shipment_recipient'?: io.flow.v0.enums.ShipmentRecipient;
|
|
5192
5196
|
readonly 'package_dimensions_source'?: io.flow.v0.enums.PackageDimensionsSource;
|
|
5197
|
+
readonly 'origin_location_source'?: io.flow.v0.enums.OriginLocationSource;
|
|
5198
|
+
readonly 'reference_id'?: string;
|
|
5193
5199
|
}
|
|
5194
5200
|
|
|
5195
5201
|
interface DetailedShippingNotificationForm {
|
|
@@ -7242,6 +7248,9 @@ declare namespace io.flow.v0.models {
|
|
|
7242
7248
|
readonly 'delivered'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7243
7249
|
readonly 'rejected'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7244
7250
|
readonly 'returned'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7251
|
+
readonly 'crossed_border'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7252
|
+
readonly 'destroyed'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7253
|
+
readonly 'return_reversal'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7245
7254
|
}
|
|
7246
7255
|
|
|
7247
7256
|
interface LabelTrackingSummaryUpdate {
|
|
@@ -12086,6 +12095,7 @@ declare namespace io.flow.v0.models {
|
|
|
12086
12095
|
readonly 'items': io.flow.v0.models.LineItemForm[];
|
|
12087
12096
|
readonly 'center_key'?: string;
|
|
12088
12097
|
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
12098
|
+
readonly 'reference_id'?: string;
|
|
12089
12099
|
}
|
|
12090
12100
|
|
|
12091
12101
|
interface SummaryShippingNotificationForm {
|
|
@@ -13312,6 +13322,7 @@ export const orderType: PropTypes.Requireable<io.flow.v0.enums.OrderType>;
|
|
|
13312
13322
|
export const organizationPaymentMethodTag: PropTypes.Requireable<io.flow.v0.enums.OrganizationPaymentMethodTag>;
|
|
13313
13323
|
export const organizationStatus: PropTypes.Requireable<io.flow.v0.enums.OrganizationStatus>;
|
|
13314
13324
|
export const organizationType: PropTypes.Requireable<io.flow.v0.enums.OrganizationType>;
|
|
13325
|
+
export const originLocationSource: PropTypes.Requireable<io.flow.v0.enums.OriginLocationSource>;
|
|
13315
13326
|
export const packageDimensionsSource: PropTypes.Requireable<io.flow.v0.enums.PackageDimensionsSource>;
|
|
13316
13327
|
export const paymentActionType: PropTypes.Requireable<io.flow.v0.enums.PaymentActionType>;
|
|
13317
13328
|
export const paymentErrorCode: PropTypes.Requireable<io.flow.v0.enums.PaymentErrorCode>;
|