@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.d.ts CHANGED
@@ -1665,7 +1665,7 @@ declare namespace io.flow.v0.enums {
1665
1665
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
1666
1666
  type Capability = 'crossdock';
1667
1667
  type CaptureDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
1668
- type CaptureStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
1668
+ type CaptureStatus = 'initiated' | 'pending' | 'succeeded' | 'failed' | 'canceled';
1669
1669
  type CardErrorCode = 'invalid_address' | 'invalid_currency' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_token_type' | 'avs' | 'cvv' | 'fraud' | 'unknown';
1670
1670
  type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
1671
1671
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
@@ -1674,6 +1674,7 @@ declare namespace io.flow.v0.enums {
1674
1674
  type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
1675
1675
  type ConsumerInvoiceDocumentType = 'pdf';
1676
1676
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
1677
+ type CostEstimateSource = 'flow' | 'channel';
1677
1678
  type CountryPickerSource = 'experience' | 'destination';
1678
1679
  type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
1679
1680
  type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
@@ -1760,6 +1761,7 @@ declare namespace io.flow.v0.enums {
1760
1761
  type OrderType = 'standard' | 'replacement';
1761
1762
  type OrganizationPaymentMethodTag = 'deny';
1762
1763
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
1764
+ type OrganizationType = 'standalone' | 'channel';
1763
1765
  type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
1764
1766
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
1765
1767
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
@@ -2490,6 +2492,15 @@ declare namespace io.flow.v0.models {
2490
2492
  readonly organization: string;
2491
2493
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
2492
2494
  }
2495
+ interface BankAccountForm {
2496
+ readonly last4: string;
2497
+ readonly info: io.flow.v0.unions.BankAccountInfo;
2498
+ }
2499
+ interface BankAccountInfoUsa {
2500
+ readonly discriminator: 'usa';
2501
+ readonly routing_number: string;
2502
+ readonly account_number: string;
2503
+ }
2493
2504
  interface BehaviorAudit {
2494
2505
  readonly behavior: io.flow.v0.enums.FlowBehavior;
2495
2506
  readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
@@ -2505,9 +2516,13 @@ declare namespace io.flow.v0.models {
2505
2516
  readonly company?: string;
2506
2517
  }
2507
2518
  interface BillingChannelOrderSummary {
2519
+ readonly organization: io.flow.v0.models.BillingChannelOrganizationSummary;
2508
2520
  readonly number: string;
2509
2521
  readonly identifiers?: Record<string, string>;
2510
2522
  }
2523
+ interface BillingChannelOrganizationSummary {
2524
+ readonly id: string;
2525
+ }
2511
2526
  interface BillingChannelPaymentRequestReference {
2512
2527
  readonly id: string;
2513
2528
  readonly reference?: string;
@@ -6580,6 +6595,7 @@ declare namespace io.flow.v0.models {
6580
6595
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6581
6596
  readonly created_at?: string;
6582
6597
  readonly status?: io.flow.v0.enums.OrganizationStatus;
6598
+ readonly type?: io.flow.v0.enums.OrganizationType;
6583
6599
  }
6584
6600
  interface OrganizationAuthorization {
6585
6601
  readonly role?: io.flow.v0.enums.Role;
@@ -6589,6 +6605,10 @@ declare namespace io.flow.v0.models {
6589
6605
  readonly organization: string;
6590
6606
  readonly environment: io.flow.v0.enums.Environment;
6591
6607
  }
6608
+ interface OrganizationBankAccount {
6609
+ readonly id: string;
6610
+ readonly last4: string;
6611
+ }
6592
6612
  interface OrganizationConfigurationReference {
6593
6613
  readonly id: string;
6594
6614
  }
@@ -6639,6 +6659,7 @@ declare namespace io.flow.v0.models {
6639
6659
  readonly parent_id?: string;
6640
6660
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6641
6661
  readonly status?: io.flow.v0.enums.OrganizationStatus;
6662
+ readonly type?: io.flow.v0.enums.OrganizationType;
6642
6663
  }
6643
6664
  interface OrganizationPutForm {
6644
6665
  readonly name?: string;
@@ -8613,9 +8634,11 @@ declare namespace io.flow.v0.models {
8613
8634
  interface ShippingLabel {
8614
8635
  readonly id: string;
8615
8636
  readonly hop?: io.flow.v0.models.ShippingLabelHopSummary;
8637
+ readonly reference_id?: string;
8616
8638
  readonly attributes: Record<string, string>;
8617
8639
  readonly carrier_tracking_number: string;
8618
8640
  readonly carrier_tracking_number_url: string;
8641
+ readonly cost_estimate_source?: io.flow.v0.enums.CostEstimateSource;
8619
8642
  readonly cost?: io.flow.v0.models.Price;
8620
8643
  readonly destination: io.flow.v0.models.ShippingAddress;
8621
8644
  readonly flow_tracking_number: string;
@@ -9909,6 +9932,7 @@ declare namespace io.flow.v0.unions {
9909
9932
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
9910
9933
  type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails;
9911
9934
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
9935
+ type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
9912
9936
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
9913
9937
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
9914
9938
  type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
@@ -10129,9 +10153,13 @@ export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
10129
10153
  export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
10130
10154
  export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
10131
10155
  export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
10156
+ export declare type BankAccountForm = io.flow.v0.models.BankAccountForm;
10157
+ export declare type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
10158
+ export declare type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
10132
10159
  export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
10133
10160
  export declare type BillingAddress = io.flow.v0.models.BillingAddress;
10134
10161
  export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChannelOrderSummary;
10162
+ export declare type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary;
10135
10163
  export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
10136
10164
  export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
10137
10165
  export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
@@ -10285,6 +10313,7 @@ export declare type Contact = io.flow.v0.models.Contact;
10285
10313
  export declare type Context = io.flow.v0.models.Context;
10286
10314
  export declare type ContextForm = io.flow.v0.models.ContextForm;
10287
10315
  export declare type ContextReference = io.flow.v0.models.ContextReference;
10316
+ export declare type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
10288
10317
  export declare type Country = io.flow.v0.models.Country;
10289
10318
  export declare type CountryAvailability = io.flow.v0.models.CountryAvailability;
10290
10319
  export declare type CountryDefaults = io.flow.v0.models.CountryDefaults;
@@ -10943,6 +10972,7 @@ export declare type OrderWithDiscountsForm = io.flow.v0.models.OrderWithDiscount
10943
10972
  export declare type Organization = io.flow.v0.models.Organization;
10944
10973
  export declare type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
10945
10974
  export declare type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;
10975
+ export declare type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
10946
10976
  export declare type OrganizationConfigurationReference = io.flow.v0.models.OrganizationConfigurationReference;
10947
10977
  export declare type OrganizationDefaultConfigurations = io.flow.v0.models.OrganizationDefaultConfigurations;
10948
10978
  export declare type OrganizationDefaultConfigurationsDeleted = io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
@@ -10967,6 +10997,7 @@ export declare type OrganizationTokenFormV2 = io.flow.v0.models.OrganizationToke
10967
10997
  export declare type OrganizationTokenReference = io.flow.v0.models.OrganizationTokenReference;
10968
10998
  export declare type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
10969
10999
  export declare type OrganizationTokenV2Reference = io.flow.v0.models.OrganizationTokenV2Reference;
11000
+ export declare type OrganizationType = io.flow.v0.enums.OrganizationType;
10970
11001
  export declare type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
10971
11002
  export declare type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
10972
11003
  export declare type OrganizationVersion = io.flow.v0.models.OrganizationVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.33",
3
+ "version": "11.24.35",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "80c4cc10518907f21fe3a93c25bd07b9e8b25429"
28
+ "gitHead": "6b3aead1ceea76805fc5a5a04f2e485c6180aed2"
29
29
  }