@flowio/types 11.7.6 → 11.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -162,6 +162,7 @@ declare namespace io.flow.experience.v0.models {
162
162
  readonly province: io.flow.field.validation.v0.unions.FieldValidationRule[];
163
163
  readonly postal: io.flow.field.validation.v0.unions.FieldValidationRule[];
164
164
  readonly phone: io.flow.field.validation.v0.unions.FieldValidationRule[];
165
+ readonly vat_registration_number: io.flow.field.validation.v0.unions.FieldValidationRule[];
165
166
  }
166
167
  interface Allocation {
167
168
  readonly order: io.flow.experience.v0.models.AllocationOrderSummary;
@@ -743,6 +744,7 @@ declare namespace io.flow.experience.v0.models {
743
744
  readonly address?: io.flow.common.v0.models.BillingAddress;
744
745
  readonly date?: string;
745
746
  readonly attributes?: Record<string, string>;
747
+ readonly method?: string;
746
748
  }
747
749
  interface OrderPromotionTrigger {
748
750
  readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
@@ -2424,9 +2426,13 @@ declare namespace io.flow.field.validation.v0.models {
2424
2426
  readonly discriminator: 'required';
2425
2427
  readonly placeholder?: string;
2426
2428
  }
2429
+ interface FieldValidationRequiredIfPresent {
2430
+ readonly discriminator: 'required_if_present';
2431
+ readonly placeholder?: string;
2432
+ }
2427
2433
  }
2428
2434
  declare namespace io.flow.field.validation.v0.unions {
2429
- type FieldValidationRule = io.flow.field.validation.v0.models.FieldValidationRequired | io.flow.field.validation.v0.models.FieldValidationMin | io.flow.field.validation.v0.models.FieldValidationMax | io.flow.field.validation.v0.models.FieldValidationPattern;
2435
+ type FieldValidationRule = io.flow.field.validation.v0.models.FieldValidationRequired | io.flow.field.validation.v0.models.FieldValidationRequiredIfPresent | io.flow.field.validation.v0.models.FieldValidationMin | io.flow.field.validation.v0.models.FieldValidationMax | io.flow.field.validation.v0.models.FieldValidationPattern;
2430
2436
  }
2431
2437
  declare namespace io.flow.stripe.v0.enums {
2432
2438
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
@@ -9194,6 +9200,10 @@ declare namespace io.flow.billing.internal.v0.models {
9194
9200
  readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
9195
9201
  readonly starts_at: string;
9196
9202
  }
9203
+ interface PlatformFeeChangeForm {
9204
+ readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
9205
+ readonly starts_at: string;
9206
+ }
9197
9207
  interface PlatformFeeDisabled {
9198
9208
  readonly discriminator: 'platform_fee_disabled';
9199
9209
  readonly attributes?: Record<string, string>;
@@ -12187,11 +12197,21 @@ declare namespace io.flow.checkout.backend.v0.models {
12187
12197
  interface CheckoutHostedConfirmationPage {
12188
12198
  readonly url: string;
12189
12199
  }
12200
+ interface CheckoutInitiateInlinePaymentForm {
12201
+ readonly discriminator: 'initiate_inline_payment_form';
12202
+ readonly payment_method_id: string;
12203
+ }
12190
12204
  interface CheckoutInitiateRedirectPaymentForm {
12191
12205
  readonly discriminator: 'initiate_redirect_payment_form';
12192
12206
  readonly payment_method_id: string;
12193
12207
  readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
12194
12208
  }
12209
+ interface CheckoutInlineAuthorizationRequirement {
12210
+ readonly discriminator: 'checkout_inline_authorization_requirement';
12211
+ readonly id: string;
12212
+ readonly client_token?: string;
12213
+ readonly parameters?: any;
12214
+ }
12195
12215
  interface CheckoutLine {
12196
12216
  readonly id: string;
12197
12217
  readonly checkout: io.flow.checkout.backend.v0.models.V2CheckoutReference;
@@ -12459,13 +12479,13 @@ declare namespace io.flow.checkout.backend.v0.models {
12459
12479
  declare namespace io.flow.checkout.backend.v0.unions {
12460
12480
  type CheckoutConfirmationDetails = io.flow.checkout.backend.v0.models.CheckoutDirectDebit;
12461
12481
  type CheckoutDeliveryWindow = io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowStatic | io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
12462
- type CheckoutInitiatePaymentForm = io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm;
12482
+ type CheckoutInitiatePaymentForm = io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm;
12463
12483
  type CheckoutOrder = io.flow.checkout.backend.v0.models.CheckoutOpenOrder | io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
12464
12484
  type CheckoutOrderDeliveryOption = io.flow.checkout.backend.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.checkout.backend.v0.models.CheckoutOrderPhysicalDeliveryOption;
12465
12485
  type CheckoutOrderFormPaymentDataGroup = io.flow.checkout.backend.v0.models.CheckoutOrderFormPaymentDataGroupSingle | io.flow.checkout.backend.v0.models.CheckoutOrderFormPaymentDataGroupMulti;
12466
12486
  type CheckoutOrderPayment = io.flow.checkout.backend.v0.models.CheckoutOrderPaymentCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentGiftCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentOnline;
12467
12487
  type CheckoutOrderPromotion = io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
12468
- type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement;
12488
+ type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement;
12469
12489
  type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
12470
12490
  type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
12471
12491
  }
@@ -12892,7 +12912,7 @@ declare namespace io.flow.experiment.internal.v0.models {
12892
12912
  }
12893
12913
  interface ExperienceVariant {
12894
12914
  readonly discriminator: 'experience_variant';
12895
- readonly experience: io.flow.experiment.internal.v0.models.ExperimentVariantSummary;
12915
+ readonly experience: io.flow.experiment.internal.v0.models.ExperienceVariantSummary;
12896
12916
  readonly traffic_percentage: number;
12897
12917
  readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
12898
12918
  }
@@ -12901,12 +12921,17 @@ declare namespace io.flow.experiment.internal.v0.models {
12901
12921
  readonly key: string;
12902
12922
  readonly traffic_percentage: number;
12903
12923
  }
12924
+ interface ExperienceVariantSummary {
12925
+ readonly key: string;
12926
+ readonly name?: string;
12927
+ }
12904
12928
  interface ExperimentForm {
12905
12929
  readonly name: string;
12906
12930
  readonly description?: string;
12907
12931
  readonly emails: string[];
12908
12932
  readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
12909
12933
  readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
12934
+ readonly session_query?: string;
12910
12935
  }
12911
12936
  interface ExperimentFormDefault {
12912
12937
  readonly discriminator: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminator;
@@ -12926,6 +12951,19 @@ declare namespace io.flow.experiment.internal.v0.models {
12926
12951
  readonly name: string;
12927
12952
  readonly traffic_percentage?: number;
12928
12953
  }
12954
+ interface ExperimentMilestone {
12955
+ readonly id: string;
12956
+ readonly experiment: io.flow.experiment.internal.v0.models.ExperimentReference;
12957
+ readonly timestamp: string;
12958
+ readonly description: string;
12959
+ }
12960
+ interface ExperimentMilestoneForm {
12961
+ readonly timestamp?: string;
12962
+ readonly description: string;
12963
+ }
12964
+ interface ExperimentReference {
12965
+ readonly key: string;
12966
+ }
12929
12967
  interface ExperimentResults {
12930
12968
  readonly id: string;
12931
12969
  readonly experiment_key: string;
@@ -12948,9 +12986,8 @@ declare namespace io.flow.experiment.internal.v0.models {
12948
12986
  readonly timestamp: string;
12949
12987
  readonly results: io.flow.experiment.internal.v0.models.ExperimentResults[];
12950
12988
  }
12951
- interface ExperimentVariantSummary {
12952
- readonly key: string;
12953
- readonly name?: string;
12989
+ interface ExperimentSessionQueryForm {
12990
+ readonly session_query?: string;
12954
12991
  }
12955
12992
  interface ExperimentVersion {
12956
12993
  readonly id: string;
@@ -12972,10 +13009,15 @@ declare namespace io.flow.experiment.internal.v0.models {
12972
13009
  readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
12973
13010
  readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
12974
13011
  readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
13012
+ readonly session_query?: string;
13013
+ }
13014
+ interface FeatureValueReference {
13015
+ readonly feature_key: string;
13016
+ readonly value: string;
12975
13017
  }
12976
13018
  interface FeatureVariant {
12977
13019
  readonly discriminator: 'feature_variant';
12978
- readonly value: io.flow.experiment.internal.v0.models.ExperimentVariantSummary;
13020
+ readonly value: io.flow.experiment.internal.v0.models.FeatureVariantSummary;
12979
13021
  readonly traffic_percentage: number;
12980
13022
  readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
12981
13023
  }
@@ -12984,6 +13026,11 @@ declare namespace io.flow.experiment.internal.v0.models {
12984
13026
  readonly key: string;
12985
13027
  readonly traffic_percentage: number;
12986
13028
  }
13029
+ interface FeatureVariantSummary {
13030
+ readonly key: string;
13031
+ readonly feature_value: io.flow.experiment.internal.v0.models.FeatureValueReference;
13032
+ readonly name?: string;
13033
+ }
12987
13034
  }
12988
13035
  declare namespace io.flow.experiment.internal.v0.unions {
12989
13036
  type Experiment = io.flow.experiment.internal.v0.models.ExperienceExperiment | io.flow.experiment.internal.v0.models.FeatureExperiment;
@@ -14627,6 +14674,10 @@ declare namespace io.flow.internal.v0.models {
14627
14674
  readonly discriminator: 'checkout_info_public_key';
14628
14675
  readonly data: io.flow.payment.v0.models.PublicKey;
14629
14676
  }
14677
+ interface CheckoutInitiateInlinePaymentForm {
14678
+ readonly discriminator: 'initiate_inline_payment_form';
14679
+ readonly payment_method_id: string;
14680
+ }
14630
14681
  interface CheckoutInitiatePaymentError {
14631
14682
  readonly code: io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
14632
14683
  readonly message: string;
@@ -14636,6 +14687,12 @@ declare namespace io.flow.internal.v0.models {
14636
14687
  readonly payment_method_id: string;
14637
14688
  readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
14638
14689
  }
14690
+ interface CheckoutInlineAuthorizationRequirement {
14691
+ readonly discriminator: 'checkout_inline_authorization_requirement';
14692
+ readonly id: string;
14693
+ readonly client_token?: string;
14694
+ readonly parameters?: any;
14695
+ }
14639
14696
  interface CheckoutInputAddAttributes {
14640
14697
  readonly discriminator: 'checkout_input_add_attributes';
14641
14698
  readonly attributes: Record<string, string>;
@@ -16033,7 +16090,7 @@ declare namespace io.flow.internal.v0.models {
16033
16090
  }
16034
16091
  interface ExperienceVariant {
16035
16092
  readonly discriminator: 'experience_variant';
16036
- readonly experience: io.flow.internal.v0.models.ExperimentVariantSummary;
16093
+ readonly experience: io.flow.internal.v0.models.ExperienceVariantSummary;
16037
16094
  readonly traffic_percentage: number;
16038
16095
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
16039
16096
  }
@@ -16042,6 +16099,10 @@ declare namespace io.flow.internal.v0.models {
16042
16099
  readonly key: string;
16043
16100
  readonly traffic_percentage: number;
16044
16101
  }
16102
+ interface ExperienceVariantSummary {
16103
+ readonly key: string;
16104
+ readonly name?: string;
16105
+ }
16045
16106
  interface ExperimentDeleted {
16046
16107
  readonly discriminator: 'experiment_deleted';
16047
16108
  readonly event_id: string;
@@ -16065,6 +16126,7 @@ declare namespace io.flow.internal.v0.models {
16065
16126
  readonly emails: string[];
16066
16127
  readonly variants: io.flow.internal.v0.unions.VariantForm[];
16067
16128
  readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
16129
+ readonly session_query?: string;
16068
16130
  }
16069
16131
  interface ExperimentFormDefault {
16070
16132
  readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
@@ -16084,6 +16146,19 @@ declare namespace io.flow.internal.v0.models {
16084
16146
  readonly name: string;
16085
16147
  readonly traffic_percentage?: number;
16086
16148
  }
16149
+ interface ExperimentMilestone {
16150
+ readonly id: string;
16151
+ readonly experiment: io.flow.internal.v0.models.ExperimentReference;
16152
+ readonly timestamp: string;
16153
+ readonly description: string;
16154
+ }
16155
+ interface ExperimentMilestoneForm {
16156
+ readonly timestamp?: string;
16157
+ readonly description: string;
16158
+ }
16159
+ interface ExperimentReference {
16160
+ readonly key: string;
16161
+ }
16087
16162
  interface ExperimentResults {
16088
16163
  readonly id: string;
16089
16164
  readonly experiment_key: string;
@@ -16120,6 +16195,9 @@ declare namespace io.flow.internal.v0.models {
16120
16195
  readonly timestamp: string;
16121
16196
  readonly results: io.flow.internal.v0.models.ExperimentResults[];
16122
16197
  }
16198
+ interface ExperimentSessionQueryForm {
16199
+ readonly session_query?: string;
16200
+ }
16123
16201
  interface ExperimentUpserted {
16124
16202
  readonly discriminator: 'experiment_upserted';
16125
16203
  readonly event_id: string;
@@ -16127,10 +16205,6 @@ declare namespace io.flow.internal.v0.models {
16127
16205
  readonly organization_id: string;
16128
16206
  readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
16129
16207
  }
16130
- interface ExperimentVariantSummary {
16131
- readonly key: string;
16132
- readonly name?: string;
16133
- }
16134
16208
  interface ExperimentVersion {
16135
16209
  readonly id: string;
16136
16210
  readonly timestamp: string;
@@ -16232,6 +16306,7 @@ declare namespace io.flow.internal.v0.models {
16232
16306
  readonly variants: io.flow.internal.v0.models.FeatureVariant[];
16233
16307
  readonly transitions?: io.flow.internal.v0.enums.Status[];
16234
16308
  readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
16309
+ readonly session_query?: string;
16235
16310
  }
16236
16311
  interface FeatureForm {
16237
16312
  readonly name: string;
@@ -16280,12 +16355,16 @@ declare namespace io.flow.internal.v0.models {
16280
16355
  readonly feature_query: string;
16281
16356
  readonly context: io.flow.internal.v0.models.FeatureContextForm;
16282
16357
  }
16358
+ interface FeatureValueReference {
16359
+ readonly feature_key: string;
16360
+ readonly value: string;
16361
+ }
16283
16362
  interface FeatureValueResult {
16284
16363
  readonly values: io.flow.internal.v0.unions.FeatureValue[];
16285
16364
  }
16286
16365
  interface FeatureVariant {
16287
16366
  readonly discriminator: 'feature_variant';
16288
- readonly value: io.flow.internal.v0.models.ExperimentVariantSummary;
16367
+ readonly value: io.flow.internal.v0.models.FeatureVariantSummary;
16289
16368
  readonly traffic_percentage: number;
16290
16369
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
16291
16370
  }
@@ -16294,6 +16373,11 @@ declare namespace io.flow.internal.v0.models {
16294
16373
  readonly key: string;
16295
16374
  readonly traffic_percentage: number;
16296
16375
  }
16376
+ interface FeatureVariantSummary {
16377
+ readonly key: string;
16378
+ readonly feature_value: io.flow.internal.v0.models.FeatureValueReference;
16379
+ readonly name?: string;
16380
+ }
16297
16381
  interface Fedex {
16298
16382
  readonly discriminator: 'fedex';
16299
16383
  readonly key: string;
@@ -16703,6 +16787,28 @@ declare namespace io.flow.internal.v0.models {
16703
16787
  readonly visit_id?: string;
16704
16788
  readonly visitor_id?: string;
16705
16789
  }
16790
+ interface HeapAfterpayPopupClosed {
16791
+ readonly discriminator: 'afterpay_popup_closed';
16792
+ readonly checkout_id?: string;
16793
+ readonly experience_key?: string;
16794
+ readonly experiment_key?: string;
16795
+ readonly experiment_variant_key?: string;
16796
+ readonly order_number?: string;
16797
+ readonly organization_id?: string;
16798
+ readonly visit_id?: string;
16799
+ readonly visitor_id?: string;
16800
+ }
16801
+ interface HeapAfterpayPopupOpened {
16802
+ readonly discriminator: 'afterpay_popup_opened';
16803
+ readonly checkout_id?: string;
16804
+ readonly experience_key?: string;
16805
+ readonly experiment_key?: string;
16806
+ readonly experiment_variant_key?: string;
16807
+ readonly order_number?: string;
16808
+ readonly organization_id?: string;
16809
+ readonly visit_id?: string;
16810
+ readonly visitor_id?: string;
16811
+ }
16706
16812
  interface HeapAuthorizationDeclined {
16707
16813
  readonly discriminator: 'authorization_declined';
16708
16814
  readonly decline_code: io.flow.payment.v0.enums.AuthorizationDeclineCode;
@@ -18698,6 +18804,10 @@ declare namespace io.flow.internal.v0.models {
18698
18804
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
18699
18805
  readonly starts_at: string;
18700
18806
  }
18807
+ interface PlatformFeeChangeForm {
18808
+ readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
18809
+ readonly starts_at: string;
18810
+ }
18701
18811
  interface PlatformFeeDisabled {
18702
18812
  readonly discriminator: 'platform_fee_disabled';
18703
18813
  readonly attributes?: Record<string, string>;
@@ -20219,14 +20329,14 @@ declare namespace io.flow.internal.v0.unions {
20219
20329
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
20220
20330
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
20221
20331
  type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey;
20222
- type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
20332
+ type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
20223
20333
  type CheckoutInput = io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
20224
20334
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
20225
20335
  type CheckoutOrderDeliveryOption = io.flow.internal.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.internal.v0.models.CheckoutOrderPhysicalDeliveryOption;
20226
20336
  type CheckoutOrderFormPaymentDataGroup = io.flow.internal.v0.models.CheckoutOrderFormPaymentDataGroupSingle | io.flow.internal.v0.models.CheckoutOrderFormPaymentDataGroupMulti;
20227
20337
  type CheckoutOrderPayment = io.flow.internal.v0.models.CheckoutOrderPaymentCard | io.flow.internal.v0.models.CheckoutOrderPaymentGiftCard | io.flow.internal.v0.models.CheckoutOrderPaymentOnline;
20228
20338
  type CheckoutOrderPromotion = io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
20229
- type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement;
20339
+ type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
20230
20340
  type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
20231
20341
  type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard;
20232
20342
  type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
@@ -20287,7 +20397,7 @@ declare namespace io.flow.internal.v0.unions {
20287
20397
  type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
20288
20398
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
20289
20399
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
20290
- type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRetry;
20400
+ type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRetry;
20291
20401
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
20292
20402
  type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
20293
20403
  type InternalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
@@ -20653,10 +20763,12 @@ export declare type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.C
20653
20763
  export declare type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
20654
20764
  export declare type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutInfoPaymentsFormData;
20655
20765
  export declare type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
20766
+ export declare type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
20656
20767
  export declare type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
20657
20768
  export declare type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
20658
20769
  export declare type CheckoutInitiatePaymentForm = io.flow.internal.v0.unions.CheckoutInitiatePaymentForm;
20659
20770
  export declare type CheckoutInitiateRedirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
20771
+ export declare type CheckoutInlineAuthorizationRequirement = io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
20660
20772
  export declare type CheckoutInput = io.flow.internal.v0.unions.CheckoutInput;
20661
20773
  export declare type CheckoutInputAddAttributes = io.flow.internal.v0.models.CheckoutInputAddAttributes;
20662
20774
  export declare type CheckoutInputDeleteAddressStreet = io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet;
@@ -21025,6 +21137,7 @@ export declare type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.Exp
21025
21137
  export declare type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference;
21026
21138
  export declare type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
21027
21139
  export declare type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
21140
+ export declare type ExperienceVariantSummary = io.flow.internal.v0.models.ExperienceVariantSummary;
21028
21141
  export declare type Experiment = io.flow.internal.v0.unions.Experiment;
21029
21142
  export declare type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
21030
21143
  export declare type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
@@ -21034,12 +21147,15 @@ export declare type ExperimentFormDefault = io.flow.internal.v0.models.Experimen
21034
21147
  export declare type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
21035
21148
  export declare type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
21036
21149
  export declare type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
21150
+ export declare type ExperimentMilestone = io.flow.internal.v0.models.ExperimentMilestone;
21151
+ export declare type ExperimentMilestoneForm = io.flow.internal.v0.models.ExperimentMilestoneForm;
21152
+ export declare type ExperimentReference = io.flow.internal.v0.models.ExperimentReference;
21037
21153
  export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
21038
21154
  export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
21039
21155
  export declare type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
21040
21156
  export declare type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
21157
+ export declare type ExperimentSessionQueryForm = io.flow.internal.v0.models.ExperimentSessionQueryForm;
21041
21158
  export declare type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
21042
- export declare type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
21043
21159
  export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
21044
21160
  export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
21045
21161
  export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
@@ -21073,9 +21189,11 @@ export declare type FeatureType = io.flow.internal.v0.enums.FeatureType;
21073
21189
  export declare type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted;
21074
21190
  export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
21075
21191
  export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
21192
+ export declare type FeatureValueReference = io.flow.internal.v0.models.FeatureValueReference;
21076
21193
  export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
21077
21194
  export declare type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
21078
21195
  export declare type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
21196
+ export declare type FeatureVariantSummary = io.flow.internal.v0.models.FeatureVariantSummary;
21079
21197
  export declare type Fedex = io.flow.internal.v0.models.Fedex;
21080
21198
  export declare type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
21081
21199
  export declare type Fee = io.flow.internal.v0.models.Fee;
@@ -21146,6 +21264,8 @@ export declare type HarmonizationPhraseSuggestionRequestImport = io.flow.interna
21146
21264
  export declare type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
21147
21265
  export declare type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
21148
21266
  export declare type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
21267
+ export declare type HeapAfterpayPopupClosed = io.flow.internal.v0.models.HeapAfterpayPopupClosed;
21268
+ export declare type HeapAfterpayPopupOpened = io.flow.internal.v0.models.HeapAfterpayPopupOpened;
21149
21269
  export declare type HeapAuthorizationDeclined = io.flow.internal.v0.models.HeapAuthorizationDeclined;
21150
21270
  export declare type HeapAuthorizationError = io.flow.internal.v0.models.HeapAuthorizationError;
21151
21271
  export declare type HeapCardError = io.flow.internal.v0.models.HeapCardError;
@@ -21471,6 +21591,7 @@ export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagat
21471
21591
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
21472
21592
  export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
21473
21593
  export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
21594
+ export declare type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
21474
21595
  export declare type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
21475
21596
  export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
21476
21597
  export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
package/dist/api.d.ts CHANGED
@@ -852,7 +852,7 @@ declare namespace io.flow.v0.enums {
852
852
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
853
853
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
854
854
  type Environment = 'sandbox' | 'production';
855
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
855
+ type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
856
856
  type ExceptionType = 'open' | 'closed';
857
857
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
858
858
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -1069,6 +1069,7 @@ declare namespace io.flow.v0.models {
1069
1069
  readonly province: io.flow.v0.unions.FieldValidationRule[];
1070
1070
  readonly postal: io.flow.v0.unions.FieldValidationRule[];
1071
1071
  readonly phone: io.flow.v0.unions.FieldValidationRule[];
1072
+ readonly vat_registration_number: io.flow.v0.unions.FieldValidationRule[];
1072
1073
  }
1073
1074
  interface AddressSuggestion {
1074
1075
  readonly address: io.flow.v0.models.Address;
@@ -3147,6 +3148,10 @@ declare namespace io.flow.v0.models {
3147
3148
  readonly discriminator: 'required';
3148
3149
  readonly placeholder?: string;
3149
3150
  }
3151
+ interface FieldValidationRequiredIfPresent {
3152
+ readonly discriminator: 'required_if_present';
3153
+ readonly placeholder?: string;
3154
+ }
3150
3155
  interface FlatRate {
3151
3156
  readonly discriminator: 'flat_rate';
3152
3157
  readonly price: io.flow.v0.models.Price;
@@ -3794,14 +3799,6 @@ declare namespace io.flow.v0.models {
3794
3799
  readonly position: number;
3795
3800
  readonly experience?: io.flow.v0.models.ExperienceReference;
3796
3801
  }
3797
- interface ItemMarginDeleted {
3798
- readonly discriminator: 'item_margin_deleted';
3799
- readonly event_id: string;
3800
- readonly timestamp: string;
3801
- readonly item_margin_id: string;
3802
- readonly organization_id: string;
3803
- readonly experience_key: string;
3804
- }
3805
3802
  interface ItemMarginDeletedV2 {
3806
3803
  readonly discriminator: 'item_margin_deleted_v2';
3807
3804
  readonly event_id: string;
@@ -3824,20 +3821,6 @@ declare namespace io.flow.v0.models {
3824
3821
  readonly percent?: number;
3825
3822
  readonly position?: number;
3826
3823
  }
3827
- interface ItemMarginUpserted {
3828
- readonly discriminator: 'item_margin_upserted';
3829
- readonly event_id: string;
3830
- readonly timestamp: string;
3831
- readonly item_margin_id: string;
3832
- readonly organization_id: string;
3833
- readonly experience_key: string;
3834
- readonly name: string;
3835
- readonly q: string;
3836
- readonly fixed: number;
3837
- readonly percent: number;
3838
- readonly position: number;
3839
- readonly key?: string;
3840
- }
3841
3824
  interface ItemMarginUpsertedV2 {
3842
3825
  readonly discriminator: 'item_margin_upserted_v2';
3843
3826
  readonly event_id: string;
@@ -4721,6 +4704,7 @@ declare namespace io.flow.v0.models {
4721
4704
  readonly address?: io.flow.v0.models.BillingAddress;
4722
4705
  readonly date?: string;
4723
4706
  readonly attributes?: Record<string, string>;
4707
+ readonly method?: string;
4724
4708
  }
4725
4709
  interface OrderPlaced {
4726
4710
  readonly discriminator: 'order_placed';
@@ -7517,7 +7501,7 @@ declare namespace io.flow.v0.unions {
7517
7501
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
7518
7502
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
7519
7503
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
7520
- type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7504
+ type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7521
7505
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
7522
7506
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
7523
7507
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -7528,7 +7512,7 @@ declare namespace io.flow.v0.unions {
7528
7512
  type ExpandableUser = io.flow.v0.models.User | io.flow.v0.models.UserReference;
7529
7513
  type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
7530
7514
  type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.HarmonizationTariffCodesExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType;
7531
- type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
7515
+ type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationRequiredIfPresent | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
7532
7516
  type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
7533
7517
  type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
7534
7518
  type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
@@ -8014,6 +7998,7 @@ export declare type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
8014
7998
  export declare type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
8015
7999
  export declare type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
8016
8000
  export declare type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired;
8001
+ export declare type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent;
8017
8002
  export declare type FieldValidationRule = io.flow.v0.unions.FieldValidationRule;
8018
8003
  export declare type FlatRate = io.flow.v0.models.FlatRate;
8019
8004
  export declare type FlatRateForm = io.flow.v0.models.FlatRateForm;
@@ -8155,11 +8140,9 @@ export declare type ItemFormOverlay = io.flow.v0.models.ItemFormOverlay;
8155
8140
  export declare type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
8156
8141
  export declare type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
8157
8142
  export declare type ItemMargin = io.flow.v0.models.ItemMargin;
8158
- export declare type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
8159
8143
  export declare type ItemMarginDeletedV2 = io.flow.v0.models.ItemMarginDeletedV2;
8160
8144
  export declare type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
8161
8145
  export declare type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm;
8162
- export declare type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
8163
8146
  export declare type ItemMarginUpsertedV2 = io.flow.v0.models.ItemMarginUpsertedV2;
8164
8147
  export declare type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
8165
8148
  export declare type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.7.6",
3
+ "version": "11.8.0",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "b2331d60ca5bed604099310caabb53400e954bfe"
28
+ "gitHead": "6af710911739cb41ecf9ee9bfd9e6762ebee7ff8"
29
29
  }
@@ -263,6 +263,7 @@ declare namespace io.flow.experience.v0.models {
263
263
  readonly province: io.flow.field.validation.v0.unions.FieldValidationRule[];
264
264
  readonly postal: io.flow.field.validation.v0.unions.FieldValidationRule[];
265
265
  readonly phone: io.flow.field.validation.v0.unions.FieldValidationRule[];
266
+ readonly vat_registration_number: io.flow.field.validation.v0.unions.FieldValidationRule[];
266
267
  }
267
268
 
268
269
  interface Allocation {
@@ -941,6 +942,7 @@ declare namespace io.flow.experience.v0.models {
941
942
  readonly address?: io.flow.common.v0.models.BillingAddress;
942
943
  readonly date?: string;
943
944
  readonly attributes?: Record<string, string>;
945
+ readonly method?: string;
944
946
  }
945
947
 
946
948
  interface OrderPromotionTrigger {
@@ -3333,11 +3335,17 @@ declare namespace io.flow.field.validation.v0.models {
3333
3335
  readonly discriminator: 'required';
3334
3336
  readonly placeholder?: string;
3335
3337
  }
3338
+
3339
+ interface FieldValidationRequiredIfPresent {
3340
+ readonly discriminator: 'required_if_present';
3341
+ readonly placeholder?: string;
3342
+ }
3336
3343
  }
3337
3344
 
3338
3345
  declare namespace io.flow.field.validation.v0.unions {
3339
3346
  type FieldValidationRule =
3340
3347
  | io.flow.field.validation.v0.models.FieldValidationRequired
3348
+ | io.flow.field.validation.v0.models.FieldValidationRequiredIfPresent
3341
3349
  | io.flow.field.validation.v0.models.FieldValidationMin
3342
3350
  | io.flow.field.validation.v0.models.FieldValidationMax
3343
3351
  | io.flow.field.validation.v0.models.FieldValidationPattern;
@@ -12167,6 +12175,11 @@ declare namespace io.flow.billing.internal.v0.models {
12167
12175
  readonly starts_at: string;
12168
12176
  }
12169
12177
 
12178
+ interface PlatformFeeChangeForm {
12179
+ readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
12180
+ readonly starts_at: string;
12181
+ }
12182
+
12170
12183
  interface PlatformFeeDisabled {
12171
12184
  readonly discriminator: 'platform_fee_disabled';
12172
12185
  readonly attributes?: Record<string, string>;
@@ -15898,12 +15911,24 @@ declare namespace io.flow.checkout.backend.v0.models {
15898
15911
  readonly url: string;
15899
15912
  }
15900
15913
 
15914
+ interface CheckoutInitiateInlinePaymentForm {
15915
+ readonly discriminator: 'initiate_inline_payment_form';
15916
+ readonly payment_method_id: string;
15917
+ }
15918
+
15901
15919
  interface CheckoutInitiateRedirectPaymentForm {
15902
15920
  readonly discriminator: 'initiate_redirect_payment_form';
15903
15921
  readonly payment_method_id: string;
15904
15922
  readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
15905
15923
  }
15906
15924
 
15925
+ interface CheckoutInlineAuthorizationRequirement {
15926
+ readonly discriminator: 'checkout_inline_authorization_requirement';
15927
+ readonly id: string;
15928
+ readonly client_token?: string;
15929
+ readonly parameters?: any /*object*/;
15930
+ }
15931
+
15907
15932
  interface CheckoutLine {
15908
15933
  readonly id: string;
15909
15934
  readonly checkout: io.flow.checkout.backend.v0.models.V2CheckoutReference;
@@ -16226,7 +16251,9 @@ declare namespace io.flow.checkout.backend.v0.unions {
16226
16251
  type CheckoutDeliveryWindow =
16227
16252
  | io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowStatic
16228
16253
  | io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
16229
- type CheckoutInitiatePaymentForm = io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm;
16254
+ type CheckoutInitiatePaymentForm =
16255
+ | io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm
16256
+ | io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm;
16230
16257
  type CheckoutOrder =
16231
16258
  | io.flow.checkout.backend.v0.models.CheckoutOpenOrder
16232
16259
  | io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
@@ -16243,7 +16270,9 @@ declare namespace io.flow.checkout.backend.v0.unions {
16243
16270
  type CheckoutOrderPromotion =
16244
16271
  | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount
16245
16272
  | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
16246
- type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement;
16273
+ type CheckoutPaymentActionRequirement =
16274
+ | io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement
16275
+ | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement;
16247
16276
  type CheckoutPaymentDetailsForm =
16248
16277
  | io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload
16249
16278
  | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload
@@ -16771,7 +16800,7 @@ declare namespace io.flow.experiment.internal.v0.models {
16771
16800
 
16772
16801
  interface ExperienceVariant {
16773
16802
  readonly discriminator: 'experience_variant';
16774
- readonly experience: io.flow.experiment.internal.v0.models.ExperimentVariantSummary;
16803
+ readonly experience: io.flow.experiment.internal.v0.models.ExperienceVariantSummary;
16775
16804
  readonly traffic_percentage: number;
16776
16805
  readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
16777
16806
  }
@@ -16782,12 +16811,18 @@ declare namespace io.flow.experiment.internal.v0.models {
16782
16811
  readonly traffic_percentage: number;
16783
16812
  }
16784
16813
 
16814
+ interface ExperienceVariantSummary {
16815
+ readonly key: string;
16816
+ readonly name?: string;
16817
+ }
16818
+
16785
16819
  interface ExperimentForm {
16786
16820
  readonly name: string;
16787
16821
  readonly description?: string;
16788
16822
  readonly emails: string[];
16789
16823
  readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
16790
16824
  readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
16825
+ readonly session_query?: string;
16791
16826
  }
16792
16827
 
16793
16828
  interface ExperimentFormDefault {
@@ -16812,6 +16847,22 @@ declare namespace io.flow.experiment.internal.v0.models {
16812
16847
  readonly traffic_percentage?: number;
16813
16848
  }
16814
16849
 
16850
+ interface ExperimentMilestone {
16851
+ readonly id: string;
16852
+ readonly experiment: io.flow.experiment.internal.v0.models.ExperimentReference;
16853
+ readonly timestamp: string;
16854
+ readonly description: string;
16855
+ }
16856
+
16857
+ interface ExperimentMilestoneForm {
16858
+ readonly timestamp?: string;
16859
+ readonly description: string;
16860
+ }
16861
+
16862
+ interface ExperimentReference {
16863
+ readonly key: string;
16864
+ }
16865
+
16815
16866
  interface ExperimentResults {
16816
16867
  readonly id: string;
16817
16868
  readonly experiment_key: string;
@@ -16836,9 +16887,8 @@ declare namespace io.flow.experiment.internal.v0.models {
16836
16887
  readonly results: io.flow.experiment.internal.v0.models.ExperimentResults[];
16837
16888
  }
16838
16889
 
16839
- interface ExperimentVariantSummary {
16840
- readonly key: string;
16841
- readonly name?: string;
16890
+ interface ExperimentSessionQueryForm {
16891
+ readonly session_query?: string;
16842
16892
  }
16843
16893
 
16844
16894
  interface ExperimentVersion {
@@ -16862,11 +16912,17 @@ declare namespace io.flow.experiment.internal.v0.models {
16862
16912
  readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
16863
16913
  readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
16864
16914
  readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
16915
+ readonly session_query?: string;
16916
+ }
16917
+
16918
+ interface FeatureValueReference {
16919
+ readonly feature_key: string;
16920
+ readonly value: string;
16865
16921
  }
16866
16922
 
16867
16923
  interface FeatureVariant {
16868
16924
  readonly discriminator: 'feature_variant';
16869
- readonly value: io.flow.experiment.internal.v0.models.ExperimentVariantSummary;
16925
+ readonly value: io.flow.experiment.internal.v0.models.FeatureVariantSummary;
16870
16926
  readonly traffic_percentage: number;
16871
16927
  readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
16872
16928
  }
@@ -16876,6 +16932,12 @@ declare namespace io.flow.experiment.internal.v0.models {
16876
16932
  readonly key: string;
16877
16933
  readonly traffic_percentage: number;
16878
16934
  }
16935
+
16936
+ interface FeatureVariantSummary {
16937
+ readonly key: string;
16938
+ readonly feature_value: io.flow.experiment.internal.v0.models.FeatureValueReference;
16939
+ readonly name?: string;
16940
+ }
16879
16941
  }
16880
16942
 
16881
16943
  declare namespace io.flow.experiment.internal.v0.unions {
@@ -19342,6 +19404,11 @@ declare namespace io.flow.internal.v0.models {
19342
19404
  readonly data: io.flow.payment.v0.models.PublicKey;
19343
19405
  }
19344
19406
 
19407
+ interface CheckoutInitiateInlinePaymentForm {
19408
+ readonly discriminator: 'initiate_inline_payment_form';
19409
+ readonly payment_method_id: string;
19410
+ }
19411
+
19345
19412
  interface CheckoutInitiatePaymentError {
19346
19413
  readonly code: io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
19347
19414
  readonly message: string;
@@ -19353,6 +19420,13 @@ declare namespace io.flow.internal.v0.models {
19353
19420
  readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
19354
19421
  }
19355
19422
 
19423
+ interface CheckoutInlineAuthorizationRequirement {
19424
+ readonly discriminator: 'checkout_inline_authorization_requirement';
19425
+ readonly id: string;
19426
+ readonly client_token?: string;
19427
+ readonly parameters?: any /*object*/;
19428
+ }
19429
+
19356
19430
  interface CheckoutInputAddAttributes {
19357
19431
  readonly discriminator: 'checkout_input_add_attributes';
19358
19432
  readonly attributes: Record<string, string>;
@@ -21030,7 +21104,7 @@ declare namespace io.flow.internal.v0.models {
21030
21104
 
21031
21105
  interface ExperienceVariant {
21032
21106
  readonly discriminator: 'experience_variant';
21033
- readonly experience: io.flow.internal.v0.models.ExperimentVariantSummary;
21107
+ readonly experience: io.flow.internal.v0.models.ExperienceVariantSummary;
21034
21108
  readonly traffic_percentage: number;
21035
21109
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
21036
21110
  }
@@ -21041,6 +21115,11 @@ declare namespace io.flow.internal.v0.models {
21041
21115
  readonly traffic_percentage: number;
21042
21116
  }
21043
21117
 
21118
+ interface ExperienceVariantSummary {
21119
+ readonly key: string;
21120
+ readonly name?: string;
21121
+ }
21122
+
21044
21123
  interface ExperimentDeleted {
21045
21124
  readonly discriminator: 'experiment_deleted';
21046
21125
  readonly event_id: string;
@@ -21066,6 +21145,7 @@ declare namespace io.flow.internal.v0.models {
21066
21145
  readonly emails: string[];
21067
21146
  readonly variants: io.flow.internal.v0.unions.VariantForm[];
21068
21147
  readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
21148
+ readonly session_query?: string;
21069
21149
  }
21070
21150
 
21071
21151
  interface ExperimentFormDefault {
@@ -21090,6 +21170,22 @@ declare namespace io.flow.internal.v0.models {
21090
21170
  readonly traffic_percentage?: number;
21091
21171
  }
21092
21172
 
21173
+ interface ExperimentMilestone {
21174
+ readonly id: string;
21175
+ readonly experiment: io.flow.internal.v0.models.ExperimentReference;
21176
+ readonly timestamp: string;
21177
+ readonly description: string;
21178
+ }
21179
+
21180
+ interface ExperimentMilestoneForm {
21181
+ readonly timestamp?: string;
21182
+ readonly description: string;
21183
+ }
21184
+
21185
+ interface ExperimentReference {
21186
+ readonly key: string;
21187
+ }
21188
+
21093
21189
  interface ExperimentResults {
21094
21190
  readonly id: string;
21095
21191
  readonly experiment_key: string;
@@ -21130,6 +21226,10 @@ declare namespace io.flow.internal.v0.models {
21130
21226
  readonly results: io.flow.internal.v0.models.ExperimentResults[];
21131
21227
  }
21132
21228
 
21229
+ interface ExperimentSessionQueryForm {
21230
+ readonly session_query?: string;
21231
+ }
21232
+
21133
21233
  interface ExperimentUpserted {
21134
21234
  readonly discriminator: 'experiment_upserted';
21135
21235
  readonly event_id: string;
@@ -21138,11 +21238,6 @@ declare namespace io.flow.internal.v0.models {
21138
21238
  readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
21139
21239
  }
21140
21240
 
21141
- interface ExperimentVariantSummary {
21142
- readonly key: string;
21143
- readonly name?: string;
21144
- }
21145
-
21146
21241
  interface ExperimentVersion {
21147
21242
  readonly id: string;
21148
21243
  readonly timestamp: string;
@@ -21257,6 +21352,7 @@ declare namespace io.flow.internal.v0.models {
21257
21352
  readonly variants: io.flow.internal.v0.models.FeatureVariant[];
21258
21353
  readonly transitions?: io.flow.internal.v0.enums.Status[];
21259
21354
  readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
21355
+ readonly session_query?: string;
21260
21356
  }
21261
21357
 
21262
21358
  interface FeatureForm {
@@ -21316,13 +21412,18 @@ declare namespace io.flow.internal.v0.models {
21316
21412
  readonly context: io.flow.internal.v0.models.FeatureContextForm;
21317
21413
  }
21318
21414
 
21415
+ interface FeatureValueReference {
21416
+ readonly feature_key: string;
21417
+ readonly value: string;
21418
+ }
21419
+
21319
21420
  interface FeatureValueResult {
21320
21421
  readonly values: io.flow.internal.v0.unions.FeatureValue[];
21321
21422
  }
21322
21423
 
21323
21424
  interface FeatureVariant {
21324
21425
  readonly discriminator: 'feature_variant';
21325
- readonly value: io.flow.internal.v0.models.ExperimentVariantSummary;
21426
+ readonly value: io.flow.internal.v0.models.FeatureVariantSummary;
21326
21427
  readonly traffic_percentage: number;
21327
21428
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
21328
21429
  }
@@ -21333,6 +21434,12 @@ declare namespace io.flow.internal.v0.models {
21333
21434
  readonly traffic_percentage: number;
21334
21435
  }
21335
21436
 
21437
+ interface FeatureVariantSummary {
21438
+ readonly key: string;
21439
+ readonly feature_value: io.flow.internal.v0.models.FeatureValueReference;
21440
+ readonly name?: string;
21441
+ }
21442
+
21336
21443
  interface Fedex {
21337
21444
  readonly discriminator: 'fedex';
21338
21445
  readonly key: string;
@@ -21804,6 +21911,30 @@ declare namespace io.flow.internal.v0.models {
21804
21911
  readonly visitor_id?: string;
21805
21912
  }
21806
21913
 
21914
+ interface HeapAfterpayPopupClosed {
21915
+ readonly discriminator: 'afterpay_popup_closed';
21916
+ readonly checkout_id?: string;
21917
+ readonly experience_key?: string;
21918
+ readonly experiment_key?: string;
21919
+ readonly experiment_variant_key?: string;
21920
+ readonly order_number?: string;
21921
+ readonly organization_id?: string;
21922
+ readonly visit_id?: string;
21923
+ readonly visitor_id?: string;
21924
+ }
21925
+
21926
+ interface HeapAfterpayPopupOpened {
21927
+ readonly discriminator: 'afterpay_popup_opened';
21928
+ readonly checkout_id?: string;
21929
+ readonly experience_key?: string;
21930
+ readonly experiment_key?: string;
21931
+ readonly experiment_variant_key?: string;
21932
+ readonly order_number?: string;
21933
+ readonly organization_id?: string;
21934
+ readonly visit_id?: string;
21935
+ readonly visitor_id?: string;
21936
+ }
21937
+
21807
21938
  interface HeapAuthorizationDeclined {
21808
21939
  readonly discriminator: 'authorization_declined';
21809
21940
  readonly decline_code: io.flow.payment.v0.enums.AuthorizationDeclineCode;
@@ -24085,6 +24216,11 @@ declare namespace io.flow.internal.v0.models {
24085
24216
  readonly starts_at: string;
24086
24217
  }
24087
24218
 
24219
+ interface PlatformFeeChangeForm {
24220
+ readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
24221
+ readonly starts_at: string;
24222
+ }
24223
+
24088
24224
  interface PlatformFeeDisabled {
24089
24225
  readonly discriminator: 'platform_fee_disabled';
24090
24226
  readonly attributes?: Record<string, string>;
@@ -25901,7 +26037,9 @@ declare namespace io.flow.internal.v0.unions {
25901
26037
  | io.flow.internal.v0.models.CheckoutInfoPaymentDetails
25902
26038
  | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
25903
26039
  | io.flow.internal.v0.models.CheckoutInfoPublicKey;
25904
- type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
26040
+ type CheckoutInitiatePaymentForm =
26041
+ | io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm
26042
+ | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
25905
26043
  type CheckoutInput =
25906
26044
  | io.flow.internal.v0.models.CheckoutInputAddAttributes
25907
26045
  | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet
@@ -25936,7 +26074,9 @@ declare namespace io.flow.internal.v0.unions {
25936
26074
  type CheckoutOrderPromotion =
25937
26075
  | io.flow.internal.v0.models.CheckoutOrderPromotionDiscount
25938
26076
  | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
25939
- type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement;
26077
+ type CheckoutPaymentActionRequirement =
26078
+ | io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement
26079
+ | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
25940
26080
  type CheckoutPaymentDetailsForm =
25941
26081
  | io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload
25942
26082
  | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload
@@ -26305,6 +26445,8 @@ declare namespace io.flow.internal.v0.unions {
26305
26445
  | io.flow.internal.v0.models.SearchItemSummary;
26306
26446
  type HeapEvent =
26307
26447
  | io.flow.internal.v0.models.HeapAddressPredictionClick
26448
+ | io.flow.internal.v0.models.HeapAfterpayPopupOpened
26449
+ | io.flow.internal.v0.models.HeapAfterpayPopupClosed
26308
26450
  | io.flow.internal.v0.models.HeapAuthorizationDeclined
26309
26451
  | io.flow.internal.v0.models.HeapAuthorizationError
26310
26452
  | io.flow.internal.v0.models.HeapCardError
@@ -26819,10 +26961,12 @@ export type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutI
26819
26961
  export type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
26820
26962
  export type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutInfoPaymentsFormData;
26821
26963
  export type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
26964
+ export type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
26822
26965
  export type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
26823
26966
  export type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
26824
26967
  export type CheckoutInitiatePaymentForm = io.flow.internal.v0.unions.CheckoutInitiatePaymentForm;
26825
26968
  export type CheckoutInitiateRedirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
26969
+ export type CheckoutInlineAuthorizationRequirement = io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
26826
26970
  export type CheckoutInput = io.flow.internal.v0.unions.CheckoutInput;
26827
26971
  export type CheckoutInputAddAttributes = io.flow.internal.v0.models.CheckoutInputAddAttributes;
26828
26972
  export type CheckoutInputDeleteAddressStreet = io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet;
@@ -27191,6 +27335,7 @@ export type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.ExperienceO
27191
27335
  export type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference;
27192
27336
  export type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
27193
27337
  export type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
27338
+ export type ExperienceVariantSummary = io.flow.internal.v0.models.ExperienceVariantSummary;
27194
27339
  export type Experiment = io.flow.internal.v0.unions.Experiment;
27195
27340
  export type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
27196
27341
  export type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
@@ -27200,12 +27345,15 @@ export type ExperimentFormDefault = io.flow.internal.v0.models.ExperimentFormDef
27200
27345
  export type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
27201
27346
  export type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
27202
27347
  export type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
27348
+ export type ExperimentMilestone = io.flow.internal.v0.models.ExperimentMilestone;
27349
+ export type ExperimentMilestoneForm = io.flow.internal.v0.models.ExperimentMilestoneForm;
27350
+ export type ExperimentReference = io.flow.internal.v0.models.ExperimentReference;
27203
27351
  export type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
27204
27352
  export type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
27205
27353
  export type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
27206
27354
  export type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
27355
+ export type ExperimentSessionQueryForm = io.flow.internal.v0.models.ExperimentSessionQueryForm;
27207
27356
  export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
27208
- export type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
27209
27357
  export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
27210
27358
  export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
27211
27359
  export type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
@@ -27239,9 +27387,11 @@ export type FeatureType = io.flow.internal.v0.enums.FeatureType;
27239
27387
  export type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted;
27240
27388
  export type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
27241
27389
  export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
27390
+ export type FeatureValueReference = io.flow.internal.v0.models.FeatureValueReference;
27242
27391
  export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
27243
27392
  export type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
27244
27393
  export type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
27394
+ export type FeatureVariantSummary = io.flow.internal.v0.models.FeatureVariantSummary;
27245
27395
  export type Fedex = io.flow.internal.v0.models.Fedex;
27246
27396
  export type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
27247
27397
  export type Fee = io.flow.internal.v0.models.Fee;
@@ -27312,6 +27462,8 @@ export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.mod
27312
27462
  export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
27313
27463
  export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
27314
27464
  export type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
27465
+ export type HeapAfterpayPopupClosed = io.flow.internal.v0.models.HeapAfterpayPopupClosed;
27466
+ export type HeapAfterpayPopupOpened = io.flow.internal.v0.models.HeapAfterpayPopupOpened;
27315
27467
  export type HeapAuthorizationDeclined = io.flow.internal.v0.models.HeapAuthorizationDeclined;
27316
27468
  export type HeapAuthorizationError = io.flow.internal.v0.models.HeapAuthorizationError;
27317
27469
  export type HeapCardError = io.flow.internal.v0.models.HeapCardError;
@@ -27637,6 +27789,7 @@ export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
27637
27789
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
27638
27790
  export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
27639
27791
  export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
27792
+ export type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
27640
27793
  export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
27641
27794
  export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
27642
27795
  export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
package/src/api.ts CHANGED
@@ -1231,8 +1231,6 @@ declare namespace io.flow.v0.enums {
1231
1231
  | 'experience_logistics_settings_deleted'
1232
1232
  | 'item_margin_deleted_v2'
1233
1233
  | 'item_margin_upserted_v2'
1234
- | 'item_margin_deleted'
1235
- | 'item_margin_upserted'
1236
1234
  | 'item_sales_margin_deleted'
1237
1235
  | 'item_sales_margin_upserted'
1238
1236
  | 'label_format_deleted'
@@ -1793,6 +1791,7 @@ declare namespace io.flow.v0.models {
1793
1791
  readonly province: io.flow.v0.unions.FieldValidationRule[];
1794
1792
  readonly postal: io.flow.v0.unions.FieldValidationRule[];
1795
1793
  readonly phone: io.flow.v0.unions.FieldValidationRule[];
1794
+ readonly vat_registration_number: io.flow.v0.unions.FieldValidationRule[];
1796
1795
  }
1797
1796
 
1798
1797
  interface AddressSuggestion {
@@ -4210,6 +4209,11 @@ declare namespace io.flow.v0.models {
4210
4209
  readonly placeholder?: string;
4211
4210
  }
4212
4211
 
4212
+ interface FieldValidationRequiredIfPresent {
4213
+ readonly discriminator: 'required_if_present';
4214
+ readonly placeholder?: string;
4215
+ }
4216
+
4213
4217
  interface FlatRate {
4214
4218
  readonly discriminator: 'flat_rate';
4215
4219
  readonly price: io.flow.v0.models.Price;
@@ -4970,15 +4974,6 @@ declare namespace io.flow.v0.models {
4970
4974
  readonly experience?: io.flow.v0.models.ExperienceReference;
4971
4975
  }
4972
4976
 
4973
- interface ItemMarginDeleted {
4974
- readonly discriminator: 'item_margin_deleted';
4975
- readonly event_id: string;
4976
- readonly timestamp: string;
4977
- readonly item_margin_id: string;
4978
- readonly organization_id: string;
4979
- readonly experience_key: string;
4980
- }
4981
-
4982
4977
  interface ItemMarginDeletedV2 {
4983
4978
  readonly discriminator: 'item_margin_deleted_v2';
4984
4979
  readonly event_id: string;
@@ -5004,21 +4999,6 @@ declare namespace io.flow.v0.models {
5004
4999
  readonly position?: number;
5005
5000
  }
5006
5001
 
5007
- interface ItemMarginUpserted {
5008
- readonly discriminator: 'item_margin_upserted';
5009
- readonly event_id: string;
5010
- readonly timestamp: string;
5011
- readonly item_margin_id: string;
5012
- readonly organization_id: string;
5013
- readonly experience_key: string;
5014
- readonly name: string;
5015
- readonly q: string;
5016
- readonly fixed: number;
5017
- readonly percent: number;
5018
- readonly position: number;
5019
- readonly key?: string;
5020
- }
5021
-
5022
5002
  interface ItemMarginUpsertedV2 {
5023
5003
  readonly discriminator: 'item_margin_upserted_v2';
5024
5004
  readonly event_id: string;
@@ -6036,6 +6016,7 @@ declare namespace io.flow.v0.models {
6036
6016
  readonly address?: io.flow.v0.models.BillingAddress;
6037
6017
  readonly date?: string;
6038
6018
  readonly attributes?: Record<string, string>;
6019
+ readonly method?: string;
6039
6020
  }
6040
6021
 
6041
6022
  interface OrderPlaced {
@@ -9377,8 +9358,6 @@ declare namespace io.flow.v0.unions {
9377
9358
  | io.flow.v0.models.ExperienceLogisticsSettingsDeleted
9378
9359
  | io.flow.v0.models.ItemMarginDeletedV2
9379
9360
  | io.flow.v0.models.ItemMarginUpsertedV2
9380
- | io.flow.v0.models.ItemMarginDeleted
9381
- | io.flow.v0.models.ItemMarginUpserted
9382
9361
  | io.flow.v0.models.ItemSalesMarginDeleted
9383
9362
  | io.flow.v0.models.ItemSalesMarginUpserted
9384
9363
  | io.flow.v0.models.LabelFormatDeleted
@@ -9534,6 +9513,7 @@ declare namespace io.flow.v0.unions {
9534
9513
  | io.flow.v0.models.MarketingFeedsExportType;
9535
9514
  type FieldValidationRule =
9536
9515
  | io.flow.v0.models.FieldValidationRequired
9516
+ | io.flow.v0.models.FieldValidationRequiredIfPresent
9537
9517
  | io.flow.v0.models.FieldValidationMin
9538
9518
  | io.flow.v0.models.FieldValidationMax
9539
9519
  | io.flow.v0.models.FieldValidationPattern;
@@ -10098,6 +10078,7 @@ export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
10098
10078
  export type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
10099
10079
  export type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
10100
10080
  export type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired;
10081
+ export type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent;
10101
10082
  export type FieldValidationRule = io.flow.v0.unions.FieldValidationRule;
10102
10083
  export type FlatRate = io.flow.v0.models.FlatRate;
10103
10084
  export type FlatRateForm = io.flow.v0.models.FlatRateForm;
@@ -10239,11 +10220,9 @@ export type ItemFormOverlay = io.flow.v0.models.ItemFormOverlay;
10239
10220
  export type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
10240
10221
  export type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
10241
10222
  export type ItemMargin = io.flow.v0.models.ItemMargin;
10242
- export type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
10243
10223
  export type ItemMarginDeletedV2 = io.flow.v0.models.ItemMarginDeletedV2;
10244
10224
  export type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
10245
10225
  export type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm;
10246
- export type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
10247
10226
  export type ItemMarginUpsertedV2 = io.flow.v0.models.ItemMarginUpsertedV2;
10248
10227
  export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
10249
10228
  export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;