@flowio/types 11.24.89 → 11.24.91
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 +422 -92
- package/dist/api.d.ts +133 -10
- package/package.json +2 -2
- package/src/api-internal.ts +565 -118
- package/src/api.ts +183 -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';
|
|
@@ -1976,7 +2020,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1976
2020
|
type OrganizationPaymentMethodTag = 'deny';
|
|
1977
2021
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
1978
2022
|
type OrganizationType = 'standalone' | 'channel';
|
|
1979
|
-
type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
|
|
2023
|
+
type PackageDimensionsSource = 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated';
|
|
1980
2024
|
type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
1981
2025
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
1982
2026
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
|
|
@@ -2055,7 +2099,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2055
2099
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2056
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' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
|
|
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';
|
|
@@ -2232,6 +2276,16 @@ declare namespace io.flow.v0.models {
|
|
|
2232
2276
|
interface ActivationPutForm {
|
|
2233
2277
|
readonly placeholder?: boolean;
|
|
2234
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
|
+
}
|
|
2235
2289
|
interface AdditionalServicesRequested {
|
|
2236
2290
|
readonly name: string;
|
|
2237
2291
|
readonly description?: string;
|
|
@@ -4491,6 +4545,15 @@ declare namespace io.flow.v0.models {
|
|
|
4491
4545
|
readonly organization: string;
|
|
4492
4546
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
4493
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
|
+
}
|
|
4494
4557
|
interface EmailAbandonedOrderPromotion {
|
|
4495
4558
|
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
4496
4559
|
readonly attributes: Record<string, string>;
|
|
@@ -4932,6 +4995,26 @@ declare namespace io.flow.v0.models {
|
|
|
4932
4995
|
readonly discriminator: 'required_if_present';
|
|
4933
4996
|
readonly placeholder?: string;
|
|
4934
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
|
+
}
|
|
4935
5018
|
interface FlatRate {
|
|
4936
5019
|
readonly discriminator: 'flat_rate';
|
|
4937
5020
|
readonly price: io.flow.v0.models.Price;
|
|
@@ -5981,6 +6064,14 @@ declare namespace io.flow.v0.models {
|
|
|
5981
6064
|
readonly name: string;
|
|
5982
6065
|
readonly iso_639_2: string;
|
|
5983
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
|
+
}
|
|
5984
6075
|
interface Line {
|
|
5985
6076
|
readonly id?: string;
|
|
5986
6077
|
readonly item_number: string;
|
|
@@ -6284,6 +6375,10 @@ declare namespace io.flow.v0.models {
|
|
|
6284
6375
|
readonly discriminator: 'merchant_deactivated';
|
|
6285
6376
|
readonly reason: string;
|
|
6286
6377
|
}
|
|
6378
|
+
interface MerchantDisabled {
|
|
6379
|
+
readonly discriminator: 'merchant_disabled';
|
|
6380
|
+
readonly reason: io.flow.v0.enums.MerchantDisabledReason;
|
|
6381
|
+
}
|
|
6287
6382
|
interface MerchantGiftCardBalance {
|
|
6288
6383
|
readonly amount: number;
|
|
6289
6384
|
readonly currency: string;
|
|
@@ -8971,6 +9066,11 @@ declare namespace io.flow.v0.models {
|
|
|
8971
9066
|
interface RegionSettingForm {
|
|
8972
9067
|
readonly status: io.flow.v0.enums.AvailabilityStatus;
|
|
8973
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
|
+
}
|
|
8974
9074
|
interface RemoteAreaRatecardFee {
|
|
8975
9075
|
readonly discriminator: 'remote_area_ratecard_fee';
|
|
8976
9076
|
readonly amount: io.flow.v0.models.Money;
|
|
@@ -9267,6 +9367,15 @@ declare namespace io.flow.v0.models {
|
|
|
9267
9367
|
readonly hour_of_day: string;
|
|
9268
9368
|
readonly minute_of_hour: string;
|
|
9269
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
|
+
}
|
|
9270
9379
|
interface SelectIssuerOptionActionDetails {
|
|
9271
9380
|
readonly discriminator: 'select_issuer_option_action_details';
|
|
9272
9381
|
readonly issuer_options: io.flow.v0.models.IssuerReference[];
|
|
@@ -10953,7 +11062,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10953
11062
|
type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
10954
11063
|
type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
10955
11064
|
type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
10956
|
-
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;
|
|
10957
11066
|
type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
|
|
10958
11067
|
type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
|
|
10959
11068
|
type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
|
|
@@ -10990,13 +11099,13 @@ declare namespace io.flow.v0.unions {
|
|
|
10990
11099
|
type QueryFilter = io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured;
|
|
10991
11100
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
10992
11101
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3 | io.flow.v0.models.RatecardEstimateV4;
|
|
10993
|
-
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;
|
|
10994
11103
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
10995
11104
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
10996
11105
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
10997
11106
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
10998
11107
|
type ServiceDescription = io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown;
|
|
10999
|
-
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;
|
|
11000
11109
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
11001
11110
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
11002
11111
|
type Settlement = io.flow.v0.models.SettlementNoPayout | io.flow.v0.models.SettlementPayout;
|
|
@@ -11043,6 +11152,7 @@ export declare type ActionUseSdkPaypal = io.flow.v0.models.ActionUseSdkPaypal;
|
|
|
11043
11152
|
export declare type ActionUseSdkStripeV3 = io.flow.v0.models.ActionUseSdkStripeV3;
|
|
11044
11153
|
export declare type ActionWait = io.flow.v0.models.ActionWait;
|
|
11045
11154
|
export declare type ActivationPutForm = io.flow.v0.models.ActivationPutForm;
|
|
11155
|
+
export declare type AdditionalHandlingServiceFee = io.flow.v0.models.AdditionalHandlingServiceFee;
|
|
11046
11156
|
export declare type AdditionalServicesRequested = io.flow.v0.models.AdditionalServicesRequested;
|
|
11047
11157
|
export declare type Address = io.flow.v0.models.Address;
|
|
11048
11158
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
@@ -11479,6 +11589,8 @@ export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformF
|
|
|
11479
11589
|
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
11480
11590
|
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
11481
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;
|
|
11482
11594
|
export declare type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
11483
11595
|
export declare type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
11484
11596
|
export declare type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
@@ -11586,6 +11698,11 @@ export declare type FieldValidationPattern = io.flow.v0.models.FieldValidationPa
|
|
|
11586
11698
|
export declare type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired;
|
|
11587
11699
|
export declare type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent;
|
|
11588
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;
|
|
11589
11706
|
export declare type FlatRate = io.flow.v0.models.FlatRate;
|
|
11590
11707
|
export declare type FlatRateForm = io.flow.v0.models.FlatRateForm;
|
|
11591
11708
|
export declare type FlowBehavior = io.flow.v0.enums.FlowBehavior;
|
|
@@ -11799,6 +11916,7 @@ export declare type LanePreselectPreference = io.flow.v0.enums.LanePreselectPref
|
|
|
11799
11916
|
export declare type LaneStrategy = io.flow.v0.enums.LaneStrategy;
|
|
11800
11917
|
export declare type LaneSummary = io.flow.v0.models.LaneSummary;
|
|
11801
11918
|
export declare type Language = io.flow.v0.models.Language;
|
|
11919
|
+
export declare type LargePackageServiceFee = io.flow.v0.models.LargePackageServiceFee;
|
|
11802
11920
|
export declare type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
11803
11921
|
export declare type LevyInclusion = io.flow.v0.enums.LevyInclusion;
|
|
11804
11922
|
export declare type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
@@ -11860,6 +11978,8 @@ export declare type MerchantApplicationPutForm = io.flow.v0.unions.MerchantAppli
|
|
|
11860
11978
|
export declare type MerchantApplicationUpserted = io.flow.v0.models.MerchantApplicationUpserted;
|
|
11861
11979
|
export declare type MerchantApplicationsSummary = io.flow.v0.unions.MerchantApplicationsSummary;
|
|
11862
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;
|
|
11863
11983
|
export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
|
|
11864
11984
|
export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
11865
11985
|
export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
|
|
@@ -12383,6 +12503,7 @@ export declare type RegionReference = io.flow.v0.models.RegionReference;
|
|
|
12383
12503
|
export declare type RegionSetting = io.flow.v0.models.RegionSetting;
|
|
12384
12504
|
export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
12385
12505
|
export declare type RegionType = io.flow.v0.enums.RegionType;
|
|
12506
|
+
export declare type RemoteAreaByWeightServiceFee = io.flow.v0.models.RemoteAreaByWeightServiceFee;
|
|
12386
12507
|
export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
12387
12508
|
export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
12388
12509
|
export declare type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
@@ -12448,6 +12569,8 @@ export declare type ScheduledExport = io.flow.v0.models.ScheduledExport;
|
|
|
12448
12569
|
export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
|
|
12449
12570
|
export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
|
|
12450
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;
|
|
12451
12574
|
export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
|
|
12452
12575
|
export declare type ServiceDescription = io.flow.v0.unions.ServiceDescription;
|
|
12453
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.91",
|
|
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": "11a5e37328905a965c20736d076f67c39a22ee86"
|
|
29
29
|
}
|