@flowio/types 11.0.3 → 11.0.4
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 +66 -7
- package/dist/api.d.ts +28 -0
- package/package.json +2 -2
- package/src/api-internal.ts +75 -5
- package/src/api.ts +34 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -3907,6 +3907,10 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3907
3907
|
readonly value: number;
|
|
3908
3908
|
readonly currency: string;
|
|
3909
3909
|
}
|
|
3910
|
+
interface Applepay {
|
|
3911
|
+
readonly type: 'applepay';
|
|
3912
|
+
readonly applePayToken: string;
|
|
3913
|
+
}
|
|
3910
3914
|
interface Authentication {
|
|
3911
3915
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3912
3916
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -4087,7 +4091,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4087
4091
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4088
4092
|
readonly origin?: string;
|
|
4089
4093
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
4090
|
-
readonly
|
|
4094
|
+
readonly returnUrl?: string;
|
|
4091
4095
|
}
|
|
4092
4096
|
interface PaymentResponse {
|
|
4093
4097
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -4160,7 +4164,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4160
4164
|
}
|
|
4161
4165
|
declare namespace io.flow.adyen.v0.unions {
|
|
4162
4166
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4163
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
4167
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
|
|
4164
4168
|
}
|
|
4165
4169
|
declare namespace io.flow.order.management.v0.enums {
|
|
4166
4170
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -7499,7 +7503,6 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7499
7503
|
readonly recipient: string;
|
|
7500
7504
|
readonly refunded: boolean;
|
|
7501
7505
|
readonly status: io.flow.crypto.v0.enums.PaymentStatus;
|
|
7502
|
-
readonly time_window: number;
|
|
7503
7506
|
}
|
|
7504
7507
|
interface PaymentRequest {
|
|
7505
7508
|
readonly amount: number;
|
|
@@ -11281,6 +11284,33 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11281
11284
|
readonly uncaught_error_count?: number;
|
|
11282
11285
|
readonly unhandled_rejection_count?: number;
|
|
11283
11286
|
}
|
|
11287
|
+
interface HeapSequencedError {
|
|
11288
|
+
readonly discriminator: 'sequenced_error';
|
|
11289
|
+
readonly message_type: string;
|
|
11290
|
+
readonly sequence_number: number;
|
|
11291
|
+
readonly checkout_id?: string;
|
|
11292
|
+
readonly experience_key?: string;
|
|
11293
|
+
readonly experiment_key?: string;
|
|
11294
|
+
readonly experiment_variant_key?: string;
|
|
11295
|
+
readonly order_number?: string;
|
|
11296
|
+
readonly organization_id?: string;
|
|
11297
|
+
readonly visit_id?: string;
|
|
11298
|
+
readonly visitor_id?: string;
|
|
11299
|
+
}
|
|
11300
|
+
interface HeapSequencedTiming {
|
|
11301
|
+
readonly discriminator: 'sequenced_timing';
|
|
11302
|
+
readonly elapsed_time: number;
|
|
11303
|
+
readonly sequence_number: number;
|
|
11304
|
+
readonly message_type: string;
|
|
11305
|
+
readonly checkout_id?: string;
|
|
11306
|
+
readonly experience_key?: string;
|
|
11307
|
+
readonly experiment_key?: string;
|
|
11308
|
+
readonly experiment_variant_key?: string;
|
|
11309
|
+
readonly order_number?: string;
|
|
11310
|
+
readonly organization_id?: string;
|
|
11311
|
+
readonly visit_id?: string;
|
|
11312
|
+
readonly visitor_id?: string;
|
|
11313
|
+
}
|
|
11284
11314
|
interface HeapStartCheckout {
|
|
11285
11315
|
readonly discriminator: 'start_checkout';
|
|
11286
11316
|
}
|
|
@@ -11289,7 +11319,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
11289
11319
|
type CheckoutAnalyticsDeliveryOption = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
11290
11320
|
type CheckoutAnalyticsOrder = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsOpenOrder | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSubmittedOrder;
|
|
11291
11321
|
type CheckoutAnalyticsPayment = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
11292
|
-
type HeapEvent = io.flow.checkout.analytics.v0.models.HeapAddressPredictionClick | io.flow.checkout.analytics.v0.models.HeapCheckoutProgress | io.flow.checkout.analytics.v0.models.HeapContinueClick | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataReceived | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapExitCheckout | io.flow.checkout.analytics.v0.models.HeapFieldBlur | io.flow.checkout.analytics.v0.models.HeapFieldFocus | io.flow.checkout.analytics.v0.models.HeapFieldValidation | io.flow.checkout.analytics.v0.models.HeapGiftCardApply | io.flow.checkout.analytics.v0.models.HeapGiftCardOpen | io.flow.checkout.analytics.v0.models.HeapGiftCardWithPin | io.flow.checkout.analytics.v0.models.HeapPayClick | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapPaymentMethodSelected | io.flow.checkout.analytics.v0.models.HeapPerformance | io.flow.checkout.analytics.v0.models.HeapPromoCodeApply | io.flow.checkout.analytics.v0.models.HeapPromoCodeError | io.flow.checkout.analytics.v0.models.HeapPromoCodeOpen | io.flow.checkout.analytics.v0.models.HeapPurchase | io.flow.checkout.analytics.v0.models.HeapRageClick | io.flow.checkout.analytics.v0.models.HeapScriptError | io.flow.checkout.analytics.v0.models.HeapStartCheckout | io.flow.checkout.analytics.v0.models.HeapFieldErrorTooltipShown;
|
|
11322
|
+
type HeapEvent = io.flow.checkout.analytics.v0.models.HeapAddressPredictionClick | io.flow.checkout.analytics.v0.models.HeapCheckoutProgress | io.flow.checkout.analytics.v0.models.HeapContinueClick | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataReceived | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapExitCheckout | io.flow.checkout.analytics.v0.models.HeapFieldBlur | io.flow.checkout.analytics.v0.models.HeapFieldFocus | io.flow.checkout.analytics.v0.models.HeapFieldValidation | io.flow.checkout.analytics.v0.models.HeapGiftCardApply | io.flow.checkout.analytics.v0.models.HeapGiftCardOpen | io.flow.checkout.analytics.v0.models.HeapGiftCardWithPin | io.flow.checkout.analytics.v0.models.HeapPayClick | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapPaymentMethodSelected | io.flow.checkout.analytics.v0.models.HeapPerformance | io.flow.checkout.analytics.v0.models.HeapPromoCodeApply | io.flow.checkout.analytics.v0.models.HeapPromoCodeError | io.flow.checkout.analytics.v0.models.HeapPromoCodeOpen | io.flow.checkout.analytics.v0.models.HeapPurchase | io.flow.checkout.analytics.v0.models.HeapRageClick | io.flow.checkout.analytics.v0.models.HeapScriptError | io.flow.checkout.analytics.v0.models.HeapSequencedError | io.flow.checkout.analytics.v0.models.HeapSequencedTiming | io.flow.checkout.analytics.v0.models.HeapStartCheckout | io.flow.checkout.analytics.v0.models.HeapFieldErrorTooltipShown;
|
|
11293
11323
|
}
|
|
11294
11324
|
declare namespace io.flow.currency.v0.enums {
|
|
11295
11325
|
type RateType = 'flow' | 'organization';
|
|
@@ -11763,7 +11793,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
11763
11793
|
readonly created_at: string;
|
|
11764
11794
|
readonly expires_at?: string;
|
|
11765
11795
|
readonly base?: io.flow.common.v0.models.Money;
|
|
11766
|
-
readonly processor
|
|
11796
|
+
readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
11767
11797
|
}
|
|
11768
11798
|
interface CardBrowserActionConfiguration {
|
|
11769
11799
|
readonly discriminator: 'card_browser_action_configuration';
|
|
@@ -11965,7 +11995,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
11965
11995
|
readonly created_at: string;
|
|
11966
11996
|
readonly expires_at?: string;
|
|
11967
11997
|
readonly base?: io.flow.common.v0.models.Money;
|
|
11968
|
-
readonly processor
|
|
11998
|
+
readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
11969
11999
|
}
|
|
11970
12000
|
interface OnlinePaymentAuthorizationForm {
|
|
11971
12001
|
readonly discriminator: 'online_payment_authorization_form';
|
|
@@ -16982,6 +17012,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16982
17012
|
readonly uncaught_error_count?: number;
|
|
16983
17013
|
readonly unhandled_rejection_count?: number;
|
|
16984
17014
|
}
|
|
17015
|
+
interface HeapSequencedError {
|
|
17016
|
+
readonly discriminator: 'sequenced_error';
|
|
17017
|
+
readonly message_type: string;
|
|
17018
|
+
readonly sequence_number: number;
|
|
17019
|
+
readonly checkout_id?: string;
|
|
17020
|
+
readonly experience_key?: string;
|
|
17021
|
+
readonly experiment_key?: string;
|
|
17022
|
+
readonly experiment_variant_key?: string;
|
|
17023
|
+
readonly order_number?: string;
|
|
17024
|
+
readonly organization_id?: string;
|
|
17025
|
+
readonly visit_id?: string;
|
|
17026
|
+
readonly visitor_id?: string;
|
|
17027
|
+
}
|
|
17028
|
+
interface HeapSequencedTiming {
|
|
17029
|
+
readonly discriminator: 'sequenced_timing';
|
|
17030
|
+
readonly elapsed_time: number;
|
|
17031
|
+
readonly sequence_number: number;
|
|
17032
|
+
readonly message_type: string;
|
|
17033
|
+
readonly checkout_id?: string;
|
|
17034
|
+
readonly experience_key?: string;
|
|
17035
|
+
readonly experiment_key?: string;
|
|
17036
|
+
readonly experiment_variant_key?: string;
|
|
17037
|
+
readonly order_number?: string;
|
|
17038
|
+
readonly organization_id?: string;
|
|
17039
|
+
readonly visit_id?: string;
|
|
17040
|
+
readonly visitor_id?: string;
|
|
17041
|
+
}
|
|
16985
17042
|
interface HeapStartCheckout {
|
|
16986
17043
|
readonly discriminator: 'start_checkout';
|
|
16987
17044
|
}
|
|
@@ -20015,7 +20072,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20015
20072
|
type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
|
|
20016
20073
|
type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
|
|
20017
20074
|
type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
|
|
20018
|
-
type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapFieldErrorTooltipShown;
|
|
20075
|
+
type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapFieldErrorTooltipShown;
|
|
20019
20076
|
type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
|
|
20020
20077
|
type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
20021
20078
|
type InternalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
@@ -20850,6 +20907,8 @@ export declare type HeapPromoCodeOpen = io.flow.internal.v0.models.HeapPromoCode
|
|
|
20850
20907
|
export declare type HeapPurchase = io.flow.internal.v0.models.HeapPurchase;
|
|
20851
20908
|
export declare type HeapRageClick = io.flow.internal.v0.models.HeapRageClick;
|
|
20852
20909
|
export declare type HeapScriptError = io.flow.internal.v0.models.HeapScriptError;
|
|
20910
|
+
export declare type HeapSequencedError = io.flow.internal.v0.models.HeapSequencedError;
|
|
20911
|
+
export declare type HeapSequencedTiming = io.flow.internal.v0.models.HeapSequencedTiming;
|
|
20853
20912
|
export declare type HeapStartCheckout = io.flow.internal.v0.models.HeapStartCheckout;
|
|
20854
20913
|
export declare type Href = io.flow.internal.v0.models.Href;
|
|
20855
20914
|
export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
package/dist/api.d.ts
CHANGED
|
@@ -1612,6 +1612,7 @@ declare namespace io.flow.v0.models {
|
|
|
1612
1612
|
readonly created_at: string;
|
|
1613
1613
|
readonly expires_at?: string;
|
|
1614
1614
|
readonly base?: io.flow.v0.models.Money;
|
|
1615
|
+
readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
1615
1616
|
}
|
|
1616
1617
|
interface CardAuthorizationDeletedV2 {
|
|
1617
1618
|
readonly discriminator: 'card_authorization_deleted_v2';
|
|
@@ -4412,6 +4413,7 @@ declare namespace io.flow.v0.models {
|
|
|
4412
4413
|
readonly created_at: string;
|
|
4413
4414
|
readonly expires_at?: string;
|
|
4414
4415
|
readonly base?: io.flow.v0.models.Money;
|
|
4416
|
+
readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
4415
4417
|
}
|
|
4416
4418
|
interface OnlineAuthorizationDeletedV2 {
|
|
4417
4419
|
readonly discriminator: 'online_authorization_deleted_v2';
|
|
@@ -5221,6 +5223,26 @@ declare namespace io.flow.v0.models {
|
|
|
5221
5223
|
readonly currency: string;
|
|
5222
5224
|
readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
5223
5225
|
}
|
|
5226
|
+
interface PaymentProcessor {
|
|
5227
|
+
readonly discriminator: 'payment_processor';
|
|
5228
|
+
readonly processor: string;
|
|
5229
|
+
readonly operation_identifier?: io.flow.v0.models.PaymentProcessorIdentifier;
|
|
5230
|
+
readonly account?: io.flow.v0.models.PaymentProcessorAccount;
|
|
5231
|
+
}
|
|
5232
|
+
interface PaymentProcessorAccount {
|
|
5233
|
+
readonly organization: string;
|
|
5234
|
+
readonly key: string;
|
|
5235
|
+
readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier;
|
|
5236
|
+
readonly parent_account?: io.flow.v0.models.PaymentProcessorAccount;
|
|
5237
|
+
}
|
|
5238
|
+
interface PaymentProcessorIdentifier {
|
|
5239
|
+
readonly id: string;
|
|
5240
|
+
readonly label: string;
|
|
5241
|
+
}
|
|
5242
|
+
interface PaymentProcessorReference {
|
|
5243
|
+
readonly discriminator: 'payment_processor_reference';
|
|
5244
|
+
readonly processor: string;
|
|
5245
|
+
}
|
|
5224
5246
|
interface PaymentReference {
|
|
5225
5247
|
readonly id: string;
|
|
5226
5248
|
}
|
|
@@ -7481,6 +7503,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7481
7503
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
7482
7504
|
type ExpandableOrder = io.flow.v0.models.Order | io.flow.v0.models.OrderReference;
|
|
7483
7505
|
type ExpandableOrganization = io.flow.v0.models.Organization | io.flow.v0.models.OrganizationReference;
|
|
7506
|
+
type ExpandablePaymentProcessor = io.flow.v0.models.PaymentProcessor | io.flow.v0.models.PaymentProcessorReference;
|
|
7484
7507
|
type ExpandableSubcatalog = io.flow.v0.models.Subcatalog | io.flow.v0.models.SubcatalogReference;
|
|
7485
7508
|
type ExpandableUser = io.flow.v0.models.User | io.flow.v0.models.UserReference;
|
|
7486
7509
|
type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
|
|
@@ -7904,6 +7927,7 @@ export declare type ExpandableCenter = io.flow.v0.unions.ExpandableCenter;
|
|
|
7904
7927
|
export declare type ExpandableExperience = io.flow.v0.unions.ExpandableExperience;
|
|
7905
7928
|
export declare type ExpandableOrder = io.flow.v0.unions.ExpandableOrder;
|
|
7906
7929
|
export declare type ExpandableOrganization = io.flow.v0.unions.ExpandableOrganization;
|
|
7930
|
+
export declare type ExpandablePaymentProcessor = io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
7907
7931
|
export declare type ExpandableSubcatalog = io.flow.v0.unions.ExpandableSubcatalog;
|
|
7908
7932
|
export declare type ExpandableUser = io.flow.v0.unions.ExpandableUser;
|
|
7909
7933
|
export declare type Experience = io.flow.v0.models.Experience;
|
|
@@ -8360,6 +8384,10 @@ export declare type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethod
|
|
|
8360
8384
|
export declare type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
|
|
8361
8385
|
export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
|
|
8362
8386
|
export declare type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
|
|
8387
|
+
export declare type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
|
|
8388
|
+
export declare type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
|
|
8389
|
+
export declare type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
|
|
8390
|
+
export declare type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
|
|
8363
8391
|
export declare type PaymentReference = io.flow.v0.models.PaymentReference;
|
|
8364
8392
|
export declare type PaymentSource = io.flow.v0.unions.PaymentSource;
|
|
8365
8393
|
export declare type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.4",
|
|
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": "d75b52e66b9c945ae912c29c7becb40ada2e56a6"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -5511,6 +5511,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5511
5511
|
readonly currency: string;
|
|
5512
5512
|
}
|
|
5513
5513
|
|
|
5514
|
+
interface Applepay {
|
|
5515
|
+
readonly type: 'applepay';
|
|
5516
|
+
readonly applePayToken: string;
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5514
5519
|
interface Authentication {
|
|
5515
5520
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5516
5521
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5715,7 +5720,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5715
5720
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5716
5721
|
readonly origin?: string;
|
|
5717
5722
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5718
|
-
readonly
|
|
5723
|
+
readonly returnUrl?: string;
|
|
5719
5724
|
}
|
|
5720
5725
|
|
|
5721
5726
|
interface PaymentResponse {
|
|
@@ -5802,7 +5807,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5802
5807
|
type BrowserInfo =
|
|
5803
5808
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5804
5809
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5805
|
-
type PaymentMethodData =
|
|
5810
|
+
type PaymentMethodData =
|
|
5811
|
+
| io.flow.adyen.v0.models.Scheme
|
|
5812
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
5806
5813
|
}
|
|
5807
5814
|
|
|
5808
5815
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -9918,7 +9925,6 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
9918
9925
|
readonly recipient: string;
|
|
9919
9926
|
readonly refunded: boolean;
|
|
9920
9927
|
readonly status: io.flow.crypto.v0.enums.PaymentStatus;
|
|
9921
|
-
readonly time_window: number;
|
|
9922
9928
|
}
|
|
9923
9929
|
|
|
9924
9930
|
interface PaymentRequest {
|
|
@@ -14648,6 +14654,35 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14648
14654
|
readonly unhandled_rejection_count?: number;
|
|
14649
14655
|
}
|
|
14650
14656
|
|
|
14657
|
+
interface HeapSequencedError {
|
|
14658
|
+
readonly discriminator: 'sequenced_error';
|
|
14659
|
+
readonly message_type: string;
|
|
14660
|
+
readonly sequence_number: number;
|
|
14661
|
+
readonly checkout_id?: string;
|
|
14662
|
+
readonly experience_key?: string;
|
|
14663
|
+
readonly experiment_key?: string;
|
|
14664
|
+
readonly experiment_variant_key?: string;
|
|
14665
|
+
readonly order_number?: string;
|
|
14666
|
+
readonly organization_id?: string;
|
|
14667
|
+
readonly visit_id?: string;
|
|
14668
|
+
readonly visitor_id?: string;
|
|
14669
|
+
}
|
|
14670
|
+
|
|
14671
|
+
interface HeapSequencedTiming {
|
|
14672
|
+
readonly discriminator: 'sequenced_timing';
|
|
14673
|
+
readonly elapsed_time: number;
|
|
14674
|
+
readonly sequence_number: number;
|
|
14675
|
+
readonly message_type: string;
|
|
14676
|
+
readonly checkout_id?: string;
|
|
14677
|
+
readonly experience_key?: string;
|
|
14678
|
+
readonly experiment_key?: string;
|
|
14679
|
+
readonly experiment_variant_key?: string;
|
|
14680
|
+
readonly order_number?: string;
|
|
14681
|
+
readonly organization_id?: string;
|
|
14682
|
+
readonly visit_id?: string;
|
|
14683
|
+
readonly visitor_id?: string;
|
|
14684
|
+
}
|
|
14685
|
+
|
|
14651
14686
|
interface HeapStartCheckout {
|
|
14652
14687
|
readonly discriminator: 'start_checkout';
|
|
14653
14688
|
}
|
|
@@ -14688,6 +14723,8 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
14688
14723
|
| io.flow.checkout.analytics.v0.models.HeapPurchase
|
|
14689
14724
|
| io.flow.checkout.analytics.v0.models.HeapRageClick
|
|
14690
14725
|
| io.flow.checkout.analytics.v0.models.HeapScriptError
|
|
14726
|
+
| io.flow.checkout.analytics.v0.models.HeapSequencedError
|
|
14727
|
+
| io.flow.checkout.analytics.v0.models.HeapSequencedTiming
|
|
14691
14728
|
| io.flow.checkout.analytics.v0.models.HeapStartCheckout
|
|
14692
14729
|
| io.flow.checkout.analytics.v0.models.HeapFieldErrorTooltipShown;
|
|
14693
14730
|
}
|
|
@@ -15310,7 +15347,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
15310
15347
|
readonly created_at: string;
|
|
15311
15348
|
readonly expires_at?: string;
|
|
15312
15349
|
readonly base?: io.flow.common.v0.models.Money;
|
|
15313
|
-
readonly processor
|
|
15350
|
+
readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
15314
15351
|
}
|
|
15315
15352
|
|
|
15316
15353
|
interface CardBrowserActionConfiguration {
|
|
@@ -15540,7 +15577,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
15540
15577
|
readonly created_at: string;
|
|
15541
15578
|
readonly expires_at?: string;
|
|
15542
15579
|
readonly base?: io.flow.common.v0.models.Money;
|
|
15543
|
-
readonly processor
|
|
15580
|
+
readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
15544
15581
|
}
|
|
15545
15582
|
|
|
15546
15583
|
interface OnlinePaymentAuthorizationForm {
|
|
@@ -22012,6 +22049,35 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22012
22049
|
readonly unhandled_rejection_count?: number;
|
|
22013
22050
|
}
|
|
22014
22051
|
|
|
22052
|
+
interface HeapSequencedError {
|
|
22053
|
+
readonly discriminator: 'sequenced_error';
|
|
22054
|
+
readonly message_type: string;
|
|
22055
|
+
readonly sequence_number: number;
|
|
22056
|
+
readonly checkout_id?: string;
|
|
22057
|
+
readonly experience_key?: string;
|
|
22058
|
+
readonly experiment_key?: string;
|
|
22059
|
+
readonly experiment_variant_key?: string;
|
|
22060
|
+
readonly order_number?: string;
|
|
22061
|
+
readonly organization_id?: string;
|
|
22062
|
+
readonly visit_id?: string;
|
|
22063
|
+
readonly visitor_id?: string;
|
|
22064
|
+
}
|
|
22065
|
+
|
|
22066
|
+
interface HeapSequencedTiming {
|
|
22067
|
+
readonly discriminator: 'sequenced_timing';
|
|
22068
|
+
readonly elapsed_time: number;
|
|
22069
|
+
readonly sequence_number: number;
|
|
22070
|
+
readonly message_type: string;
|
|
22071
|
+
readonly checkout_id?: string;
|
|
22072
|
+
readonly experience_key?: string;
|
|
22073
|
+
readonly experiment_key?: string;
|
|
22074
|
+
readonly experiment_variant_key?: string;
|
|
22075
|
+
readonly order_number?: string;
|
|
22076
|
+
readonly organization_id?: string;
|
|
22077
|
+
readonly visit_id?: string;
|
|
22078
|
+
readonly visitor_id?: string;
|
|
22079
|
+
}
|
|
22080
|
+
|
|
22015
22081
|
interface HeapStartCheckout {
|
|
22016
22082
|
readonly discriminator: 'start_checkout';
|
|
22017
22083
|
}
|
|
@@ -25915,6 +25981,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25915
25981
|
| io.flow.internal.v0.models.HeapPurchase
|
|
25916
25982
|
| io.flow.internal.v0.models.HeapRageClick
|
|
25917
25983
|
| io.flow.internal.v0.models.HeapScriptError
|
|
25984
|
+
| io.flow.internal.v0.models.HeapSequencedError
|
|
25985
|
+
| io.flow.internal.v0.models.HeapSequencedTiming
|
|
25918
25986
|
| io.flow.internal.v0.models.HeapStartCheckout
|
|
25919
25987
|
| io.flow.internal.v0.models.HeapFieldErrorTooltipShown;
|
|
25920
25988
|
type IndexTaskType =
|
|
@@ -26854,6 +26922,8 @@ export type HeapPromoCodeOpen = io.flow.internal.v0.models.HeapPromoCodeOpen;
|
|
|
26854
26922
|
export type HeapPurchase = io.flow.internal.v0.models.HeapPurchase;
|
|
26855
26923
|
export type HeapRageClick = io.flow.internal.v0.models.HeapRageClick;
|
|
26856
26924
|
export type HeapScriptError = io.flow.internal.v0.models.HeapScriptError;
|
|
26925
|
+
export type HeapSequencedError = io.flow.internal.v0.models.HeapSequencedError;
|
|
26926
|
+
export type HeapSequencedTiming = io.flow.internal.v0.models.HeapSequencedTiming;
|
|
26857
26927
|
export type HeapStartCheckout = io.flow.internal.v0.models.HeapStartCheckout;
|
|
26858
26928
|
export type Href = io.flow.internal.v0.models.Href;
|
|
26859
26929
|
export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
package/src/api.ts
CHANGED
|
@@ -2405,6 +2405,7 @@ declare namespace io.flow.v0.models {
|
|
|
2405
2405
|
readonly created_at: string;
|
|
2406
2406
|
readonly expires_at?: string;
|
|
2407
2407
|
readonly base?: io.flow.v0.models.Money;
|
|
2408
|
+
readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
2408
2409
|
}
|
|
2409
2410
|
|
|
2410
2411
|
interface CardAuthorizationDeletedV2 {
|
|
@@ -5670,6 +5671,7 @@ declare namespace io.flow.v0.models {
|
|
|
5670
5671
|
readonly created_at: string;
|
|
5671
5672
|
readonly expires_at?: string;
|
|
5672
5673
|
readonly base?: io.flow.v0.models.Money;
|
|
5674
|
+
readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
5673
5675
|
}
|
|
5674
5676
|
|
|
5675
5677
|
interface OnlineAuthorizationDeletedV2 {
|
|
@@ -6604,6 +6606,30 @@ declare namespace io.flow.v0.models {
|
|
|
6604
6606
|
readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
6605
6607
|
}
|
|
6606
6608
|
|
|
6609
|
+
interface PaymentProcessor {
|
|
6610
|
+
readonly discriminator: 'payment_processor';
|
|
6611
|
+
readonly processor: string;
|
|
6612
|
+
readonly operation_identifier?: io.flow.v0.models.PaymentProcessorIdentifier;
|
|
6613
|
+
readonly account?: io.flow.v0.models.PaymentProcessorAccount;
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
interface PaymentProcessorAccount {
|
|
6617
|
+
readonly organization: string;
|
|
6618
|
+
readonly key: string;
|
|
6619
|
+
readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier;
|
|
6620
|
+
readonly parent_account?: io.flow.v0.models.PaymentProcessorAccount;
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
interface PaymentProcessorIdentifier {
|
|
6624
|
+
readonly id: string;
|
|
6625
|
+
readonly label: string;
|
|
6626
|
+
}
|
|
6627
|
+
|
|
6628
|
+
interface PaymentProcessorReference {
|
|
6629
|
+
readonly discriminator: 'payment_processor_reference';
|
|
6630
|
+
readonly processor: string;
|
|
6631
|
+
}
|
|
6632
|
+
|
|
6607
6633
|
interface PaymentReference {
|
|
6608
6634
|
readonly id: string;
|
|
6609
6635
|
}
|
|
@@ -9444,6 +9470,9 @@ declare namespace io.flow.v0.unions {
|
|
|
9444
9470
|
type ExpandableOrganization =
|
|
9445
9471
|
| io.flow.v0.models.Organization
|
|
9446
9472
|
| io.flow.v0.models.OrganizationReference;
|
|
9473
|
+
type ExpandablePaymentProcessor =
|
|
9474
|
+
| io.flow.v0.models.PaymentProcessor
|
|
9475
|
+
| io.flow.v0.models.PaymentProcessorReference;
|
|
9447
9476
|
type ExpandableSubcatalog =
|
|
9448
9477
|
| io.flow.v0.models.Subcatalog
|
|
9449
9478
|
| io.flow.v0.models.SubcatalogReference;
|
|
@@ -9967,6 +9996,7 @@ export type ExpandableCenter = io.flow.v0.unions.ExpandableCenter;
|
|
|
9967
9996
|
export type ExpandableExperience = io.flow.v0.unions.ExpandableExperience;
|
|
9968
9997
|
export type ExpandableOrder = io.flow.v0.unions.ExpandableOrder;
|
|
9969
9998
|
export type ExpandableOrganization = io.flow.v0.unions.ExpandableOrganization;
|
|
9999
|
+
export type ExpandablePaymentProcessor = io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
9970
10000
|
export type ExpandableSubcatalog = io.flow.v0.unions.ExpandableSubcatalog;
|
|
9971
10001
|
export type ExpandableUser = io.flow.v0.unions.ExpandableUser;
|
|
9972
10002
|
export type Experience = io.flow.v0.models.Experience;
|
|
@@ -10423,6 +10453,10 @@ export type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethodRuleCont
|
|
|
10423
10453
|
export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
|
|
10424
10454
|
export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
|
|
10425
10455
|
export type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
|
|
10456
|
+
export type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
|
|
10457
|
+
export type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
|
|
10458
|
+
export type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
|
|
10459
|
+
export type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
|
|
10426
10460
|
export type PaymentReference = io.flow.v0.models.PaymentReference;
|
|
10427
10461
|
export type PaymentSource = io.flow.v0.unions.PaymentSource;
|
|
10428
10462
|
export type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;
|