@flowio/api-prop-types 10.16.70 → 10.16.72

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-prop-types",
3
- "version": "10.16.70",
3
+ "version": "10.16.72",
4
4
  "description": "PropType validators that work with Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "prop-types": "^15.7.0"
31
31
  },
32
- "gitHead": "2bd18d938f840ec2fa147fa4651350a1bb75b33a"
32
+ "gitHead": "6717f627ae249a5229cfb9b8321accaf3b7e03d1"
33
33
  }
package/src/api.d.ts CHANGED
@@ -174,7 +174,7 @@ declare namespace io.flow.stripe.v0.enums {
174
174
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
175
175
  type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
176
176
  type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
177
- type PaymentMethodType = 'card' | 'card_present';
177
+ type PaymentMethodType = 'card' | 'card_present' | 'klarna';
178
178
  type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
179
179
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
180
180
  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';
@@ -432,6 +432,12 @@ declare namespace io.flow.stripe.v0.models {
432
432
  readonly 'marketplace_seller_info'?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
433
433
  }
434
434
 
435
+ interface KlarnaDobForm {
436
+ readonly 'day': number;
437
+ readonly 'month': number;
438
+ readonly 'year': number;
439
+ }
440
+
435
441
  interface KlarnaMarketplaceSellerInfo {
436
442
  readonly 'sub_merchant_id'?: string;
437
443
  readonly 'product_category'?: string;
@@ -441,6 +447,12 @@ declare namespace io.flow.stripe.v0.models {
441
447
  readonly 'additional_owners'?: io.flow.stripe.v0.models.Owner[];
442
448
  }
443
449
 
450
+ interface MarketplaceSellerInfo {
451
+ readonly 'name': string;
452
+ readonly 'id'?: string;
453
+ readonly 'product_category'?: string;
454
+ }
455
+
444
456
  interface Masterpass {
445
457
  readonly 'type': 'masterpass';
446
458
  readonly 'masterpass': io.flow.stripe.v0.models.MasterpassInformation;
@@ -529,6 +541,10 @@ declare namespace io.flow.stripe.v0.models {
529
541
  readonly 'verified_phone'?: string;
530
542
  }
531
543
 
544
+ interface PaymentDetails {
545
+ readonly 'marketplace_seller_info'?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
546
+ }
547
+
532
548
  interface PaymentIntent {
533
549
  readonly 'id': string;
534
550
  readonly 'object': string;
@@ -653,6 +669,7 @@ declare namespace io.flow.stripe.v0.models {
653
669
  readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
654
670
  readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
655
671
  readonly 'card_present'?: any/*object*/;
672
+ readonly 'klarna'?: any/*object*/;
656
673
  readonly 'created': number;
657
674
  readonly 'customer'?: string;
658
675
  readonly 'livemode': boolean;
@@ -693,6 +710,13 @@ declare namespace io.flow.stripe.v0.models {
693
710
  readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
694
711
  }
695
712
 
713
+ interface PaymentMethodDataKlarna {
714
+ readonly 'type': 'klarna';
715
+ readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
716
+ readonly 'metadata'?: any/*object*/;
717
+ readonly 'klarna': io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
718
+ }
719
+
696
720
  interface PaymentMethodDetailsCard {
697
721
  readonly 'type': 'card';
698
722
  readonly 'card': io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -741,8 +765,20 @@ declare namespace io.flow.stripe.v0.models {
741
765
  readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
742
766
  }
743
767
 
768
+ interface PaymentMethodFormKlarna {
769
+ readonly 'type': 'klarna';
770
+ readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
771
+ readonly 'metadata'?: any/*object*/;
772
+ readonly 'klarna': io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
773
+ }
774
+
775
+ interface PaymentMethodKlarnaForm {
776
+ readonly 'dob'?: io.flow.stripe.v0.models.KlarnaDobForm;
777
+ }
778
+
744
779
  interface PaymentMethodOptions {
745
780
  readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
781
+ readonly 'klarna'?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
746
782
  }
747
783
 
748
784
  interface PaymentMethodOptionsCard {
@@ -762,6 +798,21 @@ declare namespace io.flow.stripe.v0.models {
762
798
 
763
799
  interface PaymentMethodOptionsForm {
764
800
  readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
801
+ readonly 'klarna'?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
802
+ }
803
+
804
+ interface PaymentMethodOptionsKlarna {
805
+ readonly 'capture_method'?: io.flow.stripe.v0.enums.CaptureMethod;
806
+ readonly 'preferred_locale'?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
807
+ readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
808
+ readonly 'payment_details'?: io.flow.stripe.v0.models.PaymentDetails;
809
+ }
810
+
811
+ interface PaymentMethodOptionsKlarnaForm {
812
+ readonly 'capture_method'?: io.flow.stripe.v0.enums.CaptureMethod;
813
+ readonly 'preferred_locale'?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
814
+ readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
815
+ readonly 'payment_details'?: io.flow.stripe.v0.models.PaymentDetails;
765
816
  }
766
817
 
767
818
  interface PaymentOutcome {
@@ -1059,9 +1110,9 @@ declare namespace io.flow.stripe.v0.models {
1059
1110
 
1060
1111
  declare namespace io.flow.stripe.v0.unions {
1061
1112
  type CardWallet = (io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout);
1062
- type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard);
1113
+ type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataKlarna);
1063
1114
  type PaymentMethodDetails = (io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna);
1064
- type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard);
1115
+ type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormKlarna);
1065
1116
  }
1066
1117
 
1067
1118
  declare namespace io.flow.shopify.external.v0.enums {
@@ -2146,7 +2197,7 @@ declare namespace io.flow.v0.enums {
2146
2197
  type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
2147
2198
  type FlowBehavior = 'view_consumer_data';
2148
2199
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2149
- type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
2200
+ type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
2150
2201
  type FraudEmailRuleDecision = 'approved' | 'declined';
2151
2202
  type FraudLiability = 'flow' | 'organization';
2152
2203
  type FraudStatus = 'pending' | 'approved' | 'declined' | 'review';
@@ -2180,12 +2231,13 @@ declare namespace io.flow.v0.enums {
2180
2231
  type LogisticsFormatPreference = 'shopify_console' | 'existing_3pl_integration' | 'byo_integration';
2181
2232
  type MarginType = 'fixed' | 'percent';
2182
2233
  type MeasurementSystem = 'imperial' | 'metric';
2234
+ type MerchantDisabledReason = 'merchant_deactivated' | 'merchant_rejected';
2183
2235
  type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
2184
2236
  type MerchantOfRecord = 'flow' | 'organization';
2185
2237
  type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
2186
2238
  type Method = 'post';
2187
2239
  type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
2188
- 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';
2240
+ 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';
2189
2241
  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';
2190
2242
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
2191
2243
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
@@ -2282,9 +2334,9 @@ declare namespace io.flow.v0.enums {
2282
2334
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2283
2335
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2284
2336
  type TradeAgreementStatus = 'supported' | 'not_supported';
2285
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'carrier_charge' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
2337
+ 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';
2286
2338
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
2287
- type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
2339
+ 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';
2288
2340
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
2289
2341
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2290
2342
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
@@ -2335,6 +2387,10 @@ declare namespace io.flow.v0.models {
2335
2387
  readonly 'status': io.flow.v0.enums.AbandonedOrderSettingStatus;
2336
2388
  }
2337
2389
 
2390
+ interface AccountIdReference {
2391
+ readonly 'id': string;
2392
+ }
2393
+
2338
2394
  interface AccountOrdersExportType {
2339
2395
  readonly 'discriminator': 'account_orders_export_type';
2340
2396
  readonly 'statement_id'?: string;
@@ -2482,6 +2538,17 @@ declare namespace io.flow.v0.models {
2482
2538
  readonly 'placeholder'?: boolean;
2483
2539
  }
2484
2540
 
2541
+ interface AdditionalHandlingServiceFee {
2542
+ readonly 'discriminator': 'additional_handling_service_fee';
2543
+ readonly 'length_girth_threshold'?: number;
2544
+ readonly 'length_threshold'?: number;
2545
+ readonly 'width_threshold'?: number;
2546
+ readonly 'dimensional_unit'?: io.flow.v0.enums.UnitOfMeasurement;
2547
+ readonly 'weight_threshold'?: number;
2548
+ readonly 'weight_unit'?: io.flow.v0.enums.UnitOfMeasurement;
2549
+ readonly 'amount': io.flow.v0.models.Money;
2550
+ }
2551
+
2485
2552
  interface AdditionalServicesRequested {
2486
2553
  readonly 'name': string;
2487
2554
  readonly 'description'?: string;
@@ -3940,6 +4007,7 @@ declare namespace io.flow.v0.models {
3940
4007
  interface ChannelTransaction {
3941
4008
  readonly 'statement'?: io.flow.v0.models.BillingChannelStatementReference;
3942
4009
  readonly 'id': string;
4010
+ readonly 'account': io.flow.v0.models.AccountIdReference;
3943
4011
  readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
3944
4012
  readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
3945
4013
  readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
@@ -5100,6 +5168,17 @@ declare namespace io.flow.v0.models {
5100
5168
  readonly 'ecommerce_platform': io.flow.v0.models.EcommercePlatform;
5101
5169
  }
5102
5170
 
5171
+ interface EeiFilingRatecardFee {
5172
+ readonly 'discriminator': 'eei_filing_ratecard_fee';
5173
+ readonly 'amount': io.flow.v0.models.Money;
5174
+ }
5175
+
5176
+ interface EeiFilingServiceFee {
5177
+ readonly 'discriminator': 'eei_filing_service_fee';
5178
+ readonly 'amount': io.flow.v0.models.Money;
5179
+ readonly 'value_threshold': io.flow.v0.models.Money;
5180
+ }
5181
+
5103
5182
  interface EmailAbandonedOrderPromotion {
5104
5183
  readonly 'discount_form': io.flow.v0.models.DiscountForm;
5105
5184
  readonly 'attributes': Record<string, string>;
@@ -5622,6 +5701,31 @@ declare namespace io.flow.v0.models {
5622
5701
  readonly 'placeholder'?: string;
5623
5702
  }
5624
5703
 
5704
+ interface FixedCurrencyConversionRatecardFee {
5705
+ readonly 'discriminator': 'fixed_currency_conversion_ratecard_fee';
5706
+ readonly 'amount': io.flow.v0.models.Money;
5707
+ }
5708
+
5709
+ interface FixedCurrencyConversionServiceFee {
5710
+ readonly 'discriminator': 'fixed_currency_conversion_service_fee';
5711
+ readonly 'conditions': io.flow.v0.models.FixedFeeCondition[];
5712
+ }
5713
+
5714
+ interface FixedDdpRatecardFee {
5715
+ readonly 'discriminator': 'fixed_ddp_ratecard_fee';
5716
+ readonly 'amount': io.flow.v0.models.Money;
5717
+ }
5718
+
5719
+ interface FixedDdpServiceFee {
5720
+ readonly 'discriminator': 'fixed_ddp_service_fee';
5721
+ readonly 'conditions': io.flow.v0.models.FixedFeeCondition[];
5722
+ }
5723
+
5724
+ interface FixedFeeCondition {
5725
+ readonly 'countries': string[];
5726
+ readonly 'amount': io.flow.v0.models.Money;
5727
+ }
5728
+
5625
5729
  interface FlatRate {
5626
5730
  readonly 'discriminator': 'flat_rate';
5627
5731
  readonly 'price': io.flow.v0.models.Price;
@@ -5642,6 +5746,26 @@ declare namespace io.flow.v0.models {
5642
5746
  readonly 'status': io.flow.v0.enums.SubcatalogItemStatus;
5643
5747
  }
5644
5748
 
5749
+ interface FlowTransaction {
5750
+ readonly 'statement'?: io.flow.v0.models.BillingChannelStatementReference;
5751
+ readonly 'id': string;
5752
+ readonly 'account': io.flow.v0.models.AccountIdReference;
5753
+ readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
5754
+ readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
5755
+ readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
5756
+ readonly 'currency': string;
5757
+ readonly 'source': io.flow.v0.enums.TransactionSource;
5758
+ readonly 'parent'?: io.flow.v0.models.ParentTransactionSummary;
5759
+ readonly 'gross': number;
5760
+ readonly 'fees': io.flow.v0.models.FeeDeduction[];
5761
+ readonly 'withholdings': io.flow.v0.models.WithholdingDeduction[];
5762
+ readonly 'discounts': io.flow.v0.models.BillingDiscount[];
5763
+ readonly 'net': number;
5764
+ readonly 'identifiers': Record<string, string>;
5765
+ readonly 'created_at': string;
5766
+ readonly 'updated_at': string;
5767
+ }
5768
+
5645
5769
  interface FraudEmailRule {
5646
5770
  readonly 'id'?: string;
5647
5771
  readonly 'email': string;
@@ -6825,6 +6949,15 @@ declare namespace io.flow.v0.models {
6825
6949
  readonly 'iso_639_2': string;
6826
6950
  }
6827
6951
 
6952
+ interface LargePackageServiceFee {
6953
+ readonly 'discriminator': 'large_package_service_fee';
6954
+ readonly 'length_girth_threshold'?: number;
6955
+ readonly 'dimensional_unit'?: io.flow.v0.enums.UnitOfMeasurement;
6956
+ readonly 'weight_threshold'?: number;
6957
+ readonly 'weight_unit'?: io.flow.v0.enums.UnitOfMeasurement;
6958
+ readonly 'amount': io.flow.v0.models.Money;
6959
+ }
6960
+
6828
6961
  interface Line {
6829
6962
  readonly 'id'?: string;
6830
6963
  readonly 'item_number': string;
@@ -7176,6 +7309,11 @@ declare namespace io.flow.v0.models {
7176
7309
  readonly 'reason': string;
7177
7310
  }
7178
7311
 
7312
+ interface MerchantDisabled {
7313
+ readonly 'discriminator': 'merchant_disabled';
7314
+ readonly 'reason': io.flow.v0.enums.MerchantDisabledReason;
7315
+ }
7316
+
7179
7317
  interface MerchantGiftCardBalance {
7180
7318
  readonly 'amount': number;
7181
7319
  readonly 'currency': string;
@@ -9285,6 +9423,7 @@ declare namespace io.flow.v0.models {
9285
9423
 
9286
9424
  interface PayoutTransaction {
9287
9425
  readonly 'id': string;
9426
+ readonly 'account': io.flow.v0.models.AccountIdReference;
9288
9427
  readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
9289
9428
  readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
9290
9429
  readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
@@ -10293,6 +10432,12 @@ declare namespace io.flow.v0.models {
10293
10432
  readonly 'status': io.flow.v0.enums.AvailabilityStatus;
10294
10433
  }
10295
10434
 
10435
+ interface RemoteAreaByWeightServiceFee {
10436
+ readonly 'discriminator': 'remote_area_by_weight_service_fee';
10437
+ readonly 'amount': io.flow.v0.models.Money;
10438
+ readonly 'weight_unit': io.flow.v0.enums.UnitOfMeasurement;
10439
+ }
10440
+
10296
10441
  interface RemoteAreaRatecardFee {
10297
10442
  readonly 'discriminator': 'remote_area_ratecard_fee';
10298
10443
  readonly 'amount': io.flow.v0.models.Money;
@@ -10639,6 +10784,17 @@ declare namespace io.flow.v0.models {
10639
10784
  readonly 'minute_of_hour': string;
10640
10785
  }
10641
10786
 
10787
+ interface SecurityRatecardFee {
10788
+ readonly 'discriminator': 'security_ratecard_fee';
10789
+ readonly 'amount': io.flow.v0.models.Money;
10790
+ }
10791
+
10792
+ interface SecurityServiceFee {
10793
+ readonly 'discriminator': 'security_service_fee';
10794
+ readonly 'amount': io.flow.v0.models.Money;
10795
+ readonly 'countries': string[];
10796
+ }
10797
+
10642
10798
  interface SelectIssuerOptionActionDetails {
10643
10799
  readonly 'discriminator': 'select_issuer_option_action_details';
10644
10800
  readonly 'issuer_options': io.flow.v0.models.IssuerReference[];
@@ -12157,6 +12313,7 @@ declare namespace io.flow.v0.models {
12157
12313
  interface Transaction {
12158
12314
  readonly 'statement'?: io.flow.v0.models.BillingChannelStatementReference;
12159
12315
  readonly 'id': string;
12316
+ readonly 'account': io.flow.v0.models.AccountIdReference;
12160
12317
  readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
12161
12318
  readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
12162
12319
  readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
@@ -12186,6 +12343,7 @@ declare namespace io.flow.v0.models {
12186
12343
  readonly 'label_created_at': string;
12187
12344
  readonly 'carrier_id': string;
12188
12345
  readonly 'carrier_tracking_number': string;
12346
+ readonly 'revenue_share_percentage': number;
12189
12347
  readonly 'outbound'?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
12190
12348
  }
12191
12349
 
@@ -12577,7 +12735,7 @@ declare namespace io.flow.v0.unions {
12577
12735
  type MerchantApplicationForm = (io.flow.v0.models.ShopifyMerchantApplicationForm);
12578
12736
  type MerchantApplicationPutForm = (io.flow.v0.models.ShopifyMerchantApplicationPutForm);
12579
12737
  type MerchantApplicationsSummary = (io.flow.v0.models.ShopifyMerchantApplicationsSummary);
12580
- 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);
12738
+ 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);
12581
12739
  type OnlineAuthorizationDetails = (io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails);
12582
12740
  type OrderInformation = (io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails);
12583
12741
  type OrderNumberGenerator = (io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix);
@@ -12616,13 +12774,13 @@ declare namespace io.flow.v0.unions {
12616
12774
  type QueryFilter = (io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured);
12617
12775
  type QueryFilterForm = (io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm);
12618
12776
  type RatecardEstimate = (io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3 | io.flow.v0.models.RatecardEstimateV4);
12619
- 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);
12777
+ 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);
12620
12778
  type RepeatSchedule = (io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly);
12621
12779
  type ReservationError = (io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError);
12622
12780
  type ReturnSource = (io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor);
12623
12781
  type SdkAdyenV3AuthenticationToken = (io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken);
12624
12782
  type ServiceDescription = (io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown);
12625
- 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);
12783
+ 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);
12626
12784
  type Session = (io.flow.v0.models.OrganizationSession);
12627
12785
  type SessionAuthorization = (io.flow.v0.models.OrganizationSessionAuthorization);
12628
12786
  type Settlement = (io.flow.v0.models.SettlementNoPayout | io.flow.v0.models.SettlementPayout);
@@ -12743,6 +12901,7 @@ export const locationErrorCode: PropTypes.Requireable<io.flow.v0.enums.LocationE
12743
12901
  export const logisticsFormatPreference: PropTypes.Requireable<io.flow.v0.enums.LogisticsFormatPreference>;
12744
12902
  export const marginType: PropTypes.Requireable<io.flow.v0.enums.MarginType>;
12745
12903
  export const measurementSystem: PropTypes.Requireable<io.flow.v0.enums.MeasurementSystem>;
12904
+ export const merchantDisabledReason: PropTypes.Requireable<io.flow.v0.enums.MerchantDisabledReason>;
12746
12905
  export const merchantGiftCardErrorCode: PropTypes.Requireable<io.flow.v0.enums.MerchantGiftCardErrorCode>;
12747
12906
  export const merchantOfRecord: PropTypes.Requireable<io.flow.v0.enums.MerchantOfRecord>;
12748
12907
  export const merchantRejectedReason: PropTypes.Requireable<io.flow.v0.enums.MerchantRejectedReason>;
@@ -12867,6 +13026,7 @@ export const abandonedOrderPromotion: PropTypes.Requireable<io.flow.v0.models.Ab
12867
13026
  export const abandonedOrderPromotionDiscountDetails: PropTypes.Requireable<io.flow.v0.models.AbandonedOrderPromotionDiscountDetails>;
12868
13027
  export const abandonedOrderPromotionForm: PropTypes.Requireable<io.flow.v0.models.AbandonedOrderPromotionForm>;
12869
13028
  export const abandonedOrderSettings: PropTypes.Requireable<io.flow.v0.models.AbandonedOrderSettings>;
13029
+ export const accountIdReference: PropTypes.Requireable<io.flow.v0.models.AccountIdReference>;
12870
13030
  export const accountOrdersExportType: PropTypes.Requireable<io.flow.v0.models.AccountOrdersExportType>;
12871
13031
  export const accountReference: PropTypes.Requireable<io.flow.v0.models.AccountReference>;
12872
13032
  export const accountTransactionsExportType: PropTypes.Requireable<io.flow.v0.models.AccountTransactionsExportType>;
@@ -12885,6 +13045,7 @@ export const actionUseSdkPaypal: PropTypes.Requireable<io.flow.v0.models.ActionU
12885
13045
  export const actionUseSdkStripeV3: PropTypes.Requireable<io.flow.v0.models.ActionUseSdkStripeV3>;
12886
13046
  export const actionWait: PropTypes.Requireable<io.flow.v0.models.ActionWait>;
12887
13047
  export const activationPutForm: PropTypes.Requireable<io.flow.v0.models.ActivationPutForm>;
13048
+ export const additionalHandlingServiceFee: PropTypes.Requireable<io.flow.v0.models.AdditionalHandlingServiceFee>;
12888
13049
  export const additionalServicesRequested: PropTypes.Requireable<io.flow.v0.models.AdditionalServicesRequested>;
12889
13050
  export const address: PropTypes.Requireable<io.flow.v0.models.Address>;
12890
13051
  export const addressConfiguration: PropTypes.Requireable<io.flow.v0.models.AddressConfiguration>;
@@ -13245,6 +13406,8 @@ export const ecommercePlatform: PropTypes.Requireable<io.flow.v0.models.Ecommerc
13245
13406
  export const ecommercePlatformDeleted: PropTypes.Requireable<io.flow.v0.models.EcommercePlatformDeleted>;
13246
13407
  export const ecommercePlatformForm: PropTypes.Requireable<io.flow.v0.models.EcommercePlatformForm>;
13247
13408
  export const ecommercePlatformUpserted: PropTypes.Requireable<io.flow.v0.models.EcommercePlatformUpserted>;
13409
+ export const eeiFilingRatecardFee: PropTypes.Requireable<io.flow.v0.models.EeiFilingRatecardFee>;
13410
+ export const eeiFilingServiceFee: PropTypes.Requireable<io.flow.v0.models.EeiFilingServiceFee>;
13248
13411
  export const emailAbandonedOrderPromotion: PropTypes.Requireable<io.flow.v0.models.EmailAbandonedOrderPromotion>;
13249
13412
  export const emailAbandonedOrderUrls: PropTypes.Requireable<io.flow.v0.models.EmailAbandonedOrderUrls>;
13250
13413
  export const emailNotification: PropTypes.Requireable<io.flow.v0.models.EmailNotification>;
@@ -13326,10 +13489,16 @@ export const fieldValidationMin: PropTypes.Requireable<io.flow.v0.models.FieldVa
13326
13489
  export const fieldValidationPattern: PropTypes.Requireable<io.flow.v0.models.FieldValidationPattern>;
13327
13490
  export const fieldValidationRequired: PropTypes.Requireable<io.flow.v0.models.FieldValidationRequired>;
13328
13491
  export const fieldValidationRequiredIfPresent: PropTypes.Requireable<io.flow.v0.models.FieldValidationRequiredIfPresent>;
13492
+ export const fixedCurrencyConversionRatecardFee: PropTypes.Requireable<io.flow.v0.models.FixedCurrencyConversionRatecardFee>;
13493
+ export const fixedCurrencyConversionServiceFee: PropTypes.Requireable<io.flow.v0.models.FixedCurrencyConversionServiceFee>;
13494
+ export const fixedDdpRatecardFee: PropTypes.Requireable<io.flow.v0.models.FixedDdpRatecardFee>;
13495
+ export const fixedDdpServiceFee: PropTypes.Requireable<io.flow.v0.models.FixedDdpServiceFee>;
13496
+ export const fixedFeeCondition: PropTypes.Requireable<io.flow.v0.models.FixedFeeCondition>;
13329
13497
  export const flatRate: PropTypes.Requireable<io.flow.v0.models.FlatRate>;
13330
13498
  export const flatRateForm: PropTypes.Requireable<io.flow.v0.models.FlatRateForm>;
13331
13499
  export const flowCenterReference: PropTypes.Requireable<io.flow.v0.models.FlowCenterReference>;
13332
13500
  export const flowItemIndexMetadata: PropTypes.Requireable<io.flow.v0.models.FlowItemIndexMetadata>;
13501
+ export const flowTransaction: PropTypes.Requireable<io.flow.v0.models.FlowTransaction>;
13333
13502
  export const fraudEmailRule: PropTypes.Requireable<io.flow.v0.models.FraudEmailRule>;
13334
13503
  export const fraudEmailRuleForm: PropTypes.Requireable<io.flow.v0.models.FraudEmailRuleForm>;
13335
13504
  export const fraudFlowOrderReference: PropTypes.Requireable<io.flow.v0.models.FraudFlowOrderReference>;
@@ -13499,6 +13668,7 @@ export const landedCostItem: PropTypes.Requireable<io.flow.v0.models.LandedCostI
13499
13668
  export const laneLandedCost: PropTypes.Requireable<io.flow.v0.models.LaneLandedCost>;
13500
13669
  export const laneSummary: PropTypes.Requireable<io.flow.v0.models.LaneSummary>;
13501
13670
  export const language: PropTypes.Requireable<io.flow.v0.models.Language>;
13671
+ export const largePackageServiceFee: PropTypes.Requireable<io.flow.v0.models.LargePackageServiceFee>;
13502
13672
  export const line: PropTypes.Requireable<io.flow.v0.models.Line>;
13503
13673
  export const lineItem: PropTypes.Requireable<io.flow.v0.models.LineItem>;
13504
13674
  export const lineItemAttributesForm: PropTypes.Requireable<io.flow.v0.models.LineItemAttributesForm>;
@@ -13547,6 +13717,7 @@ export const merchantActivated: PropTypes.Requireable<io.flow.v0.models.Merchant
13547
13717
  export const merchantApplicationDeleted: PropTypes.Requireable<io.flow.v0.models.MerchantApplicationDeleted>;
13548
13718
  export const merchantApplicationUpserted: PropTypes.Requireable<io.flow.v0.models.MerchantApplicationUpserted>;
13549
13719
  export const merchantDeactivated: PropTypes.Requireable<io.flow.v0.models.MerchantDeactivated>;
13720
+ export const merchantDisabled: PropTypes.Requireable<io.flow.v0.models.MerchantDisabled>;
13550
13721
  export const merchantGiftCardBalance: PropTypes.Requireable<io.flow.v0.models.MerchantGiftCardBalance>;
13551
13722
  export const merchantGiftCardBalanceForm: PropTypes.Requireable<io.flow.v0.models.MerchantGiftCardBalanceForm>;
13552
13723
  export const merchantGiftCardError: PropTypes.Requireable<io.flow.v0.models.MerchantGiftCardError>;
@@ -13978,6 +14149,7 @@ export const region: PropTypes.Requireable<io.flow.v0.models.Region>;
13978
14149
  export const regionReference: PropTypes.Requireable<io.flow.v0.models.RegionReference>;
13979
14150
  export const regionSetting: PropTypes.Requireable<io.flow.v0.models.RegionSetting>;
13980
14151
  export const regionSettingForm: PropTypes.Requireable<io.flow.v0.models.RegionSettingForm>;
14152
+ export const remoteAreaByWeightServiceFee: PropTypes.Requireable<io.flow.v0.models.RemoteAreaByWeightServiceFee>;
13981
14153
  export const remoteAreaRatecardFee: PropTypes.Requireable<io.flow.v0.models.RemoteAreaRatecardFee>;
13982
14154
  export const remoteAreaServiceFee: PropTypes.Requireable<io.flow.v0.models.RemoteAreaServiceFee>;
13983
14155
  export const repeatDaily: PropTypes.Requireable<io.flow.v0.models.RepeatDaily>;
@@ -14028,6 +14200,8 @@ export const schedule: PropTypes.Requireable<io.flow.v0.models.Schedule>;
14028
14200
  export const scheduledExport: PropTypes.Requireable<io.flow.v0.models.ScheduledExport>;
14029
14201
  export const scheduledExportForm: PropTypes.Requireable<io.flow.v0.models.ScheduledExportForm>;
14030
14202
  export const scheduledPickup: PropTypes.Requireable<io.flow.v0.models.ScheduledPickup>;
14203
+ export const securityRatecardFee: PropTypes.Requireable<io.flow.v0.models.SecurityRatecardFee>;
14204
+ export const securityServiceFee: PropTypes.Requireable<io.flow.v0.models.SecurityServiceFee>;
14031
14205
  export const selectIssuerOptionActionDetails: PropTypes.Requireable<io.flow.v0.models.SelectIssuerOptionActionDetails>;
14032
14206
  export const serviceReference: PropTypes.Requireable<io.flow.v0.models.ServiceReference>;
14033
14207
  export const serviceSummary: PropTypes.Requireable<io.flow.v0.models.ServiceSummary>;