@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/dist/api-internal.d.ts +178 -29
- package/dist/api.d.ts +27 -1
- package/package.json +2 -2
- package/src/api-internal.ts +232 -36
- package/src/api.ts +37 -1
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';
|
|
@@ -1760,6 +1760,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1760
1760
|
type OrderType = 'standard' | 'replacement';
|
|
1761
1761
|
type OrganizationPaymentMethodTag = 'deny';
|
|
1762
1762
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
1763
|
+
type OrganizationType = 'standalone' | 'channel';
|
|
1763
1764
|
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
1765
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
1765
1766
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
|
|
@@ -2490,6 +2491,15 @@ declare namespace io.flow.v0.models {
|
|
|
2490
2491
|
readonly organization: string;
|
|
2491
2492
|
readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
|
|
2492
2493
|
}
|
|
2494
|
+
interface BankAccountForm {
|
|
2495
|
+
readonly last4: string;
|
|
2496
|
+
readonly info: io.flow.v0.unions.BankAccountInfo;
|
|
2497
|
+
}
|
|
2498
|
+
interface BankAccountInfoUsa {
|
|
2499
|
+
readonly discriminator: 'usa';
|
|
2500
|
+
readonly routing_number: string;
|
|
2501
|
+
readonly account_number: string;
|
|
2502
|
+
}
|
|
2493
2503
|
interface BehaviorAudit {
|
|
2494
2504
|
readonly behavior: io.flow.v0.enums.FlowBehavior;
|
|
2495
2505
|
readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
|
|
@@ -2505,9 +2515,13 @@ declare namespace io.flow.v0.models {
|
|
|
2505
2515
|
readonly company?: string;
|
|
2506
2516
|
}
|
|
2507
2517
|
interface BillingChannelOrderSummary {
|
|
2518
|
+
readonly organization: io.flow.v0.models.BillingChannelOrganizationSummary;
|
|
2508
2519
|
readonly number: string;
|
|
2509
2520
|
readonly identifiers?: Record<string, string>;
|
|
2510
2521
|
}
|
|
2522
|
+
interface BillingChannelOrganizationSummary {
|
|
2523
|
+
readonly id: string;
|
|
2524
|
+
}
|
|
2511
2525
|
interface BillingChannelPaymentRequestReference {
|
|
2512
2526
|
readonly id: string;
|
|
2513
2527
|
readonly reference?: string;
|
|
@@ -6580,6 +6594,7 @@ declare namespace io.flow.v0.models {
|
|
|
6580
6594
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
6581
6595
|
readonly created_at?: string;
|
|
6582
6596
|
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
6597
|
+
readonly type?: io.flow.v0.enums.OrganizationType;
|
|
6583
6598
|
}
|
|
6584
6599
|
interface OrganizationAuthorization {
|
|
6585
6600
|
readonly role?: io.flow.v0.enums.Role;
|
|
@@ -6589,6 +6604,10 @@ declare namespace io.flow.v0.models {
|
|
|
6589
6604
|
readonly organization: string;
|
|
6590
6605
|
readonly environment: io.flow.v0.enums.Environment;
|
|
6591
6606
|
}
|
|
6607
|
+
interface OrganizationBankAccount {
|
|
6608
|
+
readonly id: string;
|
|
6609
|
+
readonly last4: string;
|
|
6610
|
+
}
|
|
6592
6611
|
interface OrganizationConfigurationReference {
|
|
6593
6612
|
readonly id: string;
|
|
6594
6613
|
}
|
|
@@ -9909,6 +9928,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9909
9928
|
type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
|
|
9910
9929
|
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
9930
|
type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
|
|
9931
|
+
type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
|
|
9912
9932
|
type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
9913
9933
|
type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
9914
9934
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
@@ -10129,9 +10149,13 @@ export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
|
10129
10149
|
export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
10130
10150
|
export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
10131
10151
|
export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
10152
|
+
export declare type BankAccountForm = io.flow.v0.models.BankAccountForm;
|
|
10153
|
+
export declare type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
|
|
10154
|
+
export declare type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
|
|
10132
10155
|
export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
10133
10156
|
export declare type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
10134
10157
|
export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChannelOrderSummary;
|
|
10158
|
+
export declare type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary;
|
|
10135
10159
|
export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
10136
10160
|
export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
|
|
10137
10161
|
export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
|
|
@@ -10943,6 +10967,7 @@ export declare type OrderWithDiscountsForm = io.flow.v0.models.OrderWithDiscount
|
|
|
10943
10967
|
export declare type Organization = io.flow.v0.models.Organization;
|
|
10944
10968
|
export declare type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
|
|
10945
10969
|
export declare type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;
|
|
10970
|
+
export declare type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
|
|
10946
10971
|
export declare type OrganizationConfigurationReference = io.flow.v0.models.OrganizationConfigurationReference;
|
|
10947
10972
|
export declare type OrganizationDefaultConfigurations = io.flow.v0.models.OrganizationDefaultConfigurations;
|
|
10948
10973
|
export declare type OrganizationDefaultConfigurationsDeleted = io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
|
|
@@ -10967,6 +10992,7 @@ export declare type OrganizationTokenFormV2 = io.flow.v0.models.OrganizationToke
|
|
|
10967
10992
|
export declare type OrganizationTokenReference = io.flow.v0.models.OrganizationTokenReference;
|
|
10968
10993
|
export declare type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
|
|
10969
10994
|
export declare type OrganizationTokenV2Reference = io.flow.v0.models.OrganizationTokenV2Reference;
|
|
10995
|
+
export declare type OrganizationType = io.flow.v0.enums.OrganizationType;
|
|
10970
10996
|
export declare type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
|
|
10971
10997
|
export declare type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
|
|
10972
10998
|
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.
|
|
3
|
+
"version": "11.24.34",
|
|
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": "
|
|
28
|
+
"gitHead": "399cb840175d3c48f62099e1ade1464c2cdfe0c1"
|
|
29
29
|
}
|