@flowio/types 10.8.2 → 10.9.1
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 +334 -33
- package/dist/api.d.ts +21 -5
- package/package.json +2 -2
- package/src/api-internal.ts +400 -41
- package/src/api.ts +26 -3
package/src/api-internal.ts
CHANGED
|
@@ -360,6 +360,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
interface CountryStatus {
|
|
363
|
+
readonly id: string;
|
|
363
364
|
readonly country: string;
|
|
364
365
|
readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
365
366
|
}
|
|
@@ -498,11 +499,6 @@ declare namespace io.flow.experience.v0.models {
|
|
|
498
499
|
readonly id: string;
|
|
499
500
|
}
|
|
500
501
|
|
|
501
|
-
interface ExperienceCountryStatuses {
|
|
502
|
-
readonly id: string;
|
|
503
|
-
readonly country_statuses: io.flow.experience.v0.models.CountryStatus[];
|
|
504
|
-
}
|
|
505
|
-
|
|
506
502
|
interface ExperienceCurrencyFormat {
|
|
507
503
|
readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
508
504
|
readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
@@ -2891,6 +2887,25 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2891
2887
|
|
|
2892
2888
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2893
2889
|
type ReturnStatus = 'open' | 'refunded';
|
|
2890
|
+
type ReturnTrackingStatus =
|
|
2891
|
+
| 'awaiting_customs_clearance'
|
|
2892
|
+
| 'cancel_requested'
|
|
2893
|
+
| 'canceled'
|
|
2894
|
+
| 'collection_attempt_failed'
|
|
2895
|
+
| 'customs_clearance_completed'
|
|
2896
|
+
| 'delivered_to_retailer'
|
|
2897
|
+
| 'in_transit_to_local_hub'
|
|
2898
|
+
| 'in_transit_to_retailer'
|
|
2899
|
+
| 'parcel_added_to_pallet'
|
|
2900
|
+
| 'parcel_delayed'
|
|
2901
|
+
| 'parcel_extracted_from_pallet'
|
|
2902
|
+
| 'parcel_lost'
|
|
2903
|
+
| 'parcel_processed_by_retailer'
|
|
2904
|
+
| 'parcel_under_investigation'
|
|
2905
|
+
| 'processed_by_local_hub'
|
|
2906
|
+
| 'received_at_local_hub'
|
|
2907
|
+
| 'received_by_the_carrier'
|
|
2908
|
+
| 'return_registered_online';
|
|
2894
2909
|
}
|
|
2895
2910
|
|
|
2896
2911
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
@@ -2901,6 +2916,12 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2901
2916
|
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
2902
2917
|
readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
|
|
2903
2918
|
readonly labels?: io.flow.label.v0.models.ShippingLabel[];
|
|
2919
|
+
readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2920
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2921
|
+
readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2922
|
+
readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2923
|
+
readonly tracking_status_timestamp?: string;
|
|
2924
|
+
readonly carrier_tracking_number?: string;
|
|
2904
2925
|
}
|
|
2905
2926
|
|
|
2906
2927
|
interface ReturnForm {
|
|
@@ -2912,6 +2933,10 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2912
2933
|
readonly key?: string;
|
|
2913
2934
|
readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2914
2935
|
readonly center_key?: string;
|
|
2936
|
+
readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2937
|
+
readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2938
|
+
readonly tracking_status_timestamp?: string;
|
|
2939
|
+
readonly carrier_tracking_number?: string;
|
|
2915
2940
|
}
|
|
2916
2941
|
|
|
2917
2942
|
interface ReturnItemReference {
|
|
@@ -2931,12 +2956,10 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2931
2956
|
}
|
|
2932
2957
|
|
|
2933
2958
|
interface ReturnReason {
|
|
2934
|
-
readonly key: string;
|
|
2935
2959
|
readonly name: string;
|
|
2936
2960
|
}
|
|
2937
2961
|
|
|
2938
2962
|
interface ReturnReasonForm {
|
|
2939
|
-
readonly key?: string;
|
|
2940
2963
|
readonly name?: string;
|
|
2941
2964
|
}
|
|
2942
2965
|
|
|
@@ -14369,6 +14392,166 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
14369
14392
|
interface CheckoutAnalyticsSummaryTotal {
|
|
14370
14393
|
readonly total: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
|
|
14371
14394
|
}
|
|
14395
|
+
|
|
14396
|
+
interface HeapCheckoutProgress {
|
|
14397
|
+
readonly discriminator: 'checkout_progress';
|
|
14398
|
+
readonly checkout_id?: string;
|
|
14399
|
+
readonly experience_key?: string;
|
|
14400
|
+
readonly experiment_key?: string;
|
|
14401
|
+
readonly experiment_variant_key?: string;
|
|
14402
|
+
readonly order_number?: string;
|
|
14403
|
+
readonly organization_id?: string;
|
|
14404
|
+
readonly visit_id?: string;
|
|
14405
|
+
readonly visitor_id?: string;
|
|
14406
|
+
readonly step: string;
|
|
14407
|
+
}
|
|
14408
|
+
|
|
14409
|
+
interface HeapContinueClick {
|
|
14410
|
+
readonly discriminator: 'continue_click';
|
|
14411
|
+
readonly checkout_id?: string;
|
|
14412
|
+
readonly experience_key?: string;
|
|
14413
|
+
readonly experiment_key?: string;
|
|
14414
|
+
readonly experiment_variant_key?: string;
|
|
14415
|
+
readonly order_number?: string;
|
|
14416
|
+
readonly organization_id?: string;
|
|
14417
|
+
readonly visit_id?: string;
|
|
14418
|
+
readonly visitor_id?: string;
|
|
14419
|
+
readonly step: string;
|
|
14420
|
+
}
|
|
14421
|
+
|
|
14422
|
+
interface HeapExitCheckout {
|
|
14423
|
+
readonly discriminator: 'exit_checkout';
|
|
14424
|
+
readonly checkout_id?: string;
|
|
14425
|
+
readonly experience_key?: string;
|
|
14426
|
+
readonly experiment_key?: string;
|
|
14427
|
+
readonly experiment_variant_key?: string;
|
|
14428
|
+
readonly order_number?: string;
|
|
14429
|
+
readonly organization_id?: string;
|
|
14430
|
+
readonly visit_id?: string;
|
|
14431
|
+
readonly visitor_id?: string;
|
|
14432
|
+
}
|
|
14433
|
+
|
|
14434
|
+
interface HeapFieldBlur {
|
|
14435
|
+
readonly discriminator: 'field_blur';
|
|
14436
|
+
readonly checkout_id?: string;
|
|
14437
|
+
readonly experience_key?: string;
|
|
14438
|
+
readonly experiment_key?: string;
|
|
14439
|
+
readonly experiment_variant_key?: string;
|
|
14440
|
+
readonly order_number?: string;
|
|
14441
|
+
readonly organization_id?: string;
|
|
14442
|
+
readonly visit_id?: string;
|
|
14443
|
+
readonly visitor_id?: string;
|
|
14444
|
+
readonly field: string;
|
|
14445
|
+
}
|
|
14446
|
+
|
|
14447
|
+
interface HeapFieldFocus {
|
|
14448
|
+
readonly discriminator: 'field_focus';
|
|
14449
|
+
readonly checkout_id?: string;
|
|
14450
|
+
readonly experience_key?: string;
|
|
14451
|
+
readonly experiment_key?: string;
|
|
14452
|
+
readonly experiment_variant_key?: string;
|
|
14453
|
+
readonly order_number?: string;
|
|
14454
|
+
readonly organization_id?: string;
|
|
14455
|
+
readonly visit_id?: string;
|
|
14456
|
+
readonly visitor_id?: string;
|
|
14457
|
+
readonly field: string;
|
|
14458
|
+
}
|
|
14459
|
+
|
|
14460
|
+
interface HeapFieldValidation {
|
|
14461
|
+
readonly discriminator: 'field_validation';
|
|
14462
|
+
readonly checkout_id?: string;
|
|
14463
|
+
readonly experience_key?: string;
|
|
14464
|
+
readonly experiment_key?: string;
|
|
14465
|
+
readonly experiment_variant_key?: string;
|
|
14466
|
+
readonly order_number?: string;
|
|
14467
|
+
readonly organization_id?: string;
|
|
14468
|
+
readonly visit_id?: string;
|
|
14469
|
+
readonly visitor_id?: string;
|
|
14470
|
+
readonly field: string;
|
|
14471
|
+
readonly message: string;
|
|
14472
|
+
}
|
|
14473
|
+
|
|
14474
|
+
interface HeapPayClick {
|
|
14475
|
+
readonly discriminator: 'pay_click';
|
|
14476
|
+
readonly checkout_id?: string;
|
|
14477
|
+
readonly experience_key?: string;
|
|
14478
|
+
readonly experiment_key?: string;
|
|
14479
|
+
readonly experiment_variant_key?: string;
|
|
14480
|
+
readonly order_number?: string;
|
|
14481
|
+
readonly organization_id?: string;
|
|
14482
|
+
readonly visit_id?: string;
|
|
14483
|
+
readonly visitor_id?: string;
|
|
14484
|
+
readonly payment_method: string;
|
|
14485
|
+
}
|
|
14486
|
+
|
|
14487
|
+
interface HeapPerformance {
|
|
14488
|
+
readonly discriminator: 'performance';
|
|
14489
|
+
readonly checkout_id?: string;
|
|
14490
|
+
readonly experience_key?: string;
|
|
14491
|
+
readonly experiment_key?: string;
|
|
14492
|
+
readonly experiment_variant_key?: string;
|
|
14493
|
+
readonly order_number?: string;
|
|
14494
|
+
readonly organization_id?: string;
|
|
14495
|
+
readonly visit_id?: string;
|
|
14496
|
+
readonly visitor_id?: string;
|
|
14497
|
+
readonly cumulative_layout_shift?: number;
|
|
14498
|
+
readonly first_contentful_paint?: number;
|
|
14499
|
+
readonly first_contentful_paint_since_start_checkout?: number;
|
|
14500
|
+
readonly first_input_delay?: number;
|
|
14501
|
+
readonly largest_contentful_paint?: number;
|
|
14502
|
+
readonly largest_contentful_paint_since_start_checkout?: number;
|
|
14503
|
+
readonly dom_processing_time?: number;
|
|
14504
|
+
readonly network_time?: number;
|
|
14505
|
+
readonly page_rendering_time?: number;
|
|
14506
|
+
}
|
|
14507
|
+
|
|
14508
|
+
interface HeapPurchase {
|
|
14509
|
+
readonly discriminator: 'purchase';
|
|
14510
|
+
readonly checkout_id?: string;
|
|
14511
|
+
readonly experience_key?: string;
|
|
14512
|
+
readonly experiment_key?: string;
|
|
14513
|
+
readonly experiment_variant_key?: string;
|
|
14514
|
+
readonly order_number?: string;
|
|
14515
|
+
readonly organization_id?: string;
|
|
14516
|
+
readonly visit_id?: string;
|
|
14517
|
+
readonly visitor_id?: string;
|
|
14518
|
+
readonly revenue: number;
|
|
14519
|
+
readonly shipping: number;
|
|
14520
|
+
readonly tax: number;
|
|
14521
|
+
readonly duty: number;
|
|
14522
|
+
readonly currency: string;
|
|
14523
|
+
}
|
|
14524
|
+
|
|
14525
|
+
interface HeapRageClick {
|
|
14526
|
+
readonly discriminator: 'rage_click';
|
|
14527
|
+
readonly checkout_id?: string;
|
|
14528
|
+
readonly experience_key?: string;
|
|
14529
|
+
readonly experiment_key?: string;
|
|
14530
|
+
readonly experiment_variant_key?: string;
|
|
14531
|
+
readonly order_number?: string;
|
|
14532
|
+
readonly organization_id?: string;
|
|
14533
|
+
readonly visit_id?: string;
|
|
14534
|
+
readonly visitor_id?: string;
|
|
14535
|
+
readonly path: string;
|
|
14536
|
+
}
|
|
14537
|
+
|
|
14538
|
+
interface HeapScriptError {
|
|
14539
|
+
readonly discriminator: 'script_error';
|
|
14540
|
+
readonly checkout_id?: string;
|
|
14541
|
+
readonly experience_key?: string;
|
|
14542
|
+
readonly experiment_key?: string;
|
|
14543
|
+
readonly experiment_variant_key?: string;
|
|
14544
|
+
readonly order_number?: string;
|
|
14545
|
+
readonly organization_id?: string;
|
|
14546
|
+
readonly visit_id?: string;
|
|
14547
|
+
readonly visitor_id?: string;
|
|
14548
|
+
readonly uncaught_error_count: number;
|
|
14549
|
+
readonly unhandled_rejection_count: number;
|
|
14550
|
+
}
|
|
14551
|
+
|
|
14552
|
+
interface HeapStartCheckout {
|
|
14553
|
+
readonly discriminator: 'start_checkout';
|
|
14554
|
+
}
|
|
14372
14555
|
}
|
|
14373
14556
|
|
|
14374
14557
|
declare namespace io.flow.checkout.analytics.v0.unions {
|
|
@@ -14382,6 +14565,19 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
14382
14565
|
| io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard
|
|
14383
14566
|
| io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard
|
|
14384
14567
|
| io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
14568
|
+
type HeapEvent =
|
|
14569
|
+
| io.flow.checkout.analytics.v0.models.HeapCheckoutProgress
|
|
14570
|
+
| io.flow.checkout.analytics.v0.models.HeapContinueClick
|
|
14571
|
+
| io.flow.checkout.analytics.v0.models.HeapExitCheckout
|
|
14572
|
+
| io.flow.checkout.analytics.v0.models.HeapFieldBlur
|
|
14573
|
+
| io.flow.checkout.analytics.v0.models.HeapFieldFocus
|
|
14574
|
+
| io.flow.checkout.analytics.v0.models.HeapFieldValidation
|
|
14575
|
+
| io.flow.checkout.analytics.v0.models.HeapPayClick
|
|
14576
|
+
| io.flow.checkout.analytics.v0.models.HeapPerformance
|
|
14577
|
+
| io.flow.checkout.analytics.v0.models.HeapPurchase
|
|
14578
|
+
| io.flow.checkout.analytics.v0.models.HeapRageClick
|
|
14579
|
+
| io.flow.checkout.analytics.v0.models.HeapScriptError
|
|
14580
|
+
| io.flow.checkout.analytics.v0.models.HeapStartCheckout;
|
|
14385
14581
|
}
|
|
14386
14582
|
|
|
14387
14583
|
declare namespace io.flow.currency.v0.enums {
|
|
@@ -14709,7 +14905,8 @@ declare namespace io.flow.payment.v0.enums {
|
|
|
14709
14905
|
| 'fraud'
|
|
14710
14906
|
| 'duplicate'
|
|
14711
14907
|
| 'not_supported'
|
|
14712
|
-
| 'unknown'
|
|
14908
|
+
| 'unknown'
|
|
14909
|
+
| 'online_payment_error';
|
|
14713
14910
|
type AuthorizationOption = 'store_card';
|
|
14714
14911
|
type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
|
|
14715
14912
|
type AuthorizationStatus =
|
|
@@ -16512,6 +16709,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16512
16709
|
readonly name: string;
|
|
16513
16710
|
readonly description?: string;
|
|
16514
16711
|
readonly status: io.flow.experiment.internal.v0.enums.Status;
|
|
16712
|
+
readonly emails: string[];
|
|
16515
16713
|
readonly started_at?: string;
|
|
16516
16714
|
readonly ended_at?: string;
|
|
16517
16715
|
readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
|
|
@@ -16603,6 +16801,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16603
16801
|
readonly name: string;
|
|
16604
16802
|
readonly description?: string;
|
|
16605
16803
|
readonly status: io.flow.experiment.internal.v0.enums.Status;
|
|
16804
|
+
readonly emails: string[];
|
|
16606
16805
|
readonly scope: io.flow.experiment.internal.v0.enums.Scope;
|
|
16607
16806
|
readonly started_at?: string;
|
|
16608
16807
|
readonly ended_at?: string;
|
|
@@ -16997,9 +17196,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16997
17196
|
| 'ftp_file_deleted'
|
|
16998
17197
|
| 'ftp_file_to_process_uploaded'
|
|
16999
17198
|
| 'pregenerated_request_event'
|
|
17000
|
-
| 'blacklisted_item_created'
|
|
17001
|
-
| 'blacklisted_item_updated'
|
|
17002
|
-
| 'blacklisted_item_deleted'
|
|
17003
17199
|
| 'all_items_export'
|
|
17004
17200
|
| 'harmonized_items_hs6_export'
|
|
17005
17201
|
| 'unharmonized_items_export'
|
|
@@ -18111,30 +18307,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18111
18307
|
readonly item_number: string;
|
|
18112
18308
|
}
|
|
18113
18309
|
|
|
18114
|
-
interface BlacklistedItemCreated {
|
|
18115
|
-
readonly discriminator: 'blacklisted_item_created';
|
|
18116
|
-
readonly event_id: string;
|
|
18117
|
-
readonly timestamp: string;
|
|
18118
|
-
readonly organization: string;
|
|
18119
|
-
readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
|
|
18120
|
-
}
|
|
18121
|
-
|
|
18122
|
-
interface BlacklistedItemDeleted {
|
|
18123
|
-
readonly discriminator: 'blacklisted_item_deleted';
|
|
18124
|
-
readonly event_id: string;
|
|
18125
|
-
readonly timestamp: string;
|
|
18126
|
-
readonly organization: string;
|
|
18127
|
-
readonly id: string;
|
|
18128
|
-
}
|
|
18129
|
-
|
|
18130
|
-
interface BlacklistedItemUpdated {
|
|
18131
|
-
readonly discriminator: 'blacklisted_item_updated';
|
|
18132
|
-
readonly event_id: string;
|
|
18133
|
-
readonly timestamp: string;
|
|
18134
|
-
readonly organization: string;
|
|
18135
|
-
readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
|
|
18136
|
-
}
|
|
18137
|
-
|
|
18138
18310
|
interface BooleanFeatureDefaultValue {
|
|
18139
18311
|
readonly discriminator: 'boolean';
|
|
18140
18312
|
readonly value: boolean;
|
|
@@ -20503,6 +20675,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20503
20675
|
readonly name: string;
|
|
20504
20676
|
readonly description?: string;
|
|
20505
20677
|
readonly status: io.flow.internal.v0.enums.Status;
|
|
20678
|
+
readonly emails: string[];
|
|
20506
20679
|
readonly started_at?: string;
|
|
20507
20680
|
readonly ended_at?: string;
|
|
20508
20681
|
readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
|
|
@@ -20760,6 +20933,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20760
20933
|
readonly name: string;
|
|
20761
20934
|
readonly description?: string;
|
|
20762
20935
|
readonly status: io.flow.internal.v0.enums.Status;
|
|
20936
|
+
readonly emails: string[];
|
|
20763
20937
|
readonly scope: io.flow.internal.v0.enums.Scope;
|
|
20764
20938
|
readonly started_at?: string;
|
|
20765
20939
|
readonly ended_at?: string;
|
|
@@ -21316,6 +21490,166 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21316
21490
|
readonly export_id: string;
|
|
21317
21491
|
}
|
|
21318
21492
|
|
|
21493
|
+
interface HeapCheckoutProgress {
|
|
21494
|
+
readonly discriminator: 'checkout_progress';
|
|
21495
|
+
readonly checkout_id?: string;
|
|
21496
|
+
readonly experience_key?: string;
|
|
21497
|
+
readonly experiment_key?: string;
|
|
21498
|
+
readonly experiment_variant_key?: string;
|
|
21499
|
+
readonly order_number?: string;
|
|
21500
|
+
readonly organization_id?: string;
|
|
21501
|
+
readonly visit_id?: string;
|
|
21502
|
+
readonly visitor_id?: string;
|
|
21503
|
+
readonly step: string;
|
|
21504
|
+
}
|
|
21505
|
+
|
|
21506
|
+
interface HeapContinueClick {
|
|
21507
|
+
readonly discriminator: 'continue_click';
|
|
21508
|
+
readonly checkout_id?: string;
|
|
21509
|
+
readonly experience_key?: string;
|
|
21510
|
+
readonly experiment_key?: string;
|
|
21511
|
+
readonly experiment_variant_key?: string;
|
|
21512
|
+
readonly order_number?: string;
|
|
21513
|
+
readonly organization_id?: string;
|
|
21514
|
+
readonly visit_id?: string;
|
|
21515
|
+
readonly visitor_id?: string;
|
|
21516
|
+
readonly step: string;
|
|
21517
|
+
}
|
|
21518
|
+
|
|
21519
|
+
interface HeapExitCheckout {
|
|
21520
|
+
readonly discriminator: 'exit_checkout';
|
|
21521
|
+
readonly checkout_id?: string;
|
|
21522
|
+
readonly experience_key?: string;
|
|
21523
|
+
readonly experiment_key?: string;
|
|
21524
|
+
readonly experiment_variant_key?: string;
|
|
21525
|
+
readonly order_number?: string;
|
|
21526
|
+
readonly organization_id?: string;
|
|
21527
|
+
readonly visit_id?: string;
|
|
21528
|
+
readonly visitor_id?: string;
|
|
21529
|
+
}
|
|
21530
|
+
|
|
21531
|
+
interface HeapFieldBlur {
|
|
21532
|
+
readonly discriminator: 'field_blur';
|
|
21533
|
+
readonly checkout_id?: string;
|
|
21534
|
+
readonly experience_key?: string;
|
|
21535
|
+
readonly experiment_key?: string;
|
|
21536
|
+
readonly experiment_variant_key?: string;
|
|
21537
|
+
readonly order_number?: string;
|
|
21538
|
+
readonly organization_id?: string;
|
|
21539
|
+
readonly visit_id?: string;
|
|
21540
|
+
readonly visitor_id?: string;
|
|
21541
|
+
readonly field: string;
|
|
21542
|
+
}
|
|
21543
|
+
|
|
21544
|
+
interface HeapFieldFocus {
|
|
21545
|
+
readonly discriminator: 'field_focus';
|
|
21546
|
+
readonly checkout_id?: string;
|
|
21547
|
+
readonly experience_key?: string;
|
|
21548
|
+
readonly experiment_key?: string;
|
|
21549
|
+
readonly experiment_variant_key?: string;
|
|
21550
|
+
readonly order_number?: string;
|
|
21551
|
+
readonly organization_id?: string;
|
|
21552
|
+
readonly visit_id?: string;
|
|
21553
|
+
readonly visitor_id?: string;
|
|
21554
|
+
readonly field: string;
|
|
21555
|
+
}
|
|
21556
|
+
|
|
21557
|
+
interface HeapFieldValidation {
|
|
21558
|
+
readonly discriminator: 'field_validation';
|
|
21559
|
+
readonly checkout_id?: string;
|
|
21560
|
+
readonly experience_key?: string;
|
|
21561
|
+
readonly experiment_key?: string;
|
|
21562
|
+
readonly experiment_variant_key?: string;
|
|
21563
|
+
readonly order_number?: string;
|
|
21564
|
+
readonly organization_id?: string;
|
|
21565
|
+
readonly visit_id?: string;
|
|
21566
|
+
readonly visitor_id?: string;
|
|
21567
|
+
readonly field: string;
|
|
21568
|
+
readonly message: string;
|
|
21569
|
+
}
|
|
21570
|
+
|
|
21571
|
+
interface HeapPayClick {
|
|
21572
|
+
readonly discriminator: 'pay_click';
|
|
21573
|
+
readonly checkout_id?: string;
|
|
21574
|
+
readonly experience_key?: string;
|
|
21575
|
+
readonly experiment_key?: string;
|
|
21576
|
+
readonly experiment_variant_key?: string;
|
|
21577
|
+
readonly order_number?: string;
|
|
21578
|
+
readonly organization_id?: string;
|
|
21579
|
+
readonly visit_id?: string;
|
|
21580
|
+
readonly visitor_id?: string;
|
|
21581
|
+
readonly payment_method: string;
|
|
21582
|
+
}
|
|
21583
|
+
|
|
21584
|
+
interface HeapPerformance {
|
|
21585
|
+
readonly discriminator: 'performance';
|
|
21586
|
+
readonly checkout_id?: string;
|
|
21587
|
+
readonly experience_key?: string;
|
|
21588
|
+
readonly experiment_key?: string;
|
|
21589
|
+
readonly experiment_variant_key?: string;
|
|
21590
|
+
readonly order_number?: string;
|
|
21591
|
+
readonly organization_id?: string;
|
|
21592
|
+
readonly visit_id?: string;
|
|
21593
|
+
readonly visitor_id?: string;
|
|
21594
|
+
readonly cumulative_layout_shift?: number;
|
|
21595
|
+
readonly first_contentful_paint?: number;
|
|
21596
|
+
readonly first_contentful_paint_since_start_checkout?: number;
|
|
21597
|
+
readonly first_input_delay?: number;
|
|
21598
|
+
readonly largest_contentful_paint?: number;
|
|
21599
|
+
readonly largest_contentful_paint_since_start_checkout?: number;
|
|
21600
|
+
readonly dom_processing_time?: number;
|
|
21601
|
+
readonly network_time?: number;
|
|
21602
|
+
readonly page_rendering_time?: number;
|
|
21603
|
+
}
|
|
21604
|
+
|
|
21605
|
+
interface HeapPurchase {
|
|
21606
|
+
readonly discriminator: 'purchase';
|
|
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
|
+
readonly revenue: number;
|
|
21616
|
+
readonly shipping: number;
|
|
21617
|
+
readonly tax: number;
|
|
21618
|
+
readonly duty: number;
|
|
21619
|
+
readonly currency: string;
|
|
21620
|
+
}
|
|
21621
|
+
|
|
21622
|
+
interface HeapRageClick {
|
|
21623
|
+
readonly discriminator: 'rage_click';
|
|
21624
|
+
readonly checkout_id?: string;
|
|
21625
|
+
readonly experience_key?: string;
|
|
21626
|
+
readonly experiment_key?: string;
|
|
21627
|
+
readonly experiment_variant_key?: string;
|
|
21628
|
+
readonly order_number?: string;
|
|
21629
|
+
readonly organization_id?: string;
|
|
21630
|
+
readonly visit_id?: string;
|
|
21631
|
+
readonly visitor_id?: string;
|
|
21632
|
+
readonly path: string;
|
|
21633
|
+
}
|
|
21634
|
+
|
|
21635
|
+
interface HeapScriptError {
|
|
21636
|
+
readonly discriminator: 'script_error';
|
|
21637
|
+
readonly checkout_id?: string;
|
|
21638
|
+
readonly experience_key?: string;
|
|
21639
|
+
readonly experiment_key?: string;
|
|
21640
|
+
readonly experiment_variant_key?: string;
|
|
21641
|
+
readonly order_number?: string;
|
|
21642
|
+
readonly organization_id?: string;
|
|
21643
|
+
readonly visit_id?: string;
|
|
21644
|
+
readonly visitor_id?: string;
|
|
21645
|
+
readonly uncaught_error_count: number;
|
|
21646
|
+
readonly unhandled_rejection_count: number;
|
|
21647
|
+
}
|
|
21648
|
+
|
|
21649
|
+
interface HeapStartCheckout {
|
|
21650
|
+
readonly discriminator: 'start_checkout';
|
|
21651
|
+
}
|
|
21652
|
+
|
|
21319
21653
|
interface Href {
|
|
21320
21654
|
readonly discriminator: 'href';
|
|
21321
21655
|
readonly label: io.flow.internal.v0.models.ContentLabel;
|
|
@@ -22718,6 +23052,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22718
23052
|
readonly respect_session_currency: boolean;
|
|
22719
23053
|
}
|
|
22720
23054
|
|
|
23055
|
+
interface OrganizationShortIdForm {
|
|
23056
|
+
readonly short_id: string;
|
|
23057
|
+
}
|
|
23058
|
+
|
|
22721
23059
|
interface Partner {
|
|
22722
23060
|
readonly id: string;
|
|
22723
23061
|
readonly name: string;
|
|
@@ -25066,9 +25404,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25066
25404
|
| io.flow.internal.v0.models.FtpFileDeleted
|
|
25067
25405
|
| io.flow.internal.v0.models.FtpFileToProcessUploaded
|
|
25068
25406
|
| io.flow.internal.v0.models.PregeneratedRequestEvent
|
|
25069
|
-
| io.flow.internal.v0.models.BlacklistedItemCreated
|
|
25070
|
-
| io.flow.internal.v0.models.BlacklistedItemUpdated
|
|
25071
|
-
| io.flow.internal.v0.models.BlacklistedItemDeleted
|
|
25072
25407
|
| io.flow.internal.v0.models.AllItemsExport
|
|
25073
25408
|
| io.flow.internal.v0.models.HarmonizedItemsHs6Export
|
|
25074
25409
|
| io.flow.internal.v0.models.UnharmonizedItemsExport
|
|
@@ -25186,6 +25521,19 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25186
25521
|
| io.flow.internal.v0.models.SearchExperimentSummary
|
|
25187
25522
|
| io.flow.internal.v0.models.SearchOrderSummary
|
|
25188
25523
|
| io.flow.internal.v0.models.SearchItemSummary;
|
|
25524
|
+
type HeapEvent =
|
|
25525
|
+
| io.flow.internal.v0.models.HeapCheckoutProgress
|
|
25526
|
+
| io.flow.internal.v0.models.HeapContinueClick
|
|
25527
|
+
| io.flow.internal.v0.models.HeapExitCheckout
|
|
25528
|
+
| io.flow.internal.v0.models.HeapFieldBlur
|
|
25529
|
+
| io.flow.internal.v0.models.HeapFieldFocus
|
|
25530
|
+
| io.flow.internal.v0.models.HeapFieldValidation
|
|
25531
|
+
| io.flow.internal.v0.models.HeapPayClick
|
|
25532
|
+
| io.flow.internal.v0.models.HeapPerformance
|
|
25533
|
+
| io.flow.internal.v0.models.HeapPurchase
|
|
25534
|
+
| io.flow.internal.v0.models.HeapRageClick
|
|
25535
|
+
| io.flow.internal.v0.models.HeapScriptError
|
|
25536
|
+
| io.flow.internal.v0.models.HeapStartCheckout;
|
|
25189
25537
|
type IndexTaskType =
|
|
25190
25538
|
| io.flow.internal.v0.models.CatalogItemIndexTask
|
|
25191
25539
|
| io.flow.internal.v0.models.CatalogItemBatchIndexTask
|
|
@@ -25439,9 +25787,6 @@ export type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthenticati
|
|
|
25439
25787
|
export type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference;
|
|
25440
25788
|
export type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm;
|
|
25441
25789
|
export type BlacklistedItem = io.flow.internal.v0.models.BlacklistedItem;
|
|
25442
|
-
export type BlacklistedItemCreated = io.flow.internal.v0.models.BlacklistedItemCreated;
|
|
25443
|
-
export type BlacklistedItemDeleted = io.flow.internal.v0.models.BlacklistedItemDeleted;
|
|
25444
|
-
export type BlacklistedItemUpdated = io.flow.internal.v0.models.BlacklistedItemUpdated;
|
|
25445
25790
|
export type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue;
|
|
25446
25791
|
export type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule;
|
|
25447
25792
|
export type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm;
|
|
@@ -26091,6 +26436,19 @@ export type HarmonizationStatisticsBreakout = io.flow.internal.v0.models.Harmoni
|
|
|
26091
26436
|
export type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
|
|
26092
26437
|
export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
|
|
26093
26438
|
export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
|
|
26439
|
+
export type HeapCheckoutProgress = io.flow.internal.v0.models.HeapCheckoutProgress;
|
|
26440
|
+
export type HeapContinueClick = io.flow.internal.v0.models.HeapContinueClick;
|
|
26441
|
+
export type HeapEvent = io.flow.internal.v0.unions.HeapEvent;
|
|
26442
|
+
export type HeapExitCheckout = io.flow.internal.v0.models.HeapExitCheckout;
|
|
26443
|
+
export type HeapFieldBlur = io.flow.internal.v0.models.HeapFieldBlur;
|
|
26444
|
+
export type HeapFieldFocus = io.flow.internal.v0.models.HeapFieldFocus;
|
|
26445
|
+
export type HeapFieldValidation = io.flow.internal.v0.models.HeapFieldValidation;
|
|
26446
|
+
export type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
|
|
26447
|
+
export type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
|
|
26448
|
+
export type HeapPurchase = io.flow.internal.v0.models.HeapPurchase;
|
|
26449
|
+
export type HeapRageClick = io.flow.internal.v0.models.HeapRageClick;
|
|
26450
|
+
export type HeapScriptError = io.flow.internal.v0.models.HeapScriptError;
|
|
26451
|
+
export type HeapStartCheckout = io.flow.internal.v0.models.HeapStartCheckout;
|
|
26094
26452
|
export type Href = io.flow.internal.v0.models.Href;
|
|
26095
26453
|
export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
26096
26454
|
export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
|
|
@@ -26324,6 +26682,7 @@ export type OrganizationMembershipCopy = io.flow.internal.v0.models.Organization
|
|
|
26324
26682
|
export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
26325
26683
|
export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
|
26326
26684
|
export type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
|
|
26685
|
+
export type OrganizationShortIdForm = io.flow.internal.v0.models.OrganizationShortIdForm;
|
|
26327
26686
|
export type Owner = io.flow.internal.v0.enums.Owner;
|
|
26328
26687
|
export type Partner = io.flow.internal.v0.models.Partner;
|
|
26329
26688
|
export type PartnerAuthorization = io.flow.internal.v0.models.PartnerAuthorization;
|
package/src/api.ts
CHANGED
|
@@ -1052,7 +1052,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1052
1052
|
| 'fraud'
|
|
1053
1053
|
| 'duplicate'
|
|
1054
1054
|
| 'not_supported'
|
|
1055
|
-
| 'unknown'
|
|
1055
|
+
| 'unknown'
|
|
1056
|
+
| 'online_payment_error';
|
|
1056
1057
|
type AuthorizationOption = 'store_card';
|
|
1057
1058
|
type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
|
|
1058
1059
|
type AuthorizationStatus =
|
|
@@ -1327,6 +1328,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1327
1328
|
| 'ratecard_deleted'
|
|
1328
1329
|
| 'return_upserted'
|
|
1329
1330
|
| 'return_deleted'
|
|
1331
|
+
| 'return_upserted_v2'
|
|
1332
|
+
| 'return_deleted_v2'
|
|
1330
1333
|
| 'shopify_localization_setting_upserted'
|
|
1331
1334
|
| 'shopify_localization_setting_deleted'
|
|
1332
1335
|
| 'tracking_label_event_upserted';
|
|
@@ -7598,6 +7601,7 @@ declare namespace io.flow.v0.models {
|
|
|
7598
7601
|
readonly source: io.flow.v0.unions.ReturnSource;
|
|
7599
7602
|
readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus;
|
|
7600
7603
|
readonly tracking_status_timestamp?: string;
|
|
7604
|
+
readonly carrier_tracking_number?: string;
|
|
7601
7605
|
}
|
|
7602
7606
|
|
|
7603
7607
|
interface ReturnDeleted {
|
|
@@ -7607,6 +7611,14 @@ declare namespace io.flow.v0.models {
|
|
|
7607
7611
|
readonly id: string;
|
|
7608
7612
|
}
|
|
7609
7613
|
|
|
7614
|
+
interface ReturnDeletedV2 {
|
|
7615
|
+
readonly discriminator: 'return_deleted_v2';
|
|
7616
|
+
readonly event_id: string;
|
|
7617
|
+
readonly timestamp: string;
|
|
7618
|
+
readonly organization: string;
|
|
7619
|
+
readonly return: io.flow.v0.models.Return;
|
|
7620
|
+
}
|
|
7621
|
+
|
|
7610
7622
|
interface ReturnForm {
|
|
7611
7623
|
readonly items: io.flow.v0.models.ReturnLineItem[];
|
|
7612
7624
|
readonly tier_id?: string;
|
|
@@ -7619,6 +7631,7 @@ declare namespace io.flow.v0.models {
|
|
|
7619
7631
|
readonly source: io.flow.v0.unions.ReturnSource;
|
|
7620
7632
|
readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus;
|
|
7621
7633
|
readonly tracking_status_timestamp?: string;
|
|
7634
|
+
readonly carrier_tracking_number?: string;
|
|
7622
7635
|
}
|
|
7623
7636
|
|
|
7624
7637
|
interface ReturnItemReference {
|
|
@@ -7643,12 +7656,10 @@ declare namespace io.flow.v0.models {
|
|
|
7643
7656
|
}
|
|
7644
7657
|
|
|
7645
7658
|
interface ReturnReason {
|
|
7646
|
-
readonly key: string;
|
|
7647
7659
|
readonly name: string;
|
|
7648
7660
|
}
|
|
7649
7661
|
|
|
7650
7662
|
interface ReturnReasonForm {
|
|
7651
|
-
readonly key?: string;
|
|
7652
7663
|
readonly name?: string;
|
|
7653
7664
|
}
|
|
7654
7665
|
|
|
@@ -7680,6 +7691,14 @@ declare namespace io.flow.v0.models {
|
|
|
7680
7691
|
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
7681
7692
|
}
|
|
7682
7693
|
|
|
7694
|
+
interface ReturnUpsertedV2 {
|
|
7695
|
+
readonly discriminator: 'return_upserted_v2';
|
|
7696
|
+
readonly event_id: string;
|
|
7697
|
+
readonly timestamp: string;
|
|
7698
|
+
readonly organization: string;
|
|
7699
|
+
readonly return: io.flow.v0.models.Return;
|
|
7700
|
+
}
|
|
7701
|
+
|
|
7683
7702
|
interface ReturnVersion {
|
|
7684
7703
|
readonly id: string;
|
|
7685
7704
|
readonly timestamp: string;
|
|
@@ -9416,6 +9435,8 @@ declare namespace io.flow.v0.unions {
|
|
|
9416
9435
|
| io.flow.v0.models.RatecardDeleted
|
|
9417
9436
|
| io.flow.v0.models.ReturnUpserted
|
|
9418
9437
|
| io.flow.v0.models.ReturnDeleted
|
|
9438
|
+
| io.flow.v0.models.ReturnUpsertedV2
|
|
9439
|
+
| io.flow.v0.models.ReturnDeletedV2
|
|
9419
9440
|
| io.flow.v0.models.ShopifyLocalizationSettingUpserted
|
|
9420
9441
|
| io.flow.v0.models.ShopifyLocalizationSettingDeleted
|
|
9421
9442
|
| io.flow.v0.models.TrackingLabelEventUpserted;
|
|
@@ -10576,6 +10597,7 @@ export type ReservationItemReference = io.flow.v0.models.ReservationItemReferenc
|
|
|
10576
10597
|
export type ReservationOrderReference = io.flow.v0.models.ReservationOrderReference;
|
|
10577
10598
|
export type Return = io.flow.v0.models.Return;
|
|
10578
10599
|
export type ReturnDeleted = io.flow.v0.models.ReturnDeleted;
|
|
10600
|
+
export type ReturnDeletedV2 = io.flow.v0.models.ReturnDeletedV2;
|
|
10579
10601
|
export type ReturnForm = io.flow.v0.models.ReturnForm;
|
|
10580
10602
|
export type ReturnItemReference = io.flow.v0.models.ReturnItemReference;
|
|
10581
10603
|
export type ReturnLineItem = io.flow.v0.models.ReturnLineItem;
|
|
@@ -10590,6 +10612,7 @@ export type ReturnSourceFlow = io.flow.v0.models.ReturnSourceFlow;
|
|
|
10590
10612
|
export type ReturnStatus = io.flow.v0.enums.ReturnStatus;
|
|
10591
10613
|
export type ReturnTrackingStatus = io.flow.v0.enums.ReturnTrackingStatus;
|
|
10592
10614
|
export type ReturnUpserted = io.flow.v0.models.ReturnUpserted;
|
|
10615
|
+
export type ReturnUpsertedV2 = io.flow.v0.models.ReturnUpsertedV2;
|
|
10593
10616
|
export type ReturnVersion = io.flow.v0.models.ReturnVersion;
|
|
10594
10617
|
export type Reversal = io.flow.v0.models.Reversal;
|
|
10595
10618
|
export type ReversalDeleted = io.flow.v0.models.ReversalDeleted;
|