@flowio/types 10.5.2 → 10.6.1

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.
@@ -1585,8 +1585,10 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1585
1585
  | 'promotion_code_expired'
1586
1586
  | 'promotion_code_does_not_meet_requirements';
1587
1587
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
1588
+ type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
1588
1589
  type CheckoutGetErrorCode = 'checkout_not_found';
1589
1590
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
1591
+ type CheckoutInfoAddressPredictionsKeyField = 'input';
1590
1592
  type CheckoutInfoContentKeyField = 'locale';
1591
1593
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
1592
1594
  type CheckoutInfoOrderSummaryKeyField =
@@ -1688,6 +1690,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1688
1690
  | 'gift_card_insufficient_funds'
1689
1691
  | 'gift_card_invalid_number'
1690
1692
  | 'gift_card_not_supported'
1693
+ | 'invalid_prediction'
1691
1694
  | 'language_invalid'
1692
1695
  | 'line_item_number_invalid'
1693
1696
  | 'line_item_number_not_available'
@@ -1818,6 +1821,11 @@ declare namespace io.flow.checkout.protocol.v0.models {
1818
1821
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
1819
1822
  }
1820
1823
 
1824
+ interface CheckoutGetAddressPredictionError {
1825
+ readonly code: io.flow.checkout.protocol.v0.enums.CheckoutGetAddressPredictionErrorCode;
1826
+ readonly message: string;
1827
+ }
1828
+
1821
1829
  interface CheckoutGetError {
1822
1830
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutGetErrorCode;
1823
1831
  readonly message: string;
@@ -1857,6 +1865,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
1857
1865
  readonly value: string;
1858
1866
  }
1859
1867
 
