@flowio/types 11.24.33 → 11.24.35
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 +278 -40
- package/dist/api.d.ts +32 -1
- package/package.json +2 -2
- package/src/api-internal.ts +369 -53
- package/src/api.ts +42 -1
package/src/api.ts
CHANGED
|
@@ -2184,7 +2184,12 @@ declare namespace io.flow.v0.enums {
|
|
|
2184
2184
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
2185
2185
|
type Capability = 'crossdock';
|
|
2186
2186
|
type CaptureDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
2187
|
-
type CaptureStatus =
|
|
2187
|
+
type CaptureStatus =
|
|
2188
|
+
| 'initiated'
|
|
2189
|
+
| 'pending'
|
|
2190
|
+
| 'succeeded'
|
|
2191
|
+
| 'failed'
|
|
2192
|
+
| 'canceled';
|
|
2188
2193
|
type CardErrorCode =
|
|
2189
2194
|
| 'invalid_address'
|
|
2190
2195
|
| 'invalid_currency'
|
|
@@ -2222,6 +2227,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2222
2227
|
| 'individual';
|
|
2223
2228
|
type ConsumerInvoiceDocumentType = 'pdf';
|
|
2224
2229
|
type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
|
|
2230
|
+
type CostEstimateSource = 'flow' | 'channel';
|
|
2225
2231
|
type CountryPickerSource = 'experience' | 'destination';
|
|
2226
2232
|
type CreditPaymentErrorCode =
|
|
2227
2233
|
| 'generic_error'
|
|
@@ -2724,6 +2730,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2724
2730
|
| 'inactive'
|
|
2725
2731
|
| 'deactivated'
|
|
2726
2732
|
| 'provisioned';
|
|
2733
|
+
type OrganizationType = 'standalone' | 'channel';
|
|
2727
2734
|
type PaymentActionType =
|
|
2728
2735
|
| 'redirect'
|
|
2729
2736
|
| 'redirect_get'
|
|
@@ -3773,6 +3780,17 @@ declare namespace io.flow.v0.models {
|
|
|
3773
3780
|
readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
|
|
3774
3781
|
}
|
|
3775
3782
|
|
|
3783
|
+
interface BankAccountForm {
|
|
3784
|
+
readonly last4: string;
|
|
3785
|
+
readonly info: io.flow.v0.unions.BankAccountInfo;
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
interface BankAccountInfoUsa {
|
|
3789
|
+
readonly discriminator: 'usa';
|
|
3790
|
+
readonly routing_number: string;
|
|
3791
|
+
readonly account_number: string;
|
|
3792
|
+
}
|
|
3793
|
+
|
|
3776
3794
|
interface BehaviorAudit {
|
|
3777
3795
|
readonly behavior: io.flow.v0.enums.FlowBehavior;
|
|
3778
3796
|
readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
|
|
@@ -3790,10 +3808,15 @@ declare namespace io.flow.v0.models {
|
|
|
3790
3808
|
}
|
|
3791
3809
|
|
|
3792
3810
|
interface BillingChannelOrderSummary {
|
|
3811
|
+
readonly organization: io.flow.v0.models.BillingChannelOrganizationSummary;
|
|
3793
3812
|
readonly number: string;
|
|
3794
3813
|
readonly identifiers?: Record<string, string>;
|
|
3795
3814
|
}
|
|
3796
3815
|
|
|
3816
|
+
interface BillingChannelOrganizationSummary {
|
|
3817
|
+
readonly id: string;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3797
3820
|
interface BillingChannelPaymentRequestReference {
|
|
3798
3821
|
readonly id: string;
|
|
3799
3822
|
readonly reference?: string;
|
|
@@ -8537,6 +8560,7 @@ declare namespace io.flow.v0.models {
|
|
|
8537
8560
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
8538
8561
|
readonly created_at?: string;
|
|
8539
8562
|
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
8563
|
+
readonly type?: io.flow.v0.enums.OrganizationType;
|
|
8540
8564
|
}
|
|
8541
8565
|
|
|
8542
8566
|
interface OrganizationAuthorization {
|
|
@@ -8549,6 +8573,11 @@ declare namespace io.flow.v0.models {
|
|
|
8549
8573
|
readonly environment: io.flow.v0.enums.Environment;
|
|
8550
8574
|
}
|
|
8551
8575
|
|
|
8576
|
+
interface OrganizationBankAccount {
|
|
8577
|
+
readonly id: string;
|
|
8578
|
+
readonly last4: string;
|
|
8579
|
+
}
|
|
8580
|
+
|
|
8552
8581
|
interface OrganizationConfigurationReference {
|
|
8553
8582
|
readonly id: string;
|
|
8554
8583
|
}
|
|
@@ -8607,6 +8636,7 @@ declare namespace io.flow.v0.models {
|
|
|
8607
8636
|
readonly parent_id?: string;
|
|
8608
8637
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
8609
8638
|
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
8639
|
+
readonly type?: io.flow.v0.enums.OrganizationType;
|
|
8610
8640
|
}
|
|
8611
8641
|
|
|
8612
8642
|
interface OrganizationPutForm {
|
|
@@ -10914,9 +10944,11 @@ declare namespace io.flow.v0.models {
|
|
|
10914
10944
|
interface ShippingLabel {
|
|
10915
10945
|
readonly id: string;
|
|
10916
10946
|
readonly hop?: io.flow.v0.models.ShippingLabelHopSummary;
|
|
10947
|
+
readonly reference_id?: string;
|
|
10917
10948
|
readonly attributes: Record<string, string>;
|
|
10918
10949
|
readonly carrier_tracking_number: string;
|
|
10919
10950
|
readonly carrier_tracking_number_url: string;
|
|
10951
|
+
readonly cost_estimate_source?: io.flow.v0.enums.CostEstimateSource;
|
|
10920
10952
|
readonly cost?: io.flow.v0.models.Price;
|
|
10921
10953
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
10922
10954
|
readonly flow_tracking_number: string;
|
|
@@ -12448,6 +12480,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12448
12480
|
type AvailableFilter =
|
|
12449
12481
|
| io.flow.v0.models.AvailableFilterStructured
|
|
12450
12482
|
| io.flow.v0.models.AvailableFilterUnstructured;
|
|
12483
|
+
type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
|
|
12451
12484
|
type BrowserActionConfiguration =
|
|
12452
12485
|
io.flow.v0.models.CardBrowserActionConfiguration;
|
|
12453
12486
|
type CardAuthorizationActionResult =
|
|
@@ -13104,10 +13137,15 @@ export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
|
13104
13137
|
export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
13105
13138
|
export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
13106
13139
|
export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
13140
|
+
export type BankAccountForm = io.flow.v0.models.BankAccountForm;
|
|
13141
|
+
export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
|
|
13142
|
+
export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
|
|
13107
13143
|
export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
13108
13144
|
export type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
13109
13145
|
export type BillingChannelOrderSummary =
|
|
13110
13146
|
io.flow.v0.models.BillingChannelOrderSummary;
|
|
13147
|
+
export type BillingChannelOrganizationSummary =
|
|
13148
|
+
io.flow.v0.models.BillingChannelOrganizationSummary;
|
|
13111
13149
|
export type BillingChannelPaymentRequestReference =
|
|
13112
13150
|
io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
13113
13151
|
export type BillingChannelStatementReference =
|
|
@@ -13303,6 +13341,7 @@ export type Contact = io.flow.v0.models.Contact;
|
|
|
13303
13341
|
export type Context = io.flow.v0.models.Context;
|
|
13304
13342
|
export type ContextForm = io.flow.v0.models.ContextForm;
|
|
13305
13343
|
export type ContextReference = io.flow.v0.models.ContextReference;
|
|
13344
|
+
export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
|
|
13306
13345
|
export type Country = io.flow.v0.models.Country;
|
|
13307
13346
|
export type CountryAvailability = io.flow.v0.models.CountryAvailability;
|
|
13308
13347
|
export type CountryDefaults = io.flow.v0.models.CountryDefaults;
|
|
@@ -14131,6 +14170,7 @@ export type OrganizationAuthorization =
|
|
|
14131
14170
|
io.flow.v0.models.OrganizationAuthorization;
|
|
14132
14171
|
export type OrganizationAuthorizationForm =
|
|
14133
14172
|
io.flow.v0.models.OrganizationAuthorizationForm;
|
|
14173
|
+
export type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
|
|
14134
14174
|
export type OrganizationConfigurationReference =
|
|
14135
14175
|
io.flow.v0.models.OrganizationConfigurationReference;
|
|
14136
14176
|
export type OrganizationDefaultConfigurations =
|
|
@@ -14165,6 +14205,7 @@ export type OrganizationTokenReference =
|
|
|
14165
14205
|
export type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
|
|
14166
14206
|
export type OrganizationTokenV2Reference =
|
|
14167
14207
|
io.flow.v0.models.OrganizationTokenV2Reference;
|
|
14208
|
+
export type OrganizationType = io.flow.v0.enums.OrganizationType;
|
|
14168
14209
|
export type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
|
|
14169
14210
|
export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
|
|
14170
14211
|
export type OrganizationVersion = io.flow.v0.models.OrganizationVersion;
|