@flowio/types 10.1.1 → 10.2.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 +243 -215
- package/dist/api.d.ts +18 -2
- package/package.json +2 -2
- package/src/api-internal.ts +304 -260
- package/src/api.ts +20 -2
package/src/api-internal.ts
CHANGED
|
@@ -2273,6 +2273,11 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2273
2273
|
readonly challenge_cipher?: string;
|
|
2274
2274
|
readonly token_type?: io.flow.payment.v0.enums.TokenType;
|
|
2275
2275
|
readonly requested_currency?: string;
|
|
2276
|
+
readonly metadata?: io.flow.payment.v0.models.CardMetadata;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
interface CardMetadata {
|
|
2280
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
2276
2281
|
}
|
|
2277
2282
|
|
|
2278
2283
|
interface CardNonceForm {
|
|
@@ -2930,200 +2935,6 @@ declare namespace io.flow.tracking.internal.v0.unions {
|
|
|
2930
2935
|
| io.flow.tracking.internal.v0.models.Ups;
|
|
2931
2936
|
}
|
|
2932
2937
|
|
|
2933
|
-
declare namespace io.flow.bundle.checkout.v0.enums {
|
|
2934
|
-
type CheckoutErrorCode =
|
|
2935
|
-
| 'generic_error'
|
|
2936
|
-
| 'order_identifier_invalid'
|
|
2937
|
-
| 'url_invalid'
|
|
2938
|
-
| 'organization_invalid'
|
|
2939
|
-
| 'session_invalid'
|
|
2940
|
-
| 'session_missing'
|
|
2941
|
-
| 'session_organization_invalid'
|
|
2942
|
-
| 'country_invalid'
|
|
2943
|
-
| 'currency_invalid'
|
|
2944
|
-
| 'language_invalid'
|
|
2945
|
-
| 'checkout_invalid';
|
|
2946
|
-
type CheckoutRedirectMethod = 'get' | 'post';
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
declare namespace io.flow.bundle.checkout.v0.models {
|
|
2950
|
-
interface Checkout {
|
|
2951
|
-
readonly id: string;
|
|
2952
|
-
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
2953
|
-
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
2954
|
-
readonly platform: io.flow.bundle.checkout.v0.models.CheckoutPlatformData;
|
|
2955
|
-
readonly content: io.flow.bundle.checkout.v0.models.CheckoutContent;
|
|
2956
|
-
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
2957
|
-
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
2958
|
-
readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
|
|
2959
|
-
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
2960
|
-
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
2961
|
-
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
2962
|
-
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
2963
|
-
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
2964
|
-
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
2965
|
-
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
2966
|
-
readonly payment: io.flow.bundle.checkout.v0.models.CheckoutPayment;
|
|
2967
|
-
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
2968
|
-
}
|
|
2969
|
-
|
|
2970
|
-
interface CheckoutBundle {
|
|
2971
|
-
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
2972
|
-
readonly order: io.flow.experience.v0.models.Order;
|
|
2973
|
-
readonly order_errors?: io.flow.experience.v0.models.OrderError[];
|
|
2974
|
-
readonly checkout?: io.flow.content.internal.v0.models.CheckoutContentSummary;
|
|
2975
|
-
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
2976
|
-
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
2977
|
-
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
2978
|
-
readonly provinces: io.flow.reference.v0.models.Province[];
|
|
2979
|
-
readonly checkout_items: io.flow.experience.v0.models.CheckoutItemContent[];
|
|
2980
|
-
readonly metadata?: io.flow.bundle.checkout.v0.models.CheckoutBundleMetadata;
|
|
2981
|
-
readonly configuration?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
2982
|
-
readonly address_configurations?: io.flow.experience.v0.models.AddressConfiguration[];
|
|
2983
|
-
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
2984
|
-
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
2985
|
-
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSource[];
|
|
2986
|
-
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2989
|
-
interface CheckoutBundleMetadata {
|
|
2990
|
-
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
2991
|
-
}
|
|
2992
|
-
|
|
2993
|
-
interface CheckoutContent {
|
|
2994
|
-
readonly global?: io.flow.content.internal.v0.models.CheckoutContentSummary;
|
|
2995
|
-
readonly items: io.flow.experience.v0.models.CheckoutItemContent[];
|
|
2996
|
-
}
|
|
2997
|
-
|
|
2998
|
-
interface CheckoutError {
|
|
2999
|
-
readonly code: io.flow.bundle.checkout.v0.enums.CheckoutErrorCode;
|
|
3000
|
-
readonly messages: string[];
|
|
3001
|
-
readonly organization?: io.flow.common.v0.models.OrganizationReference;
|
|
3002
|
-
readonly redirect?: io.flow.bundle.checkout.v0.models.CheckoutRedirect;
|
|
3003
|
-
}
|
|
3004
|
-
|
|
3005
|
-
interface CheckoutFinalizeOrderForm {
|
|
3006
|
-
readonly expected_order_summary: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
|
|
3007
|
-
readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
|
|
3008
|
-
}
|
|
3009
|
-
|
|
3010
|
-
interface CheckoutOrderForm {
|
|
3011
|
-
readonly discriminator: 'order';
|
|
3012
|
-
readonly organization: string;
|
|
3013
|
-
readonly order: io.flow.experience.v0.models.OrderForm;
|
|
3014
|
-
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
3015
|
-
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
3016
|
-
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
3017
|
-
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
3018
|
-
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
3019
|
-
readonly feature_keys?: string[];
|
|
3020
|
-
readonly order_parameters?: io.flow.bundle.checkout.v0.models.OrderParameters;
|
|
3021
|
-
}
|
|
3022
|
-
|
|
3023
|
-
interface CheckoutOrderNumberForm {
|
|
3024
|
-
readonly discriminator: 'order_number';
|
|
3025
|
-
readonly organization: string;
|
|
3026
|
-
readonly order_number: string;
|
|
3027
|
-
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
3028
|
-
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
3029
|
-
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
3030
|
-
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
3031
|
-
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
3032
|
-
readonly feature_keys?: string[];
|
|
3033
|
-
readonly order_parameters?: io.flow.bundle.checkout.v0.models.OrderParameters;
|
|
3034
|
-
}
|
|
3035
|
-
|
|
3036
|
-
interface CheckoutOrderSummary {
|
|
3037
|
-
readonly lines: io.flow.bundle.checkout.v0.models.CheckoutOrderSummaryLine[];
|
|
3038
|
-
}
|
|
3039
|
-
|
|
3040
|
-
interface CheckoutOrderSummaryLine {
|
|
3041
|
-
readonly item: io.flow.common.v0.models.ItemReference;
|
|
3042
|
-
readonly quantity: number;
|
|
3043
|
-
}
|
|
3044
|
-
|
|
3045
|
-
interface CheckoutPayment {
|
|
3046
|
-
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
3047
|
-
readonly sources: io.flow.payment.v0.unions.PaymentSource[];
|
|
3048
|
-
readonly public_key: io.flow.payment.v0.models.PublicKey;
|
|
3049
|
-
readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
|
|
3050
|
-
readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
|
|
3051
|
-
readonly authorization_parameters: io.flow.payment.internal.v0.models.AuthorizationParameters[];
|
|
3052
|
-
}
|
|
3053
|
-
|
|
3054
|
-
interface CheckoutPlatformData {
|
|
3055
|
-
readonly order_number?: string;
|
|
3056
|
-
}
|
|
3057
|
-
|
|
3058
|
-
interface CheckoutRedirect {
|
|
3059
|
-
readonly method: io.flow.bundle.checkout.v0.enums.CheckoutRedirectMethod;
|
|
3060
|
-
readonly url: string;
|
|
3061
|
-
readonly body?: string;
|
|
3062
|
-
}
|
|
3063
|
-
|
|
3064
|
-
interface CheckoutReferenceForm {
|
|
3065
|
-
readonly order_number: string;
|
|
3066
|
-
readonly order_form: io.flow.experience.v0.models.OrderPutForm;
|
|
3067
|
-
readonly order_geo: io.flow.experience.v0.models.OrderGeo;
|
|
3068
|
-
readonly session_id: string;
|
|
3069
|
-
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
3070
|
-
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3073
|
-
interface CheckoutSourceOrderForm {
|
|
3074
|
-
readonly source_order_number: string;
|
|
3075
|
-
readonly feature_q?: string;
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
interface CheckoutSubmission {
|
|
3079
|
-
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
3080
|
-
readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
interface CheckoutSubmissionForm {
|
|
3084
|
-
readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
3085
|
-
readonly expected_order_summary?: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
|
|
3086
|
-
readonly feature_keys?: string[];
|
|
3087
|
-
}
|
|
3088
|
-
|
|
3089
|
-
interface CheckoutSubmitOrderBundle {
|
|
3090
|
-
readonly discriminator: 'checkout_submit_order_bundle';
|
|
3091
|
-
readonly order?: io.flow.experience.v0.models.Order;
|
|
3092
|
-
readonly redirect?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
3093
|
-
readonly errors?: io.flow.experience.v0.models.OrderError[];
|
|
3094
|
-
}
|
|
3095
|
-
|
|
3096
|
-
interface CheckoutSubmitOrderForm {
|
|
3097
|
-
readonly discriminator: 'checkout_submit_order_form';
|
|
3098
|
-
readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
3099
|
-
readonly expected_order_summary?: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
|
|
3100
|
-
}
|
|
3101
|
-
|
|
3102
|
-
interface ExpectedOrderSummary {
|
|
3103
|
-
readonly total?: io.flow.common.v0.models.Money;
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
interface InvalidCheckoutData {
|
|
3107
|
-
readonly order: io.flow.experience.v0.models.OrderPutForm;
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
|
-
interface OrderParameters {
|
|
3111
|
-
readonly experience?: string;
|
|
3112
|
-
readonly country?: string;
|
|
3113
|
-
readonly ip?: string;
|
|
3114
|
-
readonly currency?: string;
|
|
3115
|
-
readonly language?: string;
|
|
3116
|
-
}
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
declare namespace io.flow.bundle.checkout.v0.unions {
|
|
3120
|
-
type CheckoutForm =
|
|
3121
|
-
| io.flow.bundle.checkout.v0.models.CheckoutOrderForm
|
|
3122
|
-
| io.flow.bundle.checkout.v0.models.CheckoutOrderNumberForm;
|
|
3123
|
-
type CheckoutSubmitOrderBundles = io.flow.bundle.checkout.v0.models.CheckoutSubmitOrderBundle;
|
|
3124
|
-
type CheckoutSubmitOrderForms = io.flow.bundle.checkout.v0.models.CheckoutSubmitOrderForm;
|
|
3125
|
-
}
|
|
3126
|
-
|
|
3127
2938
|
declare namespace io.flow.catalog.internal.v0.models {
|
|
3128
2939
|
interface CatalogItemBatchIndexTask {
|
|
3129
2940
|
readonly discriminator: 'catalog_item_batch_index_task';
|
|
@@ -6057,6 +5868,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6057
5868
|
readonly province_code?: string;
|
|
6058
5869
|
readonly updated_at?: string;
|
|
6059
5870
|
readonly zip?: string;
|
|
5871
|
+
readonly localized_country_name?: string;
|
|
5872
|
+
readonly localized_province_name?: string;
|
|
6060
5873
|
}
|
|
6061
5874
|
|
|
6062
5875
|
interface ShopifyLocationDelete {
|
|
@@ -6322,6 +6135,7 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
6322
6135
|
}
|
|
6323
6136
|
|
|
6324
6137
|
interface BatchRateRefillRequest {
|
|
6138
|
+
readonly discriminator: 'batch_rate_refill_request';
|
|
6325
6139
|
readonly requests: io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
|
|
6326
6140
|
}
|
|
6327
6141
|
|
|
@@ -6396,20 +6210,6 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
6396
6210
|
readonly item_numbers?: string[];
|
|
6397
6211
|
}
|
|
6398
6212
|
|
|
6399
|
-
interface DutyInternalRateDeleted {
|
|
6400
|
-
readonly discriminator: 'duty_internal_rate_deleted';
|
|
6401
|
-
readonly event_id: string;
|
|
6402
|
-
readonly timestamp: string;
|
|
6403
|
-
readonly duty_internal_rate: io.flow.harmonization.internal.v0.models.DutyInternalRate;
|
|
6404
|
-
}
|
|
6405
|
-
|
|
6406
|
-
interface DutyInternalRateUpserted {
|
|
6407
|
-
readonly discriminator: 'duty_internal_rate_upserted';
|
|
6408
|
-
readonly event_id: string;
|
|
6409
|
-
readonly timestamp: string;
|
|
6410
|
-
readonly duty_internal_rate: io.flow.harmonization.internal.v0.models.DutyInternalRate;
|
|
6411
|
-
}
|
|
6412
|
-
|
|
6413
6213
|
interface HarmonizationCodesImport {
|
|
6414
6214
|
readonly discriminator: 'harmonization_codes_import';
|
|
6415
6215
|
readonly event_id: string;
|
|
@@ -6483,6 +6283,7 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
6483
6283
|
}
|
|
6484
6284
|
|
|
6485
6285
|
interface RateRefillRequest {
|
|
6286
|
+
readonly discriminator: 'rate_refill_request';
|
|
6486
6287
|
readonly phrase_id: string;
|
|
6487
6288
|
readonly hs6_code: string;
|
|
6488
6289
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
@@ -6499,20 +6300,24 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
6499
6300
|
}
|
|
6500
6301
|
|
|
6501
6302
|
interface ResyncByDestinations {
|
|
6303
|
+
readonly discriminator: 'resync_by_destinations';
|
|
6502
6304
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
6503
6305
|
}
|
|
6504
6306
|
|
|
6505
6307
|
interface ResyncByHs6Destinations {
|
|
6308
|
+
readonly discriminator: 'resync_by_hs6_destinations';
|
|
6506
6309
|
readonly hs6_code: string;
|
|
6507
6310
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
6508
6311
|
}
|
|
6509
6312
|
|
|
6510
6313
|
interface ResyncByHs6Origin {
|
|
6314
|
+
readonly discriminator: 'resync_by_hs6_origin';
|
|
6511
6315
|
readonly hs6_code: string;
|
|
6512
6316
|
readonly origin: io.flow.reference.v0.models.Country;
|
|
6513
6317
|
}
|
|
6514
6318
|
|
|
6515
6319
|
interface ResyncFallbackRates {
|
|
6320
|
+
readonly discriminator: 'resync_fallback_rates';
|
|
6516
6321
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
6517
6322
|
}
|
|
6518
6323
|
|
|
@@ -6537,9 +6342,6 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
|
6537
6342
|
type CustomsDescriptions =
|
|
6538
6343
|
| io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport
|
|
6539
6344
|
| io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport;
|
|
6540
|
-
type DutyInternalRateEvent =
|
|
6541
|
-
| io.flow.harmonization.internal.event.v0.models.DutyInternalRateUpserted
|
|
6542
|
-
| io.flow.harmonization.internal.event.v0.models.DutyInternalRateDeleted;
|
|
6543
6345
|
type HarmonizationEvent =
|
|
6544
6346
|
| io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated
|
|
6545
6347
|
| io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated
|
|
@@ -6556,6 +6358,14 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
|
6556
6358
|
| io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated
|
|
6557
6359
|
| io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
|
|
6558
6360
|
type HarmonizeFully = io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequestV2;
|
|
6361
|
+
type RefillActorRequest =
|
|
6362
|
+
| io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest
|
|
6363
|
+
| io.flow.harmonization.internal.event.v0.models.RateRefillRequest;
|
|
6364
|
+
type ResyncActorRequest =
|
|
6365
|
+
| io.flow.harmonization.internal.event.v0.models.ResyncByHs6Destinations
|
|
6366
|
+
| io.flow.harmonization.internal.event.v0.models.ResyncByDestinations
|
|
6367
|
+
| io.flow.harmonization.internal.event.v0.models.ResyncFallbackRates
|
|
6368
|
+
| io.flow.harmonization.internal.event.v0.models.ResyncByHs6Origin;
|
|
6559
6369
|
}
|
|
6560
6370
|
|
|
6561
6371
|
declare namespace io.flow.svb.v0.enums {
|
|
@@ -8844,6 +8654,95 @@ declare namespace io.flow.session.context.v0.models {
|
|
|
8844
8654
|
}
|
|
8845
8655
|
}
|
|
8846
8656
|
|
|
8657
|
+
declare namespace io.flow.checkout.common.v0.enums {
|
|
8658
|
+
type CheckoutErrorCode =
|
|
8659
|
+
| 'generic_error'
|
|
8660
|
+
| 'order_identifier_invalid'
|
|
8661
|
+
| 'url_invalid'
|
|
8662
|
+
| 'organization_invalid'
|
|
8663
|
+
| 'session_invalid'
|
|
8664
|
+
| 'session_missing'
|
|
8665
|
+
| 'session_organization_invalid'
|
|
8666
|
+
| 'country_invalid'
|
|
8667
|
+
| 'currency_invalid'
|
|
8668
|
+
| 'language_invalid'
|
|
8669
|
+
| 'checkout_invalid';
|
|
8670
|
+
type CheckoutRedirectMethod = 'get' | 'post';
|
|
8671
|
+
}
|
|
8672
|
+
|
|
8673
|
+
declare namespace io.flow.checkout.common.v0.models {
|
|
8674
|
+
interface CheckoutContent {
|
|
8675
|
+
readonly global?: io.flow.content.internal.v0.models.CheckoutContentSummary;
|
|
8676
|
+
readonly items: io.flow.experience.v0.models.CheckoutItemContent[];
|
|
8677
|
+
}
|
|
8678
|
+
|
|
8679
|
+
interface CheckoutError {
|
|
8680
|
+
readonly code: io.flow.checkout.common.v0.enums.CheckoutErrorCode;
|
|
8681
|
+
readonly messages: string[];
|
|
8682
|
+
readonly organization?: io.flow.common.v0.models.OrganizationReference;
|
|
8683
|
+
readonly redirect?: io.flow.checkout.common.v0.models.CheckoutRedirect;
|
|
8684
|
+
}
|
|
8685
|
+
|
|
8686
|
+
interface CheckoutPayment {
|
|
8687
|
+
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
8688
|
+
readonly sources: io.flow.payment.v0.unions.PaymentSource[];
|
|
8689
|
+
readonly public_key: io.flow.payment.v0.models.PublicKey;
|
|
8690
|
+
readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
|
|
8691
|
+
readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
|
|
8692
|
+
readonly authorization_parameters: io.flow.payment.internal.v0.models.AuthorizationParameters[];
|
|
8693
|
+
}
|
|
8694
|
+
|
|
8695
|
+
interface CheckoutPlatformData {
|
|
8696
|
+
readonly order_number?: string;
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8699
|
+
interface CheckoutRedirect {
|
|
8700
|
+
readonly method: io.flow.checkout.common.v0.enums.CheckoutRedirectMethod;
|
|
8701
|
+
readonly url: string;
|
|
8702
|
+
readonly body?: string;
|
|
8703
|
+
}
|
|
8704
|
+
|
|
8705
|
+
interface V1Checkout {
|
|
8706
|
+
readonly id: string;
|
|
8707
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
8708
|
+
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
8709
|
+
readonly platform: io.flow.checkout.common.v0.models.CheckoutPlatformData;
|
|
8710
|
+
readonly content: io.flow.checkout.common.v0.models.CheckoutContent;
|
|
8711
|
+
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
8712
|
+
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
8713
|
+
readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
|
|
8714
|
+
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
8715
|
+
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
8716
|
+
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
8717
|
+
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
8718
|
+
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
8719
|
+
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
8720
|
+
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
8721
|
+
readonly payment: io.flow.checkout.common.v0.models.CheckoutPayment;
|
|
8722
|
+
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
8723
|
+
}
|
|
8724
|
+
|
|
8725
|
+
interface V2Checkout {
|
|
8726
|
+
readonly id: string;
|
|
8727
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
8728
|
+
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
8729
|
+
readonly platform: io.flow.checkout.common.v0.models.CheckoutPlatformData;
|
|
8730
|
+
readonly content: io.flow.checkout.common.v0.models.CheckoutContent;
|
|
8731
|
+
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
8732
|
+
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
8733
|
+
readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
|
|
8734
|
+
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
8735
|
+
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
8736
|
+
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
8737
|
+
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
8738
|
+
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
8739
|
+
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
8740
|
+
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
8741
|
+
readonly payment: io.flow.checkout.common.v0.models.CheckoutPayment;
|
|
8742
|
+
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
8743
|
+
}
|
|
8744
|
+
}
|
|
8745
|
+
|
|
8847
8746
|
declare namespace io.flow.currency.internal.v0.enums {
|
|
8848
8747
|
type RateSource = 'calculated' | 'market';
|
|
8849
8748
|
}
|
|
@@ -9765,10 +9664,6 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
9765
9664
|
}
|
|
9766
9665
|
|
|
9767
9666
|
declare namespace io.flow.marketing.gateway.v0.models {
|
|
9768
|
-
interface MarketingGatewayAccountConnection {
|
|
9769
|
-
readonly apibuilder: string;
|
|
9770
|
-
}
|
|
9771
|
-
|
|
9772
9667
|
interface MarketingGatewayChannelForm {
|
|
9773
9668
|
readonly platform: io.flow.marketing.gateway.v0.enums.MarketingGatewayPlatform;
|
|
9774
9669
|
readonly account_id: number;
|
|
@@ -9784,6 +9679,11 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9784
9679
|
readonly apibuilder: string;
|
|
9785
9680
|
}
|
|
9786
9681
|
|
|
9682
|
+
interface MarketingGatewayDistributionChannelFacebook {
|
|
9683
|
+
readonly discriminator: 'marketing_gateway_distribution_channel_facebook';
|
|
9684
|
+
readonly catalog_id: number;
|
|
9685
|
+
}
|
|
9686
|
+
|
|
9787
9687
|
interface MarketingGatewayDistributionChannelGoogle {
|
|
9788
9688
|
readonly discriminator: 'marketing_gateway_distribution_channel_google';
|
|
9789
9689
|
readonly account_id: number;
|
|
@@ -9796,6 +9696,40 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9796
9696
|
readonly subcatalog_id: string;
|
|
9797
9697
|
}
|
|
9798
9698
|
|
|
9699
|
+
interface MarketingGatewayFacebookBusiness {
|
|
9700
|
+
readonly business_id: number;
|
|
9701
|
+
readonly name: string;
|
|
9702
|
+
}
|
|
9703
|
+
|
|
9704
|
+
interface MarketingGatewayFacebookBusinessSummary {
|
|
9705
|
+
readonly business_id: number;
|
|
9706
|
+
readonly name: string;
|
|
9707
|
+
}
|
|
9708
|
+
|
|
9709
|
+
interface MarketingGatewayFacebookCatalogSummary {
|
|
9710
|
+
readonly catalog_id: number;
|
|
9711
|
+
readonly name: string;
|
|
9712
|
+
readonly item_count: number;
|
|
9713
|
+
}
|
|
9714
|
+
|
|
9715
|
+
interface MarketingGatewayFacebookConnection {
|
|
9716
|
+
readonly organization_id: string;
|
|
9717
|
+
readonly businesses: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
9718
|
+
}
|
|
9719
|
+
|
|
9720
|
+
interface MarketingGatewayFacebookConnectionForm {
|
|
9721
|
+
readonly access_token: string;
|
|
9722
|
+
}
|
|
9723
|
+
|
|
9724
|
+
interface MarketingGatewayFacebookSourceSummary {
|
|
9725
|
+
readonly discriminator: 'marketing_gateway_facebook_source_summary';
|
|
9726
|
+
readonly catalog_id: number;
|
|
9727
|
+
readonly catalog_name: string;
|
|
9728
|
+
readonly business_name: string;
|
|
9729
|
+
readonly country: string;
|
|
9730
|
+
readonly product_count: number;
|
|
9731
|
+
}
|
|
9732
|
+
|
|
9799
9733
|
interface MarketingGatewayFeed {
|
|
9800
9734
|
readonly id: string;
|
|
9801
9735
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
@@ -9832,6 +9766,14 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9832
9766
|
readonly schema_compatibility: io.flow.marketing.gateway.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
9833
9767
|
}
|
|
9834
9768
|
|
|
9769
|
+
interface MarketingGatewayFeedSourceFacebook {
|
|
9770
|
+
readonly discriminator: 'marketing_gateway_feed_source_facebook';
|
|
9771
|
+
readonly catalog_id: number;
|
|
9772
|
+
readonly country: string;
|
|
9773
|
+
readonly currency: string;
|
|
9774
|
+
readonly language: string;
|
|
9775
|
+
}
|
|
9776
|
+
|
|
9835
9777
|
interface MarketingGatewayFeedSourceFlow {
|
|
9836
9778
|
readonly discriminator: 'marketing_gateway_feed_source_flow';
|
|
9837
9779
|
readonly apibuilder?: string;
|
|
@@ -9845,6 +9787,11 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9845
9787
|
readonly language: string;
|
|
9846
9788
|
}
|
|
9847
9789
|
|
|
9790
|
+
interface MarketingGatewayFeedSourceRequestFacebook {
|
|
9791
|
+
readonly discriminator: 'marketing_gateway_feed_source_request_facebook';
|
|
9792
|
+
readonly catalog_id: number;
|
|
9793
|
+
}
|
|
9794
|
+
|
|
9848
9795
|
interface MarketingGatewayFeedSourceRequestFlow {
|
|
9849
9796
|
readonly discriminator: 'marketing_gateway_feed_source_request_flow';
|
|
9850
9797
|
readonly apibuilder?: string;
|
|
@@ -10191,13 +10138,17 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
10191
10138
|
}
|
|
10192
10139
|
|
|
10193
10140
|
declare namespace io.flow.marketing.gateway.v0.unions {
|
|
10194
|
-
type MarketingGatewayDistributionChannel =
|
|
10141
|
+
type MarketingGatewayDistributionChannel =
|
|
10142
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayDistributionChannelGoogle
|
|
10143
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayDistributionChannelFacebook;
|
|
10195
10144
|
type MarketingGatewayFeedSource =
|
|
10196
10145
|
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceFlow
|
|
10197
|
-
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceGoogle
|
|
10146
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceGoogle
|
|
10147
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceFacebook;
|
|
10198
10148
|
type MarketingGatewayFeedSourceRequest =
|
|
10199
10149
|
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceRequestFlow
|
|
10200
|
-
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceRequestGoogle
|
|
10150
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceRequestGoogle
|
|
10151
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceRequestFacebook;
|
|
10201
10152
|
type MarketingGatewayGoogleFeed =
|
|
10202
10153
|
| io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedParent
|
|
10203
10154
|
| io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedChild;
|
|
@@ -10217,6 +10168,7 @@ declare namespace io.flow.marketing.gateway.v0.unions {
|
|
|
10217
10168
|
type MarketingGatewayProduct = io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProduct;
|
|
10218
10169
|
type MarketingGatewaySourceSummary =
|
|
10219
10170
|
| io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleSourceSummary
|
|
10171
|
+
| io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookSourceSummary
|
|
10220
10172
|
| io.flow.marketing.gateway.v0.models.MarketingGatewayFlowSourceSummary;
|
|
10221
10173
|
}
|
|
10222
10174
|
|
|
@@ -10692,7 +10644,7 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
10692
10644
|
|
|
10693
10645
|
interface InventoryUnlimited {
|
|
10694
10646
|
readonly discriminator: 'inventory_unlimited';
|
|
10695
|
-
readonly
|
|
10647
|
+
readonly placeholder?: string;
|
|
10696
10648
|
}
|
|
10697
10649
|
|
|
10698
10650
|
interface InventoryUpdate {
|
|
@@ -11261,6 +11213,7 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
11261
11213
|
}
|
|
11262
11214
|
|
|
11263
11215
|
declare namespace io.flow.harmonization.internal.v0.enums {
|
|
11216
|
+
type ComplianceType = 'weee';
|
|
11264
11217
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
11265
11218
|
type DutyRateSource =
|
|
11266
11219
|
| 'tariff_code_rate'
|
|
@@ -11349,6 +11302,12 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11349
11302
|
readonly classification_model_id: string;
|
|
11350
11303
|
}
|
|
11351
11304
|
|
|
11305
|
+
interface Compliance {
|
|
11306
|
+
readonly id: string;
|
|
11307
|
+
readonly destination: string;
|
|
11308
|
+
readonly data: io.flow.harmonization.internal.v0.unions.ComplianceData;
|
|
11309
|
+
}
|
|
11310
|
+
|
|
11352
11311
|
interface Customs {
|
|
11353
11312
|
readonly description?: string;
|
|
11354
11313
|
readonly hs6?: string;
|
|
@@ -11662,12 +11621,21 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11662
11621
|
readonly code: string;
|
|
11663
11622
|
}
|
|
11664
11623
|
|
|
11624
|
+
interface TaxonomyNode {
|
|
11625
|
+
readonly id: string;
|
|
11626
|
+
readonly children?: io.flow.harmonization.internal.v0.models.TaxonomyNode[];
|
|
11627
|
+
}
|
|
11628
|
+
|
|
11665
11629
|
interface UnclassifiedProductsForm {
|
|
11666
11630
|
readonly organization_id: string;
|
|
11667
11631
|
readonly product_id: string;
|
|
11668
11632
|
readonly status?: io.flow.harmonization.internal.v0.enums.UnclassifiedProductStatus;
|
|
11669
11633
|
}
|
|
11670
11634
|
|
|
11635
|
+
interface UnclassifiedProductsSummary {
|
|
11636
|
+
readonly num_unclassified_products: Record<string, number>;
|
|
11637
|
+
}
|
|
11638
|
+
|
|
11671
11639
|
interface UnphrasedProductsExport {
|
|
11672
11640
|
readonly message: string;
|
|
11673
11641
|
}
|
|
@@ -11686,6 +11654,12 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11686
11654
|
readonly label: string;
|
|
11687
11655
|
readonly number: string;
|
|
11688
11656
|
}
|
|
11657
|
+
|
|
11658
|
+
interface WasteElectricalAndElectronicEquipmentComplianceForm {
|
|
11659
|
+
readonly discriminator: 'weee';
|
|
11660
|
+
readonly label: string;
|
|
11661
|
+
readonly number: string;
|
|
11662
|
+
}
|
|
11689
11663
|
}
|
|
11690
11664
|
|
|
11691
11665
|
declare namespace io.flow.harmonization.internal.v0.unions {
|
|
@@ -11701,6 +11675,7 @@ declare namespace io.flow.harmonization.internal.v0.unions {
|
|
|
11701
11675
|
| io.flow.harmonization.internal.v0.models.SupportedLabels;
|
|
11702
11676
|
|
|
11703
11677
|
type ComplianceData = io.flow.harmonization.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
11678
|
+
type ComplianceForm = io.flow.harmonization.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
11704
11679
|
type TariffEligibilityData = io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityData;
|
|
11705
11680
|
type TariffEligibilityForm = io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityForm;
|
|
11706
11681
|
type TaskData =
|
|
@@ -13956,6 +13931,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13956
13931
|
| 'continue_shopping'
|
|
13957
13932
|
| 'confirmation'
|
|
13958
13933
|
| 'invalid_checkout';
|
|
13934
|
+
type ComplianceType = 'weee';
|
|
13959
13935
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
13960
13936
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
13961
13937
|
type ContentType = 'text' | 'html';
|
|
@@ -14019,8 +13995,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14019
13995
|
| 'customs_description_tariffs_import'
|
|
14020
13996
|
| 'item_dimension_estimate_upserted_v2'
|
|
14021
13997
|
| 'item_dimension_estimate_deleted_v2'
|
|
14022
|
-
| 'duty_internal_rate_upserted'
|
|
14023
|
-
| 'duty_internal_rate_deleted'
|
|
14024
13998
|
| 'duty_rate_request'
|
|
14025
13999
|
| 'duty_rate_bulk_request'
|
|
14026
14000
|
| 'duty_raw_upserted'
|
|
@@ -14118,6 +14092,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14118
14092
|
| 'ratecard_standard_configuration_deleted'
|
|
14119
14093
|
| 'ratecard_lane_aggregate_upserted'
|
|
14120
14094
|
| 'ratecard_lane_aggregate_deleted'
|
|
14095
|
+
| 'batch_rate_refill_request'
|
|
14096
|
+
| 'rate_refill_request'
|
|
14097
|
+
| 'resync_by_hs6_destinations'
|
|
14098
|
+
| 'resync_by_destinations'
|
|
14099
|
+
| 'resync_fallback_rates'
|
|
14100
|
+
| 'resync_by_hs6_origin'
|
|
14121
14101
|
| 'shopify_shop_upserted'
|
|
14122
14102
|
| 'shopify_shop_deleted'
|
|
14123
14103
|
| 'shopify_experience_short_id_upserted'
|
|
@@ -14312,6 +14292,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14312
14292
|
| 'duty';
|
|
14313
14293
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
14314
14294
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
14295
|
+
type StatisticType = 'time-to-classify';
|
|
14315
14296
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
14316
14297
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
14317
14298
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
@@ -14906,6 +14887,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14906
14887
|
}
|
|
14907
14888
|
|
|
14908
14889
|
interface BatchRateRefillRequest {
|
|
14890
|
+
readonly discriminator: 'batch_rate_refill_request';
|
|
14909
14891
|
readonly requests: io.flow.internal.v0.models.RateRefillRequest[];
|
|
14910
14892
|
}
|
|
14911
14893
|
|
|
@@ -15318,26 +15300,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15318
15300
|
readonly required: boolean;
|
|
15319
15301
|
}
|
|
15320
15302
|
|
|
15321
|
-
interface Checkout {
|
|
15322
|
-
readonly id: string;
|
|
15323
|
-
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
15324
|
-
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
15325
|
-
readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
|
|
15326
|
-
readonly content: io.flow.internal.v0.models.CheckoutContent;
|
|
15327
|
-
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
15328
|
-
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
15329
|
-
readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
|
|
15330
|
-
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
15331
|
-
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
15332
|
-
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
15333
|
-
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
15334
|
-
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
15335
|
-
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
15336
|
-
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
15337
|
-
readonly payment: io.flow.internal.v0.models.CheckoutPayment;
|
|
15338
|
-
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
15339
|
-
}
|
|
15340
|
-
|
|
15341
15303
|
interface CheckoutAnalytics {
|
|
15342
15304
|
readonly trackers: io.flow.internal.v0.unions.Tracker[];
|
|
15343
15305
|
readonly use_base_currency: boolean;
|
|
@@ -15649,6 +15611,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15649
15611
|
readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
|
|
15650
15612
|
}
|
|
15651
15613
|
|
|
15614
|
+
interface Compliance {
|
|
15615
|
+
readonly id: string;
|
|
15616
|
+
readonly destination: string;
|
|
15617
|
+
readonly data: io.flow.internal.v0.unions.ComplianceData;
|
|
15618
|
+
}
|
|
15619
|
+
|
|
15652
15620
|
interface Components {
|
|
15653
15621
|
readonly vat: io.flow.common.v0.models.Price;
|
|
15654
15622
|
readonly duty: io.flow.common.v0.models.Price;
|
|
@@ -16020,20 +15988,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16020
15988
|
readonly position: number;
|
|
16021
15989
|
}
|
|
16022
15990
|
|
|
16023
|
-
interface DutyInternalRateDeleted {
|
|
16024
|
-
readonly discriminator: 'duty_internal_rate_deleted';
|
|
16025
|
-
readonly event_id: string;
|
|
16026
|
-
readonly timestamp: string;
|
|
16027
|
-
readonly duty_internal_rate: io.flow.harmonization.internal.v0.models.DutyInternalRate;
|
|
16028
|
-
}
|
|
16029
|
-
|
|
16030
|
-
interface DutyInternalRateUpserted {
|
|
16031
|
-
readonly discriminator: 'duty_internal_rate_upserted';
|
|
16032
|
-
readonly event_id: string;
|
|
16033
|
-
readonly timestamp: string;
|
|
16034
|
-
readonly duty_internal_rate: io.flow.harmonization.internal.v0.models.DutyInternalRate;
|
|
16035
|
-
}
|
|
16036
|
-
|
|
16037
15991
|
interface DutyRate {
|
|
16038
15992
|
readonly id: string;
|
|
16039
15993
|
readonly raw_id: string;
|
|
@@ -17682,6 +17636,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17682
17636
|
readonly access_token: string;
|
|
17683
17637
|
}
|
|
17684
17638
|
|
|
17639
|
+
interface MarketingGatewayFacebookSourceSummary {
|
|
17640
|
+
readonly discriminator: 'marketing_gateway_facebook_source_summary';
|
|
17641
|
+
readonly catalog_id: number;
|
|
17642
|
+
readonly catalog_name: string;
|
|
17643
|
+
readonly business_name: string;
|
|
17644
|
+
readonly country: string;
|
|
17645
|
+
readonly product_count: number;
|
|
17646
|
+
}
|
|
17647
|
+
|
|
17685
17648
|
interface MarketingGatewayFeed {
|
|
17686
17649
|
readonly id: string;
|
|
17687
17650
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
@@ -18892,6 +18855,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18892
18855
|
}
|
|
18893
18856
|
|
|
18894
18857
|
interface RateRefillRequest {
|
|
18858
|
+
readonly discriminator: 'rate_refill_request';
|
|
18895
18859
|
readonly phrase_id: string;
|
|
18896
18860
|
readonly hs6_code: string;
|
|
18897
18861
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
@@ -19088,20 +19052,24 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19088
19052
|
}
|
|
19089
19053
|
|
|
19090
19054
|
interface ResyncByDestinations {
|
|
19055
|
+
readonly discriminator: 'resync_by_destinations';
|
|
19091
19056
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
19092
19057
|
}
|
|
19093
19058
|
|
|
19094
19059
|
interface ResyncByHs6Destinations {
|
|
19060
|
+
readonly discriminator: 'resync_by_hs6_destinations';
|
|
19095
19061
|
readonly hs6_code: string;
|
|
19096
19062
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
19097
19063
|
}
|
|
19098
19064
|
|
|
19099
19065
|
interface ResyncByHs6Origin {
|
|
19066
|
+
readonly discriminator: 'resync_by_hs6_origin';
|
|
19100
19067
|
readonly hs6_code: string;
|
|
19101
19068
|
readonly origin: io.flow.reference.v0.models.Country;
|
|
19102
19069
|
}
|
|
19103
19070
|
|
|
19104
19071
|
interface ResyncFallbackRates {
|
|
19072
|
+
readonly discriminator: 'resync_fallback_rates';
|
|
19105
19073
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
19106
19074
|
}
|
|
19107
19075
|
|
|
@@ -19929,6 +19897,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19929
19897
|
readonly transaction: io.flow.billing.internal.v0.models.TaxRemittanceTransaction;
|
|
19930
19898
|
}
|
|
19931
19899
|
|
|
19900
|
+
interface TaxonomyNode {
|
|
19901
|
+
readonly id: string;
|
|
19902
|
+
readonly children?: io.flow.internal.v0.models.TaxonomyNode[];
|
|
19903
|
+
}
|
|
19904
|
+
|
|
19905
|
+
interface TimeToClassify {
|
|
19906
|
+
readonly discriminator: 'time-to-classify';
|
|
19907
|
+
readonly percentile_99_hours: number;
|
|
19908
|
+
}
|
|
19909
|
+
|
|
19932
19910
|
interface TimeWithTimezone {
|
|
19933
19911
|
readonly time: string;
|
|
19934
19912
|
readonly timezone: string;
|
|
@@ -20066,6 +20044,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20066
20044
|
readonly num_deleted_products: Record<string, number>;
|
|
20067
20045
|
}
|
|
20068
20046
|
|
|
20047
|
+
interface UnclassifiedProductsSummary {
|
|
20048
|
+
readonly num_unclassified_products: Record<string, number>;
|
|
20049
|
+
}
|
|
20050
|
+
|
|
20069
20051
|
interface UnharmonizedItemsExport {
|
|
20070
20052
|
readonly discriminator: 'unharmonized_items_export';
|
|
20071
20053
|
readonly event_id: string;
|
|
@@ -20110,6 +20092,46 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20110
20092
|
readonly user: io.flow.common.v0.models.User;
|
|
20111
20093
|
}
|
|
20112
20094
|
|
|
20095
|
+
interface V1Checkout {
|
|
20096
|
+
readonly id: string;
|
|
20097
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
20098
|
+
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
20099
|
+
readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
|
|
20100
|
+
readonly content: io.flow.internal.v0.models.CheckoutContent;
|
|
20101
|
+
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
20102
|
+
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
20103
|
+
readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
|
|
20104
|
+
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
20105
|
+
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
20106
|
+
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
20107
|
+
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
20108
|
+
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
20109
|
+
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
20110
|
+
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
20111
|
+
readonly payment: io.flow.internal.v0.models.CheckoutPayment;
|
|
20112
|
+
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
20113
|
+
}
|
|
20114
|
+
|
|
20115
|
+
interface V2Checkout {
|
|
20116
|
+
readonly id: string;
|
|
20117
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
20118
|
+
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
20119
|
+
readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
|
|
20120
|
+
readonly content: io.flow.internal.v0.models.CheckoutContent;
|
|
20121
|
+
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
20122
|
+
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
20123
|
+
readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
|
|
20124
|
+
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
20125
|
+
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
20126
|
+
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
20127
|
+
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
20128
|
+
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
20129
|
+
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
20130
|
+
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
20131
|
+
readonly payment: io.flow.internal.v0.models.CheckoutPayment;
|
|
20132
|
+
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
20133
|
+
}
|
|
20134
|
+
|
|
20113
20135
|
interface ValidationCharacterLength {
|
|
20114
20136
|
readonly discriminator: 'validation_character_length';
|
|
20115
20137
|
readonly min?: number;
|
|
@@ -20146,6 +20168,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20146
20168
|
readonly number: string;
|
|
20147
20169
|
}
|
|
20148
20170
|
|
|
20171
|
+
interface WasteElectricalAndElectronicEquipmentComplianceForm {
|
|
20172
|
+
readonly discriminator: 'weee';
|
|
20173
|
+
readonly label: string;
|
|
20174
|
+
readonly number: string;
|
|
20175
|
+
}
|
|
20176
|
+
|
|
20149
20177
|
interface WholeOrderActionForm {
|
|
20150
20178
|
readonly discriminator: 'whole_order_action_form';
|
|
20151
20179
|
readonly action: io.flow.internal.v0.enums.OrderAction;
|
|
@@ -20181,6 +20209,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20181
20209
|
| io.flow.internal.v0.models.SupportedLabels;
|
|
20182
20210
|
|
|
20183
20211
|
type ComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
20212
|
+
type ComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
20184
20213
|
type ContentItem =
|
|
20185
20214
|
| io.flow.internal.v0.models.Dict
|
|
20186
20215
|
| io.flow.internal.v0.models.Href
|
|
@@ -20235,8 +20264,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20235
20264
|
| io.flow.internal.v0.models.CustomsDescriptionTariffsImport
|
|
20236
20265
|
| io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2
|
|
20237
20266
|
| io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2
|
|
20238
|
-
| io.flow.internal.v0.models.DutyInternalRateUpserted
|
|
20239
|
-
| io.flow.internal.v0.models.DutyInternalRateDeleted
|
|
20240
20267
|
| io.flow.internal.v0.models.DutyRateRequest
|
|
20241
20268
|
| io.flow.internal.v0.models.DutyRateBulkRequest
|
|
20242
20269
|
| io.flow.internal.v0.models.DutyRawUpserted
|
|
@@ -20334,6 +20361,12 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20334
20361
|
| io.flow.internal.v0.models.RatecardStandardConfigurationDeleted
|
|
20335
20362
|
| io.flow.internal.v0.models.RatecardLaneAggregateUpserted
|
|
20336
20363
|
| io.flow.internal.v0.models.RatecardLaneAggregateDeleted
|
|
20364
|
+
| io.flow.internal.v0.models.BatchRateRefillRequest
|
|
20365
|
+
| io.flow.internal.v0.models.RateRefillRequest
|
|
20366
|
+
| io.flow.internal.v0.models.ResyncByHs6Destinations
|
|
20367
|
+
| io.flow.internal.v0.models.ResyncByDestinations
|
|
20368
|
+
| io.flow.internal.v0.models.ResyncFallbackRates
|
|
20369
|
+
| io.flow.internal.v0.models.ResyncByHs6Origin
|
|
20337
20370
|
| io.flow.internal.v0.models.ShopifyShopUpserted
|
|
20338
20371
|
| io.flow.internal.v0.models.ShopifyShopDeleted
|
|
20339
20372
|
| io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
|
|
@@ -20397,6 +20430,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20397
20430
|
| io.flow.internal.v0.models.InternalAdyenAuthorizationDetails
|
|
20398
20431
|
| io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails
|
|
20399
20432
|
| io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
20433
|
+
type InternalHarmonizationStatistic = io.flow.internal.v0.models.TimeToClassify;
|
|
20400
20434
|
type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
|
|
20401
20435
|
type LocalizableContent =
|
|
20402
20436
|
| io.flow.internal.v0.models.LocalizableContentReference
|
|
@@ -20431,6 +20465,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20431
20465
|
type MarketingGatewayProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
20432
20466
|
type MarketingGatewaySourceSummary =
|
|
20433
20467
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary
|
|
20468
|
+
| io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary
|
|
20434
20469
|
| io.flow.internal.v0.models.MarketingGatewayFlowSourceSummary;
|
|
20435
20470
|
type OptinPromptDisplay = io.flow.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
20436
20471
|
type OrderActionForm =
|
|
@@ -20661,7 +20696,6 @@ export type ChargebackProcessStatus = io.flow.internal.v0.enums.ChargebackProces
|
|
|
20661
20696
|
export type ChargebackUpserted = io.flow.internal.v0.models.ChargebackUpserted;
|
|
20662
20697
|
export type ChargebackVersion = io.flow.internal.v0.models.ChargebackVersion;
|
|
20663
20698
|
export type Checkbox = io.flow.internal.v0.models.Checkbox;
|
|
20664
|
-
export type Checkout = io.flow.internal.v0.models.Checkout;
|
|
20665
20699
|
export type CheckoutAnalytics = io.flow.internal.v0.models.CheckoutAnalytics;
|
|
20666
20700
|
export type CheckoutAsset = io.flow.internal.v0.models.CheckoutAsset;
|
|
20667
20701
|
export type CheckoutAssetType = io.flow.internal.v0.enums.CheckoutAssetType;
|
|
@@ -20721,7 +20755,10 @@ export type ClassificationProductSummaryPage = io.flow.internal.v0.models.Classi
|
|
|
20721
20755
|
export type ClassificationRequeueRequest = io.flow.internal.v0.models.ClassificationRequeueRequest;
|
|
20722
20756
|
export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
20723
20757
|
export type CompletePriceRule = io.flow.internal.v0.models.CompletePriceRule;
|
|
20758
|
+
export type Compliance = io.flow.internal.v0.models.Compliance;
|
|
20724
20759
|
export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
20760
|
+
export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
|
|
20761
|
+
export type ComplianceType = io.flow.internal.v0.enums.ComplianceType;
|
|
20725
20762
|
export type Components = io.flow.internal.v0.models.Components;
|
|
20726
20763
|
export type ConsumerOptinActivity = io.flow.internal.v0.models.ConsumerOptinActivity;
|
|
20727
20764
|
export type ContentElementType = io.flow.internal.v0.enums.ContentElementType;
|
|
@@ -20786,8 +20823,6 @@ export type DutyCompoundExpressionType = io.flow.internal.v0.enums.DutyCompoundE
|
|
|
20786
20823
|
export type DutyExemptItemTypes = io.flow.internal.v0.enums.DutyExemptItemTypes;
|
|
20787
20824
|
export type DutyExpression = io.flow.internal.v0.unions.DutyExpression;
|
|
20788
20825
|
export type DutyInternalRate = io.flow.internal.v0.models.DutyInternalRate;
|
|
20789
|
-
export type DutyInternalRateDeleted = io.flow.internal.v0.models.DutyInternalRateDeleted;
|
|
20790
|
-
export type DutyInternalRateUpserted = io.flow.internal.v0.models.DutyInternalRateUpserted;
|
|
20791
20826
|
export type DutyRate = io.flow.internal.v0.models.DutyRate;
|
|
20792
20827
|
export type DutyRateBulkRequest = io.flow.internal.v0.models.DutyRateBulkRequest;
|
|
20793
20828
|
export type DutyRateBulkResponse = io.flow.internal.v0.models.DutyRateBulkResponse;
|
|
@@ -20953,6 +20988,7 @@ export type InternalAuthorizationUpserted = io.flow.internal.v0.models.InternalA
|
|
|
20953
20988
|
export type InternalBitpayAuthorizationDetails = io.flow.internal.v0.models.InternalBitpayAuthorizationDetails;
|
|
20954
20989
|
export type InternalCardAuthorizationDetails = io.flow.internal.v0.models.InternalCardAuthorizationDetails;
|
|
20955
20990
|
export type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
20991
|
+
export type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
|
|
20956
20992
|
export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
|
|
20957
20993
|
export type InternalOrder = io.flow.internal.v0.models.InternalOrder;
|
|
20958
20994
|
export type InternalPaypalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails;
|
|
@@ -21057,6 +21093,7 @@ export type MarketingGatewayFacebookBusinessSummary = io.flow.internal.v0.models
|
|
|
21057
21093
|
export type MarketingGatewayFacebookCatalogSummary = io.flow.internal.v0.models.MarketingGatewayFacebookCatalogSummary;
|
|
21058
21094
|
export type MarketingGatewayFacebookConnection = io.flow.internal.v0.models.MarketingGatewayFacebookConnection;
|
|
21059
21095
|
export type MarketingGatewayFacebookConnectionForm = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionForm;
|
|
21096
|
+
export type MarketingGatewayFacebookSourceSummary = io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary;
|
|
21060
21097
|
export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
|
|
21061
21098
|
export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
|
|
21062
21099
|
export type MarketingGatewayFeedExportForm = io.flow.internal.v0.models.MarketingGatewayFeedExportForm;
|
|
@@ -21377,6 +21414,7 @@ export type SpotRate = io.flow.internal.v0.models.SpotRate;
|
|
|
21377
21414
|
export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
|
|
21378
21415
|
export type SpotRateUpserted = io.flow.internal.v0.models.SpotRateUpserted;
|
|
21379
21416
|
export type SpotRateVersion = io.flow.internal.v0.models.SpotRateVersion;
|
|
21417
|
+
export type StatisticType = io.flow.internal.v0.enums.StatisticType;
|
|
21380
21418
|
export type Status = io.flow.internal.v0.enums.Status;
|
|
21381
21419
|
export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
|
|
21382
21420
|
export type StoreConnectionForm = io.flow.internal.v0.models.StoreConnectionForm;
|
|
@@ -21437,6 +21475,8 @@ export type TaxParty = io.flow.internal.v0.enums.TaxParty;
|
|
|
21437
21475
|
export type TaxRemittanceTransaction = io.flow.internal.v0.models.TaxRemittanceTransaction;
|
|
21438
21476
|
export type TaxRemittanceTransactionDeleted = io.flow.internal.v0.models.TaxRemittanceTransactionDeleted;
|
|
21439
21477
|
export type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
|
|
21478
|
+
export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
|
|
21479
|
+
export type TimeToClassify = io.flow.internal.v0.models.TimeToClassify;
|
|
21440
21480
|
export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
|
21441
21481
|
export type TimeseriesType = io.flow.internal.v0.enums.TimeseriesType;
|
|
21442
21482
|
export type Tracker = io.flow.internal.v0.unions.Tracker;
|
|
@@ -21463,6 +21503,7 @@ export type Tribe = io.flow.internal.v0.models.Tribe;
|
|
|
21463
21503
|
export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
21464
21504
|
export type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
|
|
21465
21505
|
export type UnclassifiedProductsPurgeRequest = io.flow.internal.v0.models.UnclassifiedProductsPurgeRequest;
|
|
21506
|
+
export type UnclassifiedProductsSummary = io.flow.internal.v0.models.UnclassifiedProductsSummary;
|
|
21466
21507
|
export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
|
|
21467
21508
|
export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
|
|
21468
21509
|
export type Ups = io.flow.internal.v0.models.Ups;
|
|
@@ -21470,6 +21511,8 @@ export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
|
|
|
21470
21511
|
export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
|
|
21471
21512
|
export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
|
|
21472
21513
|
export type UserUpsertedV2 = io.flow.internal.v0.models.UserUpsertedV2;
|
|
21514
|
+
export type V1Checkout = io.flow.internal.v0.models.V1Checkout;
|
|
21515
|
+
export type V2Checkout = io.flow.internal.v0.models.V2Checkout;
|
|
21473
21516
|
export type ValidationCharacterLength = io.flow.internal.v0.models.ValidationCharacterLength;
|
|
21474
21517
|
export type ValidationRule = io.flow.internal.v0.unions.ValidationRule;
|
|
21475
21518
|
export type Variant = io.flow.internal.v0.unions.Variant;
|
|
@@ -21477,4 +21520,5 @@ export type VariantForm = io.flow.internal.v0.unions.VariantForm;
|
|
|
21477
21520
|
export type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
21478
21521
|
export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
21479
21522
|
export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
21523
|
+
export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
21480
21524
|
export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|