@flowio/types 11.23.5 → 11.23.7

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/src/api.ts CHANGED
@@ -420,7 +420,7 @@ declare namespace io.flow.stripe.v0.models {
420
420
  readonly created: number;
421
421
  readonly currency: string;
422
422
  readonly customer?: string;
423
- readonly outcome: io.flow.stripe.v0.models.PaymentOutcome;
423
+ readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
424
424
  readonly paid: boolean;
425
425
  readonly refunded: boolean;
426
426
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -470,7 +470,7 @@ declare namespace io.flow.stripe.v0.models {
470
470
  readonly created: number;
471
471
  readonly currency: string;
472
472
  readonly customer?: string;
473
- readonly outcome: io.flow.stripe.v0.models.PaymentOutcome;
473
+ readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
474
474
  readonly paid: boolean;
475
475
  readonly refunded: boolean;
476
476
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -3160,6 +3160,8 @@ declare namespace io.flow.v0.enums {
3160
3160
  | 'item_origin_deleted'
3161
3161
  | 'harmonized_landed_cost_upserted'
3162
3162
  | 'fully_harmonized_item_upserted'
3163
+ | 'import_completed_v2'
3164
+ | 'import_failed_v2'
3163
3165
  | 'rule_upserted'
3164
3166
  | 'rule_deleted'
3165
3167
  | 'snapshot_upserted'
@@ -3478,7 +3480,7 @@ declare namespace io.flow.v0.enums {
3478
3480
  | 'redirect'
3479
3481
  | 'redirect_get'
3480
3482
  | 'redirect_post'
3481
- | 'ideal_select_issuer'
3483
+ | 'select_payment_option'
3482
3484
  | 'use_sdk_klarna_v1'
3483
3485
  | 'use_sdk_applepay_js'
3484
3486
  | 'use_sdk_googlepay'
@@ -3507,6 +3509,7 @@ declare namespace io.flow.v0.enums {
3507
3509
  | 'error'
3508
3510
  | 'payment_checks_declined';
3509
3511
  type PaymentMethodCapability = 'credit' | 'debit';
3512
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
3510
3513
  type PaymentMethodRuleContentKey = 'description';
3511
3514
  type PaymentMethodType = 'card' | 'online' | 'offline';
3512
3515
  type PaymentSourceConfirmationActionType =
@@ -3533,7 +3536,8 @@ declare namespace io.flow.v0.enums {
3533
3536
  | 'applepay'
3534
3537
  | 'ideal'
3535
3538
  | 'sofort'
3536
- | 'afterpay';
3539
+ | 'afterpay'
3540
+ | 'bancontact';
3537
3541
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
3538
3542
  type PhysicalDeliverySpecialSerivce =
3539
3543
  | 'cold_storage'
@@ -3848,12 +3852,6 @@ declare namespace io.flow.v0.models {
3848
3852
  readonly script: string;
3849
3853
  }
3850
3854
 
3851
- interface ActionIdealSelectIssuer {
3852
- readonly type: 'select_ideal_issuer';
3853
- readonly expires_at?: string;
3854
- readonly issuers: io.flow.v0.models.IdealIssuer[];
3855
- }
3856
-
3857
3855
  interface ActionRedirect {
3858
3856
  readonly type: 'redirect';
3859
3857
  readonly expires_at?: string;
@@ -3862,6 +3860,13 @@ declare namespace io.flow.v0.models {
3862
3860
  readonly data?: any /*object*/;
3863
3861
  }
3864
3862
 
3863
+ interface ActionSelectPaymentOption {
3864
+ readonly type: 'select_payment_option';
3865
+ readonly expires_at?: string;
3866
+ readonly options: io.flow.v0.models.PaymentMethodDataPaymentOption[];
3867
+ readonly option_type: io.flow.v0.enums.PaymentMethodDataOptionType;
3868
+ }
3869
+
3865
3870
  interface ActionUseSdkAdyenV3 {
3866
3871
  readonly type: 'use_sdk_adyen_v3';
3867
3872
  readonly expires_at?: string;
@@ -5039,9 +5044,8 @@ declare namespace io.flow.v0.models {
5039
5044
 
5040
5045
  interface ChannelOrganizationApplication {
5041
5046
  readonly id: string;
5042
- readonly organization: io.flow.v0.models.OrganizationSummary;
5043
5047
  readonly company?: io.flow.v0.models.MerchantInfo;
5044
- readonly indirect_tax_number?: number;
5048
+ readonly indirect_tax_number?: string;
5045
5049
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
5046
5050
  readonly beneficiary?: string;
5047
5051
  readonly business_url?: string;
@@ -5053,21 +5057,19 @@ declare namespace io.flow.v0.models {
5053
5057
  readonly aba_routing_transit_number?: string;
5054
5058
  readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
5055
5059
  readonly other_trade_sector?: string;
5056
- readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5060
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5057
5061
  readonly average_order_weight?: number;
5058
5062
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
5059
- readonly monthly_average_volume?: number;
5060
- readonly monthly_average_transactions?: number;
5063
+ readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
5061
5064
  readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
5062
- readonly default_country_of_origin?: boolean;
5063
- readonly ratecard_id?: string;
5065
+ readonly default_country_of_origin?: string;
5066
+ readonly ratecard?: io.flow.v0.models.RatecardReference;
5064
5067
  readonly created_at: string;
5065
5068
  }
5066
5069
 
5067
5070
  interface ChannelOrganizationApplicationForm {
5068
- readonly organization_id: string;
5069
5071
  readonly company?: io.flow.v0.models.MerchantInfo;
5070
- readonly indirect_tax_number?: number;
5072
+ readonly indirect_tax_number?: string;
5071
5073
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
5072
5074
  readonly beneficiary?: string;
5073
5075
  readonly business_url?: string;
@@ -5079,13 +5081,14 @@ declare namespace io.flow.v0.models {
5079
5081
  readonly aba_routing_transit_number?: string;
5080
5082
  readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
5081
5083
  readonly other_trade_sector?: string;
5082
- readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5084
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5083
5085
  readonly average_order_weight?: number;
5084
5086
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
5085
- readonly monthly_average_volume?: number;
5086
- readonly monthly_average_transactions?: number;
5087
+ readonly monthly_average_volume_amount?: number;
5088
+ readonly monthly_average_volume_currency?: string;
5089
+ readonly monthly_average_number_transactions?: number;
5087
5090
  readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
5088
- readonly default_country_of_origin?: boolean;
5091
+ readonly default_country_of_origin?: string;
5089
5092
  readonly ratecard_id?: string;
5090
5093
  }
5091
5094
 
@@ -7165,12 +7168,6 @@ declare namespace io.flow.v0.models {
7165
7168
  readonly code: string;
7166
7169
  }
7167
7170
 
7168
- interface IdealIssuer {
7169
- readonly id: string;
7170
- readonly name: string;
7171
- readonly images?: io.flow.v0.models.PaymentMethodImages;
7172
- }
7173
-
7174
7171
  interface IdentifierForm {
7175
7172
  readonly primary?: boolean;
7176
7173
  readonly name: string;
@@ -7201,6 +7198,20 @@ declare namespace io.flow.v0.models {
7201
7198
  readonly deliveries: io.flow.v0.unions.ExportDelivery[];
7202
7199
  }
7203
7200
 
7201
+ interface ImportCompletedV2 {
7202
+ readonly discriminator: 'import_completed_v2';
7203
+ readonly event_id: string;
7204
+ readonly timestamp: string;
7205
+ readonly import: io.flow.v0.models.Import;
7206
+ }
7207
+
7208
+ interface ImportFailedV2 {
7209
+ readonly discriminator: 'import_failed_v2';
7210
+ readonly event_id: string;
7211
+ readonly timestamp: string;
7212
+ readonly import: io.flow.v0.models.Import;
7213
+ }
7214
+
7204
7215
  interface ImportForm {
7205
7216
  readonly type: io.flow.v0.enums.ImportType;
7206
7217
  readonly source_url: string;
@@ -8191,6 +8202,16 @@ declare namespace io.flow.v0.models {
8191
8202
  readonly base?: io.flow.v0.models.Money;
8192
8203
  }
8193
8204
 
8205
+ interface MonthlyAverage {
8206
+ readonly volume?: io.flow.v0.models.MonthlyAverageVolume;
8207
+ readonly number_transactions?: number;
8208
+ }
8209
+
8210
+ interface MonthlyAverageVolume {
8211
+ readonly amount?: number;
8212
+ readonly currency?: string;
8213
+ }
8214
+
8194
8215
  interface Name {
8195
8216
  readonly first?: string;
8196
8217
  readonly last?: string;
@@ -9564,6 +9585,11 @@ declare namespace io.flow.v0.models {
9564
9585
  readonly placeholder?: string;
9565
9586
  }
9566
9587
 
9588
+ interface PaymentMethodDataInitBancontact {
9589
+ readonly type: 'init_bancontact';
9590
+ readonly placeholder?: string;
9591
+ }
9592
+
9567
9593
  interface PaymentMethodDataInitGooglepay {
9568
9594
  readonly type: 'init_googlepay';
9569
9595
  readonly placeholder?: string;
@@ -9589,6 +9615,22 @@ declare namespace io.flow.v0.models {
9589
9615
  readonly placeholder?: string;
9590
9616
  }
9591
9617
 
9618
+ interface PaymentMethodDataOptionLogoSvg {
9619
+ readonly type: 'svg';
9620
+ readonly url: string;
9621
+ }
9622
+
9623
+ interface PaymentMethodDataPaymentOption {
9624
+ readonly id: string;
9625
+ readonly name: string;
9626
+ readonly logo?: io.flow.v0.unions.PaymentMethodDataOptionLogo[];
9627
+ }
9628
+
9629
+ interface PaymentMethodDataSelectedPaymentOption {
9630
+ readonly type: 'select_option';
9631
+ readonly option_id: string;
9632
+ }
9633
+
9592
9634
  interface PaymentMethodDataValidateApplepay {
9593
9635
  readonly type: 'validate_applepay';
9594
9636
  readonly validation_url: string;
@@ -9636,6 +9678,11 @@ declare namespace io.flow.v0.models {
9636
9678
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9637
9679
  }
9638
9680
 
9681
+ interface PaymentMethodSummaryBancontact {
9682
+ readonly type: 'bancontact';
9683
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9684
+ }
9685
+
9639
9686
  interface PaymentMethodSummaryCard {
9640
9687
  readonly type: 'card';
9641
9688
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
@@ -9652,7 +9699,7 @@ declare namespace io.flow.v0.models {
9652
9699
  interface PaymentMethodSummaryIdeal {
9653
9700
  readonly type: 'ideal';
9654
9701
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9655
- readonly issuer: string;
9702
+ readonly issuer?: string;
9656
9703
  }
9657
9704
 
9658
9705
  interface PaymentMethodSummaryKlarna {
@@ -12153,6 +12200,15 @@ declare namespace io.flow.v0.models {
12153
12200
  readonly email_recipients?: string[];
12154
12201
  }
12155
12202
 
12203
+ interface Test {
12204
+ readonly id: string;
12205
+ readonly name: string;
12206
+ }
12207
+
12208
+ interface TestForm {
12209
+ readonly name: string;
12210
+ }
12211
+
12156
12212
  interface ThirdPartyLogisticsPartner {
12157
12213
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
12158
12214
  readonly warehouse_url?: string;
@@ -12707,7 +12763,7 @@ declare namespace io.flow.v0.unions {
12707
12763
  | io.flow.v0.models.ActionUseSdkStripeV3
12708
12764
  | io.flow.v0.models.ActionUseSdkAdyenV3
12709
12765
  | io.flow.v0.models.ActionUseSdkAdyenV4
12710
- | io.flow.v0.models.ActionIdealSelectIssuer
12766
+ | io.flow.v0.models.ActionSelectPaymentOption
12711
12767
  | io.flow.v0.models.ActionExecuteScript
12712
12768
  | io.flow.v0.models.ActionDisplayInlineWindow
12713
12769
  | io.flow.v0.models.ActionWait;
@@ -12889,6 +12945,8 @@ declare namespace io.flow.v0.unions {
12889
12945
  | io.flow.v0.models.ItemOriginDeleted
12890
12946
  | io.flow.v0.models.HarmonizedLandedCostUpserted
12891
12947
  | io.flow.v0.models.FullyHarmonizedItemUpserted
12948
+ | io.flow.v0.models.ImportCompletedV2
12949
+ | io.flow.v0.models.ImportFailedV2
12892
12950
  | io.flow.v0.models.RuleUpserted
12893
12951
  | io.flow.v0.models.RuleDeleted
12894
12952
  | io.flow.v0.models.SnapshotUpserted
@@ -13077,16 +13135,20 @@ declare namespace io.flow.v0.unions {
13077
13135
  | io.flow.v0.models.PaymentMethodDataInitPaypal
13078
13136
  | io.flow.v0.models.PaymentMethodDataInitIdeal
13079
13137
  | io.flow.v0.models.PaymentMethodDataInitSofort
13138
+ | io.flow.v0.models.PaymentMethodDataInitBancontact
13080
13139
  | io.flow.v0.models.PaymentMethodDataValidateApplepay
13081
13140
  | io.flow.v0.models.PaymentMethodDataAuthorizeCard
13082
13141
  | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay
13083
13142
  | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay
13084
13143
  | io.flow.v0.models.PaymentMethodDataAuthorizePaypal
13085
13144
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna
13145
+ | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption
13086
13146
  | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
13087
13147
  type PaymentMethodDataAuthorizeKlarnaResult =
13088
13148
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
13089
13149
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
13150
+ type PaymentMethodDataOptionLogo =
13151
+ io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
13090
13152
  type PaymentMethodSummary =
13091
13153
  | io.flow.v0.models.PaymentMethodSummaryCard
13092
13154
  | io.flow.v0.models.PaymentMethodSummaryKlarna
@@ -13095,7 +13157,8 @@ declare namespace io.flow.v0.unions {
13095
13157
  | io.flow.v0.models.PaymentMethodSummaryGooglepay
13096
13158
  | io.flow.v0.models.PaymentMethodSummaryPaypal
13097
13159
  | io.flow.v0.models.PaymentMethodSummaryIdeal
13098
- | io.flow.v0.models.PaymentMethodSummarySofort;
13160
+ | io.flow.v0.models.PaymentMethodSummarySofort
13161
+ | io.flow.v0.models.PaymentMethodSummaryBancontact;
13099
13162
 
13100
13163
  type PaymentMethodTag =
13101
13164
  | {
@@ -13227,8 +13290,9 @@ export type Action = io.flow.v0.unions.Action;
13227
13290
  export type ActionDisplayInlineWindow =
13228
13291
  io.flow.v0.models.ActionDisplayInlineWindow;
13229
13292
  export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
13230
- export type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
13231
13293
  export type ActionRedirect = io.flow.v0.models.ActionRedirect;
13294
+ export type ActionSelectPaymentOption =
13295
+ io.flow.v0.models.ActionSelectPaymentOption;
13232
13296
  export type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
13233
13297
  export type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
13234
13298
  export type ActionUseSdkApplepayJsCompleteValidation =
@@ -13963,12 +14027,13 @@ export type Hs10Version = io.flow.v0.models.Hs10Version;
13963
14027
  export type Hs6 = io.flow.v0.models.Hs6;
13964
14028
  export type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
13965
14029
  export type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
13966
- export type IdealIssuer = io.flow.v0.models.IdealIssuer;
13967
14030
  export type IdentifierForm = io.flow.v0.models.IdentifierForm;
13968
14031
  export type Image = io.flow.v0.models.Image;
13969
14032
  export type ImageForm = io.flow.v0.models.ImageForm;
13970
14033
  export type ImageTag = io.flow.v0.enums.ImageTag;
13971
14034
  export type Import = io.flow.v0.models.Import;
14035
+ export type ImportCompletedV2 = io.flow.v0.models.ImportCompletedV2;
14036
+ export type ImportFailedV2 = io.flow.v0.models.ImportFailedV2;
13972
14037
  export type ImportForm = io.flow.v0.models.ImportForm;
13973
14038
  export type ImportResults = io.flow.v0.models.ImportResults;
13974
14039
  export type ImportTemplate = io.flow.v0.models.ImportTemplate;
@@ -14157,6 +14222,8 @@ export type Method = io.flow.v0.enums.Method;
14157
14222
  export type Money = io.flow.v0.models.Money;
14158
14223
  export type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
14159
14224
  export type MoneyWithOptionalBase = io.flow.v0.models.MoneyWithOptionalBase;
14225
+ export type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
14226
+ export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
14160
14227
  export type Name = io.flow.v0.models.Name;
14161
14228
  export type NameForm = io.flow.v0.models.NameForm;
14162
14229
  export type NoInventoryReservationError =
@@ -14458,6 +14525,8 @@ export type PaymentMethodDataInitAfterpay =
14458
14525
  io.flow.v0.models.PaymentMethodDataInitAfterpay;
14459
14526
  export type PaymentMethodDataInitApplepay =
14460
14527
  io.flow.v0.models.PaymentMethodDataInitApplepay;
14528
+ export type PaymentMethodDataInitBancontact =
14529
+ io.flow.v0.models.PaymentMethodDataInitBancontact;
14461
14530
  export type PaymentMethodDataInitGooglepay =
14462
14531
  io.flow.v0.models.PaymentMethodDataInitGooglepay;
14463
14532
  export type PaymentMethodDataInitIdeal =
@@ -14468,6 +14537,16 @@ export type PaymentMethodDataInitPaypal =
14468
14537
  io.flow.v0.models.PaymentMethodDataInitPaypal;
14469
14538
  export type PaymentMethodDataInitSofort =
14470
14539
  io.flow.v0.models.PaymentMethodDataInitSofort;
14540
+ export type PaymentMethodDataOptionLogo =
14541
+ io.flow.v0.unions.PaymentMethodDataOptionLogo;
14542
+ export type PaymentMethodDataOptionLogoSvg =
14543
+ io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
14544
+ export type PaymentMethodDataOptionType =
14545
+ io.flow.v0.enums.PaymentMethodDataOptionType;
14546
+ export type PaymentMethodDataPaymentOption =
14547
+ io.flow.v0.models.PaymentMethodDataPaymentOption;
14548
+ export type PaymentMethodDataSelectedPaymentOption =
14549
+ io.flow.v0.models.PaymentMethodDataSelectedPaymentOption;
14471
14550
  export type PaymentMethodDataValidateApplepay =
14472
14551
  io.flow.v0.models.PaymentMethodDataValidateApplepay;
14473
14552
  export type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage;
@@ -14483,6 +14562,8 @@ export type PaymentMethodSummaryAfterpay =
14483
14562
  io.flow.v0.models.PaymentMethodSummaryAfterpay;
14484
14563
  export type PaymentMethodSummaryApplepay =
14485
14564
  io.flow.v0.models.PaymentMethodSummaryApplepay;
14565
+ export type PaymentMethodSummaryBancontact =
14566
+ io.flow.v0.models.PaymentMethodSummaryBancontact;
14486
14567
  export type PaymentMethodSummaryCard =
14487
14568
  io.flow.v0.models.PaymentMethodSummaryCard;
14488
14569
  export type PaymentMethodSummaryGooglepay =
@@ -15000,6 +15081,8 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
15000
15081
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
15001
15082
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
15002
15083
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
15084
+ export type Test = io.flow.v0.models.Test;
15085
+ export type TestForm = io.flow.v0.models.TestForm;
15003
15086
  export type ThirdPartyLogisticsPartner =
15004
15087
  io.flow.v0.models.ThirdPartyLogisticsPartner;
15005
15088
  export type ThirdPartyLogisticsPickUpTimeWindow =