1868
+ interface CheckoutInfoAddressPredictions {
1869
+ readonly discriminator: 'checkout_info_address_predictions';
1870
+ readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictionsKey[];
1871
+ readonly data: io.flow.checkout.backend.v0.models.CheckoutAddressPredictions;
1872
+ }
1873
+
1874
+ interface CheckoutInfoAddressPredictionsKey {
1875
+ readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoAddressPredictionsKeyField;
1876
+ readonly value: string;
1877
+ }
1878
+
1860
1879
  interface CheckoutInfoAnalyticsOrder {
1861
1880
  readonly discriminator: 'checkout_info_analytics_order';
1862
1881
  readonly data: io.flow.checkout.analytics.v0.unions.CheckoutAnalyticsOrder;
@@ -2134,6 +2153,21 @@ declare namespace io.flow.checkout.protocol.v0.models {
2134
2153
  readonly errors: io.flow.checkout.protocol.v0.models.CheckoutDeletePromotionCodeError[];
2135
2154
  }
2136
2155
 
2156
+ interface CheckoutSequencedGetAddressPredictionRequestForm {
2157
+ readonly discriminator: 'checkout_sequenced_get_address_prediction_request_form';
2158
+ readonly prediction: io.flow.checkout.backend.v0.models.CheckoutAddressPrediction;
2159
+ }
2160
+
2161
+ interface CheckoutSequencedGetAddressPredictionResponseError {
2162
+ readonly discriminator: 'checkout_sequenced_get_address_prediction_response_error';
2163
+ readonly errors: io.flow.checkout.protocol.v0.models.CheckoutGetAddressPredictionError[];
2164
+ }
2165
+
2166
+ interface CheckoutSequencedGetAddressPredictionResponseSuccess {
2167
+ readonly discriminator: 'checkout_sequenced_get_address_prediction_response_success';
2168
+ readonly address: io.flow.checkout.backend.v0.models.CheckoutAddress;
2169
+ }
2170
+
2137
2171
  interface CheckoutSequencedSetAddressCityRequestForm {
2138
2172
  readonly discriminator: 'checkout_sequenced_set_address_city_request_form';
2139
2173
  readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
@@ -2449,6 +2483,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
2449
2483
  | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
2450
2484
  type CheckoutInfo =
2451
2485
  | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData
2486
+ | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions
2452
2487
  | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder
2453
2488
  | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession
2454
2489
  | io.flow.checkout.protocol.v0.models.CheckoutInfoContent
@@ -2503,6 +2538,9 @@ declare namespace io.flow.checkout.protocol.v0.unions {
2503
2538
  type CheckoutSequencedDeleteLineResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineResponseError;
2504
2539
  type CheckoutSequencedDeletePaymentResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentResponseError;
2505
2540
  type CheckoutSequencedDeletePromotionCodeResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeResponseError;
2541
+ type CheckoutSequencedGetAddressPredictionResponse =
2542
+ | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseError
2543
+ | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess;
2506
2544
  type CheckoutSequencedRequestForm =
2507
2545
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAttributesRequestForm
2508
2546
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm
@@ -2514,6 +2552,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
2514
2552
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineRequestForm
2515
2553
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentRequestForm
2516
2554
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm
2555
+ | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionRequestForm
2517
2556
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityRequestForm
2518
2557
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryRequestForm
2519
2558
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameRequestForm
@@ -2544,6 +2583,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
2544
2583
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineResponseError
2545
2584
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentResponseError
2546
2585
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeResponseError
2586
+ | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseError
2587
+ | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess
2547
2588
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityResponseError
2548
2589
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryResponseError
2549
2590
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameResponseError
@@ -2896,7 +2937,11 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
2896
2937
  }
2897
2938
 
2898
2939
  declare namespace io.flow.harmonization.engine.internal.v0.enums {
2899
- type StatisticType = 'time-to-classify' | 'rate-source' | 'rate-freshness';
2940
+ type StatisticType =
2941
+ | 'time-to-classify'
2942
+ | 'time-to-classify-aggregated'
2943
+ | 'rate-source'
2944
+ | 'rate-freshness';
2900
2945
  }
2901
2946
 
2902
2947
  declare namespace io.flow.harmonization.engine.internal.v0.models {
@@ -2938,10 +2983,26 @@ declare namespace io.flow.harmonization.engine.internal.v0.models {
2938
2983
 
2939
2984
  interface TimeToClassify {
2940
2985
  readonly discriminator: 'time-to-classify';
2986
+ readonly key: string;
2987
+ readonly from: string;
2988
+ readonly to: string;
2941
2989
  readonly organization_id: string;
2990
+ readonly average_hours: number;
2991
+ readonly median_hours: number;
2992
+ readonly percentile_75_hours: number;
2993
+ readonly percentile_90_hours: number;
2994
+ readonly percentile_99_hours: number;
2995
+ }
2996
+
2997
+ interface TimeToClassifyAggregated {
2998
+ readonly discriminator: 'time-to-classify-aggregated';
2942
2999
  readonly key: string;
2943
3000
  readonly from: string;
2944
3001
  readonly to: string;
3002
+ readonly average_hours: number;
3003
+ readonly median_hours: number;
3004
+ readonly percentile_75_hours: number;
3005
+ readonly percentile_90_hours: number;
2945
3006
  readonly percentile_99_hours: number;
2946
3007
  }
2947
3008
 
@@ -2953,6 +3014,7 @@ declare namespace io.flow.harmonization.engine.internal.v0.models {
2953
3014
  declare namespace io.flow.harmonization.engine.internal.v0.unions {
2954
3015
  type InternalHarmonizationStatistic =
2955
3016
  | io.flow.harmonization.engine.internal.v0.models.TimeToClassify
3017
+ | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated
2956
3018
  | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary
2957
3019
  | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
2958
3020
  }
@@ -3156,6 +3218,7 @@ declare namespace io.flow.stripe.v0.enums {
3156
3218
  | 'source.canceled'
3157
3219
  | 'source.chargeable'
3158
3220
  | 'source.failed';
3221
+ type KlarnaProduct = 'payment';
3159
3222
  type NetworkStatus =
3160
3223
  | 'approved_by_network'
3161
3224
  | 'declined_by_network'
@@ -3759,7 +3822,12 @@ declare namespace io.flow.stripe.v0.models {
3759
3822
  interface SourceKlarnaRequest {
3760
3823
  readonly first_name: string;
3761
3824
  readonly last_name: string;
3825
+ readonly purchase_country?: string;
3826
+ readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
3762
3827
  readonly attachment?: string;
3828
+ readonly shipping_first_name?: string;
3829
+ readonly shipping_last_name?: string;
3830
+ readonly locale?: string;
3763
3831
  }
3764
3832
 
3765
3833
  interface SourceRequest {
@@ -6954,6 +7022,20 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
6954
7022
  readonly export_id: string;
6955
7023
  }
6956
7024
 
7025
+ interface TimeToClassifyAggregatedDeleted {
7026
+ readonly discriminator: 'time_to_classify_aggregated_deleted';
7027
+ readonly event_id: string;
7028
+ readonly timestamp: string;
7029
+ readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
7030
+ }
7031
+
7032
+ interface TimeToClassifyAggregatedUpserted {
7033
+ readonly discriminator: 'time_to_classify_aggregated_upserted';
7034
+ readonly event_id: string;
7035
+ readonly timestamp: string;
7036
+ readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
7037
+ }
7038
+
6957
7039
  interface TimeToClassifyDeleted {
6958
7040
  readonly discriminator: 'time_to_classify_deleted';
6959
7041
  readonly event_id: string;
@@ -6998,6 +7080,8 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
6998
7080
  type InternalHarmonizationStatisticEvent =
6999
7081
  | io.flow.harmonization.internal.event.v0.models.TimeToClassifyUpserted
7000
7082
  | io.flow.harmonization.internal.event.v0.models.TimeToClassifyDeleted
7083
+ | io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedUpserted
7084
+ | io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedDeleted
7001
7085
  | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryUpserted
7002
7086
  | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryDeleted
7003
7087
  | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryUpserted
@@ -7812,6 +7896,7 @@ declare namespace io.flow.payment.internal.v0.models {
7812
7896
 
7813
7897
  interface PaypalAuthenticationDataReference {
7814
7898
  readonly id: string;
7899
+ readonly flow_merchant_id?: string;
7815
7900
  }
7816
7901
 
7817
7902
  interface PaypalAuthenticationForm {
@@ -8474,6 +8559,7 @@ declare namespace io.flow.common.v0.models {
8474
8559
  interface OrganizationSummary {
8475
8560
  readonly id: string;
8476
8561
  readonly name: string;
8562
+ readonly environment: io.flow.common.v0.enums.Environment;
8477
8563
  }
8478
8564
 
8479
8565
  interface PartnerReference {
@@ -11526,11 +11612,22 @@ declare namespace io.flow.item.v0.models {
11526
11612
  readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
11527
11613
  }
11528
11614
 
11615
+ interface LocalItemAttributePricing {
11616
+ readonly pretax_price: io.flow.common.v0.models.PriceWithBase;
11617
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
11618
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
11619
+ readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
11620
+ }
11621
+
11529
11622
  interface LocalItemPricing {
11530
11623
  readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
11531
11624
  readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
11532
11625
  readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
11533
11626
  readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
11627
+ readonly price_attributes?: Record<
11628
+ string,
11629
+ io.flow.item.v0.models.LocalItemAttributePricing
11630
+ >;
11534
11631
  }
11535
11632
  }
11536
11633
 
@@ -15428,6 +15525,19 @@ declare namespace io.flow.checkout.backend.v0.models {
15428
15525
  readonly company?: string;
15429
15526
  }
15430
15527
 
15528
+ interface CheckoutAddressPrediction {
15529
+ readonly description: string;
15530
+ readonly id: string;
15531
+ }
15532
+
15533
+ interface CheckoutAddressPredictionMetadata {
15534
+ readonly session_token: string;
15535
+ }
15536
+
15537
+ interface CheckoutAddressPredictions {
15538
+ readonly predictions: io.flow.checkout.backend.v0.models.CheckoutAddressPrediction[];
15539
+ }
15540
+
15431
15541
  interface CheckoutContact {
15432
15542
  readonly email?: string;
15433
15543
  readonly phone?: string;
@@ -15589,6 +15699,7 @@ declare namespace io.flow.checkout.backend.v0.models {
15589
15699
  readonly currency?: string;
15590
15700
  readonly locale?: string;
15591
15701
  readonly language?: string;
15702
+ readonly predictions?: io.flow.checkout.backend.v0.models.CheckoutPredictionInputs;
15592
15703
  }
15593
15704
 
15594
15705
  interface CheckoutOrderPaymentCard {
@@ -15715,6 +15826,10 @@ declare namespace io.flow.checkout.backend.v0.models {
15715
15826
  readonly images: io.flow.reference.v0.models.PaymentMethodImages;
15716
15827
  }
15717
15828
 
15829
+ interface CheckoutPredictionInputs {
15830
+ readonly address_prediction_metadata?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
15831
+ }
15832
+
15718
15833
  interface CheckoutPriceFree {
15719
15834
  readonly discriminator: 'free';
15720
15835
  readonly placeholder?: string;
@@ -16329,6 +16444,7 @@ declare namespace io.flow.experiment.internal.v0.models {
16329
16444
  readonly currency?: string;
16330
16445
  readonly average_order_value?: number;
16331
16446
  readonly revenue_generated?: number;
16447
+ readonly total_order_count?: number;
16332
16448
  readonly conversion_rate_uplift?: number;
16333
16449
  readonly average_order_value_uplift?: number;
16334
16450
  readonly revenue_generated_uplift?: number;
@@ -16510,12 +16626,14 @@ declare namespace io.flow.internal.v0.enums {
16510
16626
  | 'language_invalid'
16511
16627
  | 'checkout_invalid';
16512
16628
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
16629
+ type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
16513
16630
  type CheckoutGetErrorCode = 'checkout_not_found';
16514
16631
  type CheckoutHttpSequencedRequestErrorCode =
16515
16632
  | 'checkout_not_found'
16516
16633
  | 'sequence_number_already_exists'
16517
16634
  | 'sequence_number_must_be_greater_than_starting_number';
16518
16635
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
16636
+ type CheckoutInfoAddressPredictionsKeyField = 'input';
16519
16637
  type CheckoutInfoContentKeyField = 'locale';
16520
16638
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
16521
16639
  type CheckoutInfoOrderSummaryKeyField =
@@ -16621,6 +16739,7 @@ declare namespace io.flow.internal.v0.enums {
16621
16739
  | 'gift_card_insufficient_funds'
16622
16740
  | 'gift_card_invalid_number'
16623
16741
  | 'gift_card_not_supported'
16742
+ | 'invalid_prediction'
16624
16743
  | 'language_invalid'
16625
16744
  | 'line_item_number_invalid'
16626
16745
  | 'line_item_number_not_available'
@@ -16763,6 +16882,8 @@ declare namespace io.flow.internal.v0.enums {
16763
16882
  | 'import_failed'
16764
16883
  | 'time_to_classify_upserted'
16765
16884
  | 'time_to_classify_deleted'
16885
+ | 'time_to_classify_aggregated_upserted'
16886
+ | 'time_to_classify_aggregated_deleted'
16766
16887
  | 'rate_source_summary_upserted'
16767
16888
  | 'rate_source_summary_deleted'
16768
16889
  | 'rate_freshness_summary_upserted'
@@ -16907,6 +17028,7 @@ declare namespace io.flow.internal.v0.enums {
16907
17028
  | 'google_api_error'
16908
17029
  | 'facebook_api_error'
16909
17030
  | 'invalid_oauth_token_error';
17031
+ type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
16910
17032
  type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
16911
17033
  type MarketingGatewayFeedState =
16912
17034
  | 'initialized'
@@ -17039,7 +17161,11 @@ declare namespace io.flow.internal.v0.enums {
17039
17161
  | 'duty';
17040
17162
  type ShopifyPromotionStatus = 'active' | 'inactive';
17041
17163
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
17042
- type StatisticType = 'time-to-classify' | 'rate-source' | 'rate-freshness';
17164
+ type StatisticType =
17165
+ | 'time-to-classify'
17166
+ | 'time-to-classify-aggregated'
17167
+ | 'rate-source'
17168
+ | 'rate-freshness';
17043
17169
  type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
17044
17170
  type SubscriptionFrequency = 'yearly' | 'monthly';
17045
17171
  type SuggestionAction = 'accept' | 'validate' | 'review';
@@ -18125,6 +18251,19 @@ declare namespace io.flow.internal.v0.models {
18125
18251
  readonly company?: string;
18126
18252
  }
18127
18253
 
18254
+ interface CheckoutAddressPrediction {
18255
+ readonly description: string;
18256
+ readonly id: string;
18257
+ }
18258
+
18259
+ interface CheckoutAddressPredictionMetadata {
18260
+ readonly session_token: string;
18261
+ }
18262
+
18263
+ interface CheckoutAddressPredictions {
18264
+ readonly predictions: io.flow.internal.v0.models.CheckoutAddressPrediction[];
18265
+ }
18266
+
18128
18267
  interface CheckoutAnalytics {
18129
18268
  readonly trackers: io.flow.internal.v0.unions.Tracker[];
18130
18269
  readonly use_base_currency: boolean;
@@ -18500,6 +18639,11 @@ declare namespace io.flow.internal.v0.models {
18500
18639
  readonly locale?: string;
18501
18640
  }
18502
18641
 
18642
+ interface CheckoutGetAddressPredictionError {
18643
+ readonly code: io.flow.internal.v0.enums.CheckoutGetAddressPredictionErrorCode;
18644
+ readonly message: string;
18645
+ }
18646
+
18503
18647
  interface CheckoutGetError {
18504
18648
  readonly code: io.flow.internal.v0.enums.CheckoutGetErrorCode;
18505
18649
  readonly message: string;
@@ -18578,6 +18722,17 @@ declare namespace io.flow.internal.v0.models {
18578
18722
  readonly value: string;
18579
18723
  }
18580
18724
 
18725
+ interface CheckoutInfoAddressPredictions {
18726
+ readonly discriminator: 'checkout_info_address_predictions';
18727
+ readonly key: io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey[];
18728
+ readonly data: io.flow.checkout.backend.v0.models.CheckoutAddressPredictions;
18729
+ }
18730
+
18731
+ interface CheckoutInfoAddressPredictionsKey {
18732
+ readonly field: io.flow.internal.v0.enums.CheckoutInfoAddressPredictionsKeyField;
18733
+ readonly value: string;
18734
+ }
18735
+
18581
18736
  interface CheckoutInfoAnalyticsOrder {
18582
18737
  readonly discriminator: 'checkout_info_analytics_order';
18583
18738
  readonly data: io.flow.checkout.analytics.v0.unions.CheckoutAnalyticsOrder;
@@ -18887,6 +19042,7 @@ declare namespace io.flow.internal.v0.models {
18887
19042
  readonly currency?: string;
18888
19043
  readonly locale?: string;
18889
19044
  readonly language?: string;
19045
+ readonly predictions?: io.flow.internal.v0.models.CheckoutPredictionInputs;
18890
19046
  }
18891
19047
 
18892
19048
  interface CheckoutOrderNumberForm {
@@ -19054,6 +19210,10 @@ declare namespace io.flow.internal.v0.models {
19054
19210
  readonly order_number?: string;
19055
19211
  }
19056
19212
 
19213
+ interface CheckoutPredictionInputs {
19214
+ readonly address_prediction_metadata?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
19215
+ }
19216
+
19057
19217
  interface CheckoutPriceFree {
19058
19218
  readonly discriminator: 'free';
19059
19219
  readonly placeholder?: string;
@@ -19194,6 +19354,21 @@ declare namespace io.flow.internal.v0.models {
19194
19354
  readonly errors: io.flow.internal.v0.models.CheckoutDeletePromotionCodeError[];
19195
19355
  }
19196
19356
 
19357
+ interface CheckoutSequencedGetAddressPredictionRequestForm {
19358
+ readonly discriminator: 'checkout_sequenced_get_address_prediction_request_form';
19359
+ readonly prediction: io.flow.checkout.backend.v0.models.CheckoutAddressPrediction;
19360
+ }
19361
+
19362
+ interface CheckoutSequencedGetAddressPredictionResponseError {
19363
+ readonly discriminator: 'checkout_sequenced_get_address_prediction_response_error';
19364
+ readonly errors: io.flow.internal.v0.models.CheckoutGetAddressPredictionError[];
19365
+ }
19366
+
19367
+ interface CheckoutSequencedGetAddressPredictionResponseSuccess {
19368
+ readonly discriminator: 'checkout_sequenced_get_address_prediction_response_success';
19369
+ readonly address: io.flow.checkout.backend.v0.models.CheckoutAddress;
19370
+ }
19371
+
19197
19372
  interface CheckoutSequencedSetAddressCityRequestForm {
19198
19373
  readonly discriminator: 'checkout_sequenced_set_address_city_request_form';
19199
19374
  readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
@@ -20261,6 +20436,7 @@ declare namespace io.flow.internal.v0.models {
20261
20436
  readonly currency?: string;
20262
20437
  readonly average_order_value?: number;
20263
20438
  readonly revenue_generated?: number;
20439
+ readonly total_order_count?: number;
20264
20440
  readonly conversion_rate_uplift?: number;
20265
20441
  readonly average_order_value_uplift?: number;
20266
20442
  readonly revenue_generated_uplift?: number;
@@ -21802,6 +21978,15 @@ declare namespace io.flow.internal.v0.models {
21802
21978
  readonly businesses: io.flow.internal.v0.models.MarketingGatewayFacebookBusinessSummary[];
21803
21979
  }
21804
21980
 
21981
+ interface MarketingGatewayFacebookConnectionAccessTokenSummary {
21982
+ readonly catalog_id: number;
21983
+ readonly created_at: number;
21984
+ readonly expires_at?: number;
21985
+ readonly user_id: string;
21986
+ readonly user_email: string;
21987
+ readonly token_status: io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
21988
+ }
21989
+
21805
21990
  interface MarketingGatewayFacebookConnectionDeauth {
21806
21991
  readonly user_id: number;
21807
21992
  }
@@ -22454,6 +22639,7 @@ declare namespace io.flow.internal.v0.models {
22454
22639
 
22455
22640
  interface PaypalAuthenticationDataReference {
22456
22641
  readonly id: string;
22642
+ readonly flow_merchant_id?: string;
22457
22643
  }
22458
22644
 
22459
22645
  interface PaypalAuthenticationForm {
@@ -24016,13 +24202,43 @@ declare namespace io.flow.internal.v0.models {
24016
24202
 
24017
24203
  interface TimeToClassify {
24018
24204
  readonly discriminator: 'time-to-classify';
24205
+ readonly key: string;
24206
+ readonly from: string;
24207
+ readonly to: string;
24019
24208
  readonly organization_id: string;
24209
+ readonly average_hours: number;
24210
+ readonly median_hours: number;
24211
+ readonly percentile_75_hours: number;
24212
+ readonly percentile_90_hours: number;
24213
+ readonly percentile_99_hours: number;
24214
+ }
24215
+
24216
+ interface TimeToClassifyAggregated {
24217
+ readonly discriminator: 'time-to-classify-aggregated';
24020
24218
  readonly key: string;
24021
24219
  readonly from: string;
24022
24220
  readonly to: string;
24221
+ readonly average_hours: number;
24222
+ readonly median_hours: number;
24223
+ readonly percentile_75_hours: number;
24224
+ readonly percentile_90_hours: number;
24023
24225
  readonly percentile_99_hours: number;
24024
24226
  }
24025
24227
 
24228
+ interface TimeToClassifyAggregatedDeleted {
24229
+ readonly discriminator: 'time_to_classify_aggregated_deleted';
24230
+ readonly event_id: string;
24231
+ readonly timestamp: string;
24232
+ readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
24233
+ }
24234
+
24235
+ interface TimeToClassifyAggregatedUpserted {
24236
+ readonly discriminator: 'time_to_classify_aggregated_upserted';
24237
+ readonly event_id: string;
24238
+ readonly timestamp: string;
24239
+ readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
24240
+ }
24241
+
24026
24242
  interface TimeToClassifyDeleted {
24027
24243
  readonly discriminator: 'time_to_classify_deleted';
24028
24244
  readonly event_id: string;
@@ -24346,6 +24562,7 @@ declare namespace io.flow.internal.v0.unions {
24346
24562
  | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
24347
24563
  type CheckoutInfo =
24348
24564
  | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData
24565
+ | io.flow.internal.v0.models.CheckoutInfoAddressPredictions
24349
24566
  | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder
24350
24567
  | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession
24351
24568
  | io.flow.internal.v0.models.CheckoutInfoContent
@@ -24421,6 +24638,9 @@ declare namespace io.flow.internal.v0.unions {
24421
24638
  type CheckoutSequencedDeleteLineResponse = io.flow.internal.v0.models.CheckoutSequencedDeleteLineResponseError;
24422
24639
  type CheckoutSequencedDeletePaymentResponse = io.flow.internal.v0.models.CheckoutSequencedDeletePaymentResponseError;
24423
24640
  type CheckoutSequencedDeletePromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeResponseError;
24641
+ type CheckoutSequencedGetAddressPredictionResponse =
24642
+ | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseError
24643
+ | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess;
24424
24644
  type CheckoutSequencedRequestForm =
24425
24645
  | io.flow.internal.v0.models.CheckoutSequencedAddAttributesRequestForm
24426
24646
  | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm
@@ -24432,6 +24652,7 @@ declare namespace io.flow.internal.v0.unions {
24432
24652
  | io.flow.internal.v0.models.CheckoutSequencedDeleteLineRequestForm
24433
24653
  | io.flow.internal.v0.models.CheckoutSequencedDeletePaymentRequestForm
24434
24654
  | io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm
24655
+ | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionRequestForm
24435
24656
  | io.flow.internal.v0.models.CheckoutSequencedSetAddressCityRequestForm
24436
24657
  | io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryRequestForm
24437
24658
  | io.flow.internal.v0.models.CheckoutSequencedSetAddressNameRequestForm
@@ -24462,6 +24683,8 @@ declare namespace io.flow.internal.v0.unions {
24462
24683
  | io.flow.internal.v0.models.CheckoutSequencedDeleteLineResponseError
24463
24684
  | io.flow.internal.v0.models.CheckoutSequencedDeletePaymentResponseError
24464
24685
  | io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeResponseError
24686
+ | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseError
24687
+ | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess
24465
24688
  | io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError
24466
24689
  | io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError
24467
24690
  | io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError
@@ -24623,6 +24846,8 @@ declare namespace io.flow.internal.v0.unions {
24623
24846
  | io.flow.internal.v0.models.ImportFailed
24624
24847
  | io.flow.internal.v0.models.TimeToClassifyUpserted
24625
24848
  | io.flow.internal.v0.models.TimeToClassifyDeleted
24849
+ | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted
24850
+ | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted
24626
24851
  | io.flow.internal.v0.models.RateSourceSummaryUpserted
24627
24852
  | io.flow.internal.v0.models.RateSourceSummaryDeleted
24628
24853
  | io.flow.internal.v0.models.RateFreshnessSummaryUpserted
@@ -24740,6 +24965,7 @@ declare namespace io.flow.internal.v0.unions {
24740
24965
  | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
24741
24966
  type InternalHarmonizationStatistic =
24742
24967
  | io.flow.internal.v0.models.TimeToClassify
24968
+ | io.flow.internal.v0.models.TimeToClassifyAggregated
24743
24969
  | io.flow.internal.v0.models.RateSourceSummary
24744
24970
  | io.flow.internal.v0.models.RateFreshnessSummary;
24745
24971
  type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
@@ -25027,6 +25253,9 @@ export type CheckoutAddLineErrorCode = io.flow.internal.v0.enums.CheckoutAddLine
25027
25253
  export type CheckoutAddOrderIdentifierError = io.flow.internal.v0.models.CheckoutAddOrderIdentifierError;
25028
25254
  export type CheckoutAddOrderIdentifierErrorCode = io.flow.internal.v0.enums.CheckoutAddOrderIdentifierErrorCode;
25029
25255
  export type CheckoutAddress = io.flow.internal.v0.models.CheckoutAddress;
25256
+ export type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
25257
+ export type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
25258
+ export type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
25030
25259
  export type CheckoutAddressType = io.flow.internal.v0.enums.CheckoutAddressType;
25031
25260
  export type CheckoutAnalytics = io.flow.internal.v0.models.CheckoutAnalytics;
25032
25261
  export type CheckoutAnalyticsDeliveries = io.flow.internal.v0.models.CheckoutAnalyticsDeliveries;
@@ -25113,6 +25342,8 @@ export type CheckoutFeaturesResponseSuccess = io.flow.internal.v0.models.Checkou
25113
25342
  export type CheckoutFinalizeOrderForm = io.flow.internal.v0.models.CheckoutFinalizeOrderForm;
25114
25343
  export type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
25115
25344
  export type CheckoutGeoParameters = io.flow.internal.v0.models.CheckoutGeoParameters;
25345
+ export type CheckoutGetAddressPredictionError = io.flow.internal.v0.models.CheckoutGetAddressPredictionError;
25346
+ export type CheckoutGetAddressPredictionErrorCode = io.flow.internal.v0.enums.CheckoutGetAddressPredictionErrorCode;
25116
25347
  export type CheckoutGetError = io.flow.internal.v0.models.CheckoutGetError;
25117
25348
  export type CheckoutGetErrorCode = io.flow.internal.v0.enums.CheckoutGetErrorCode;
25118
25349
  export type CheckoutGetRequestForm = io.flow.internal.v0.models.CheckoutGetRequestForm;
@@ -25133,6 +25364,9 @@ export type CheckoutInfo = io.flow.internal.v0.unions.CheckoutInfo;
25133
25364
  export type CheckoutInfoAddressConfigurationFormData = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData;
25134
25365
  export type CheckoutInfoAddressConfigurationFormDataKey = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey;
25135
25366
  export type CheckoutInfoAddressConfigurationFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
25367
+ export type CheckoutInfoAddressPredictions = io.flow.internal.v0.models.CheckoutInfoAddressPredictions;
25368
+ export type CheckoutInfoAddressPredictionsKey = io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey;
25369
+ export type CheckoutInfoAddressPredictionsKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressPredictionsKeyField;
25136
25370
  export type CheckoutInfoAnalyticsOrder = io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder;
25137
25371
  export type CheckoutInfoAnalyticsSession = io.flow.internal.v0.models.CheckoutInfoAnalyticsSession;
25138
25372
  export type CheckoutInfoContent = io.flow.internal.v0.models.CheckoutInfoContent;
@@ -25222,6 +25456,7 @@ export type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentC
25222
25456
  export type CheckoutPaymentGroupType = io.flow.internal.v0.enums.CheckoutPaymentGroupType;
25223
25457
  export type CheckoutPaymentMethod = io.flow.internal.v0.models.CheckoutPaymentMethod;
25224
25458
  export type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
25459
+ export type CheckoutPredictionInputs = io.flow.internal.v0.models.CheckoutPredictionInputs;
25225
25460
  export type CheckoutPrice = io.flow.internal.v0.unions.CheckoutPrice;
25226
25461
  export type CheckoutPriceFree = io.flow.internal.v0.models.CheckoutPriceFree;
25227
25462
  export type CheckoutPriceIncluded = io.flow.internal.v0.models.CheckoutPriceIncluded;
@@ -25262,6 +25497,10 @@ export type CheckoutSequencedDeletePaymentResponseError = io.flow.internal.v0.mo
25262
25497
  export type CheckoutSequencedDeletePromotionCodeRequestForm = io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm;
25263
25498
  export type CheckoutSequencedDeletePromotionCodeResponse = io.flow.internal.v0.unions.CheckoutSequencedDeletePromotionCodeResponse;
25264
25499
  export type CheckoutSequencedDeletePromotionCodeResponseError = io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeResponseError;
25500
+ export type CheckoutSequencedGetAddressPredictionRequestForm = io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionRequestForm;
25501
+ export type CheckoutSequencedGetAddressPredictionResponse = io.flow.internal.v0.unions.CheckoutSequencedGetAddressPredictionResponse;
25502
+ export type CheckoutSequencedGetAddressPredictionResponseError = io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseError;
25503
+ export type CheckoutSequencedGetAddressPredictionResponseSuccess = io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess;
25265
25504
  export type CheckoutSequencedRequestForm = io.flow.internal.v0.unions.CheckoutSequencedRequestForm;
25266
25505
  export type CheckoutSequencedResponse = io.flow.internal.v0.unions.CheckoutSequencedResponse;
25267
25506
  export type CheckoutSequencedSetAddressCityRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressCityRequestForm;
@@ -25747,9 +25986,11 @@ export type MarketingGatewayFacebookCatalogForm = io.flow.internal.v0.models.Mar
25747
25986
  export type MarketingGatewayFacebookCatalogSummary = io.flow.internal.v0.models.MarketingGatewayFacebookCatalogSummary;
25748
25987
  export type MarketingGatewayFacebookChannelDetails = io.flow.internal.v0.models.MarketingGatewayFacebookChannelDetails;
25749
25988
  export type MarketingGatewayFacebookConnection = io.flow.internal.v0.models.MarketingGatewayFacebookConnection;
25989
+ export type MarketingGatewayFacebookConnectionAccessTokenSummary = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
25750
25990
  export type MarketingGatewayFacebookConnectionDeauth = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionDeauth;
25751
25991
  export type MarketingGatewayFacebookConnectionForm = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionForm;
25752
25992
  export type MarketingGatewayFacebookSourceSummary = io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary;
25993
+ export type MarketingGatewayFacebookTokenStatus = io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
25753
25994
  export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
25754
25995
  export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
25755
25996
  export type MarketingGatewayFeedExportForm = io.flow.internal.v0.models.MarketingGatewayFeedExportForm;
@@ -26123,6 +26364,9 @@ export type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRem
26123
26364
  export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
26124
26365
  export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
26125
26366
  export type TimeToClassify = io.flow.internal.v0.models.TimeToClassify;
26367
+ export type TimeToClassifyAggregated = io.flow.internal.v0.models.TimeToClassifyAggregated;
26368
+ export type TimeToClassifyAggregatedDeleted = io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted;
26369
+ export type TimeToClassifyAggregatedUpserted = io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted;
26126
26370
  export type TimeToClassifyDeleted = io.flow.internal.v0.models.TimeToClassifyDeleted;
26127
26371
  export type TimeToClassifyUpserted = io.flow.internal.v0.models.TimeToClassifyUpserted;
26128
26372
  export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;