@flowio/types 10.9.3 → 10.9.5
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 +142 -8
- package/dist/api.d.ts +2 -0
- package/package.json +2 -2
- package/src/api-internal.ts +168 -6
- package/src/api.ts +2 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -4929,6 +4929,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4929
4929
|
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
4930
4930
|
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
4931
4931
|
readonly currency: string;
|
|
4932
|
+
readonly notify: boolean;
|
|
4932
4933
|
}
|
|
4933
4934
|
interface ShopifyRefundLineItem {
|
|
4934
4935
|
readonly id: number;
|
|
@@ -8079,7 +8080,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
8079
8080
|
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
8080
8081
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
8081
8082
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
8082
|
-
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
8083
|
+
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
|
|
8083
8084
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
8084
8085
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
8085
8086
|
}
|
|
@@ -8913,6 +8914,7 @@ declare namespace io.flow.item.v0.models {
|
|
|
8913
8914
|
}
|
|
8914
8915
|
declare namespace io.flow.billing.internal.v0.enums {
|
|
8915
8916
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
8917
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
8916
8918
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
8917
8919
|
type ResponsibleParty = 'flow' | 'organization';
|
|
8918
8920
|
type TransferMethod = 'ach';
|
|
@@ -9053,6 +9055,8 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9053
9055
|
readonly posted_at: string;
|
|
9054
9056
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9055
9057
|
readonly created_at: string;
|
|
9058
|
+
readonly original_at?: string;
|
|
9059
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
9056
9060
|
}
|
|
9057
9061
|
interface PendingBankPayment {
|
|
9058
9062
|
readonly organization: string;
|
|
@@ -9075,6 +9079,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9075
9079
|
readonly description: string;
|
|
9076
9080
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9077
9081
|
readonly created_at: string;
|
|
9082
|
+
readonly original_at?: string;
|
|
9078
9083
|
readonly reference: string;
|
|
9079
9084
|
readonly primary_identifier?: string;
|
|
9080
9085
|
readonly payment_method: string;
|
|
@@ -9090,6 +9095,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9090
9095
|
readonly flow_margin: number;
|
|
9091
9096
|
readonly organization_margin: number;
|
|
9092
9097
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
9098
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
9093
9099
|
}
|
|
9094
9100
|
interface SubscriptionTransaction {
|
|
9095
9101
|
readonly discriminator: 'subscription_transaction';
|
|
@@ -11038,6 +11044,17 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11038
11044
|
interface CheckoutAnalyticsSummaryTotal {
|
|
11039
11045
|
readonly total: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
|
|
11040
11046
|
}
|
|
11047
|
+
interface HeapAddressPredictionClick {
|
|
11048
|
+
readonly discriminator: 'address_prediction_click';
|
|
11049
|
+
readonly checkout_id?: string;
|
|
11050
|
+
readonly experience_key?: string;
|
|
11051
|
+
readonly experiment_key?: string;
|
|
11052
|
+
readonly experiment_variant_key?: string;
|
|
11053
|
+
readonly order_number?: string;
|
|
11054
|
+
readonly organization_id?: string;
|
|
11055
|
+
readonly visit_id?: string;
|
|
11056
|
+
readonly visitor_id?: string;
|
|
11057
|
+
}
|
|
11041
11058
|
interface HeapCheckoutProgress {
|
|
11042
11059
|
readonly discriminator: 'checkout_progress';
|
|
11043
11060
|
readonly checkout_id?: string;
|
|
@@ -11062,6 +11079,28 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11062
11079
|
readonly visitor_id?: string;
|
|
11063
11080
|
readonly step: string;
|
|
11064
11081
|
}
|
|
11082
|
+
interface HeapDeliveryFormDataReceived {
|
|
11083
|
+
readonly discriminator: 'delivery_form_data_received';
|
|
11084
|
+
readonly checkout_id?: string;
|
|
11085
|
+
readonly experience_key?: string;
|
|
11086
|
+
readonly experiment_key?: string;
|
|
11087
|
+
readonly experiment_variant_key?: string;
|
|
11088
|
+
readonly order_number?: string;
|
|
11089
|
+
readonly organization_id?: string;
|
|
11090
|
+
readonly visit_id?: string;
|
|
11091
|
+
readonly visitor_id?: string;
|
|
11092
|
+
}
|
|
11093
|
+
interface HeapDeliveryFormDataTimeout {
|
|
11094
|
+
readonly discriminator: 'delivery_form_data_timeout';
|
|
11095
|
+
readonly checkout_id?: string;
|
|
11096
|
+
readonly experience_key?: string;
|
|
11097
|
+
readonly experiment_key?: string;
|
|
11098
|
+
readonly experiment_variant_key?: string;
|
|
11099
|
+
readonly order_number?: string;
|
|
11100
|
+
readonly organization_id?: string;
|
|
11101
|
+
readonly visit_id?: string;
|
|
11102
|
+
readonly visitor_id?: string;
|
|
11103
|
+
}
|
|
11065
11104
|
interface HeapExitCheckout {
|
|
11066
11105
|
readonly discriminator: 'exit_checkout';
|
|
11067
11106
|
readonly checkout_id?: string;
|
|
@@ -11122,6 +11161,28 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11122
11161
|
readonly visitor_id?: string;
|
|
11123
11162
|
readonly payment_method: string;
|
|
11124
11163
|
}
|
|
11164
|
+
interface HeapPaymentFormDataReceived {
|
|
11165
|
+
readonly discriminator: 'payment_form_data_received';
|
|
11166
|
+
readonly checkout_id?: string;
|
|
11167
|
+
readonly experience_key?: string;
|
|
11168
|
+
readonly experiment_key?: string;
|
|
11169
|
+
readonly experiment_variant_key?: string;
|
|
11170
|
+
readonly order_number?: string;
|
|
11171
|
+
readonly organization_id?: string;
|
|
11172
|
+
readonly visit_id?: string;
|
|
11173
|
+
readonly visitor_id?: string;
|
|
11174
|
+
}
|
|
11175
|
+
interface HeapPaymentFormDataTimeout {
|
|
11176
|
+
readonly discriminator: 'payment_form_data_timeout';
|
|
11177
|
+
readonly checkout_id?: string;
|
|
11178
|
+
readonly experience_key?: string;
|
|
11179
|
+
readonly experiment_key?: string;
|
|
11180
|
+
readonly experiment_variant_key?: string;
|
|
11181
|
+
readonly order_number?: string;
|
|
11182
|
+
readonly organization_id?: string;
|
|
11183
|
+
readonly visit_id?: string;
|
|
11184
|
+
readonly visitor_id?: string;
|
|
11185
|
+
}
|
|
11125
11186
|
interface HeapPerformance {
|
|
11126
11187
|
readonly discriminator: 'performance';
|
|
11127
11188
|
readonly checkout_id?: string;
|
|
@@ -11180,8 +11241,8 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
11180
11241
|
readonly organization_id?: string;
|
|
11181
11242
|
readonly visit_id?: string;
|
|
11182
11243
|
readonly visitor_id?: string;
|
|
11183
|
-
readonly uncaught_error_count
|
|
11184
|
-
readonly unhandled_rejection_count
|
|
11244
|
+
readonly uncaught_error_count?: number;
|
|
11245
|
+
readonly unhandled_rejection_count?: number;
|
|
11185
11246
|
}
|
|
11186
11247
|
interface HeapStartCheckout {
|
|
11187
11248
|
readonly discriminator: 'start_checkout';
|
|
@@ -11191,7 +11252,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
11191
11252
|
type CheckoutAnalyticsDeliveryOption = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
11192
11253
|
type CheckoutAnalyticsOrder = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsOpenOrder | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSubmittedOrder;
|
|
11193
11254
|
type CheckoutAnalyticsPayment = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
11194
|
-
type HeapEvent = io.flow.checkout.analytics.v0.models.HeapCheckoutProgress | io.flow.checkout.analytics.v0.models.HeapContinueClick | 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.HeapPayClick | io.flow.checkout.analytics.v0.models.HeapPerformance | 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;
|
|
11255
|
+
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.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.HeapPurchase | io.flow.checkout.analytics.v0.models.HeapRageClick | io.flow.checkout.analytics.v0.models.HeapScriptError | io.flow.checkout.analytics.v0.models.HeapStartCheckout;
|
|
11195
11256
|
}
|
|
11196
11257
|
declare namespace io.flow.currency.v0.enums {
|
|
11197
11258
|
type RateType = 'flow' | 'organization';
|
|
@@ -12867,6 +12928,7 @@ declare namespace io.flow.optin.internal.v0.unions {
|
|
|
12867
12928
|
declare namespace io.flow.experiment.internal.v0.enums {
|
|
12868
12929
|
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
12869
12930
|
type Scope = 'organization' | 'global';
|
|
12931
|
+
type SignificanceAction = 'end_and_implement_winner' | 'end_and_revert' | 'do_nothing';
|
|
12870
12932
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
12871
12933
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
12872
12934
|
}
|
|
@@ -12902,6 +12964,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12902
12964
|
readonly ended_at?: string;
|
|
12903
12965
|
readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
|
|
12904
12966
|
readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
|
|
12967
|
+
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
12905
12968
|
}
|
|
12906
12969
|
interface ExperienceVariant {
|
|
12907
12970
|
readonly discriminator: 'experience_variant';
|
|
@@ -12919,6 +12982,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12919
12982
|
readonly description?: string;
|
|
12920
12983
|
readonly emails: string[];
|
|
12921
12984
|
readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
12985
|
+
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
12922
12986
|
}
|
|
12923
12987
|
interface ExperimentFormDefault {
|
|
12924
12988
|
readonly discriminator: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
@@ -13005,6 +13069,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13005
13069
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
13006
13070
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
13007
13071
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
13072
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
13008
13073
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
13009
13074
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
13010
13075
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
@@ -13107,7 +13172,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13107
13172
|
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
13108
13173
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
13109
13174
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
13110
|
-
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
13175
|
+
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
|
|
13111
13176
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
13112
13177
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
13113
13178
|
type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
|
|
@@ -13147,6 +13212,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13147
13212
|
type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
|
|
13148
13213
|
type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
|
|
13149
13214
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
13215
|
+
type SignificanceAction = 'end_and_implement_winner' | 'end_and_revert' | 'do_nothing';
|
|
13150
13216
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
13151
13217
|
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
13152
13218
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
@@ -15814,6 +15880,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15814
15880
|
readonly ended_at?: string;
|
|
15815
15881
|
readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
|
|
15816
15882
|
readonly transitions?: io.flow.internal.v0.enums.Status[];
|
|
15883
|
+
readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
|
|
15817
15884
|
}
|
|
15818
15885
|
interface ExperienceExportRequest {
|
|
15819
15886
|
readonly discriminator: 'experience_export_request';
|
|
@@ -15874,6 +15941,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15874
15941
|
readonly description?: string;
|
|
15875
15942
|
readonly emails: string[];
|
|
15876
15943
|
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
15944
|
+
readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
|
|
15877
15945
|
}
|
|
15878
15946
|
interface ExperimentFormDefault {
|
|
15879
15947
|
readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
@@ -16513,6 +16581,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16513
16581
|
readonly organization: string;
|
|
16514
16582
|
readonly export_id: string;
|
|
16515
16583
|
}
|
|
16584
|
+
interface HeapAddressPredictionClick {
|
|
16585
|
+
readonly discriminator: 'address_prediction_click';
|
|
16586
|
+
readonly checkout_id?: string;
|
|
16587
|
+
readonly experience_key?: string;
|
|
16588
|
+
readonly experiment_key?: string;
|
|
16589
|
+
readonly experiment_variant_key?: string;
|
|
16590
|
+
readonly order_number?: string;
|
|
16591
|
+
readonly organization_id?: string;
|
|
16592
|
+
readonly visit_id?: string;
|
|
16593
|
+
readonly visitor_id?: string;
|
|
16594
|
+
}
|
|
16516
16595
|
interface HeapCheckoutProgress {
|
|
16517
16596
|
readonly discriminator: 'checkout_progress';
|
|
16518
16597
|
readonly checkout_id?: string;
|
|
@@ -16537,6 +16616,28 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16537
16616
|
readonly visitor_id?: string;
|
|
16538
16617
|
readonly step: string;
|
|
16539
16618
|
}
|
|
16619
|
+
interface HeapDeliveryFormDataReceived {
|
|
16620
|
+
readonly discriminator: 'delivery_form_data_received';
|
|
16621
|
+
readonly checkout_id?: string;
|
|
16622
|
+
readonly experience_key?: string;
|
|
16623
|
+
readonly experiment_key?: string;
|
|
16624
|
+
readonly experiment_variant_key?: string;
|
|
16625
|
+
readonly order_number?: string;
|
|
16626
|
+
readonly organization_id?: string;
|
|
16627
|
+
readonly visit_id?: string;
|
|
16628
|
+
readonly visitor_id?: string;
|
|
16629
|
+
}
|
|
16630
|
+
interface HeapDeliveryFormDataTimeout {
|
|
16631
|
+
readonly discriminator: 'delivery_form_data_timeout';
|
|
16632
|
+
readonly checkout_id?: string;
|
|
16633
|
+
readonly experience_key?: string;
|
|
16634
|
+
readonly experiment_key?: string;
|
|
16635
|
+
readonly experiment_variant_key?: string;
|
|
16636
|
+
readonly order_number?: string;
|
|
16637
|
+
readonly organization_id?: string;
|
|
16638
|
+
readonly visit_id?: string;
|
|
16639
|
+
readonly visitor_id?: string;
|
|
16640
|
+
}
|
|
16540
16641
|
interface HeapExitCheckout {
|
|
16541
16642
|
readonly discriminator: 'exit_checkout';
|
|
16542
16643
|
readonly checkout_id?: string;
|
|
@@ -16597,6 +16698,28 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16597
16698
|
readonly visitor_id?: string;
|
|
16598
16699
|
readonly payment_method: string;
|
|
16599
16700
|
}
|
|
16701
|
+
interface HeapPaymentFormDataReceived {
|
|
16702
|
+
readonly discriminator: 'payment_form_data_received';
|
|
16703
|
+
readonly checkout_id?: string;
|
|
16704
|
+
readonly experience_key?: string;
|
|
16705
|
+
readonly experiment_key?: string;
|
|
16706
|
+
readonly experiment_variant_key?: string;
|
|
16707
|
+
readonly order_number?: string;
|
|
16708
|
+
readonly organization_id?: string;
|
|
16709
|
+
readonly visit_id?: string;
|
|
16710
|
+
readonly visitor_id?: string;
|
|
16711
|
+
}
|
|
16712
|
+
interface HeapPaymentFormDataTimeout {
|
|
16713
|
+
readonly discriminator: 'payment_form_data_timeout';
|
|
16714
|
+
readonly checkout_id?: string;
|
|
16715
|
+
readonly experience_key?: string;
|
|
16716
|
+
readonly experiment_key?: string;
|
|
16717
|
+
readonly experiment_variant_key?: string;
|
|
16718
|
+
readonly order_number?: string;
|
|
16719
|
+
readonly organization_id?: string;
|
|
16720
|
+
readonly visit_id?: string;
|
|
16721
|
+
readonly visitor_id?: string;
|
|
16722
|
+
}
|
|
16600
16723
|
interface HeapPerformance {
|
|
16601
16724
|
readonly discriminator: 'performance';
|
|
16602
16725
|
readonly checkout_id?: string;
|
|
@@ -16655,8 +16778,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16655
16778
|
readonly organization_id?: string;
|
|
16656
16779
|
readonly visit_id?: string;
|
|
16657
16780
|
readonly visitor_id?: string;
|
|
16658
|
-
readonly uncaught_error_count
|
|
16659
|
-
readonly unhandled_rejection_count
|
|
16781
|
+
readonly uncaught_error_count?: number;
|
|
16782
|
+
readonly unhandled_rejection_count?: number;
|
|
16660
16783
|
}
|
|
16661
16784
|
interface HeapStartCheckout {
|
|
16662
16785
|
readonly discriminator: 'start_checkout';
|
|
@@ -17572,6 +17695,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17572
17695
|
readonly posted_at: string;
|
|
17573
17696
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
17574
17697
|
readonly created_at: string;
|
|
17698
|
+
readonly original_at?: string;
|
|
17699
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
17575
17700
|
}
|
|
17576
17701
|
interface MasterTransactionDeleted {
|
|
17577
17702
|
readonly discriminator: 'master_transaction_deleted';
|
|
@@ -18182,6 +18307,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18182
18307
|
readonly description: string;
|
|
18183
18308
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
18184
18309
|
readonly created_at: string;
|
|
18310
|
+
readonly original_at?: string;
|
|
18185
18311
|
readonly reference: string;
|
|
18186
18312
|
readonly primary_identifier?: string;
|
|
18187
18313
|
readonly payment_method: string;
|
|
@@ -18197,6 +18323,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18197
18323
|
readonly flow_margin: number;
|
|
18198
18324
|
readonly organization_margin: number;
|
|
18199
18325
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
18326
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
18200
18327
|
}
|
|
18201
18328
|
interface ProcessingTransactionDeleted {
|
|
18202
18329
|
readonly discriminator: 'processing_transaction_deleted';
|
|
@@ -19698,7 +19825,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19698
19825
|
type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
|
|
19699
19826
|
type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
|
|
19700
19827
|
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;
|
|
19701
|
-
type HeapEvent = io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | 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.HeapPayClick | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapStartCheckout;
|
|
19828
|
+
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.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapStartCheckout;
|
|
19702
19829
|
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;
|
|
19703
19830
|
type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
19704
19831
|
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;
|
|
@@ -19836,6 +19963,7 @@ export declare type BillingStatementPendingReview = io.flow.internal.v0.models.B
|
|
|
19836
19963
|
export declare type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
|
|
19837
19964
|
export declare type BillingStatementReview = io.flow.internal.v0.models.BillingStatementReview;
|
|
19838
19965
|
export declare type BillingStatementReviewForm = io.flow.internal.v0.models.BillingStatementReviewForm;
|
|
19966
|
+
export declare type BillingStatementReviewStatus = io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
19839
19967
|
export declare type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals;
|
|
19840
19968
|
export declare type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted;
|
|
19841
19969
|
export declare type BillingTransaction = io.flow.internal.v0.models.BillingTransaction;
|
|
@@ -20497,14 +20625,19 @@ export declare type HarmonizationStatisticsBreakout = io.flow.internal.v0.models
|
|
|
20497
20625
|
export declare type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
|
|
20498
20626
|
export declare type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
|
|
20499
20627
|
export declare type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
|
|
20628
|
+
export declare type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
|
|
20500
20629
|
export declare type HeapCheckoutProgress = io.flow.internal.v0.models.HeapCheckoutProgress;
|
|
20501
20630
|
export declare type HeapContinueClick = io.flow.internal.v0.models.HeapContinueClick;
|
|
20631
|
+
export declare type HeapDeliveryFormDataReceived = io.flow.internal.v0.models.HeapDeliveryFormDataReceived;
|
|
20632
|
+
export declare type HeapDeliveryFormDataTimeout = io.flow.internal.v0.models.HeapDeliveryFormDataTimeout;
|
|
20502
20633
|
export declare type HeapEvent = io.flow.internal.v0.unions.HeapEvent;
|
|
20503
20634
|
export declare type HeapExitCheckout = io.flow.internal.v0.models.HeapExitCheckout;
|
|
20504
20635
|
export declare type HeapFieldBlur = io.flow.internal.v0.models.HeapFieldBlur;
|
|
20505
20636
|
export declare type HeapFieldFocus = io.flow.internal.v0.models.HeapFieldFocus;
|
|
20506
20637
|
export declare type HeapFieldValidation = io.flow.internal.v0.models.HeapFieldValidation;
|
|
20507
20638
|
export declare type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
|
|
20639
|
+
export declare type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
|
|
20640
|
+
export declare type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
|
|
20508
20641
|
export declare type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
|
|
20509
20642
|
export declare type HeapPurchase = io.flow.internal.v0.models.HeapPurchase;
|
|
20510
20643
|
export declare type HeapRageClick = io.flow.internal.v0.models.HeapRageClick;
|
|
@@ -20961,6 +21094,7 @@ export declare type ShopifyShopUpserted = io.flow.internal.v0.models.ShopifyShop
|
|
|
20961
21094
|
export declare type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
|
|
20962
21095
|
export declare type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
|
|
20963
21096
|
export declare type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
|
|
21097
|
+
export declare type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
|
|
20964
21098
|
export declare type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
|
|
20965
21099
|
export declare type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
|
|
20966
21100
|
export declare type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel;
|
package/dist/api.d.ts
CHANGED
|
@@ -676,6 +676,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
676
676
|
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
677
677
|
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
678
678
|
readonly currency: string;
|
|
679
|
+
readonly notify: boolean;
|
|
679
680
|
}
|
|
680
681
|
interface ShopifyRefundLineItem {
|
|
681
682
|
readonly id: number;
|
|
@@ -6121,6 +6122,7 @@ declare namespace io.flow.v0.models {
|
|
|
6121
6122
|
readonly quantity: number;
|
|
6122
6123
|
readonly reason?: io.flow.v0.models.ReturnReason;
|
|
6123
6124
|
readonly notes?: string;
|
|
6125
|
+
readonly attributes?: Record<string, string>;
|
|
6124
6126
|
}
|
|
6125
6127
|
interface ReturnOrderReference {
|
|
6126
6128
|
readonly number: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.9.
|
|
3
|
+
"version": "10.9.5",
|
|
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": "52afe3b5813159d6e95a6e836a29bb00f1b66de5"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -6777,6 +6777,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6777
6777
|
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
6778
6778
|
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
6779
6779
|
readonly currency: string;
|
|
6780
|
+
readonly notify: boolean;
|
|
6780
6781
|
}
|
|
6781
6782
|
|
|
6782
6783
|
interface ShopifyRefundLineItem {
|
|
@@ -10691,7 +10692,8 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
10691
10692
|
| 'pinterest'
|
|
10692
10693
|
| 'rakuten_japan'
|
|
10693
10694
|
| 'wish'
|
|
10694
|
-
| 'snapchat'
|
|
10695
|
+
| 'snapchat'
|
|
10696
|
+
| 'stylight';
|
|
10695
10697
|
type MarketingGatewayProductStatus =
|
|
10696
10698
|
| 'approved'
|
|
10697
10699
|
| 'not_approved'
|
|
@@ -11784,6 +11786,7 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
11784
11786
|
| 'duty_subsidy'
|
|
11785
11787
|
| 'fuel_surcharge'
|
|
11786
11788
|
| 'remote_area_surcharge';
|
|
11789
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
11787
11790
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
11788
11791
|
type ResponsibleParty = 'flow' | 'organization';
|
|
11789
11792
|
type TransferMethod = 'ach';
|
|
@@ -11945,6 +11948,8 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11945
11948
|
readonly posted_at: string;
|
|
11946
11949
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11947
11950
|
readonly created_at: string;
|
|
11951
|
+
readonly original_at?: string;
|
|
11952
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
11948
11953
|
}
|
|
11949
11954
|
|
|
11950
11955
|
interface PendingBankPayment {
|
|
@@ -11970,6 +11975,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11970
11975
|
readonly description: string;
|
|
11971
11976
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11972
11977
|
readonly created_at: string;
|
|
11978
|
+
readonly original_at?: string;
|
|
11973
11979
|
readonly reference: string;
|
|
11974
11980
|
readonly primary_identifier?: string;
|
|
11975
11981
|
readonly payment_method: string;
|
|
@@ -11985,6 +11991,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11985
11991
|
readonly flow_margin: number;
|
|
11986
11992
|
readonly organization_margin: number;
|
|
11987
11993
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
11994
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
11988
11995
|
}
|
|
11989
11996
|
|
|
11990
11997
|
interface SubscriptionTransaction {
|
|
@@ -14391,6 +14398,18 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14391
14398
|
readonly total: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
|
|
14392
14399
|
}
|
|
14393
14400
|
|
|
14401
|
+
interface HeapAddressPredictionClick {
|
|
14402
|
+
readonly discriminator: 'address_prediction_click';
|
|
14403
|
+
readonly checkout_id?: string;
|
|
14404
|
+
readonly experience_key?: string;
|
|
14405
|
+
readonly experiment_key?: string;
|
|
14406
|
+
readonly experiment_variant_key?: string;
|
|
14407
|
+
readonly order_number?: string;
|
|
14408
|
+
readonly organization_id?: string;
|
|
14409
|
+
readonly visit_id?: string;
|
|
14410
|
+
readonly visitor_id?: string;
|
|
14411
|
+
}
|
|
14412
|
+
|
|
14394
14413
|
interface HeapCheckoutProgress {
|
|
14395
14414
|
readonly discriminator: 'checkout_progress';
|
|
14396
14415
|
readonly checkout_id?: string;
|
|
@@ -14417,6 +14436,30 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14417
14436
|
readonly step: string;
|
|
14418
14437
|
}
|
|
14419
14438
|
|
|
14439
|
+
interface HeapDeliveryFormDataReceived {
|
|
14440
|
+
readonly discriminator: 'delivery_form_data_received';
|
|
14441
|
+
readonly checkout_id?: string;
|
|
14442
|
+
readonly experience_key?: string;
|
|
14443
|
+
readonly experiment_key?: string;
|
|
14444
|
+
readonly experiment_variant_key?: string;
|
|
14445
|
+
readonly order_number?: string;
|
|
14446
|
+
readonly organization_id?: string;
|
|
14447
|
+
readonly visit_id?: string;
|
|
14448
|
+
readonly visitor_id?: string;
|
|
14449
|
+
}
|
|
14450
|
+
|
|
14451
|
+
interface HeapDeliveryFormDataTimeout {
|
|
14452
|
+
readonly discriminator: 'delivery_form_data_timeout';
|
|
14453
|
+
readonly checkout_id?: string;
|
|
14454
|
+
readonly experience_key?: string;
|
|
14455
|
+
readonly experiment_key?: string;
|
|
14456
|
+
readonly experiment_variant_key?: string;
|
|
14457
|
+
readonly order_number?: string;
|
|
14458
|
+
readonly organization_id?: string;
|
|
14459
|
+
readonly visit_id?: string;
|
|
14460
|
+
readonly visitor_id?: string;
|
|
14461
|
+
}
|
|
14462
|
+
|
|
14420
14463
|
interface HeapExitCheckout {
|
|
14421
14464
|
readonly discriminator: 'exit_checkout';
|
|
14422
14465
|
readonly checkout_id?: string;
|
|
@@ -14482,6 +14525,30 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14482
14525
|
readonly payment_method: string;
|
|
14483
14526
|
}
|
|
14484
14527
|
|
|
14528
|
+
interface HeapPaymentFormDataReceived {
|
|
14529
|
+
readonly discriminator: 'payment_form_data_received';
|
|
14530
|
+
readonly checkout_id?: string;
|
|
14531
|
+
readonly experience_key?: string;
|
|
14532
|
+
readonly experiment_key?: string;
|
|
14533
|
+
readonly experiment_variant_key?: string;
|
|
14534
|
+
readonly order_number?: string;
|
|
14535
|
+
readonly organization_id?: string;
|
|
14536
|
+
readonly visit_id?: string;
|
|
14537
|
+
readonly visitor_id?: string;
|
|
14538
|
+
}
|
|
14539
|
+
|
|
14540
|
+
interface HeapPaymentFormDataTimeout {
|
|
14541
|
+
readonly discriminator: 'payment_form_data_timeout';
|
|
14542
|
+
readonly checkout_id?: string;
|
|
14543
|
+
readonly experience_key?: string;
|
|
14544
|
+
readonly experiment_key?: string;
|
|
14545
|
+
readonly experiment_variant_key?: string;
|
|
14546
|
+
readonly order_number?: string;
|
|
14547
|
+
readonly organization_id?: string;
|
|
14548
|
+
readonly visit_id?: string;
|
|
14549
|
+
readonly visitor_id?: string;
|
|
14550
|
+
}
|
|
14551
|
+
|
|
14485
14552
|
interface HeapPerformance {
|
|
14486
14553
|
readonly discriminator: 'performance';
|
|
14487
14554
|
readonly checkout_id?: string;
|
|
@@ -14543,8 +14610,8 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14543
14610
|
readonly organization_id?: string;
|
|
14544
14611
|
readonly visit_id?: string;
|
|
14545
14612
|
readonly visitor_id?: string;
|
|
14546
|
-
readonly uncaught_error_count
|
|
14547
|
-
readonly unhandled_rejection_count
|
|
14613
|
+
readonly uncaught_error_count?: number;
|
|
14614
|
+
readonly unhandled_rejection_count?: number;
|
|
14548
14615
|
}
|
|
14549
14616
|
|
|
14550
14617
|
interface HeapStartCheckout {
|
|
@@ -14564,13 +14631,18 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
14564
14631
|
| io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard
|
|
14565
14632
|
| io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
14566
14633
|
type HeapEvent =
|
|
14634
|
+
| io.flow.checkout.analytics.v0.models.HeapAddressPredictionClick
|
|
14567
14635
|
| io.flow.checkout.analytics.v0.models.HeapCheckoutProgress
|
|
14568
14636
|
| io.flow.checkout.analytics.v0.models.HeapContinueClick
|
|
14637
|
+
| io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataReceived
|
|
14638
|
+
| io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataTimeout
|
|
14569
14639
|
| io.flow.checkout.analytics.v0.models.HeapExitCheckout
|
|
14570
14640
|
| io.flow.checkout.analytics.v0.models.HeapFieldBlur
|
|
14571
14641
|
| io.flow.checkout.analytics.v0.models.HeapFieldFocus
|
|
14572
14642
|
| io.flow.checkout.analytics.v0.models.HeapFieldValidation
|
|
14573
14643
|
| io.flow.checkout.analytics.v0.models.HeapPayClick
|
|
14644
|
+
| io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived
|
|
14645
|
+
| io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout
|
|
14574
14646
|
| io.flow.checkout.analytics.v0.models.HeapPerformance
|
|
14575
14647
|
| io.flow.checkout.analytics.v0.models.HeapPurchase
|
|
14576
14648
|
| io.flow.checkout.analytics.v0.models.HeapRageClick
|
|
@@ -16675,6 +16747,10 @@ declare namespace io.flow.optin.internal.v0.unions {
|
|
|
16675
16747
|
declare namespace io.flow.experiment.internal.v0.enums {
|
|
16676
16748
|
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
16677
16749
|
type Scope = 'organization' | 'global';
|
|
16750
|
+
type SignificanceAction =
|
|
16751
|
+
| 'end_and_implement_winner'
|
|
16752
|
+
| 'end_and_revert'
|
|
16753
|
+
| 'do_nothing';
|
|
16678
16754
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
16679
16755
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
16680
16756
|
}
|
|
@@ -16712,6 +16788,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16712
16788
|
readonly ended_at?: string;
|
|
16713
16789
|
readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
|
|
16714
16790
|
readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
|
|
16791
|
+
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
16715
16792
|
}
|
|
16716
16793
|
|
|
16717
16794
|
interface ExperienceVariant {
|
|
@@ -16732,6 +16809,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16732
16809
|
readonly description?: string;
|
|
16733
16810
|
readonly emails: string[];
|
|
16734
16811
|
readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
16812
|
+
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
16735
16813
|
}
|
|
16736
16814
|
|
|
16737
16815
|
interface ExperimentFormDefault {
|
|
@@ -16873,6 +16951,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16873
16951
|
| 'manual'
|
|
16874
16952
|
| 'orders'
|
|
16875
16953
|
| 'all';
|
|
16954
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
16876
16955
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
16877
16956
|
type BillingTransactionType =
|
|
16878
16957
|
| 'manual'
|
|
@@ -17376,7 +17455,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17376
17455
|
| 'pinterest'
|
|
17377
17456
|
| 'rakuten_japan'
|
|
17378
17457
|
| 'wish'
|
|
17379
|
-
| 'snapchat'
|
|
17458
|
+
| 'snapchat'
|
|
17459
|
+
| 'stylight';
|
|
17380
17460
|
type MarketingGatewayProductStatus =
|
|
17381
17461
|
| 'approved'
|
|
17382
17462
|
| 'not_approved'
|
|
@@ -17488,6 +17568,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17488
17568
|
| 'vat'
|
|
17489
17569
|
| 'duty';
|
|
17490
17570
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
17571
|
+
type SignificanceAction =
|
|
17572
|
+
| 'end_and_implement_winner'
|
|
17573
|
+
| 'end_and_revert'
|
|
17574
|
+
| 'do_nothing';
|
|
17491
17575
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
17492
17576
|
type StatisticType =
|
|
17493
17577
|
| 'time-to-classify'
|
|
@@ -20668,6 +20752,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20668
20752
|
readonly ended_at?: string;
|
|
20669
20753
|
readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
|
|
20670
20754
|
readonly transitions?: io.flow.internal.v0.enums.Status[];
|
|
20755
|
+
readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
|
|
20671
20756
|
}
|
|
20672
20757
|
|
|
20673
20758
|
interface ExperienceExportRequest {
|
|
@@ -20737,6 +20822,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20737
20822
|
readonly description?: string;
|
|
20738
20823
|
readonly emails: string[];
|
|
20739
20824
|
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
20825
|
+
readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
|
|
20740
20826
|
}
|
|
20741
20827
|
|
|
20742
20828
|
interface ExperimentFormDefault {
|
|
@@ -21478,6 +21564,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21478
21564
|
readonly export_id: string;
|
|
21479
21565
|
}
|
|
21480
21566
|
|
|
21567
|
+
interface HeapAddressPredictionClick {
|
|
21568
|
+
readonly discriminator: 'address_prediction_click';
|
|
21569
|
+
readonly checkout_id?: string;
|
|
21570
|
+
readonly experience_key?: string;
|
|
21571
|
+
readonly experiment_key?: string;
|
|
21572
|
+
readonly experiment_variant_key?: string;
|
|
21573
|
+
readonly order_number?: string;
|
|
21574
|
+
readonly organization_id?: string;
|
|
21575
|
+
readonly visit_id?: string;
|
|
21576
|
+
readonly visitor_id?: string;
|
|
21577
|
+
}
|
|
21578
|
+
|
|
21481
21579
|
interface HeapCheckoutProgress {
|
|
21482
21580
|
readonly discriminator: 'checkout_progress';
|
|
21483
21581
|
readonly checkout_id?: string;
|
|
@@ -21504,6 +21602,30 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21504
21602
|
readonly step: string;
|
|
21505
21603
|
}
|
|
21506
21604
|
|
|
21605
|
+
interface HeapDeliveryFormDataReceived {
|
|
21606
|
+
readonly discriminator: 'delivery_form_data_received';
|
|
21607
|
+
readonly checkout_id?: string;
|
|
21608
|
+
readonly experience_key?: string;
|
|
21609
|
+
readonly experiment_key?: string;
|
|
21610
|
+
readonly experiment_variant_key?: string;
|
|
21611
|
+
readonly order_number?: string;
|
|
21612
|
+
readonly organization_id?: string;
|
|
21613
|
+
readonly visit_id?: string;
|
|
21614
|
+
readonly visitor_id?: string;
|
|
21615
|
+
}
|
|
21616
|
+
|
|
21617
|
+
interface HeapDeliveryFormDataTimeout {
|
|
21618
|
+
readonly discriminator: 'delivery_form_data_timeout';
|
|
21619
|
+
readonly checkout_id?: string;
|
|
21620
|
+
readonly experience_key?: string;
|
|
21621
|
+
readonly experiment_key?: string;
|
|
21622
|
+
readonly experiment_variant_key?: string;
|
|
21623
|
+
readonly order_number?: string;
|
|
21624
|
+
readonly organization_id?: string;
|
|
21625
|
+
readonly visit_id?: string;
|
|
21626
|
+
readonly visitor_id?: string;
|
|
21627
|
+
}
|
|
21628
|
+
|
|
21507
21629
|
interface HeapExitCheckout {
|
|
21508
21630
|
readonly discriminator: 'exit_checkout';
|
|
21509
21631
|
readonly checkout_id?: string;
|
|
@@ -21569,6 +21691,30 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21569
21691
|
readonly payment_method: string;
|
|
21570
21692
|
}
|
|
21571
21693
|
|
|
21694
|
+
interface HeapPaymentFormDataReceived {
|
|
21695
|
+
readonly discriminator: 'payment_form_data_received';
|
|
21696
|
+
readonly checkout_id?: string;
|
|
21697
|
+
readonly experience_key?: string;
|
|
21698
|
+
readonly experiment_key?: string;
|
|
21699
|
+
readonly experiment_variant_key?: string;
|
|
21700
|
+
readonly order_number?: string;
|
|
21701
|
+
readonly organization_id?: string;
|
|
21702
|
+
readonly visit_id?: string;
|
|
21703
|
+
readonly visitor_id?: string;
|
|
21704
|
+
}
|
|
21705
|
+
|
|
21706
|
+
interface HeapPaymentFormDataTimeout {
|
|
21707
|
+
readonly discriminator: 'payment_form_data_timeout';
|
|
21708
|
+
readonly checkout_id?: string;
|
|
21709
|
+
readonly experience_key?: string;
|
|
21710
|
+
readonly experiment_key?: string;
|
|
21711
|
+
readonly experiment_variant_key?: string;
|
|
21712
|
+
readonly order_number?: string;
|
|
21713
|
+
readonly organization_id?: string;
|
|
21714
|
+
readonly visit_id?: string;
|
|
21715
|
+
readonly visitor_id?: string;
|
|
21716
|
+
}
|
|
21717
|
+
|
|
21572
21718
|
interface HeapPerformance {
|
|
21573
21719
|
readonly discriminator: 'performance';
|
|
21574
21720
|
readonly checkout_id?: string;
|
|
@@ -21630,8 +21776,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21630
21776
|
readonly organization_id?: string;
|
|
21631
21777
|
readonly visit_id?: string;
|
|
21632
21778
|
readonly visitor_id?: string;
|
|
21633
|
-
readonly uncaught_error_count
|
|
21634
|
-
readonly unhandled_rejection_count
|
|
21779
|
+
readonly uncaught_error_count?: number;
|
|
21780
|
+
readonly unhandled_rejection_count?: number;
|
|
21635
21781
|
}
|
|
21636
21782
|
|
|
21637
21783
|
interface HeapStartCheckout {
|
|
@@ -22705,6 +22851,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22705
22851
|
readonly posted_at: string;
|
|
22706
22852
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
22707
22853
|
readonly created_at: string;
|
|
22854
|
+
readonly original_at?: string;
|
|
22855
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
22708
22856
|
}
|
|
22709
22857
|
|
|
22710
22858
|
interface MasterTransactionDeleted {
|
|
@@ -23409,6 +23557,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23409
23557
|
readonly description: string;
|
|
23410
23558
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
23411
23559
|
readonly created_at: string;
|
|
23560
|
+
readonly original_at?: string;
|
|
23412
23561
|
readonly reference: string;
|
|
23413
23562
|
readonly primary_identifier?: string;
|
|
23414
23563
|
readonly payment_method: string;
|
|
@@ -23424,6 +23573,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23424
23573
|
readonly flow_margin: number;
|
|
23425
23574
|
readonly organization_margin: number;
|
|
23426
23575
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
23576
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
23427
23577
|
}
|
|
23428
23578
|
|
|
23429
23579
|
interface ProcessingTransactionDeleted {
|
|
@@ -25510,13 +25660,18 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25510
25660
|
| io.flow.internal.v0.models.SearchOrderSummary
|
|
25511
25661
|
| io.flow.internal.v0.models.SearchItemSummary;
|
|
25512
25662
|
type HeapEvent =
|
|
25663
|
+
| io.flow.internal.v0.models.HeapAddressPredictionClick
|
|
25513
25664
|
| io.flow.internal.v0.models.HeapCheckoutProgress
|
|
25514
25665
|
| io.flow.internal.v0.models.HeapContinueClick
|
|
25666
|
+
| io.flow.internal.v0.models.HeapDeliveryFormDataReceived
|
|
25667
|
+
| io.flow.internal.v0.models.HeapDeliveryFormDataTimeout
|
|
25515
25668
|
| io.flow.internal.v0.models.HeapExitCheckout
|
|
25516
25669
|
| io.flow.internal.v0.models.HeapFieldBlur
|
|
25517
25670
|
| io.flow.internal.v0.models.HeapFieldFocus
|
|
25518
25671
|
| io.flow.internal.v0.models.HeapFieldValidation
|
|
25519
25672
|
| io.flow.internal.v0.models.HeapPayClick
|
|
25673
|
+
| io.flow.internal.v0.models.HeapPaymentFormDataReceived
|
|
25674
|
+
| io.flow.internal.v0.models.HeapPaymentFormDataTimeout
|
|
25520
25675
|
| io.flow.internal.v0.models.HeapPerformance
|
|
25521
25676
|
| io.flow.internal.v0.models.HeapPurchase
|
|
25522
25677
|
| io.flow.internal.v0.models.HeapRageClick
|
|
@@ -25762,6 +25917,7 @@ export type BillingStatementPendingReview = io.flow.internal.v0.models.BillingSt
|
|
|
25762
25917
|
export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
|
|
25763
25918
|
export type BillingStatementReview = io.flow.internal.v0.models.BillingStatementReview;
|
|
25764
25919
|
export type BillingStatementReviewForm = io.flow.internal.v0.models.BillingStatementReviewForm;
|
|
25920
|
+
export type BillingStatementReviewStatus = io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
25765
25921
|
export type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals;
|
|
25766
25922
|
export type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted;
|
|
25767
25923
|
export type BillingTransaction = io.flow.internal.v0.models.BillingTransaction;
|
|
@@ -26423,14 +26579,19 @@ export type HarmonizationStatisticsBreakout = io.flow.internal.v0.models.Harmoni
|
|
|
26423
26579
|
export type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
|
|
26424
26580
|
export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
|
|
26425
26581
|
export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
|
|
26582
|
+
export type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
|
|
26426
26583
|
export type HeapCheckoutProgress = io.flow.internal.v0.models.HeapCheckoutProgress;
|
|
26427
26584
|
export type HeapContinueClick = io.flow.internal.v0.models.HeapContinueClick;
|
|
26585
|
+
export type HeapDeliveryFormDataReceived = io.flow.internal.v0.models.HeapDeliveryFormDataReceived;
|
|
26586
|
+
export type HeapDeliveryFormDataTimeout = io.flow.internal.v0.models.HeapDeliveryFormDataTimeout;
|
|
26428
26587
|
export type HeapEvent = io.flow.internal.v0.unions.HeapEvent;
|
|
26429
26588
|
export type HeapExitCheckout = io.flow.internal.v0.models.HeapExitCheckout;
|
|
26430
26589
|
export type HeapFieldBlur = io.flow.internal.v0.models.HeapFieldBlur;
|
|
26431
26590
|
export type HeapFieldFocus = io.flow.internal.v0.models.HeapFieldFocus;
|
|
26432
26591
|
export type HeapFieldValidation = io.flow.internal.v0.models.HeapFieldValidation;
|
|
26433
26592
|
export type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
|
|
26593
|
+
export type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
|
|
26594
|
+
export type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
|
|
26434
26595
|
export type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
|
|
26435
26596
|
export type HeapPurchase = io.flow.internal.v0.models.HeapPurchase;
|
|
26436
26597
|
export type HeapRageClick = io.flow.internal.v0.models.HeapRageClick;
|
|
@@ -26887,6 +27048,7 @@ export type ShopifyShopUpserted = io.flow.internal.v0.models.ShopifyShopUpserted
|
|
|
26887
27048
|
export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
|
|
26888
27049
|
export type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
|
|
26889
27050
|
export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
|
|
27051
|
+
export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
|
|
26890
27052
|
export type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
|
|
26891
27053
|
export type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
|
|
26892
27054
|
export type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel;
|
package/src/api.ts
CHANGED
|
@@ -850,6 +850,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
850
850
|
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
851
851
|
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
852
852
|
readonly currency: string;
|
|
853
|
+
readonly notify: boolean;
|
|
853
854
|
}
|
|
854
855
|
|
|
855
856
|
interface ShopifyRefundLineItem {
|
|
@@ -7644,6 +7645,7 @@ declare namespace io.flow.v0.models {
|
|
|
7644
7645
|
readonly quantity: number;
|
|
7645
7646
|
readonly reason?: io.flow.v0.models.ReturnReason;
|
|
7646
7647
|
readonly notes?: string;
|
|
7648
|
+
readonly attributes?: Record<string, string>;
|
|
7647
7649
|
}
|
|
7648
7650
|
|
|
7649
7651
|
interface ReturnOrderReference {
|