@flowio/types 10.4.1 → 10.5.1
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 +432 -266
- package/dist/api.d.ts +44 -4
- package/package.json +2 -2
- package/src/api-internal.ts +551 -295
- package/src/api.ts +57 -4
package/dist/api.d.ts
CHANGED
|
@@ -290,9 +290,9 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
290
290
|
readonly title: string;
|
|
291
291
|
}
|
|
292
292
|
interface ShopifyClientDetail {
|
|
293
|
-
readonly accept_language
|
|
293
|
+
readonly accept_language?: boolean;
|
|
294
294
|
readonly browser_height?: number;
|
|
295
|
-
readonly browser_ip
|
|
295
|
+
readonly browser_ip?: string;
|
|
296
296
|
readonly browser_width?: number;
|
|
297
297
|
readonly session_hash?: string;
|
|
298
298
|
readonly user_agent?: string;
|
|
@@ -810,7 +810,7 @@ declare namespace io.flow.v0.enums {
|
|
|
810
810
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
811
811
|
type Aggregate = 'maximum' | 'minimum';
|
|
812
812
|
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
813
|
-
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable';
|
|
813
|
+
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable';
|
|
814
814
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
815
815
|
type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown';
|
|
816
816
|
type AuthorizationOption = 'store_card';
|
|
@@ -946,6 +946,7 @@ declare namespace io.flow.v0.enums {
|
|
|
946
946
|
type TaxabilityType = 'tax_rule';
|
|
947
947
|
type TaxabilityValue = 'exempt';
|
|
948
948
|
type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed';
|
|
949
|
+
type ThreedsTwoChallengeViewport = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen';
|
|
949
950
|
type TierAvailability = 'always' | 'backup';
|
|
950
951
|
type TierEstimateType = 'calculated' | 'custom';
|
|
951
952
|
type TierStrategy = 'fastest' | 'lowest_cost';
|
|
@@ -1670,6 +1671,7 @@ declare namespace io.flow.v0.models {
|
|
|
1670
1671
|
readonly amount: number;
|
|
1671
1672
|
readonly currency: string;
|
|
1672
1673
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
1674
|
+
readonly action_configuration?: io.flow.v0.unions.ActionConfiguration;
|
|
1673
1675
|
}
|
|
1674
1676
|
interface CardPaymentSourceForm {
|
|
1675
1677
|
readonly discriminator: 'card_payment_source_form';
|
|
@@ -2603,6 +2605,7 @@ declare namespace io.flow.v0.models {
|
|
|
2603
2605
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
2604
2606
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
2605
2607
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
2608
|
+
readonly action_configuration?: io.flow.v0.unions.ActionConfiguration;
|
|
2606
2609
|
}
|
|
2607
2610
|
interface DirectDebit {
|
|
2608
2611
|
readonly discriminator: 'direct_debit';
|
|
@@ -4257,6 +4260,7 @@ declare namespace io.flow.v0.models {
|
|
|
4257
4260
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
4258
4261
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
4259
4262
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
4263
|
+
readonly action_configuration?: io.flow.v0.unions.ActionConfiguration;
|
|
4260
4264
|
}
|
|
4261
4265
|
interface MerchantOfRecordEntity {
|
|
4262
4266
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
@@ -6949,6 +6953,30 @@ declare namespace io.flow.v0.models {
|
|
|
6949
6953
|
readonly code: io.flow.v0.enums.ThreeDSecureCode;
|
|
6950
6954
|
readonly description?: string;
|
|
6951
6955
|
}
|
|
6956
|
+
interface ThreedsChallengeActionDetails {
|
|
6957
|
+
readonly discriminator: 'threeds_challenge_action_details';
|
|
6958
|
+
readonly threeds_challenge_action: io.flow.v0.unions.ThreedsChallengeAction;
|
|
6959
|
+
readonly expires_at: string;
|
|
6960
|
+
}
|
|
6961
|
+
interface ThreedsIdentifyActionDetails {
|
|
6962
|
+
readonly discriminator: 'threeds_identify_action_details';
|
|
6963
|
+
readonly threeds_identify_action: io.flow.v0.unions.ThreedsIdentifyAction;
|
|
6964
|
+
readonly expires_at: string;
|
|
6965
|
+
}
|
|
6966
|
+
interface ThreedsTwoBrowserActionConfiguration {
|
|
6967
|
+
readonly discriminator: 'threeds_two_browser_action_configuration';
|
|
6968
|
+
readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
6969
|
+
}
|
|
6970
|
+
interface ThreedsTwoChallengeRequest {
|
|
6971
|
+
readonly discriminator: 'threeds_two_challenge_request';
|
|
6972
|
+
readonly acs_url: string;
|
|
6973
|
+
readonly challenge_request: string;
|
|
6974
|
+
readonly session_data?: string;
|
|
6975
|
+
}
|
|
6976
|
+
interface ThreedsTwoMethod {
|
|
6977
|
+
readonly discriminator: 'threeds_two_method';
|
|
6978
|
+
readonly method: string;
|
|
6979
|
+
}
|
|
6952
6980
|
interface Tier {
|
|
6953
6981
|
readonly id: string;
|
|
6954
6982
|
readonly direction: io.flow.v0.enums.LaneDirection;
|
|
@@ -7360,6 +7388,7 @@ declare namespace io.flow.v0.models {
|
|
|
7360
7388
|
}
|
|
7361
7389
|
}
|
|
7362
7390
|
declare namespace io.flow.v0.unions {
|
|
7391
|
+
type ActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
7363
7392
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
7364
7393
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
7365
7394
|
type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
|
|
@@ -7367,7 +7396,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7367
7396
|
type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm | io.flow.v0.models.OnlinePaymentAuthorizationForm;
|
|
7368
7397
|
type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
7369
7398
|
type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
|
|
7370
|
-
type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails;
|
|
7399
|
+
type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
7371
7400
|
type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
|
|
7372
7401
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
7373
7402
|
type ConfirmationDetails = io.flow.v0.models.DirectDebit;
|
|
@@ -7429,6 +7458,8 @@ declare namespace io.flow.v0.unions {
|
|
|
7429
7458
|
type ShopifyCartAddForm = io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
7430
7459
|
type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
|
|
7431
7460
|
type TaxSetting = io.flow.v0.models.AvalaraTaxSetting | io.flow.v0.models.AvalaraTaxCsvSetting;
|
|
7461
|
+
type ThreedsChallengeAction = io.flow.v0.models.ThreedsTwoChallengeRequest;
|
|
7462
|
+
type ThreedsIdentifyAction = io.flow.v0.models.ThreedsTwoMethod;
|
|
7432
7463
|
type TierRuleOutcome = io.flow.v0.models.AmountMargin | io.flow.v0.models.AtCost | io.flow.v0.models.FlatRate | io.flow.v0.models.PercentMargin;
|
|
7433
7464
|
type TierRuleOutcomeForm = io.flow.v0.models.AmountMarginForm | io.flow.v0.models.FlatRateForm | io.flow.v0.models.AtCost | io.flow.v0.models.PercentMargin;
|
|
7434
7465
|
type Token = io.flow.v0.models.OrganizationToken | io.flow.v0.models.PartnerToken;
|
|
@@ -7440,6 +7471,7 @@ export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSet
|
|
|
7440
7471
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
7441
7472
|
export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
7442
7473
|
export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
7474
|
+
export declare type ActionConfiguration = io.flow.v0.unions.ActionConfiguration;
|
|
7443
7475
|
export declare type Address = io.flow.v0.models.Address;
|
|
7444
7476
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
7445
7477
|
export declare type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
@@ -8595,6 +8627,14 @@ export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
|
|
|
8595
8627
|
export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
|
|
8596
8628
|
export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
|
|
8597
8629
|
export declare type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
|
|
8630
|
+
export declare type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
|
|
8631
|
+
export declare type ThreedsChallengeActionDetails = io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
8632
|
+
export declare type ThreedsIdentifyAction = io.flow.v0.unions.ThreedsIdentifyAction;
|
|
8633
|
+
export declare type ThreedsIdentifyActionDetails = io.flow.v0.models.ThreedsIdentifyActionDetails;
|
|
8634
|
+
export declare type ThreedsTwoBrowserActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
8635
|
+
export declare type ThreedsTwoChallengeRequest = io.flow.v0.models.ThreedsTwoChallengeRequest;
|
|
8636
|
+
export declare type ThreedsTwoChallengeViewport = io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
8637
|
+
export declare type ThreedsTwoMethod = io.flow.v0.models.ThreedsTwoMethod;
|
|
8598
8638
|
export declare type Tier = io.flow.v0.models.Tier;
|
|
8599
8639
|
export declare type TierAvailability = io.flow.v0.enums.TierAvailability;
|
|
8600
8640
|
export declare type TierDeletedV2 = io.flow.v0.models.TierDeletedV2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.5.1",
|
|
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",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "c32a4cd83ea216872018dcec5b4bb217e73f37a9"
|
|
31
31
|
}
|