@flowio/types 11.19.33 → 11.19.35
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 +135 -64
- package/dist/api.d.ts +49 -20
- package/package.json +2 -2
- package/src/api-internal.ts +171 -83
- package/src/api.ts +57 -25
package/dist/api-internal.d.ts
CHANGED
|
@@ -3842,11 +3842,6 @@ declare namespace io.flow.label.v0.models {
|
|
|
3842
3842
|
readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3843
3843
|
readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
|
|
3844
3844
|
}
|
|
3845
|
-
interface FlowShippingLabelRatecardSummary {
|
|
3846
|
-
readonly discriminator: 'flow';
|
|
3847
|
-
readonly id: string;
|
|
3848
|
-
readonly cost: io.flow.common.v0.models.Money;
|
|
3849
|
-
}
|
|
3850
3845
|
interface LabelOrderSummary {
|
|
3851
3846
|
readonly id: string;
|
|
3852
3847
|
readonly number: string;
|
|
@@ -3862,14 +3857,9 @@ declare namespace io.flow.label.v0.models {
|
|
|
3862
3857
|
readonly tracking_numbers: string[];
|
|
3863
3858
|
readonly service?: string;
|
|
3864
3859
|
}
|
|
3865
|
-
interface OrganizationShippingLabelRatecardSummary {
|
|
3866
|
-
readonly discriminator: 'organization';
|
|
3867
|
-
readonly id: string;
|
|
3868
|
-
readonly cost?: io.flow.common.v0.models.Money;
|
|
3869
|
-
}
|
|
3870
3860
|
interface ShippingLabel {
|
|
3871
3861
|
readonly id: string;
|
|
3872
|
-
readonly
|
|
3862
|
+
readonly hop?: io.flow.label.v0.models.ShippingLabelHopSummary;
|
|
3873
3863
|
readonly attributes: Record<string, string>;
|
|
3874
3864
|
readonly carrier_tracking_number: string;
|
|
3875
3865
|
readonly carrier_tracking_number_url: string;
|
|
@@ -3898,11 +3888,23 @@ declare namespace io.flow.label.v0.models {
|
|
|
3898
3888
|
readonly html?: string;
|
|
3899
3889
|
readonly required: boolean;
|
|
3900
3890
|
}
|
|
3891
|
+
interface ShippingLabelHopSummary {
|
|
3892
|
+
readonly lane: io.flow.label.v0.models.ShippingLabelLaneSummary;
|
|
3893
|
+
readonly cost: io.flow.common.v0.models.Money;
|
|
3894
|
+
}
|
|
3895
|
+
interface ShippingLabelLaneSummary {
|
|
3896
|
+
readonly id: string;
|
|
3897
|
+
readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
3898
|
+
}
|
|
3901
3899
|
interface ShippingLabelPackage {
|
|
3902
3900
|
readonly dimensions: io.flow.common.v0.models.Dimension;
|
|
3903
3901
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
3904
3902
|
readonly reference_number?: string;
|
|
3905
3903
|
}
|
|
3904
|
+
interface ShippingLabelRatecardSummary {
|
|
3905
|
+
readonly id: string;
|
|
3906
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3907
|
+
}
|
|
3906
3908
|
interface ShippingLabelSummary {
|
|
3907
3909
|
readonly id: string;
|
|
3908
3910
|
readonly flow_tracking_number: string;
|
|
@@ -3962,7 +3964,6 @@ declare namespace io.flow.label.v0.models {
|
|
|
3962
3964
|
}
|
|
3963
3965
|
declare namespace io.flow.label.v0.unions {
|
|
3964
3966
|
type ShippingLabelForm = io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm;
|
|
3965
|
-
type ShippingLabelRatecardSummary = io.flow.label.v0.models.FlowShippingLabelRatecardSummary | io.flow.label.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
3966
3967
|
type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm;
|
|
3967
3968
|
}
|
|
3968
3969
|
declare namespace io.flow.external.paypal.v1.enums {
|
|
@@ -4719,6 +4720,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4719
4720
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4720
4721
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
4721
4722
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
4723
|
+
readonly mcc?: string;
|
|
4724
|
+
readonly metadata?: any;
|
|
4722
4725
|
}
|
|
4723
4726
|
interface AuthorizeRequest3D {
|
|
4724
4727
|
readonly merchantAccount: string;
|
|
@@ -4880,6 +4883,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4880
4883
|
readonly origin?: string;
|
|
4881
4884
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
4882
4885
|
readonly returnUrl?: string;
|
|
4886
|
+
readonly mcc?: string;
|
|
4887
|
+
readonly metadata?: any;
|
|
4883
4888
|
}
|
|
4884
4889
|
interface PaymentResponse {
|
|
4885
4890
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -5832,7 +5837,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
5832
5837
|
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
5833
5838
|
type ShopifyOrderValueType = 'string' | 'integer';
|
|
5834
5839
|
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
5835
|
-
type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
|
|
5840
|
+
type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
|
|
5836
5841
|
}
|
|
5837
5842
|
declare namespace io.flow.shopify.markets.v0.models {
|
|
5838
5843
|
interface ResponseShopifyTransactions {
|
|
@@ -6260,6 +6265,27 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6260
6265
|
readonly kind: string;
|
|
6261
6266
|
readonly gateway: string;
|
|
6262
6267
|
}
|
|
6268
|
+
interface ShopifyWebhookCustomersDataRequest {
|
|
6269
|
+
readonly shop_id: number;
|
|
6270
|
+
readonly shop_domain: string;
|
|
6271
|
+
readonly orders_requested: number[];
|
|
6272
|
+
readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
6273
|
+
readonly data_request: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId;
|
|
6274
|
+
}
|
|
6275
|
+
interface ShopifyWebhookCustomersDataRequestId {
|
|
6276
|
+
readonly id: number;
|
|
6277
|
+
}
|
|
6278
|
+
interface ShopifyWebhookCustomersRedact {
|
|
6279
|
+
readonly shop_id: number;
|
|
6280
|
+
readonly shop_domain: string;
|
|
6281
|
+
readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
6282
|
+
readonly orders_to_redact?: number[];
|
|
6283
|
+
}
|
|
6284
|
+
interface ShopifyWebhookCustomersRedactCustomer {
|
|
6285
|
+
readonly id: number;
|
|
6286
|
+
readonly email?: string;
|
|
6287
|
+
readonly phone?: string;
|
|
6288
|
+
}
|
|
6263
6289
|
interface ShopifyWebhookRequest {
|
|
6264
6290
|
readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
|
|
6265
6291
|
readonly address: string;
|
|
@@ -6283,6 +6309,10 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6283
6309
|
interface ShopifyWebhookResponseWrapper {
|
|
6284
6310
|
readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
6285
6311
|
}
|
|
6312
|
+
interface ShopifyWebhookShopRedact {
|
|
6313
|
+
readonly shop_id: number;
|
|
6314
|
+
readonly shop_domain: string;
|
|
6315
|
+
}
|
|
6286
6316
|
interface ShopifyWebhooksResponseWrapper {
|
|
6287
6317
|
readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
|
|
6288
6318
|
}
|
|
@@ -7081,6 +7111,25 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7081
7111
|
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
7082
7112
|
readonly total: number;
|
|
7083
7113
|
}
|
|
7114
|
+
interface HopEstimateV2 {
|
|
7115
|
+
readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
7116
|
+
readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
7117
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
7118
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
7119
|
+
readonly currency: string;
|
|
7120
|
+
readonly amount: number;
|
|
7121
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
7122
|
+
readonly total: number;
|
|
7123
|
+
readonly lane: io.flow.ratecard.v0.models.LaneSummary;
|
|
7124
|
+
}
|
|
7125
|
+
interface HopV2 {
|
|
7126
|
+
readonly hop_number: number;
|
|
7127
|
+
readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimateV2;
|
|
7128
|
+
}
|
|
7129
|
+
interface LaneSummary {
|
|
7130
|
+
readonly id: string;
|
|
7131
|
+
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
7132
|
+
}
|
|
7084
7133
|
interface OversizedShipmentRatecardFee {
|
|
7085
7134
|
readonly discriminator: 'oversized_shipment_ratecard_fee';
|
|
7086
7135
|
readonly weight_threshold: number;
|
|
@@ -7173,6 +7222,14 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7173
7222
|
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
7174
7223
|
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
7175
7224
|
}
|
|
7225
|
+
interface RatecardEstimateV4 {
|
|
7226
|
+
readonly discriminator: 'ratecard_estimate_v4';
|
|
7227
|
+
readonly hops: io.flow.ratecard.v0.models.HopV2[];
|
|
7228
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
7229
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
7230
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
7231
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
7232
|
+
}
|
|
7176
7233
|
interface RatecardForm {
|
|
7177
7234
|
readonly direction: io.flow.label.v0.enums.Direction;
|
|
7178
7235
|
readonly effective_at: string;
|
|
@@ -7290,7 +7347,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7290
7347
|
}
|
|
7291
7348
|
}
|
|
7292
7349
|
declare namespace io.flow.ratecard.v0.unions {
|
|
7293
|
-
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3;
|
|
7350
|
+
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3 | io.flow.ratecard.v0.models.RatecardEstimateV4;
|
|
7294
7351
|
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
7295
7352
|
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
7296
7353
|
}
|
|
@@ -9365,8 +9422,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9365
9422
|
type CheckoutAddressSource = 'inputs' | 'address_book';
|
|
9366
9423
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
9367
9424
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
9368
|
-
type
|
|
9369
|
-
type
|
|
9425
|
+
type CheckoutConnectByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
9426
|
+
type CheckoutConnectBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
9370
9427
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
9371
9428
|
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
9372
9429
|
type CheckoutCreateByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
@@ -9438,6 +9495,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9438
9495
|
type DeliveredDutyOptionMessageType = 'warning' | 'notification';
|
|
9439
9496
|
type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
|
|
9440
9497
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
9498
|
+
type DisputeBillable = 'flow' | 'organization';
|
|
9441
9499
|
type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
|
|
9442
9500
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
9443
9501
|
type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
|
|
@@ -9494,6 +9552,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9494
9552
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
9495
9553
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
9496
9554
|
type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
|
|
9555
|
+
type NewRevenueStatementStatus = 'created' | 'transactions_assigned' | 'statement_generated' | 'statement_regenerated';
|
|
9497
9556
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
9498
9557
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
9499
9558
|
type OrderAttributeIntent = 'discount_code';
|
|
@@ -10909,38 +10968,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10909
10968
|
interface CheckoutBehaviorShippingMethod {
|
|
10910
10969
|
readonly prompt: io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
|
|
10911
10970
|
}
|
|
10912
|
-
interface CheckoutBootstrapByOrderQuoteError {
|
|
10913
|
-
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
10914
|
-
readonly message: string;
|
|
10915
|
-
}
|
|
10916
|
-
interface CheckoutBootstrapByOrderQuoteRequestForm {
|
|
10917
|
-
readonly discriminator: 'checkout_bootstrap_by_order_quote_request_form';
|
|
10918
|
-
readonly order_quote_id: string;
|
|
10919
|
-
}
|
|
10920
|
-
interface CheckoutBootstrapByOrderQuoteResponseError {
|
|
10921
|
-
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_error';
|
|
10922
|
-
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError[];
|
|
10923
|
-
}
|
|
10924
|
-
interface CheckoutBootstrapByOrderQuoteResponseSuccess {
|
|
10925
|
-
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_success';
|
|
10926
|
-
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
10927
|
-
}
|
|
10928
|
-
interface CheckoutBootstrapBySessionError {
|
|
10929
|
-
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
10930
|
-
readonly message: string;
|
|
10931
|
-
}
|
|
10932
|
-
interface CheckoutBootstrapBySessionRequestForm {
|
|
10933
|
-
readonly discriminator: 'checkout_bootstrap_by_session_request_form';
|
|
10934
|
-
readonly session_id: string;
|
|
10935
|
-
}
|
|
10936
|
-
interface CheckoutBootstrapBySessionResponseError {
|
|
10937
|
-
readonly discriminator: 'checkout_bootstrap_by_session_response_error';
|
|
10938
|
-
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapBySessionError[];
|
|
10939
|
-
}
|
|
10940
|
-
interface CheckoutBootstrapBySessionResponseSuccess {
|
|
10941
|
-
readonly discriminator: 'checkout_bootstrap_by_session_response_success';
|
|
10942
|
-
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
10943
|
-
}
|
|
10944
10971
|
interface CheckoutBundle {
|
|
10945
10972
|
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
10946
10973
|
readonly order: io.flow.experience.v0.models.Order;
|
|
@@ -10992,6 +11019,42 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10992
11019
|
readonly organization: string;
|
|
10993
11020
|
readonly checkout_configuration: io.flow.internal.v0.models.CheckoutConfiguration;
|
|
10994
11021
|
}
|
|
11022
|
+
interface CheckoutConnectByOrderQuoteError {
|
|
11023
|
+
readonly code: io.flow.internal.v0.enums.CheckoutConnectByOrderQuoteErrorCode;
|
|
11024
|
+
readonly message: string;
|
|
11025
|
+
}
|
|
11026
|
+
interface CheckoutConnectByOrderQuoteRequestForm {
|
|
11027
|
+
readonly discriminator: 'checkout_connect_by_order_quote_request_form';
|
|
11028
|
+
readonly order_quote_id: string;
|
|
11029
|
+
}
|
|
11030
|
+
interface CheckoutConnectByOrderQuoteResponseError {
|
|
11031
|
+
readonly discriminator: 'checkout_connect_by_order_quote_response_error';
|
|
11032
|
+
readonly errors: io.flow.internal.v0.models.CheckoutConnectByOrderQuoteError[];
|
|
11033
|
+
}
|
|
11034
|
+
interface CheckoutConnectByOrderQuoteResponseSuccess {
|
|
11035
|
+
readonly discriminator: 'checkout_connect_by_order_quote_response_success';
|
|
11036
|
+
readonly connection_parameters: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
11037
|
+
}
|
|
11038
|
+
interface CheckoutConnectBySessionError {
|
|
11039
|
+
readonly code: io.flow.internal.v0.enums.CheckoutConnectBySessionErrorCode;
|
|
11040
|
+
readonly message: string;
|
|
11041
|
+
}
|
|
11042
|
+
interface CheckoutConnectBySessionRequestForm {
|
|
11043
|
+
readonly discriminator: 'checkout_connect_by_session_request_form';
|
|
11044
|
+
readonly session_id: string;
|
|
11045
|
+
}
|
|
11046
|
+
interface CheckoutConnectBySessionResponseError {
|
|
11047
|
+
readonly discriminator: 'checkout_connect_by_session_response_error';
|
|
11048
|
+
readonly errors: io.flow.internal.v0.models.CheckoutConnectBySessionError[];
|
|
11049
|
+
}
|
|
11050
|
+
interface CheckoutConnectBySessionResponseSuccess {
|
|
11051
|
+
readonly discriminator: 'checkout_connect_by_session_response_success';
|
|
11052
|
+
readonly connection_parameters: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
11053
|
+
}
|
|
11054
|
+
interface CheckoutConnectionParameters {
|
|
11055
|
+
readonly session: io.flow.common.v0.models.SessionReference;
|
|
11056
|
+
readonly geo: io.flow.internal.v0.models.CheckoutGeoParameters;
|
|
11057
|
+
}
|
|
10995
11058
|
interface CheckoutContact {
|
|
10996
11059
|
readonly email?: string;
|
|
10997
11060
|
readonly phone?: string;
|
|
@@ -11046,6 +11109,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11046
11109
|
interface CheckoutCreateByOrderQuoteRequestForm {
|
|
11047
11110
|
readonly discriminator: 'checkout_create_by_order_quote_request_form';
|
|
11048
11111
|
readonly order_quote_id: string;
|
|
11112
|
+
readonly connection_parameters?: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
11049
11113
|
}
|
|
11050
11114
|
interface CheckoutCreateByOrderQuoteResponseError {
|
|
11051
11115
|
readonly discriminator: 'checkout_create_by_order_quote_response_error';
|
|
@@ -11063,6 +11127,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11063
11127
|
readonly discriminator: 'checkout_create_by_session_by_customer_token_request_form';
|
|
11064
11128
|
readonly session_id: string;
|
|
11065
11129
|
readonly customer_token: string;
|
|
11130
|
+
readonly connection_parameters?: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
11066
11131
|
}
|
|
11067
11132
|
interface CheckoutCreateBySessionByCustomerTokenResponseError {
|
|
11068
11133
|
readonly discriminator: 'checkout_create_by_session_by_customer_token_response_error';
|
|
@@ -11096,6 +11161,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11096
11161
|
interface CheckoutCreateBySessionRequestForm {
|
|
11097
11162
|
readonly discriminator: 'checkout_create_by_session_request_form';
|
|
11098
11163
|
readonly session_id: string;
|
|
11164
|
+
readonly connection_parameters?: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
11099
11165
|
}
|
|
11100
11166
|
interface CheckoutCreateBySessionResponseError {
|
|
11101
11167
|
readonly discriminator: 'checkout_create_by_session_response_error';
|
|
@@ -12868,6 +12934,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12868
12934
|
readonly reason: string;
|
|
12869
12935
|
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
12870
12936
|
readonly liability: io.flow.internal.v0.enums.DisputeLiability;
|
|
12937
|
+
readonly billable: io.flow.internal.v0.enums.DisputeBillable;
|
|
12871
12938
|
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
12872
12939
|
readonly issued_at: string;
|
|
12873
12940
|
readonly expires_at?: string;
|
|
@@ -12926,6 +12993,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12926
12993
|
readonly discriminator: 'dispute_transaction';
|
|
12927
12994
|
readonly id: string;
|
|
12928
12995
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
12996
|
+
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
12929
12997
|
readonly posted_at: string;
|
|
12930
12998
|
readonly value: io.flow.common.v0.models.Price;
|
|
12931
12999
|
readonly description: string;
|
|
@@ -17972,9 +18040,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17972
18040
|
type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
17973
18041
|
type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
|
|
17974
18042
|
type CheckoutAnalyticsPayment = io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
17975
|
-
type CheckoutBootstrapByOrderQuoteResponse = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
17976
|
-
type CheckoutBootstrapBySessionResponse = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError | io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
17977
18043
|
type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
18044
|
+
type CheckoutConnectByOrderQuoteResponse = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseSuccess;
|
|
18045
|
+
type CheckoutConnectBySessionResponse = io.flow.internal.v0.models.CheckoutConnectBySessionResponseError | io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess;
|
|
17978
18046
|
type CheckoutCreateAuthorizationDetailsResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
17979
18047
|
type CheckoutCreateByOrderQuoteResponse = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
|
|
17980
18048
|
type CheckoutCreateBySessionByCustomerTokenResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
|
|
@@ -17995,8 +18063,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17995
18063
|
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
17996
18064
|
type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
|
|
17997
18065
|
type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated;
|
|
17998
|
-
type CheckoutRequestForm = io.flow.internal.v0.models.
|
|
17999
|
-
type CheckoutResponse = io.flow.internal.v0.models.
|
|
18066
|
+
type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteRequestForm | io.flow.internal.v0.models.CheckoutConnectBySessionRequestForm | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
18067
|
+
type CheckoutResponse = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseSuccess | io.flow.internal.v0.models.CheckoutConnectBySessionResponseError | io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
18000
18068
|
type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
18001
18069
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
18002
18070
|
type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
@@ -18375,18 +18443,6 @@ export declare type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.Ch
|
|
|
18375
18443
|
export declare type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
|
|
18376
18444
|
export declare type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
|
|
18377
18445
|
export declare type CheckoutBehaviorShippingMethod = io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
|
|
18378
|
-
export declare type CheckoutBootstrapByOrderQuoteError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError;
|
|
18379
|
-
export declare type CheckoutBootstrapByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
18380
|
-
export declare type CheckoutBootstrapByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm;
|
|
18381
|
-
export declare type CheckoutBootstrapByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutBootstrapByOrderQuoteResponse;
|
|
18382
|
-
export declare type CheckoutBootstrapByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError;
|
|
18383
|
-
export declare type CheckoutBootstrapByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
18384
|
-
export declare type CheckoutBootstrapBySessionError = io.flow.internal.v0.models.CheckoutBootstrapBySessionError;
|
|
18385
|
-
export declare type CheckoutBootstrapBySessionErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
18386
|
-
export declare type CheckoutBootstrapBySessionRequestForm = io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm;
|
|
18387
|
-
export declare type CheckoutBootstrapBySessionResponse = io.flow.internal.v0.unions.CheckoutBootstrapBySessionResponse;
|
|
18388
|
-
export declare type CheckoutBootstrapBySessionResponseError = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError;
|
|
18389
|
-
export declare type CheckoutBootstrapBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
18390
18446
|
export declare type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
|
|
18391
18447
|
export declare type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
|
|
18392
18448
|
export declare type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
|
|
@@ -18395,6 +18451,19 @@ export declare type CheckoutConfigurationForm = io.flow.internal.v0.models.Check
|
|
|
18395
18451
|
export declare type CheckoutConfigurationReference = io.flow.internal.v0.models.CheckoutConfigurationReference;
|
|
18396
18452
|
export declare type CheckoutConfigurationUpserted = io.flow.internal.v0.models.CheckoutConfigurationUpserted;
|
|
18397
18453
|
export declare type CheckoutConfirmationDetails = io.flow.internal.v0.unions.CheckoutConfirmationDetails;
|
|
18454
|
+
export declare type CheckoutConnectByOrderQuoteError = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteError;
|
|
18455
|
+
export declare type CheckoutConnectByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutConnectByOrderQuoteErrorCode;
|
|
18456
|
+
export declare type CheckoutConnectByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteRequestForm;
|
|
18457
|
+
export declare type CheckoutConnectByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutConnectByOrderQuoteResponse;
|
|
18458
|
+
export declare type CheckoutConnectByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseError;
|
|
18459
|
+
export declare type CheckoutConnectByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseSuccess;
|
|
18460
|
+
export declare type CheckoutConnectBySessionError = io.flow.internal.v0.models.CheckoutConnectBySessionError;
|
|
18461
|
+
export declare type CheckoutConnectBySessionErrorCode = io.flow.internal.v0.enums.CheckoutConnectBySessionErrorCode;
|
|
18462
|
+
export declare type CheckoutConnectBySessionRequestForm = io.flow.internal.v0.models.CheckoutConnectBySessionRequestForm;
|
|
18463
|
+
export declare type CheckoutConnectBySessionResponse = io.flow.internal.v0.unions.CheckoutConnectBySessionResponse;
|
|
18464
|
+
export declare type CheckoutConnectBySessionResponseError = io.flow.internal.v0.models.CheckoutConnectBySessionResponseError;
|
|
18465
|
+
export declare type CheckoutConnectBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess;
|
|
18466
|
+
export declare type CheckoutConnectionParameters = io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
18398
18467
|
export declare type CheckoutContact = io.flow.internal.v0.models.CheckoutContact;
|
|
18399
18468
|
export declare type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
|
|
18400
18469
|
export declare type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
|
|
@@ -18929,6 +18998,7 @@ export declare type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enu
|
|
|
18929
18998
|
export declare type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm;
|
|
18930
18999
|
export declare type Dispute = io.flow.internal.v0.models.Dispute;
|
|
18931
19000
|
export declare type DisputeAuthorizationReference = io.flow.internal.v0.models.DisputeAuthorizationReference;
|
|
19001
|
+
export declare type DisputeBillable = io.flow.internal.v0.enums.DisputeBillable;
|
|
18932
19002
|
export declare type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory;
|
|
18933
19003
|
export declare type DisputeDeleted = io.flow.internal.v0.models.DisputeDeleted;
|
|
18934
19004
|
export declare type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails;
|
|
@@ -19396,6 +19466,7 @@ export declare type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
|
19396
19466
|
export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
19397
19467
|
export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
|
|
19398
19468
|
export declare type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
|
|
19469
|
+
export declare type NewRevenueStatementStatus = io.flow.internal.v0.enums.NewRevenueStatementStatus;
|
|
19399
19470
|
export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
|
|
19400
19471
|
export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
19401
19472
|
export declare type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm;
|
package/dist/api.d.ts
CHANGED
|
@@ -4812,6 +4812,7 @@ declare namespace io.flow.v0.models {
|
|
|
4812
4812
|
readonly item: io.flow.v0.models.LocalizedItemPrice;
|
|
4813
4813
|
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
4814
4814
|
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
4815
|
+
readonly shipping_price?: io.flow.v0.models.Price;
|
|
4815
4816
|
readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
|
|
4816
4817
|
}
|
|
4817
4818
|
interface ExportVersion {
|
|
@@ -4864,11 +4865,6 @@ declare namespace io.flow.v0.models {
|
|
|
4864
4865
|
interface FlowItemIndexMetadata {
|
|
4865
4866
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4866
4867
|
}
|
|
4867
|
-
interface FlowShippingLabelRatecardSummary {
|
|
4868
|
-
readonly discriminator: 'flow';
|
|
4869
|
-
readonly id: string;
|
|
4870
|
-
readonly cost: io.flow.v0.models.Money;
|
|
4871
|
-
}
|
|
4872
4868
|
interface FraudEmailRule {
|
|
4873
4869
|
readonly id?: string;
|
|
4874
4870
|
readonly email: string;
|
|
@@ -5163,6 +5159,21 @@ declare namespace io.flow.v0.models {
|
|
|
5163
5159
|
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
5164
5160
|
readonly total: number;
|
|
5165
5161
|
}
|
|
5162
|
+
interface HopEstimateV2 {
|
|
5163
|
+
readonly origin_address: io.flow.v0.models.ShippingAddress;
|
|
5164
|
+
readonly destination_address: io.flow.v0.models.ShippingAddress;
|
|
5165
|
+
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
5166
|
+
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
5167
|
+
readonly currency: string;
|
|
5168
|
+
readonly amount: number;
|
|
5169
|
+
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
5170
|
+
readonly total: number;
|
|
5171
|
+
readonly lane: io.flow.v0.models.LaneSummary;
|
|
5172
|
+
}
|
|
5173
|
+
interface HopV2 {
|
|
5174
|
+
readonly hop_number: number;
|
|
5175
|
+
readonly hop_estimate: io.flow.v0.models.HopEstimateV2;
|
|
5176
|
+
}
|
|
5166
5177
|
interface Hs10 {
|
|
5167
5178
|
readonly id: string;
|
|
5168
5179
|
readonly item: io.flow.v0.models.HarmonizedItemReference;
|
|
@@ -5717,6 +5728,10 @@ declare namespace io.flow.v0.models {
|
|
|
5717
5728
|
readonly effective_duty: io.flow.v0.models.Duty;
|
|
5718
5729
|
readonly tax: io.flow.v0.models.Tax;
|
|
5719
5730
|
}
|
|
5731
|
+
interface LaneSummary {
|
|
5732
|
+
readonly id: string;
|
|
5733
|
+
readonly ratecard: io.flow.v0.models.RatecardSummary;
|
|
5734
|
+
}
|
|
5720
5735
|
interface Language {
|
|
5721
5736
|
readonly name: string;
|
|
5722
5737
|
readonly iso_639_2: string;
|
|
@@ -6071,9 +6086,6 @@ declare namespace io.flow.v0.models {
|
|
|
6071
6086
|
readonly first?: string;
|
|
6072
6087
|
readonly last?: string;
|
|
6073
6088
|
}
|
|
6074
|
-
interface NewChannelRate {
|
|
6075
|
-
readonly placeholder?: string;
|
|
6076
|
-
}
|
|
6077
6089
|
interface NoInventoryReservationError {
|
|
6078
6090
|
readonly code: 'no_inventory';
|
|
6079
6091
|
readonly messages: string[];
|
|
@@ -6918,11 +6930,6 @@ declare namespace io.flow.v0.models {
|
|
|
6918
6930
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
6919
6931
|
readonly environment: io.flow.v0.enums.Environment;
|
|
6920
6932
|
}
|
|
6921
|
-
interface OrganizationShippingLabelRatecardSummary {
|
|
6922
|
-
readonly discriminator: 'organization';
|
|
6923
|
-
readonly id: string;
|
|
6924
|
-
readonly cost?: io.flow.v0.models.Money;
|
|
6925
|
-
}
|
|
6926
6933
|
interface OrganizationShortId {
|
|
6927
6934
|
readonly id: string;
|
|
6928
6935
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
@@ -7987,6 +7994,14 @@ declare namespace io.flow.v0.models {
|
|
|
7987
7994
|
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
7988
7995
|
readonly ratecard: io.flow.v0.models.RatecardSummary;
|
|
7989
7996
|
}
|
|
7997
|
+
interface RatecardEstimateV4 {
|
|
7998
|
+
readonly discriminator: 'ratecard_estimate_v4';
|
|
7999
|
+
readonly hops: io.flow.v0.models.HopV2[];
|
|
8000
|
+
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
8001
|
+
readonly dimensional_weight?: io.flow.v0.models.Measurement;
|
|
8002
|
+
readonly gravitational_weight?: io.flow.v0.models.Measurement;
|
|
8003
|
+
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
8004
|
+
}
|
|
7990
8005
|
interface RatecardForm {
|
|
7991
8006
|
readonly direction: io.flow.v0.enums.Direction;
|
|
7992
8007
|
readonly effective_at: string;
|
|
@@ -8754,7 +8769,7 @@ declare namespace io.flow.v0.models {
|
|
|
8754
8769
|
}
|
|
8755
8770
|
interface ShippingLabel {
|
|
8756
8771
|
readonly id: string;
|
|
8757
|
-
readonly
|
|
8772
|
+
readonly hop?: io.flow.v0.models.ShippingLabelHopSummary;
|
|
8758
8773
|
readonly attributes: Record<string, string>;
|
|
8759
8774
|
readonly carrier_tracking_number: string;
|
|
8760
8775
|
readonly carrier_tracking_number_url: string;
|
|
@@ -8783,11 +8798,23 @@ declare namespace io.flow.v0.models {
|
|
|
8783
8798
|
readonly html?: string;
|
|
8784
8799
|
readonly required: boolean;
|
|
8785
8800
|
}
|
|
8801
|
+
interface ShippingLabelHopSummary {
|
|
8802
|
+
readonly lane: io.flow.v0.models.ShippingLabelLaneSummary;
|
|
8803
|
+
readonly cost: io.flow.v0.models.Money;
|
|
8804
|
+
}
|
|
8805
|
+
interface ShippingLabelLaneSummary {
|
|
8806
|
+
readonly id: string;
|
|
8807
|
+
readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
8808
|
+
}
|
|
8786
8809
|
interface ShippingLabelPackage {
|
|
8787
8810
|
readonly dimensions: io.flow.v0.models.Dimension;
|
|
8788
8811
|
readonly items: io.flow.v0.models.LineItemForm[];
|
|
8789
8812
|
readonly reference_number?: string;
|
|
8790
8813
|
}
|
|
8814
|
+
interface ShippingLabelRatecardSummary {
|
|
8815
|
+
readonly id: string;
|
|
8816
|
+
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
8817
|
+
}
|
|
8791
8818
|
interface ShippingLabelSummary {
|
|
8792
8819
|
readonly id: string;
|
|
8793
8820
|
readonly flow_tracking_number: string;
|
|
@@ -9877,7 +9904,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9877
9904
|
type QueryBuilderForm = io.flow.v0.models.QueryBuilderFilterForm | io.flow.v0.models.QueryBuilderQueryForm;
|
|
9878
9905
|
type QueryFilter = io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured;
|
|
9879
9906
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
9880
|
-
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3;
|
|
9907
|
+
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3 | io.flow.v0.models.RatecardEstimateV4;
|
|
9881
9908
|
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9882
9909
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
9883
9910
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
@@ -9887,7 +9914,6 @@ declare namespace io.flow.v0.unions {
|
|
|
9887
9914
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
9888
9915
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
9889
9916
|
type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
|
|
9890
|
-
type ShippingLabelRatecardSummary = io.flow.v0.models.FlowShippingLabelRatecardSummary | io.flow.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
9891
9917
|
type ShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm | io.flow.v0.models.SummaryShippingNotificationForm;
|
|
9892
9918
|
type ShopifyCartAddForm = io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
9893
9919
|
type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
|
|
@@ -10407,7 +10433,6 @@ export declare type FlowCenterReference = io.flow.v0.models.FlowCenterReference;
|
|
|
10407
10433
|
export declare type FlowEntity = io.flow.v0.enums.FlowEntity;
|
|
10408
10434
|
export declare type FlowItemIndexMetadata = io.flow.v0.models.FlowItemIndexMetadata;
|
|
10409
10435
|
export declare type FlowRole = io.flow.v0.enums.FlowRole;
|
|
10410
|
-
export declare type FlowShippingLabelRatecardSummary = io.flow.v0.models.FlowShippingLabelRatecardSummary;
|
|
10411
10436
|
export declare type FraudEmailRule = io.flow.v0.models.FraudEmailRule;
|
|
10412
10437
|
export declare type FraudEmailRuleDecision = io.flow.v0.enums.FraudEmailRuleDecision;
|
|
10413
10438
|
export declare type FraudEmailRuleForm = io.flow.v0.models.FraudEmailRuleForm;
|
|
@@ -10473,6 +10498,8 @@ export declare type Healthcheck = io.flow.v0.models.Healthcheck;
|
|
|
10473
10498
|
export declare type HolidayCalendar = io.flow.v0.enums.HolidayCalendar;
|
|
10474
10499
|
export declare type Hop = io.flow.v0.models.Hop;
|
|
10475
10500
|
export declare type HopEstimate = io.flow.v0.models.HopEstimate;
|
|
10501
|
+
export declare type HopEstimateV2 = io.flow.v0.models.HopEstimateV2;
|
|
10502
|
+
export declare type HopV2 = io.flow.v0.models.HopV2;
|
|
10476
10503
|
export declare type Hs10 = io.flow.v0.models.Hs10;
|
|
10477
10504
|
export declare type Hs10CodeDeleted = io.flow.v0.models.Hs10CodeDeleted;
|
|
10478
10505
|
export declare type Hs10CodeUpserted = io.flow.v0.models.Hs10CodeUpserted;
|
|
@@ -10577,6 +10604,7 @@ export declare type LaneDirection = io.flow.v0.enums.LaneDirection;
|
|
|
10577
10604
|
export declare type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
|
|
10578
10605
|
export declare type LanePreselectPreference = io.flow.v0.enums.LanePreselectPreference;
|
|
10579
10606
|
export declare type LaneStrategy = io.flow.v0.enums.LaneStrategy;
|
|
10607
|
+
export declare type LaneSummary = io.flow.v0.models.LaneSummary;
|
|
10580
10608
|
export declare type Language = io.flow.v0.models.Language;
|
|
10581
10609
|
export declare type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
10582
10610
|
export declare type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
@@ -10643,7 +10671,6 @@ export declare type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
|
|
|
10643
10671
|
export declare type MoneyWithOptionalBase = io.flow.v0.models.MoneyWithOptionalBase;
|
|
10644
10672
|
export declare type Name = io.flow.v0.models.Name;
|
|
10645
10673
|
export declare type NameForm = io.flow.v0.models.NameForm;
|
|
10646
|
-
export declare type NewChannelRate = io.flow.v0.models.NewChannelRate;
|
|
10647
10674
|
export declare type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
|
|
10648
10675
|
export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
10649
10676
|
export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
@@ -10800,7 +10827,6 @@ export declare type OrganizationRatesPublished = io.flow.v0.models.OrganizationR
|
|
|
10800
10827
|
export declare type OrganizationReference = io.flow.v0.models.OrganizationReference;
|
|
10801
10828
|
export declare type OrganizationSession = io.flow.v0.models.OrganizationSession;
|
|
10802
10829
|
export declare type OrganizationSessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
10803
|
-
export declare type OrganizationShippingLabelRatecardSummary = io.flow.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
10804
10830
|
export declare type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
|
|
10805
10831
|
export declare type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
|
|
10806
10832
|
export declare type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
|
|
@@ -11017,6 +11043,7 @@ export declare type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEsti
|
|
|
11017
11043
|
export declare type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
11018
11044
|
export declare type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|
|
11019
11045
|
export declare type RatecardEstimateV3 = io.flow.v0.models.RatecardEstimateV3;
|
|
11046
|
+
export declare type RatecardEstimateV4 = io.flow.v0.models.RatecardEstimateV4;
|
|
11020
11047
|
export declare type RatecardFee = io.flow.v0.unions.RatecardFee;
|
|
11021
11048
|
export declare type RatecardForm = io.flow.v0.models.RatecardForm;
|
|
11022
11049
|
export declare type RatecardLane = io.flow.v0.models.RatecardLane;
|
|
@@ -11170,8 +11197,10 @@ export declare type ShippingConfigurationVersion = io.flow.v0.models.ShippingCon
|
|
|
11170
11197
|
export declare type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
11171
11198
|
export declare type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
11172
11199
|
export declare type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
|
|
11200
|
+
export declare type ShippingLabelHopSummary = io.flow.v0.models.ShippingLabelHopSummary;
|
|
11201
|
+
export declare type ShippingLabelLaneSummary = io.flow.v0.models.ShippingLabelLaneSummary;
|
|
11173
11202
|
export declare type ShippingLabelPackage = io.flow.v0.models.ShippingLabelPackage;
|
|
11174
|
-
export declare type ShippingLabelRatecardSummary = io.flow.v0.
|
|
11203
|
+
export declare type ShippingLabelRatecardSummary = io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
11175
11204
|
export declare type ShippingLabelSummary = io.flow.v0.models.ShippingLabelSummary;
|
|
11176
11205
|
export declare type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersion;
|
|
11177
11206
|
export declare type ShippingLane = io.flow.v0.models.ShippingLane;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.35",
|
|
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": "9830eb7bfd95d68aec644fe08f108dc944bf7350"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -4932,12 +4932,6 @@ declare namespace io.flow.label.v0.models {
|
|
|
4932
4932
|
readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
|
|
4933
4933
|
}
|
|
4934
4934
|
|
|
4935
|
-
interface FlowShippingLabelRatecardSummary {
|
|
4936
|
-
readonly discriminator: 'flow';
|
|
4937
|
-
readonly id: string;
|
|
4938
|
-
readonly cost: io.flow.common.v0.models.Money;
|
|
4939
|
-
}
|
|
4940
|
-
|
|
4941
4935
|
interface LabelOrderSummary {
|
|
4942
4936
|
readonly id: string;
|
|
4943
4937
|
readonly number: string;
|
|
@@ -4956,15 +4950,9 @@ declare namespace io.flow.label.v0.models {
|
|
|
4956
4950
|
readonly service?: string;
|
|
4957
4951
|
}
|
|
4958
4952
|
|
|
4959
|
-
interface OrganizationShippingLabelRatecardSummary {
|
|
4960
|
-
readonly discriminator: 'organization';
|
|
4961
|
-
readonly id: string;
|
|
4962
|
-
readonly cost?: io.flow.common.v0.models.Money;
|
|
4963
|
-
}
|
|
4964
|
-
|
|
4965
4953
|
interface ShippingLabel {
|
|
4966
4954
|
readonly id: string;
|
|
4967
|
-
readonly
|
|
4955
|
+
readonly hop?: io.flow.label.v0.models.ShippingLabelHopSummary;
|
|
4968
4956
|
readonly attributes: Record<string, string>;
|
|
4969
4957
|
readonly carrier_tracking_number: string;
|
|
4970
4958
|
readonly carrier_tracking_number_url: string;
|
|
@@ -4995,12 +4983,27 @@ declare namespace io.flow.label.v0.models {
|
|
|
4995
4983
|
readonly required: boolean;
|
|
4996
4984
|
}
|
|
4997
4985
|
|
|
4986
|
+
interface ShippingLabelHopSummary {
|
|
4987
|
+
readonly lane: io.flow.label.v0.models.ShippingLabelLaneSummary;
|
|
4988
|
+
readonly cost: io.flow.common.v0.models.Money;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4991
|
+
interface ShippingLabelLaneSummary {
|
|
4992
|
+
readonly id: string;
|
|
4993
|
+
readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
4994
|
+
}
|
|
4995
|
+
|
|
4998
4996
|
interface ShippingLabelPackage {
|
|
4999
4997
|
readonly dimensions: io.flow.common.v0.models.Dimension;
|
|
5000
4998
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
5001
4999
|
readonly reference_number?: string;
|
|
5002
5000
|
}
|
|
5003
5001
|
|
|
5002
|
+
interface ShippingLabelRatecardSummary {
|
|
5003
|
+
readonly id: string;
|
|
5004
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5004
5007
|
interface ShippingLabelSummary {
|
|
5005
5008
|
readonly id: string;
|
|
5006
5009
|
readonly flow_tracking_number: string;
|
|
@@ -5069,9 +5072,6 @@ declare namespace io.flow.label.v0.unions {
|
|
|
5069
5072
|
type ShippingLabelForm =
|
|
5070
5073
|
| io.flow.label.v0.models.DetailedShippingLabelForm
|
|
5071
5074
|
| io.flow.label.v0.models.SummaryShippingLabelForm;
|
|
5072
|
-
type ShippingLabelRatecardSummary =
|
|
5073
|
-
| io.flow.label.v0.models.FlowShippingLabelRatecardSummary
|
|
5074
|
-
| io.flow.label.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
5075
5075
|
type ShippingNotificationForm =
|
|
5076
5076
|
| io.flow.label.v0.models.DetailedShippingNotificationForm
|
|
5077
5077
|
| io.flow.label.v0.models.SinglePackageShippingNotificationForm
|
|
@@ -6344,6 +6344,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6344
6344
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6345
6345
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
6346
6346
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
6347
|
+
readonly mcc?: string;
|
|
6348
|
+
readonly metadata?: any /*object*/;
|
|
6347
6349
|
}
|
|
6348
6350
|
|
|
6349
6351
|
interface AuthorizeRequest3D {
|
|
@@ -6530,6 +6532,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6530
6532
|
readonly origin?: string;
|
|
6531
6533
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
6532
6534
|
readonly returnUrl?: string;
|
|
6535
|
+
readonly mcc?: string;
|
|
6536
|
+
readonly metadata?: any /*object*/;
|
|
6533
6537
|
}
|
|
6534
6538
|
|
|
6535
6539
|
interface PaymentResponse {
|
|
@@ -7774,6 +7778,8 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
7774
7778
|
type ShopifyOrderValueType = 'string' | 'integer';
|
|
7775
7779
|
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
7776
7780
|
type ShopifyWebhookTopic =
|
|
7781
|
+
| 'customers/redact'
|
|
7782
|
+
| 'customers/data_request'
|
|
7777
7783
|
| 'orders/cancelled'
|
|
7778
7784
|
| 'orders/create'
|
|
7779
7785
|
| 'orders/fulfilled'
|
|
@@ -7788,6 +7794,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
7788
7794
|
| 'refunds/create'
|
|
7789
7795
|
| 'fulfillment_events/create'
|
|
7790
7796
|
| 'fulfillment_events/delete'
|
|
7797
|
+
| 'shop/redact'
|
|
7791
7798
|
| 'themes/create'
|
|
7792
7799
|
| 'themes/publish'
|
|
7793
7800
|
| 'themes/update';
|
|
@@ -8266,6 +8273,31 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
8266
8273
|
readonly gateway: string;
|
|
8267
8274
|
}
|
|
8268
8275
|
|
|
8276
|
+
interface ShopifyWebhookCustomersDataRequest {
|
|
8277
|
+
readonly shop_id: number;
|
|
8278
|
+
readonly shop_domain: string;
|
|
8279
|
+
readonly orders_requested: number[];
|
|
8280
|
+
readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
8281
|
+
readonly data_request: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId;
|
|
8282
|
+
}
|
|
8283
|
+
|
|
8284
|
+
interface ShopifyWebhookCustomersDataRequestId {
|
|
8285
|
+
readonly id: number;
|
|
8286
|
+
}
|
|
8287
|
+
|
|
8288
|
+
interface ShopifyWebhookCustomersRedact {
|
|
8289
|
+
readonly shop_id: number;
|
|
8290
|
+
readonly shop_domain: string;
|
|
8291
|
+
readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
8292
|
+
readonly orders_to_redact?: number[];
|
|
8293
|
+
}
|
|
8294
|
+
|
|
8295
|
+
interface ShopifyWebhookCustomersRedactCustomer {
|
|
8296
|
+
readonly id: number;
|
|
8297
|
+
readonly email?: string;
|
|
8298
|
+
readonly phone?: string;
|
|
8299
|
+
}
|
|
8300
|
+
|
|
8269
8301
|
interface ShopifyWebhookRequest {
|
|
8270
8302
|
readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
|
|
8271
8303
|
readonly address: string;
|
|
@@ -8293,6 +8325,11 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
8293
8325
|
readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
8294
8326
|
}
|
|
8295
8327
|
|
|
8328
|
+
interface ShopifyWebhookShopRedact {
|
|
8329
|
+
readonly shop_id: number;
|
|
8330
|
+
readonly shop_domain: string;
|
|
8331
|
+
}
|
|
8332
|
+
|
|
8296
8333
|
interface ShopifyWebhooksResponseWrapper {
|
|
8297
8334
|
readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
|
|
8298
8335
|
}
|
|
@@ -9323,6 +9360,28 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
9323
9360
|
readonly total: number;
|
|
9324
9361
|
}
|
|
9325
9362
|
|
|
9363
|
+
interface HopEstimateV2 {
|
|
9364
|
+
readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
9365
|
+
readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
9366
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
9367
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
9368
|
+
readonly currency: string;
|
|
9369
|
+
readonly amount: number;
|
|
9370
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
9371
|
+
readonly total: number;
|
|
9372
|
+
readonly lane: io.flow.ratecard.v0.models.LaneSummary;
|
|
9373
|
+
}
|
|
9374
|
+
|
|
9375
|
+
interface HopV2 {
|
|
9376
|
+
readonly hop_number: number;
|
|
9377
|
+
readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimateV2;
|
|
9378
|
+
}
|
|
9379
|
+
|
|
9380
|
+
interface LaneSummary {
|
|
9381
|
+
readonly id: string;
|
|
9382
|
+
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
9383
|
+
}
|
|
9384
|
+
|
|
9326
9385
|
interface OversizedShipmentRatecardFee {
|
|
9327
9386
|
readonly discriminator: 'oversized_shipment_ratecard_fee';
|
|
9328
9387
|
readonly weight_threshold: number;
|
|
@@ -9426,6 +9485,15 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
9426
9485
|
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
9427
9486
|
}
|
|
9428
9487
|
|
|
9488
|
+
interface RatecardEstimateV4 {
|
|
9489
|
+
readonly discriminator: 'ratecard_estimate_v4';
|
|
9490
|
+
readonly hops: io.flow.ratecard.v0.models.HopV2[];
|
|
9491
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9492
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
9493
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
9494
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
9495
|
+
}
|
|
9496
|
+
|
|
9429
9497
|
interface RatecardForm {
|
|
9430
9498
|
readonly direction: io.flow.label.v0.enums.Direction;
|
|
9431
9499
|
readonly effective_at: string;
|
|
@@ -9564,7 +9632,8 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
9564
9632
|
type RatecardEstimate =
|
|
9565
9633
|
| io.flow.ratecard.v0.models.RatecardEstimateV1
|
|
9566
9634
|
| io.flow.ratecard.v0.models.RatecardEstimateV2
|
|
9567
|
-
| io.flow.ratecard.v0.models.RatecardEstimateV3
|
|
9635
|
+
| io.flow.ratecard.v0.models.RatecardEstimateV3
|
|
9636
|
+
| io.flow.ratecard.v0.models.RatecardEstimateV4;
|
|
9568
9637
|
type RatecardFee =
|
|
9569
9638
|
| io.flow.ratecard.v0.models.DdpRatecardFee
|
|
9570
9639
|
| io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
@@ -12257,8 +12326,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12257
12326
|
type CheckoutAddressSource = 'inputs' | 'address_book';
|
|
12258
12327
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
12259
12328
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
12260
|
-
type
|
|
12261
|
-
type
|
|
12329
|
+
type CheckoutConnectByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
12330
|
+
type CheckoutConnectBySessionErrorCode =
|
|
12262
12331
|
| 'session_not_found'
|
|
12263
12332
|
| 'session_experience_required'
|
|
12264
12333
|
| 'country_not_supported';
|
|
@@ -12517,6 +12586,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12517
12586
|
type DeliveredDutyOptionMessageType = 'warning' | 'notification';
|
|
12518
12587
|
type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
|
|
12519
12588
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
12589
|
+
type DisputeBillable = 'flow' | 'organization';
|
|
12520
12590
|
type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
|
|
12521
12591
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
12522
12592
|
type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
|
|
@@ -12884,6 +12954,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12884
12954
|
| 'to_non_registered_business'
|
|
12885
12955
|
| 'to_registered_business'
|
|
12886
12956
|
| 'flash_title';
|
|
12957
|
+
type NewRevenueStatementStatus =
|
|
12958
|
+
| 'created'
|
|
12959
|
+
| 'transactions_assigned'
|
|
12960
|
+
| 'statement_generated'
|
|
12961
|
+
| 'statement_regenerated';
|
|
12887
12962
|
type NoLiabilityReasonCode =
|
|
12888
12963
|
| 'zero_basis'
|
|
12889
12964
|
| 'zero_rate_on_goods'
|
|
@@ -14612,46 +14687,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14612
14687
|
readonly prompt: io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
|
|
14613
14688
|
}
|
|
14614
14689
|
|
|
14615
|
-
interface CheckoutBootstrapByOrderQuoteError {
|
|
14616
|
-
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
14617
|
-
readonly message: string;
|
|
14618
|
-
}
|
|
14619
|
-
|
|
14620
|
-
interface CheckoutBootstrapByOrderQuoteRequestForm {
|
|
14621
|
-
readonly discriminator: 'checkout_bootstrap_by_order_quote_request_form';
|
|
14622
|
-
readonly order_quote_id: string;
|
|
14623
|
-
}
|
|
14624
|
-
|
|
14625
|
-
interface CheckoutBootstrapByOrderQuoteResponseError {
|
|
14626
|
-
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_error';
|
|
14627
|
-
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError[];
|
|
14628
|
-
}
|
|
14629
|
-
|
|
14630
|
-
interface CheckoutBootstrapByOrderQuoteResponseSuccess {
|
|
14631
|
-
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_success';
|
|
14632
|
-
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
14633
|
-
}
|
|
14634
|
-
|
|
14635
|
-
interface CheckoutBootstrapBySessionError {
|
|
14636
|
-
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
14637
|
-
readonly message: string;
|
|
14638
|
-
}
|
|
14639
|
-
|
|
14640
|
-
interface CheckoutBootstrapBySessionRequestForm {
|
|
14641
|
-
readonly discriminator: 'checkout_bootstrap_by_session_request_form';
|
|
14642
|
-
readonly session_id: string;
|
|
14643
|
-
}
|
|
14644
|
-
|
|
14645
|
-
interface CheckoutBootstrapBySessionResponseError {
|
|
14646
|
-
readonly discriminator: 'checkout_bootstrap_by_session_response_error';
|
|
14647
|
-
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapBySessionError[];
|
|
14648
|
-
}
|
|
14649
|
-
|
|
14650
|
-
interface CheckoutBootstrapBySessionResponseSuccess {
|
|
14651
|
-
readonly discriminator: 'checkout_bootstrap_by_session_response_success';
|
|
14652
|
-
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
14653
|
-
}
|
|
14654
|
-
|
|
14655
14690
|
interface CheckoutBundle {
|
|
14656
14691
|
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
14657
14692
|
readonly order: io.flow.experience.v0.models.Order;
|
|
@@ -14710,6 +14745,51 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14710
14745
|
readonly checkout_configuration: io.flow.internal.v0.models.CheckoutConfiguration;
|
|
14711
14746
|
}
|
|
14712
14747
|
|
|
14748
|
+
interface CheckoutConnectByOrderQuoteError {
|
|
14749
|
+
readonly code: io.flow.internal.v0.enums.CheckoutConnectByOrderQuoteErrorCode;
|
|
14750
|
+
readonly message: string;
|
|
14751
|
+
}
|
|
14752
|
+
|
|
14753
|
+
interface CheckoutConnectByOrderQuoteRequestForm {
|
|
14754
|
+
readonly discriminator: 'checkout_connect_by_order_quote_request_form';
|
|
14755
|
+
readonly order_quote_id: string;
|
|
14756
|
+
}
|
|
14757
|
+
|
|
14758
|
+
interface CheckoutConnectByOrderQuoteResponseError {
|
|
14759
|
+
readonly discriminator: 'checkout_connect_by_order_quote_response_error';
|
|
14760
|
+
readonly errors: io.flow.internal.v0.models.CheckoutConnectByOrderQuoteError[];
|
|
14761
|
+
}
|
|
14762
|
+
|
|
14763
|
+
interface CheckoutConnectByOrderQuoteResponseSuccess {
|
|
14764
|
+
readonly discriminator: 'checkout_connect_by_order_quote_response_success';
|
|
14765
|
+
readonly connection_parameters: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
14766
|
+
}
|
|
14767
|
+
|
|
14768
|
+
interface CheckoutConnectBySessionError {
|
|
14769
|
+
readonly code: io.flow.internal.v0.enums.CheckoutConnectBySessionErrorCode;
|
|
14770
|
+
readonly message: string;
|
|
14771
|
+
}
|
|
14772
|
+
|
|
14773
|
+
interface CheckoutConnectBySessionRequestForm {
|
|
14774
|
+
readonly discriminator: 'checkout_connect_by_session_request_form';
|
|
14775
|
+
readonly session_id: string;
|
|
14776
|
+
}
|
|
14777
|
+
|
|
14778
|
+
interface CheckoutConnectBySessionResponseError {
|
|
14779
|
+
readonly discriminator: 'checkout_connect_by_session_response_error';
|
|
14780
|
+
readonly errors: io.flow.internal.v0.models.CheckoutConnectBySessionError[];
|
|
14781
|
+
}
|
|
14782
|
+
|
|
14783
|
+
interface CheckoutConnectBySessionResponseSuccess {
|
|
14784
|
+
readonly discriminator: 'checkout_connect_by_session_response_success';
|
|
14785
|
+
readonly connection_parameters: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
14786
|
+
}
|
|
14787
|
+
|
|
14788
|
+
interface CheckoutConnectionParameters {
|
|
14789
|
+
readonly session: io.flow.common.v0.models.SessionReference;
|
|
14790
|
+
readonly geo: io.flow.internal.v0.models.CheckoutGeoParameters;
|
|
14791
|
+
}
|
|
14792
|
+
|
|
14713
14793
|
interface CheckoutContact {
|
|
14714
14794
|
readonly email?: string;
|
|
14715
14795
|
readonly phone?: string;
|
|
@@ -14775,6 +14855,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14775
14855
|
interface CheckoutCreateByOrderQuoteRequestForm {
|
|
14776
14856
|
readonly discriminator: 'checkout_create_by_order_quote_request_form';
|
|
14777
14857
|
readonly order_quote_id: string;
|
|
14858
|
+
readonly connection_parameters?: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
14778
14859
|
}
|
|
14779
14860
|
|
|
14780
14861
|
interface CheckoutCreateByOrderQuoteResponseError {
|
|
@@ -14796,6 +14877,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14796
14877
|
readonly discriminator: 'checkout_create_by_session_by_customer_token_request_form';
|
|
14797
14878
|
readonly session_id: string;
|
|
14798
14879
|
readonly customer_token: string;
|
|
14880
|
+
readonly connection_parameters?: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
14799
14881
|
}
|
|
14800
14882
|
|
|
14801
14883
|
interface CheckoutCreateBySessionByCustomerTokenResponseError {
|
|
@@ -14837,6 +14919,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14837
14919
|
interface CheckoutCreateBySessionRequestForm {
|
|
14838
14920
|
readonly discriminator: 'checkout_create_by_session_request_form';
|
|
14839
14921
|
readonly session_id: string;
|
|
14922
|
+
readonly connection_parameters?: io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
14840
14923
|
}
|
|
14841
14924
|
|
|
14842
14925
|
interface CheckoutCreateBySessionResponseError {
|
|
@@ -16986,6 +17069,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16986
17069
|
readonly reason: string;
|
|
16987
17070
|
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
16988
17071
|
readonly liability: io.flow.internal.v0.enums.DisputeLiability;
|
|
17072
|
+
readonly billable: io.flow.internal.v0.enums.DisputeBillable;
|
|
16989
17073
|
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
16990
17074
|
readonly issued_at: string;
|
|
16991
17075
|
readonly expires_at?: string;
|
|
@@ -17056,6 +17140,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17056
17140
|
readonly discriminator: 'dispute_transaction';
|
|
17057
17141
|
readonly id: string;
|
|
17058
17142
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
17143
|
+
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
17059
17144
|
readonly posted_at: string;
|
|
17060
17145
|
readonly value: io.flow.common.v0.models.Price;
|
|
17061
17146
|
readonly description: string;
|
|
@@ -22895,13 +22980,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22895
22980
|
| io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard
|
|
22896
22981
|
| io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard
|
|
22897
22982
|
| io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
22898
|
-
type CheckoutBootstrapByOrderQuoteResponse =
|
|
22899
|
-
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError
|
|
22900
|
-
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
22901
|
-
type CheckoutBootstrapBySessionResponse =
|
|
22902
|
-
| io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError
|
|
22903
|
-
| io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
22904
22983
|
type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
22984
|
+
type CheckoutConnectByOrderQuoteResponse =
|
|
22985
|
+
| io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseError
|
|
22986
|
+
| io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseSuccess;
|
|
22987
|
+
type CheckoutConnectBySessionResponse =
|
|
22988
|
+
| io.flow.internal.v0.models.CheckoutConnectBySessionResponseError
|
|
22989
|
+
| io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess;
|
|
22905
22990
|
type CheckoutCreateAuthorizationDetailsResponse =
|
|
22906
22991
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
22907
22992
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
@@ -23011,8 +23096,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23011
23096
|
| io.flow.internal.v0.models.CheckoutPriceStandard
|
|
23012
23097
|
| io.flow.internal.v0.models.CheckoutPriceEstimated;
|
|
23013
23098
|
type CheckoutRequestForm =
|
|
23014
|
-
| io.flow.internal.v0.models.
|
|
23015
|
-
| io.flow.internal.v0.models.
|
|
23099
|
+
| io.flow.internal.v0.models.CheckoutConnectByOrderQuoteRequestForm
|
|
23100
|
+
| io.flow.internal.v0.models.CheckoutConnectBySessionRequestForm
|
|
23016
23101
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
|
|
23017
23102
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm
|
|
23018
23103
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm
|
|
@@ -23021,10 +23106,10 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23021
23106
|
| io.flow.internal.v0.models.CheckoutFeaturesRequestForm
|
|
23022
23107
|
| io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
23023
23108
|
type CheckoutResponse =
|
|
23024
|
-
| io.flow.internal.v0.models.
|
|
23025
|
-
| io.flow.internal.v0.models.
|
|
23026
|
-
| io.flow.internal.v0.models.
|
|
23027
|
-
| io.flow.internal.v0.models.
|
|
23109
|
+
| io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseError
|
|
23110
|
+
| io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseSuccess
|
|
23111
|
+
| io.flow.internal.v0.models.CheckoutConnectBySessionResponseError
|
|
23112
|
+
| io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess
|
|
23028
23113
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
23029
23114
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
|
|
23030
23115
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
|
|
@@ -23936,18 +24021,6 @@ export type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBe
|
|
|
23936
24021
|
export type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
|
|
23937
24022
|
export type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
|
|
23938
24023
|
export type CheckoutBehaviorShippingMethod = io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
|
|
23939
|
-
export type CheckoutBootstrapByOrderQuoteError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError;
|
|
23940
|
-
export type CheckoutBootstrapByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
23941
|
-
export type CheckoutBootstrapByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm;
|
|
23942
|
-
export type CheckoutBootstrapByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutBootstrapByOrderQuoteResponse;
|
|
23943
|
-
export type CheckoutBootstrapByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError;
|
|
23944
|
-
export type CheckoutBootstrapByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
23945
|
-
export type CheckoutBootstrapBySessionError = io.flow.internal.v0.models.CheckoutBootstrapBySessionError;
|
|
23946
|
-
export type CheckoutBootstrapBySessionErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
23947
|
-
export type CheckoutBootstrapBySessionRequestForm = io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm;
|
|
23948
|
-
export type CheckoutBootstrapBySessionResponse = io.flow.internal.v0.unions.CheckoutBootstrapBySessionResponse;
|
|
23949
|
-
export type CheckoutBootstrapBySessionResponseError = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError;
|
|
23950
|
-
export type CheckoutBootstrapBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
23951
24024
|
export type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
|
|
23952
24025
|
export type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
|
|
23953
24026
|
export type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
|
|
@@ -23956,6 +24029,19 @@ export type CheckoutConfigurationForm = io.flow.internal.v0.models.CheckoutConfi
|
|
|
23956
24029
|
export type CheckoutConfigurationReference = io.flow.internal.v0.models.CheckoutConfigurationReference;
|
|
23957
24030
|
export type CheckoutConfigurationUpserted = io.flow.internal.v0.models.CheckoutConfigurationUpserted;
|
|
23958
24031
|
export type CheckoutConfirmationDetails = io.flow.internal.v0.unions.CheckoutConfirmationDetails;
|
|
24032
|
+
export type CheckoutConnectByOrderQuoteError = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteError;
|
|
24033
|
+
export type CheckoutConnectByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutConnectByOrderQuoteErrorCode;
|
|
24034
|
+
export type CheckoutConnectByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteRequestForm;
|
|
24035
|
+
export type CheckoutConnectByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutConnectByOrderQuoteResponse;
|
|
24036
|
+
export type CheckoutConnectByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseError;
|
|
24037
|
+
export type CheckoutConnectByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutConnectByOrderQuoteResponseSuccess;
|
|
24038
|
+
export type CheckoutConnectBySessionError = io.flow.internal.v0.models.CheckoutConnectBySessionError;
|
|
24039
|
+
export type CheckoutConnectBySessionErrorCode = io.flow.internal.v0.enums.CheckoutConnectBySessionErrorCode;
|
|
24040
|
+
export type CheckoutConnectBySessionRequestForm = io.flow.internal.v0.models.CheckoutConnectBySessionRequestForm;
|
|
24041
|
+
export type CheckoutConnectBySessionResponse = io.flow.internal.v0.unions.CheckoutConnectBySessionResponse;
|
|
24042
|
+
export type CheckoutConnectBySessionResponseError = io.flow.internal.v0.models.CheckoutConnectBySessionResponseError;
|
|
24043
|
+
export type CheckoutConnectBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess;
|
|
24044
|
+
export type CheckoutConnectionParameters = io.flow.internal.v0.models.CheckoutConnectionParameters;
|
|
23959
24045
|
export type CheckoutContact = io.flow.internal.v0.models.CheckoutContact;
|
|
23960
24046
|
export type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
|
|
23961
24047
|
export type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
|
|
@@ -24490,6 +24576,7 @@ export type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enums.Disco
|
|
|
24490
24576
|
export type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm;
|
|
24491
24577
|
export type Dispute = io.flow.internal.v0.models.Dispute;
|
|
24492
24578
|
export type DisputeAuthorizationReference = io.flow.internal.v0.models.DisputeAuthorizationReference;
|
|
24579
|
+
export type DisputeBillable = io.flow.internal.v0.enums.DisputeBillable;
|
|
24493
24580
|
export type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory;
|
|
24494
24581
|
export type DisputeDeleted = io.flow.internal.v0.models.DisputeDeleted;
|
|
24495
24582
|
export type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails;
|
|
@@ -24957,6 +25044,7 @@ export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
|
24957
25044
|
export type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
24958
25045
|
export type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
|
|
24959
25046
|
export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
|
|
25047
|
+
export type NewRevenueStatementStatus = io.flow.internal.v0.enums.NewRevenueStatementStatus;
|
|
24960
25048
|
export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
|
|
24961
25049
|
export type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
24962
25050
|
export type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm;
|
package/src/api.ts
CHANGED
|
@@ -6445,6 +6445,7 @@ declare namespace io.flow.v0.models {
|
|
|
6445
6445
|
readonly item: io.flow.v0.models.LocalizedItemPrice;
|
|
6446
6446
|
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
6447
6447
|
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
6448
|
+
readonly shipping_price?: io.flow.v0.models.Price;
|
|
6448
6449
|
readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
|
|
6449
6450
|
}
|
|
6450
6451
|
|
|
@@ -6510,12 +6511,6 @@ declare namespace io.flow.v0.models {
|
|
|
6510
6511
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
6511
6512
|
}
|
|
6512
6513
|
|
|
6513
|
-
interface FlowShippingLabelRatecardSummary {
|
|
6514
|
-
readonly discriminator: 'flow';
|
|
6515
|
-
readonly id: string;
|
|
6516
|
-
readonly cost: io.flow.v0.models.Money;
|
|
6517
|
-
}
|
|
6518
|
-
|
|
6519
6514
|
interface FraudEmailRule {
|
|
6520
6515
|
readonly id?: string;
|
|
6521
6516
|
readonly email: string;
|
|
@@ -6862,6 +6857,23 @@ declare namespace io.flow.v0.models {
|
|
|
6862
6857
|
readonly total: number;
|
|
6863
6858
|
}
|
|
6864
6859
|
|
|
6860
|
+
interface HopEstimateV2 {
|
|
6861
|
+
readonly origin_address: io.flow.v0.models.ShippingAddress;
|
|
6862
|
+
readonly destination_address: io.flow.v0.models.ShippingAddress;
|
|
6863
|
+
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
6864
|
+
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
6865
|
+
readonly currency: string;
|
|
6866
|
+
readonly amount: number;
|
|
6867
|
+
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
6868
|
+
readonly total: number;
|
|
6869
|
+
readonly lane: io.flow.v0.models.LaneSummary;
|
|
6870
|
+
}
|
|
6871
|
+
|
|
6872
|
+
interface HopV2 {
|
|
6873
|
+
readonly hop_number: number;
|
|
6874
|
+
readonly hop_estimate: io.flow.v0.models.HopEstimateV2;
|
|
6875
|
+
}
|
|
6876
|
+
|
|
6865
6877
|
interface Hs10 {
|
|
6866
6878
|
readonly id: string;
|
|
6867
6879
|
readonly item: io.flow.v0.models.HarmonizedItemReference;
|
|
@@ -7504,6 +7516,11 @@ declare namespace io.flow.v0.models {
|
|
|
7504
7516
|
readonly tax: io.flow.v0.models.Tax;
|
|
7505
7517
|
}
|
|
7506
7518
|
|
|
7519
|
+
interface LaneSummary {
|
|
7520
|
+
readonly id: string;
|
|
7521
|
+
readonly ratecard: io.flow.v0.models.RatecardSummary;
|
|
7522
|
+
}
|
|
7523
|
+
|
|
7507
7524
|
interface Language {
|
|
7508
7525
|
readonly name: string;
|
|
7509
7526
|
readonly iso_639_2: string;
|
|
@@ -7918,10 +7935,6 @@ declare namespace io.flow.v0.models {
|
|
|
7918
7935
|
readonly last?: string;
|
|
7919
7936
|
}
|
|
7920
7937
|
|
|
7921
|
-
interface NewChannelRate {
|
|
7922
|
-
readonly placeholder?: string;
|
|
7923
|
-
}
|
|
7924
|
-
|
|
7925
7938
|
interface NoInventoryReservationError {
|
|
7926
7939
|
readonly code: 'no_inventory';
|
|
7927
7940
|
readonly messages: string[];
|
|
@@ -8902,12 +8915,6 @@ declare namespace io.flow.v0.models {
|
|
|
8902
8915
|
readonly environment: io.flow.v0.enums.Environment;
|
|
8903
8916
|
}
|
|
8904
8917
|
|
|
8905
|
-
interface OrganizationShippingLabelRatecardSummary {
|
|
8906
|
-
readonly discriminator: 'organization';
|
|
8907
|
-
readonly id: string;
|
|
8908
|
-
readonly cost?: io.flow.v0.models.Money;
|
|
8909
|
-
}
|
|
8910
|
-
|
|
8911
8918
|
interface OrganizationShortId {
|
|
8912
8919
|
readonly id: string;
|
|
8913
8920
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
@@ -10152,6 +10159,15 @@ declare namespace io.flow.v0.models {
|
|
|
10152
10159
|
readonly ratecard: io.flow.v0.models.RatecardSummary;
|
|
10153
10160
|
}
|
|
10154
10161
|
|
|
10162
|
+
interface RatecardEstimateV4 {
|
|
10163
|
+
readonly discriminator: 'ratecard_estimate_v4';
|
|
10164
|
+
readonly hops: io.flow.v0.models.HopV2[];
|
|
10165
|
+
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
10166
|
+
readonly dimensional_weight?: io.flow.v0.models.Measurement;
|
|
10167
|
+
readonly gravitational_weight?: io.flow.v0.models.Measurement;
|
|
10168
|
+
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
10169
|
+
}
|
|
10170
|
+
|
|
10155
10171
|
interface RatecardForm {
|
|
10156
10172
|
readonly direction: io.flow.v0.enums.Direction;
|
|
10157
10173
|
readonly effective_at: string;
|
|
@@ -11045,7 +11061,7 @@ declare namespace io.flow.v0.models {
|
|
|
11045
11061
|
|
|
11046
11062
|
interface ShippingLabel {
|
|
11047
11063
|
readonly id: string;
|
|
11048
|
-
readonly
|
|
11064
|
+
readonly hop?: io.flow.v0.models.ShippingLabelHopSummary;
|
|
11049
11065
|
readonly attributes: Record<string, string>;
|
|
11050
11066
|
readonly carrier_tracking_number: string;
|
|
11051
11067
|
readonly carrier_tracking_number_url: string;
|
|
@@ -11076,12 +11092,27 @@ declare namespace io.flow.v0.models {
|
|
|
11076
11092
|
readonly required: boolean;
|
|
11077
11093
|
}
|
|
11078
11094
|
|
|
11095
|
+
interface ShippingLabelHopSummary {
|
|
11096
|
+
readonly lane: io.flow.v0.models.ShippingLabelLaneSummary;
|
|
11097
|
+
readonly cost: io.flow.v0.models.Money;
|
|
11098
|
+
}
|
|
11099
|
+
|
|
11100
|
+
interface ShippingLabelLaneSummary {
|
|
11101
|
+
readonly id: string;
|
|
11102
|
+
readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
11103
|
+
}
|
|
11104
|
+
|
|
11079
11105
|
interface ShippingLabelPackage {
|
|
11080
11106
|
readonly dimensions: io.flow.v0.models.Dimension;
|
|
11081
11107
|
readonly items: io.flow.v0.models.LineItemForm[];
|
|
11082
11108
|
readonly reference_number?: string;
|
|
11083
11109
|
}
|
|
11084
11110
|
|
|
11111
|
+
interface ShippingLabelRatecardSummary {
|
|
11112
|
+
readonly id: string;
|
|
11113
|
+
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
11114
|
+
}
|
|
11115
|
+
|
|
11085
11116
|
interface ShippingLabelSummary {
|
|
11086
11117
|
readonly id: string;
|
|
11087
11118
|
readonly flow_tracking_number: string;
|
|
@@ -12680,7 +12711,8 @@ declare namespace io.flow.v0.unions {
|
|
|
12680
12711
|
type RatecardEstimate =
|
|
12681
12712
|
| io.flow.v0.models.RatecardEstimateV1
|
|
12682
12713
|
| io.flow.v0.models.RatecardEstimateV2
|
|
12683
|
-
| io.flow.v0.models.RatecardEstimateV3
|
|
12714
|
+
| io.flow.v0.models.RatecardEstimateV3
|
|
12715
|
+
| io.flow.v0.models.RatecardEstimateV4;
|
|
12684
12716
|
type RatecardFee =
|
|
12685
12717
|
| io.flow.v0.models.DdpRatecardFee
|
|
12686
12718
|
| io.flow.v0.models.FuelSurchargeRatecardFee
|
|
@@ -12718,9 +12750,6 @@ declare namespace io.flow.v0.unions {
|
|
|
12718
12750
|
type ShippingLabelForm =
|
|
12719
12751
|
| io.flow.v0.models.DetailedShippingLabelForm
|
|
12720
12752
|
| io.flow.v0.models.SummaryShippingLabelForm;
|
|
12721
|
-
type ShippingLabelRatecardSummary =
|
|
12722
|
-
| io.flow.v0.models.FlowShippingLabelRatecardSummary
|
|
12723
|
-
| io.flow.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
12724
12753
|
type ShippingNotificationForm =
|
|
12725
12754
|
| io.flow.v0.models.DetailedShippingNotificationForm
|
|
12726
12755
|
| io.flow.v0.models.SinglePackageShippingNotificationForm
|
|
@@ -13262,7 +13291,6 @@ export type FlowCenterReference = io.flow.v0.models.FlowCenterReference;
|
|
|
13262
13291
|
export type FlowEntity = io.flow.v0.enums.FlowEntity;
|
|
13263
13292
|
export type FlowItemIndexMetadata = io.flow.v0.models.FlowItemIndexMetadata;
|
|
13264
13293
|
export type FlowRole = io.flow.v0.enums.FlowRole;
|
|
13265
|
-
export type FlowShippingLabelRatecardSummary = io.flow.v0.models.FlowShippingLabelRatecardSummary;
|
|
13266
13294
|
export type FraudEmailRule = io.flow.v0.models.FraudEmailRule;
|
|
13267
13295
|
export type FraudEmailRuleDecision = io.flow.v0.enums.FraudEmailRuleDecision;
|
|
13268
13296
|
export type FraudEmailRuleForm = io.flow.v0.models.FraudEmailRuleForm;
|
|
@@ -13328,6 +13356,8 @@ export type Healthcheck = io.flow.v0.models.Healthcheck;
|
|
|
13328
13356
|
export type HolidayCalendar = io.flow.v0.enums.HolidayCalendar;
|
|
13329
13357
|
export type Hop = io.flow.v0.models.Hop;
|
|
13330
13358
|
export type HopEstimate = io.flow.v0.models.HopEstimate;
|
|
13359
|
+
export type HopEstimateV2 = io.flow.v0.models.HopEstimateV2;
|
|
13360
|
+
export type HopV2 = io.flow.v0.models.HopV2;
|
|
13331
13361
|
export type Hs10 = io.flow.v0.models.Hs10;
|
|
13332
13362
|
export type Hs10CodeDeleted = io.flow.v0.models.Hs10CodeDeleted;
|
|
13333
13363
|
export type Hs10CodeUpserted = io.flow.v0.models.Hs10CodeUpserted;
|
|
@@ -13432,6 +13462,7 @@ export type LaneDirection = io.flow.v0.enums.LaneDirection;
|
|
|
13432
13462
|
export type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
|
|
13433
13463
|
export type LanePreselectPreference = io.flow.v0.enums.LanePreselectPreference;
|
|
13434
13464
|
export type LaneStrategy = io.flow.v0.enums.LaneStrategy;
|
|
13465
|
+
export type LaneSummary = io.flow.v0.models.LaneSummary;
|
|
13435
13466
|
export type Language = io.flow.v0.models.Language;
|
|
13436
13467
|
export type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
13437
13468
|
export type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
@@ -13498,7 +13529,6 @@ export type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
|
|
|
13498
13529
|
export type MoneyWithOptionalBase = io.flow.v0.models.MoneyWithOptionalBase;
|
|
13499
13530
|
export type Name = io.flow.v0.models.Name;
|
|
13500
13531
|
export type NameForm = io.flow.v0.models.NameForm;
|
|
13501
|
-
export type NewChannelRate = io.flow.v0.models.NewChannelRate;
|
|
13502
13532
|
export type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
|
|
13503
13533
|
export type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
13504
13534
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
@@ -13655,7 +13685,6 @@ export type OrganizationRatesPublished = io.flow.v0.models.OrganizationRatesPubl
|
|
|
13655
13685
|
export type OrganizationReference = io.flow.v0.models.OrganizationReference;
|
|
13656
13686
|
export type OrganizationSession = io.flow.v0.models.OrganizationSession;
|
|
13657
13687
|
export type OrganizationSessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
13658
|
-
export type OrganizationShippingLabelRatecardSummary = io.flow.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
13659
13688
|
export type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
|
|
13660
13689
|
export type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
|
|
13661
13690
|
export type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
|
|
@@ -13872,6 +13901,7 @@ export type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSumm
|
|
|
13872
13901
|
export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
13873
13902
|
export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|
|
13874
13903
|
export type RatecardEstimateV3 = io.flow.v0.models.RatecardEstimateV3;
|
|
13904
|
+
export type RatecardEstimateV4 = io.flow.v0.models.RatecardEstimateV4;
|
|
13875
13905
|
export type RatecardFee = io.flow.v0.unions.RatecardFee;
|
|
13876
13906
|
export type RatecardForm = io.flow.v0.models.RatecardForm;
|
|
13877
13907
|
export type RatecardLane = io.flow.v0.models.RatecardLane;
|
|
@@ -14025,8 +14055,10 @@ export type ShippingConfigurationVersion = io.flow.v0.models.ShippingConfigurati
|
|
|
14025
14055
|
export type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
14026
14056
|
export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
14027
14057
|
export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
|
|
14058
|
+
export type ShippingLabelHopSummary = io.flow.v0.models.ShippingLabelHopSummary;
|
|
14059
|
+
export type ShippingLabelLaneSummary = io.flow.v0.models.ShippingLabelLaneSummary;
|
|
14028
14060
|
export type ShippingLabelPackage = io.flow.v0.models.ShippingLabelPackage;
|
|
14029
|
-
export type ShippingLabelRatecardSummary = io.flow.v0.
|
|
14061
|
+
export type ShippingLabelRatecardSummary = io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
14030
14062
|
export type ShippingLabelSummary = io.flow.v0.models.ShippingLabelSummary;
|
|
14031
14063
|
export type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersion;
|
|
14032
14064
|
export type ShippingLane = io.flow.v0.models.ShippingLane;
|