@flowio/types 0.0.9 → 0.0.11

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.
@@ -3159,6 +3159,164 @@ namespace io.flow.external.paypal.v1.models {
3159
3159
 
3160
3160
  namespace io.flow.external.paypal.v1.unions {}
3161
3161
 
3162
+ namespace io.flow.bundle.internal.v0.enums {
3163
+ export type CheckoutErrorCode =
3164
+ | 'generic_error'
3165
+ | 'order_identifier_invalid'
3166
+ | 'url_invalid'
3167
+ | 'organization_invalid'
3168
+ | 'session_invalid'
3169
+ | 'session_organization_invalid';
3170
+ }
3171
+
3172
+ namespace io.flow.bundle.internal.v0.models {
3173
+ export interface Checkout {
3174
+ readonly id: string;
3175
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
3176
+ readonly builder: io.flow.experience.v0.models.OrderBuilder;
3177
+ readonly content: io.flow.bundle.internal.v0.models.CheckoutContent;
3178
+ readonly destinations: io.flow.reference.v0.models.Country[];
3179
+ readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
3180
+ readonly addresses: unknown[];
3181
+ readonly features: io.flow.feature.v0.models.FeatureValueResult;
3182
+ readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
3183
+ readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
3184
+ readonly customer?: io.flow.customer.v0.models.Customer;
3185
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
3186
+ readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
3187
+ readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
3188
+ readonly payment: io.flow.bundle.internal.v0.models.CheckoutPayment;
3189
+ }
3190
+
3191
+ export interface CheckoutBundle {
3192
+ readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
3193
+ readonly order: io.flow.experience.v0.models.Order;
3194
+ readonly order_errors?: io.flow.experience.v0.models.OrderError[];
3195
+ readonly checkout?: io.flow.content.internal.v0.models.CheckoutContentSummary;
3196
+ readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
3197
+ readonly destinations: io.flow.reference.v0.models.Country[];
3198
+ readonly features: io.flow.feature.v0.models.FeatureValueResult;
3199
+ readonly provinces: io.flow.reference.v0.models.Province[];
3200
+ readonly checkout_items: io.flow.experience.v0.models.CheckoutItemContent[];
3201
+ readonly metadata?: io.flow.bundle.internal.v0.models.CheckoutBundleMetadata;
3202
+ readonly configuration?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
3203
+ readonly address_configurations?: unknown[];
3204
+ readonly customer?: io.flow.customer.v0.models.Customer;
3205
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
3206
+ readonly payment_sources?: unknown[];
3207
+ }
3208
+
3209
+ export interface CheckoutBundleMetadata {
3210
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
3211
+ }
3212
+
3213
+ export interface CheckoutContent {
3214
+ readonly global?: io.flow.content.internal.v0.models.CheckoutContentSummary;
3215
+ readonly items: io.flow.experience.v0.models.CheckoutItemContent[];
3216
+ }
3217
+
3218
+ export interface CheckoutError {
3219
+ readonly code: io.flow.bundle.internal.v0.enums.CheckoutErrorCode;
3220
+ readonly messages: string[];
3221
+ readonly organization?: io.flow.common.v0.models.OrganizationReference;
3222
+ }
3223
+
3224
+ export interface CheckoutFinalizeOrderForm {
3225
+ readonly expected_order_summary: io.flow.bundle.internal.v0.models.ExpectedOrderSummary;
3226
+ readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
3227
+ }
3228
+
3229
+ export interface CheckoutOrderForm {
3230
+ readonly organization: string;
3231
+ readonly order: io.flow.experience.v0.models.OrderPutForm;
3232
+ readonly customer?: io.flow.customer.v0.models.CustomerForm;
3233
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
3234
+ readonly payment_sources?: unknown[];
3235
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
3236
+ readonly identifiers?: unknown[];
3237
+ readonly feature_keys?: string[];
3238
+ }
3239
+
3240
+ export interface CheckoutOrderNumberForm {
3241
+ readonly organization: string;
3242
+ readonly order_number: string;
3243
+ readonly customer?: io.flow.customer.v0.models.CustomerForm;
3244
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
3245
+ readonly payment_sources?: unknown[];
3246
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
3247
+ readonly identifiers?: unknown[];
3248
+ readonly feature_keys?: string[];
3249
+ }
3250
+
3251
+ export interface CheckoutPayment {
3252
+ readonly authorizations: io.flow.payment.v0.unions.Authorization[];
3253
+ readonly sources: unknown[];
3254
+ readonly public_key: io.flow.payment.v0.models.PublicKey;
3255
+ readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
3256
+ readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
3257
+ }
3258
+
3259
+ export interface CheckoutReferenceForm {
3260
+ readonly order_number: string;
3261
+ readonly order_form: io.flow.experience.v0.models.OrderPutForm;
3262
+ readonly order_geo: io.flow.experience.v0.models.OrderGeo;
3263
+ readonly session_id: string;
3264
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
3265
+ readonly identifiers?: unknown[];
3266
+ }
3267
+
3268
+ export interface CheckoutSourceOrderForm {
3269
+ readonly source_order_number: string;
3270
+ readonly feature_q?: string;
3271
+ }
3272
+
3273
+ export interface CheckoutSubmission {
3274
+ readonly builder: io.flow.experience.v0.models.OrderBuilder;
3275
+ readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
3276
+ }
3277
+
3278
+ export interface CheckoutSubmissionForm {
3279
+ readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
3280
+ readonly installment_program_id?: string;
3281
+ readonly expected_order_summary?: io.flow.bundle.internal.v0.models.ExpectedOrderSummary;
3282
+ readonly feature_keys?: string[];
3283
+ }
3284
+
3285
+ export interface CheckoutSubmitOrderBundle {
3286
+ readonly order?: io.flow.experience.v0.models.Order;
3287
+ readonly redirect?: io.flow.payment.v0.unions.AuthorizationResultAction;
3288
+ readonly errors?: io.flow.experience.v0.models.OrderError[];
3289
+ }
3290
+
3291
+ export interface CheckoutSubmitOrderForm {
3292
+ readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
3293
+ readonly installment_program_id?: string;
3294
+ readonly expected_order_summary?: io.flow.bundle.internal.v0.models.ExpectedOrderSummary;
3295
+ }
3296
+
3297
+ export interface ExpectedOrderSummary {
3298
+ readonly total?: io.flow.common.v0.models.Money;
3299
+ }
3300
+ }
3301
+
3302
+ namespace io.flow.bundle.internal.v0.unions {
3303
+ export type CheckoutForm =
3304
+ | {
3305
+ discriminator: 'order';
3306
+ } & io.flow.bundle.internal.v0.models.CheckoutOrderForm
3307
+ | {
3308
+ discriminator: 'order_number';
3309
+ } & io.flow.bundle.internal.v0.models.CheckoutOrderNumberForm;
3310
+
3311
+ export type CheckoutSubmitOrderBundles = {
3312
+ discriminator: 'checkout_submit_order_bundle';
3313
+ } & io.flow.bundle.internal.v0.models.CheckoutSubmitOrderBundle;
3314
+
3315
+ export type CheckoutSubmitOrderForms = {
3316
+ discriminator: 'checkout_submit_order_form';
3317
+ } & io.flow.bundle.internal.v0.models.CheckoutSubmitOrderForm;
3318
+ }
3319
+
3162
3320
  namespace io.flow.price.internal.v0.enums {
3163
3321
  export type DeminimisAdjustmentType =
3164
3322
  | 'none'
@@ -4318,7 +4476,6 @@ namespace io.flow.search.v0.unions {
4318
4476
  }
4319
4477
 
4320
4478
  namespace io.flow.harmonization.internal.v0.enums {
4321
- export type DutyType = 'General';
4322
4479
  export type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
4323
4480
  export type ItemClassificationStatus =
4324
4481
  | 'Unclassified'
@@ -4333,18 +4490,6 @@ namespace io.flow.harmonization.internal.v0.models {
4333
4490
  readonly item_number: string;
4334
4491
  }
4335
4492
 
4336
- export interface ClassificationFeatureSetDefault {
4337
- readonly organization_id: string;
4338
- readonly default: io.flow.harmonization.internal.v0.unions.ClassificationFeatureSet;
4339
- }
4340
-
4341
- export interface ClassificationFeaturesCategoryApparel {
4342
- readonly item_identity?: string;
4343
- readonly construction?: string;
4344
- readonly material?: string;
4345
- readonly gender?: string;
4346
- }
4347
-
4348
4493
  export interface ClassificationItem {
4349
4494
  readonly id: string;
4350
4495
  readonly organization_id: string;
@@ -4448,12 +4593,6 @@ namespace io.flow.harmonization.internal.v0.models {
4448
4593
  readonly codes: io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
4449
4594
  }
4450
4595
 
4451
- export interface Hs10PhraseHintForm {
4452
- readonly code: string;
4453
- readonly destination: string;
4454
- readonly phrase: string;
4455
- }
4456
-
4457
4596
  export interface ItemHarmonization {
4458
4597
  readonly organization_id: string;
4459
4598
  readonly item_number: string;
@@ -4466,10 +4605,6 @@ namespace io.flow.harmonization.internal.v0.models {
4466
4605
  };
4467
4606
  }
4468
4607
 
4469
- export interface PhraseReference {
4470
- readonly id: string;
4471
- }
4472
-
4473
4608
  export interface ProductClassificationForm {
4474
4609
  readonly organization_id: string;
4475
4610
  readonly product_id: string;
@@ -4483,37 +4618,6 @@ namespace io.flow.harmonization.internal.v0.models {
4483
4618
  readonly next_product?: io.flow.harmonization.internal.v0.models.ClassificationProductId;
4484
4619
  }
4485
4620
 
4486
- export interface ProductDetailHintForm {
4487
- readonly name?: string;
4488
- readonly description?: string;
4489
- readonly categories?: string;
4490
- readonly materials?: string;
4491
- readonly brand?: string;
4492
- readonly department?: string;
4493
- }
4494
-
4495
- export interface ProductPhrase {
4496
- readonly id: string;
4497
- readonly product: io.flow.harmonization.internal.v0.models.ProductReference;
4498
- readonly phrase: io.flow.harmonization.internal.v0.models.PhraseReference;
4499
- }
4500
-
4501
- export interface ProductPhraseForm {
4502
- readonly product_id: string;
4503
- readonly phrase_id: string;
4504
- }
4505
-
4506
- export interface ProductReference {
4507
- readonly id: string;
4508
- }
4509
-
4510
- export interface SearchItemHs10Code {
4511
- readonly item: io.flow.common.v0.models.CatalogItemSummary;
4512
- readonly destination: string;
4513
- readonly code?: string;
4514
- readonly origin?: string;
4515
- }
4516
-
4517
4621
  export interface SearchItemHs6Code {
4518
4622
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
4519
4623
  readonly code?: string;
@@ -4562,10 +4666,6 @@ namespace io.flow.harmonization.internal.v0.models {
4562
4666
  }
4563
4667
 
4564
4668
  namespace io.flow.harmonization.internal.v0.unions {
4565
- export type ClassificationFeatureSet = {
4566
- discriminator: 'classification_features_category_apparel';
4567
- } & io.flow.harmonization.internal.v0.models.ClassificationFeaturesCategoryApparel;
4568
-
4569
4669
  export type TaskData =
4570
4670
  | {
4571
4671
  discriminator: 'task_process_queued_event';
@@ -5018,6 +5118,7 @@ namespace io.flow.shopify.v0.models {
5018
5118
 
5019
5119
  export interface ShopifyCartConversionFlowOrder {
5020
5120
  readonly order: io.flow.experience.v0.models.Order;
5121
+ readonly errors?: io.flow.experience.v0.models.OrderError[];
5021
5122
  }
5022
5123
 
5023
5124
  export interface ShopifyCartConversionShopifyCart {
@@ -5155,10 +5256,14 @@ namespace io.flow.shopify.v0.models {
5155
5256
  }
5156
5257
 
5157
5258
  export interface ShopifyOrderDeliveryMetafield {
5259
+ readonly key?: string;
5158
5260
  readonly items: io.flow.shopify.v0.models.ShopifyOrderDeliveryMetafieldItem[];
5159
5261
  readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
5160
5262
  readonly window: io.flow.fulfillment.v0.models.DeliveryWindow;
5161
5263
  readonly cost?: io.flow.common.v0.models.MoneyWithOptionalBase;
5264
+ readonly prices?: io.flow.shopify.v0.models.ShopifyPrice[];
5265
+ readonly total?: io.flow.shopify.v0.models.ShopifyPrice;
5266
+ readonly merchant_of_record_entity?: io.flow.common.v0.models.MerchantOfRecordEntity;
5162
5267
  }
5163
5268
 
5164
5269
  export interface ShopifyOrderDeliveryMetafieldItem {
@@ -6948,6 +7053,35 @@ namespace io.flow.experience.internal.v0.unions {
6948
7053
  } & io.flow.experience.internal.v0.models.DiscountRequestOfferFixedAmountForm;
6949
7054
  }
6950
7055
 
7056
+ namespace io.flow.fulfillment.internal.v0.enums {}
7057
+
7058
+ namespace io.flow.fulfillment.internal.v0.models {
7059
+ export interface CenterQueryBuilder {
7060
+ readonly placeholder: string;
7061
+ }
7062
+
7063
+ export interface FulfillmentExperienceReference {
7064
+ readonly id: string;
7065
+ readonly key: string;
7066
+ }
7067
+
7068
+ export interface PregeneratedQuote {
7069
+ readonly id: string;
7070
+ readonly experience: io.flow.fulfillment.internal.v0.models.FulfillmentExperienceReference;
7071
+ readonly destination_country: string;
7072
+ readonly item: io.flow.common.v0.models.ItemReference;
7073
+ readonly quote?: io.flow.fulfillment.v0.models.Quote;
7074
+ readonly errors?: string[];
7075
+ }
7076
+
7077
+ export interface PrioritizedCenterReference {
7078
+ readonly center_key: string;
7079
+ readonly position: number;
7080
+ }
7081
+ }
7082
+
7083
+ namespace io.flow.fulfillment.internal.v0.unions {}
7084
+
6951
7085
  namespace io.flow.duty.internal.v0.enums {
6952
7086
  export type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
6953
7087
  export type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
@@ -7780,6 +7914,13 @@ namespace io.flow.RESERVED_WORD_export.v0.models {
7780
7914
  readonly sort?: string;
7781
7915
  }
7782
7916
 
7917
+ export interface PriceBookItemExportType {
7918
+ readonly price_book_key: string;
7919
+ readonly item_numbers?: string[];
7920
+ readonly start_date?: string;
7921
+ readonly end_date?: string;
7922
+ }
7923
+
7783
7924
  export interface ScheduledExport {
7784
7925
  readonly id: string;
7785
7926
  readonly user: io.flow.common.v0.models.UserReference;
@@ -7854,6 +7995,9 @@ namespace io.flow.RESERVED_WORD_export.v0.unions {
7854
7995
  | {
7855
7996
  discriminator: 'order_export_type';
7856
7997
  } & io.flow.RESERVED_WORD_export.v0.models.OrderExportType
7998
+ | {
7999
+ discriminator: 'price_book_item_export_type';
8000
+ } & io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
7857
8001
  | {
7858
8002
  discriminator: 'solidus_product_export_type';
7859
8003
  } & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
@@ -9832,11 +9976,6 @@ namespace io.flow.installment.v0.unions {
9832
9976
  namespace io.flow.label.internal.v0.enums {
9833
9977
  export type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9834
9978
  export type LabelBillingStrategy = 'quote' | 'carrier';
9835
- export type LabelInvoiceDetailKey =
9836
- | 'package'
9837
- | 'duty_tax'
9838
- | 'fuel_surcharge'
9839
- | 'other';
9840
9979
  }
9841
9980
 
9842
9981
  namespace io.flow.label.internal.v0.models {
@@ -9862,42 +10001,6 @@ namespace io.flow.label.internal.v0.models {
9862
10001
  readonly organization: string;
9863
10002
  readonly default_contents: string;
9864
10003
  }
9865
-
9866
- export interface LabelInvoice {
9867
- readonly id: string;
9868
- readonly carrier_tracking_number: string;
9869
- readonly flow_tracking_number: string;
9870
- readonly strategy: io.flow.label.internal.v0.enums.LabelBillingStrategy;
9871
- readonly carrier_invoice: io.flow.label.internal.v0.models.CarrierInvoice;
9872
- readonly charged_weight: io.flow.common.v0.models.Measurement;
9873
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
9874
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
9875
- readonly details: io.flow.label.internal.v0.models.LabelInvoiceDetail[];
9876
- readonly total: io.flow.label.internal.v0.models.LabelInvoiceTotal;
9877
- }
9878
-
9879
- export interface LabelInvoiceDetail {
9880
- readonly key: io.flow.label.internal.v0.enums.LabelInvoiceDetailKey;
9881
- readonly amount: number;
9882
- readonly currency: string;
9883
- }
9884
-
9885
- export interface LabelInvoiceForm {
9886
- readonly carrier_tracking_number: string;
9887
- readonly flow_tracking_number: string;
9888
- readonly strategy: io.flow.label.internal.v0.enums.LabelBillingStrategy;
9889
- readonly carrier_invoice: io.flow.label.internal.v0.models.CarrierInvoice;
9890
- readonly charged_weight: io.flow.common.v0.models.Measurement;
9891
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
9892
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
9893
- readonly details: io.flow.label.internal.v0.models.LabelInvoiceDetail[];
9894
- readonly total: io.flow.label.internal.v0.models.LabelInvoiceTotal;
9895
- }
9896
-
9897
- export interface LabelInvoiceTotal {
9898
- readonly amount: number;
9899
- readonly currency: string;
9900
- }
9901
10004
  }
9902
10005
 
9903
10006
  namespace io.flow.label.internal.v0.unions {}
@@ -9931,6 +10034,7 @@ namespace io.flow.experiment.internal.v0.models {
9931
10034
  }
9932
10035
 
9933
10036
  export interface ExperimentResults {
10037
+ readonly id: string;
9934
10038
  readonly experiment_variant_key: string;
9935
10039
  readonly visitor_count: number;
9936
10040
  readonly visitors_with_transactions_count: number;
@@ -10319,15 +10423,7 @@ namespace io.flow.content.internal.v0.models {
10319
10423
  readonly required: boolean;
10320
10424
  }
10321
10425
 
10322
- export interface Checkout {
10323
- readonly customer_service: io.flow.content.internal.v0.models.LabeledContent;
10324
- readonly checkout: io.flow.content.internal.v0.models.CheckoutContent;
10325
- readonly payments: io.flow.content.internal.v0.models.CheckoutPaymentContent;
10326
- readonly marketing: io.flow.content.internal.v0.models.CheckoutMarketingContent;
10327
- readonly footer: io.flow.content.internal.v0.unions.ContentItem[];
10328
- }
10329
-
10330
- export interface CheckoutContent {
10426
+ export interface CheckoutContentDetails {
10331
10427
  readonly contact_us: io.flow.content.internal.v0.unions.ContentItem;
10332
10428
  readonly logo: io.flow.content.internal.v0.models.Logo;
10333
10429
  readonly privacy_policy?: io.flow.content.internal.v0.unions.ContentItem;
@@ -10335,6 +10431,14 @@ namespace io.flow.content.internal.v0.models {
10335
10431
  readonly order_summary_message?: io.flow.content.internal.v0.models.Label;
10336
10432
  }
10337
10433
 
10434
+ export interface CheckoutContentSummary {
10435
+ readonly customer_service: io.flow.content.internal.v0.models.LabeledContent;
10436
+ readonly checkout: io.flow.content.internal.v0.models.CheckoutContentDetails;
10437
+ readonly payments: io.flow.content.internal.v0.models.CheckoutPaymentContent;
10438
+ readonly marketing: io.flow.content.internal.v0.models.CheckoutMarketingContent;
10439
+ readonly footer: io.flow.content.internal.v0.unions.ContentItem[];
10440
+ }
10441
+
10338
10442
  export interface CheckoutMarketingContent {
10339
10443
  readonly optins: io.flow.content.internal.v0.models.Checkbox[];
10340
10444
  }
@@ -10969,6 +11073,11 @@ namespace io.flow.customer.v0.models {
10969
11073
  readonly type: io.flow.customer.v0.enums.CustomerAddressType;
10970
11074
  }
10971
11075
 
11076
+ export interface CustomerBundle {
11077
+ readonly customer: io.flow.customer.v0.models.Customer;
11078
+ readonly last_used?: io.flow.customer.v0.models.CustomerLastUsed;
11079
+ }
11080
+
10972
11081
  export interface CustomerForm {
10973
11082
  readonly number: string;
10974
11083
  readonly email?: string;
@@ -10976,6 +11085,17 @@ namespace io.flow.customer.v0.models {
10976
11085
  readonly phone?: string;
10977
11086
  }
10978
11087
 
11088
+ export interface CustomerLastUsed {
11089
+ readonly order: io.flow.customer.v0.models.CustomerOrder;
11090
+ }
11091
+
11092
+ export interface CustomerOrder {
11093
+ readonly number: string;
11094
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
11095
+ readonly payments?: io.flow.experience.v0.models.OrderPayment[];
11096
+ readonly submitted_at?: string;
11097
+ }
11098
+
10979
11099
  export interface CustomerPutForm {
10980
11100
  readonly email?: string;
10981
11101
  readonly name?: io.flow.common.v0.models.Name;
@@ -11724,6 +11844,57 @@ namespace io.flow.permission.v0.unions {
11724
11844
  };
11725
11845
  }
11726
11846
 
11847
+ namespace io.flow.checkout.v0.enums {}
11848
+
11849
+ namespace io.flow.checkout.v0.models {
11850
+ export interface CheckoutToken {
11851
+ readonly id: string;
11852
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
11853
+ readonly checkout: unknown;
11854
+ readonly order: io.flow.experience.v0.models.OrderNumberReference;
11855
+ readonly urls: io.flow.checkout.v0.models.CheckoutUrls;
11856
+ readonly expires_at: string;
11857
+ readonly session: unknown;
11858
+ readonly customer?: unknown;
11859
+ }
11860
+
11861
+ export interface CheckoutTokenOrderForm {
11862
+ readonly order_form: io.flow.experience.v0.models.OrderForm;
11863
+ readonly customer?: io.flow.customer.v0.models.CustomerForm;
11864
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
11865
+ readonly payment_sources?: unknown[];
11866
+ readonly session_id: string;
11867
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
11868
+ readonly identifiers?: unknown[];
11869
+ }
11870
+
11871
+ export interface CheckoutTokenReferenceForm {
11872
+ readonly order_number: string;
11873
+ readonly session_id: string;
11874
+ readonly urls: io.flow.checkout.v0.models.CheckoutUrlsForm;
11875
+ }
11876
+
11877
+ export interface CheckoutUrls {
11878
+ readonly continue_shopping?: string;
11879
+ readonly confirmation?: string;
11880
+ }
11881
+
11882
+ export interface CheckoutUrlsForm {
11883
+ readonly continue_shopping?: string;
11884
+ readonly confirmation?: string;
11885
+ }
11886
+ }
11887
+
11888
+ namespace io.flow.checkout.v0.unions {
11889
+ export type CheckoutTokenForm =
11890
+ | {
11891
+ discriminator: 'checkout_token_order_form';
11892
+ } & io.flow.checkout.v0.models.CheckoutTokenOrderForm
11893
+ | {
11894
+ discriminator: 'checkout_token_reference_form';
11895
+ } & io.flow.checkout.v0.models.CheckoutTokenReferenceForm;
11896
+ }
11897
+
11727
11898
  namespace io.flow.order.management.v0.enums {
11728
11899
  export type CancelReason =
11729
11900
  | 'out_of_stock'
@@ -11837,9 +12008,14 @@ namespace io.flow.internal.v0.enums {
11837
12008
  | 'price_book_items_query_import';
11838
12009
  export type CheckoutErrorCode =
11839
12010
  | 'generic_error'
12011
+ | 'order_identifier_invalid'
12012
+ | 'url_invalid'
11840
12013
  | 'organization_invalid'
11841
12014
  | 'session_invalid'
11842
- | 'session_organization_invalid';
12015
+ | 'session_organization_invalid'
12016
+ | 'country_invalid'
12017
+ | 'currency_invalid'
12018
+ | 'language_invalid';
11843
12019
  export type CheckoutPromptBehavior = 'always' | 'incomplete';
11844
12020
  export type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
11845
12021
  export type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
@@ -11918,6 +12094,8 @@ namespace io.flow.internal.v0.enums {
11918
12094
  | 'submitted_order_upserted'
11919
12095
  | 'experiment_upserted'
11920
12096
  | 'experiment_deleted'
12097
+ | 'experiment_results_upserted'
12098
+ | 'experiment_results_deleted'
11921
12099
  | 'export_completed'
11922
12100
  | 'export_failed'
11923
12101
  | 'fraud_review_upserted'
@@ -11929,6 +12107,9 @@ namespace io.flow.internal.v0.enums {
11929
12107
  | 'ftp_file_upserted'
11930
12108
  | 'ftp_file_deleted'
11931
12109
  | 'ftp_file_to_process_uploaded'
12110
+ | 'pregenerated_quote_upserted'
12111
+ | 'pregenerated_quote_deleted'
12112
+ | 'pregenerated_request_event'
11932
12113
  | 'blacklisted_item_created'
11933
12114
  | 'blacklisted_item_updated'
11934
12115
  | 'blacklisted_item_deleted'
@@ -11957,8 +12138,6 @@ namespace io.flow.internal.v0.enums {
11957
12138
  | 'installment_plan_authorization_deleted'
11958
12139
  | 'issuer_upserted'
11959
12140
  | 'issuer_deleted'
11960
- | 'label_invoice_upserted'
11961
- | 'label_invoice_deleted'
11962
12141
  | 'localized_item_upserted_v2'
11963
12142
  | 'localized_item_deleted'
11964
12143
  | 'localized_item_deleted_v2'
@@ -12011,8 +12190,10 @@ namespace io.flow.internal.v0.enums {
12011
12190
  | 'user_deleted';
12012
12191
  export type ExclusionRuleState = 'current' | 'deleting' | 'updating';
12013
12192
  export type ExperienceImportType = 'experience_with_settings';
12014
- export type ExperienceOrderAction = 'submit';
12015
- export type ExperienceOrderActionTrigger = 'zero_balance';
12193
+ export type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
12194
+ export type ExperienceOrderActionTrigger =
12195
+ | 'zero_balance'
12196
+ | 'unsubmitted_order';
12016
12197
  export type FeatureScope = 'global' | 'organization';
12017
12198
  export type FeatureStatus = 'draft' | 'active' | 'archived';
12018
12199
  export type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -12050,11 +12231,6 @@ namespace io.flow.internal.v0.enums {
12050
12231
  | 'fulfillment_cancel'
12051
12232
  | 'fulfillment_generate_label';
12052
12233
  export type LabelBillingStrategy = 'quote' | 'carrier';
12053
- export type LabelInvoiceDetailKey =
12054
- | 'package'
12055
- | 'duty_tax'
12056
- | 'fuel_surcharge'
12057
- | 'other';
12058
12234
  export type MarketingGatewayAccountConnectionStatus =
12059
12235
  | 'not_connected'
12060
12236
  | 'connected'
@@ -12080,6 +12256,10 @@ namespace io.flow.internal.v0.enums {
12080
12256
  | 'pending'
12081
12257
  | 'not_found'
12082
12258
  | 'excluded';
12259
+ export type MarketingGatewaySchemaCompatibility =
12260
+ | 'google'
12261
+ | 'facebook_master'
12262
+ | 'facebook_country_override';
12083
12263
  export type MarketingGatewaySyncStatus =
12084
12264
  | 'pending'
12085
12265
  | 'ongoing'
@@ -12140,6 +12320,11 @@ namespace io.flow.internal.v0.enums {
12140
12320
  | 'require_consent'
12141
12321
  | 'consent_by_default';
12142
12322
  export type PromptTarget = 'browse' | 'checkout';
12323
+ export type QuoteRequestType =
12324
+ | 'generate'
12325
+ | 'delete'
12326
+ | 'update_currency_rate'
12327
+ | 'update_country';
12143
12328
  export type RateSource = 'calculated' | 'market';
12144
12329
  export type RedirectReason = 'three_d_secure';
12145
12330
  export type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
@@ -12166,6 +12351,7 @@ namespace io.flow.internal.v0.enums {
12166
12351
  export type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
12167
12352
  export type Status = 'draft' | 'ended' | 'live';
12168
12353
  export type SubscriptionFrequency = 'yearly' | 'monthly';
12354
+ export type SuggestionAction = 'accept' | 'review';
12169
12355
  export type TaxCalculationErrorCode =
12170
12356
  | 'generic_error'
12171
12357
  | 'outside_of_jurisdiction';
@@ -12990,7 +13176,7 @@ namespace io.flow.internal.v0.models {
12990
13176
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
12991
13177
  readonly order: io.flow.experience.v0.models.Order;
12992
13178
  readonly order_errors?: io.flow.experience.v0.models.OrderError[];
12993
- readonly checkout?: unknown;
13179
+ readonly checkout?: io.flow.content.internal.v0.models.CheckoutContentSummary;
12994
13180
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
12995
13181
  readonly destinations: io.flow.reference.v0.models.Country[];
12996
13182
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
@@ -13033,7 +13219,7 @@ namespace io.flow.internal.v0.models {
13033
13219
  }
13034
13220
 
13035
13221
  export interface CheckoutContent {
13036
- readonly global?: unknown;
13222
+ readonly global?: io.flow.content.internal.v0.models.CheckoutContentSummary;
13037
13223
  readonly items: io.flow.experience.v0.models.CheckoutItemContent[];
13038
13224
  }
13039
13225
 
@@ -13071,16 +13257,29 @@ namespace io.flow.internal.v0.models {
13071
13257
  export interface CheckoutOrderForm {
13072
13258
  readonly organization: string;
13073
13259
  readonly order: io.flow.experience.v0.models.OrderPutForm;
13260
+ readonly customer?: io.flow.customer.v0.models.CustomerForm;
13261
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
13262
+ readonly payment_sources?: unknown[];
13263
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
13264
+ readonly identifiers?: unknown[];
13074
13265
  readonly feature_keys?: string[];
13266
+ readonly order_parameters?: io.flow.internal.v0.models.OrderParameters;
13075
13267
  }
13076
13268
 
13077
13269
  export interface CheckoutOrderNumberForm {
13078
13270
  readonly organization: string;
13079
13271
  readonly order_number: string;
13272
+ readonly customer?: io.flow.customer.v0.models.CustomerForm;
13273
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
13274
+ readonly payment_sources?: unknown[];
13275
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
13276
+ readonly identifiers?: unknown[];
13080
13277
  readonly feature_keys?: string[];
13278
+ readonly order_parameters?: io.flow.internal.v0.models.OrderParameters;
13081
13279
  }
13082
13280
 
13083
13281
  export interface CheckoutPayment {
13282
+ readonly authorizations: io.flow.payment.v0.unions.Authorization[];
13084
13283
  readonly sources: unknown[];
13085
13284
  readonly public_key: io.flow.payment.v0.models.PublicKey;
13086
13285
  readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
@@ -13097,6 +13296,8 @@ namespace io.flow.internal.v0.models {
13097
13296
  readonly order_form: io.flow.experience.v0.models.OrderPutForm;
13098
13297
  readonly order_geo: io.flow.experience.v0.models.OrderGeo;
13099
13298
  readonly session_id: string;
13299
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
13300
+ readonly identifiers?: unknown[];
13100
13301
  }
13101
13302
 
13102
13303
  export interface CheckoutSettings {
@@ -13128,7 +13329,7 @@ namespace io.flow.internal.v0.models {
13128
13329
  }
13129
13330
 
13130
13331
  export interface CheckoutSubmitOrderForm {
13131
- readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
13332
+ readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
13132
13333
  readonly installment_program_id?: string;
13133
13334
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
13134
13335
  }
@@ -13333,6 +13534,7 @@ namespace io.flow.internal.v0.models {
13333
13534
  export interface CustomsDescriptionSugestion {
13334
13535
  readonly value: number;
13335
13536
  readonly customs_description: string;
13537
+ readonly action?: io.flow.internal.v0.enums.SuggestionAction;
13336
13538
  }
13337
13539
 
13338
13540
  export interface CustomsDescriptionSugestionCreated {
@@ -13698,6 +13900,7 @@ namespace io.flow.internal.v0.models {
13698
13900
  }
13699
13901
 
13700
13902
  export interface ExperimentResults {
13903
+ readonly id: string;
13701
13904
  readonly experiment_variant_key: string;
13702
13905
  readonly visitor_count: number;
13703
13906
  readonly visitors_with_transactions_count: number;
@@ -13707,6 +13910,20 @@ namespace io.flow.internal.v0.models {
13707
13910
  readonly probability_of_being_best?: number;
13708
13911
  }
13709
13912
 
13913
+ export interface ExperimentResultsDeleted {
13914
+ readonly event_id: string;
13915
+ readonly timestamp: string;
13916
+ readonly organization_id: string;
13917
+ readonly experiment_results: io.flow.experiment.internal.v0.models.ExperimentResults;
13918
+ }
13919
+
13920
+ export interface ExperimentResultsUpserted {
13921
+ readonly event_id: string;
13922
+ readonly timestamp: string;
13923
+ readonly organization_id: string;
13924
+ readonly experiment_results: io.flow.experiment.internal.v0.models.ExperimentResults;
13925
+ }
13926
+
13710
13927
  export interface ExperimentResultsWithTimestamp {
13711
13928
  readonly timestamp: string;
13712
13929
  readonly results: io.flow.internal.v0.models.ExperimentResults[];
@@ -14056,6 +14273,11 @@ namespace io.flow.internal.v0.models {
14056
14273
  readonly cancelled_lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[];
14057
14274
  }
14058
14275
 
14276
+ export interface FulfillmentExperienceReference {
14277
+ readonly id: string;
14278
+ readonly key: string;
14279
+ }
14280
+
14059
14281
  export interface FulfillmentShipmentTracking {
14060
14282
  readonly fulfillment_key: string;
14061
14283
  readonly flow_tracking_number: string;
@@ -14617,67 +14839,6 @@ namespace io.flow.internal.v0.models {
14617
14839
  readonly value: string;
14618
14840
  }
14619
14841
 
14620
- export interface LabelInvoice {
14621
- readonly id: string;
14622
- readonly carrier_tracking_number: string;
14623
- readonly flow_tracking_number: string;
14624
- readonly strategy: io.flow.internal.v0.enums.LabelBillingStrategy;
14625
- readonly carrier_invoice: io.flow.internal.v0.models.CarrierInvoice;
14626
- readonly charged_weight: io.flow.common.v0.models.Measurement;
14627
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
14628
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
14629
- readonly details: io.flow.internal.v0.models.LabelInvoiceDetail[];
14630
- readonly total: io.flow.internal.v0.models.LabelInvoiceTotal;
14631
- }
14632
-
14633
- export interface LabelInvoiceDeleted {
14634
- readonly event_id: string;
14635
- readonly timestamp: string;
14636
- readonly id: string;
14637
- }
14638
-
14639
- export interface LabelInvoiceDetail {
14640
- readonly key: io.flow.internal.v0.enums.LabelInvoiceDetailKey;
14641
- readonly amount: number;
14642
- readonly currency: string;
14643
- }
14644
-
14645
- export interface LabelInvoiceForm {
14646
- readonly carrier_tracking_number: string;
14647
- readonly flow_tracking_number: string;
14648
- readonly strategy: io.flow.internal.v0.enums.LabelBillingStrategy;
14649
- readonly carrier_invoice: io.flow.internal.v0.models.CarrierInvoice;
14650
- readonly charged_weight: io.flow.common.v0.models.Measurement;
14651
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
14652
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
14653
- readonly details: io.flow.internal.v0.models.LabelInvoiceDetail[];
14654
- readonly total: io.flow.internal.v0.models.LabelInvoiceTotal;
14655
- }
14656
-
14657
- export interface LabelInvoiceTotal {
14658
- readonly amount: number;
14659
- readonly currency: string;
14660
- }
14661
-
14662
- export interface LabelInvoiceUpserted {
14663
- readonly event_id: string;
14664
- readonly timestamp: string;
14665
- readonly organization: string;
14666
- readonly id: string;
14667
- readonly carrier_id: string;
14668
- readonly carrier_tracking_number: string;
14669
- readonly charge_amount: number;
14670
- readonly charge_currency: string;
14671
- readonly charge_weight: number;
14672
- readonly charge_weight_unit: string;
14673
- readonly flow_tracking_number: string;
14674
- readonly order_number: string;
14675
- readonly service_id: string;
14676
- readonly strategy: string;
14677
- readonly dimensional_weight?: number;
14678
- readonly gravitational_weight?: number;
14679
- }
14680
-
14681
14842
  export interface LabelSummary {
14682
14843
  readonly commercial_invoice?: string;
14683
14844
  readonly pdf?: string;
@@ -14956,9 +15117,27 @@ namespace io.flow.internal.v0.models {
14956
15117
  readonly country: string;
14957
15118
  readonly currency: string;
14958
15119
  readonly language: string;
15120
+ readonly feed_source: io.flow.internal.v0.unions.MarketingGatewayFeedSource;
14959
15121
  readonly tsv_download_url: string;
14960
15122
  }
14961
15123
 
15124
+ export interface MarketingGatewayFeedForm {
15125
+ readonly schema_id: string;
15126
+ readonly filter_id: string;
15127
+ readonly country: string;
15128
+ readonly currency: string;
15129
+ readonly language: string;
15130
+ readonly feed_source: io.flow.internal.v0.unions.MarketingGatewayFeedSource;
15131
+ }
15132
+
15133
+ export interface MarketingGatewayFeedSourceFlow {
15134
+ readonly apibuilder?: string;
15135
+ }
15136
+
15137
+ export interface MarketingGatewayFeedSourceGoogle {
15138
+ readonly account_id: string;
15139
+ }
15140
+
14962
15141
  export interface MarketingGatewayFilterSummary {
14963
15142
  readonly id: string;
14964
15143
  readonly name: string;
@@ -15169,6 +15348,7 @@ namespace io.flow.internal.v0.models {
15169
15348
  export interface MarketingGatewaySchemaSummary {
15170
15349
  readonly id: string;
15171
15350
  readonly name: string;
15351
+ readonly schema_compatibility: io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
15172
15352
  }
15173
15353
 
15174
15354
  export interface NextBillingStatement {
@@ -15344,6 +15524,14 @@ namespace io.flow.internal.v0.models {
15344
15524
  readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
15345
15525
  }
15346
15526
 
15527
+ export interface OrderParameters {
15528
+ readonly experience?: string;
15529
+ readonly country?: string;
15530
+ readonly ip?: string;
15531
+ readonly currency?: string;
15532
+ readonly language?: string;
15533
+ }
15534
+
15347
15535
  export interface OrderPaymentAuthorization {
15348
15536
  readonly placeholder: string;
15349
15537
  }
@@ -15732,6 +15920,41 @@ namespace io.flow.internal.v0.models {
15732
15920
  readonly phrase_id: string;
15733
15921
  }
15734
15922
 
15923
+ export interface PregeneratedQuote {
15924
+ readonly id: string;
15925
+ readonly experience: io.flow.internal.v0.models.FulfillmentExperienceReference;
15926
+ readonly destination_country: string;
15927
+ readonly item: io.flow.common.v0.models.ItemReference;
15928
+ readonly quote?: io.flow.fulfillment.v0.models.Quote;
15929
+ readonly errors?: string[];
15930
+ }
15931
+
15932
+ export interface PregeneratedQuoteDeleted {
15933
+ readonly event_id: string;
15934
+ readonly timestamp: string;
15935
+ readonly organization: string;
15936
+ readonly pregenerated_quote: io.flow.fulfillment.internal.v0.models.PregeneratedQuote;
15937
+ }
15938
+
15939
+ export interface PregeneratedQuoteUpserted {
15940
+ readonly event_id: string;
15941
+ readonly timestamp: string;
15942
+ readonly organization: string;
15943
+ readonly pregenerated_quote: io.flow.fulfillment.internal.v0.models.PregeneratedQuote;
15944
+ }
15945
+
15946
+ export interface PregeneratedRequestEvent {
15947
+ readonly event_id: string;
15948
+ readonly timestamp: string;
15949
+ readonly organization: string;
15950
+ readonly quote_request: io.flow.internal.v0.models.QuoteRequest;
15951
+ }
15952
+
15953
+ export interface PrioritizedCenterReference {
15954
+ readonly center_key: string;
15955
+ readonly position: number;
15956
+ }
15957
+
15735
15958
  export interface ProcessingTransaction {
15736
15959
  readonly id: string;
15737
15960
  readonly type: io.flow.billing.v0.enums.BillingTransactionType;
@@ -15785,6 +16008,16 @@ namespace io.flow.internal.v0.models {
15785
16008
  readonly classification: io.flow.internal.v0.models.ProductClassification;
15786
16009
  }
15787
16010
 
16011
+ export interface QuoteRequest {
16012
+ readonly id: string;
16013
+ readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
16014
+ readonly experience_keys?: string[];
16015
+ readonly item_numbers?: string[];
16016
+ readonly rates?: io.flow.currency.internal.v0.models.Rate[];
16017
+ readonly countries?: io.flow.reference.v0.models.Country[];
16018
+ readonly reason?: string;
16019
+ }
16020
+
15788
16021
  export interface Rate {
15789
16022
  readonly id: string;
15790
16023
  readonly organization_id: string;
@@ -15930,6 +16163,12 @@ namespace io.flow.internal.v0.models {
15930
16163
  readonly status: io.flow.experience.v0.enums.ExperienceStatus;
15931
16164
  }
15932
16165
 
16166
+ export interface SearchExperimentSummary {
16167
+ readonly key: string;
16168
+ readonly name: string;
16169
+ readonly status: io.flow.experiment.internal.v0.enums.Status;
16170
+ }
16171
+
15933
16172
  export interface SearchItemHs6Code {
15934
16173
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
15935
16174
  readonly code?: string;
@@ -16034,11 +16273,50 @@ namespace io.flow.internal.v0.models {
16034
16273
  readonly short_id: io.flow.shopify.internal.v0.models.ShopifyExperienceShortId;
16035
16274
  }
16036
16275
 
16276
+ export interface ShopifyGiftCardBalance {
16277
+ readonly gift_card_id: number;
16278
+ readonly last_characters: string;
16279
+ readonly amount: number;
16280
+ readonly currency: string;
16281
+ }
16282
+
16283
+ export interface ShopifyGiftCardBalanceForm {
16284
+ readonly number: string;
16285
+ }
16286
+
16037
16287
  export interface ShopifyGiftCardPaymentForm {
16038
16288
  readonly code: string;
16039
16289
  readonly customer_id?: number;
16040
16290
  }
16041
16291
 
16292
+ export interface ShopifyGiftCardRedemption {
16293
+ readonly adjustment_id: number;
16294
+ readonly gift_card_id: number;
16295
+ readonly last_characters: string;
16296
+ readonly amount: number;
16297
+ readonly currency: string;
16298
+ }
16299
+
16300
+ export interface ShopifyGiftCardRedemptionForm {
16301
+ readonly number: string;
16302
+ readonly amount: number;
16303
+ readonly currency: string;
16304
+ }
16305
+
16306
+ export interface ShopifyGiftCardReversal {
16307
+ readonly adjustment_id: number;
16308
+ readonly gift_card_id: number;
16309
+ readonly last_characters: string;
16310
+ readonly amount: number;
16311
+ readonly currency: string;
16312
+ }
16313
+
16314
+ export interface ShopifyGiftCardReversalForm {
16315
+ readonly number: string;
16316
+ readonly amount: number;
16317
+ readonly currency: string;
16318
+ }
16319
+
16042
16320
  export interface ShopifyGrantsCheck {
16043
16321
  readonly dummy: string;
16044
16322
  }
@@ -16917,6 +17195,12 @@ namespace io.flow.internal.v0.unions {
16917
17195
  | {
16918
17196
  discriminator: 'experiment_deleted';
16919
17197
  } & io.flow.internal.v0.models.ExperimentDeleted
17198
+ | {
17199
+ discriminator: 'experiment_results_upserted';
17200
+ } & io.flow.internal.v0.models.ExperimentResultsUpserted
17201
+ | {
17202
+ discriminator: 'experiment_results_deleted';
17203
+ } & io.flow.internal.v0.models.ExperimentResultsDeleted
16920
17204
  | {
16921
17205
  discriminator: 'export_completed';
16922
17206
  } & io.flow.internal.v0.models.ExportCompleted
@@ -16950,6 +17234,15 @@ namespace io.flow.internal.v0.unions {
16950
17234
  | {
16951
17235
  discriminator: 'ftp_file_to_process_uploaded';
16952
17236
  } & io.flow.internal.v0.models.FtpFileToProcessUploaded
17237
+ | {
17238
+ discriminator: 'pregenerated_quote_upserted';
17239
+ } & io.flow.internal.v0.models.PregeneratedQuoteUpserted
17240
+ | {
17241
+ discriminator: 'pregenerated_quote_deleted';
17242
+ } & io.flow.internal.v0.models.PregeneratedQuoteDeleted
17243
+ | {
17244
+ discriminator: 'pregenerated_request_event';
17245
+ } & io.flow.internal.v0.models.PregeneratedRequestEvent
16953
17246
  | {
16954
17247
  discriminator: 'blacklisted_item_created';
16955
17248
  } & io.flow.internal.v0.models.BlacklistedItemCreated
@@ -17034,12 +17327,6 @@ namespace io.flow.internal.v0.unions {
17034
17327
  | {
17035
17328
  discriminator: 'issuer_deleted';
17036
17329
  } & io.flow.internal.v0.models.IssuerDeleted
17037
- | {
17038
- discriminator: 'label_invoice_upserted';
17039
- } & io.flow.internal.v0.models.LabelInvoiceUpserted
17040
- | {
17041
- discriminator: 'label_invoice_deleted';
17042
- } & io.flow.internal.v0.models.LabelInvoiceDeleted
17043
17330
  | {
17044
17331
  discriminator: 'localized_item_upserted_v2';
17045
17332
  } & io.flow.internal.v0.models.LocalizedItemUpsertedV2
@@ -17239,6 +17526,9 @@ namespace io.flow.internal.v0.unions {
17239
17526
  | {
17240
17527
  discriminator: 'search_experience_summary';
17241
17528
  } & io.flow.internal.v0.models.SearchExperienceSummary
17529
+ | {
17530
+ discriminator: 'search_experiment_summary';
17531
+ } & io.flow.internal.v0.models.SearchExperimentSummary
17242
17532
  | {
17243
17533
  discriminator: 'search_order_summary';
17244
17534
  } & io.flow.internal.v0.models.SearchOrderSummary
@@ -17328,6 +17618,14 @@ namespace io.flow.internal.v0.unions {
17328
17618
  discriminator: 'localization';
17329
17619
  } & io.flow.internal.v0.models.Localization;
17330
17620
 
17621
+ export type MarketingGatewayFeedSource =
17622
+ | {
17623
+ discriminator: 'marketing_gateway_feed_source_flow';
17624
+ } & io.flow.internal.v0.models.MarketingGatewayFeedSourceFlow
17625
+ | {
17626
+ discriminator: 'marketing_gateway_feed_source_google';
17627
+ } & io.flow.internal.v0.models.MarketingGatewayFeedSourceGoogle;
17628
+
17331
17629
  export type MarketingGatewayPlatformMarket = {
17332
17630
  discriminator: 'marketing_gateway_google_market';
17333
17631
  } & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
@@ -17718,6 +18016,8 @@ export type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
17718
18016
  export type ExperimentEngineResults = io.flow.internal.v0.models.ExperimentEngineResults;
17719
18017
  export type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
17720
18018
  export type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
18019
+ export type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
18020
+ export type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
17721
18021
  export type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
17722
18022
  export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
17723
18023
  export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
@@ -17784,6 +18084,7 @@ export type FtpSettingVersion = io.flow.internal.v0.models.FtpSettingVersion;
17784
18084
  export type FtpSettingsPaths = io.flow.internal.v0.models.FtpSettingsPaths;
17785
18085
  export type FulfillmentActionForm = io.flow.internal.v0.models.FulfillmentActionForm;
17786
18086
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
18087
+ export type FulfillmentExperienceReference = io.flow.internal.v0.models.FulfillmentExperienceReference;
17787
18088
  export type FulfillmentShipmentTracking = io.flow.internal.v0.models.FulfillmentShipmentTracking;
17788
18089
  export type GiftCard = io.flow.internal.v0.models.GiftCard;
17789
18090
  export type GiftCardAuthorizationError = io.flow.internal.v0.models.GiftCardAuthorizationError;
@@ -17885,13 +18186,6 @@ export type Key = io.flow.internal.v0.models.Key;
17885
18186
  export type KeyReference = io.flow.internal.v0.models.KeyReference;
17886
18187
  export type Label = io.flow.internal.v0.models.Label;
17887
18188
  export type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
17888
- export type LabelInvoice = io.flow.internal.v0.models.LabelInvoice;
17889
- export type LabelInvoiceDeleted = io.flow.internal.v0.models.LabelInvoiceDeleted;
17890
- export type LabelInvoiceDetail = io.flow.internal.v0.models.LabelInvoiceDetail;
17891
- export type LabelInvoiceDetailKey = io.flow.internal.v0.enums.LabelInvoiceDetailKey;
17892
- export type LabelInvoiceForm = io.flow.internal.v0.models.LabelInvoiceForm;
17893
- export type LabelInvoiceTotal = io.flow.internal.v0.models.LabelInvoiceTotal;
17894
- export type LabelInvoiceUpserted = io.flow.internal.v0.models.LabelInvoiceUpserted;
17895
18189
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
17896
18190
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
17897
18191
  export type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
@@ -17938,6 +18232,10 @@ export type MarketingGatewayExistingMarket = io.flow.internal.v0.models.Marketin
17938
18232
  export type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
17939
18233
  export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
17940
18234
  export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
18235
+ export type MarketingGatewayFeedForm = io.flow.internal.v0.models.MarketingGatewayFeedForm;
18236
+ export type MarketingGatewayFeedSource = io.flow.internal.v0.unions.MarketingGatewayFeedSource;
18237
+ export type MarketingGatewayFeedSourceFlow = io.flow.internal.v0.models.MarketingGatewayFeedSourceFlow;
18238
+ export type MarketingGatewayFeedSourceGoogle = io.flow.internal.v0.models.MarketingGatewayFeedSourceGoogle;
17941
18239
  export type MarketingGatewayFilterSummary = io.flow.internal.v0.models.MarketingGatewayFilterSummary;
17942
18240
  export type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
17943
18241
  export type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
@@ -17969,6 +18267,7 @@ export type MarketingGatewayProductResult = io.flow.internal.v0.models.Marketing
17969
18267
  export type MarketingGatewayProductStatus = io.flow.internal.v0.enums.MarketingGatewayProductStatus;
17970
18268
  export type MarketingGatewayProductsResult = io.flow.internal.v0.models.MarketingGatewayProductsResult;
17971
18269
  export type MarketingGatewayProductsStatusCount = io.flow.internal.v0.models.MarketingGatewayProductsStatusCount;
18270
+ export type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
17972
18271
  export type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
17973
18272
  export type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
17974
18273
  export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
@@ -18003,6 +18302,7 @@ export type OrderEventType = io.flow.internal.v0.enums.OrderEventType;
18003
18302
  export type OrderFulfillmentDeleted = io.flow.internal.v0.models.OrderFulfillmentDeleted;
18004
18303
  export type OrderFulfillmentUpserted = io.flow.internal.v0.models.OrderFulfillmentUpserted;
18005
18304
  export type OrderLifecycleEvent = io.flow.internal.v0.enums.OrderLifecycleEvent;
18305
+ export type OrderParameters = io.flow.internal.v0.models.OrderParameters;
18006
18306
  export type OrderPaymentAuthorization = io.flow.internal.v0.models.OrderPaymentAuthorization;
18007
18307
  export type OrderPlaced = io.flow.internal.v0.models.OrderPlaced;
18008
18308
  export type OrderRatesDataV3 = io.flow.internal.v0.models.OrderRatesDataV3;
@@ -18063,7 +18363,12 @@ export type PercentageInstallmentStep = io.flow.internal.v0.models.PercentageIns
18063
18363
  export type PercentageInstallmentStepForm = io.flow.internal.v0.models.PercentageInstallmentStepForm;
18064
18364
  export type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
18065
18365
  export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
18366
+ export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
18367
+ export type PregeneratedQuoteDeleted = io.flow.internal.v0.models.PregeneratedQuoteDeleted;
18368
+ export type PregeneratedQuoteUpserted = io.flow.internal.v0.models.PregeneratedQuoteUpserted;
18369
+ export type PregeneratedRequestEvent = io.flow.internal.v0.models.PregeneratedRequestEvent;
18066
18370
  export type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
18371
+ export type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference;
18067
18372
  export type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
18068
18373
  export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
18069
18374
  export type Processor = io.flow.internal.v0.enums.Processor;
@@ -18076,6 +18381,8 @@ export type PromptAction = io.flow.internal.v0.enums.PromptAction;
18076
18381
  export type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
18077
18382
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
18078
18383
  export type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
18384
+ export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
18385
+ export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
18079
18386
  export type Rate = io.flow.internal.v0.models.Rate;
18080
18387
  export type RateData = io.flow.internal.v0.models.RateData;
18081
18388
  export type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
@@ -18099,6 +18406,7 @@ export type Screen = io.flow.internal.v0.models.Screen;
18099
18406
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
18100
18407
  export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
18101
18408
  export type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary;
18409
+ export type SearchExperimentSummary = io.flow.internal.v0.models.SearchExperimentSummary;
18102
18410
  export type SearchItemHs6Code = io.flow.internal.v0.models.SearchItemHs6Code;
18103
18411
  export type SearchItemSummary = io.flow.internal.v0.models.SearchItemSummary;
18104
18412
  export type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
@@ -18118,7 +18426,13 @@ export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
18118
18426
  export type ShopifyExperienceShortId = io.flow.internal.v0.models.ShopifyExperienceShortId;
18119
18427
  export type ShopifyExperienceShortIdDeleted = io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted;
18120
18428
  export type ShopifyExperienceShortIdUpserted = io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted;
18429
+ export type ShopifyGiftCardBalance = io.flow.internal.v0.models.ShopifyGiftCardBalance;
18430
+ export type ShopifyGiftCardBalanceForm = io.flow.internal.v0.models.ShopifyGiftCardBalanceForm;
18121
18431
  export type ShopifyGiftCardPaymentForm = io.flow.internal.v0.models.ShopifyGiftCardPaymentForm;
18432
+ export type ShopifyGiftCardRedemption = io.flow.internal.v0.models.ShopifyGiftCardRedemption;
18433
+ export type ShopifyGiftCardRedemptionForm = io.flow.internal.v0.models.ShopifyGiftCardRedemptionForm;
18434
+ export type ShopifyGiftCardReversal = io.flow.internal.v0.models.ShopifyGiftCardReversal;
18435
+ export type ShopifyGiftCardReversalForm = io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
18122
18436
  export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
18123
18437
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
18124
18438
  export type ShopifyOrderAuthorization = io.flow.internal.v0.models.ShopifyOrderAuthorization;
@@ -18187,6 +18501,7 @@ export type SubmittedOrderUpserted = io.flow.internal.v0.models.SubmittedOrderUp
18187
18501
  export type Subscription = io.flow.internal.v0.models.Subscription;
18188
18502
  export type SubscriptionFrequency = io.flow.internal.v0.enums.SubscriptionFrequency;
18189
18503
  export type SubscriptionTransaction = io.flow.internal.v0.models.SubscriptionTransaction;
18504
+ export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
18190
18505
  export type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
18191
18506
  export type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
18192
18507
  export type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;