@flowio/types 11.24.63 → 11.24.65

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
@@ -1253,6 +1253,7 @@ declare namespace io.flow.shopify.external.v0.models {
1253
1253
  readonly vendor?: string;
1254
1254
  readonly body_html?: string;
1255
1255
  readonly product_type?: string;
1256
+ readonly status?: string;
1256
1257
  readonly options: io.flow.shopify.external.v0.models.Option[];
1257
1258
  readonly tags?: string;
1258
1259
  readonly template_suffix?: string;
@@ -2005,8 +2006,8 @@ declare namespace io.flow.apple.pay.v0.enums {
2005
2006
  | 'email'
2006
2007
  | 'name'
2007
2008
  | 'phone'
2008
- | 'postal_address'
2009
- | 'phonetic_name';
2009
+ | 'postalAddress'
2010
+ | 'phoneticName';
2010
2011
  type ApplePayLineItemType = 'final' | 'pending';
2011
2012
  type ApplePayMerchantCapability =
2012
2013
  | 'supports3DS'
@@ -2016,8 +2017,8 @@ declare namespace io.flow.apple.pay.v0.enums {
2016
2017
  type ApplePayShippingType =
2017
2018
  | 'shipping'
2018
2019
  | 'delivery'
2019
- | 'store_pickup'
2020
- | 'service_pickup';
2020
+ | 'storePickup'
2021
+ | 'servicePickup';
2021
2022
  type ApplePaySupportedNetworks =
2022
2023
  | 'amex'
2023
2024
  | 'chinaUnionPay'
@@ -2032,7 +2033,7 @@ declare namespace io.flow.apple.pay.v0.models {
2032
2033
  interface ApplePayLineItem {
2033
2034
  readonly label: string;
2034
2035
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
2035
- readonly amount: number;
2036
+ readonly amount: string;
2036
2037
  }
2037
2038
 
2038
2039
  interface ApplePayPaymentContact {
@@ -2083,7 +2084,7 @@ declare namespace io.flow.apple.pay.v0.models {
2083
2084
  interface ApplePayShippingMethod {
2084
2085
  readonly label: string;
2085
2086
  readonly detail: string;
2086
- readonly amount: number;
2087
+ readonly amount: string;
2087
2088
  readonly identifier: string;
2088
2089
  }
2089
2090
  }
@@ -2849,7 +2850,10 @@ declare namespace io.flow.v0.enums {
2849
2850
  | 'afterpay'
2850
2851
  | 'bancontact';
2851
2852
  type PayoutAttachmentType = 'transactions';
2852
- type PayoutStatusFailureCode = 'invalid_account_number' | 'could_not_process';
2853
+ type PayoutStatusFailureCode =
2854
+ | 'invalid_account_number'
2855
+ | 'account_closed'
2856
+ | 'could_not_process';
2853
2857
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2854
2858
  type PhysicalDeliverySpecialSerivce =
2855
2859
  | 'cold_storage'
@@ -3859,10 +3863,41 @@ declare namespace io.flow.v0.models {
3859
3863
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
3860
3864
  }
3861
3865
 
3862
- interface BankAccountForm {
3866
+ interface BankAccountFormInfo {
3867
+ readonly discriminator: 'info';
3863
3868
  readonly info: io.flow.v0.unions.BankAccountInfo;
3864
3869
  }
3865
3870
 
3871
+ interface BankAccountFormSimple {
3872
+ readonly discriminator: 'simple';
3873
+ readonly routing_number: string;
3874
+ readonly account_number: string;
3875
+ }
3876
+
3877
+ interface BankAccountInfoCan {
3878
+ readonly discriminator: 'can';
3879
+ readonly routing_number: string;
3880
+ readonly account_number: string;
3881
+ }
3882
+
3883
+ interface BankAccountInfoFra {
3884
+ readonly discriminator: 'fra';
3885
+ readonly swift_code: string;
3886
+ readonly iban: string;
3887
+ }
3888
+
3889
+ interface BankAccountInfoGbr {
3890
+ readonly discriminator: 'gbr';
3891
+ readonly swift_code: string;
3892
+ readonly iban: string;
3893
+ }
3894
+
3895
+ interface BankAccountInfoIta {
3896
+ readonly discriminator: 'ita';
3897
+ readonly swift_code: string;
3898
+ readonly iban: string;
3899
+ }
3900
+
3866
3901
  interface BankAccountInfoUsa {
3867
3902
  readonly discriminator: 'usa';
3868
3903
  readonly routing_number: string;
@@ -4822,6 +4857,14 @@ declare namespace io.flow.v0.models {
4822
4857
  readonly amount: io.flow.v0.models.Money;
4823
4858
  }
4824
4859
 
4860
+ interface Company {
4861
+ readonly discriminator: 'company';
4862
+ readonly legal_name: string;
4863
+ readonly incorporation_country: string;
4864
+ readonly incorporation_jurisdiction: string;
4865
+ readonly tax_registration_number: string;
4866
+ }
4867
+
4825
4868
  interface ConsumerInvoice {
4826
4869
  readonly id: string;
4827
4870
  readonly number: string;
@@ -6849,6 +6892,13 @@ declare namespace io.flow.v0.models {
6849
6892
  readonly id?: string;
6850
6893
  }
6851
6894
 
6895
+ interface Individual {
6896
+ readonly discriminator: 'individual';
6897
+ readonly legal_name: string;
6898
+ readonly tax_registration_number?: string;
6899
+ readonly date_of_birth: string;
6900
+ }
6901
+
6852
6902
  interface InlineAuthorizationDetails {
6853
6903
  readonly discriminator: 'inline_authorization_details';
6854
6904
  readonly id: string;
@@ -7301,6 +7351,27 @@ declare namespace io.flow.v0.models {
7301
7351
  readonly total: io.flow.v0.models.PriceWithBase;
7302
7352
  }
7303
7353
 
7354
+ interface KnowYourBusinessUsa {
7355
+ readonly discriminator: 'know_your_business_usa';
7356
+ readonly id: string;
7357
+ readonly primary_entity: io.flow.v0.unions.Entity;
7358
+ readonly parent_company?: io.flow.v0.models.Company;
7359
+ readonly ultimate_parent_company?: io.flow.v0.models.Company;
7360
+ readonly ultimate_beneficiary_owner: io.flow.v0.models.Individual;
7361
+ readonly business_url: string;
7362
+ readonly business_address: io.flow.v0.models.Address;
7363
+ }
7364
+
7365
+ interface KnowYourBusinessUsaForm {
7366
+ readonly discriminator: 'know_your_business_usa_form';
7367
+ readonly primary_entity: io.flow.v0.unions.Entity;
7368
+ readonly parent_company?: io.flow.v0.models.Company;
7369
+ readonly ultimate_parent_company?: io.flow.v0.models.Company;
7370
+ readonly ultimate_beneficiary_owner: io.flow.v0.models.Individual;
7371
+ readonly business_url: string;
7372
+ readonly business_address: io.flow.v0.models.Address;
7373
+ }
7374
+
7304
7375
  interface KubeHealthcheck {
7305
7376
  readonly status: string;
7306
7377
  }
@@ -7958,6 +8029,7 @@ declare namespace io.flow.v0.models {
7958
8029
  }
7959
8030
 
7960
8031
  interface OnboardingStateTransition {
8032
+ readonly id: string;
7961
8033
  readonly state: io.flow.v0.unions.OnboardingState;
7962
8034
  readonly started_at: string;
7963
8035
  }
@@ -8060,6 +8132,7 @@ declare namespace io.flow.v0.models {
8060
8132
  readonly rules?: io.flow.v0.models.OrderRulesSummary;
8061
8133
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
8062
8134
  readonly geo?: io.flow.v0.models.OrderGeo;
8135
+ readonly device_details?: io.flow.v0.unions.DeviceDetails;
8063
8136
  }
8064
8137
 
8065
8138
  interface OrderAddress {
@@ -8888,6 +8961,10 @@ declare namespace io.flow.v0.models {
8888
8961
  readonly organization: io.flow.v0.models.OrganizationReference;
8889
8962
  readonly transitions: io.flow.v0.models.OnboardingStateTransition[];
8890
8963
  readonly current_state: io.flow.v0.unions.OnboardingState;
8964
+ readonly started_at?: string;
8965
+ readonly time_blocked?: number;
8966
+ readonly blocked_since?: string;
8967
+ readonly completed_at?: string;
8891
8968
  }
8892
8969
 
8893
8970
  interface OrganizationOnboardingStateDeleted {
@@ -12949,7 +13026,15 @@ declare namespace io.flow.v0.unions {
12949
13026
  type AvailableFilter =
12950
13027
  | io.flow.v0.models.AvailableFilterStructured
12951
13028
  | io.flow.v0.models.AvailableFilterUnstructured;
12952
- type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
13029
+ type BankAccountForm =
13030
+ | io.flow.v0.models.BankAccountFormInfo
13031
+ | io.flow.v0.models.BankAccountFormSimple;
13032
+ type BankAccountInfo =
13033
+ | io.flow.v0.models.BankAccountInfoUsa
13034
+ | io.flow.v0.models.BankAccountInfoCan
13035
+ | io.flow.v0.models.BankAccountInfoGbr
13036
+ | io.flow.v0.models.BankAccountInfoFra
13037
+ | io.flow.v0.models.BankAccountInfoIta;
12953
13038
  type BrowserActionConfiguration =
12954
13039
  io.flow.v0.models.CardBrowserActionConfiguration;
12955
13040
  type CardAuthorizationActionResult =
@@ -12992,6 +13077,7 @@ declare namespace io.flow.v0.unions {
12992
13077
  type EmailNotificationData =
12993
13078
  | io.flow.v0.models.EmailNotificationDataRefund
12994
13079
  | io.flow.v0.models.EmailNotificationAbandonedOrder;
13080
+ type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
12995
13081
  type Event =
12996
13082
  | io.flow.v0.models.TestUpserted
12997
13083
  | io.flow.v0.models.TransactionUpserted
@@ -13255,6 +13341,8 @@ declare namespace io.flow.v0.unions {
13255
13341
  | io.flow.v0.models.InventoryStock
13256
13342
  | io.flow.v0.models.InventoryUnlimited
13257
13343
  | io.flow.v0.models.InventoryFollowEcommercePlatform;
13344
+ type KnowYourBusiness = io.flow.v0.models.KnowYourBusinessUsa;
13345
+ type KnowYourBusinessForm = io.flow.v0.models.KnowYourBusinessUsaForm;
13258
13346
  type LocalizedPrice =
13259
13347
  | io.flow.v0.models.LocalizedItemPrice
13260
13348
  | io.flow.v0.models.LocalizedItemVat
@@ -13652,8 +13740,14 @@ export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
13652
13740
  export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
13653
13741
  export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
13654
13742
  export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
13655
- export type BankAccountForm = io.flow.v0.models.BankAccountForm;
13743
+ export type BankAccountForm = io.flow.v0.unions.BankAccountForm;
13744
+ export type BankAccountFormInfo = io.flow.v0.models.BankAccountFormInfo;
13745
+ export type BankAccountFormSimple = io.flow.v0.models.BankAccountFormSimple;
13656
13746
  export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
13747
+ export type BankAccountInfoCan = io.flow.v0.models.BankAccountInfoCan;
13748
+ export type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
13749
+ export type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
13750
+ export type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
13657
13751
  export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
13658
13752
  export type BankAccountReference = io.flow.v0.models.BankAccountReference;
13659
13753
  export type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
@@ -13834,6 +13928,7 @@ export type CheckoutUrls = io.flow.v0.models.CheckoutUrls;
13834
13928
  export type CheckoutUrlsForm = io.flow.v0.models.CheckoutUrlsForm;
13835
13929
  export type Cleartext = io.flow.v0.models.Cleartext;
13836
13930
  export type CommercialInvoiceFee = io.flow.v0.models.CommercialInvoiceFee;
13931
+ export type Company = io.flow.v0.models.Company;
13837
13932
  export type ConfirmationDetails = io.flow.v0.unions.ConfirmationDetails;
13838
13933
  export type ConsumerInvoice = io.flow.v0.models.ConsumerInvoice;
13839
13934
  export type ConsumerInvoiceCenterReference =
@@ -14064,6 +14159,7 @@ export type EmergencySituationSurchargeRatecardFee =
14064
14159
  io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
14065
14160
  export type EmergencySituationSurchargeServiceFee =
14066
14161
  io.flow.v0.models.EmergencySituationSurchargeServiceFee;
14162
+ export type Entity = io.flow.v0.unions.Entity;
14067
14163
  export type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
14068
14164
  export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
14069
14165
  export type Environment = io.flow.v0.enums.Environment;
@@ -14316,6 +14412,7 @@ export type IncludedLevies = io.flow.v0.models.IncludedLevies;
14316
14412
  export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
14317
14413
  export type Incoterm = io.flow.v0.enums.Incoterm;
14318
14414
  export type IndirectTax = io.flow.v0.models.IndirectTax;
14415
+ export type Individual = io.flow.v0.models.Individual;
14319
14416
  export type InlineActionConfiguration =
14320
14417
  io.flow.v0.unions.InlineActionConfiguration;
14321
14418
  export type InlineAuthorizationDetails =
@@ -14402,6 +14499,10 @@ export type KlarnaSdkAuthorizationResultActionDetails =
14402
14499
  export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
14403
14500
  export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
14404
14501
  export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
14502
+ export type KnowYourBusiness = io.flow.v0.unions.KnowYourBusiness;
14503
+ export type KnowYourBusinessForm = io.flow.v0.unions.KnowYourBusinessForm;
14504
+ export type KnowYourBusinessUsa = io.flow.v0.models.KnowYourBusinessUsa;
14505
+ export type KnowYourBusinessUsaForm = io.flow.v0.models.KnowYourBusinessUsaForm;
14405
14506
  export type KubeHealthcheck = io.flow.v0.models.KubeHealthcheck;
14406
14507
  export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
14407
14508
  export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;