@flowio/types 0.0.10 → 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.
@@ -3162,6 +3162,8 @@ namespace io.flow.external.paypal.v1.unions {}
3162
3162
  namespace io.flow.bundle.internal.v0.enums {
3163
3163
  export type CheckoutErrorCode =
3164
3164
  | 'generic_error'
3165
+ | 'order_identifier_invalid'
3166
+ | 'url_invalid'
3165
3167
  | 'organization_invalid'
3166
3168
  | 'session_invalid'
3167
3169
  | 'session_organization_invalid';
@@ -3227,16 +3229,27 @@ namespace io.flow.bundle.internal.v0.models {
3227
3229
  export interface CheckoutOrderForm {
3228
3230
  readonly organization: string;
3229
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[];
3230
3237
  readonly feature_keys?: string[];
3231
3238
  }
3232
3239
 
3233
3240
  export interface CheckoutOrderNumberForm {
3234
3241
  readonly organization: string;
3235
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[];
3236
3248
  readonly feature_keys?: string[];
3237
3249
  }
3238
3250
 
3239
3251
  export interface CheckoutPayment {
3252
+ readonly authorizations: io.flow.payment.v0.unions.Authorization[];
3240
3253
  readonly sources: unknown[];
3241
3254
  readonly public_key: io.flow.payment.v0.models.PublicKey;
3242
3255
  readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
@@ -3248,6 +3261,8 @@ namespace io.flow.bundle.internal.v0.models {
3248
3261
  readonly order_form: io.flow.experience.v0.models.OrderPutForm;
3249
3262
  readonly order_geo: io.flow.experience.v0.models.OrderGeo;
3250
3263
  readonly session_id: string;
3264
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
3265
+ readonly identifiers?: unknown[];
3251
3266
  }
3252
3267
 
3253
3268
  export interface CheckoutSourceOrderForm {
@@ -3274,7 +3289,7 @@ namespace io.flow.bundle.internal.v0.models {
3274
3289
  }
3275
3290
 
3276
3291
  export interface CheckoutSubmitOrderForm {
3277
- readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
3292
+ readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
3278
3293
  readonly installment_program_id?: string;
3279
3294
  readonly expected_order_summary?: io.flow.bundle.internal.v0.models.ExpectedOrderSummary;
3280
3295
  }
@@ -5241,10 +5256,14 @@ namespace io.flow.shopify.v0.models {
5241
5256
  }
5242
5257
 
5243
5258
  export interface ShopifyOrderDeliveryMetafield {
5259
+ readonly key?: string;
5244
5260
  readonly items: io.flow.shopify.v0.models.ShopifyOrderDeliveryMetafieldItem[];
5245
5261
  readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
5246
5262
  readonly window: io.flow.fulfillment.v0.models.DeliveryWindow;
5247
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;
5248
5267
  }
5249
5268
 
5250
5269
  export interface ShopifyOrderDeliveryMetafieldItem {
@@ -7051,7 +7070,13 @@ namespace io.flow.fulfillment.internal.v0.models {
7051
7070
  readonly experience: io.flow.fulfillment.internal.v0.models.FulfillmentExperienceReference;
7052
7071
  readonly destination_country: string;
7053
7072
  readonly item: io.flow.common.v0.models.ItemReference;
7054
- readonly quote: io.flow.fulfillment.v0.models.Quote;
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;
7055
7080
  }
7056
7081
  }
7057
7082
 
@@ -7889,6 +7914,13 @@ namespace io.flow.RESERVED_WORD_export.v0.models {
7889
7914
  readonly sort?: string;
7890
7915
  }
7891
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
+
7892
7924
  export interface ScheduledExport {
7893
7925
  readonly id: string;
7894
7926
  readonly user: io.flow.common.v0.models.UserReference;
@@ -7963,6 +7995,9 @@ namespace io.flow.RESERVED_WORD_export.v0.unions {
7963
7995
  | {
7964
7996
  discriminator: 'order_export_type';
7965
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
7966
8001
  | {
7967
8002
  discriminator: 'solidus_product_export_type';
7968
8003
  } & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
@@ -9941,11 +9976,6 @@ namespace io.flow.installment.v0.unions {
9941
9976
  namespace io.flow.label.internal.v0.enums {
9942
9977
  export type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9943
9978
  export type LabelBillingStrategy = 'quote' | 'carrier';
9944
- export type LabelInvoiceDetailKey =
9945
- | 'package'
9946
- | 'duty_tax'
9947
- | 'fuel_surcharge'
9948
- | 'other';
9949
9979
  }
9950
9980
 
9951
9981
  namespace io.flow.label.internal.v0.models {
@@ -9971,42 +10001,6 @@ namespace io.flow.label.internal.v0.models {
9971
10001
  readonly organization: string;
9972
10002
  readonly default_contents: string;
9973
10003
  }
9974
-
9975
- export interface LabelInvoice {
9976
- readonly id: string;
9977
- readonly carrier_tracking_number: string;
9978
- readonly flow_tracking_number: string;
9979
- readonly strategy: io.flow.label.internal.v0.enums.LabelBillingStrategy;
9980
- readonly carrier_invoice: io.flow.label.internal.v0.models.CarrierInvoice;
9981
- readonly charged_weight: io.flow.common.v0.models.Measurement;
9982
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
9983
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
9984
- readonly details: io.flow.label.internal.v0.models.LabelInvoiceDetail[];
9985
- readonly total: io.flow.label.internal.v0.models.LabelInvoiceTotal;
9986
- }
9987
-
9988
- export interface LabelInvoiceDetail {
9989
- readonly key: io.flow.label.internal.v0.enums.LabelInvoiceDetailKey;
9990
- readonly amount: number;
9991
- readonly currency: string;
9992
- }
9993
-
9994
- export interface LabelInvoiceForm {
9995
- readonly carrier_tracking_number: string;
9996
- readonly flow_tracking_number: string;
9997
- readonly strategy: io.flow.label.internal.v0.enums.LabelBillingStrategy;
9998
- readonly carrier_invoice: io.flow.label.internal.v0.models.CarrierInvoice;
9999
- readonly charged_weight: io.flow.common.v0.models.Measurement;
10000
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
10001
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
10002
- readonly details: io.flow.label.internal.v0.models.LabelInvoiceDetail[];
10003
- readonly total: io.flow.label.internal.v0.models.LabelInvoiceTotal;
10004
- }
10005
-
10006
- export interface LabelInvoiceTotal {
10007
- readonly amount: number;
10008
- readonly currency: string;
10009
- }
10010
10004
  }
10011
10005
 
10012
10006
  namespace io.flow.label.internal.v0.unions {}
@@ -11079,6 +11073,11 @@ namespace io.flow.customer.v0.models {
11079
11073
  readonly type: io.flow.customer.v0.enums.CustomerAddressType;
11080
11074
  }
11081
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
+
11082
11081
  export interface CustomerForm {
11083
11082
  readonly number: string;
11084
11083
  readonly email?: string;
@@ -11086,6 +11085,17 @@ namespace io.flow.customer.v0.models {
11086
11085
  readonly phone?: string;
11087
11086
  }
11088
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
+
11089
11099
  export interface CustomerPutForm {
11090
11100
  readonly email?: string;
11091
11101
  readonly name?: io.flow.common.v0.models.Name;
@@ -11834,6 +11844,57 @@ namespace io.flow.permission.v0.unions {
11834
11844
  };
11835
11845
  }
11836
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
+
11837
11898
  namespace io.flow.order.management.v0.enums {
11838
11899
  export type CancelReason =
11839
11900
  | 'out_of_stock'
@@ -11947,9 +12008,14 @@ namespace io.flow.internal.v0.enums {
11947
12008
  | 'price_book_items_query_import';
11948
12009
  export type CheckoutErrorCode =
11949
12010
  | 'generic_error'
12011
+ | 'order_identifier_invalid'
12012
+ | 'url_invalid'
11950
12013
  | 'organization_invalid'
11951
12014
  | 'session_invalid'
11952
- | 'session_organization_invalid';
12015
+ | 'session_organization_invalid'
12016
+ | 'country_invalid'
12017
+ | 'currency_invalid'
12018
+ | 'language_invalid';
11953
12019
  export type CheckoutPromptBehavior = 'always' | 'incomplete';
11954
12020
  export type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
11955
12021
  export type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
@@ -12043,6 +12109,7 @@ namespace io.flow.internal.v0.enums {
12043
12109
  | 'ftp_file_to_process_uploaded'
12044
12110
  | 'pregenerated_quote_upserted'
12045
12111
  | 'pregenerated_quote_deleted'
12112
+ | 'pregenerated_request_event'
12046
12113
  | 'blacklisted_item_created'
12047
12114
  | 'blacklisted_item_updated'
12048
12115
  | 'blacklisted_item_deleted'
@@ -12071,8 +12138,6 @@ namespace io.flow.internal.v0.enums {
12071
12138
  | 'installment_plan_authorization_deleted'
12072
12139
  | 'issuer_upserted'
12073
12140
  | 'issuer_deleted'
12074
- | 'label_invoice_upserted'
12075
- | 'label_invoice_deleted'
12076
12141
  | 'localized_item_upserted_v2'
12077
12142
  | 'localized_item_deleted'
12078
12143
  | 'localized_item_deleted_v2'
@@ -12125,8 +12190,10 @@ namespace io.flow.internal.v0.enums {
12125
12190
  | 'user_deleted';
12126
12191
  export type ExclusionRuleState = 'current' | 'deleting' | 'updating';
12127
12192
  export type ExperienceImportType = 'experience_with_settings';
12128
- export type ExperienceOrderAction = 'submit';
12129
- export type ExperienceOrderActionTrigger = 'zero_balance';
12193
+ export type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
12194
+ export type ExperienceOrderActionTrigger =
12195
+ | 'zero_balance'
12196
+ | 'unsubmitted_order';
12130
12197
  export type FeatureScope = 'global' | 'organization';
12131
12198
  export type FeatureStatus = 'draft' | 'active' | 'archived';
12132
12199
  export type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -12164,11 +12231,6 @@ namespace io.flow.internal.v0.enums {
12164
12231
  | 'fulfillment_cancel'
12165
12232
  | 'fulfillment_generate_label';
12166
12233
  export type LabelBillingStrategy = 'quote' | 'carrier';
12167
- export type LabelInvoiceDetailKey =
12168
- | 'package'
12169
- | 'duty_tax'
12170
- | 'fuel_surcharge'
12171
- | 'other';
12172
12234
  export type MarketingGatewayAccountConnectionStatus =
12173
12235
  | 'not_connected'
12174
12236
  | 'connected'
@@ -12194,6 +12256,10 @@ namespace io.flow.internal.v0.enums {
12194
12256
  | 'pending'
12195
12257
  | 'not_found'
12196
12258
  | 'excluded';
12259
+ export type MarketingGatewaySchemaCompatibility =
12260
+ | 'google'
12261
+ | 'facebook_master'
12262
+ | 'facebook_country_override';
12197
12263
  export type MarketingGatewaySyncStatus =
12198
12264
  | 'pending'
12199
12265
  | 'ongoing'
@@ -12254,6 +12320,11 @@ namespace io.flow.internal.v0.enums {
12254
12320
  | 'require_consent'
12255
12321
  | 'consent_by_default';
12256
12322
  export type PromptTarget = 'browse' | 'checkout';
12323
+ export type QuoteRequestType =
12324
+ | 'generate'
12325
+ | 'delete'
12326
+ | 'update_currency_rate'
12327
+ | 'update_country';
12257
12328
  export type RateSource = 'calculated' | 'market';
12258
12329
  export type RedirectReason = 'three_d_secure';
12259
12330
  export type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
@@ -13186,13 +13257,25 @@ namespace io.flow.internal.v0.models {
13186
13257
  export interface CheckoutOrderForm {
13187
13258
  readonly organization: string;
13188
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[];
13189
13265
  readonly feature_keys?: string[];
13266
+ readonly order_parameters?: io.flow.internal.v0.models.OrderParameters;
13190
13267
  }
13191
13268
 
13192
13269
  export interface CheckoutOrderNumberForm {
13193
13270
  readonly organization: string;
13194
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[];
13195
13277
  readonly feature_keys?: string[];
13278
+ readonly order_parameters?: io.flow.internal.v0.models.OrderParameters;
13196
13279
  }
13197
13280
 
13198
13281
  export interface CheckoutPayment {
@@ -13213,6 +13296,8 @@ namespace io.flow.internal.v0.models {
13213
13296
  readonly order_form: io.flow.experience.v0.models.OrderPutForm;
13214
13297
  readonly order_geo: io.flow.experience.v0.models.OrderGeo;
13215
13298
  readonly session_id: string;
13299
+ readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
13300
+ readonly identifiers?: unknown[];
13216
13301
  }
13217
13302
 
13218
13303
  export interface CheckoutSettings {
@@ -14754,67 +14839,6 @@ namespace io.flow.internal.v0.models {
14754
14839
  readonly value: string;
14755
14840
  }
14756
14841
 
14757
- export interface LabelInvoice {
14758
- readonly id: string;
14759
- readonly carrier_tracking_number: string;
14760
- readonly flow_tracking_number: string;
14761
- readonly strategy: io.flow.internal.v0.enums.LabelBillingStrategy;
14762
- readonly carrier_invoice: io.flow.internal.v0.models.CarrierInvoice;
14763
- readonly charged_weight: io.flow.common.v0.models.Measurement;
14764
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
14765
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
14766
- readonly details: io.flow.internal.v0.models.LabelInvoiceDetail[];
14767
- readonly total: io.flow.internal.v0.models.LabelInvoiceTotal;
14768
- }
14769
-
14770
- export interface LabelInvoiceDeleted {
14771
- readonly event_id: string;
14772
- readonly timestamp: string;
14773
- readonly id: string;
14774
- }
14775
-
14776
- export interface LabelInvoiceDetail {
14777
- readonly key: io.flow.internal.v0.enums.LabelInvoiceDetailKey;
14778
- readonly amount: number;
14779
- readonly currency: string;
14780
- }
14781
-
14782
- export interface LabelInvoiceForm {
14783
- readonly carrier_tracking_number: string;
14784
- readonly flow_tracking_number: string;
14785
- readonly strategy: io.flow.internal.v0.enums.LabelBillingStrategy;
14786
- readonly carrier_invoice: io.flow.internal.v0.models.CarrierInvoice;
14787
- readonly charged_weight: io.flow.common.v0.models.Measurement;
14788
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
14789
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
14790
- readonly details: io.flow.internal.v0.models.LabelInvoiceDetail[];
14791
- readonly total: io.flow.internal.v0.models.LabelInvoiceTotal;
14792
- }
14793
-
14794
- export interface LabelInvoiceTotal {
14795
- readonly amount: number;
14796
- readonly currency: string;
14797
- }
14798
-
14799
- export interface LabelInvoiceUpserted {
14800
- readonly event_id: string;
14801
- readonly timestamp: string;
14802
- readonly organization: string;
14803
- readonly id: string;
14804
- readonly carrier_id: string;
14805
- readonly carrier_tracking_number: string;
14806
- readonly charge_amount: number;
14807
- readonly charge_currency: string;
14808
- readonly charge_weight: number;
14809
- readonly charge_weight_unit: string;
14810
- readonly flow_tracking_number: string;
14811
- readonly order_number: string;
14812
- readonly service_id: string;
14813
- readonly strategy: string;
14814
- readonly dimensional_weight?: number;
14815
- readonly gravitational_weight?: number;
14816
- }
14817
-
14818
14842
  export interface LabelSummary {
14819
14843
  readonly commercial_invoice?: string;
14820
14844
  readonly pdf?: string;
@@ -15093,9 +15117,27 @@ namespace io.flow.internal.v0.models {
15093
15117
  readonly country: string;
15094
15118
  readonly currency: string;
15095
15119
  readonly language: string;
15120
+ readonly feed_source: io.flow.internal.v0.unions.MarketingGatewayFeedSource;
15096
15121
  readonly tsv_download_url: string;
15097
15122
  }
15098
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
+
15099
15141
  export interface MarketingGatewayFilterSummary {
15100
15142
  readonly id: string;
15101
15143
  readonly name: string;
@@ -15306,6 +15348,7 @@ namespace io.flow.internal.v0.models {
15306
15348
  export interface MarketingGatewaySchemaSummary {
15307
15349
  readonly id: string;
15308
15350
  readonly name: string;
15351
+ readonly schema_compatibility: io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
15309
15352
  }
15310
15353
 
15311
15354
  export interface NextBillingStatement {
@@ -15481,6 +15524,14 @@ namespace io.flow.internal.v0.models {
15481
15524
  readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
15482
15525
  }
15483
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
+
15484
15535
  export interface OrderPaymentAuthorization {
15485
15536
  readonly placeholder: string;
15486
15537
  }
@@ -15874,7 +15925,8 @@ namespace io.flow.internal.v0.models {
15874
15925
  readonly experience: io.flow.internal.v0.models.FulfillmentExperienceReference;
15875
15926
  readonly destination_country: string;
15876
15927
  readonly item: io.flow.common.v0.models.ItemReference;
15877
- readonly quote: io.flow.fulfillment.v0.models.Quote;
15928
+ readonly quote?: io.flow.fulfillment.v0.models.Quote;
15929
+ readonly errors?: string[];
15878
15930
  }
15879
15931
 
15880
15932
  export interface PregeneratedQuoteDeleted {
@@ -15891,6 +15943,18 @@ namespace io.flow.internal.v0.models {
15891
15943
  readonly pregenerated_quote: io.flow.fulfillment.internal.v0.models.PregeneratedQuote;
15892
15944
  }
15893
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
+
15894
15958
  export interface ProcessingTransaction {
15895
15959
  readonly id: string;
15896
15960
  readonly type: io.flow.billing.v0.enums.BillingTransactionType;
@@ -15944,6 +16008,16 @@ namespace io.flow.internal.v0.models {
15944
16008
  readonly classification: io.flow.internal.v0.models.ProductClassification;
15945
16009
  }
15946
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
+
15947
16021
  export interface Rate {
15948
16022
  readonly id: string;
15949
16023
  readonly organization_id: string;
@@ -16089,6 +16163,12 @@ namespace io.flow.internal.v0.models {
16089
16163
  readonly status: io.flow.experience.v0.enums.ExperienceStatus;
16090
16164
  }
16091
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
+
16092
16172
  export interface SearchItemHs6Code {
16093
16173
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
16094
16174
  readonly code?: string;
@@ -16193,11 +16273,50 @@ namespace io.flow.internal.v0.models {
16193
16273
  readonly short_id: io.flow.shopify.internal.v0.models.ShopifyExperienceShortId;
16194
16274
  }
16195
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
+
16196
16287
  export interface ShopifyGiftCardPaymentForm {
16197
16288
  readonly code: string;
16198
16289
  readonly customer_id?: number;
16199
16290
  }
16200
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
+
16201
16320
  export interface ShopifyGrantsCheck {
16202
16321
  readonly dummy: string;
16203
16322
  }
@@ -17121,6 +17240,9 @@ namespace io.flow.internal.v0.unions {
17121
17240
  | {
17122
17241
  discriminator: 'pregenerated_quote_deleted';
17123
17242
  } & io.flow.internal.v0.models.PregeneratedQuoteDeleted
17243
+ | {
17244
+ discriminator: 'pregenerated_request_event';
17245
+ } & io.flow.internal.v0.models.PregeneratedRequestEvent
17124
17246
  | {
17125
17247
  discriminator: 'blacklisted_item_created';
17126
17248
  } & io.flow.internal.v0.models.BlacklistedItemCreated
@@ -17205,12 +17327,6 @@ namespace io.flow.internal.v0.unions {
17205
17327
  | {
17206
17328
  discriminator: 'issuer_deleted';
17207
17329
  } & io.flow.internal.v0.models.IssuerDeleted
17208
- | {
17209
- discriminator: 'label_invoice_upserted';
17210
- } & io.flow.internal.v0.models.LabelInvoiceUpserted
17211
- | {
17212
- discriminator: 'label_invoice_deleted';
17213
- } & io.flow.internal.v0.models.LabelInvoiceDeleted
17214
17330
  | {
17215
17331
  discriminator: 'localized_item_upserted_v2';
17216
17332
  } & io.flow.internal.v0.models.LocalizedItemUpsertedV2
@@ -17410,6 +17526,9 @@ namespace io.flow.internal.v0.unions {
17410
17526
  | {
17411
17527
  discriminator: 'search_experience_summary';
17412
17528
  } & io.flow.internal.v0.models.SearchExperienceSummary
17529
+ | {
17530
+ discriminator: 'search_experiment_summary';
17531
+ } & io.flow.internal.v0.models.SearchExperimentSummary
17413
17532
  | {
17414
17533
  discriminator: 'search_order_summary';
17415
17534
  } & io.flow.internal.v0.models.SearchOrderSummary
@@ -17499,6 +17618,14 @@ namespace io.flow.internal.v0.unions {
17499
17618
  discriminator: 'localization';
17500
17619
  } & io.flow.internal.v0.models.Localization;
17501
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
+
17502
17629
  export type MarketingGatewayPlatformMarket = {
17503
17630
  discriminator: 'marketing_gateway_google_market';
17504
17631
  } & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
@@ -18059,13 +18186,6 @@ export type Key = io.flow.internal.v0.models.Key;
18059
18186
  export type KeyReference = io.flow.internal.v0.models.KeyReference;
18060
18187
  export type Label = io.flow.internal.v0.models.Label;
18061
18188
  export type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
18062
- export type LabelInvoice = io.flow.internal.v0.models.LabelInvoice;
18063
- export type LabelInvoiceDeleted = io.flow.internal.v0.models.LabelInvoiceDeleted;
18064
- export type LabelInvoiceDetail = io.flow.internal.v0.models.LabelInvoiceDetail;
18065
- export type LabelInvoiceDetailKey = io.flow.internal.v0.enums.LabelInvoiceDetailKey;
18066
- export type LabelInvoiceForm = io.flow.internal.v0.models.LabelInvoiceForm;
18067
- export type LabelInvoiceTotal = io.flow.internal.v0.models.LabelInvoiceTotal;
18068
- export type LabelInvoiceUpserted = io.flow.internal.v0.models.LabelInvoiceUpserted;
18069
18189
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
18070
18190
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
18071
18191
  export type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
@@ -18112,6 +18232,10 @@ export type MarketingGatewayExistingMarket = io.flow.internal.v0.models.Marketin
18112
18232
  export type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
18113
18233
  export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
18114
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;
18115
18239
  export type MarketingGatewayFilterSummary = io.flow.internal.v0.models.MarketingGatewayFilterSummary;
18116
18240
  export type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
18117
18241
  export type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
@@ -18143,6 +18267,7 @@ export type MarketingGatewayProductResult = io.flow.internal.v0.models.Marketing
18143
18267
  export type MarketingGatewayProductStatus = io.flow.internal.v0.enums.MarketingGatewayProductStatus;
18144
18268
  export type MarketingGatewayProductsResult = io.flow.internal.v0.models.MarketingGatewayProductsResult;
18145
18269
  export type MarketingGatewayProductsStatusCount = io.flow.internal.v0.models.MarketingGatewayProductsStatusCount;
18270
+ export type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
18146
18271
  export type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
18147
18272
  export type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
18148
18273
  export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
@@ -18177,6 +18302,7 @@ export type OrderEventType = io.flow.internal.v0.enums.OrderEventType;
18177
18302
  export type OrderFulfillmentDeleted = io.flow.internal.v0.models.OrderFulfillmentDeleted;
18178
18303
  export type OrderFulfillmentUpserted = io.flow.internal.v0.models.OrderFulfillmentUpserted;
18179
18304
  export type OrderLifecycleEvent = io.flow.internal.v0.enums.OrderLifecycleEvent;
18305
+ export type OrderParameters = io.flow.internal.v0.models.OrderParameters;
18180
18306
  export type OrderPaymentAuthorization = io.flow.internal.v0.models.OrderPaymentAuthorization;
18181
18307
  export type OrderPlaced = io.flow.internal.v0.models.OrderPlaced;
18182
18308
  export type OrderRatesDataV3 = io.flow.internal.v0.models.OrderRatesDataV3;
@@ -18240,7 +18366,9 @@ export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
18240
18366
  export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
18241
18367
  export type PregeneratedQuoteDeleted = io.flow.internal.v0.models.PregeneratedQuoteDeleted;
18242
18368
  export type PregeneratedQuoteUpserted = io.flow.internal.v0.models.PregeneratedQuoteUpserted;
18369
+ export type PregeneratedRequestEvent = io.flow.internal.v0.models.PregeneratedRequestEvent;
18243
18370
  export type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
18371
+ export type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference;
18244
18372
  export type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
18245
18373
  export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
18246
18374
  export type Processor = io.flow.internal.v0.enums.Processor;
@@ -18253,6 +18381,8 @@ export type PromptAction = io.flow.internal.v0.enums.PromptAction;
18253
18381
  export type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
18254
18382
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
18255
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;
18256
18386
  export type Rate = io.flow.internal.v0.models.Rate;
18257
18387
  export type RateData = io.flow.internal.v0.models.RateData;
18258
18388
  export type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
@@ -18276,6 +18406,7 @@ export type Screen = io.flow.internal.v0.models.Screen;
18276
18406
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
18277
18407
  export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
18278
18408
  export type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary;
18409
+ export type SearchExperimentSummary = io.flow.internal.v0.models.SearchExperimentSummary;
18279
18410
  export type SearchItemHs6Code = io.flow.internal.v0.models.SearchItemHs6Code;
18280
18411
  export type SearchItemSummary = io.flow.internal.v0.models.SearchItemSummary;
18281
18412
  export type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
@@ -18295,7 +18426,13 @@ export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
18295
18426
  export type ShopifyExperienceShortId = io.flow.internal.v0.models.ShopifyExperienceShortId;
18296
18427
  export type ShopifyExperienceShortIdDeleted = io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted;
18297
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;
18298
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;
18299
18436
  export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
18300
18437
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
18301
18438
  export type ShopifyOrderAuthorization = io.flow.internal.v0.models.ShopifyOrderAuthorization;