@flowio/types 11.24.102 → 11.24.104
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/dist/api-internal.d.ts +296 -5
- package/dist/api.d.ts +21 -2
- package/package.json +2 -2
- package/src/api-internal.ts +387 -3
- package/src/api.ts +25 -1
package/dist/api.d.ts
CHANGED
|
@@ -2303,7 +2303,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2303
2303
|
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay' | 'grabpay' | 'vipps' | 'kcp_creditcard';
|
|
2304
2304
|
type PayoutAttachmentType = 'transactions';
|
|
2305
2305
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2306
|
-
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';
|
|
2306
|
+
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';
|
|
2307
2307
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
2308
2308
|
type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
|
|
2309
2309
|
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
@@ -2314,7 +2314,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2314
2314
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2315
2315
|
type PriceFacetBoundary = 'min' | 'max';
|
|
2316
2316
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2317
|
-
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';
|
|
2317
|
+
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';
|
|
2318
2318
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2319
2319
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2320
2320
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -3159,6 +3159,8 @@ declare namespace io.flow.v0.models {
|
|
|
3159
3159
|
readonly package?: io.flow.v0.models.ShippingLabelPackage;
|
|
3160
3160
|
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
3161
3161
|
readonly direction?: io.flow.v0.enums.Direction;
|
|
3162
|
+
readonly reference_id?: string;
|
|
3163
|
+
readonly hub_code?: string;
|
|
3162
3164
|
}
|
|
3163
3165
|
interface BrowseOptinResponses {
|
|
3164
3166
|
readonly id: string;
|
|
@@ -4551,6 +4553,11 @@ declare namespace io.flow.v0.models {
|
|
|
4551
4553
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
4552
4554
|
readonly minimum?: number;
|
|
4553
4555
|
}
|
|
4556
|
+
interface DestinationContactDetail {
|
|
4557
|
+
readonly title: string;
|
|
4558
|
+
readonly country: string;
|
|
4559
|
+
readonly import_identifier: string;
|
|
4560
|
+
}
|
|
4554
4561
|
interface DetailedShippingLabelForm {
|
|
4555
4562
|
readonly discriminator: 'detailed_shipping_label_form';
|
|
4556
4563
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
@@ -4563,6 +4570,7 @@ declare namespace io.flow.v0.models {
|
|
|
4563
4570
|
readonly service?: string;
|
|
4564
4571
|
readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
4565
4572
|
readonly package_dimensions_source?: io.flow.v0.enums.PackageDimensionsSource;
|
|
4573
|
+
readonly reference_id?: string;
|
|
4566
4574
|
}
|
|
4567
4575
|
interface DetailedShippingNotificationForm {
|
|
4568
4576
|
readonly discriminator: 'detailed_shipping_notification_form';
|
|
@@ -5991,6 +5999,7 @@ declare namespace io.flow.v0.models {
|
|
|
5991
5999
|
readonly local?: io.flow.v0.models.Local;
|
|
5992
6000
|
readonly created_at?: string;
|
|
5993
6001
|
readonly updated_at?: string;
|
|
6002
|
+
readonly deleted_at?: string;
|
|
5994
6003
|
}
|
|
5995
6004
|
interface ItemAttributesPatchForm {
|
|
5996
6005
|
readonly attributes: Record<string, string>;
|
|
@@ -6013,6 +6022,7 @@ declare namespace io.flow.v0.models {
|
|
|
6013
6022
|
readonly attributes?: Record<string, string>;
|
|
6014
6023
|
readonly dimensions?: io.flow.v0.models.Dimensions;
|
|
6015
6024
|
readonly images?: io.flow.v0.models.ImageForm[];
|
|
6025
|
+
readonly deleted_at?: string;
|
|
6016
6026
|
}
|
|
6017
6027
|
interface ItemFormOverlay {
|
|
6018
6028
|
readonly id: string;
|
|
@@ -6025,6 +6035,7 @@ declare namespace io.flow.v0.models {
|
|
|
6025
6035
|
readonly attributes?: Record<string, string>;
|
|
6026
6036
|
readonly dimensions?: io.flow.v0.models.Dimensions;
|
|
6027
6037
|
readonly images?: io.flow.v0.models.ImageForm[];
|
|
6038
|
+
readonly deleted_at?: string;
|
|
6028
6039
|
}
|
|
6029
6040
|
interface ItemFormOverlayForm {
|
|
6030
6041
|
readonly number: string;
|
|
@@ -6036,6 +6047,7 @@ declare namespace io.flow.v0.models {
|
|
|
6036
6047
|
readonly attributes?: Record<string, string>;
|
|
6037
6048
|
readonly dimensions?: io.flow.v0.models.Dimensions;
|
|
6038
6049
|
readonly images?: io.flow.v0.models.ImageForm[];
|
|
6050
|
+
readonly deleted_at?: string;
|
|
6039
6051
|
}
|
|
6040
6052
|
interface ItemInserted {
|
|
6041
6053
|
readonly discriminator: 'item_inserted';
|
|
@@ -6314,6 +6326,10 @@ declare namespace io.flow.v0.models {
|
|
|
6314
6326
|
readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6315
6327
|
readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6316
6328
|
readonly rejected?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6329
|
+
readonly returned?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6330
|
+
readonly crossed_border?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6331
|
+
readonly destroyed?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6332
|
+
readonly return_reversal?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
6317
6333
|
}
|
|
6318
6334
|
interface LabelTrackingSummaryUpdate {
|
|
6319
6335
|
readonly timestamp: string;
|
|
@@ -6951,6 +6967,7 @@ declare namespace io.flow.v0.models {
|
|
|
6951
6967
|
readonly tax_registration?: io.flow.v0.models.TaxRegistration;
|
|
6952
6968
|
readonly geo?: io.flow.v0.models.OrderGeo;
|
|
6953
6969
|
readonly device_details?: io.flow.v0.unions.DeviceDetails;
|
|
6970
|
+
readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[];
|
|
6954
6971
|
}
|
|
6955
6972
|
interface OrderAddress {
|
|
6956
6973
|
readonly text?: string;
|
|
@@ -10493,6 +10510,7 @@ declare namespace io.flow.v0.models {
|
|
|
10493
10510
|
readonly items: io.flow.v0.models.LineItemForm[];
|
|
10494
10511
|
readonly center_key?: string;
|
|
10495
10512
|
readonly direction?: io.flow.v0.enums.Direction;
|
|
10513
|
+
readonly reference_id?: string;
|
|
10496
10514
|
}
|
|
10497
10515
|
interface SummaryShippingNotificationForm {
|
|
10498
10516
|
readonly discriminator: 'summary_shipping_notification_form';
|
|
@@ -11872,6 +11890,7 @@ export declare type DeliveryWindowSummary = io.flow.v0.models.DeliveryWindowSumm
|
|
|
11872
11890
|
export declare type Deminimis = io.flow.v0.unions.Deminimis;
|
|
11873
11891
|
export declare type DeminimisPerItem = io.flow.v0.models.DeminimisPerItem;
|
|
11874
11892
|
export declare type DeminimisSimple = io.flow.v0.models.DeminimisSimple;
|
|
11893
|
+
export declare type DestinationContactDetail = io.flow.v0.models.DestinationContactDetail;
|
|
11875
11894
|
export declare type DetailedShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm;
|
|
11876
11895
|
export declare type DetailedShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm;
|
|
11877
11896
|
export declare type DetailedTaxRegistration = io.flow.v0.models.DetailedTaxRegistration;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.104",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "0dd960b5d48f8ac9f314c8593a3597630199ba40"
|
|
29
29
|
}
|