@flowio/api-prop-types 10.16.83 → 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 +22 -2
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +22 -2
- package/src/api.js +23 -0
package/lib/api.d.ts
CHANGED
|
@@ -2575,7 +2575,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2575
2575
|
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay' | 'grabpay' | 'vipps' | 'kcp_creditcard';
|
|
2576
2576
|
type PayoutAttachmentType = 'transactions';
|
|
2577
2577
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2578
|
-
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
|
|
2578
|
+
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance' | 'unfulfilled_amount_greater_than_negative_balance' | 'account_payment_hold';
|
|
2579
2579
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
2580
2580
|
type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
|
|
2581
2581
|
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
@@ -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 {
|
|
@@ -5172,6 +5174,12 @@ declare namespace io.flow.v0.models {
|
|
|
5172
5174
|
readonly 'minimum'?: number;
|
|
5173
5175
|
}
|
|
5174
5176
|
|
|
5177
|
+
interface DestinationContactDetail {
|
|
5178
|
+
readonly 'title': string;
|
|
5179
|
+
readonly 'country': string;
|
|
5180
|
+
readonly 'import_identifier': string;
|
|
5181
|
+
}
|
|
5182
|
+
|
|
5175
5183
|
interface DetailedShippingLabelForm {
|
|
5176
5184
|
readonly 'discriminator': 'detailed_shipping_label_form';
|
|
5177
5185
|
readonly 'destination': io.flow.v0.models.ShippingAddress;
|
|
@@ -5184,6 +5192,7 @@ declare namespace io.flow.v0.models {
|
|
|
5184
5192
|
readonly 'service'?: string;
|
|
5185
5193
|
readonly 'shipment_recipient'?: io.flow.v0.enums.ShipmentRecipient;
|
|
5186
5194
|
readonly 'package_dimensions_source'?: io.flow.v0.enums.PackageDimensionsSource;
|
|
5195
|
+
readonly 'reference_id'?: string;
|
|
5187
5196
|
}
|
|
5188
5197
|
|
|
5189
5198
|
interface DetailedShippingNotificationForm {
|
|
@@ -6859,6 +6868,7 @@ declare namespace io.flow.v0.models {
|
|
|
6859
6868
|
readonly 'local'?: io.flow.v0.models.Local;
|
|
6860
6869
|
readonly 'created_at'?: string;
|
|
6861
6870
|
readonly 'updated_at'?: string;
|
|
6871
|
+
readonly 'deleted_at'?: string;
|
|
6862
6872
|
}
|
|
6863
6873
|
|
|
6864
6874
|
interface ItemAttributesPatchForm {
|
|
@@ -6884,6 +6894,7 @@ declare namespace io.flow.v0.models {
|
|
|
6884
6894
|
readonly 'attributes'?: Record<string, string>;
|
|
6885
6895
|
readonly 'dimensions'?: io.flow.v0.models.Dimensions;
|
|
6886
6896
|
readonly 'images'?: io.flow.v0.models.ImageForm[];
|
|
6897
|
+
readonly 'deleted_at'?: string;
|
|
6887
6898
|
}
|
|
6888
6899
|
|
|
6889
6900
|
interface ItemFormOverlay {
|
|
@@ -6897,6 +6908,7 @@ declare namespace io.flow.v0.models {
|
|
|
6897
6908
|
readonly 'attributes'?: Record<string, string>;
|
|
6898
6909
|
readonly 'dimensions'?: io.flow.v0.models.Dimensions;
|
|
6899
6910
|
readonly 'images'?: io.flow.v0.models.ImageForm[];
|
|
6911
|
+
readonly 'deleted_at'?: string;
|
|
6900
6912
|
}
|
|
6901
6913
|
|
|
6902
6914
|
interface ItemFormOverlayForm {
|
|
@@ -6909,6 +6921,7 @@ declare namespace io.flow.v0.models {
|
|
|
6909
6921
|
readonly 'attributes'?: Record<string, string>;
|
|
6910
6922
|
readonly 'dimensions'?: io.flow.v0.models.Dimensions;
|
|
6911
6923
|
readonly 'images'?: io.flow.v0.models.ImageForm[];
|
|
6924
|
+
readonly 'deleted_at'?: string;
|
|
6912
6925
|
}
|
|
6913
6926
|
|
|
6914
6927
|
interface ItemInserted {
|
|
@@ -7231,6 +7244,10 @@ declare namespace io.flow.v0.models {
|
|
|
7231
7244
|
readonly 'in_transit': io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7232
7245
|
readonly 'delivered'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7233
7246
|
readonly 'rejected'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
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;
|
|
7234
7251
|
}
|
|
7235
7252
|
|
|
7236
7253
|
interface LabelTrackingSummaryUpdate {
|
|
@@ -7966,6 +7983,7 @@ declare namespace io.flow.v0.models {
|
|
|
7966
7983
|
readonly 'tax_registration'?: io.flow.v0.models.TaxRegistration;
|
|
7967
7984
|
readonly 'geo'?: io.flow.v0.models.OrderGeo;
|
|
7968
7985
|
readonly 'device_details'?: io.flow.v0.unions.DeviceDetails;
|
|
7986
|
+
readonly 'destination_contact_details'?: io.flow.v0.models.DestinationContactDetail[];
|
|
7969
7987
|
}
|
|
7970
7988
|
|
|
7971
7989
|
interface OrderAddress {
|
|
@@ -12074,6 +12092,7 @@ declare namespace io.flow.v0.models {
|
|
|
12074
12092
|
readonly 'items': io.flow.v0.models.LineItemForm[];
|
|
12075
12093
|
readonly 'center_key'?: string;
|
|
12076
12094
|
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
12095
|
+
readonly 'reference_id'?: string;
|
|
12077
12096
|
}
|
|
12078
12097
|
|
|
12079
12098
|
interface SummaryShippingNotificationForm {
|
|
@@ -13744,6 +13763,7 @@ export const deliveryWindowComponentsV2: PropTypes.Requireable<io.flow.v0.models
|
|
|
13744
13763
|
export const deliveryWindowSummary: PropTypes.Requireable<io.flow.v0.models.DeliveryWindowSummary>;
|
|
13745
13764
|
export const deminimisPerItem: PropTypes.Requireable<io.flow.v0.models.DeminimisPerItem>;
|
|
13746
13765
|
export const deminimisSimple: PropTypes.Requireable<io.flow.v0.models.DeminimisSimple>;
|
|
13766
|
+
export const destinationContactDetail: PropTypes.Requireable<io.flow.v0.models.DestinationContactDetail>;
|
|
13747
13767
|
export const detailedShippingLabelForm: PropTypes.Requireable<io.flow.v0.models.DetailedShippingLabelForm>;
|
|
13748
13768
|
export const detailedShippingNotificationForm: PropTypes.Requireable<io.flow.v0.models.DetailedShippingNotificationForm>;
|
|
13749
13769
|
export const detailedTaxRegistration: PropTypes.Requireable<io.flow.v0.models.DetailedTaxRegistration>;
|