@flowio/types 11.7.7 → 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.
- package/dist/api-internal.d.ts +101 -17
- package/dist/api.d.ts +8 -1
- package/package.json +2 -2
- package/src/api-internal.ts +127 -17
- package/src/api.ts +9 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -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';
|
|
@@ -12191,11 +12197,21 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
12191
12197
|
interface CheckoutHostedConfirmationPage {
|
|
12192
12198
|
readonly url: string;
|
|
12193
12199
|
}
|
|
12200
|
+
interface CheckoutInitiateInlinePaymentForm {
|
|
12201
|
+
readonly discriminator: 'initiate_inline_payment_form';
|
|
12202
|
+
readonly payment_method_id: string;
|
|
12203
|
+
}
|
|
12194
12204
|
interface CheckoutInitiateRedirectPaymentForm {
|
|
12195
12205
|
readonly discriminator: 'initiate_redirect_payment_form';
|
|
12196
12206
|
readonly payment_method_id: string;
|
|
12197
12207
|
readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
12198
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
|
+
}
|
|
12199
12215
|
interface CheckoutLine {
|
|
12200
12216
|
readonly id: string;
|
|
12201
12217
|
readonly checkout: io.flow.checkout.backend.v0.models.V2CheckoutReference;
|
|
@@ -12463,13 +12479,13 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
12463
12479
|
declare namespace io.flow.checkout.backend.v0.unions {
|
|
12464
12480
|
type CheckoutConfirmationDetails = io.flow.checkout.backend.v0.models.CheckoutDirectDebit;
|
|
12465
12481
|
type CheckoutDeliveryWindow = io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowStatic | io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
|
|
12466
|
-
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;
|
|
12467
12483
|
type CheckoutOrder = io.flow.checkout.backend.v0.models.CheckoutOpenOrder | io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
|
|
12468
12484
|
type CheckoutOrderDeliveryOption = io.flow.checkout.backend.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.checkout.backend.v0.models.CheckoutOrderPhysicalDeliveryOption;
|
|
12469
12485
|
type CheckoutOrderFormPaymentDataGroup = io.flow.checkout.backend.v0.models.CheckoutOrderFormPaymentDataGroupSingle | io.flow.checkout.backend.v0.models.CheckoutOrderFormPaymentDataGroupMulti;
|
|
12470
12486
|
type CheckoutOrderPayment = io.flow.checkout.backend.v0.models.CheckoutOrderPaymentCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentGiftCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentOnline;
|
|
12471
12487
|
type CheckoutOrderPromotion = io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
12472
|
-
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;
|
|
12473
12489
|
type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
|
|
12474
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;
|
|
12475
12491
|
}
|
|
@@ -12896,7 +12912,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12896
12912
|
}
|
|
12897
12913
|
interface ExperienceVariant {
|
|
12898
12914
|
readonly discriminator: 'experience_variant';
|
|
12899
|
-
readonly experience: io.flow.experiment.internal.v0.models.
|
|
12915
|
+
readonly experience: io.flow.experiment.internal.v0.models.ExperienceVariantSummary;
|
|
12900
12916
|
readonly traffic_percentage: number;
|
|
12901
12917
|
readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
|
|
12902
12918
|
}
|
|
@@ -12905,6 +12921,10 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12905
12921
|
readonly key: string;
|
|
12906
12922
|
readonly traffic_percentage: number;
|
|
12907
12923
|
}
|
|
12924
|
+
interface ExperienceVariantSummary {
|
|
12925
|
+
readonly key: string;
|
|
12926
|
+
readonly name?: string;
|
|
12927
|
+
}
|
|
12908
12928
|
interface ExperimentForm {
|
|
12909
12929
|
readonly name: string;
|
|
12910
12930
|
readonly description?: string;
|
|
@@ -12931,6 +12951,19 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12931
12951
|
readonly name: string;
|
|
12932
12952
|
readonly traffic_percentage?: number;
|
|
12933
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
|
+
}
|
|
12934
12967
|
interface ExperimentResults {
|
|
12935
12968
|
readonly id: string;
|
|
12936
12969
|
readonly experiment_key: string;
|
|
@@ -12953,9 +12986,8 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12953
12986
|
readonly timestamp: string;
|
|
12954
12987
|
readonly results: io.flow.experiment.internal.v0.models.ExperimentResults[];
|
|
12955
12988
|
}
|
|
12956
|
-
interface
|
|
12957
|
-
readonly
|
|
12958
|
-
readonly name?: string;
|
|
12989
|
+
interface ExperimentSessionQueryForm {
|
|
12990
|
+
readonly session_query?: string;
|
|
12959
12991
|
}
|
|
12960
12992
|
interface ExperimentVersion {
|
|
12961
12993
|
readonly id: string;
|
|
@@ -12979,9 +13011,13 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12979
13011
|
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
12980
13012
|
readonly session_query?: string;
|
|
12981
13013
|
}
|
|
13014
|
+
interface FeatureValueReference {
|
|
13015
|
+
readonly feature_key: string;
|
|
13016
|
+
readonly value: string;
|
|
13017
|
+
}
|
|
12982
13018
|
interface FeatureVariant {
|
|
12983
13019
|
readonly discriminator: 'feature_variant';
|
|
12984
|
-
readonly value: io.flow.experiment.internal.v0.models.
|
|
13020
|
+
readonly value: io.flow.experiment.internal.v0.models.FeatureVariantSummary;
|
|
12985
13021
|
readonly traffic_percentage: number;
|
|
12986
13022
|
readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
|
|
12987
13023
|
}
|
|
@@ -12990,6 +13026,11 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12990
13026
|
readonly key: string;
|
|
12991
13027
|
readonly traffic_percentage: number;
|
|
12992
13028
|
}
|
|
13029
|
+
interface FeatureVariantSummary {
|
|
13030
|
+
readonly key: string;
|
|
13031
|
+
readonly feature_value: io.flow.experiment.internal.v0.models.FeatureValueReference;
|
|
13032
|
+
readonly name?: string;
|
|
13033
|
+
}
|
|
12993
13034
|
}
|
|
12994
13035
|
declare namespace io.flow.experiment.internal.v0.unions {
|
|
12995
13036
|
type Experiment = io.flow.experiment.internal.v0.models.ExperienceExperiment | io.flow.experiment.internal.v0.models.FeatureExperiment;
|
|
@@ -14633,6 +14674,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14633
14674
|
readonly discriminator: 'checkout_info_public_key';
|
|
14634
14675
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
14635
14676
|
}
|
|
14677
|
+
interface CheckoutInitiateInlinePaymentForm {
|
|
14678
|
+
readonly discriminator: 'initiate_inline_payment_form';
|
|
14679
|
+
readonly payment_method_id: string;
|
|
14680
|
+
}
|
|
14636
14681
|
interface CheckoutInitiatePaymentError {
|
|
14637
14682
|
readonly code: io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
14638
14683
|
readonly message: string;
|
|
@@ -14642,6 +14687,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14642
14687
|
readonly payment_method_id: string;
|
|
14643
14688
|
readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
14644
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
|
+
}
|
|
14645
14696
|
interface CheckoutInputAddAttributes {
|
|
14646
14697
|
readonly discriminator: 'checkout_input_add_attributes';
|
|
14647
14698
|
readonly attributes: Record<string, string>;
|
|
@@ -16039,7 +16090,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16039
16090
|
}
|
|
16040
16091
|
interface ExperienceVariant {
|
|
16041
16092
|
readonly discriminator: 'experience_variant';
|
|
16042
|
-
readonly experience: io.flow.internal.v0.models.
|
|
16093
|
+
readonly experience: io.flow.internal.v0.models.ExperienceVariantSummary;
|
|
16043
16094
|
readonly traffic_percentage: number;
|
|
16044
16095
|
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
16045
16096
|
}
|
|
@@ -16048,6 +16099,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16048
16099
|
readonly key: string;
|
|
16049
16100
|
readonly traffic_percentage: number;
|
|
16050
16101
|
}
|
|
16102
|
+
interface ExperienceVariantSummary {
|
|
16103
|
+
readonly key: string;
|
|
16104
|
+
readonly name?: string;
|
|
16105
|
+
}
|
|
16051
16106
|
interface ExperimentDeleted {
|
|
16052
16107
|
readonly discriminator: 'experiment_deleted';
|
|
16053
16108
|
readonly event_id: string;
|
|
@@ -16091,6 +16146,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16091
16146
|
readonly name: string;
|
|
16092
16147
|
readonly traffic_percentage?: number;
|
|
16093
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
|
+
}
|
|
16094
16162
|
interface ExperimentResults {
|
|
16095
16163
|
readonly id: string;
|
|
16096
16164
|
readonly experiment_key: string;
|
|
@@ -16127,6 +16195,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16127
16195
|
readonly timestamp: string;
|
|
16128
16196
|
readonly results: io.flow.internal.v0.models.ExperimentResults[];
|
|
16129
16197
|
}
|
|
16198
|
+
interface ExperimentSessionQueryForm {
|
|
16199
|
+
readonly session_query?: string;
|
|
16200
|
+
}
|
|
16130
16201
|
interface ExperimentUpserted {
|
|
16131
16202
|
readonly discriminator: 'experiment_upserted';
|
|
16132
16203
|
readonly event_id: string;
|
|
@@ -16134,10 +16205,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16134
16205
|
readonly organization_id: string;
|
|
16135
16206
|
readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
|
|
16136
16207
|
}
|
|
16137
|
-
interface ExperimentVariantSummary {
|
|
16138
|
-
readonly key: string;
|
|
16139
|
-
readonly name?: string;
|
|
16140
|
-
}
|
|
16141
16208
|
interface ExperimentVersion {
|
|
16142
16209
|
readonly id: string;
|
|
16143
16210
|
readonly timestamp: string;
|
|
@@ -16288,12 +16355,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16288
16355
|
readonly feature_query: string;
|
|
16289
16356
|
readonly context: io.flow.internal.v0.models.FeatureContextForm;
|
|
16290
16357
|
}
|
|
16358
|
+
interface FeatureValueReference {
|
|
16359
|
+
readonly feature_key: string;
|
|
16360
|
+
readonly value: string;
|
|
16361
|
+
}
|
|
16291
16362
|
interface FeatureValueResult {
|
|
16292
16363
|
readonly values: io.flow.internal.v0.unions.FeatureValue[];
|
|
16293
16364
|
}
|
|
16294
16365
|
interface FeatureVariant {
|
|
16295
16366
|
readonly discriminator: 'feature_variant';
|
|
16296
|
-
readonly value: io.flow.internal.v0.models.
|
|
16367
|
+
readonly value: io.flow.internal.v0.models.FeatureVariantSummary;
|
|
16297
16368
|
readonly traffic_percentage: number;
|
|
16298
16369
|
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
16299
16370
|
}
|
|
@@ -16302,6 +16373,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16302
16373
|
readonly key: string;
|
|
16303
16374
|
readonly traffic_percentage: number;
|
|
16304
16375
|
}
|
|
16376
|
+
interface FeatureVariantSummary {
|
|
16377
|
+
readonly key: string;
|
|
16378
|
+
readonly feature_value: io.flow.internal.v0.models.FeatureValueReference;
|
|
16379
|
+
readonly name?: string;
|
|
16380
|
+
}
|
|
16305
16381
|
interface Fedex {
|
|
16306
16382
|
readonly discriminator: 'fedex';
|
|
16307
16383
|
readonly key: string;
|
|
@@ -20253,14 +20329,14 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20253
20329
|
type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
20254
20330
|
type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
20255
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;
|
|
20256
|
-
type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
|
|
20332
|
+
type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
20257
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;
|
|
20258
20334
|
type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
|
|
20259
20335
|
type CheckoutOrderDeliveryOption = io.flow.internal.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.internal.v0.models.CheckoutOrderPhysicalDeliveryOption;
|
|
20260
20336
|
type CheckoutOrderFormPaymentDataGroup = io.flow.internal.v0.models.CheckoutOrderFormPaymentDataGroupSingle | io.flow.internal.v0.models.CheckoutOrderFormPaymentDataGroupMulti;
|
|
20261
20337
|
type CheckoutOrderPayment = io.flow.internal.v0.models.CheckoutOrderPaymentCard | io.flow.internal.v0.models.CheckoutOrderPaymentGiftCard | io.flow.internal.v0.models.CheckoutOrderPaymentOnline;
|
|
20262
20338
|
type CheckoutOrderPromotion = io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
20263
|
-
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement;
|
|
20339
|
+
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
20264
20340
|
type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
|
|
20265
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;
|
|
20266
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;
|
|
@@ -20687,10 +20763,12 @@ export declare type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.C
|
|
|
20687
20763
|
export declare type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
|
|
20688
20764
|
export declare type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutInfoPaymentsFormData;
|
|
20689
20765
|
export declare type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
20766
|
+
export declare type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
20690
20767
|
export declare type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
|
|
20691
20768
|
export declare type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
20692
20769
|
export declare type CheckoutInitiatePaymentForm = io.flow.internal.v0.unions.CheckoutInitiatePaymentForm;
|
|
20693
20770
|
export declare type CheckoutInitiateRedirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
|
|
20771
|
+
export declare type CheckoutInlineAuthorizationRequirement = io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
20694
20772
|
export declare type CheckoutInput = io.flow.internal.v0.unions.CheckoutInput;
|
|
20695
20773
|
export declare type CheckoutInputAddAttributes = io.flow.internal.v0.models.CheckoutInputAddAttributes;
|
|
20696
20774
|
export declare type CheckoutInputDeleteAddressStreet = io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet;
|
|
@@ -21059,6 +21137,7 @@ export declare type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.Exp
|
|
|
21059
21137
|
export declare type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference;
|
|
21060
21138
|
export declare type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
|
|
21061
21139
|
export declare type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
|
|
21140
|
+
export declare type ExperienceVariantSummary = io.flow.internal.v0.models.ExperienceVariantSummary;
|
|
21062
21141
|
export declare type Experiment = io.flow.internal.v0.unions.Experiment;
|
|
21063
21142
|
export declare type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
|
|
21064
21143
|
export declare type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
|
|
@@ -21068,12 +21147,15 @@ export declare type ExperimentFormDefault = io.flow.internal.v0.models.Experimen
|
|
|
21068
21147
|
export declare type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
21069
21148
|
export declare type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
|
|
21070
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;
|
|
21071
21153
|
export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
|
|
21072
21154
|
export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
|
|
21073
21155
|
export declare type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
|
|
21074
21156
|
export declare type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
|
|
21157
|
+
export declare type ExperimentSessionQueryForm = io.flow.internal.v0.models.ExperimentSessionQueryForm;
|
|
21075
21158
|
export declare type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
|
|
21076
|
-
export declare type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
|
|
21077
21159
|
export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
|
|
21078
21160
|
export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
|
|
21079
21161
|
export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
|
|
@@ -21107,9 +21189,11 @@ export declare type FeatureType = io.flow.internal.v0.enums.FeatureType;
|
|
|
21107
21189
|
export declare type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted;
|
|
21108
21190
|
export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
|
|
21109
21191
|
export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
|
|
21192
|
+
export declare type FeatureValueReference = io.flow.internal.v0.models.FeatureValueReference;
|
|
21110
21193
|
export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
|
|
21111
21194
|
export declare type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
|
|
21112
21195
|
export declare type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
|
|
21196
|
+
export declare type FeatureVariantSummary = io.flow.internal.v0.models.FeatureVariantSummary;
|
|
21113
21197
|
export declare type Fedex = io.flow.internal.v0.models.Fedex;
|
|
21114
21198
|
export declare type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
|
|
21115
21199
|
export declare type Fee = io.flow.internal.v0.models.Fee;
|
package/dist/api.d.ts
CHANGED
|
@@ -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;
|
|
@@ -4699,6 +4704,7 @@ declare namespace io.flow.v0.models {
|
|
|
4699
4704
|
readonly address?: io.flow.v0.models.BillingAddress;
|
|
4700
4705
|
readonly date?: string;
|
|
4701
4706
|
readonly attributes?: Record<string, string>;
|
|
4707
|
+
readonly method?: string;
|
|
4702
4708
|
}
|
|
4703
4709
|
interface OrderPlaced {
|
|
4704
4710
|
readonly discriminator: 'order_placed';
|
|
@@ -7506,7 +7512,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7506
7512
|
type ExpandableUser = io.flow.v0.models.User | io.flow.v0.models.UserReference;
|
|
7507
7513
|
type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
|
|
7508
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;
|
|
7509
|
-
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;
|
|
7510
7516
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
7511
7517
|
type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
7512
7518
|
type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
@@ -7992,6 +7998,7 @@ export declare type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
|
|
|
7992
7998
|
export declare type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
|
|
7993
7999
|
export declare type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
|
|
7994
8000
|
export declare type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired;
|
|
8001
|
+
export declare type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent;
|
|
7995
8002
|
export declare type FieldValidationRule = io.flow.v0.unions.FieldValidationRule;
|
|
7996
8003
|
export declare type FlatRate = io.flow.v0.models.FlatRate;
|
|
7997
8004
|
export declare type FlatRateForm = io.flow.v0.models.FlatRateForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.
|
|
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": "
|
|
28
|
+
"gitHead": "6af710911739cb41ecf9ee9bfd9e6762ebee7ff8"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -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;
|
|
@@ -15903,12 +15911,24 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
15903
15911
|
readonly url: string;
|
|
15904
15912
|
}
|
|
15905
15913
|
|
|
15914
|
+
interface CheckoutInitiateInlinePaymentForm {
|
|
15915
|
+
readonly discriminator: 'initiate_inline_payment_form';
|
|
15916
|
+
readonly payment_method_id: string;
|
|
15917
|
+
}
|
|
15918
|
+
|
|
15906
15919
|
interface CheckoutInitiateRedirectPaymentForm {
|
|
15907
15920
|
readonly discriminator: 'initiate_redirect_payment_form';
|
|
15908
15921
|
readonly payment_method_id: string;
|
|
15909
15922
|
readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
15910
15923
|
}
|
|
15911
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
|
+
|
|
15912
15932
|
interface CheckoutLine {
|
|
15913
15933
|
readonly id: string;
|
|
15914
15934
|
readonly checkout: io.flow.checkout.backend.v0.models.V2CheckoutReference;
|
|
@@ -16231,7 +16251,9 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
16231
16251
|
type CheckoutDeliveryWindow =
|
|
16232
16252
|
| io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowStatic
|
|
16233
16253
|
| io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
|
|
16234
|
-
type CheckoutInitiatePaymentForm =
|
|
16254
|
+
type CheckoutInitiatePaymentForm =
|
|
16255
|
+
| io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm
|
|
16256
|
+
| io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
16235
16257
|
type CheckoutOrder =
|
|
16236
16258
|
| io.flow.checkout.backend.v0.models.CheckoutOpenOrder
|
|
16237
16259
|
| io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
|
|
@@ -16248,7 +16270,9 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
16248
16270
|
type CheckoutOrderPromotion =
|
|
16249
16271
|
| io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount
|
|
16250
16272
|
| io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
16251
|
-
type CheckoutPaymentActionRequirement =
|
|
16273
|
+
type CheckoutPaymentActionRequirement =
|
|
16274
|
+
| io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement
|
|
16275
|
+
| io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
16252
16276
|
type CheckoutPaymentDetailsForm =
|
|
16253
16277
|
| io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload
|
|
16254
16278
|
| io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload
|
|
@@ -16776,7 +16800,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16776
16800
|
|
|
16777
16801
|
interface ExperienceVariant {
|
|
16778
16802
|
readonly discriminator: 'experience_variant';
|
|
16779
|
-
readonly experience: io.flow.experiment.internal.v0.models.
|
|
16803
|
+
readonly experience: io.flow.experiment.internal.v0.models.ExperienceVariantSummary;
|
|
16780
16804
|
readonly traffic_percentage: number;
|
|
16781
16805
|
readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
|
|
16782
16806
|
}
|
|
@@ -16787,6 +16811,11 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16787
16811
|
readonly traffic_percentage: number;
|
|
16788
16812
|
}
|
|
16789
16813
|
|
|
16814
|
+
interface ExperienceVariantSummary {
|
|
16815
|
+
readonly key: string;
|
|
16816
|
+
readonly name?: string;
|
|
16817
|
+
}
|
|
16818
|
+
|
|
16790
16819
|
interface ExperimentForm {
|
|
16791
16820
|
readonly name: string;
|
|
16792
16821
|
readonly description?: string;
|
|
@@ -16818,6 +16847,22 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16818
16847
|
readonly traffic_percentage?: number;
|
|
16819
16848
|
}
|
|
16820
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
|
+
|
|
16821
16866
|
interface ExperimentResults {
|
|
16822
16867
|
readonly id: string;
|
|
16823
16868
|
readonly experiment_key: string;
|
|
@@ -16842,9 +16887,8 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16842
16887
|
readonly results: io.flow.experiment.internal.v0.models.ExperimentResults[];
|
|
16843
16888
|
}
|
|
16844
16889
|
|
|
16845
|
-
interface
|
|
16846
|
-
readonly
|
|
16847
|
-
readonly name?: string;
|
|
16890
|
+
interface ExperimentSessionQueryForm {
|
|
16891
|
+
readonly session_query?: string;
|
|
16848
16892
|
}
|
|
16849
16893
|
|
|
16850
16894
|
interface ExperimentVersion {
|
|
@@ -16871,9 +16915,14 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16871
16915
|
readonly session_query?: string;
|
|
16872
16916
|
}
|
|
16873
16917
|
|
|
16918
|
+
interface FeatureValueReference {
|
|
16919
|
+
readonly feature_key: string;
|
|
16920
|
+
readonly value: string;
|
|
16921
|
+
}
|
|
16922
|
+
|
|
16874
16923
|
interface FeatureVariant {
|
|
16875
16924
|
readonly discriminator: 'feature_variant';
|
|
16876
|
-
readonly value: io.flow.experiment.internal.v0.models.
|
|
16925
|
+
readonly value: io.flow.experiment.internal.v0.models.FeatureVariantSummary;
|
|
16877
16926
|
readonly traffic_percentage: number;
|
|
16878
16927
|
readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
|
|
16879
16928
|
}
|
|
@@ -16883,6 +16932,12 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16883
16932
|
readonly key: string;
|
|
16884
16933
|
readonly traffic_percentage: number;
|
|
16885
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
|
+
}
|
|
16886
16941
|
}
|
|
16887
16942
|
|
|
16888
16943
|
declare namespace io.flow.experiment.internal.v0.unions {
|
|
@@ -19349,6 +19404,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19349
19404
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
19350
19405
|
}
|
|
19351
19406
|
|
|
19407
|
+
interface CheckoutInitiateInlinePaymentForm {
|
|
19408
|
+
readonly discriminator: 'initiate_inline_payment_form';
|
|
19409
|
+
readonly payment_method_id: string;
|
|
19410
|
+
}
|
|
19411
|
+
|
|
19352
19412
|
interface CheckoutInitiatePaymentError {
|
|
19353
19413
|
readonly code: io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
19354
19414
|
readonly message: string;
|
|
@@ -19360,6 +19420,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19360
19420
|
readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
19361
19421
|
}
|
|
19362
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
|
+
|
|
19363
19430
|
interface CheckoutInputAddAttributes {
|
|
19364
19431
|
readonly discriminator: 'checkout_input_add_attributes';
|
|
19365
19432
|
readonly attributes: Record<string, string>;
|
|
@@ -21037,7 +21104,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21037
21104
|
|
|
21038
21105
|
interface ExperienceVariant {
|
|
21039
21106
|
readonly discriminator: 'experience_variant';
|
|
21040
|
-
readonly experience: io.flow.internal.v0.models.
|
|
21107
|
+
readonly experience: io.flow.internal.v0.models.ExperienceVariantSummary;
|
|
21041
21108
|
readonly traffic_percentage: number;
|
|
21042
21109
|
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
21043
21110
|
}
|
|
@@ -21048,6 +21115,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21048
21115
|
readonly traffic_percentage: number;
|
|
21049
21116
|
}
|
|
21050
21117
|
|
|
21118
|
+
interface ExperienceVariantSummary {
|
|
21119
|
+
readonly key: string;
|
|
21120
|
+
readonly name?: string;
|
|
21121
|
+
}
|
|
21122
|
+
|
|
21051
21123
|
interface ExperimentDeleted {
|
|
21052
21124
|
readonly discriminator: 'experiment_deleted';
|
|
21053
21125
|
readonly event_id: string;
|
|
@@ -21098,6 +21170,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21098
21170
|
readonly traffic_percentage?: number;
|
|
21099
21171
|
}
|
|
21100
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
|
+
|
|
21101
21189
|
interface ExperimentResults {
|
|
21102
21190
|
readonly id: string;
|
|
21103
21191
|
readonly experiment_key: string;
|
|
@@ -21138,6 +21226,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21138
21226
|
readonly results: io.flow.internal.v0.models.ExperimentResults[];
|
|
21139
21227
|
}
|
|
21140
21228
|
|
|
21229
|
+
interface ExperimentSessionQueryForm {
|
|
21230
|
+
readonly session_query?: string;
|
|
21231
|
+
}
|
|
21232
|
+
|
|
21141
21233
|
interface ExperimentUpserted {
|
|
21142
21234
|
readonly discriminator: 'experiment_upserted';
|
|
21143
21235
|
readonly event_id: string;
|
|
@@ -21146,11 +21238,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21146
21238
|
readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
|
|
21147
21239
|
}
|
|
21148
21240
|
|
|
21149
|
-
interface ExperimentVariantSummary {
|
|
21150
|
-
readonly key: string;
|
|
21151
|
-
readonly name?: string;
|
|
21152
|
-
}
|
|
21153
|
-
|
|
21154
21241
|
interface ExperimentVersion {
|
|
21155
21242
|
readonly id: string;
|
|
21156
21243
|
readonly timestamp: string;
|
|
@@ -21325,13 +21412,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21325
21412
|
readonly context: io.flow.internal.v0.models.FeatureContextForm;
|
|
21326
21413
|
}
|
|
21327
21414
|
|
|
21415
|
+
interface FeatureValueReference {
|
|
21416
|
+
readonly feature_key: string;
|
|
21417
|
+
readonly value: string;
|
|
21418
|
+
}
|
|
21419
|
+
|
|
21328
21420
|
interface FeatureValueResult {
|
|
21329
21421
|
readonly values: io.flow.internal.v0.unions.FeatureValue[];
|
|
21330
21422
|
}
|
|
21331
21423
|
|
|
21332
21424
|
interface FeatureVariant {
|
|
21333
21425
|
readonly discriminator: 'feature_variant';
|
|
21334
|
-
readonly value: io.flow.internal.v0.models.
|
|
21426
|
+
readonly value: io.flow.internal.v0.models.FeatureVariantSummary;
|
|
21335
21427
|
readonly traffic_percentage: number;
|
|
21336
21428
|
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
21337
21429
|
}
|
|
@@ -21342,6 +21434,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21342
21434
|
readonly traffic_percentage: number;
|
|
21343
21435
|
}
|
|
21344
21436
|
|
|
21437
|
+
interface FeatureVariantSummary {
|
|
21438
|
+
readonly key: string;
|
|
21439
|
+
readonly feature_value: io.flow.internal.v0.models.FeatureValueReference;
|
|
21440
|
+
readonly name?: string;
|
|
21441
|
+
}
|
|
21442
|
+
|
|
21345
21443
|
interface Fedex {
|
|
21346
21444
|
readonly discriminator: 'fedex';
|
|
21347
21445
|
readonly key: string;
|
|
@@ -25939,7 +26037,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25939
26037
|
| io.flow.internal.v0.models.CheckoutInfoPaymentDetails
|
|
25940
26038
|
| io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
|
|
25941
26039
|
| io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
25942
|
-
type CheckoutInitiatePaymentForm =
|
|
26040
|
+
type CheckoutInitiatePaymentForm =
|
|
26041
|
+
| io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm
|
|
26042
|
+
| io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
25943
26043
|
type CheckoutInput =
|
|
25944
26044
|
| io.flow.internal.v0.models.CheckoutInputAddAttributes
|
|
25945
26045
|
| io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet
|
|
@@ -25974,7 +26074,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25974
26074
|
type CheckoutOrderPromotion =
|
|
25975
26075
|
| io.flow.internal.v0.models.CheckoutOrderPromotionDiscount
|
|
25976
26076
|
| io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
25977
|
-
type CheckoutPaymentActionRequirement =
|
|
26077
|
+
type CheckoutPaymentActionRequirement =
|
|
26078
|
+
| io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement
|
|
26079
|
+
| io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
25978
26080
|
type CheckoutPaymentDetailsForm =
|
|
25979
26081
|
| io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload
|
|
25980
26082
|
| io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload
|
|
@@ -26859,10 +26961,12 @@ export type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutI
|
|
|
26859
26961
|
export type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
|
|
26860
26962
|
export type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutInfoPaymentsFormData;
|
|
26861
26963
|
export type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
26964
|
+
export type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
26862
26965
|
export type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
|
|
26863
26966
|
export type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
26864
26967
|
export type CheckoutInitiatePaymentForm = io.flow.internal.v0.unions.CheckoutInitiatePaymentForm;
|
|
26865
26968
|
export type CheckoutInitiateRedirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm;
|
|
26969
|
+
export type CheckoutInlineAuthorizationRequirement = io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
26866
26970
|
export type CheckoutInput = io.flow.internal.v0.unions.CheckoutInput;
|
|
26867
26971
|
export type CheckoutInputAddAttributes = io.flow.internal.v0.models.CheckoutInputAddAttributes;
|
|
26868
26972
|
export type CheckoutInputDeleteAddressStreet = io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet;
|
|
@@ -27231,6 +27335,7 @@ export type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.ExperienceO
|
|
|
27231
27335
|
export type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference;
|
|
27232
27336
|
export type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
|
|
27233
27337
|
export type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
|
|
27338
|
+
export type ExperienceVariantSummary = io.flow.internal.v0.models.ExperienceVariantSummary;
|
|
27234
27339
|
export type Experiment = io.flow.internal.v0.unions.Experiment;
|
|
27235
27340
|
export type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
|
|
27236
27341
|
export type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
|
|
@@ -27240,12 +27345,15 @@ export type ExperimentFormDefault = io.flow.internal.v0.models.ExperimentFormDef
|
|
|
27240
27345
|
export type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
27241
27346
|
export type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
|
|
27242
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;
|
|
27243
27351
|
export type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
|
|
27244
27352
|
export type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
|
|
27245
27353
|
export type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
|
|
27246
27354
|
export type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
|
|
27355
|
+
export type ExperimentSessionQueryForm = io.flow.internal.v0.models.ExperimentSessionQueryForm;
|
|
27247
27356
|
export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
|
|
27248
|
-
export type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
|
|
27249
27357
|
export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
|
|
27250
27358
|
export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
|
|
27251
27359
|
export type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
|
|
@@ -27279,9 +27387,11 @@ export type FeatureType = io.flow.internal.v0.enums.FeatureType;
|
|
|
27279
27387
|
export type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted;
|
|
27280
27388
|
export type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
|
|
27281
27389
|
export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
|
|
27390
|
+
export type FeatureValueReference = io.flow.internal.v0.models.FeatureValueReference;
|
|
27282
27391
|
export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
|
|
27283
27392
|
export type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
|
|
27284
27393
|
export type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
|
|
27394
|
+
export type FeatureVariantSummary = io.flow.internal.v0.models.FeatureVariantSummary;
|
|
27285
27395
|
export type Fedex = io.flow.internal.v0.models.Fedex;
|
|
27286
27396
|
export type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
|
|
27287
27397
|
export type Fee = io.flow.internal.v0.models.Fee;
|
package/src/api.ts
CHANGED
|
@@ -1791,6 +1791,7 @@ declare namespace io.flow.v0.models {
|
|
|
1791
1791
|
readonly province: io.flow.v0.unions.FieldValidationRule[];
|
|
1792
1792
|
readonly postal: io.flow.v0.unions.FieldValidationRule[];
|
|
1793
1793
|
readonly phone: io.flow.v0.unions.FieldValidationRule[];
|
|
1794
|
+
readonly vat_registration_number: io.flow.v0.unions.FieldValidationRule[];
|
|
1794
1795
|
}
|
|
1795
1796
|
|
|
1796
1797
|
interface AddressSuggestion {
|
|
@@ -4208,6 +4209,11 @@ declare namespace io.flow.v0.models {
|
|
|
4208
4209
|
readonly placeholder?: string;
|
|
4209
4210
|
}
|
|
4210
4211
|
|
|
4212
|
+
interface FieldValidationRequiredIfPresent {
|
|
4213
|
+
readonly discriminator: 'required_if_present';
|
|
4214
|
+
readonly placeholder?: string;
|
|
4215
|
+
}
|
|
4216
|
+
|
|
4211
4217
|
interface FlatRate {
|
|
4212
4218
|
readonly discriminator: 'flat_rate';
|
|
4213
4219
|
readonly price: io.flow.v0.models.Price;
|
|
@@ -6010,6 +6016,7 @@ declare namespace io.flow.v0.models {
|
|
|
6010
6016
|
readonly address?: io.flow.v0.models.BillingAddress;
|
|
6011
6017
|
readonly date?: string;
|
|
6012
6018
|
readonly attributes?: Record<string, string>;
|
|
6019
|
+
readonly method?: string;
|
|
6013
6020
|
}
|
|
6014
6021
|
|
|
6015
6022
|
interface OrderPlaced {
|
|
@@ -9506,6 +9513,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9506
9513
|
| io.flow.v0.models.MarketingFeedsExportType;
|
|
9507
9514
|
type FieldValidationRule =
|
|
9508
9515
|
| io.flow.v0.models.FieldValidationRequired
|
|
9516
|
+
| io.flow.v0.models.FieldValidationRequiredIfPresent
|
|
9509
9517
|
| io.flow.v0.models.FieldValidationMin
|
|
9510
9518
|
| io.flow.v0.models.FieldValidationMax
|
|
9511
9519
|
| io.flow.v0.models.FieldValidationPattern;
|
|
@@ -10070,6 +10078,7 @@ export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
|
|
|
10070
10078
|
export type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
|
|
10071
10079
|
export type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
|
|
10072
10080
|
export type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired;
|
|
10081
|
+
export type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent;
|
|
10073
10082
|
export type FieldValidationRule = io.flow.v0.unions.FieldValidationRule;
|
|
10074
10083
|
export type FlatRate = io.flow.v0.models.FlatRate;
|
|
10075
10084
|
export type FlatRateForm = io.flow.v0.models.FlatRateForm;
|