@flowio/types 10.9.5 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -527,6 +527,7 @@ declare namespace io.flow.experience.v0.models {
527
527
  readonly currency?: string;
528
528
  readonly language?: string;
529
529
  readonly key?: string;
530
+ readonly position?: number;
530
531
  readonly measurement_system?: io.flow.common.v0.enums.MeasurementSystem;
531
532
  readonly subcatalog_id?: string;
532
533
  }
@@ -1561,7 +1562,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1561
1562
  | 'promotion_code_not_supported'
1562
1563
  | 'promotion_code_invalid'
1563
1564
  | 'promotion_code_expired'
1564
- | 'promotion_code_does_not_meet_requirements';
1565
+ | 'promotion_code_does_not_meet_requirements'
1566
+ | 'promotion_code_order_item_not_available';
1565
1567
  type CheckoutAddGiftCardErrorCode =
1566
1568
  | 'gift_card_not_supported'
1567
1569
  | 'gift_card_insufficient_funds'
@@ -1594,7 +1596,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1594
1596
  | 'promotion_code_not_supported'
1595
1597
  | 'promotion_code_invalid'
1596
1598
  | 'promotion_code_expired'
1597
- | 'promotion_code_does_not_meet_requirements';
1599
+ | 'promotion_code_does_not_meet_requirements'
1600
+ | 'promotion_code_order_item_not_available';
1598
1601
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
1599
1602
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
1600
1603
  type CheckoutGetErrorCode = 'checkout_not_found';
@@ -1666,7 +1669,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1666
1669
  | 'promotion_code_not_supported'
1667
1670
  | 'promotion_code_invalid'
1668
1671
  | 'promotion_code_expired'
1669
- | 'promotion_code_does_not_meet_requirements';
1672
+ | 'promotion_code_does_not_meet_requirements'
1673
+ | 'promotion_code_order_item_not_available';
1670
1674
  type CheckoutSubmitErrorCode =
1671
1675
  | 'balance_not_zero'
1672
1676
  | 'address_city_invalid'
@@ -1720,7 +1724,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1720
1724
  | 'promotion_code_does_not_meet_requirements'
1721
1725
  | 'promotion_code_expired'
1722
1726
  | 'promotion_code_invalid'
1723
- | 'promotion_code_not_supported';
1727
+ | 'promotion_code_not_supported'
1728
+ | 'promotion_code_order_item_not_available';
1724
1729
  }
1725
1730
 
