@flowio/types 11.24.33 → 11.24.34

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
@@ -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 = 'pending' | 'succeeded' | 'failed' | 'canceled';
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'
@@ -2724,6 +2729,7 @@ declare namespace io.flow.v0.enums {
2724
2729
  | 'inactive'
2725
2730
  | 'deactivated'
2726
2731
  | 'provisioned';
2732
+ type OrganizationType = 'standalone' | 'channel';
2727
2733
  type PaymentActionType =
2728
2734
  | 'redirect'
2729
2735
  | 'redirect_get'
@@ -3773,6 +3779,17 @@ declare namespace io.flow.v0.models {
3773
3779
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
3774
3780
  }
3775
3781
 
3782
+ interface BankAccountForm {
3783
+ readonly last4: string;
3784
+ readonly info: io.flow.v0.unions.BankAccountInfo;
3785
+ }
3786
+
3787
+ interface BankAccountInfoUsa {
3788
+ readonly discriminator: 'usa';
3789
+ readonly routing_number: string;
3790
+ readonly account_number: string;
3791
+ }
3792
+
3776
3793
  interface BehaviorAudit {
3777
3794
  readonly behavior: io.flow.v0.enums.FlowBehavior;
3778
3795
  readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
@@ -3790,10 +3807,15 @@ declare namespace io.flow.v0.models {
3790
3807
  }
3791
3808
 
3792
3809
  interface BillingChannelOrderSummary {
3810
+ readonly organization: io.flow.v0.models.BillingChannelOrganizationSummary;
3793
3811
  readonly number: string;
3794
3812
  readonly identifiers?: Record<string, string>;
3795
3813
  }
3796
3814
 
3815
+ interface BillingChannelOrganizationSummary {
3816
+ readonly id: string;
3817
+ }
3818
+
3797
3819
  interface BillingChannelPaymentRequestReference {
3798
3820
  readonly id: string;
3799
3821
  readonly reference?: string;
@@ -8537,6 +8559,7 @@ declare namespace io.flow.v0.models {
8537
8559
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
8538
8560
  readonly created_at?: string;
8539
8561
  readonly status?: io.flow.v0.enums.OrganizationStatus;
8562
+ readonly type?: io.flow.v0.enums.OrganizationType;
8540
8563
  }
8541
8564
 
8542
8565
  interface OrganizationAuthorization {
@@ -8549,6 +8572,11 @@ declare namespace io.flow.v0.models {
8549
8572
  readonly environment: io.flow.v0.enums.Environment;
8550
8573
  }
8551
8574
 
8575
+ interface OrganizationBankAccount {
8576
+ readonly id: string;
8577
+ readonly last4: string;
8578
+ }
8579
+
8552
8580
  interface OrganizationConfigurationReference {
8553
8581
  readonly id: string;
8554
8582
  }
@@ -12448,6 +12476,7 @@ declare namespace io.flow.v0.unions {
12448
12476
  type AvailableFilter =
12449
12477
  | io.flow.v0.models.AvailableFilterStructured
12450
12478
  | io.flow.v0.models.AvailableFilterUnstructured;
12479
+ type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
12451
12480
  type BrowserActionConfiguration =
12452
12481
  io.flow.v0.models.CardBrowserActionConfiguration;
12453
12482
  type CardAuthorizationActionResult =
@@ -13104,10 +13133,15 @@ export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
13104
13133
  export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
13105
13134
  export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
13106
13135
  export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
13136
+ export type BankAccountForm = io.flow.v0.models.BankAccountForm;
13137
+ export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
13138
+ export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
13107
13139
  export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
13108
13140
  export type BillingAddress = io.flow.v0.models.BillingAddress;
13109
13141
  export type BillingChannelOrderSummary =
13110
13142
  io.flow.v0.models.BillingChannelOrderSummary;
13143
+ export type BillingChannelOrganizationSummary =
13144
+ io.flow.v0.models.BillingChannelOrganizationSummary;
13111
13145
  export type BillingChannelPaymentRequestReference =
13112
13146
  io.flow.v0.models.BillingChannelPaymentRequestReference;
13113
13147
  export type BillingChannelStatementReference =
@@ -14131,6 +14165,7 @@ export type OrganizationAuthorization =
14131
14165
  io.flow.v0.models.OrganizationAuthorization;
14132
14166
  export type OrganizationAuthorizationForm =
14133
14167
  io.flow.v0.models.OrganizationAuthorizationForm;
14168
+ export type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
14134
14169
  export type OrganizationConfigurationReference =
14135
14170
  io.flow.v0.models.OrganizationConfigurationReference;
14136
14171
  export type OrganizationDefaultConfigurations =
@@ -14165,6 +14200,7 @@ export type OrganizationTokenReference =
14165
14200
  export type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
14166
14201
  export type OrganizationTokenV2Reference =
14167
14202
  io.flow.v0.models.OrganizationTokenV2Reference;
14203
+ export type OrganizationType = io.flow.v0.enums.OrganizationType;
14168
14204
  export type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
14169
14205
  export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
14170
14206
  export type OrganizationVersion = io.flow.v0.models.OrganizationVersion;