@flowio/types 10.5.1 → 10.6.0
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 +503 -43
- package/dist/api.d.ts +33 -10
- package/package.json +2 -2
- package/src/api-internal.ts +616 -38
- package/src/api.ts +39 -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>;
|
|
@@ -4018,6 +4030,12 @@ declare namespace io.flow.v0.models {
|
|
|
4018
4030
|
readonly pricing: io.flow.v0.models.LocalItemPricing;
|
|
4019
4031
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4020
4032
|
}
|
|
4033
|
+
interface LocalItemAttributePricing {
|
|
4034
|
+
readonly pretax_price: io.flow.v0.models.PriceWithBase;
|
|
4035
|
+
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
4036
|
+
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
4037
|
+
readonly price: io.flow.v0.models.LocalizedItemPrice;
|
|
4038
|
+
}
|
|
4021
4039
|
interface LocalItemDeleted {
|
|
4022
4040
|
readonly discriminator: 'local_item_deleted';
|
|
4023
4041
|
readonly event_id: string;
|
|
@@ -4030,6 +4048,7 @@ declare namespace io.flow.v0.models {
|
|
|
4030
4048
|
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
4031
4049
|
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
4032
4050
|
readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
|
|
4051
|
+
readonly price_attributes?: Record<string, io.flow.v0.models.LocalItemAttributePricing>;
|
|
4033
4052
|
}
|
|
4034
4053
|
interface LocalItemUpserted {
|
|
4035
4054
|
readonly discriminator: 'local_item_upserted';
|
|
@@ -4260,7 +4279,7 @@ declare namespace io.flow.v0.models {
|
|
|
4260
4279
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
4261
4280
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
4262
4281
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
4263
|
-
readonly
|
|
4282
|
+
readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
|
|
4264
4283
|
}
|
|
4265
4284
|
interface MerchantOfRecordEntity {
|
|
4266
4285
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
@@ -4865,6 +4884,7 @@ declare namespace io.flow.v0.models {
|
|
|
4865
4884
|
readonly parent?: io.flow.v0.models.OrganizationReference;
|
|
4866
4885
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
4867
4886
|
readonly created_at?: string;
|
|
4887
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
4868
4888
|
}
|
|
4869
4889
|
interface OrganizationAuthorization {
|
|
4870
4890
|
readonly role?: io.flow.v0.enums.Role;
|
|
@@ -4940,12 +4960,14 @@ declare namespace io.flow.v0.models {
|
|
|
4940
4960
|
readonly environment: io.flow.v0.enums.Environment;
|
|
4941
4961
|
readonly parent_id?: string;
|
|
4942
4962
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
4963
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
4943
4964
|
}
|
|
4944
4965
|
interface OrganizationPutForm {
|
|
4945
4966
|
readonly name?: string;
|
|
4946
4967
|
readonly environment?: io.flow.v0.enums.Environment;
|
|
4947
4968
|
readonly parent_id?: string;
|
|
4948
4969
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
4970
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
4949
4971
|
}
|
|
4950
4972
|
interface OrganizationRatesData {
|
|
4951
4973
|
readonly rates: io.flow.v0.models.Rate[];
|
|
@@ -6963,10 +6985,6 @@ declare namespace io.flow.v0.models {
|
|
|
6963
6985
|
readonly threeds_identify_action: io.flow.v0.unions.ThreedsIdentifyAction;
|
|
6964
6986
|
readonly expires_at: string;
|
|
6965
6987
|
}
|
|
6966
|
-
interface ThreedsTwoBrowserActionConfiguration {
|
|
6967
|
-
readonly discriminator: 'threeds_two_browser_action_configuration';
|
|
6968
|
-
readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
6969
|
-
}
|
|
6970
6988
|
interface ThreedsTwoChallengeRequest {
|
|
6971
6989
|
readonly discriminator: 'threeds_two_challenge_request';
|
|
6972
6990
|
readonly acs_url: string;
|
|
@@ -7388,7 +7406,6 @@ declare namespace io.flow.v0.models {
|
|
|
7388
7406
|
}
|
|
7389
7407
|
}
|
|
7390
7408
|
declare namespace io.flow.v0.unions {
|
|
7391
|
-
type ActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
7392
7409
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
7393
7410
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
7394
7411
|
type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
|
|
@@ -7398,6 +7415,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7398
7415
|
type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
|
|
7399
7416
|
type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
7400
7417
|
type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
|
|
7418
|
+
type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
7401
7419
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
7402
7420
|
type ConfirmationDetails = io.flow.v0.models.DirectDebit;
|
|
7403
7421
|
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
@@ -7421,6 +7439,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7421
7439
|
type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
|
|
7422
7440
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
7423
7441
|
type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
7442
|
+
type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
7424
7443
|
type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
7425
7444
|
type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
|
|
7426
7445
|
type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
|
|
@@ -7471,7 +7490,6 @@ export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSet
|
|
|
7471
7490
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
7472
7491
|
export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
7473
7492
|
export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
7474
|
-
export declare type ActionConfiguration = io.flow.v0.unions.ActionConfiguration;
|
|
7475
7493
|
export declare type Address = io.flow.v0.models.Address;
|
|
7476
7494
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
7477
7495
|
export declare type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
@@ -7567,7 +7585,9 @@ export declare type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
|
7567
7585
|
export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
7568
7586
|
export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
7569
7587
|
export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
7588
|
+
export declare type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
|
|
7570
7589
|
export declare type BrowserInfo = io.flow.v0.models.BrowserInfo;
|
|
7590
|
+
export declare type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
7571
7591
|
export declare type Calendar = io.flow.v0.enums.Calendar;
|
|
7572
7592
|
export declare type CancelReason = io.flow.v0.enums.CancelReason;
|
|
7573
7593
|
export declare type Capability = io.flow.v0.enums.Capability;
|
|
@@ -7587,6 +7607,7 @@ export declare type Card = io.flow.v0.models.Card;
|
|
|
7587
7607
|
export declare type CardAuthorization = io.flow.v0.models.CardAuthorization;
|
|
7588
7608
|
export declare type CardAuthorizationDeletedV2 = io.flow.v0.models.CardAuthorizationDeletedV2;
|
|
7589
7609
|
export declare type CardAuthorizationUpsertedV2 = io.flow.v0.models.CardAuthorizationUpsertedV2;
|
|
7610
|
+
export declare type CardBrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
7590
7611
|
export declare type CardDeleted = io.flow.v0.models.CardDeleted;
|
|
7591
7612
|
export declare type CardDeletedV2 = io.flow.v0.models.CardDeletedV2;
|
|
7592
7613
|
export declare type CardError = io.flow.v0.models.CardError;
|
|
@@ -7986,6 +8007,7 @@ export declare type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
7986
8007
|
export declare type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
7987
8008
|
export declare type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
7988
8009
|
export declare type Incoterm = io.flow.v0.enums.Incoterm;
|
|
8010
|
+
export declare type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration;
|
|
7989
8011
|
export declare type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails;
|
|
7990
8012
|
export declare type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm;
|
|
7991
8013
|
export declare type InputForm = io.flow.v0.models.InputForm;
|
|
@@ -8075,6 +8097,7 @@ export declare type LineItemQuantityForm = io.flow.v0.models.LineItemQuantityFor
|
|
|
8075
8097
|
export declare type Link = io.flow.v0.models.Link;
|
|
8076
8098
|
export declare type Local = io.flow.v0.models.Local;
|
|
8077
8099
|
export declare type LocalItem = io.flow.v0.models.LocalItem;
|
|
8100
|
+
export declare type LocalItemAttributePricing = io.flow.v0.models.LocalItemAttributePricing;
|
|
8078
8101
|
export declare type LocalItemDeleted = io.flow.v0.models.LocalItemDeleted;
|
|
8079
8102
|
export declare type LocalItemPricing = io.flow.v0.models.LocalItemPricing;
|
|
8080
8103
|
export declare type LocalItemUpserted = io.flow.v0.models.LocalItemUpserted;
|
|
@@ -8243,6 +8266,7 @@ export declare type OrganizationSessionAuthorization = io.flow.v0.models.Organiz
|
|
|
8243
8266
|
export declare type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
|
|
8244
8267
|
export declare type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
|
|
8245
8268
|
export declare type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
|
|
8269
|
+
export declare type OrganizationStatus = io.flow.v0.enums.OrganizationStatus;
|
|
8246
8270
|
export declare type OrganizationSummary = io.flow.v0.models.OrganizationSummary;
|
|
8247
8271
|
export declare type OrganizationToken = io.flow.v0.models.OrganizationToken;
|
|
8248
8272
|
export declare type OrganizationTokenForm = io.flow.v0.models.OrganizationTokenForm;
|
|
@@ -8631,7 +8655,6 @@ export declare type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeA
|
|
|
8631
8655
|
export declare type ThreedsChallengeActionDetails = io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
8632
8656
|
export declare type ThreedsIdentifyAction = io.flow.v0.unions.ThreedsIdentifyAction;
|
|
8633
8657
|
export declare type ThreedsIdentifyActionDetails = io.flow.v0.models.ThreedsIdentifyActionDetails;
|
|
8634
|
-
export declare type ThreedsTwoBrowserActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
8635
8658
|
export declare type ThreedsTwoChallengeRequest = io.flow.v0.models.ThreedsTwoChallengeRequest;
|
|
8636
8659
|
export declare type ThreedsTwoChallengeViewport = io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
8637
8660
|
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.
|
|
3
|
+
"version": "10.6.0",
|
|
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": "662d6415029a12c2767db07c2cc0ac8a4b44679c"
|
|
31
31
|
}
|