1726
1731
  declare namespace io.flow.checkout.protocol.v0.models {
@@ -5506,11 +5511,6 @@ declare namespace io.flow.adyen.v0.models {
5506
5511
  readonly currency: string;
5507
5512
  }
5508
5513
 
5509
- interface Applepay {
5510
- readonly type: 'applepay';
5511
- readonly applePayToken: string;
5512
- }
5513
-
5514
5514
  interface Authentication {
5515
5515
  readonly 'threeds2.fingerprintToken'?: string;
5516
5516
  readonly 'threeds2.challengeToken'?: string;
@@ -5715,7 +5715,7 @@ declare namespace io.flow.adyen.v0.models {
5715
5715
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5716
5716
  readonly origin?: string;
5717
5717
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5718
- readonly returnUrl?: string;
5718
+ readonly returnURL?: string;
5719
5719
  }
5720
5720
 
5721
5721
  interface PaymentResponse {
@@ -5802,9 +5802,7 @@ declare namespace io.flow.adyen.v0.unions {
5802
5802
  type BrowserInfo =
5803
5803
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5804
5804
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5805
- type PaymentMethodData =
5806
- | io.flow.adyen.v0.models.Scheme
5807
- | io.flow.adyen.v0.models.Applepay;
5805
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5808
5806
  }
5809
5807
 
5810
5808
  declare namespace io.flow.order.management.v0.enums {
@@ -6777,7 +6775,6 @@ declare namespace io.flow.shopify.external.v0.models {
6777
6775
  readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
6778
6776
  readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
6779
6777
  readonly currency: string;
6780
- readonly notify: boolean;
6781
6778
  }
6782
6779
 
6783
6780
  interface ShopifyRefundLineItem {
@@ -9921,6 +9918,7 @@ declare namespace io.flow.crypto.v0.models {
9921
9918
  readonly recipient: string;
9922
9919
  readonly refunded: boolean;
9923
9920
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
9921
+ readonly time_window: number;
9924
9922
  }
9925
9923
 
9926
9924
  interface PaymentRequest {
@@ -10124,6 +10122,19 @@ declare namespace io.flow.shopify.internal.v0.models {
10124
10122
  readonly attributes: io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
10125
10123
  }
10126
10124
 
10125
+ interface ShopifyOrganizationSettings {
10126
+ readonly id: string;
10127
+ readonly process_label: boolean;
10128
+ readonly send_order_receipt: boolean;
10129
+ readonly send_inventory_update: boolean;
10130
+ }
10131
+
10132
+ interface ShopifyOrganizationSettingsForm {
10133
+ readonly process_label: boolean;
10134
+ readonly send_order_receipt: boolean;
10135
+ readonly send_inventory_update: boolean;
10136
+ }
10137
+
10127
10138
  interface ShopifyPaymentSummary {
10128
10139
  readonly description: string;
10129
10140
  readonly address?: io.flow.common.v0.models.Address;
@@ -10702,7 +10713,6 @@ declare namespace io.flow.marketing.gateway.v0.enums {
10702
10713
  | 'excluded';
10703
10714
  type MarketingGatewaySchemaCompatibility =
10704
10715
  | 'google'
10705
- | 'facebook_master'
10706
10716
  | 'facebook_primary'
10707
10717
  | 'facebook_country_override'
10708
10718
  | 'supplemental';
@@ -11923,6 +11933,18 @@ declare namespace io.flow.billing.internal.v0.models {
11923
11933
  readonly invoice: io.flow.invoice.v0.models.Invoice;
11924
11934
  }
11925
11935
 
11936
+ interface MainTransaction {
11937
+ readonly id: string;
11938
+ readonly account: io.flow.billing.v0.models.AccountReference;
11939
+ readonly type: io.flow.billing.v0.enums.BillingTransactionType;
11940
+ readonly value: io.flow.common.v0.models.Price;
11941
+ readonly posted_at: string;
11942
+ readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
11943
+ readonly created_at: string;
11944
+ readonly original_at?: string;
11945
+ readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
11946
+ }
11947
+
11926
11948
  interface ManualTransaction {
11927
11949
  readonly discriminator: 'manual_transaction';
11928
11950
  readonly id: string;
@@ -12107,12 +12129,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12107
12129
  readonly unverified: boolean;
12108
12130
  }
12109
12131
 
12110
- interface BlacklistedItem {
12111
- readonly id: string;
12112
- readonly organization_id: string;
12113
- readonly item_number: string;
12114
- }
12115
-
12116
12132
  interface ClassificationDetails {
12117
12133
  readonly updated_by_user_id: string;
12118
12134
  readonly organization_id: string;
@@ -12187,12 +12203,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12187
12203
  readonly data: io.flow.harmonization.internal.v0.unions.ComplianceData;
12188
12204
  }
12189
12205
 
12190
- interface Customs {
12191
- readonly description?: string;
12192
- readonly hs6?: string;
12193
- readonly hs10?: string;
12194
- }
12195
-
12196
12206
  interface CustomsDescriptionStatistics {
12197
12207
  readonly message: string;
12198
12208
  readonly default_customs_description_total: number;
@@ -12260,29 +12270,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12260
12270
  readonly position: number;
12261
12271
  }
12262
12272
 
12263
- interface HarmonizationCountries {
12264
- readonly origins: string[];
12265
- readonly destinations: string[];
12266
- }
12267
-
12268
- interface HarmonizationStatistics {
12269
- readonly hs6: io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
12270
- readonly hs10: io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
12271
- readonly origins: io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
12272
- }
12273
-
12274
- interface HarmonizationStatisticsBreakout {
12275
- readonly assigned: number;
12276
- readonly unassigned: number;
12277
- }
12278
-
12279
- interface HarmonizationSummary {
12280
- readonly origin: string;
12281
- readonly destination: string;
12282
- readonly items: number;
12283
- readonly codes: io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
12284
- }
12285
-
12286
12273
  interface ItemClassificationSummary {
12287
12274
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
12288
12275
  readonly status: io.flow.harmonization.internal.v0.enums.ItemHarmonizationStatus;
@@ -12318,20 +12305,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12318
12305
  >;
12319
12306
  }
12320
12307
 
12321
- interface ItemHarmonizationSummary {
12322
- readonly organization_id: string;
12323
- readonly item_id: string;
12324
- readonly item_number: string;
12325
- readonly sub_item_number?: string;
12326
- readonly customs_description?: string;
12327
- readonly origin: string;
12328
- readonly hs6?: string;
12329
- readonly tariff_code?: string;
12330
- readonly duty: io.flow.price.v0.models.Duty;
12331
- readonly price_composition_rate: number;
12332
- readonly duty_composition_rate: number;
12333
- }
12334
-
12335
12308
  interface LabelAliases {
12336
12309
  readonly name: string;
12337
12310
  readonly aliases: string[];
@@ -12353,35 +12326,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12353
12326
  readonly material: io.flow.harmonization.internal.v0.unions.ClassificationLabelAttribute;
12354
12327
  }
12355
12328
 
12356
- interface Levies {
12357
- readonly customs: io.flow.harmonization.internal.v0.models.Customs;
12358
- readonly duty?: io.flow.price.v0.models.Duty;
12359
- readonly tax?: io.flow.price.v0.models.Tax;
12360
- }
12361
-
12362
- interface LeviesAddress {
12363
- readonly streets?: string[];
12364
- readonly street_number?: string;
12365
- readonly city?: string;
12366
- readonly province?: string;
12367
- readonly postal?: string;
12368
- readonly country: string;
12369
- }
12370
-
12371
- interface LeviesForm {
12372
- readonly item: io.flow.harmonization.internal.v0.models.LeviesItem;
12373
- readonly from: io.flow.harmonization.internal.v0.models.LeviesAddress;
12374
- readonly to: io.flow.harmonization.internal.v0.models.LeviesAddress;
12375
- }
12376
-
12377
- interface LeviesItem {
12378
- readonly number: string;
12379
- readonly name: string;
12380
- readonly categories?: string[];
12381
- readonly attributes: Record<string, string>;
12382
- readonly description: string;
12383
- }
12384
-
12385
12329
  interface NoClassificationForm {
12386
12330
  readonly discriminator: 'no_classification_form';
12387
12331
  readonly harmonization_status: io.flow.harmonization.internal.v0.enums.ItemHarmonizationStatus;
@@ -12465,11 +12409,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12465
12409
  readonly number: string;
12466
12410
  }
12467
12411
 
12468
- interface SearchItemHs6Code {
12469
- readonly item: io.flow.common.v0.models.CatalogItemSummary;
12470
- readonly code?: string;
12471
- }
12472
-
12473
12412
  interface SimplifiedItemLabel {
12474
12413
  readonly discriminator: 'item';
12475
12414
  readonly item_type: string;
@@ -12535,12 +12474,6 @@ declare namespace io.flow.harmonization.internal.v0.models {
12535
12474
  readonly children?: io.flow.harmonization.internal.v0.models.TaxonomyNode[];
12536
12475
  }
12537
12476
 
12538
- interface UnclassifiedProductsForm {
12539
- readonly organization_id: string;
12540
- readonly product_id: string;
12541
- readonly status?: io.flow.harmonization.internal.v0.enums.UnclassifiedProductStatus;
12542
- }
12543
-
12544
12477
  interface UnclassifiedProductsSummary {
12545
12478
  readonly waiting_for_classification: Record<string, number>;
12546
12479
  readonly unverified: Record<string, number>;
@@ -12824,12 +12757,6 @@ declare namespace io.flow.harmonization.v0.models {
12824
12757
  readonly company_name_match_result_reason?: string;
12825
12758
  }
12826
12759
 
12827
- interface HarmonizedCategory {
12828
- readonly id: string;
12829
- readonly name: string;
12830
- readonly parent?: io.flow.harmonization.v0.models.HarmonizedCategoryReference;
12831
- }
12832
-
12833
12760
  interface HarmonizedCategoryReference {
12834
12761
  readonly id: string;
12835
12762
  }
@@ -14512,6 +14439,42 @@ declare namespace io.flow.checkout.analytics.v0.models {
14512
14439
  readonly message: string;
14513
14440
  }
14514
14441
 
14442
+ interface HeapGiftCardApply {
14443
+ readonly discriminator: 'gift_card_apply';
14444
+ readonly checkout_id?: string;
14445
+ readonly experience_key?: string;
14446
+ readonly experiment_key?: string;
14447
+ readonly experiment_variant_key?: string;
14448
+ readonly order_number?: string;
14449
+ readonly organization_id?: string;
14450
+ readonly visit_id?: string;
14451
+ readonly visitor_id?: string;
14452
+ }
14453
+
14454
+ interface HeapGiftCardOpen {
14455
+ readonly discriminator: 'gift_card_open';
14456
+ readonly checkout_id?: string;
14457
+ readonly experience_key?: string;
14458
+ readonly experiment_key?: string;
14459
+ readonly experiment_variant_key?: string;
14460
+ readonly order_number?: string;
14461
+ readonly organization_id?: string;
14462
+ readonly visit_id?: string;
14463
+ readonly visitor_id?: string;
14464
+ }
14465
+
14466
+ interface HeapGiftCardWithPin {
14467
+ readonly discriminator: 'gift_card_with_pin';
14468
+ readonly checkout_id?: string;
14469
+ readonly experience_key?: string;
14470
+ readonly experiment_key?: string;
14471
+ readonly experiment_variant_key?: string;
14472
+ readonly order_number?: string;
14473
+ readonly organization_id?: string;
14474
+ readonly visit_id?: string;
14475
+ readonly visitor_id?: string;
14476
+ }
14477
+
14515
14478
  interface HeapPayClick {
14516
14479
  readonly discriminator: 'pay_click';
14517
14480
  readonly checkout_id?: string;
@@ -14570,6 +14533,46 @@ declare namespace io.flow.checkout.analytics.v0.models {
14570
14533
  readonly page_rendering_time?: number;
14571
14534
  }
14572
14535
 
14536
+ interface HeapPromoCodeApply {
14537
+ readonly discriminator: 'promo_code_apply';
14538
+ readonly promo_code: string;
14539
+ readonly checkout_id?: string;
14540
+ readonly experience_key?: string;
14541
+ readonly experiment_key?: string;
14542
+ readonly experiment_variant_key?: string;
14543
+ readonly order_number?: string;
14544
+ readonly organization_id?: string;
14545
+ readonly visit_id?: string;
14546
+ readonly visitor_id?: string;
14547
+ }
14548
+
14549
+ interface HeapPromoCodeError {
14550
+ readonly discriminator: 'promo_code_error';
14551
+ readonly error_code: string;
14552
+ readonly error_message: string;
14553
+ readonly promo_code: string;
14554
+ readonly checkout_id?: string;
14555
+ readonly experience_key?: string;
14556
+ readonly experiment_key?: string;
14557
+ readonly experiment_variant_key?: string;
14558
+ readonly order_number?: string;
14559
+ readonly organization_id?: string;
14560
+ readonly visit_id?: string;
14561
+ readonly visitor_id?: string;
14562
+ }
14563
+
14564
+ interface HeapPromoCodeOpen {
14565
+ readonly discriminator: 'promo_code_open';
14566
+ readonly checkout_id?: string;
14567
+ readonly experience_key?: string;
14568
+ readonly experiment_key?: string;
14569
+ readonly experiment_variant_key?: string;
14570
+ readonly order_number?: string;
14571
+ readonly organization_id?: string;
14572
+ readonly visit_id?: string;
14573
+ readonly visitor_id?: string;
14574
+ }
14575
+
14573
14576
  interface HeapPurchase {
14574
14577
  readonly discriminator: 'purchase';
14575
14578
  readonly checkout_id?: string;
@@ -14640,10 +14643,16 @@ declare namespace io.flow.checkout.analytics.v0.unions {
14640
14643
  | io.flow.checkout.analytics.v0.models.HeapFieldBlur
14641
14644
  | io.flow.checkout.analytics.v0.models.HeapFieldFocus
14642
14645
  | io.flow.checkout.analytics.v0.models.HeapFieldValidation
14646
+ | io.flow.checkout.analytics.v0.models.HeapGiftCardApply
14647
+ | io.flow.checkout.analytics.v0.models.HeapGiftCardOpen
14648
+ | io.flow.checkout.analytics.v0.models.HeapGiftCardWithPin
14643
14649
  | io.flow.checkout.analytics.v0.models.HeapPayClick
14644
14650
  | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived
14645
14651
  | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout
14646
14652
  | io.flow.checkout.analytics.v0.models.HeapPerformance
14653
+ | io.flow.checkout.analytics.v0.models.HeapPromoCodeApply
14654
+ | io.flow.checkout.analytics.v0.models.HeapPromoCodeError
14655
+ | io.flow.checkout.analytics.v0.models.HeapPromoCodeOpen
14647
14656
  | io.flow.checkout.analytics.v0.models.HeapPurchase
14648
14657
  | io.flow.checkout.analytics.v0.models.HeapRageClick
14649
14658
  | io.flow.checkout.analytics.v0.models.HeapScriptError
@@ -16883,6 +16892,7 @@ declare namespace io.flow.experiment.internal.v0.models {
16883
16892
  readonly ended_at?: string;
16884
16893
  readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
16885
16894
  readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
16895
+ readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
16886
16896
  }
16887
16897
 
16888
16898
  interface FeatureVariant {
@@ -16983,7 +16993,8 @@ declare namespace io.flow.internal.v0.enums {
16983
16993
  | 'promotion_code_not_supported'
16984
16994
  | 'promotion_code_invalid'
16985
16995
  | 'promotion_code_expired'
16986
- | 'promotion_code_does_not_meet_requirements';
16996
+ | 'promotion_code_does_not_meet_requirements'
16997
+ | 'promotion_code_order_item_not_available';
16987
16998
  type CheckoutAddGiftCardErrorCode =
16988
16999
  | 'gift_card_not_supported'
16989
17000
  | 'gift_card_insufficient_funds'
@@ -17018,7 +17029,8 @@ declare namespace io.flow.internal.v0.enums {
17018
17029
  | 'promotion_code_not_supported'
17019
17030
  | 'promotion_code_invalid'
17020
17031
  | 'promotion_code_expired'
17021
- | 'promotion_code_does_not_meet_requirements';
17032
+ | 'promotion_code_does_not_meet_requirements'
17033
+ | 'promotion_code_order_item_not_available';
17022
17034
  type CheckoutErrorCode =
17023
17035
  | 'generic_error'
17024
17036
  | 'order_identifier_invalid'
@@ -17109,7 +17121,8 @@ declare namespace io.flow.internal.v0.enums {
17109
17121
  | 'promotion_code_not_supported'
17110
17122
  | 'promotion_code_invalid'
17111
17123
  | 'promotion_code_expired'
17112
- | 'promotion_code_does_not_meet_requirements';
17124
+ | 'promotion_code_does_not_meet_requirements'
17125
+ | 'promotion_code_order_item_not_available';
17113
17126
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
17114
17127
  type CheckoutSubmitErrorCode =
17115
17128
  | 'balance_not_zero'
@@ -17164,7 +17177,8 @@ declare namespace io.flow.internal.v0.enums {
17164
17177
  | 'promotion_code_does_not_meet_requirements'
17165
17178
  | 'promotion_code_expired'
17166
17179
  | 'promotion_code_invalid'
17167
- | 'promotion_code_not_supported';
17180
+ | 'promotion_code_not_supported'
17181
+ | 'promotion_code_order_item_not_available';
17168
17182
  type CheckoutUrlType =
17169
17183
  | 'continue_shopping'
17170
17184
  | 'confirmation'
@@ -17210,6 +17224,8 @@ declare namespace io.flow.internal.v0.enums {
17210
17224
  | 'account_orders_export_request'
17211
17225
  | 'master_transaction_upserted'
17212
17226
  | 'master_transaction_deleted'
17227
+ | 'main_transaction_upserted'
17228
+ | 'main_transaction_deleted'
17213
17229
  | 'transfer_transaction_upserted'
17214
17230
  | 'transfer_transaction_deleted'
17215
17231
  | 'processing_transaction_upserted'
@@ -17465,7 +17481,6 @@ declare namespace io.flow.internal.v0.enums {
17465
17481
  | 'excluded';
17466
17482
  type MarketingGatewaySchemaCompatibility =
17467
17483
  | 'google'
17468
- | 'facebook_master'
17469
17484
  | 'facebook_primary'
17470
17485
  | 'facebook_country_override'
17471
17486
  | 'supplemental';
@@ -18373,12 +18388,6 @@ declare namespace io.flow.internal.v0.models {
18373
18388
  readonly secret_key: string;
18374
18389
  }
18375
18390
 
18376
- interface BlacklistedItem {
18377
- readonly id: string;
18378
- readonly organization_id: string;
18379
- readonly item_number: string;
18380
- }
18381
-
18382
18391
  interface BooleanFeatureDefaultValue {
18383
18392
  readonly discriminator: 'boolean';
18384
18393
  readonly value: boolean;
@@ -20356,12 +20365,6 @@ declare namespace io.flow.internal.v0.models {
20356
20365
  readonly secret: string;
20357
20366
  }
20358
20367
 
20359
- interface Customs {
20360
- readonly description?: string;
20361
- readonly hs6?: string;
20362
- readonly hs10?: string;
20363
- }
20364
-
20365
20368
  interface CustomsDescriptionImport {
20366
20369
  readonly discriminator: 'customs_description_import';
20367
20370
  readonly event_id: string;
@@ -21013,6 +21016,7 @@ declare namespace io.flow.internal.v0.models {
21013
21016
  readonly ended_at?: string;
21014
21017
  readonly variants: io.flow.internal.v0.models.FeatureVariant[];
21015
21018
  readonly transitions?: io.flow.internal.v0.enums.Status[];
21019
+ readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
21016
21020
  }
21017
21021
 
21018
21022
  interface FeatureForm {
@@ -21515,11 +21519,6 @@ declare namespace io.flow.internal.v0.models {
21515
21519
  readonly filename?: string;
21516
21520
  }
21517
21521
 
21518
- interface HarmonizationCountries {
21519
- readonly origins: string[];
21520
- readonly destinations: string[];
21521
- }
21522
-
21523
21522
  interface HarmonizationPhraseSuggestionRequestImport {
21524
21523
  readonly discriminator: 'harmonization_phrase_suggestion_request_import';
21525
21524
  readonly event_id: string;
@@ -21530,24 +21529,6 @@ declare namespace io.flow.internal.v0.models {
21530
21529
  readonly filename?: string;
21531
21530
  }
21532
21531
 
21533
- interface HarmonizationStatistics {
21534
- readonly hs6: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
21535
- readonly hs10: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
21536
- readonly origins: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
21537
- }
21538
-
21539
- interface HarmonizationStatisticsBreakout {
21540
- readonly assigned: number;
21541
- readonly unassigned: number;
21542
- }
21543
-
21544
- interface HarmonizationSummary {
21545
- readonly origin: string;
21546
- readonly destination: string;
21547
- readonly items: number;
21548
- readonly codes: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
21549
- }
21550
-
21551
21532
  interface HarmonizeFullyRequestV2 {
21552
21533
  readonly discriminator: 'harmonize_fully_request_v2';
21553
21534
  readonly event_id: string;
@@ -21678,6 +21659,42 @@ declare namespace io.flow.internal.v0.models {
21678
21659
  readonly message: string;
21679
21660
  }
21680
21661
 
21662
+ interface HeapGiftCardApply {
21663
+ readonly discriminator: 'gift_card_apply';
21664
+ readonly checkout_id?: string;
21665
+ readonly experience_key?: string;
21666
+ readonly experiment_key?: string;
21667
+ readonly experiment_variant_key?: string;
21668
+ readonly order_number?: string;
21669
+ readonly organization_id?: string;
21670
+ readonly visit_id?: string;
21671
+ readonly visitor_id?: string;
21672
+ }
21673
+
21674
+ interface HeapGiftCardOpen {
21675
+ readonly discriminator: 'gift_card_open';
21676
+ readonly checkout_id?: string;
21677
+ readonly experience_key?: string;
21678
+ readonly experiment_key?: string;
21679
+ readonly experiment_variant_key?: string;
21680
+ readonly order_number?: string;
21681
+ readonly organization_id?: string;
21682
+ readonly visit_id?: string;
21683
+ readonly visitor_id?: string;
21684
+ }
21685
+
21686
+ interface HeapGiftCardWithPin {
21687
+ readonly discriminator: 'gift_card_with_pin';
21688
+ readonly checkout_id?: string;
21689
+ readonly experience_key?: string;
21690
+ readonly experiment_key?: string;
21691
+ readonly experiment_variant_key?: string;
21692
+ readonly order_number?: string;
21693
+ readonly organization_id?: string;
21694
+ readonly visit_id?: string;
21695
+ readonly visitor_id?: string;
21696
+ }
21697
+
21681
21698
  interface HeapPayClick {
21682
21699
  readonly discriminator: 'pay_click';
21683
21700
  readonly checkout_id?: string;
@@ -21736,6 +21753,46 @@ declare namespace io.flow.internal.v0.models {
21736
21753
  readonly page_rendering_time?: number;
21737
21754
  }
21738
21755
 
21756
+ interface HeapPromoCodeApply {
21757
+ readonly discriminator: 'promo_code_apply';
21758
+ readonly promo_code: string;
21759
+ readonly checkout_id?: string;
21760
+ readonly experience_key?: string;
21761
+ readonly experiment_key?: string;
21762
+ readonly experiment_variant_key?: string;
21763
+ readonly order_number?: string;
21764
+ readonly organization_id?: string;
21765
+ readonly visit_id?: string;
21766
+ readonly visitor_id?: string;
21767
+ }
21768
+
21769
+ interface HeapPromoCodeError {
21770
+ readonly discriminator: 'promo_code_error';
21771
+ readonly error_code: string;
21772
+ readonly error_message: string;
21773
+ readonly promo_code: string;
21774
+ readonly checkout_id?: string;
21775
+ readonly experience_key?: string;
21776
+ readonly experiment_key?: string;
21777
+ readonly experiment_variant_key?: string;
21778
+ readonly order_number?: string;
21779
+ readonly organization_id?: string;
21780
+ readonly visit_id?: string;
21781
+ readonly visitor_id?: string;
21782
+ }
21783
+
21784
+ interface HeapPromoCodeOpen {
21785
+ readonly discriminator: 'promo_code_open';
21786
+ readonly checkout_id?: string;
21787
+ readonly experience_key?: string;
21788
+ readonly experiment_key?: string;
21789
+ readonly experiment_variant_key?: string;
21790
+ readonly order_number?: string;
21791
+ readonly organization_id?: string;
21792
+ readonly visit_id?: string;
21793
+ readonly visitor_id?: string;
21794
+ }
21795
+
21739
21796
  interface HeapPurchase {
21740
21797
  readonly discriminator: 'purchase';
21741
21798
  readonly checkout_id?: string;
@@ -22081,20 +22138,6 @@ declare namespace io.flow.internal.v0.models {
22081
22138
  >;
22082
22139
  }
22083
22140
 
22084
- interface ItemHarmonizationSummary {
22085
- readonly organization_id: string;
22086
- readonly item_id: string;
22087
- readonly item_number: string;
22088
- readonly sub_item_number?: string;
22089
- readonly customs_description?: string;
22090
- readonly origin: string;
22091
- readonly hs6?: string;
22092
- readonly tariff_code?: string;
22093
- readonly duty: io.flow.price.v0.models.Duty;
22094
- readonly price_composition_rate: number;
22095
- readonly duty_composition_rate: number;
22096
- }
22097
-
22098
22141
  interface ItemQueryResponse {
22099
22142
  readonly q: string;
22100
22143
  readonly items: io.flow.catalog.v0.models.Item[];
@@ -22303,35 +22346,6 @@ declare namespace io.flow.internal.v0.models {
22303
22346
  readonly region: string;
22304
22347
  }
22305
22348
 
22306
- interface Levies {
22307
- readonly customs: io.flow.internal.v0.models.Customs;
22308
- readonly duty?: io.flow.price.v0.models.Duty;
22309
- readonly tax?: io.flow.price.v0.models.Tax;
22310
- }
22311
-
22312
- interface LeviesAddress {
22313
- readonly streets?: string[];
22314
- readonly street_number?: string;
22315
- readonly city?: string;
22316
- readonly province?: string;
22317
- readonly postal?: string;
22318
- readonly country: string;
22319
- }
22320
-
22321
- interface LeviesForm {
22322
- readonly item: io.flow.internal.v0.models.LeviesItem;
22323
- readonly from: io.flow.internal.v0.models.LeviesAddress;
22324
- readonly to: io.flow.internal.v0.models.LeviesAddress;
22325
- }
22326
-
22327
- interface LeviesItem {
22328
- readonly number: string;
22329
- readonly name: string;
22330
- readonly categories?: string[];
22331
- readonly attributes: Record<string, string>;
22332
- readonly description: string;
22333
- }
22334
-
22335
22349
  interface Liability {
22336
22350
  readonly delivery_key: string;
22337
22351
  readonly tax_jurisdiction: string;
@@ -22494,7 +22508,6 @@ declare namespace io.flow.internal.v0.models {
22494
22508
  readonly timestamp: string;
22495
22509
  readonly organization: string;
22496
22510
  readonly number: string;
22497
- readonly catalog: string;
22498
22511
  }
22499
22512
 
22500
22513
  interface LocalizedItemDeletedV2 {
@@ -22530,7 +22543,6 @@ declare namespace io.flow.internal.v0.models {
22530
22543
  readonly organization: string;
22531
22544
  readonly id: string;
22532
22545
  readonly item: io.flow.catalog.v0.models.Item;
22533
- readonly catalog: string;
22534
22546
  }
22535
22547
 
22536
22548
  interface LocalizedItemsExportSettings {
@@ -22571,6 +22583,34 @@ declare namespace io.flow.internal.v0.models {
22571
22583
  readonly token: string;
22572
22584
  }
22573
22585
 
22586
+ interface MainTransaction {
22587
+ readonly id: string;
22588
+ readonly account: io.flow.billing.v0.models.AccountReference;
22589
+ readonly type: io.flow.billing.v0.enums.BillingTransactionType;
22590
+ readonly value: io.flow.common.v0.models.Price;
22591
+ readonly posted_at: string;
22592
+ readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
22593
+ readonly created_at: string;
22594
+ readonly original_at?: string;
22595
+ readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
22596
+ }
22597
+
22598
+ interface MainTransactionDeleted {
22599
+ readonly discriminator: 'main_transaction_deleted';
22600
+ readonly event_id: string;
22601
+ readonly timestamp: string;
22602
+ readonly organization: string;
22603
+ readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
22604
+ }
22605
+
22606
+ interface MainTransactionUpserted {
22607
+ readonly discriminator: 'main_transaction_upserted';
22608
+ readonly event_id: string;
22609
+ readonly timestamp: string;
22610
+ readonly organization: string;
22611
+ readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
22612
+ }
22613
+
22574
22614
  interface ManualTransaction {
22575
22615
  readonly discriminator: 'manual_transaction';
22576
22616
  readonly id: string;
@@ -24074,11 +24114,6 @@ declare namespace io.flow.internal.v0.models {
24074
24114
  readonly status: io.flow.experiment.internal.v0.enums.Status;
24075
24115
  }
24076
24116
 
24077
- interface SearchItemHs6Code {
24078
- readonly item: io.flow.common.v0.models.CatalogItemSummary;
24079
- readonly code?: string;
24080
- }
24081
-
24082
24117
  interface SearchItemSummary {
24083
24118
  readonly discriminator: 'search_item_summary';
24084
24119
  readonly number: string;
@@ -24306,6 +24341,19 @@ declare namespace io.flow.internal.v0.models {
24306
24341
  readonly attributes: io.flow.internal.v0.models.ShopifyOrderLineAttribute[];
24307
24342
  }
24308
24343
 
24344
+ interface ShopifyOrganizationSettings {
24345
+ readonly id: string;
24346
+ readonly process_label: boolean;
24347
+ readonly send_order_receipt: boolean;
24348
+ readonly send_inventory_update: boolean;
24349
+ }
24350
+
24351
+ interface ShopifyOrganizationSettingsForm {
24352
+ readonly process_label: boolean;
24353
+ readonly send_order_receipt: boolean;
24354
+ readonly send_inventory_update: boolean;
24355
+ }
24356
+
24309
24357
  interface ShopifyPaymentSummary {
24310
24358
  readonly description: string;
24311
24359
  readonly address?: io.flow.common.v0.models.Address;
@@ -25090,12 +25138,6 @@ declare namespace io.flow.internal.v0.models {
25090
25138
  readonly description: string;
25091
25139
  }
25092
25140
 
25093
- interface UnclassifiedProductsForm {
25094
- readonly organization_id: string;
25095
- readonly product_id: string;
25096
- readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
25097
- }
25098
-
25099
25141
  interface UnclassifiedProductsPurgeRequest {
25100
25142
  readonly num_deleted_products: Record<string, number>;
25101
25143
  }
@@ -25478,6 +25520,8 @@ declare namespace io.flow.internal.v0.unions {
25478
25520
  | io.flow.internal.v0.models.AccountOrdersExportRequest
25479
25521
  | io.flow.internal.v0.models.MasterTransactionUpserted
25480
25522
  | io.flow.internal.v0.models.MasterTransactionDeleted
25523
+ | io.flow.internal.v0.models.MainTransactionUpserted
25524
+ | io.flow.internal.v0.models.MainTransactionDeleted
25481
25525
  | io.flow.internal.v0.models.TransferTransactionUpserted
25482
25526
  | io.flow.internal.v0.models.TransferTransactionDeleted
25483
25527
  | io.flow.internal.v0.models.ProcessingTransactionUpserted
@@ -25669,10 +25713,16 @@ declare namespace io.flow.internal.v0.unions {
25669
25713
  | io.flow.internal.v0.models.HeapFieldBlur
25670
25714
  | io.flow.internal.v0.models.HeapFieldFocus
25671
25715
  | io.flow.internal.v0.models.HeapFieldValidation
25716
+ | io.flow.internal.v0.models.HeapGiftCardApply
25717
+ | io.flow.internal.v0.models.HeapGiftCardOpen
25718
+ | io.flow.internal.v0.models.HeapGiftCardWithPin
25672
25719
  | io.flow.internal.v0.models.HeapPayClick
25673
25720
  | io.flow.internal.v0.models.HeapPaymentFormDataReceived
25674
25721
  | io.flow.internal.v0.models.HeapPaymentFormDataTimeout
25675
25722
  | io.flow.internal.v0.models.HeapPerformance
25723
+ | io.flow.internal.v0.models.HeapPromoCodeApply
25724
+ | io.flow.internal.v0.models.HeapPromoCodeError
25725
+ | io.flow.internal.v0.models.HeapPromoCodeOpen
25676
25726
  | io.flow.internal.v0.models.HeapPurchase
25677
25727
  | io.flow.internal.v0.models.HeapRageClick
25678
25728
  | io.flow.internal.v0.models.HeapScriptError
@@ -25929,7 +25979,6 @@ export type BitpayAccountPutForm = io.flow.internal.v0.models.BitpayAccountPutFo
25929
25979
  export type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthentication;
25930
25980
  export type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference;
25931
25981
  export type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm;
25932
- export type BlacklistedItem = io.flow.internal.v0.models.BlacklistedItem;
25933
25982
  export type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue;
25934
25983
  export type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule;
25935
25984
  export type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm;
@@ -26382,7 +26431,6 @@ export type CryptoAuthenticationForm = io.flow.internal.v0.models.CryptoAuthenti
26382
26431
  export type CurrencyInternalRate = io.flow.internal.v0.models.CurrencyInternalRate;
26383
26432
  export type CustomerPurgeUpserted = io.flow.internal.v0.models.CustomerPurgeUpserted;
26384
26433
  export type CustomerSecret = io.flow.internal.v0.models.CustomerSecret;
26385
- export type Customs = io.flow.internal.v0.models.Customs;
26386
26434
  export type CustomsDescriptionImport = io.flow.internal.v0.models.CustomsDescriptionImport;
26387
26435
  export type CustomsDescriptionStatistics = io.flow.internal.v0.models.CustomsDescriptionStatistics;
26388
26436
  export type CustomsDescriptionSuggestion = io.flow.internal.v0.models.CustomsDescriptionSuggestion;
@@ -26572,11 +26620,7 @@ export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleS
26572
26620
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
26573
26621
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
26574
26622
  export type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
26575
- export type HarmonizationCountries = io.flow.internal.v0.models.HarmonizationCountries;
26576
26623
  export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport;
26577
- export type HarmonizationStatistics = io.flow.internal.v0.models.HarmonizationStatistics;
26578
- export type HarmonizationStatisticsBreakout = io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
26579
- export type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
26580
26624
  export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
26581
26625
  export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
26582
26626
  export type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
@@ -26589,10 +26633,16 @@ export type HeapExitCheckout = io.flow.internal.v0.models.HeapExitCheckout;
26589
26633
  export type HeapFieldBlur = io.flow.internal.v0.models.HeapFieldBlur;
26590
26634
  export type HeapFieldFocus = io.flow.internal.v0.models.HeapFieldFocus;
26591
26635
  export type HeapFieldValidation = io.flow.internal.v0.models.HeapFieldValidation;
26636
+ export type HeapGiftCardApply = io.flow.internal.v0.models.HeapGiftCardApply;
26637
+ export type HeapGiftCardOpen = io.flow.internal.v0.models.HeapGiftCardOpen;
26638
+ export type HeapGiftCardWithPin = io.flow.internal.v0.models.HeapGiftCardWithPin;
26592
26639
  export type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
26593
26640
  export type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
26594
26641
  export type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
26595
26642
  export type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
26643
+ export type HeapPromoCodeApply = io.flow.internal.v0.models.HeapPromoCodeApply;
26644
+ export type HeapPromoCodeError = io.flow.internal.v0.models.HeapPromoCodeError;
26645
+ export type HeapPromoCodeOpen = io.flow.internal.v0.models.HeapPromoCodeOpen;
26596
26646
  export type HeapPurchase = io.flow.internal.v0.models.HeapPurchase;
26597
26647
  export type HeapRageClick = io.flow.internal.v0.models.HeapRageClick;
26598
26648
  export type HeapScriptError = io.flow.internal.v0.models.HeapScriptError;
@@ -26649,7 +26699,6 @@ export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesFo
26649
26699
  export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
26650
26700
  export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
26651
26701
  export type ItemHarmonizationStatus = io.flow.internal.v0.enums.ItemHarmonizationStatus;
26652
- export type ItemHarmonizationSummary = io.flow.internal.v0.models.ItemHarmonizationSummary;
26653
26702
  export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
26654
26703
  export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
26655
26704
  export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;
@@ -26683,10 +26732,6 @@ export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
26683
26732
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
26684
26733
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
26685
26734
  export type Landmark = io.flow.internal.v0.models.Landmark;
26686
- export type Levies = io.flow.internal.v0.models.Levies;
26687
- export type LeviesAddress = io.flow.internal.v0.models.LeviesAddress;
26688
- export type LeviesForm = io.flow.internal.v0.models.LeviesForm;
26689
- export type LeviesItem = io.flow.internal.v0.models.LeviesItem;
26690
26735
  export type Liability = io.flow.internal.v0.models.Liability;
26691
26736
  export type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
26692
26737
  export type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;
@@ -26721,6 +26766,9 @@ export type LoyaltyProgramMessage = io.flow.internal.v0.models.LoyaltyProgramMes
26721
26766
  export type LoyaltyProgramReward = io.flow.internal.v0.models.LoyaltyProgramReward;
26722
26767
  export type LoyaltyProgramRewards = io.flow.internal.v0.models.LoyaltyProgramRewards;
26723
26768
  export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
26769
+ export type MainTransaction = io.flow.internal.v0.models.MainTransaction;
26770
+ export type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
26771
+ export type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted;
26724
26772
  export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
26725
26773
  export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
26726
26774
  export type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
@@ -26978,7 +27026,6 @@ export type SearchAuthorization = io.flow.internal.v0.models.SearchAuthorization
26978
27026
  export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
26979
27027
  export type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary;
26980
27028
  export type SearchExperimentSummary = io.flow.internal.v0.models.SearchExperimentSummary;
26981
- export type SearchItemHs6Code = io.flow.internal.v0.models.SearchItemHs6Code;
26982
27029
  export type SearchItemSummary = io.flow.internal.v0.models.SearchItemSummary;
26983
27030
  export type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
26984
27031
  export type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
@@ -27020,6 +27067,8 @@ export type ShopifyOrderDiscountContent = io.flow.internal.v0.models.ShopifyOrde
27020
27067
  export type ShopifyOrderInventoryCheck = io.flow.internal.v0.models.ShopifyOrderInventoryCheck;
27021
27068
  export type ShopifyOrderLineAttribute = io.flow.internal.v0.models.ShopifyOrderLineAttribute;
27022
27069
  export type ShopifyOrderLineContent = io.flow.internal.v0.models.ShopifyOrderLineContent;
27070
+ export type ShopifyOrganizationSettings = io.flow.internal.v0.models.ShopifyOrganizationSettings;
27071
+ export type ShopifyOrganizationSettingsForm = io.flow.internal.v0.models.ShopifyOrganizationSettingsForm;
27023
27072
  export type ShopifyPaymentSummary = io.flow.internal.v0.models.ShopifyPaymentSummary;
27024
27073
  export type ShopifyPromoForm = io.flow.internal.v0.models.ShopifyPromoForm;
27025
27074
  export type ShopifyPromotion = io.flow.internal.v0.models.ShopifyPromotion;
@@ -27153,7 +27202,6 @@ export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTran
27153
27202
  export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
27154
27203
  export type Tribe = io.flow.internal.v0.models.Tribe;
27155
27204
  export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
27156
- export type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
27157
27205
  export type UnclassifiedProductsPurgeRequest = io.flow.internal.v0.models.UnclassifiedProductsPurgeRequest;
27158
27206
  export type UnclassifiedProductsSummary = io.flow.internal.v0.models.UnclassifiedProductsSummary;
27159
27207
  export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;