@flowio/types 11.24.88 → 11.24.90
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 +487 -29
- package/dist/api.d.ts +161 -10
- package/package.json +2 -2
- package/src/api-internal.ts +604 -29
- package/src/api.ts +210 -9
package/dist/api.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
150
150
|
type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
|
|
151
151
|
type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
|
|
152
152
|
type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
|
|
153
|
-
type PaymentMethodType = 'card' | 'card_present';
|
|
153
|
+
type PaymentMethodType = 'card' | 'card_present' | 'klarna';
|
|
154
154
|
type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
|
|
155
155
|
type PaymentStatus = 'succeeded' | 'pending' | 'failed';
|
|
156
156
|
type PreferredLocaleKlarna = 'de-AT' | 'en-AT' | 'nl-BE' | 'fr-BE' | 'en-BE' | 'de-DE' | 'en-DE' | 'da-DK' | 'en-DK' | 'es-ES' | 'en-ES' | 'fi-FI' | 'sv-FI' | 'en-FI' | 'en-GB' | 'en-IE' | 'it-IT' | 'en-IT' | 'nl-NL' | 'en-NL' | 'nb-NO' | 'en-NO' | 'sv-SE' | 'en-SE' | 'en-US' | 'es-US' | 'fr-FR' | 'en-FR' | 'cs-CZ' | 'en-CZ' | 'el-GR' | 'en-GR' | 'en-AU' | 'en-NZ' | 'en-CA' | 'fr-CA' | 'pl-PL' | 'en-PL' | 'pt-PT' | 'en-PT' | 'de-CH' | 'fr-CH' | 'it-CH' | 'en-CH';
|
|
@@ -386,6 +386,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
386
386
|
interface KlarnaAttachment {
|
|
387
387
|
readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
|
|
388
388
|
}
|
|
389
|
+
interface KlarnaDobForm {
|
|
390
|
+
readonly day: number;
|
|
391
|
+
readonly month: number;
|
|
392
|
+
readonly year: number;
|
|
393
|
+
}
|
|
389
394
|
interface KlarnaMarketplaceSellerInfo {
|
|
390
395
|
readonly sub_merchant_id?: string;
|
|
391
396
|
readonly product_category?: string;
|
|
@@ -393,6 +398,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
393
398
|
interface LegalEntity {
|
|
394
399
|
readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
|
|
395
400
|
}
|
|
401
|
+
interface MarketplaceSellerInfo {
|
|
402
|
+
readonly name: string;
|
|
403
|
+
readonly id?: string;
|
|
404
|
+
readonly product_category?: string;
|
|
405
|
+
}
|
|
396
406
|
interface Masterpass {
|
|
397
407
|
readonly type: 'masterpass';
|
|
398
408
|
readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
|
|
@@ -469,6 +479,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
469
479
|
readonly verified_name?: string;
|
|
470
480
|
readonly verified_phone?: string;
|
|
471
481
|
}
|
|
482
|
+
interface PaymentDetails {
|
|
483
|
+
readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
|
|
484
|
+
}
|
|
472
485
|
interface PaymentIntent {
|
|
473
486
|
readonly id: string;
|
|
474
487
|
readonly object: string;
|
|
@@ -585,6 +598,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
585
598
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
586
599
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
587
600
|
readonly card_present?: any;
|
|
601
|
+
readonly klarna?: any;
|
|
588
602
|
readonly created: number;
|
|
589
603
|
readonly customer?: string;
|
|
590
604
|
readonly livemode: boolean;
|
|
@@ -620,6 +634,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
620
634
|
readonly metadata?: any;
|
|
621
635
|
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
622
636
|
}
|
|
637
|
+
interface PaymentMethodDataKlarna {
|
|
638
|
+
readonly type: 'klarna';
|
|
639
|
+
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
640
|
+
readonly metadata?: any;
|
|
641
|
+
readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
642
|
+
}
|
|
623
643
|
interface PaymentMethodDetailsCard {
|
|
624
644
|
readonly type: 'card';
|
|
625
645
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -663,8 +683,18 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
663
683
|
readonly metadata?: any;
|
|
664
684
|
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
665
685
|
}
|
|
686
|
+
interface PaymentMethodFormKlarna {
|
|
687
|
+
readonly type: 'klarna';
|
|
688
|
+
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
689
|
+
readonly metadata?: any;
|
|
690
|
+
readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
691
|
+
}
|
|
692
|
+
interface PaymentMethodKlarnaForm {
|
|
693
|
+
readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
|
|
694
|
+
}
|
|
666
695
|
interface PaymentMethodOptions {
|
|
667
696
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
|
|
697
|
+
readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
|
|
668
698
|
}
|
|
669
699
|
interface PaymentMethodOptionsCard {
|
|
670
700
|
readonly network?: string;
|
|
@@ -681,6 +711,19 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
681
711
|
}
|
|
682
712
|
interface PaymentMethodOptionsForm {
|
|
683
713
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
714
|
+
readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
|
|
715
|
+
}
|
|
716
|
+
interface PaymentMethodOptionsKlarna {
|
|
717
|
+
readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
|
|
718
|
+
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
719
|
+
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
720
|
+
readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
|
|
721
|
+
}
|
|
722
|
+
interface PaymentMethodOptionsKlarnaForm {
|
|
723
|
+
readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
|
|
724
|
+
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
725
|
+
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
726
|
+
readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
|
|
684
727
|
}
|
|
685
728
|
interface PaymentOutcome {
|
|
686
729
|
readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
|
|
@@ -946,9 +989,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
946
989
|
}
|
|
947
990
|
declare namespace io.flow.stripe.v0.unions {
|
|
948
991
|
type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
|
|
949
|
-
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
992
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataKlarna;
|
|
950
993
|
type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
951
|
-
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
994
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormKlarna;
|
|
952
995
|
}
|
|
953
996
|
declare namespace io.flow.shopify.external.v0.enums {
|
|
954
997
|
type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
@@ -1917,7 +1960,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1917
1960
|
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
1918
1961
|
type FlowBehavior = 'view_consumer_data';
|
|
1919
1962
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
1920
|
-
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
1963
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
1921
1964
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
1922
1965
|
type FraudLiability = 'flow' | 'organization';
|
|
1923
1966
|
type FraudStatus = 'pending' | 'approved' | 'declined' | 'review';
|
|
@@ -1951,12 +1994,13 @@ declare namespace io.flow.v0.enums {
|
|
|
1951
1994
|
type LogisticsFormatPreference = 'shopify_console' | 'existing_3pl_integration' | 'byo_integration';
|
|
1952
1995
|
type MarginType = 'fixed' | 'percent';
|
|
1953
1996
|
type MeasurementSystem = 'imperial' | 'metric';
|
|
1997
|
+
type MerchantDisabledReason = 'merchant_deactivated' | 'merchant_rejected';
|
|
1954
1998
|
type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
|
|
1955
1999
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
1956
2000
|
type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
|
|
1957
2001
|
type Method = 'post';
|
|
1958
2002
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
1959
|
-
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant';
|
|
2003
|
+
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing';
|
|
1960
2004
|
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
1961
2005
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
1962
2006
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
@@ -2053,9 +2097,9 @@ declare namespace io.flow.v0.enums {
|
|
|
2053
2097
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2054
2098
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2055
2099
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2056
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'carrier_charge' | '
|
|
2100
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
2057
2101
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2058
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
2102
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security_ratecard_fee' | 'eei_filing_ratecard_fee' | 'fixed_ddp_ratecard_fee' | 'fixed_currency_conversion_ratecard_fee';
|
|
2059
2103
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2060
2104
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2061
2105
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -2100,6 +2144,9 @@ declare namespace io.flow.v0.models {
|
|
|
2100
2144
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
2101
2145
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
2102
2146
|
}
|
|
2147
|
+
interface AccountIdReference {
|
|
2148
|
+
readonly id: string;
|
|
2149
|
+
}
|
|
2103
2150
|
interface AccountOrdersExportType {
|
|
2104
2151
|
readonly discriminator: 'account_orders_export_type';
|
|
2105
2152
|
readonly statement_id?: string;
|
|
@@ -2229,6 +2276,16 @@ declare namespace io.flow.v0.models {
|
|
|
2229
2276
|
interface ActivationPutForm {
|
|
2230
2277
|
readonly placeholder?: boolean;
|
|
2231
2278
|
}
|
|
2279
|
+
interface AdditionalHandlingServiceFee {
|
|
2280
|
+
readonly discriminator: 'additional_handling_service_fee';
|
|
2281
|
+
readonly length_girth_threshold?: number;
|
|
2282
|
+
readonly length_threshold?: number;
|
|
2283
|
+
readonly width_threshold?: number;
|
|
2284
|
+
readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
2285
|
+
readonly weight_threshold?: number;
|
|
2286
|
+
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
2287
|
+
readonly amount: io.flow.v0.models.Money;
|
|
2288
|
+
}
|
|
2232
2289
|
interface AdditionalServicesRequested {
|
|
2233
2290
|
readonly name: string;
|
|
2234
2291
|
readonly description?: string;
|
|
@@ -3488,6 +3545,7 @@ declare namespace io.flow.v0.models {
|
|
|
3488
3545
|
interface ChannelTransaction {
|
|
3489
3546
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
3490
3547
|
readonly id: string;
|
|
3548
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
3491
3549
|
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
3492
3550
|
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
3493
3551
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -4487,6 +4545,15 @@ declare namespace io.flow.v0.models {
|
|
|
4487
4545
|
readonly organization: string;
|
|
4488
4546
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
4489
4547
|
}
|
|
4548
|
+
interface EeiFilingRatecardFee {
|
|
4549
|
+
readonly discriminator: 'eei_filing_ratecard_fee';
|
|
4550
|
+
readonly amount: io.flow.v0.models.Money;
|
|
4551
|
+
}
|
|
4552
|
+
interface EeiFilingServiceFee {
|
|
4553
|
+
readonly discriminator: 'eei_filing_service_fee';
|
|
4554
|
+
readonly amount: io.flow.v0.models.Money;
|
|
4555
|
+
readonly value_threshold: io.flow.v0.models.Money;
|
|
4556
|
+
}
|
|
4490
4557
|
interface EmailAbandonedOrderPromotion {
|
|
4491
4558
|
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
4492
4559
|
readonly attributes: Record<string, string>;
|
|
@@ -4928,6 +4995,26 @@ declare namespace io.flow.v0.models {
|
|
|
4928
4995
|
readonly discriminator: 'required_if_present';
|
|
4929
4996
|
readonly placeholder?: string;
|
|
4930
4997
|
}
|
|
4998
|
+
interface FixedCurrencyConversionRatecardFee {
|
|
4999
|
+
readonly discriminator: 'fixed_currency_conversion_ratecard_fee';
|
|
5000
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5001
|
+
}
|
|
5002
|
+
interface FixedCurrencyConversionServiceFee {
|
|
5003
|
+
readonly discriminator: 'fixed_currency_conversion_service_fee';
|
|
5004
|
+
readonly conditions: io.flow.v0.models.FixedFeeCondition[];
|
|
5005
|
+
}
|
|
5006
|
+
interface FixedDdpRatecardFee {
|
|
5007
|
+
readonly discriminator: 'fixed_ddp_ratecard_fee';
|
|
5008
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5009
|
+
}
|
|
5010
|
+
interface FixedDdpServiceFee {
|
|
5011
|
+
readonly discriminator: 'fixed_ddp_service_fee';
|
|
5012
|
+
readonly conditions: io.flow.v0.models.FixedFeeCondition[];
|
|
5013
|
+
}
|
|
5014
|
+
interface FixedFeeCondition {
|
|
5015
|
+
readonly countries: string[];
|
|
5016
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5017
|
+
}
|
|
4931
5018
|
interface FlatRate {
|
|
4932
5019
|
readonly discriminator: 'flat_rate';
|
|
4933
5020
|
readonly price: io.flow.v0.models.Price;
|
|
@@ -4944,6 +5031,25 @@ declare namespace io.flow.v0.models {
|
|
|
4944
5031
|
interface FlowItemIndexMetadata {
|
|
4945
5032
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4946
5033
|
}
|
|
5034
|
+
interface FlowTransaction {
|
|
5035
|
+
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
5036
|
+
readonly id: string;
|
|
5037
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
5038
|
+
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
5039
|
+
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
5040
|
+
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
5041
|
+
readonly currency: string;
|
|
5042
|
+
readonly source: io.flow.v0.enums.TransactionSource;
|
|
5043
|
+
readonly parent?: io.flow.v0.models.ParentTransactionSummary;
|
|
5044
|
+
readonly gross: number;
|
|
5045
|
+
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
5046
|
+
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
5047
|
+
readonly discounts: io.flow.v0.models.BillingDiscount[];
|
|
5048
|
+
readonly net: number;
|
|
5049
|
+
readonly identifiers: Record<string, string>;
|
|
5050
|
+
readonly created_at: string;
|
|
5051
|
+
readonly updated_at: string;
|
|
5052
|
+
}
|
|
4947
5053
|
interface FraudEmailRule {
|
|
4948
5054
|
readonly id?: string;
|
|
4949
5055
|
readonly email: string;
|
|
@@ -5958,6 +6064,14 @@ declare namespace io.flow.v0.models {
|
|
|
5958
6064
|
readonly name: string;
|
|
5959
6065
|
readonly iso_639_2: string;
|
|
5960
6066
|
}
|
|
6067
|
+
interface LargePackageServiceFee {
|
|
6068
|
+
readonly discriminator: 'large_package_service_fee';
|
|
6069
|
+
readonly length_girth_threshold?: number;
|
|
6070
|
+
readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
6071
|
+
readonly weight_threshold?: number;
|
|
6072
|
+
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
6073
|
+
readonly amount: io.flow.v0.models.Money;
|
|
6074
|
+
}
|
|
5961
6075
|
interface Line {
|
|
5962
6076
|
readonly id?: string;
|
|
5963
6077
|
readonly item_number: string;
|
|
@@ -6261,6 +6375,10 @@ declare namespace io.flow.v0.models {
|
|
|
6261
6375
|
readonly discriminator: 'merchant_deactivated';
|
|
6262
6376
|
readonly reason: string;
|
|
6263
6377
|
}
|
|
6378
|
+
interface MerchantDisabled {
|
|
6379
|
+
readonly discriminator: 'merchant_disabled';
|
|
6380
|
+
readonly reason: io.flow.v0.enums.MerchantDisabledReason;
|
|
6381
|
+
}
|
|
6264
6382
|
interface MerchantGiftCardBalance {
|
|
6265
6383
|
readonly amount: number;
|
|
6266
6384
|
readonly currency: string;
|
|
@@ -8068,6 +8186,7 @@ declare namespace io.flow.v0.models {
|
|
|
8068
8186
|
}
|
|
8069
8187
|
interface PayoutTransaction {
|
|
8070
8188
|
readonly id: string;
|
|
8189
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
8071
8190
|
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
8072
8191
|
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
8073
8192
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -8947,6 +9066,11 @@ declare namespace io.flow.v0.models {
|
|
|
8947
9066
|
interface RegionSettingForm {
|
|
8948
9067
|
readonly status: io.flow.v0.enums.AvailabilityStatus;
|
|
8949
9068
|
}
|
|
9069
|
+
interface RemoteAreaByWeightServiceFee {
|
|
9070
|
+
readonly discriminator: 'remote_area_by_weight_service_fee';
|
|
9071
|
+
readonly amount: io.flow.v0.models.Money;
|
|
9072
|
+
readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
9073
|
+
}
|
|
8950
9074
|
interface RemoteAreaRatecardFee {
|
|
8951
9075
|
readonly discriminator: 'remote_area_ratecard_fee';
|
|
8952
9076
|
readonly amount: io.flow.v0.models.Money;
|
|
@@ -9243,6 +9367,15 @@ declare namespace io.flow.v0.models {
|
|
|
9243
9367
|
readonly hour_of_day: string;
|
|
9244
9368
|
readonly minute_of_hour: string;
|
|
9245
9369
|
}
|
|
9370
|
+
interface SecurityRatecardFee {
|
|
9371
|
+
readonly discriminator: 'security_ratecard_fee';
|
|
9372
|
+
readonly amount: io.flow.v0.models.Money;
|
|
9373
|
+
}
|
|
9374
|
+
interface SecurityServiceFee {
|
|
9375
|
+
readonly discriminator: 'security_service_fee';
|
|
9376
|
+
readonly amount: io.flow.v0.models.Money;
|
|
9377
|
+
readonly countries: string[];
|
|
9378
|
+
}
|
|
9246
9379
|
interface SelectIssuerOptionActionDetails {
|
|
9247
9380
|
readonly discriminator: 'select_issuer_option_action_details';
|
|
9248
9381
|
readonly issuer_options: io.flow.v0.models.IssuerReference[];
|
|
@@ -10559,6 +10692,7 @@ declare namespace io.flow.v0.models {
|
|
|
10559
10692
|
interface Transaction {
|
|
10560
10693
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
10561
10694
|
readonly id: string;
|
|
10695
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
10562
10696
|
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
10563
10697
|
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
10564
10698
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -10586,6 +10720,7 @@ declare namespace io.flow.v0.models {
|
|
|
10586
10720
|
readonly label_created_at: string;
|
|
10587
10721
|
readonly carrier_id: string;
|
|
10588
10722
|
readonly carrier_tracking_number: string;
|
|
10723
|
+
readonly revenue_share_percentage: number;
|
|
10589
10724
|
readonly outbound?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
|
|
10590
10725
|
}
|
|
10591
10726
|
interface TransactionMetadataCarrierChargeOutbound {
|
|
@@ -10927,7 +11062,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10927
11062
|
type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
10928
11063
|
type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
10929
11064
|
type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
10930
|
-
type OnboardingState = io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated | io.flow.v0.models.MerchantDeactivated;
|
|
11065
|
+
type OnboardingState = io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated | io.flow.v0.models.MerchantDeactivated | io.flow.v0.models.MerchantDisabled;
|
|
10931
11066
|
type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
|
|
10932
11067
|
type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
|
|
10933
11068
|
type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
|
|
@@ -10964,13 +11099,13 @@ declare namespace io.flow.v0.unions {
|
|
|
10964
11099
|
type QueryFilter = io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured;
|
|
10965
11100
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
10966
11101
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3 | io.flow.v0.models.RatecardEstimateV4;
|
|
10967
|
-
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizePieceSurchargeRatecardFee | 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;
|
|
11102
|
+
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizePieceSurchargeRatecardFee | 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 | io.flow.v0.models.SecurityRatecardFee | io.flow.v0.models.EeiFilingRatecardFee | io.flow.v0.models.FixedDdpRatecardFee | io.flow.v0.models.FixedCurrencyConversionRatecardFee;
|
|
10968
11103
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
10969
11104
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
10970
11105
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
10971
11106
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
10972
11107
|
type ServiceDescription = io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown;
|
|
10973
|
-
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.v0.models.OversizePieceSurchargeServiceFee;
|
|
11108
|
+
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.v0.models.OversizePieceSurchargeServiceFee | io.flow.v0.models.RemoteAreaByWeightServiceFee | io.flow.v0.models.AdditionalHandlingServiceFee | io.flow.v0.models.LargePackageServiceFee | io.flow.v0.models.SecurityServiceFee | io.flow.v0.models.FixedDdpServiceFee | io.flow.v0.models.FixedCurrencyConversionServiceFee | io.flow.v0.models.EeiFilingServiceFee;
|
|
10974
11109
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
10975
11110
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
10976
11111
|
type Settlement = io.flow.v0.models.SettlementNoPayout | io.flow.v0.models.SettlementPayout;
|
|
@@ -10997,6 +11132,7 @@ export declare type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrd
|
|
|
10997
11132
|
export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
10998
11133
|
export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
10999
11134
|
export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
11135
|
+
export declare type AccountIdReference = io.flow.v0.models.AccountIdReference;
|
|
11000
11136
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
11001
11137
|
export declare type AccountReference = io.flow.v0.models.AccountReference;
|
|
11002
11138
|
export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
@@ -11016,6 +11152,7 @@ export declare type ActionUseSdkPaypal = io.flow.v0.models.ActionUseSdkPaypal;
|
|
|
11016
11152
|
export declare type ActionUseSdkStripeV3 = io.flow.v0.models.ActionUseSdkStripeV3;
|
|
11017
11153
|
export declare type ActionWait = io.flow.v0.models.ActionWait;
|
|
11018
11154
|
export declare type ActivationPutForm = io.flow.v0.models.ActivationPutForm;
|
|
11155
|
+
export declare type AdditionalHandlingServiceFee = io.flow.v0.models.AdditionalHandlingServiceFee;
|
|
11019
11156
|
export declare type AdditionalServicesRequested = io.flow.v0.models.AdditionalServicesRequested;
|
|
11020
11157
|
export declare type Address = io.flow.v0.models.Address;
|
|
11021
11158
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
@@ -11452,6 +11589,8 @@ export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformF
|
|
|
11452
11589
|
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
11453
11590
|
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
11454
11591
|
export declare type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
11592
|
+
export declare type EeiFilingRatecardFee = io.flow.v0.models.EeiFilingRatecardFee;
|
|
11593
|
+
export declare type EeiFilingServiceFee = io.flow.v0.models.EeiFilingServiceFee;
|
|
11455
11594
|
export declare type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
11456
11595
|
export declare type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
11457
11596
|
export declare type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
@@ -11559,6 +11698,11 @@ export declare type FieldValidationPattern = io.flow.v0.models.FieldValidationPa
|
|
|
11559
11698
|
export declare type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired;
|
|
11560
11699
|
export declare type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent;
|
|
11561
11700
|
export declare type FieldValidationRule = io.flow.v0.unions.FieldValidationRule;
|
|
11701
|
+
export declare type FixedCurrencyConversionRatecardFee = io.flow.v0.models.FixedCurrencyConversionRatecardFee;
|
|
11702
|
+
export declare type FixedCurrencyConversionServiceFee = io.flow.v0.models.FixedCurrencyConversionServiceFee;
|
|
11703
|
+
export declare type FixedDdpRatecardFee = io.flow.v0.models.FixedDdpRatecardFee;
|
|
11704
|
+
export declare type FixedDdpServiceFee = io.flow.v0.models.FixedDdpServiceFee;
|
|
11705
|
+
export declare type FixedFeeCondition = io.flow.v0.models.FixedFeeCondition;
|
|
11562
11706
|
export declare type FlatRate = io.flow.v0.models.FlatRate;
|
|
11563
11707
|
export declare type FlatRateForm = io.flow.v0.models.FlatRateForm;
|
|
11564
11708
|
export declare type FlowBehavior = io.flow.v0.enums.FlowBehavior;
|
|
@@ -11566,6 +11710,7 @@ export declare type FlowCenterReference = io.flow.v0.models.FlowCenterReference;
|
|
|
11566
11710
|
export declare type FlowEntity = io.flow.v0.enums.FlowEntity;
|
|
11567
11711
|
export declare type FlowItemIndexMetadata = io.flow.v0.models.FlowItemIndexMetadata;
|
|
11568
11712
|
export declare type FlowRole = io.flow.v0.enums.FlowRole;
|
|
11713
|
+
export declare type FlowTransaction = io.flow.v0.models.FlowTransaction;
|
|
11569
11714
|
export declare type FraudEmailRule = io.flow.v0.models.FraudEmailRule;
|
|
11570
11715
|
export declare type FraudEmailRuleDecision = io.flow.v0.enums.FraudEmailRuleDecision;
|
|
11571
11716
|
export declare type FraudEmailRuleForm = io.flow.v0.models.FraudEmailRuleForm;
|
|
@@ -11771,6 +11916,7 @@ export declare type LanePreselectPreference = io.flow.v0.enums.LanePreselectPref
|
|
|
11771
11916
|
export declare type LaneStrategy = io.flow.v0.enums.LaneStrategy;
|
|
11772
11917
|
export declare type LaneSummary = io.flow.v0.models.LaneSummary;
|
|
11773
11918
|
export declare type Language = io.flow.v0.models.Language;
|
|
11919
|
+
export declare type LargePackageServiceFee = io.flow.v0.models.LargePackageServiceFee;
|
|
11774
11920
|
export declare type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
11775
11921
|
export declare type LevyInclusion = io.flow.v0.enums.LevyInclusion;
|
|
11776
11922
|
export declare type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
@@ -11832,6 +11978,8 @@ export declare type MerchantApplicationPutForm = io.flow.v0.unions.MerchantAppli
|
|
|
11832
11978
|
export declare type MerchantApplicationUpserted = io.flow.v0.models.MerchantApplicationUpserted;
|
|
11833
11979
|
export declare type MerchantApplicationsSummary = io.flow.v0.unions.MerchantApplicationsSummary;
|
|
11834
11980
|
export declare type MerchantDeactivated = io.flow.v0.models.MerchantDeactivated;
|
|
11981
|
+
export declare type MerchantDisabled = io.flow.v0.models.MerchantDisabled;
|
|
11982
|
+
export declare type MerchantDisabledReason = io.flow.v0.enums.MerchantDisabledReason;
|
|
11835
11983
|
export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
|
|
11836
11984
|
export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
11837
11985
|
export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
|
|
@@ -12355,6 +12503,7 @@ export declare type RegionReference = io.flow.v0.models.RegionReference;
|
|
|
12355
12503
|
export declare type RegionSetting = io.flow.v0.models.RegionSetting;
|
|
12356
12504
|
export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
12357
12505
|
export declare type RegionType = io.flow.v0.enums.RegionType;
|
|
12506
|
+
export declare type RemoteAreaByWeightServiceFee = io.flow.v0.models.RemoteAreaByWeightServiceFee;
|
|
12358
12507
|
export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
12359
12508
|
export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
12360
12509
|
export declare type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
@@ -12420,6 +12569,8 @@ export declare type ScheduledExport = io.flow.v0.models.ScheduledExport;
|
|
|
12420
12569
|
export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
|
|
12421
12570
|
export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
|
|
12422
12571
|
export declare type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
|
|
12572
|
+
export declare type SecurityRatecardFee = io.flow.v0.models.SecurityRatecardFee;
|
|
12573
|
+
export declare type SecurityServiceFee = io.flow.v0.models.SecurityServiceFee;
|
|
12423
12574
|
export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
|
|
12424
12575
|
export declare type ServiceDescription = io.flow.v0.unions.ServiceDescription;
|
|
12425
12576
|
export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.90",
|
|
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": "6717f627ae249a5229cfb9b8321accaf3b7e03d1"
|
|
29
29
|
}
|