@flowio/types 11.24.64 → 11.24.66
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 +181 -63
- package/dist/api.d.ts +89 -4
- package/package.json +2 -2
- package/src/api-internal.ts +318 -70
- package/src/api.ts +108 -4
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;
|
|
@@ -2849,7 +2850,10 @@ declare namespace io.flow.v0.enums {
|
|
|
2849
2850
|
| 'afterpay'
|
|
2850
2851
|
| 'bancontact';
|
|
2851
2852
|
type PayoutAttachmentType = 'transactions';
|
|
2852
|
-
type PayoutStatusFailureCode =
|
|
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
|
|
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 {
|
|
@@ -8202,6 +8275,7 @@ declare namespace io.flow.v0.models {
|
|
|
8202
8275
|
readonly attributes?: Record<string, string>;
|
|
8203
8276
|
readonly authorization_keys?: string[];
|
|
8204
8277
|
readonly options?: io.flow.v0.models.OrderOptions;
|
|
8278
|
+
readonly device_details?: io.flow.v0.unions.DeviceDetails;
|
|
8205
8279
|
}
|
|
8206
8280
|
|
|
8207
8281
|
interface OrderFraudStatus {
|
|
@@ -8420,6 +8494,7 @@ declare namespace io.flow.v0.models {
|
|
|
8420
8494
|
readonly attributes?: Record<string, string>;
|
|
8421
8495
|
readonly authorization_keys?: string[];
|
|
8422
8496
|
readonly options?: io.flow.v0.models.OrderOptions;
|
|
8497
|
+
readonly device_details?: io.flow.v0.unions.DeviceDetails;
|
|
8423
8498
|
}
|
|
8424
8499
|
|
|
8425
8500
|
interface OrderQuote {
|
|
@@ -8888,6 +8963,10 @@ declare namespace io.flow.v0.models {
|
|
|
8888
8963
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
8889
8964
|
readonly transitions: io.flow.v0.models.OnboardingStateTransition[];
|
|
8890
8965
|
readonly current_state: io.flow.v0.unions.OnboardingState;
|
|
8966
|
+
readonly started_at?: string;
|
|
8967
|
+
readonly time_blocked?: number;
|
|
8968
|
+
readonly blocked_since?: string;
|
|
8969
|
+
readonly completed_at?: string;
|
|
8891
8970
|
}
|
|
8892
8971
|
|
|
8893
8972
|
interface OrganizationOnboardingStateDeleted {
|
|
@@ -11512,6 +11591,7 @@ declare namespace io.flow.v0.models {
|
|
|
11512
11591
|
readonly order_identifier?: string;
|
|
11513
11592
|
readonly fulfillment_key?: string;
|
|
11514
11593
|
readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
11594
|
+
readonly created_at?: string;
|
|
11515
11595
|
readonly updated_at?: string;
|
|
11516
11596
|
}
|
|
11517
11597
|
|
|
@@ -12949,7 +13029,15 @@ declare namespace io.flow.v0.unions {
|
|
|
12949
13029
|
type AvailableFilter =
|
|
12950
13030
|
| io.flow.v0.models.AvailableFilterStructured
|
|
12951
13031
|
| io.flow.v0.models.AvailableFilterUnstructured;
|
|
12952
|
-
type
|
|
13032
|
+
type BankAccountForm =
|
|
13033
|
+
| io.flow.v0.models.BankAccountFormInfo
|
|
13034
|
+
| io.flow.v0.models.BankAccountFormSimple;
|
|
13035
|
+
type BankAccountInfo =
|
|
13036
|
+
| io.flow.v0.models.BankAccountInfoUsa
|
|
13037
|
+
| io.flow.v0.models.BankAccountInfoCan
|
|
13038
|
+
| io.flow.v0.models.BankAccountInfoGbr
|
|
13039
|
+
| io.flow.v0.models.BankAccountInfoFra
|
|
13040
|
+
| io.flow.v0.models.BankAccountInfoIta;
|
|
12953
13041
|
type BrowserActionConfiguration =
|
|
12954
13042
|
io.flow.v0.models.CardBrowserActionConfiguration;
|
|
12955
13043
|
type CardAuthorizationActionResult =
|
|
@@ -12992,6 +13080,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12992
13080
|
type EmailNotificationData =
|
|
12993
13081
|
| io.flow.v0.models.EmailNotificationDataRefund
|
|
12994
13082
|
| io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
13083
|
+
type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
|
|
12995
13084
|
type Event =
|
|
12996
13085
|
| io.flow.v0.models.TestUpserted
|
|
12997
13086
|
| io.flow.v0.models.TransactionUpserted
|
|
@@ -13255,6 +13344,8 @@ declare namespace io.flow.v0.unions {
|
|
|
13255
13344
|
| io.flow.v0.models.InventoryStock
|
|
13256
13345
|
| io.flow.v0.models.InventoryUnlimited
|
|
13257
13346
|
| io.flow.v0.models.InventoryFollowEcommercePlatform;
|
|
13347
|
+
type KnowYourBusiness = io.flow.v0.models.KnowYourBusinessUsa;
|
|
13348
|
+
type KnowYourBusinessForm = io.flow.v0.models.KnowYourBusinessUsaForm;
|
|
13258
13349
|
type LocalizedPrice =
|
|
13259
13350
|
| io.flow.v0.models.LocalizedItemPrice
|
|
13260
13351
|
| io.flow.v0.models.LocalizedItemVat
|
|
@@ -13652,8 +13743,14 @@ export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
|
13652
13743
|
export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
13653
13744
|
export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
13654
13745
|
export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
13655
|
-
export type BankAccountForm = io.flow.v0.
|
|
13746
|
+
export type BankAccountForm = io.flow.v0.unions.BankAccountForm;
|
|
13747
|
+
export type BankAccountFormInfo = io.flow.v0.models.BankAccountFormInfo;
|
|
13748
|
+
export type BankAccountFormSimple = io.flow.v0.models.BankAccountFormSimple;
|
|
13656
13749
|
export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
|
|
13750
|
+
export type BankAccountInfoCan = io.flow.v0.models.BankAccountInfoCan;
|
|
13751
|
+
export type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
|
|
13752
|
+
export type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
|
|
13753
|
+
export type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
|
|
13657
13754
|
export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
|
|
13658
13755
|
export type BankAccountReference = io.flow.v0.models.BankAccountReference;
|
|
13659
13756
|
export type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
|
|
@@ -13834,6 +13931,7 @@ export type CheckoutUrls = io.flow.v0.models.CheckoutUrls;
|
|
|
13834
13931
|
export type CheckoutUrlsForm = io.flow.v0.models.CheckoutUrlsForm;
|
|
13835
13932
|
export type Cleartext = io.flow.v0.models.Cleartext;
|
|
13836
13933
|
export type CommercialInvoiceFee = io.flow.v0.models.CommercialInvoiceFee;
|
|
13934
|
+
export type Company = io.flow.v0.models.Company;
|
|
13837
13935
|
export type ConfirmationDetails = io.flow.v0.unions.ConfirmationDetails;
|
|
13838
13936
|
export type ConsumerInvoice = io.flow.v0.models.ConsumerInvoice;
|
|
13839
13937
|
export type ConsumerInvoiceCenterReference =
|
|
@@ -14064,6 +14162,7 @@ export type EmergencySituationSurchargeRatecardFee =
|
|
|
14064
14162
|
io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
|
|
14065
14163
|
export type EmergencySituationSurchargeServiceFee =
|
|
14066
14164
|
io.flow.v0.models.EmergencySituationSurchargeServiceFee;
|
|
14165
|
+
export type Entity = io.flow.v0.unions.Entity;
|
|
14067
14166
|
export type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
|
|
14068
14167
|
export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
|
|
14069
14168
|
export type Environment = io.flow.v0.enums.Environment;
|
|
@@ -14316,6 +14415,7 @@ export type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
|
14316
14415
|
export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
14317
14416
|
export type Incoterm = io.flow.v0.enums.Incoterm;
|
|
14318
14417
|
export type IndirectTax = io.flow.v0.models.IndirectTax;
|
|
14418
|
+
export type Individual = io.flow.v0.models.Individual;
|
|
14319
14419
|
export type InlineActionConfiguration =
|
|
14320
14420
|
io.flow.v0.unions.InlineActionConfiguration;
|
|
14321
14421
|
export type InlineAuthorizationDetails =
|
|
@@ -14402,6 +14502,10 @@ export type KlarnaSdkAuthorizationResultActionDetails =
|
|
|
14402
14502
|
export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
|
|
14403
14503
|
export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
|
|
14404
14504
|
export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
|
|
14505
|
+
export type KnowYourBusiness = io.flow.v0.unions.KnowYourBusiness;
|
|
14506
|
+
export type KnowYourBusinessForm = io.flow.v0.unions.KnowYourBusinessForm;
|
|
14507
|
+
export type KnowYourBusinessUsa = io.flow.v0.models.KnowYourBusinessUsa;
|
|
14508
|
+
export type KnowYourBusinessUsaForm = io.flow.v0.models.KnowYourBusinessUsaForm;
|
|
14405
14509
|
export type KubeHealthcheck = io.flow.v0.models.KubeHealthcheck;
|
|
14406
14510
|
export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
|
|
14407
14511
|
export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
|