@flowio/types 10.5.1 → 10.5.2
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 +389 -35
- package/dist/api.d.ts +25 -10
- package/package.json +2 -2
- package/src/api-internal.ts +472 -38
- package/src/api.ts +27 -11
package/dist/api.d.ts
CHANGED
|
@@ -901,6 +901,7 @@ declare namespace io.flow.v0.enums {
|
|
|
901
901
|
type OrderStatus = 'open' | 'submitted';
|
|
902
902
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
903
903
|
type OrganizationPaymentMethodTag = 'deny';
|
|
904
|
+
type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
|
|
904
905
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
905
906
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
906
907
|
type PaymentMethodRuleContentKey = 'description';
|
|
@@ -1499,6 +1500,11 @@ declare namespace io.flow.v0.models {
|
|
|
1499
1500
|
readonly user_agent?: string;
|
|
1500
1501
|
readonly accept?: string;
|
|
1501
1502
|
}
|
|
1503
|
+
interface BrowserInlineActionConfiguration {
|
|
1504
|
+
readonly discriminator: 'browser_inline_action_configuration';
|
|
1505
|
+
readonly inline_notification_urls: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
1506
|
+
readonly action_configuration?: io.flow.v0.unions.BrowserActionConfiguration;
|
|
1507
|
+
}
|
|
1502
1508
|
interface Capture {
|
|
1503
1509
|
readonly id: string;
|
|
1504
1510
|
readonly key: string;
|
|
@@ -1617,6 +1623,10 @@ declare namespace io.flow.v0.models {
|
|
|
1617
1623
|
readonly id: string;
|
|
1618
1624
|
readonly authorization: io.flow.v0.models.CardAuthorization;
|
|
1619
1625
|
}
|
|
1626
|
+
interface CardBrowserActionConfiguration {
|
|
1627
|
+
readonly discriminator: 'card_browser_action_configuration';
|
|
1628
|
+
readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
1629
|
+
}
|
|
1620
1630
|
interface CardDeleted {
|
|
1621
1631
|
readonly discriminator: 'card_deleted';
|
|
1622
1632
|
readonly event_id: string;
|
|
@@ -1671,7 +1681,7 @@ declare namespace io.flow.v0.models {
|
|
|
1671
1681
|
readonly amount: number;
|
|
1672
1682
|
readonly currency: string;
|
|
1673
1683
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
1674
|
-
readonly
|
|
1684
|
+
readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
|
|
1675
1685
|
}
|
|
1676
1686
|
interface CardPaymentSourceForm {
|
|
1677
1687
|
readonly discriminator: 'card_payment_source_form';
|
|
@@ -2605,7 +2615,7 @@ declare namespace io.flow.v0.models {
|
|
|
2605
2615
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
2606
2616
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
2607
2617
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
2608
|
-
readonly
|
|
2618
|
+
readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
|
|
2609
2619
|
}
|
|
2610
2620
|
interface DirectDebit {
|
|
2611
2621
|
readonly discriminator: 'direct_debit';
|
|
@@ -3707,6 +3717,8 @@ declare namespace io.flow.v0.models {
|
|
|
3707
3717
|
readonly dimensions: io.flow.v0.models.Dimensions;
|
|
3708
3718
|
readonly images: io.flow.v0.models.Image[];
|
|
3709
3719
|
readonly local?: io.flow.v0.models.Local;
|
|
3720
|
+
readonly created_at?: string;
|
|
3721
|
+
readonly updated_at?: string;
|
|
3710
3722
|
}
|
|
3711
3723
|
interface ItemAttributesPatchForm {
|
|
3712
3724
|
readonly attributes: Record<string, string>;
|
|
@@ -4260,7 +4272,7 @@ declare namespace io.flow.v0.models {
|
|
|
4260
4272
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
4261
4273
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
4262
4274
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
4263
|
-
readonly
|
|
4275
|
+
readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
|
|
4264
4276
|
}
|
|
4265
4277
|
interface MerchantOfRecordEntity {
|
|
4266
4278
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
@@ -4865,6 +4877,7 @@ declare namespace io.flow.v0.models {
|
|
|
4865
4877
|
readonly parent?: io.flow.v0.models.OrganizationReference;
|
|
4866
4878
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
4867
4879
|
readonly created_at?: string;
|
|
4880
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
4868
4881
|
}
|
|
4869
4882
|
interface OrganizationAuthorization {
|
|
4870
4883
|
readonly role?: io.flow.v0.enums.Role;
|
|
@@ -4940,12 +4953,14 @@ declare namespace io.flow.v0.models {
|
|
|
4940
4953
|
readonly environment: io.flow.v0.enums.Environment;
|
|
4941
4954
|
readonly parent_id?: string;
|
|
4942
4955
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
4956
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
4943
4957
|
}
|
|
4944
4958
|
interface OrganizationPutForm {
|
|
4945
4959
|
readonly name?: string;
|
|
4946
4960
|
readonly environment?: io.flow.v0.enums.Environment;
|
|
4947
4961
|
readonly parent_id?: string;
|
|
4948
4962
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
4963
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
4949
4964
|
}
|
|
4950
4965
|
interface OrganizationRatesData {
|
|
4951
4966
|
readonly rates: io.flow.v0.models.Rate[];
|
|
@@ -6963,10 +6978,6 @@ declare namespace io.flow.v0.models {
|
|
|
6963
6978
|
readonly threeds_identify_action: io.flow.v0.unions.ThreedsIdentifyAction;
|
|
6964
6979
|
readonly expires_at: string;
|
|
6965
6980
|
}
|
|
6966
|
-
interface ThreedsTwoBrowserActionConfiguration {
|
|
6967
|
-
readonly discriminator: 'threeds_two_browser_action_configuration';
|
|
6968
|
-
readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
6969
|
-
}
|
|
6970
6981
|
interface ThreedsTwoChallengeRequest {
|
|
6971
6982
|
readonly discriminator: 'threeds_two_challenge_request';
|
|
6972
6983
|
readonly acs_url: string;
|
|
@@ -7388,7 +7399,6 @@ declare namespace io.flow.v0.models {
|
|
|
7388
7399
|
}
|
|
7389
7400
|
}
|
|
7390
7401
|
declare namespace io.flow.v0.unions {
|
|
7391
|
-
type ActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
7392
7402
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
7393
7403
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
7394
7404
|
type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
|
|
@@ -7398,6 +7408,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7398
7408
|
type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
|
|
7399
7409
|
type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
7400
7410
|
type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
|
|
7411
|
+
type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
7401
7412
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
7402
7413
|
type ConfirmationDetails = io.flow.v0.models.DirectDebit;
|
|
7403
7414
|
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
@@ -7421,6 +7432,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7421
7432
|
type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
|
|
7422
7433
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
7423
7434
|
type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
7435
|
+
type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
7424
7436
|
type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
7425
7437
|
type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
|
|
7426
7438
|
type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
|
|
@@ -7471,7 +7483,6 @@ export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSet
|
|
|
7471
7483
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
7472
7484
|
export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
7473
7485
|
export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
7474
|
-
export declare type ActionConfiguration = io.flow.v0.unions.ActionConfiguration;
|
|
7475
7486
|
export declare type Address = io.flow.v0.models.Address;
|
|
7476
7487
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
7477
7488
|
export declare type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
@@ -7567,7 +7578,9 @@ export declare type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
|
7567
7578
|
export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
7568
7579
|
export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
7569
7580
|
export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
7581
|
+
export declare type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
|
|
7570
7582
|
export declare type BrowserInfo = io.flow.v0.models.BrowserInfo;
|
|
7583
|
+
export declare type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
7571
7584
|
export declare type Calendar = io.flow.v0.enums.Calendar;
|
|
7572
7585
|
export declare type CancelReason = io.flow.v0.enums.CancelReason;
|
|
7573
7586
|
export declare type Capability = io.flow.v0.enums.Capability;
|
|
@@ -7587,6 +7600,7 @@ export declare type Card = io.flow.v0.models.Card;
|
|
|
7587
7600
|
export declare type CardAuthorization = io.flow.v0.models.CardAuthorization;
|
|
7588
7601
|
export declare type CardAuthorizationDeletedV2 = io.flow.v0.models.CardAuthorizationDeletedV2;
|
|
7589
7602
|
export declare type CardAuthorizationUpsertedV2 = io.flow.v0.models.CardAuthorizationUpsertedV2;
|
|
7603
|
+
export declare type CardBrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
7590
7604
|
export declare type CardDeleted = io.flow.v0.models.CardDeleted;
|
|
7591
7605
|
export declare type CardDeletedV2 = io.flow.v0.models.CardDeletedV2;
|
|
7592
7606
|
export declare type CardError = io.flow.v0.models.CardError;
|
|
@@ -7986,6 +8000,7 @@ export declare type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
7986
8000
|
export declare type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
7987
8001
|
export declare type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
7988
8002
|
export declare type Incoterm = io.flow.v0.enums.Incoterm;
|
|
8003
|
+
export declare type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration;
|
|
7989
8004
|
export declare type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails;
|
|
7990
8005
|
export declare type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm;
|
|
7991
8006
|
export declare type InputForm = io.flow.v0.models.InputForm;
|
|
@@ -8243,6 +8258,7 @@ export declare type OrganizationSessionAuthorization = io.flow.v0.models.Organiz
|
|
|
8243
8258
|
export declare type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
|
|
8244
8259
|
export declare type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
|
|
8245
8260
|
export declare type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
|
|
8261
|
+
export declare type OrganizationStatus = io.flow.v0.enums.OrganizationStatus;
|
|
8246
8262
|
export declare type OrganizationSummary = io.flow.v0.models.OrganizationSummary;
|
|
8247
8263
|
export declare type OrganizationToken = io.flow.v0.models.OrganizationToken;
|
|
8248
8264
|
export declare type OrganizationTokenForm = io.flow.v0.models.OrganizationTokenForm;
|
|
@@ -8631,7 +8647,6 @@ export declare type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeA
|
|
|
8631
8647
|
export declare type ThreedsChallengeActionDetails = io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
8632
8648
|
export declare type ThreedsIdentifyAction = io.flow.v0.unions.ThreedsIdentifyAction;
|
|
8633
8649
|
export declare type ThreedsIdentifyActionDetails = io.flow.v0.models.ThreedsIdentifyActionDetails;
|
|
8634
|
-
export declare type ThreedsTwoBrowserActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
8635
8650
|
export declare type ThreedsTwoChallengeRequest = io.flow.v0.models.ThreedsTwoChallengeRequest;
|
|
8636
8651
|
export declare type ThreedsTwoChallengeViewport = io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
8637
8652
|
export declare type ThreedsTwoMethod = io.flow.v0.models.ThreedsTwoMethod;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.2",
|
|
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": "033cf8f7b46043a28e9ac701ef130de12b0de7f1"
|
|
31
31
|
}
|