@flowio/types 11.0.0 → 11.0.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 +173 -2
- package/dist/api.d.ts +0 -8
- package/package.json +2 -2
- package/src/api-internal.ts +211 -2
- package/src/api.ts +0 -8
package/dist/api-internal.d.ts
CHANGED
|
@@ -11062,6 +11062,19 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11062
11062
|
readonly visitor_id?: string;
|
|
11063
11063
|
readonly field: string;
|
|
11064
11064
|
}
|
|
11065
|
+
interface HeapFieldErrorTooltipShown {
|
|
11066
|
+
readonly discriminator: 'field_error_tooltip_shown';
|
|
11067
|
+
readonly message: string;
|
|
11068
|
+
readonly field_name: string;
|
|
11069
|
+
readonly checkout_id?: string;
|
|
11070
|
+
readonly experience_key?: string;
|
|
11071
|
+
readonly experiment_key?: string;
|
|
11072
|
+
readonly experiment_variant_key?: string;
|
|
11073
|
+
readonly order_number?: string;
|
|
11074
|
+
readonly organization_id?: string;
|
|
11075
|
+
readonly visit_id?: string;
|
|
11076
|
+
readonly visitor_id?: string;
|
|
11077
|
+
}
|
|
11065
11078
|
interface HeapFieldFocus {
|
|
11066
11079
|
readonly discriminator: 'field_focus';
|
|
11067
11080
|
readonly checkout_id?: string;
|
|
@@ -11154,6 +11167,18 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11154
11167
|
readonly visit_id?: string;
|
|
11155
11168
|
readonly visitor_id?: string;
|
|
11156
11169
|
}
|
|
11170
|
+
interface HeapPaymentMethodSelected {
|
|
11171
|
+
readonly discriminator: 'payment_method_selected';
|
|
11172
|
+
readonly payment_method_key: string;
|
|
11173
|
+
readonly checkout_id?: string;
|
|
11174
|
+
readonly experience_key?: string;
|
|
11175
|
+
readonly experiment_key?: string;
|
|
11176
|
+
readonly experiment_variant_key?: string;
|
|
11177
|
+
readonly order_number?: string;
|
|
11178
|
+
readonly organization_id?: string;
|
|
11179
|
+
readonly visit_id?: string;
|
|
11180
|
+
readonly visitor_id?: string;
|
|
11181
|
+
}
|
|
11157
11182
|
interface HeapPerformance {
|
|
11158
11183
|
readonly discriminator: 'performance';
|
|
11159
11184
|
readonly checkout_id?: string;
|
|
@@ -11226,6 +11251,10 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11226
11251
|
readonly tax: number;
|
|
11227
11252
|
readonly duty: number;
|
|
11228
11253
|
readonly currency: string;
|
|
11254
|
+
readonly promotion_applied: boolean;
|
|
11255
|
+
readonly gift_card_applied: boolean;
|
|
11256
|
+
readonly payments: string;
|
|
11257
|
+
readonly delivery_option_ids: string;
|
|
11229
11258
|
}
|
|
11230
11259
|
interface HeapRageClick {
|
|
11231
11260
|
readonly discriminator: 'rage_click';
|
|
@@ -11260,7 +11289,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
11260
11289
|
type CheckoutAnalyticsDeliveryOption = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
11261
11290
|
type CheckoutAnalyticsOrder = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsOpenOrder | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSubmittedOrder;
|
|
11262
11291
|
type CheckoutAnalyticsPayment = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
11263
|
-
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.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;
|
|
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;
|
|
11264
11293
|
}
|
|
11265
11294
|
declare namespace io.flow.currency.v0.enums {
|
|
11266
11295
|
type RateType = 'flow' | 'organization';
|
|
@@ -11734,6 +11763,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
11734
11763
|
readonly created_at: string;
|
|
11735
11764
|
readonly expires_at?: string;
|
|
11736
11765
|
readonly base?: io.flow.common.v0.models.Money;
|
|
11766
|
+
readonly processor: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
11737
11767
|
}
|
|
11738
11768
|
interface CardBrowserActionConfiguration {
|
|
11739
11769
|
readonly discriminator: 'card_browser_action_configuration';
|
|
@@ -11935,6 +11965,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
11935
11965
|
readonly created_at: string;
|
|
11936
11966
|
readonly expires_at?: string;
|
|
11937
11967
|
readonly base?: io.flow.common.v0.models.Money;
|
|
11968
|
+
readonly processor: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
11938
11969
|
}
|
|
11939
11970
|
interface OnlinePaymentAuthorizationForm {
|
|
11940
11971
|
readonly discriminator: 'online_payment_authorization_form';
|
|
@@ -11962,6 +11993,26 @@ declare namespace io.flow.payment.v0.models {
|
|
|
11962
11993
|
readonly currency: string;
|
|
11963
11994
|
readonly paypal: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
11964
11995
|
}
|
|
11996
|
+
interface PaymentProcessor {
|
|
11997
|
+
readonly discriminator: 'payment_processor';
|
|
11998
|
+
readonly processor: string;
|
|
11999
|
+
readonly operation_identifier?: io.flow.payment.v0.models.PaymentProcessorIdentifier;
|
|
12000
|
+
readonly account?: io.flow.payment.v0.models.PaymentProcessorAccount;
|
|
12001
|
+
}
|
|
12002
|
+
interface PaymentProcessorAccount {
|
|
12003
|
+
readonly organization: string;
|
|
12004
|
+
readonly key: string;
|
|
12005
|
+
readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier;
|
|
12006
|
+
readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccount;
|
|
12007
|
+
}
|
|
12008
|
+
interface PaymentProcessorIdentifier {
|
|
12009
|
+
readonly id: string;
|
|
12010
|
+
readonly label: string;
|
|
12011
|
+
}
|
|
12012
|
+
interface PaymentProcessorReference {
|
|
12013
|
+
readonly discriminator: 'payment_processor_reference';
|
|
12014
|
+
readonly processor: string;
|
|
12015
|
+
}
|
|
11965
12016
|
interface PaymentReference {
|
|
11966
12017
|
readonly id: string;
|
|
11967
12018
|
}
|
|
@@ -12228,6 +12279,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
12228
12279
|
type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
|
|
12229
12280
|
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
|
|
12230
12281
|
type ExpandableCard = io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary;
|
|
12282
|
+
type ExpandablePaymentProcessor = io.flow.payment.v0.models.PaymentProcessor | io.flow.payment.v0.models.PaymentProcessorReference;
|
|
12231
12283
|
type GatewayAuthenticationData = io.flow.payment.v0.models.StripeAuthenticationData;
|
|
12232
12284
|
type GatewayAuthenticationDataForm = io.flow.payment.v0.models.StripeAuthenticationDataForm;
|
|
12233
12285
|
type InlineActionConfiguration = io.flow.payment.v0.models.BrowserInlineActionConfiguration;
|
|
@@ -12242,6 +12294,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
12242
12294
|
declare namespace io.flow.checkout.backend.v0.enums {
|
|
12243
12295
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
12244
12296
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
12297
|
+
type InitialInputDataSource = 'session_persistence';
|
|
12245
12298
|
type PregenDataKeyField = 'shipping_country' | 'shipping_province' | 'invoicing_country' | 'delivery_option_id';
|
|
12246
12299
|
}
|
|
12247
12300
|
declare namespace io.flow.checkout.backend.v0.models {
|
|
@@ -13081,6 +13134,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13081
13134
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
13082
13135
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
13083
13136
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
13137
|
+
type BlazeCheckoutStep = 'contact' | 'shipping' | 'delivery' | 'payment';
|
|
13084
13138
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
13085
13139
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
13086
13140
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
@@ -13165,6 +13219,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13165
13219
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
13166
13220
|
type GoogleAnalyticsPlugin = 'ec';
|
|
13167
13221
|
type HttpMethod = 'get' | 'post';
|
|
13222
|
+
type InitialInputDataSource = 'session_persistence';
|
|
13168
13223
|
type InventoryCheckService = 'sfcc' | 'gymboree';
|
|
13169
13224
|
type InventoryReservation = 'synchronous-on-submit';
|
|
13170
13225
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
@@ -13912,6 +13967,72 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13912
13967
|
readonly public_key: string;
|
|
13913
13968
|
readonly secret_key: string;
|
|
13914
13969
|
}
|
|
13970
|
+
interface BlazeAddOrderAttributesMessage {
|
|
13971
|
+
readonly discriminator: 'add_order_attributes';
|
|
13972
|
+
readonly attributes: Record<string, string>;
|
|
13973
|
+
}
|
|
13974
|
+
interface BlazeAddToCartMessage {
|
|
13975
|
+
readonly discriminator: 'add_to_cart';
|
|
13976
|
+
readonly item: io.flow.internal.v0.models.BlazeCheckoutItem;
|
|
13977
|
+
}
|
|
13978
|
+
interface BlazeCheckoutCompleteMessage {
|
|
13979
|
+
readonly discriminator: 'checkout_complete';
|
|
13980
|
+
readonly affiliation: string;
|
|
13981
|
+
readonly checkout_id: string;
|
|
13982
|
+
readonly currency: string;
|
|
13983
|
+
readonly duty?: number;
|
|
13984
|
+
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
13985
|
+
readonly promotion?: string;
|
|
13986
|
+
readonly revenue: number;
|
|
13987
|
+
readonly shipping?: number;
|
|
13988
|
+
readonly tax?: number;
|
|
13989
|
+
}
|
|
13990
|
+
interface BlazeCheckoutItem {
|
|
13991
|
+
readonly attributes: Record<string, string>;
|
|
13992
|
+
readonly item_number: string;
|
|
13993
|
+
readonly quantity: number;
|
|
13994
|
+
}
|
|
13995
|
+
interface BlazeCheckoutLine {
|
|
13996
|
+
readonly number: string;
|
|
13997
|
+
readonly name?: string;
|
|
13998
|
+
readonly brand?: string;
|
|
13999
|
+
readonly category?: string;
|
|
14000
|
+
readonly currency?: string;
|
|
14001
|
+
readonly price?: number;
|
|
14002
|
+
readonly quantity?: number;
|
|
14003
|
+
}
|
|
14004
|
+
interface BlazeCheckoutProgressMessage {
|
|
14005
|
+
readonly discriminator: 'checkout_progress';
|
|
14006
|
+
readonly checkout_id: string;
|
|
14007
|
+
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
14008
|
+
readonly promotion?: string;
|
|
14009
|
+
readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
14010
|
+
}
|
|
14011
|
+
interface BlazeExitCheckoutMessage {
|
|
14012
|
+
readonly discriminator: 'exit_checkout';
|
|
14013
|
+
}
|
|
14014
|
+
interface BlazeInitializeMessage {
|
|
14015
|
+
readonly discriminator: 'initialize';
|
|
14016
|
+
readonly session_id: string;
|
|
14017
|
+
}
|
|
14018
|
+
interface BlazeRedirectConfirmationMessage {
|
|
14019
|
+
readonly discriminator: 'redirect_confirmation';
|
|
14020
|
+
readonly url: string;
|
|
14021
|
+
}
|
|
14022
|
+
interface BlazeSetCartItemsMessage {
|
|
14023
|
+
readonly discriminator: 'set_cart_items';
|
|
14024
|
+
readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
|
|
14025
|
+
}
|
|
14026
|
+
interface BlazeStartCheckoutMessage {
|
|
14027
|
+
readonly discriminator: 'start_checkout';
|
|
14028
|
+
}
|
|
14029
|
+
interface BlazeSynInitializeMessage {
|
|
14030
|
+
readonly discriminator: 'syn_initialize';
|
|
14031
|
+
}
|
|
14032
|
+
interface BlazeUpdateCartItemsMessage {
|
|
14033
|
+
readonly discriminator: 'update_cart_items';
|
|
14034
|
+
readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
|
|
14035
|
+
}
|
|
13915
14036
|
interface BooleanFeatureDefaultValue {
|
|
13916
14037
|
readonly discriminator: 'boolean';
|
|
13917
14038
|
readonly value: boolean;
|
|
@@ -16642,6 +16763,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16642
16763
|
readonly visitor_id?: string;
|
|
16643
16764
|
readonly field: string;
|
|
16644
16765
|
}
|
|
16766
|
+
interface HeapFieldErrorTooltipShown {
|
|
16767
|
+
readonly discriminator: 'field_error_tooltip_shown';
|
|
16768
|
+
readonly message: string;
|
|
16769
|
+
readonly field_name: string;
|
|
16770
|
+
readonly checkout_id?: string;
|
|
16771
|
+
readonly experience_key?: string;
|
|
16772
|
+
readonly experiment_key?: string;
|
|
16773
|
+
readonly experiment_variant_key?: string;
|
|
16774
|
+
readonly order_number?: string;
|
|
16775
|
+
readonly organization_id?: string;
|
|
16776
|
+
readonly visit_id?: string;
|
|
16777
|
+
readonly visitor_id?: string;
|
|
16778
|
+
}
|
|
16645
16779
|
interface HeapFieldFocus {
|
|
16646
16780
|
readonly discriminator: 'field_focus';
|
|
16647
16781
|
readonly checkout_id?: string;
|
|
@@ -16734,6 +16868,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16734
16868
|
readonly visit_id?: string;
|
|
16735
16869
|
readonly visitor_id?: string;
|
|
16736
16870
|
}
|
|
16871
|
+
interface HeapPaymentMethodSelected {
|
|
16872
|
+
readonly discriminator: 'payment_method_selected';
|
|
16873
|
+
readonly payment_method_key: string;
|
|
16874
|
+
readonly checkout_id?: string;
|
|
16875
|
+
readonly experience_key?: string;
|
|
16876
|
+
readonly experiment_key?: string;
|
|
16877
|
+
readonly experiment_variant_key?: string;
|
|
16878
|
+
readonly order_number?: string;
|
|
16879
|
+
readonly organization_id?: string;
|
|
16880
|
+
readonly visit_id?: string;
|
|
16881
|
+
readonly visitor_id?: string;
|
|
16882
|
+
}
|
|
16737
16883
|
interface HeapPerformance {
|
|
16738
16884
|
readonly discriminator: 'performance';
|
|
16739
16885
|
readonly checkout_id?: string;
|
|
@@ -16806,6 +16952,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16806
16952
|
readonly tax: number;
|
|
16807
16953
|
readonly duty: number;
|
|
16808
16954
|
readonly currency: string;
|
|
16955
|
+
readonly promotion_applied: boolean;
|
|
16956
|
+
readonly gift_card_applied: boolean;
|
|
16957
|
+
readonly payments: string;
|
|
16958
|
+
readonly delivery_option_ids: string;
|
|
16809
16959
|
}
|
|
16810
16960
|
interface HeapRageClick {
|
|
16811
16961
|
readonly discriminator: 'rage_click';
|
|
@@ -19791,6 +19941,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19791
19941
|
declare namespace io.flow.internal.v0.unions {
|
|
19792
19942
|
type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
19793
19943
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
19944
|
+
type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
|
|
19945
|
+
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage;
|
|
19794
19946
|
type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
|
|
19795
19947
|
type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
19796
19948
|
type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
|
|
@@ -19863,7 +20015,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19863
20015
|
type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
|
|
19864
20016
|
type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
|
|
19865
20017
|
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;
|
|
19866
|
-
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.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;
|
|
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;
|
|
19867
20019
|
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;
|
|
19868
20020
|
type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
19869
20021
|
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;
|
|
@@ -20013,6 +20165,22 @@ export declare type BitpayAccountPutForm = io.flow.internal.v0.models.BitpayAcco
|
|
|
20013
20165
|
export declare type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthentication;
|
|
20014
20166
|
export declare type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference;
|
|
20015
20167
|
export declare type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm;
|
|
20168
|
+
export declare type BlazeAddOrderAttributesMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage;
|
|
20169
|
+
export declare type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddToCartMessage;
|
|
20170
|
+
export declare type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
|
|
20171
|
+
export declare type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
|
|
20172
|
+
export declare type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
|
|
20173
|
+
export declare type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
|
|
20174
|
+
export declare type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
20175
|
+
export declare type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
|
|
20176
|
+
export declare type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
|
|
20177
|
+
export declare type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
|
|
20178
|
+
export declare type BlazeProviderMessage = io.flow.internal.v0.unions.BlazeProviderMessage;
|
|
20179
|
+
export declare type BlazeRedirectConfirmationMessage = io.flow.internal.v0.models.BlazeRedirectConfirmationMessage;
|
|
20180
|
+
export declare type BlazeSetCartItemsMessage = io.flow.internal.v0.models.BlazeSetCartItemsMessage;
|
|
20181
|
+
export declare type BlazeStartCheckoutMessage = io.flow.internal.v0.models.BlazeStartCheckoutMessage;
|
|
20182
|
+
export declare type BlazeSynInitializeMessage = io.flow.internal.v0.models.BlazeSynInitializeMessage;
|
|
20183
|
+
export declare type BlazeUpdateCartItemsMessage = io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
|
|
20016
20184
|
export declare type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue;
|
|
20017
20185
|
export declare type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule;
|
|
20018
20186
|
export declare type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm;
|
|
@@ -20665,6 +20833,7 @@ export declare type HeapDeliveryFormDataTimeout = io.flow.internal.v0.models.Hea
|
|
|
20665
20833
|
export declare type HeapEvent = io.flow.internal.v0.unions.HeapEvent;
|
|
20666
20834
|
export declare type HeapExitCheckout = io.flow.internal.v0.models.HeapExitCheckout;
|
|
20667
20835
|
export declare type HeapFieldBlur = io.flow.internal.v0.models.HeapFieldBlur;
|
|
20836
|
+
export declare type HeapFieldErrorTooltipShown = io.flow.internal.v0.models.HeapFieldErrorTooltipShown;
|
|
20668
20837
|
export declare type HeapFieldFocus = io.flow.internal.v0.models.HeapFieldFocus;
|
|
20669
20838
|
export declare type HeapFieldValidation = io.flow.internal.v0.models.HeapFieldValidation;
|
|
20670
20839
|
export declare type HeapGiftCardApply = io.flow.internal.v0.models.HeapGiftCardApply;
|
|
@@ -20673,6 +20842,7 @@ export declare type HeapGiftCardWithPin = io.flow.internal.v0.models.HeapGiftCar
|
|
|
20673
20842
|
export declare type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
|
|
20674
20843
|
export declare type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
|
|
20675
20844
|
export declare type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
|
|
20845
|
+
export declare type HeapPaymentMethodSelected = io.flow.internal.v0.models.HeapPaymentMethodSelected;
|
|
20676
20846
|
export declare type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
|
|
20677
20847
|
export declare type HeapPromoCodeApply = io.flow.internal.v0.models.HeapPromoCodeApply;
|
|
20678
20848
|
export declare type HeapPromoCodeError = io.flow.internal.v0.models.HeapPromoCodeError;
|
|
@@ -20686,6 +20856,7 @@ export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
|
20686
20856
|
export declare type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
|
|
20687
20857
|
export declare type ImportFailed = io.flow.internal.v0.models.ImportFailed;
|
|
20688
20858
|
export declare type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
|
|
20859
|
+
export declare type InitialInputDataSource = io.flow.internal.v0.enums.InitialInputDataSource;
|
|
20689
20860
|
export declare type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
|
|
20690
20861
|
export declare type InstallForm = io.flow.internal.v0.models.InstallForm;
|
|
20691
20862
|
export declare type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
|
package/dist/api.d.ts
CHANGED
|
@@ -1754,7 +1754,6 @@ declare namespace io.flow.v0.models {
|
|
|
1754
1754
|
readonly event_id: string;
|
|
1755
1755
|
readonly timestamp: string;
|
|
1756
1756
|
readonly organization: string;
|
|
1757
|
-
readonly catalog: string;
|
|
1758
1757
|
}
|
|
1759
1758
|
interface CatalogItemDeleted {
|
|
1760
1759
|
readonly discriminator: 'catalog_item_deleted';
|
|
@@ -1762,7 +1761,6 @@ declare namespace io.flow.v0.models {
|
|
|
1762
1761
|
readonly timestamp: string;
|
|
1763
1762
|
readonly organization: string;
|
|
1764
1763
|
readonly number: string;
|
|
1765
|
-
readonly catalog: string;
|
|
1766
1764
|
}
|
|
1767
1765
|
interface CatalogItemDeletedV2 {
|
|
1768
1766
|
readonly discriminator: 'catalog_item_deleted_v2';
|
|
@@ -1804,7 +1802,6 @@ declare namespace io.flow.v0.models {
|
|
|
1804
1802
|
readonly timestamp: string;
|
|
1805
1803
|
readonly organization: string;
|
|
1806
1804
|
readonly number: string;
|
|
1807
|
-
readonly catalog: string;
|
|
1808
1805
|
readonly locale: string;
|
|
1809
1806
|
readonly name: string;
|
|
1810
1807
|
readonly currency: string;
|
|
@@ -1842,7 +1839,6 @@ declare namespace io.flow.v0.models {
|
|
|
1842
1839
|
readonly event_id: string;
|
|
1843
1840
|
readonly timestamp: string;
|
|
1844
1841
|
readonly organization: string;
|
|
1845
|
-
readonly catalog: string;
|
|
1846
1842
|
}
|
|
1847
1843
|
interface CatalogVersion {
|
|
1848
1844
|
readonly id: string;
|
|
@@ -6854,7 +6850,6 @@ declare namespace io.flow.v0.models {
|
|
|
6854
6850
|
readonly event_id: string;
|
|
6855
6851
|
readonly timestamp: string;
|
|
6856
6852
|
readonly organization: string;
|
|
6857
|
-
readonly catalog: string;
|
|
6858
6853
|
readonly subcatalog_id: string;
|
|
6859
6854
|
}
|
|
6860
6855
|
interface SubcatalogForm {
|
|
@@ -6871,7 +6866,6 @@ declare namespace io.flow.v0.models {
|
|
|
6871
6866
|
readonly timestamp: string;
|
|
6872
6867
|
readonly organization: string;
|
|
6873
6868
|
readonly number: string;
|
|
6874
|
-
readonly catalog: string;
|
|
6875
6869
|
readonly subcatalog_id: string;
|
|
6876
6870
|
}
|
|
6877
6871
|
interface SubcatalogItemUpserted {
|
|
@@ -6880,7 +6874,6 @@ declare namespace io.flow.v0.models {
|
|
|
6880
6874
|
readonly timestamp: string;
|
|
6881
6875
|
readonly organization: string;
|
|
6882
6876
|
readonly number: string;
|
|
6883
|
-
readonly catalog: string;
|
|
6884
6877
|
readonly subcatalog_id: string;
|
|
6885
6878
|
readonly status: string;
|
|
6886
6879
|
}
|
|
@@ -6912,7 +6905,6 @@ declare namespace io.flow.v0.models {
|
|
|
6912
6905
|
readonly event_id: string;
|
|
6913
6906
|
readonly timestamp: string;
|
|
6914
6907
|
readonly organization: string;
|
|
6915
|
-
readonly catalog: string;
|
|
6916
6908
|
readonly subcatalog_id: string;
|
|
6917
6909
|
}
|
|
6918
6910
|
interface SubcatalogVersion {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.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",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "5981c4746849a0c74a743a2d6da8999ca5b2f69f"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -14412,6 +14412,20 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14412
14412
|
readonly field: string;
|
|
14413
14413
|
}
|
|
14414
14414
|
|
|
14415
|
+
interface HeapFieldErrorTooltipShown {
|
|
14416
|
+
readonly discriminator: 'field_error_tooltip_shown';
|
|
14417
|
+
readonly message: string;
|
|
14418
|
+
readonly field_name: string;
|
|
14419
|
+
readonly checkout_id?: string;
|
|
14420
|
+
readonly experience_key?: string;
|
|
14421
|
+
readonly experiment_key?: string;
|
|
14422
|
+
readonly experiment_variant_key?: string;
|
|
14423
|
+
readonly order_number?: string;
|
|
14424
|
+
readonly organization_id?: string;
|
|
14425
|
+
readonly visit_id?: string;
|
|
14426
|
+
readonly visitor_id?: string;
|
|
14427
|
+
}
|
|
14428
|
+
|
|
14415
14429
|
interface HeapFieldFocus {
|
|
14416
14430
|
readonly discriminator: 'field_focus';
|
|
14417
14431
|
readonly checkout_id?: string;
|
|
@@ -14512,6 +14526,19 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14512
14526
|
readonly visitor_id?: string;
|
|
14513
14527
|
}
|
|
14514
14528
|
|
|
14529
|
+
interface HeapPaymentMethodSelected {
|
|
14530
|
+
readonly discriminator: 'payment_method_selected';
|
|
14531
|
+
readonly payment_method_key: string;
|
|
14532
|
+
readonly checkout_id?: string;
|
|
14533
|
+
readonly experience_key?: string;
|
|
14534
|
+
readonly experiment_key?: string;
|
|
14535
|
+
readonly experiment_variant_key?: string;
|
|
14536
|
+
readonly order_number?: string;
|
|
14537
|
+
readonly organization_id?: string;
|
|
14538
|
+
readonly visit_id?: string;
|
|
14539
|
+
readonly visitor_id?: string;
|
|
14540
|
+
}
|
|
14541
|
+
|
|
14515
14542
|
interface HeapPerformance {
|
|
14516
14543
|
readonly discriminator: 'performance';
|
|
14517
14544
|
readonly checkout_id?: string;
|
|
@@ -14588,6 +14615,10 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14588
14615
|
readonly tax: number;
|
|
14589
14616
|
readonly duty: number;
|
|
14590
14617
|
readonly currency: string;
|
|
14618
|
+
readonly promotion_applied: boolean;
|
|
14619
|
+
readonly gift_card_applied: boolean;
|
|
14620
|
+
readonly payments: string;
|
|
14621
|
+
readonly delivery_option_ids: string;
|
|
14591
14622
|
}
|
|
14592
14623
|
|
|
14593
14624
|
interface HeapRageClick {
|
|
@@ -14649,6 +14680,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
14649
14680
|
| io.flow.checkout.analytics.v0.models.HeapPayClick
|
|
14650
14681
|
| io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived
|
|
14651
14682
|
| io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout
|
|
14683
|
+
| io.flow.checkout.analytics.v0.models.HeapPaymentMethodSelected
|
|
14652
14684
|
| io.flow.checkout.analytics.v0.models.HeapPerformance
|
|
14653
14685
|
| io.flow.checkout.analytics.v0.models.HeapPromoCodeApply
|
|
14654
14686
|
| io.flow.checkout.analytics.v0.models.HeapPromoCodeError
|
|
@@ -14656,7 +14688,8 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
14656
14688
|
| io.flow.checkout.analytics.v0.models.HeapPurchase
|
|
14657
14689
|
| io.flow.checkout.analytics.v0.models.HeapRageClick
|
|
14658
14690
|
| io.flow.checkout.analytics.v0.models.HeapScriptError
|
|
14659
|
-
| io.flow.checkout.analytics.v0.models.HeapStartCheckout
|
|
14691
|
+
| io.flow.checkout.analytics.v0.models.HeapStartCheckout
|
|
14692
|
+
| io.flow.checkout.analytics.v0.models.HeapFieldErrorTooltipShown;
|
|
14660
14693
|
}
|
|
14661
14694
|
|
|
14662
14695
|
declare namespace io.flow.currency.v0.enums {
|
|
@@ -15277,6 +15310,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
15277
15310
|
readonly created_at: string;
|
|
15278
15311
|
readonly expires_at?: string;
|
|
15279
15312
|
readonly base?: io.flow.common.v0.models.Money;
|
|
15313
|
+
readonly processor: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
15280
15314
|
}
|
|
15281
15315
|
|
|
15282
15316
|
interface CardBrowserActionConfiguration {
|
|
@@ -15506,6 +15540,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
15506
15540
|
readonly created_at: string;
|
|
15507
15541
|
readonly expires_at?: string;
|
|
15508
15542
|
readonly base?: io.flow.common.v0.models.Money;
|
|
15543
|
+
readonly processor: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
15509
15544
|
}
|
|
15510
15545
|
|
|
15511
15546
|
interface OnlinePaymentAuthorizationForm {
|
|
@@ -15538,6 +15573,30 @@ declare namespace io.flow.payment.v0.models {
|
|
|
15538
15573
|
readonly paypal: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
15539
15574
|
}
|
|
15540
15575
|
|
|
15576
|
+
interface PaymentProcessor {
|
|
15577
|
+
readonly discriminator: 'payment_processor';
|
|
15578
|
+
readonly processor: string;
|
|
15579
|
+
readonly operation_identifier?: io.flow.payment.v0.models.PaymentProcessorIdentifier;
|
|
15580
|
+
readonly account?: io.flow.payment.v0.models.PaymentProcessorAccount;
|
|
15581
|
+
}
|
|
15582
|
+
|
|
15583
|
+
interface PaymentProcessorAccount {
|
|
15584
|
+
readonly organization: string;
|
|
15585
|
+
readonly key: string;
|
|
15586
|
+
readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier;
|
|
15587
|
+
readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccount;
|
|
15588
|
+
}
|
|
15589
|
+
|
|
15590
|
+
interface PaymentProcessorIdentifier {
|
|
15591
|
+
readonly id: string;
|
|
15592
|
+
readonly label: string;
|
|
15593
|
+
}
|
|
15594
|
+
|
|
15595
|
+
interface PaymentProcessorReference {
|
|
15596
|
+
readonly discriminator: 'payment_processor_reference';
|
|
15597
|
+
readonly processor: string;
|
|
15598
|
+
}
|
|
15599
|
+
|
|
15541
15600
|
interface PaymentReference {
|
|
15542
15601
|
readonly id: string;
|
|
15543
15602
|
}
|
|
@@ -15870,6 +15929,9 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
15870
15929
|
| io.flow.payment.v0.models.Card
|
|
15871
15930
|
| io.flow.payment.v0.models.CardReference
|
|
15872
15931
|
| io.flow.payment.v0.models.CardSummary;
|
|
15932
|
+
type ExpandablePaymentProcessor =
|
|
15933
|
+
| io.flow.payment.v0.models.PaymentProcessor
|
|
15934
|
+
| io.flow.payment.v0.models.PaymentProcessorReference;
|
|
15873
15935
|
type GatewayAuthenticationData = io.flow.payment.v0.models.StripeAuthenticationData;
|
|
15874
15936
|
type GatewayAuthenticationDataForm = io.flow.payment.v0.models.StripeAuthenticationDataForm;
|
|
15875
15937
|
type InlineActionConfiguration = io.flow.payment.v0.models.BrowserInlineActionConfiguration;
|
|
@@ -15891,6 +15953,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
15891
15953
|
declare namespace io.flow.checkout.backend.v0.enums {
|
|
15892
15954
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
15893
15955
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
15956
|
+
type InitialInputDataSource = 'session_persistence';
|
|
15894
15957
|
type PregenDataKeyField =
|
|
15895
15958
|
| 'shipping_country'
|
|
15896
15959
|
| 'shipping_province'
|
|
@@ -16976,6 +17039,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16976
17039
|
| 'tax_remittance'
|
|
16977
17040
|
| 'fully_subsidized_order'
|
|
16978
17041
|
| 'credit_payment';
|
|
17042
|
+
type BlazeCheckoutStep = 'contact' | 'shipping' | 'delivery' | 'payment';
|
|
16979
17043
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
16980
17044
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
16981
17045
|
type CatalogImportType =
|
|
@@ -17407,6 +17471,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17407
17471
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
17408
17472
|
type GoogleAnalyticsPlugin = 'ec';
|
|
17409
17473
|
type HttpMethod = 'get' | 'post';
|
|
17474
|
+
type InitialInputDataSource = 'session_persistence';
|
|
17410
17475
|
type InventoryCheckService = 'sfcc' | 'gymboree';
|
|
17411
17476
|
type InventoryReservation = 'synchronous-on-submit';
|
|
17412
17477
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
@@ -18388,6 +18453,85 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18388
18453
|
readonly secret_key: string;
|
|
18389
18454
|
}
|
|
18390
18455
|
|
|
18456
|
+
interface BlazeAddOrderAttributesMessage {
|
|
18457
|
+
readonly discriminator: 'add_order_attributes';
|
|
18458
|
+
readonly attributes: Record<string, string>;
|
|
18459
|
+
}
|
|
18460
|
+
|
|
18461
|
+
interface BlazeAddToCartMessage {
|
|
18462
|
+
readonly discriminator: 'add_to_cart';
|
|
18463
|
+
readonly item: io.flow.internal.v0.models.BlazeCheckoutItem;
|
|
18464
|
+
}
|
|
18465
|
+
|
|
18466
|
+
interface BlazeCheckoutCompleteMessage {
|
|
18467
|
+
readonly discriminator: 'checkout_complete';
|
|
18468
|
+
readonly affiliation: string;
|
|
18469
|
+
readonly checkout_id: string;
|
|
18470
|
+
readonly currency: string;
|
|
18471
|
+
readonly duty?: number;
|
|
18472
|
+
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
18473
|
+
readonly promotion?: string;
|
|
18474
|
+
readonly revenue: number;
|
|
18475
|
+
readonly shipping?: number;
|
|
18476
|
+
readonly tax?: number;
|
|
18477
|
+
}
|
|
18478
|
+
|
|
18479
|
+
interface BlazeCheckoutItem {
|
|
18480
|
+
readonly attributes: Record<string, string>;
|
|
18481
|
+
readonly item_number: string;
|
|
18482
|
+
readonly quantity: number;
|
|
18483
|
+
}
|
|
18484
|
+
|
|
18485
|
+
interface BlazeCheckoutLine {
|
|
18486
|
+
readonly number: string;
|
|
18487
|
+
readonly name?: string;
|
|
18488
|
+
readonly brand?: string;
|
|
18489
|
+
readonly category?: string;
|
|
18490
|
+
readonly currency?: string;
|
|
18491
|
+
readonly price?: number;
|
|
18492
|
+
readonly quantity?: number;
|
|
18493
|
+
}
|
|
18494
|
+
|
|
18495
|
+
interface BlazeCheckoutProgressMessage {
|
|
18496
|
+
readonly discriminator: 'checkout_progress';
|
|
18497
|
+
readonly checkout_id: string;
|
|
18498
|
+
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
18499
|
+
readonly promotion?: string;
|
|
18500
|
+
readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
18501
|
+
}
|
|
18502
|
+
|
|
18503
|
+
interface BlazeExitCheckoutMessage {
|
|
18504
|
+
readonly discriminator: 'exit_checkout';
|
|
18505
|
+
}
|
|
18506
|
+
|
|
18507
|
+
interface BlazeInitializeMessage {
|
|
18508
|
+
readonly discriminator: 'initialize';
|
|
18509
|
+
readonly session_id: string;
|
|
18510
|
+
}
|
|
18511
|
+
|
|
18512
|
+
interface BlazeRedirectConfirmationMessage {
|
|
18513
|
+
readonly discriminator: 'redirect_confirmation';
|
|
18514
|
+
readonly url: string;
|
|
18515
|
+
}
|
|
18516
|
+
|
|
18517
|
+
interface BlazeSetCartItemsMessage {
|
|
18518
|
+
readonly discriminator: 'set_cart_items';
|
|
18519
|
+
readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
|
|
18520
|
+
}
|
|
18521
|
+
|
|
18522
|
+
interface BlazeStartCheckoutMessage {
|
|
18523
|
+
readonly discriminator: 'start_checkout';
|
|
18524
|
+
}
|
|
18525
|
+
|
|
18526
|
+
interface BlazeSynInitializeMessage {
|
|
18527
|
+
readonly discriminator: 'syn_initialize';
|
|
18528
|
+
}
|
|
18529
|
+
|
|
18530
|
+
interface BlazeUpdateCartItemsMessage {
|
|
18531
|
+
readonly discriminator: 'update_cart_items';
|
|
18532
|
+
readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
|
|
18533
|
+
}
|
|
18534
|
+
|
|
18391
18535
|
interface BooleanFeatureDefaultValue {
|
|
18392
18536
|
readonly discriminator: 'boolean';
|
|
18393
18537
|
readonly value: boolean;
|
|
@@ -21632,6 +21776,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21632
21776
|
readonly field: string;
|
|
21633
21777
|
}
|
|
21634
21778
|
|
|
21779
|
+
interface HeapFieldErrorTooltipShown {
|
|
21780
|
+
readonly discriminator: 'field_error_tooltip_shown';
|
|
21781
|
+
readonly message: string;
|
|
21782
|
+
readonly field_name: string;
|
|
21783
|
+
readonly checkout_id?: string;
|
|
21784
|
+
readonly experience_key?: string;
|
|
21785
|
+
readonly experiment_key?: string;
|
|
21786
|
+
readonly experiment_variant_key?: string;
|
|
21787
|
+
readonly order_number?: string;
|
|
21788
|
+
readonly organization_id?: string;
|
|
21789
|
+
readonly visit_id?: string;
|
|
21790
|
+
readonly visitor_id?: string;
|
|
21791
|
+
}
|
|
21792
|
+
|
|
21635
21793
|
interface HeapFieldFocus {
|
|
21636
21794
|
readonly discriminator: 'field_focus';
|
|
21637
21795
|
readonly checkout_id?: string;
|
|
@@ -21732,6 +21890,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21732
21890
|
readonly visitor_id?: string;
|
|
21733
21891
|
}
|
|
21734
21892
|
|
|
21893
|
+
interface HeapPaymentMethodSelected {
|
|
21894
|
+
readonly discriminator: 'payment_method_selected';
|
|
21895
|
+
readonly payment_method_key: string;
|
|
21896
|
+
readonly checkout_id?: string;
|
|
21897
|
+
readonly experience_key?: string;
|
|
21898
|
+
readonly experiment_key?: string;
|
|
21899
|
+
readonly experiment_variant_key?: string;
|
|
21900
|
+
readonly order_number?: string;
|
|
21901
|
+
readonly organization_id?: string;
|
|
21902
|
+
readonly visit_id?: string;
|
|
21903
|
+
readonly visitor_id?: string;
|
|
21904
|
+
}
|
|
21905
|
+
|
|
21735
21906
|
interface HeapPerformance {
|
|
21736
21907
|
readonly discriminator: 'performance';
|
|
21737
21908
|
readonly checkout_id?: string;
|
|
@@ -21808,6 +21979,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21808
21979
|
readonly tax: number;
|
|
21809
21980
|
readonly duty: number;
|
|
21810
21981
|
readonly currency: string;
|
|
21982
|
+
readonly promotion_applied: boolean;
|
|
21983
|
+
readonly gift_card_applied: boolean;
|
|
21984
|
+
readonly payments: string;
|
|
21985
|
+
readonly delivery_option_ids: string;
|
|
21811
21986
|
}
|
|
21812
21987
|
|
|
21813
21988
|
interface HeapRageClick {
|
|
@@ -25276,6 +25451,19 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25276
25451
|
| io.flow.internal.v0.models.ApplePayAuthorizationPayload
|
|
25277
25452
|
| io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
25278
25453
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
25454
|
+
type BlazeConsumerMessage =
|
|
25455
|
+
| io.flow.internal.v0.models.BlazeAddOrderAttributesMessage
|
|
25456
|
+
| io.flow.internal.v0.models.BlazeAddToCartMessage
|
|
25457
|
+
| io.flow.internal.v0.models.BlazeInitializeMessage
|
|
25458
|
+
| io.flow.internal.v0.models.BlazeSetCartItemsMessage
|
|
25459
|
+
| io.flow.internal.v0.models.BlazeStartCheckoutMessage
|
|
25460
|
+
| io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
|
|
25461
|
+
type BlazeProviderMessage =
|
|
25462
|
+
| io.flow.internal.v0.models.BlazeCheckoutCompleteMessage
|
|
25463
|
+
| io.flow.internal.v0.models.BlazeCheckoutProgressMessage
|
|
25464
|
+
| io.flow.internal.v0.models.BlazeExitCheckoutMessage
|
|
25465
|
+
| io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
|
|
25466
|
+
| io.flow.internal.v0.models.BlazeSynInitializeMessage;
|
|
25279
25467
|
type CarrierCredentials =
|
|
25280
25468
|
| io.flow.internal.v0.models.SfExpress
|
|
25281
25469
|
| io.flow.internal.v0.models.DhlEcommerce
|
|
@@ -25719,6 +25907,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25719
25907
|
| io.flow.internal.v0.models.HeapPayClick
|
|
25720
25908
|
| io.flow.internal.v0.models.HeapPaymentFormDataReceived
|
|
25721
25909
|
| io.flow.internal.v0.models.HeapPaymentFormDataTimeout
|
|
25910
|
+
| io.flow.internal.v0.models.HeapPaymentMethodSelected
|
|
25722
25911
|
| io.flow.internal.v0.models.HeapPerformance
|
|
25723
25912
|
| io.flow.internal.v0.models.HeapPromoCodeApply
|
|
25724
25913
|
| io.flow.internal.v0.models.HeapPromoCodeError
|
|
@@ -25726,7 +25915,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25726
25915
|
| io.flow.internal.v0.models.HeapPurchase
|
|
25727
25916
|
| io.flow.internal.v0.models.HeapRageClick
|
|
25728
25917
|
| io.flow.internal.v0.models.HeapScriptError
|
|
25729
|
-
| io.flow.internal.v0.models.HeapStartCheckout
|
|
25918
|
+
| io.flow.internal.v0.models.HeapStartCheckout
|
|
25919
|
+
| io.flow.internal.v0.models.HeapFieldErrorTooltipShown;
|
|
25730
25920
|
type IndexTaskType =
|
|
25731
25921
|
| io.flow.internal.v0.models.CatalogItemIndexTask
|
|
25732
25922
|
| io.flow.internal.v0.models.CatalogItemBatchIndexTask
|
|
@@ -25979,6 +26169,22 @@ export type BitpayAccountPutForm = io.flow.internal.v0.models.BitpayAccountPutFo
|
|
|
25979
26169
|
export type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthentication;
|
|
25980
26170
|
export type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference;
|
|
25981
26171
|
export type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm;
|
|
26172
|
+
export type BlazeAddOrderAttributesMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage;
|
|
26173
|
+
export type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddToCartMessage;
|
|
26174
|
+
export type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
|
|
26175
|
+
export type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
|
|
26176
|
+
export type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
|
|
26177
|
+
export type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
|
|
26178
|
+
export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
26179
|
+
export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
|
|
26180
|
+
export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
|
|
26181
|
+
export type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
|
|
26182
|
+
export type BlazeProviderMessage = io.flow.internal.v0.unions.BlazeProviderMessage;
|
|
26183
|
+
export type BlazeRedirectConfirmationMessage = io.flow.internal.v0.models.BlazeRedirectConfirmationMessage;
|
|
26184
|
+
export type BlazeSetCartItemsMessage = io.flow.internal.v0.models.BlazeSetCartItemsMessage;
|
|
26185
|
+
export type BlazeStartCheckoutMessage = io.flow.internal.v0.models.BlazeStartCheckoutMessage;
|
|
26186
|
+
export type BlazeSynInitializeMessage = io.flow.internal.v0.models.BlazeSynInitializeMessage;
|
|
26187
|
+
export type BlazeUpdateCartItemsMessage = io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
|
|
25982
26188
|
export type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue;
|
|
25983
26189
|
export type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule;
|
|
25984
26190
|
export type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm;
|
|
@@ -26631,6 +26837,7 @@ export type HeapDeliveryFormDataTimeout = io.flow.internal.v0.models.HeapDeliver
|
|
|
26631
26837
|
export type HeapEvent = io.flow.internal.v0.unions.HeapEvent;
|
|
26632
26838
|
export type HeapExitCheckout = io.flow.internal.v0.models.HeapExitCheckout;
|
|
26633
26839
|
export type HeapFieldBlur = io.flow.internal.v0.models.HeapFieldBlur;
|
|
26840
|
+
export type HeapFieldErrorTooltipShown = io.flow.internal.v0.models.HeapFieldErrorTooltipShown;
|
|
26634
26841
|
export type HeapFieldFocus = io.flow.internal.v0.models.HeapFieldFocus;
|
|
26635
26842
|
export type HeapFieldValidation = io.flow.internal.v0.models.HeapFieldValidation;
|
|
26636
26843
|
export type HeapGiftCardApply = io.flow.internal.v0.models.HeapGiftCardApply;
|
|
@@ -26639,6 +26846,7 @@ export type HeapGiftCardWithPin = io.flow.internal.v0.models.HeapGiftCardWithPin
|
|
|
26639
26846
|
export type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
|
|
26640
26847
|
export type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
|
|
26641
26848
|
export type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
|
|
26849
|
+
export type HeapPaymentMethodSelected = io.flow.internal.v0.models.HeapPaymentMethodSelected;
|
|
26642
26850
|
export type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
|
|
26643
26851
|
export type HeapPromoCodeApply = io.flow.internal.v0.models.HeapPromoCodeApply;
|
|
26644
26852
|
export type HeapPromoCodeError = io.flow.internal.v0.models.HeapPromoCodeError;
|
|
@@ -26652,6 +26860,7 @@ export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
|
26652
26860
|
export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
|
|
26653
26861
|
export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
|
|
26654
26862
|
export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
|
|
26863
|
+
export type InitialInputDataSource = io.flow.internal.v0.enums.InitialInputDataSource;
|
|
26655
26864
|
export type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
|
|
26656
26865
|
export type InstallForm = io.flow.internal.v0.models.InstallForm;
|
|
26657
26866
|
export type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
|
package/src/api.ts
CHANGED
|
@@ -2571,7 +2571,6 @@ declare namespace io.flow.v0.models {
|
|
|
2571
2571
|
readonly event_id: string;
|
|
2572
2572
|
readonly timestamp: string;
|
|
2573
2573
|
readonly organization: string;
|
|
2574
|
-
readonly catalog: string;
|
|
2575
2574
|
}
|
|
2576
2575
|
|
|
2577
2576
|
interface CatalogItemDeleted {
|
|
@@ -2580,7 +2579,6 @@ declare namespace io.flow.v0.models {
|
|
|
2580
2579
|
readonly timestamp: string;
|
|
2581
2580
|
readonly organization: string;
|
|
2582
2581
|
readonly number: string;
|
|
2583
|
-
readonly catalog: string;
|
|
2584
2582
|
}
|
|
2585
2583
|
|
|
2586
2584
|
interface CatalogItemDeletedV2 {
|
|
@@ -2629,7 +2627,6 @@ declare namespace io.flow.v0.models {
|
|
|
2629
2627
|
readonly timestamp: string;
|
|
2630
2628
|
readonly organization: string;
|
|
2631
2629
|
readonly number: string;
|
|
2632
|
-
readonly catalog: string;
|
|
2633
2630
|
readonly locale: string;
|
|
2634
2631
|
readonly name: string;
|
|
2635
2632
|
readonly currency: string;
|
|
@@ -2672,7 +2669,6 @@ declare namespace io.flow.v0.models {
|
|
|
2672
2669
|
readonly event_id: string;
|
|
2673
2670
|
readonly timestamp: string;
|
|
2674
2671
|
readonly organization: string;
|
|
2675
|
-
readonly catalog: string;
|
|
2676
2672
|
}
|
|
2677
2673
|
|
|
2678
2674
|
interface CatalogVersion {
|
|
@@ -8497,7 +8493,6 @@ declare namespace io.flow.v0.models {
|
|
|
8497
8493
|
readonly event_id: string;
|
|
8498
8494
|
readonly timestamp: string;
|
|
8499
8495
|
readonly organization: string;
|
|
8500
|
-
readonly catalog: string;
|
|
8501
8496
|
readonly subcatalog_id: string;
|
|
8502
8497
|
}
|
|
8503
8498
|
|
|
@@ -8517,7 +8512,6 @@ declare namespace io.flow.v0.models {
|
|
|
8517
8512
|
readonly timestamp: string;
|
|
8518
8513
|
readonly organization: string;
|
|
8519
8514
|
readonly number: string;
|
|
8520
|
-
readonly catalog: string;
|
|
8521
8515
|
readonly subcatalog_id: string;
|
|
8522
8516
|
}
|
|
8523
8517
|
|
|
@@ -8527,7 +8521,6 @@ declare namespace io.flow.v0.models {
|
|
|
8527
8521
|
readonly timestamp: string;
|
|
8528
8522
|
readonly organization: string;
|
|
8529
8523
|
readonly number: string;
|
|
8530
|
-
readonly catalog: string;
|
|
8531
8524
|
readonly subcatalog_id: string;
|
|
8532
8525
|
readonly status: string;
|
|
8533
8526
|
}
|
|
@@ -8565,7 +8558,6 @@ declare namespace io.flow.v0.models {
|
|
|
8565
8558
|
readonly event_id: string;
|
|
8566
8559
|
readonly timestamp: string;
|
|
8567
8560
|
readonly organization: string;
|
|
8568
|
-
readonly catalog: string;
|
|
8569
8561
|
readonly subcatalog_id: string;
|
|
8570
8562
|
}
|
|
8571
8563
|
|