@flowio/api-prop-types 10.16.109 → 10.16.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.d.ts CHANGED
@@ -3416,7 +3416,7 @@ declare namespace io.flow.v0.enums {
3416
3416
  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';
3417
3417
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
3418
3418
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
3419
- type PaymentFeeType = 'fx' | 'mor' | 'sp';
3419
+ type PaymentFeeType = 'fx' | 'mor' | 'sp' | 'mor_tax';
3420
3420
  type PaymentMethodCapability = 'credit' | 'debit';
3421
3421
  type PaymentMethodDataOptionType = 'ideal_issuer_option';
3422
3422
  type PaymentMethodRuleContentKey = 'description';
@@ -3441,6 +3441,7 @@ declare namespace io.flow.v0.enums {
3441
3441
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
3442
3442
  type PriceFacetBoundary = 'min' | 'max';
3443
3443
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
3444
+ type PricingType = 'inclusive_pricing';
3444
3445
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
3445
3446
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
3446
3447
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -4348,6 +4349,18 @@ declare namespace io.flow.v0.models {
4348
4349
  readonly 'iban': string;
4349
4350
  }
4350
4351
 
4352
+ interface BankAccountInfoKor {
4353
+ readonly 'discriminator': 'kor';
4354
+ readonly 'name'?: string;
4355
+ readonly 'address'?: io.flow.v0.models.Address;
4356
+ readonly 'phone'?: string;
4357
+ readonly 'email'?: string;
4358
+ readonly 'bank_account_number': string;
4359
+ readonly 'bank_routing_number'?: string;
4360
+ readonly 'bank_name'?: string;
4361
+ readonly 'bank_address'?: io.flow.v0.models.Address;
4362
+ }
4363
+
4351
4364
  interface BankAccountInfoUsa {
4352
4365
  readonly 'discriminator': 'usa';
4353
4366
  readonly 'routing_number': string;
@@ -8630,6 +8643,7 @@ declare namespace io.flow.v0.models {
8630
8643
  readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
8631
8644
  readonly 'edits'?: io.flow.v0.models.EditSummary[];
8632
8645
  readonly 'rates'?: io.flow.v0.models.OrderRate[];
8646
+ readonly 'pricing_type'?: io.flow.v0.enums.PricingType;
8633
8647
  }
8634
8648
 
8635
8649
  interface OrderAddress {
@@ -10730,6 +10744,7 @@ declare namespace io.flow.v0.models {
10730
10744
  readonly 'merchant_id'?: string;
10731
10745
  readonly 'product_id': string;
10732
10746
  readonly 'restricted_regions': io.flow.v0.models.SellabilityRestrictedRegion[];
10747
+ readonly 'restricted_reasons': io.flow.v0.models.SellabilityRestrictedReason[];
10733
10748
  readonly 'needs_action_attributes'?: io.flow.v0.models.SellabilityNeedsActionAttributes[];
10734
10749
  readonly 'request_id'?: string;
10735
10750
  readonly 'hs6_code'?: string;
@@ -11716,6 +11731,11 @@ declare namespace io.flow.v0.models {
11716
11731
  readonly 'require_msds'?: boolean;
11717
11732
  }
11718
11733
 
11734
+ interface SellabilityReasonWithRegions {
11735
+ readonly 'reason': string;
11736
+ readonly 'regions': string[];
11737
+ }
11738
+
11719
11739
  interface SellabilityRegionResult {
11720
11740
  readonly 'type': io.flow.v0.enums.RuleEffectType;
11721
11741
  readonly 'regions': string[];
@@ -11726,14 +11746,19 @@ declare namespace io.flow.v0.models {
11726
11746
  readonly 'reasons': string[];
11727
11747
  }
11728
11748
 
11749
+ interface SellabilityRestrictedReason {
11750
+ readonly 'type': io.flow.v0.enums.RuleEffectType;
11751
+ readonly 'reasons_with_regions': io.flow.v0.models.SellabilityReasonWithRegions[];
11752
+ }
11753
+
11729
11754
  interface SellabilityRestrictedRegion {
11730
11755
  readonly 'type': io.flow.v0.enums.RuleEffectType;
11731
- readonly 'regions_with_reasons': io.flow.v0.models.SellabilityRegionWithReasons[];
11756
+ readonly 'regions': string[];
11732
11757
  }
11733
11758
 
11734
11759
  interface SellabilityScreening {
11735
11760
  readonly 'discriminator': 'sellability_screening';
11736
- readonly 'sellability_result'?: io.flow.v0.models.ProductSellabilityResult;
11761
+ readonly 'product_sellability_result'?: io.flow.v0.models.ProductSellabilityResult;
11737
11762
  readonly 'request_id': string;
11738
11763
  readonly 'status': io.flow.v0.enums.SellabilityResultStatus;
11739
11764
  readonly 'error_code'?: io.flow.v0.enums.SellabilityResultErrorCode;
@@ -13762,7 +13787,7 @@ declare namespace io.flow.v0.unions {
13762
13787
  type AuthorizationResultActionDetails = (io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.ApplepaySdkCreateResultActionDetails | io.flow.v0.models.ApplepaySdkValidateResultActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails);
13763
13788
  type AvailableFilter = (io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured);
13764
13789
  type BankAccountForm = (io.flow.v0.models.BankAccountFormInfo | io.flow.v0.models.BankAccountFormSimple);
13765
- type BankAccountInfo = (io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta);
13790
+ type BankAccountInfo = (io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta | io.flow.v0.models.BankAccountInfoKor);
13766
13791
  type BrowserActionConfiguration = (io.flow.v0.models.CardBrowserActionConfiguration);
13767
13792
  type CardAuthorizationActionResult = (io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4);
13768
13793
  type CardNumber = (io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher);
@@ -14032,6 +14057,7 @@ export const priceDetailComponentKey: PropTypes.Requireable<io.flow.v0.enums.Pri
14032
14057
  export const priceDetailKey: PropTypes.Requireable<io.flow.v0.enums.PriceDetailKey>;
14033
14058
  export const priceFacetBoundary: PropTypes.Requireable<io.flow.v0.enums.PriceFacetBoundary>;
14034
14059
  export const pricingLevySetting: PropTypes.Requireable<io.flow.v0.enums.PricingLevySetting>;
14060
+ export const pricingType: PropTypes.Requireable<io.flow.v0.enums.PricingType>;
14035
14061
  export const promotionTriggerType: PropTypes.Requireable<io.flow.v0.enums.PromotionTriggerType>;
14036
14062
  export const provinceType: PropTypes.Requireable<io.flow.v0.enums.ProvinceType>;
14037
14063
  export const quoteErrorCode: PropTypes.Requireable<io.flow.v0.enums.QuoteErrorCode>;
@@ -14222,6 +14248,7 @@ export const bankAccountInfoCan: PropTypes.Requireable<io.flow.v0.models.BankAcc
14222
14248
  export const bankAccountInfoFra: PropTypes.Requireable<io.flow.v0.models.BankAccountInfoFra>;
14223
14249
  export const bankAccountInfoGbr: PropTypes.Requireable<io.flow.v0.models.BankAccountInfoGbr>;
14224
14250
  export const bankAccountInfoIta: PropTypes.Requireable<io.flow.v0.models.BankAccountInfoIta>;
14251
+ export const bankAccountInfoKor: PropTypes.Requireable<io.flow.v0.models.BankAccountInfoKor>;
14225
14252
  export const bankAccountInfoUsa: PropTypes.Requireable<io.flow.v0.models.BankAccountInfoUsa>;
14226
14253
  export const bankAccountReference: PropTypes.Requireable<io.flow.v0.models.BankAccountReference>;
14227
14254
  export const bankAccountSummary: PropTypes.Requireable<io.flow.v0.models.BankAccountSummary>;
@@ -15248,8 +15275,10 @@ export const selectIssuerOptionActionDetails: PropTypes.Requireable<io.flow.v0.m
15248
15275
  export const selfBillingAgreement: PropTypes.Requireable<io.flow.v0.models.SelfBillingAgreement>;
15249
15276
  export const sellabilityError: PropTypes.Requireable<io.flow.v0.models.SellabilityError>;
15250
15277
  export const sellabilityNeedsActionAttributes: PropTypes.Requireable<io.flow.v0.models.SellabilityNeedsActionAttributes>;
15278
+ export const sellabilityReasonWithRegions: PropTypes.Requireable<io.flow.v0.models.SellabilityReasonWithRegions>;
15251
15279
  export const sellabilityRegionResult: PropTypes.Requireable<io.flow.v0.models.SellabilityRegionResult>;
15252
15280
  export const sellabilityRegionWithReasons: PropTypes.Requireable<io.flow.v0.models.SellabilityRegionWithReasons>;
15281
+ export const sellabilityRestrictedReason: PropTypes.Requireable<io.flow.v0.models.SellabilityRestrictedReason>;
15253
15282
  export const sellabilityRestrictedRegion: PropTypes.Requireable<io.flow.v0.models.SellabilityRestrictedRegion>;
15254
15283
  export const sellabilityScreening: PropTypes.Requireable<io.flow.v0.models.SellabilityScreening>;
15255
15284
  export const sellabilityScreeningForm: PropTypes.Requireable<io.flow.v0.models.SellabilityScreeningForm>;