@flowio/types 1.0.0 → 3.0.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/LICENSE +21 -0
- package/dist/api-internal.d.ts +313 -198
- package/dist/api.d.ts +30 -1
- package/package.json +3 -2
- package/src/api-internal.ts +378 -222
- package/src/api.ts +35 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
62
62
|
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
63
63
|
readonly number?: string;
|
|
64
64
|
readonly published_at?: string;
|
|
65
|
+
readonly ratecard_owner?: unknown;
|
|
65
66
|
}
|
|
66
67
|
interface RatecardCarrierSummary {
|
|
67
68
|
readonly id: string;
|
|
@@ -118,6 +119,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
118
119
|
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
119
120
|
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
120
121
|
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
122
|
+
readonly ratecard_owner?: unknown;
|
|
121
123
|
}
|
|
122
124
|
interface RatecardForm {
|
|
123
125
|
readonly direction: io.flow.label.v0.enums.Direction;
|
|
@@ -125,6 +127,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
125
127
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
126
128
|
readonly service: string;
|
|
127
129
|
readonly number?: string;
|
|
130
|
+
readonly ratecard_owner?: unknown;
|
|
128
131
|
}
|
|
129
132
|
interface RatecardLane {
|
|
130
133
|
readonly id: string;
|
|
@@ -156,6 +159,19 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
156
159
|
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
157
160
|
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
158
161
|
}
|
|
162
|
+
interface RatecardLaneImportForm {
|
|
163
|
+
readonly ratecard_owner: unknown;
|
|
164
|
+
readonly service: string;
|
|
165
|
+
readonly currency: string;
|
|
166
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
167
|
+
readonly origin: io.flow.common.v0.models.Zone;
|
|
168
|
+
readonly destination: io.flow.common.v0.models.Zone;
|
|
169
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
170
|
+
readonly dim_factor: number;
|
|
171
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
172
|
+
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
173
|
+
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
174
|
+
}
|
|
159
175
|
interface RatecardLaneVersion {
|
|
160
176
|
readonly id: string;
|
|
161
177
|
readonly timestamp: string;
|
|
@@ -471,7 +487,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
|
|
|
471
487
|
readonly address_configurations?: unknown[];
|
|
472
488
|
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
473
489
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
474
|
-
readonly payment_sources?:
|
|
490
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSource[];
|
|
475
491
|
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
476
492
|
}
|
|
477
493
|
interface CheckoutBundleMetadata {
|
|
@@ -492,10 +508,10 @@ declare namespace io.flow.bundle.checkout.v0.models {
|
|
|
492
508
|
}
|
|
493
509
|
interface CheckoutOrderForm {
|
|
494
510
|
readonly organization: string;
|
|
495
|
-
readonly order: io.flow.experience.v0.models.
|
|
511
|
+
readonly order: io.flow.experience.v0.models.OrderForm;
|
|
496
512
|
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
497
513
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
498
|
-
readonly payment_sources?:
|
|
514
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
499
515
|
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
500
516
|
readonly identifiers?: unknown[];
|
|
501
517
|
readonly feature_keys?: string[];
|
|
@@ -506,7 +522,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
|
|
|
506
522
|
readonly order_number: string;
|
|
507
523
|
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
508
524
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
509
|
-
readonly payment_sources?:
|
|
525
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
510
526
|
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
511
527
|
readonly identifiers?: unknown[];
|
|
512
528
|
readonly feature_keys?: string[];
|
|
@@ -514,7 +530,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
|
|
|
514
530
|
}
|
|
515
531
|
interface CheckoutPayment {
|
|
516
532
|
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
517
|
-
readonly sources:
|
|
533
|
+
readonly sources: io.flow.payment.v0.unions.PaymentSource[];
|
|
518
534
|
readonly public_key: io.flow.payment.v0.models.PublicKey;
|
|
519
535
|
readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
|
|
520
536
|
readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
|
|
@@ -2228,7 +2244,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
2228
2244
|
readonly currency: string;
|
|
2229
2245
|
readonly updated_at: string;
|
|
2230
2246
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
2231
|
-
readonly payment_schedule:
|
|
2247
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
2232
2248
|
readonly payment_conditions?: string;
|
|
2233
2249
|
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRule;
|
|
2234
2250
|
readonly statistics: io.flow.billing.v0.models.AccountStatistics;
|
|
@@ -2888,7 +2904,7 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
2888
2904
|
}
|
|
2889
2905
|
interface DeliveryOptionForm {
|
|
2890
2906
|
readonly delivery: string;
|
|
2891
|
-
readonly items: io.flow.
|
|
2907
|
+
readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[];
|
|
2892
2908
|
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2893
2909
|
}
|
|
2894
2910
|
interface DeliveryOptionReference {
|
|
@@ -3031,11 +3047,23 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
3031
3047
|
interface QuoteForm {
|
|
3032
3048
|
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3033
3049
|
readonly experience: string;
|
|
3034
|
-
readonly items: io.flow.
|
|
3050
|
+
readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[];
|
|
3035
3051
|
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
3036
3052
|
readonly delivered_duties?: io.flow.common.v0.enums.DeliveredDuty[];
|
|
3037
3053
|
readonly direction?: io.flow.fulfillment.v0.enums.TierDirection;
|
|
3038
3054
|
}
|
|
3055
|
+
interface QuoteLineItemForm {
|
|
3056
|
+
readonly number: string;
|
|
3057
|
+
readonly quantity: number;
|
|
3058
|
+
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
3059
|
+
readonly price?: io.flow.common.v0.models.MoneyWithBase;
|
|
3060
|
+
readonly attributes?: {
|
|
3061
|
+
[key: string]: string;
|
|
3062
|
+
};
|
|
3063
|
+
readonly center?: string;
|
|
3064
|
+
readonly discount?: io.flow.common.v0.models.Money;
|
|
3065
|
+
readonly discounts?: io.flow.common.v0.models.DiscountsForm;
|
|
3066
|
+
}
|
|
3039
3067
|
interface QuoteSummary {
|
|
3040
3068
|
readonly id: string;
|
|
3041
3069
|
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
@@ -3158,7 +3186,6 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
3158
3186
|
readonly currency: string;
|
|
3159
3187
|
readonly description?: string;
|
|
3160
3188
|
readonly display?: io.flow.fulfillment.v0.models.TierDisplay;
|
|
3161
|
-
readonly experience?: io.flow.fulfillment.v0.models.FulfillmentExperienceReference;
|
|
3162
3189
|
readonly shipping_lane?: string;
|
|
3163
3190
|
readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
|
|
3164
3191
|
}
|
|
@@ -3184,8 +3211,7 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
3184
3211
|
readonly description?: string;
|
|
3185
3212
|
readonly direction?: io.flow.fulfillment.v0.enums.TierDirection;
|
|
3186
3213
|
readonly display?: io.flow.fulfillment.v0.models.TierDisplayForm;
|
|
3187
|
-
readonly
|
|
3188
|
-
readonly shipping_lane?: string;
|
|
3214
|
+
readonly shipping_lane: string;
|
|
3189
3215
|
readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
|
|
3190
3216
|
}
|
|
3191
3217
|
interface TierReference {
|
|
@@ -3293,7 +3319,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
3293
3319
|
readonly organization: string;
|
|
3294
3320
|
readonly email: string;
|
|
3295
3321
|
readonly name?: io.flow.common.v0.models.Name;
|
|
3296
|
-
readonly role
|
|
3322
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
3297
3323
|
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
3298
3324
|
}
|
|
3299
3325
|
interface InvitationVersion {
|
|
@@ -3312,12 +3338,12 @@ declare namespace io.flow.organization.v0.models {
|
|
|
3312
3338
|
interface MembershipForm {
|
|
3313
3339
|
readonly organization: string;
|
|
3314
3340
|
readonly user: string;
|
|
3315
|
-
readonly role
|
|
3316
|
-
readonly roles
|
|
3341
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
3342
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
3317
3343
|
}
|
|
3318
3344
|
interface MembershipPutForm {
|
|
3319
|
-
readonly role
|
|
3320
|
-
readonly roles
|
|
3345
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
3346
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
3321
3347
|
}
|
|
3322
3348
|
interface MembershipVersion {
|
|
3323
3349
|
readonly id: string;
|
|
@@ -3535,6 +3561,14 @@ declare namespace io.flow.search.v0.models {
|
|
|
3535
3561
|
interface CatalogItemDocumentImages {
|
|
3536
3562
|
readonly thumbnail?: io.flow.catalog.v0.models.Image;
|
|
3537
3563
|
}
|
|
3564
|
+
interface CatalogPriceBookItemDocument {
|
|
3565
|
+
readonly price_book_key: string;
|
|
3566
|
+
readonly price_book_item_key: string;
|
|
3567
|
+
readonly catalog: io.flow.common.v0.models.CatalogItemSummary;
|
|
3568
|
+
readonly amount: number;
|
|
3569
|
+
readonly starts_at: string;
|
|
3570
|
+
readonly ends_at?: string;
|
|
3571
|
+
}
|
|
3538
3572
|
interface CategorySummary {
|
|
3539
3573
|
readonly name?: string;
|
|
3540
3574
|
readonly count: number;
|
|
@@ -3548,10 +3582,6 @@ declare namespace io.flow.search.v0.models {
|
|
|
3548
3582
|
readonly q: string;
|
|
3549
3583
|
readonly count?: number;
|
|
3550
3584
|
}
|
|
3551
|
-
interface PriceBookItemSearchingForm {
|
|
3552
|
-
readonly price_book_key?: string;
|
|
3553
|
-
readonly item_query?: string;
|
|
3554
|
-
}
|
|
3555
3585
|
interface Suggestion {
|
|
3556
3586
|
readonly label: string;
|
|
3557
3587
|
readonly count: number;
|
|
@@ -3719,7 +3749,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
3719
3749
|
readonly description: string;
|
|
3720
3750
|
readonly customs_description: string;
|
|
3721
3751
|
}
|
|
3722
|
-
interface
|
|
3752
|
+
interface ProductClassificationJudgementForm {
|
|
3723
3753
|
readonly organization_id: string;
|
|
3724
3754
|
readonly product_id: string;
|
|
3725
3755
|
readonly classification_model_id?: string;
|
|
@@ -3934,6 +3964,7 @@ declare namespace io.flow.label.v0.unions {
|
|
|
3934
3964
|
}
|
|
3935
3965
|
declare namespace io.flow.country.picker.v0.models {
|
|
3936
3966
|
interface CountryPickerCountry {
|
|
3967
|
+
readonly iso_3166_2: string;
|
|
3937
3968
|
readonly iso_3166_3: string;
|
|
3938
3969
|
readonly name: string;
|
|
3939
3970
|
}
|
|
@@ -3946,70 +3977,6 @@ declare namespace io.flow.country.picker.v0.models {
|
|
|
3946
3977
|
readonly currencies: io.flow.country.picker.v0.models.CountryPickerCurrency[];
|
|
3947
3978
|
}
|
|
3948
3979
|
}
|
|
3949
|
-
declare namespace io.flow.classification.internal.v0.enums {
|
|
3950
|
-
type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
3951
|
-
type ClassificationStatus = 'unclassified' | 'suggested' | 'classified';
|
|
3952
|
-
}
|
|
3953
|
-
declare namespace io.flow.classification.internal.v0.models {
|
|
3954
|
-
interface ClassificationRequest {
|
|
3955
|
-
readonly organization_id: string;
|
|
3956
|
-
readonly product_id: string;
|
|
3957
|
-
readonly classification_model_id?: string;
|
|
3958
|
-
readonly classification: string;
|
|
3959
|
-
readonly action: io.flow.classification.internal.v0.enums.ClassificationAction;
|
|
3960
|
-
}
|
|
3961
|
-
interface ClassificationResult {
|
|
3962
|
-
readonly classified_task: io.flow.classification.internal.v0.models.ClassifiedTask;
|
|
3963
|
-
readonly next_task?: io.flow.classification.internal.v0.models.ClassificationTaskId;
|
|
3964
|
-
}
|
|
3965
|
-
interface ClassificationSuggestion {
|
|
3966
|
-
readonly model_id: string;
|
|
3967
|
-
readonly suggestion: string;
|
|
3968
|
-
readonly value: number;
|
|
3969
|
-
}
|
|
3970
|
-
interface ClassificationTask {
|
|
3971
|
-
readonly organization_id: string;
|
|
3972
|
-
readonly product_id?: string;
|
|
3973
|
-
readonly description: string;
|
|
3974
|
-
readonly items: io.flow.classification.internal.v0.models.ClassificationTaskItem[];
|
|
3975
|
-
readonly images: string[];
|
|
3976
|
-
readonly categories: string[];
|
|
3977
|
-
readonly attributes: {
|
|
3978
|
-
[key: string]: string;
|
|
3979
|
-
};
|
|
3980
|
-
readonly next_task?: io.flow.classification.internal.v0.models.ClassificationTaskId;
|
|
3981
|
-
}
|
|
3982
|
-
interface ClassificationTaskId {
|
|
3983
|
-
readonly organization_id: string;
|
|
3984
|
-
readonly product_id: string;
|
|
3985
|
-
}
|
|
3986
|
-
interface ClassificationTaskItem {
|
|
3987
|
-
readonly id: string;
|
|
3988
|
-
readonly organization_id: string;
|
|
3989
|
-
readonly item_number: string;
|
|
3990
|
-
readonly name: string;
|
|
3991
|
-
readonly description: string;
|
|
3992
|
-
readonly status: io.flow.classification.internal.v0.enums.ClassificationStatus;
|
|
3993
|
-
readonly suggestions: io.flow.classification.internal.v0.models.ClassificationSuggestion[];
|
|
3994
|
-
}
|
|
3995
|
-
interface ClassificationTaskPage {
|
|
3996
|
-
readonly page: io.flow.classification.internal.v0.models.ClassificationTaskSummary[];
|
|
3997
|
-
readonly next_cursor?: string;
|
|
3998
|
-
}
|
|
3999
|
-
interface ClassificationTaskSummary {
|
|
4000
|
-
readonly product_id: string;
|
|
4001
|
-
readonly organization_id: string;
|
|
4002
|
-
readonly description: string;
|
|
4003
|
-
readonly status: io.flow.classification.internal.v0.enums.ClassificationStatus;
|
|
4004
|
-
readonly suggestion_count: number;
|
|
4005
|
-
}
|
|
4006
|
-
interface ClassifiedTask {
|
|
4007
|
-
readonly product_id: string;
|
|
4008
|
-
readonly organization_id: string;
|
|
4009
|
-
readonly classification: string;
|
|
4010
|
-
readonly classification_model_id: string;
|
|
4011
|
-
}
|
|
4012
|
-
}
|
|
4013
3980
|
declare namespace io.flow.session.v0.models {
|
|
4014
3981
|
interface CartReference {
|
|
4015
3982
|
readonly id: string;
|
|
@@ -4053,10 +4020,17 @@ declare namespace io.flow.session.v0.models {
|
|
|
4053
4020
|
readonly key: string;
|
|
4054
4021
|
readonly variant?: io.flow.session.v0.models.SessionExperimentVariant;
|
|
4055
4022
|
}
|
|
4023
|
+
interface SessionExperimentForm {
|
|
4024
|
+
readonly key: string;
|
|
4025
|
+
readonly variant?: io.flow.session.v0.models.SessionExperimentVariantForm;
|
|
4026
|
+
}
|
|
4056
4027
|
interface SessionExperimentVariant {
|
|
4057
4028
|
readonly key: string;
|
|
4058
4029
|
readonly name: string;
|
|
4059
4030
|
}
|
|
4031
|
+
interface SessionExperimentVariantForm {
|
|
4032
|
+
readonly key: string;
|
|
4033
|
+
}
|
|
4060
4034
|
interface SessionExpirationConfig {
|
|
4061
4035
|
readonly unit: io.flow.common.v0.enums.UnitOfTime;
|
|
4062
4036
|
readonly value: number;
|
|
@@ -4071,7 +4045,7 @@ declare namespace io.flow.session.v0.models {
|
|
|
4071
4045
|
readonly attributes?: {
|
|
4072
4046
|
[key: string]: string;
|
|
4073
4047
|
};
|
|
4074
|
-
readonly experiment?: io.flow.session.v0.models.
|
|
4048
|
+
readonly experiment?: io.flow.session.v0.models.SessionExperimentForm;
|
|
4075
4049
|
}
|
|
4076
4050
|
interface SessionFormat {
|
|
4077
4051
|
readonly currency: io.flow.session.v0.models.SessionCurrencyFormat;
|
|
@@ -4092,7 +4066,7 @@ declare namespace io.flow.session.v0.models {
|
|
|
4092
4066
|
readonly attributes?: {
|
|
4093
4067
|
[key: string]: string;
|
|
4094
4068
|
};
|
|
4095
|
-
readonly experiment?: io.flow.session.v0.models.
|
|
4069
|
+
readonly experiment?: io.flow.session.v0.models.SessionExperimentForm;
|
|
4096
4070
|
}
|
|
4097
4071
|
interface SessionVisit {
|
|
4098
4072
|
readonly id: string;
|
|
@@ -4252,6 +4226,7 @@ declare namespace io.flow.shopify.v0.models {
|
|
|
4252
4226
|
readonly incoterm?: io.flow.common.v0.enums.Incoterm;
|
|
4253
4227
|
readonly flow_order_id?: string;
|
|
4254
4228
|
readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
4229
|
+
readonly geo?: io.flow.experience.v0.models.OrderGeo;
|
|
4255
4230
|
}
|
|
4256
4231
|
interface ShopifyLocalizedVariant {
|
|
4257
4232
|
readonly id: number;
|
|
@@ -4369,6 +4344,10 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
4369
4344
|
readonly account_id: string;
|
|
4370
4345
|
readonly merchant_account: string;
|
|
4371
4346
|
}
|
|
4347
|
+
interface AdyenPaymentDetailsForm {
|
|
4348
|
+
readonly fingerprint?: string;
|
|
4349
|
+
readonly challenge_result?: string;
|
|
4350
|
+
}
|
|
4372
4351
|
interface AdyenRefundForm {
|
|
4373
4352
|
readonly amount: number;
|
|
4374
4353
|
readonly authorization_id: string;
|
|
@@ -4738,7 +4717,7 @@ declare namespace io.flow.harmonization.v0.unions {
|
|
|
4738
4717
|
}
|
|
4739
4718
|
declare namespace io.flow.catalog.v0.enums {
|
|
4740
4719
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
4741
|
-
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'excluded_regions';
|
|
4720
|
+
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'excluded_regions' | 'facet';
|
|
4742
4721
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
4743
4722
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
4744
4723
|
type ImageTag = 'thumbnail' | 'checkout';
|
|
@@ -5047,7 +5026,7 @@ declare namespace io.flow.catalog.v0.unions {
|
|
|
5047
5026
|
} & io.flow.catalog.v0.models.LocalizedTotal;
|
|
5048
5027
|
}
|
|
5049
5028
|
declare namespace io.flow.common.v0.enums {
|
|
5050
|
-
type AttributeDataType = 'boolean' | 'decimal' | 'string';
|
|
5029
|
+
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
5051
5030
|
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
5052
5031
|
type Calendar = 'weekdays' | 'everyday';
|
|
5053
5032
|
type Capability = 'crossdock';
|
|
@@ -5111,6 +5090,9 @@ declare namespace io.flow.common.v0.models {
|
|
|
5111
5090
|
[key: string]: string;
|
|
5112
5091
|
};
|
|
5113
5092
|
}
|
|
5093
|
+
interface CheckoutReference {
|
|
5094
|
+
readonly id: string;
|
|
5095
|
+
}
|
|
5114
5096
|
interface Contact {
|
|
5115
5097
|
readonly name: io.flow.common.v0.models.Name;
|
|
5116
5098
|
readonly company?: string;
|
|
@@ -5120,6 +5102,9 @@ declare namespace io.flow.common.v0.models {
|
|
|
5120
5102
|
interface CustomerInvoice {
|
|
5121
5103
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
5122
5104
|
}
|
|
5105
|
+
interface CustomerReference {
|
|
5106
|
+
readonly number: string;
|
|
5107
|
+
}
|
|
5123
5108
|
interface DatetimeRange {
|
|
5124
5109
|
readonly from: string;
|
|
5125
5110
|
readonly to: string;
|
|
@@ -5327,6 +5312,17 @@ declare namespace io.flow.common.v0.models {
|
|
|
5327
5312
|
readonly label: string;
|
|
5328
5313
|
readonly base?: io.flow.common.v0.models.Price;
|
|
5329
5314
|
}
|
|
5315
|
+
interface RepeatDaily {
|
|
5316
|
+
readonly interval: number;
|
|
5317
|
+
}
|
|
5318
|
+
interface RepeatMonthly {
|
|
5319
|
+
readonly interval: number;
|
|
5320
|
+
readonly days: number[];
|
|
5321
|
+
}
|
|
5322
|
+
interface RepeatWeekly {
|
|
5323
|
+
readonly interval: number;
|
|
5324
|
+
readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
|
|
5325
|
+
}
|
|
5330
5326
|
interface Rounding {
|
|
5331
5327
|
readonly type: io.flow.common.v0.enums.RoundingType;
|
|
5332
5328
|
readonly method: io.flow.common.v0.enums.RoundingMethod;
|
|
@@ -5340,6 +5336,9 @@ declare namespace io.flow.common.v0.models {
|
|
|
5340
5336
|
readonly min_lead_time?: number;
|
|
5341
5337
|
readonly max_lead_time?: number;
|
|
5342
5338
|
}
|
|
5339
|
+
interface SessionReference {
|
|
5340
|
+
readonly id: string;
|
|
5341
|
+
}
|
|
5343
5342
|
interface User {
|
|
5344
5343
|
readonly id: string;
|
|
5345
5344
|
readonly email?: string;
|
|
@@ -5381,6 +5380,13 @@ declare namespace io.flow.common.v0.unions {
|
|
|
5381
5380
|
} & io.flow.common.v0.models.PriceSourceCatalog | {
|
|
5382
5381
|
discriminator: 'provided';
|
|
5383
5382
|
} & io.flow.common.v0.models.PriceSourceProvided;
|
|
5383
|
+
type RepeatSchedule = {
|
|
5384
|
+
discriminator: 'repeat_daily';
|
|
5385
|
+
} & io.flow.common.v0.models.RepeatDaily | {
|
|
5386
|
+
discriminator: 'repeat_weekly';
|
|
5387
|
+
} & io.flow.common.v0.models.RepeatWeekly | {
|
|
5388
|
+
discriminator: 'repeat_monthly';
|
|
5389
|
+
} & io.flow.common.v0.models.RepeatMonthly;
|
|
5384
5390
|
}
|
|
5385
5391
|
declare namespace io.flow.issuer.v0.models {
|
|
5386
5392
|
interface Issuer {
|
|
@@ -5492,6 +5498,7 @@ declare namespace io.flow.reference.v0.models {
|
|
|
5492
5498
|
}
|
|
5493
5499
|
}
|
|
5494
5500
|
declare namespace io.flow.fraud.internal.v0.enums {
|
|
5501
|
+
type FraudReviewResponsibleParty = 'flow' | 'organization';
|
|
5495
5502
|
type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
|
|
5496
5503
|
}
|
|
5497
5504
|
declare namespace io.flow.fraud.internal.v0.models {
|
|
@@ -5509,12 +5516,14 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
5509
5516
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
5510
5517
|
readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
|
|
5511
5518
|
readonly apply_at?: string;
|
|
5519
|
+
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
5512
5520
|
}
|
|
5513
5521
|
interface FraudReview {
|
|
5514
5522
|
readonly id: string;
|
|
5515
5523
|
readonly organization_id: string;
|
|
5516
5524
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
5517
5525
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
5526
|
+
readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
|
|
5518
5527
|
readonly description?: string;
|
|
5519
5528
|
readonly risk_evaluation?: io.flow.fraud.internal.v0.enums.RiskEvaluation;
|
|
5520
5529
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
@@ -5529,6 +5538,7 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
5529
5538
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
5530
5539
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
5531
5540
|
readonly created_at: string;
|
|
5541
|
+
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
5532
5542
|
}
|
|
5533
5543
|
interface FraudReviewDecisionForm {
|
|
5534
5544
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
@@ -5621,7 +5631,7 @@ declare namespace io.flow.experience.internal.v0.models {
|
|
|
5621
5631
|
}
|
|
5622
5632
|
interface InternalOrder {
|
|
5623
5633
|
readonly order: io.flow.experience.v0.models.Order;
|
|
5624
|
-
readonly session?:
|
|
5634
|
+
readonly session?: io.flow.common.v0.models.SessionReference;
|
|
5625
5635
|
readonly rates: io.flow.currency.internal.v0.models.RateDataV3[];
|
|
5626
5636
|
}
|
|
5627
5637
|
interface ItemFilterResponse {
|
|
@@ -5809,6 +5819,10 @@ declare namespace io.flow.tracking.internal.v0.models {
|
|
|
5809
5819
|
readonly pickup_account_number: string;
|
|
5810
5820
|
readonly distribution_center: string;
|
|
5811
5821
|
}
|
|
5822
|
+
interface FedexCrossborder {
|
|
5823
|
+
readonly api_key: string;
|
|
5824
|
+
readonly api_url: string;
|
|
5825
|
+
}
|
|
5812
5826
|
interface Landmark {
|
|
5813
5827
|
readonly username: string;
|
|
5814
5828
|
readonly password: string;
|
|
@@ -5848,7 +5862,9 @@ declare namespace io.flow.tracking.internal.v0.unions {
|
|
|
5848
5862
|
discriminator: 'landmark';
|
|
5849
5863
|
} & io.flow.tracking.internal.v0.models.Landmark | {
|
|
5850
5864
|
discriminator: 'dhl';
|
|
5851
|
-
} & io.flow.tracking.internal.v0.models.Dhl
|
|
5865
|
+
} & io.flow.tracking.internal.v0.models.Dhl | {
|
|
5866
|
+
discriminator: 'fedex_crossborder';
|
|
5867
|
+
} & io.flow.tracking.internal.v0.models.FedexCrossborder;
|
|
5852
5868
|
}
|
|
5853
5869
|
declare namespace io.flow.stripe.v0.enums {
|
|
5854
5870
|
type AccountType = 'platform' | 'custom' | 'standard' | 'express';
|
|
@@ -6496,15 +6512,15 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
6496
6512
|
}
|
|
6497
6513
|
interface CsvPriceBookItemExportRow {
|
|
6498
6514
|
readonly price_book_key: string;
|
|
6515
|
+
readonly price_book_item_key: string;
|
|
6499
6516
|
readonly item_number: string;
|
|
6500
|
-
readonly
|
|
6517
|
+
readonly item_name: string;
|
|
6501
6518
|
readonly amount: number;
|
|
6502
6519
|
readonly item_attributes?: {
|
|
6503
6520
|
[key: string]: string;
|
|
6504
6521
|
};
|
|
6505
6522
|
readonly starts_at: string;
|
|
6506
6523
|
readonly ends_at?: string;
|
|
6507
|
-
readonly price_book_item_key: string;
|
|
6508
6524
|
}
|
|
6509
6525
|
interface ExperienceExportType {
|
|
6510
6526
|
readonly organization_id: string;
|
|
@@ -6702,10 +6718,43 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
6702
6718
|
readonly experience: io.flow.experience.v0.models.ExperienceReference;
|
|
6703
6719
|
readonly short_id: string;
|
|
6704
6720
|
}
|
|
6721
|
+
interface ShopifyGiftCardBalance {
|
|
6722
|
+
readonly gift_card_id: number;
|
|
6723
|
+
readonly last_characters: string;
|
|
6724
|
+
readonly amount: number;
|
|
6725
|
+
readonly currency: string;
|
|
6726
|
+
}
|
|
6727
|
+
interface ShopifyGiftCardBalanceForm {
|
|
6728
|
+
readonly number: string;
|
|
6729
|
+
}
|
|
6705
6730
|
interface ShopifyGiftCardPaymentForm {
|
|
6706
6731
|
readonly code: string;
|
|
6707
6732
|
readonly customer_id?: number;
|
|
6708
6733
|
}
|
|
6734
|
+
interface ShopifyGiftCardRedemption {
|
|
6735
|
+
readonly adjustment_id: number;
|
|
6736
|
+
readonly gift_card_id: number;
|
|
6737
|
+
readonly last_characters: string;
|
|
6738
|
+
readonly amount: number;
|
|
6739
|
+
readonly currency: string;
|
|
6740
|
+
}
|
|
6741
|
+
interface ShopifyGiftCardRedemptionForm {
|
|
6742
|
+
readonly number: string;
|
|
6743
|
+
readonly amount: number;
|
|
6744
|
+
readonly currency: string;
|
|
6745
|
+
}
|
|
6746
|
+
interface ShopifyGiftCardReversal {
|
|
6747
|
+
readonly adjustment_id: number;
|
|
6748
|
+
readonly gift_card_id: number;
|
|
6749
|
+
readonly last_characters: string;
|
|
6750
|
+
readonly amount: number;
|
|
6751
|
+
readonly currency: string;
|
|
6752
|
+
}
|
|
6753
|
+
interface ShopifyGiftCardReversalForm {
|
|
6754
|
+
readonly number: string;
|
|
6755
|
+
readonly amount: number;
|
|
6756
|
+
readonly currency: string;
|
|
6757
|
+
}
|
|
6709
6758
|
interface ShopifyGrantsCheck {
|
|
6710
6759
|
readonly dummy: string;
|
|
6711
6760
|
}
|
|
@@ -7233,6 +7282,7 @@ declare namespace io.flow.payment.v0.enums {
|
|
|
7233
7282
|
type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
|
|
7234
7283
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
7235
7284
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
7285
|
+
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
7236
7286
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
7237
7287
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
7238
7288
|
type ReversalErrorCode = 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown';
|
|
@@ -7422,6 +7472,29 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7422
7472
|
interface CardNonceForm {
|
|
7423
7473
|
readonly token: string;
|
|
7424
7474
|
}
|
|
7475
|
+
interface CardPaymentSource {
|
|
7476
|
+
readonly id: string;
|
|
7477
|
+
readonly actions?: io.flow.payment.v0.models.PaymentSourceConfirmationAction[];
|
|
7478
|
+
readonly summary: io.flow.payment.v0.models.CardPaymentSourceSummary;
|
|
7479
|
+
}
|
|
7480
|
+
interface CardPaymentSourceForm {
|
|
7481
|
+
readonly customer_number: string;
|
|
7482
|
+
readonly token?: string;
|
|
7483
|
+
readonly last4?: string;
|
|
7484
|
+
readonly expiration_month?: number;
|
|
7485
|
+
readonly expiration_year?: number;
|
|
7486
|
+
readonly type?: io.flow.payment.v0.enums.CardType;
|
|
7487
|
+
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
7488
|
+
}
|
|
7489
|
+
interface CardPaymentSourceSummary {
|
|
7490
|
+
readonly customer_number: string;
|
|
7491
|
+
readonly token?: string;
|
|
7492
|
+
readonly last4?: string;
|
|
7493
|
+
readonly expiration_month?: number;
|
|
7494
|
+
readonly expiration_year?: number;
|
|
7495
|
+
readonly type?: io.flow.payment.v0.enums.CardType;
|
|
7496
|
+
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
7497
|
+
}
|
|
7425
7498
|
interface CardReference {
|
|
7426
7499
|
readonly id: string;
|
|
7427
7500
|
readonly token: string;
|
|
@@ -7581,6 +7654,9 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7581
7654
|
interface PaymentReference {
|
|
7582
7655
|
readonly id: string;
|
|
7583
7656
|
}
|
|
7657
|
+
interface PaymentSourceConfirmationAction {
|
|
7658
|
+
readonly type: io.flow.payment.v0.enums.PaymentSourceConfirmationActionType;
|
|
7659
|
+
}
|
|
7584
7660
|
interface PaymentVersion {
|
|
7585
7661
|
readonly id: string;
|
|
7586
7662
|
readonly timestamp: string;
|
|
@@ -7745,6 +7821,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7745
7821
|
interface StripeAuthenticationDataForm {
|
|
7746
7822
|
readonly account_id: string;
|
|
7747
7823
|
readonly secret_key: string;
|
|
7824
|
+
readonly key?: string;
|
|
7748
7825
|
}
|
|
7749
7826
|
interface ThreeDSecure {
|
|
7750
7827
|
readonly code: io.flow.payment.v0.enums.ThreeDSecureCode;
|
|
@@ -7873,6 +7950,12 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
7873
7950
|
type PaymentForm = {
|
|
7874
7951
|
discriminator: 'merchant_of_record_payment_form';
|
|
7875
7952
|
} & io.flow.payment.v0.models.MerchantOfRecordPaymentForm;
|
|
7953
|
+
type PaymentSource = {
|
|
7954
|
+
discriminator: 'card_payment_source';
|
|
7955
|
+
} & io.flow.payment.v0.models.CardPaymentSource;
|
|
7956
|
+
type PaymentSourceForm = {
|
|
7957
|
+
discriminator: 'card_payment_source_form';
|
|
7958
|
+
} & io.flow.payment.v0.models.CardPaymentSourceForm;
|
|
7876
7959
|
}
|
|
7877
7960
|
declare namespace io.flow.invoice.v0.enums {
|
|
7878
7961
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
@@ -9264,7 +9347,7 @@ declare namespace io.flow.customer.v0.models {
|
|
|
9264
9347
|
}
|
|
9265
9348
|
interface CustomerToken {
|
|
9266
9349
|
readonly id: string;
|
|
9267
|
-
readonly customer:
|
|
9350
|
+
readonly customer: io.flow.common.v0.models.CustomerReference;
|
|
9268
9351
|
readonly token: string;
|
|
9269
9352
|
}
|
|
9270
9353
|
}
|
|
@@ -9367,6 +9450,12 @@ declare namespace io.flow.order.management.event.v0.models {
|
|
|
9367
9450
|
readonly order: io.flow.experience.v0.models.Order;
|
|
9368
9451
|
readonly allocation: io.flow.experience.v0.models.AllocationV2;
|
|
9369
9452
|
}
|
|
9453
|
+
interface OrderPlacedV2 {
|
|
9454
|
+
readonly event_id: string;
|
|
9455
|
+
readonly timestamp: string;
|
|
9456
|
+
readonly organization: string;
|
|
9457
|
+
readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
|
|
9458
|
+
}
|
|
9370
9459
|
interface ReadyToFulfill {
|
|
9371
9460
|
readonly event_id: string;
|
|
9372
9461
|
readonly timestamp: string;
|
|
@@ -9381,6 +9470,8 @@ declare namespace io.flow.order.management.event.v0.unions {
|
|
|
9381
9470
|
type OrderManagementEvent = {
|
|
9382
9471
|
discriminator: 'order_placed';
|
|
9383
9472
|
} & io.flow.order.management.event.v0.models.OrderPlaced | {
|
|
9473
|
+
discriminator: 'order_placed_v2';
|
|
9474
|
+
} & io.flow.order.management.event.v0.models.OrderPlacedV2 | {
|
|
9384
9475
|
discriminator: 'ready_to_fulfill';
|
|
9385
9476
|
} & io.flow.order.management.event.v0.models.ReadyToFulfill;
|
|
9386
9477
|
}
|
|
@@ -9431,7 +9522,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
9431
9522
|
readonly currency: string;
|
|
9432
9523
|
readonly name: string;
|
|
9433
9524
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
9434
|
-
readonly status
|
|
9525
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
9435
9526
|
}
|
|
9436
9527
|
interface PriceBookItem {
|
|
9437
9528
|
readonly id: string;
|
|
@@ -9540,7 +9631,7 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
9540
9631
|
declare namespace io.flow.billing.internal.v0.models {
|
|
9541
9632
|
interface AccountPutForm {
|
|
9542
9633
|
readonly timezone: string;
|
|
9543
|
-
readonly payment_schedule:
|
|
9634
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9544
9635
|
readonly payment_conditions: string;
|
|
9545
9636
|
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
9546
9637
|
}
|
|
@@ -9601,6 +9692,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9601
9692
|
readonly days_until_posted: number;
|
|
9602
9693
|
readonly logistics: io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
9603
9694
|
readonly include_transaction_created_at: boolean;
|
|
9695
|
+
readonly include_order_exchange_rate: boolean;
|
|
9604
9696
|
readonly send_statements_to_flow_ftp_server: boolean;
|
|
9605
9697
|
readonly invoicing_terms?: io.flow.invoice.v0.enums.PaymentTerm;
|
|
9606
9698
|
readonly transfer_method?: io.flow.billing.internal.v0.enums.TransferMethod;
|
|
@@ -9822,18 +9914,18 @@ declare namespace io.flow.checkout.v0.models {
|
|
|
9822
9914
|
interface CheckoutToken {
|
|
9823
9915
|
readonly id: string;
|
|
9824
9916
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
9825
|
-
readonly checkout:
|
|
9917
|
+
readonly checkout: io.flow.common.v0.models.CheckoutReference;
|
|
9826
9918
|
readonly order: io.flow.experience.v0.models.OrderNumberReference;
|
|
9827
9919
|
readonly urls: io.flow.checkout.v0.models.CheckoutUrls;
|
|
9828
9920
|
readonly expires_at: string;
|
|
9829
|
-
readonly session:
|
|
9830
|
-
readonly customer?:
|
|
9921
|
+
readonly session: io.flow.common.v0.models.SessionReference;
|
|
9922
|
+
readonly customer?: io.flow.common.v0.models.CustomerReference;
|
|
9831
9923
|
}
|
|
9832
9924
|
interface CheckoutTokenOrderForm {
|
|
9833
9925
|
readonly order_form: io.flow.experience.v0.models.OrderForm;
|
|
9834
9926
|
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
9835
9927
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
9836
|
-
readonly payment_sources?:
|
|
9928
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
9837
9929
|
readonly session_id: string;
|
|
9838
9930
|
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
9839
9931
|
readonly identifiers?: unknown[];
|
|
@@ -9846,10 +9938,12 @@ declare namespace io.flow.checkout.v0.models {
|
|
|
9846
9938
|
interface CheckoutUrls {
|
|
9847
9939
|
readonly continue_shopping?: string;
|
|
9848
9940
|
readonly confirmation?: string;
|
|
9941
|
+
readonly invalid_checkout?: string;
|
|
9849
9942
|
}
|
|
9850
9943
|
interface CheckoutUrlsForm {
|
|
9851
9944
|
readonly continue_shopping?: string;
|
|
9852
9945
|
readonly confirmation?: string;
|
|
9946
|
+
readonly invalid_checkout?: string;
|
|
9853
9947
|
}
|
|
9854
9948
|
}
|
|
9855
9949
|
declare namespace io.flow.checkout.v0.unions {
|
|
@@ -9895,8 +9989,14 @@ declare namespace io.flow.order.management.v0.models {
|
|
|
9895
9989
|
readonly line_number?: string;
|
|
9896
9990
|
readonly quantity: number;
|
|
9897
9991
|
}
|
|
9992
|
+
interface OrderPlacedDetails {
|
|
9993
|
+
readonly id: string;
|
|
9994
|
+
readonly order: io.flow.experience.v0.models.Order;
|
|
9995
|
+
readonly allocation: io.flow.experience.v0.models.AllocationV2;
|
|
9996
|
+
}
|
|
9898
9997
|
}
|
|
9899
9998
|
declare namespace io.flow.internal.v0.enums {
|
|
9999
|
+
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
9900
10000
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9901
10001
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9902
10002
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
@@ -9904,11 +10004,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9904
10004
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
9905
10005
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
9906
10006
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
9907
|
-
type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid';
|
|
10007
|
+
type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
|
|
9908
10008
|
type CheckoutPromptBehavior = 'always' | 'incomplete';
|
|
10009
|
+
type CheckoutRedirectMethod = 'get' | 'post';
|
|
9909
10010
|
type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
|
|
9910
|
-
type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
9911
|
-
type ClassificationStatus = 'unclassified' | 'suggested' | 'classified';
|
|
9912
10011
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
9913
10012
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
9914
10013
|
type ContentType = 'text' | 'html';
|
|
@@ -9920,7 +10019,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9920
10019
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
9921
10020
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
9922
10021
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9923
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | '
|
|
10022
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted' | 'item_dimension_estimate_deleted' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'product_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'next_installment_upserted' | 'next_installment_deleted' | 'installment_upserted' | 'installment_deleted' | 'installment_program_upserted' | 'installment_program_deleted' | 'installment_plan_upserted' | 'installment_plan_deleted' | 'installment_plan_authorization_upserted' | 'installment_plan_authorization_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
9924
10023
|
type ExperienceImportType = 'experience_with_settings';
|
|
9925
10024
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9926
10025
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -9998,7 +10097,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9998
10097
|
readonly currency: string;
|
|
9999
10098
|
readonly updated_at: string;
|
|
10000
10099
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
10001
|
-
readonly payment_schedule:
|
|
10100
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
10002
10101
|
readonly payment_conditions?: string;
|
|
10003
10102
|
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule;
|
|
10004
10103
|
readonly statistics: io.flow.internal.v0.models.AccountStatistics;
|
|
@@ -10050,7 +10149,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10050
10149
|
}
|
|
10051
10150
|
interface AccountPutForm {
|
|
10052
10151
|
readonly timezone: string;
|
|
10053
|
-
readonly payment_schedule:
|
|
10152
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
10054
10153
|
readonly payment_conditions: string;
|
|
10055
10154
|
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
10056
10155
|
}
|
|
@@ -10088,6 +10187,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10088
10187
|
readonly action: io.flow.internal.v0.enums.ItemQuantityAction;
|
|
10089
10188
|
readonly quantity: number;
|
|
10090
10189
|
}
|
|
10190
|
+
interface AddressConfigurationProvinceSetting {
|
|
10191
|
+
readonly code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
10192
|
+
}
|
|
10193
|
+
interface AddressConfigurationSetting {
|
|
10194
|
+
readonly id: string;
|
|
10195
|
+
readonly province: io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
|
|
10196
|
+
}
|
|
10197
|
+
interface AddressConfigurationSettingForm {
|
|
10198
|
+
readonly province_code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
10199
|
+
}
|
|
10091
10200
|
interface AdyenAuthenticationDataReference {
|
|
10092
10201
|
readonly account_id: string;
|
|
10093
10202
|
readonly merchant_account: string;
|
|
@@ -10739,7 +10848,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10739
10848
|
readonly address_configurations?: unknown[];
|
|
10740
10849
|
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
10741
10850
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
10742
|
-
readonly payment_sources?:
|
|
10851
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSource[];
|
|
10743
10852
|
readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
|
|
10744
10853
|
}
|
|
10745
10854
|
interface CheckoutBundleMetadata {
|
|
@@ -10787,6 +10896,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10787
10896
|
readonly code: io.flow.internal.v0.enums.CheckoutErrorCode;
|
|
10788
10897
|
readonly messages: string[];
|
|
10789
10898
|
readonly organization?: io.flow.common.v0.models.OrganizationReference;
|
|
10899
|
+
readonly redirect?: io.flow.internal.v0.models.CheckoutRedirect;
|
|
10790
10900
|
}
|
|
10791
10901
|
interface CheckoutFinalizeOrderForm {
|
|
10792
10902
|
readonly expected_order_summary: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
@@ -10797,10 +10907,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10797
10907
|
}
|
|
10798
10908
|
interface CheckoutOrderForm {
|
|
10799
10909
|
readonly organization: string;
|
|
10800
|
-
readonly order: io.flow.experience.v0.models.
|
|
10910
|
+
readonly order: io.flow.experience.v0.models.OrderForm;
|
|
10801
10911
|
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
10802
10912
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
10803
|
-
readonly payment_sources?:
|
|
10913
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
10804
10914
|
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
10805
10915
|
readonly identifiers?: unknown[];
|
|
10806
10916
|
readonly feature_keys?: string[];
|
|
@@ -10811,7 +10921,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10811
10921
|
readonly order_number: string;
|
|
10812
10922
|
readonly customer?: io.flow.customer.v0.models.CustomerForm;
|
|
10813
10923
|
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
10814
|
-
readonly payment_sources?:
|
|
10924
|
+
readonly payment_sources?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
10815
10925
|
readonly urls?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
10816
10926
|
readonly identifiers?: unknown[];
|
|
10817
10927
|
readonly feature_keys?: string[];
|
|
@@ -10819,15 +10929,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10819
10929
|
}
|
|
10820
10930
|
interface CheckoutPayment {
|
|
10821
10931
|
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
10822
|
-
readonly sources:
|
|
10932
|
+
readonly sources: io.flow.payment.v0.unions.PaymentSource[];
|
|
10823
10933
|
readonly public_key: io.flow.payment.v0.models.PublicKey;
|
|
10824
10934
|
readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
|
|
10825
10935
|
readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
|
|
10936
|
+
readonly authorization_parameters: io.flow.payment.internal.v0.models.AuthorizationParameters[];
|
|
10826
10937
|
}
|
|
10827
10938
|
interface CheckoutPaymentContent {
|
|
10828
10939
|
readonly default: io.flow.internal.v0.models.ApmContent;
|
|
10829
10940
|
readonly paypal?: io.flow.internal.v0.models.ApmContent;
|
|
10830
10941
|
}
|
|
10942
|
+
interface CheckoutRedirect {
|
|
10943
|
+
readonly method: io.flow.internal.v0.enums.CheckoutRedirectMethod;
|
|
10944
|
+
readonly url: string;
|
|
10945
|
+
readonly body?: string;
|
|
10946
|
+
}
|
|
10831
10947
|
interface CheckoutReferenceForm {
|
|
10832
10948
|
readonly order_number: string;
|
|
10833
10949
|
readonly order_form: io.flow.experience.v0.models.OrderPutForm;
|
|
@@ -10919,70 +11035,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10919
11035
|
readonly page: io.flow.internal.v0.models.ClassificationProductSummary[];
|
|
10920
11036
|
readonly next_cursor?: string;
|
|
10921
11037
|
}
|
|
10922
|
-
interface ClassificationRequest {
|
|
10923
|
-
readonly organization_id: string;
|
|
10924
|
-
readonly product_id: string;
|
|
10925
|
-
readonly classification_model_id?: string;
|
|
10926
|
-
readonly classification: string;
|
|
10927
|
-
readonly action: io.flow.internal.v0.enums.ClassificationAction;
|
|
10928
|
-
}
|
|
10929
|
-
interface ClassificationResult {
|
|
10930
|
-
readonly classified_task: io.flow.internal.v0.models.ClassifiedTask;
|
|
10931
|
-
readonly next_task?: io.flow.internal.v0.models.ClassificationTaskId;
|
|
10932
|
-
}
|
|
10933
|
-
interface ClassificationSuggestion {
|
|
10934
|
-
readonly model_id: string;
|
|
10935
|
-
readonly suggestion: string;
|
|
10936
|
-
readonly value: number;
|
|
10937
|
-
}
|
|
10938
|
-
interface ClassificationTask {
|
|
10939
|
-
readonly organization_id: string;
|
|
10940
|
-
readonly product_id?: string;
|
|
10941
|
-
readonly description: string;
|
|
10942
|
-
readonly items: io.flow.internal.v0.models.ClassificationTaskItem[];
|
|
10943
|
-
readonly images: string[];
|
|
10944
|
-
readonly categories: string[];
|
|
10945
|
-
readonly attributes: {
|
|
10946
|
-
[key: string]: string;
|
|
10947
|
-
};
|
|
10948
|
-
readonly next_task?: io.flow.internal.v0.models.ClassificationTaskId;
|
|
10949
|
-
}
|
|
10950
|
-
interface ClassificationTaskId {
|
|
10951
|
-
readonly organization_id: string;
|
|
10952
|
-
readonly product_id: string;
|
|
10953
|
-
}
|
|
10954
|
-
interface ClassificationTaskItem {
|
|
10955
|
-
readonly id: string;
|
|
10956
|
-
readonly organization_id: string;
|
|
10957
|
-
readonly item_number: string;
|
|
10958
|
-
readonly name: string;
|
|
10959
|
-
readonly description: string;
|
|
10960
|
-
readonly status: io.flow.internal.v0.enums.ClassificationStatus;
|
|
10961
|
-
readonly suggestions: io.flow.internal.v0.models.ClassificationSuggestion[];
|
|
10962
|
-
}
|
|
10963
|
-
interface ClassificationTaskPage {
|
|
10964
|
-
readonly page: io.flow.internal.v0.models.ClassificationTaskSummary[];
|
|
10965
|
-
readonly next_cursor?: string;
|
|
10966
|
-
}
|
|
10967
|
-
interface ClassificationTaskSummary {
|
|
10968
|
-
readonly product_id: string;
|
|
10969
|
-
readonly organization_id: string;
|
|
10970
|
-
readonly description: string;
|
|
10971
|
-
readonly status: io.flow.internal.v0.enums.ClassificationStatus;
|
|
10972
|
-
readonly suggestion_count: number;
|
|
10973
|
-
}
|
|
10974
11038
|
interface ClassifiedProduct {
|
|
10975
11039
|
readonly product_id: string;
|
|
10976
11040
|
readonly organization_id: string;
|
|
10977
11041
|
readonly classification: string;
|
|
10978
11042
|
readonly classification_model_id: string;
|
|
10979
11043
|
}
|
|
10980
|
-
interface ClassifiedTask {
|
|
10981
|
-
readonly product_id: string;
|
|
10982
|
-
readonly organization_id: string;
|
|
10983
|
-
readonly classification: string;
|
|
10984
|
-
readonly classification_model_id: string;
|
|
10985
|
-
}
|
|
10986
11044
|
interface CompletePriceRule {
|
|
10987
11045
|
readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
|
|
10988
11046
|
readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
|
|
@@ -11426,6 +11484,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11426
11484
|
readonly experience_key?: string;
|
|
11427
11485
|
readonly geo?: io.flow.internal.v0.models.FeatureGeoForm;
|
|
11428
11486
|
}
|
|
11487
|
+
interface FeatureDeleted {
|
|
11488
|
+
readonly event_id: string;
|
|
11489
|
+
readonly timestamp: string;
|
|
11490
|
+
readonly organization: string;
|
|
11491
|
+
readonly feature: io.flow.feature.v0.models.Feature;
|
|
11492
|
+
}
|
|
11429
11493
|
interface FeatureForm {
|
|
11430
11494
|
readonly name: string;
|
|
11431
11495
|
readonly description?: string;
|
|
@@ -11441,6 +11505,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11441
11505
|
readonly locale?: string;
|
|
11442
11506
|
readonly region?: string;
|
|
11443
11507
|
}
|
|
11508
|
+
interface FeatureIdReference {
|
|
11509
|
+
readonly id: string;
|
|
11510
|
+
}
|
|
11444
11511
|
interface FeatureReference {
|
|
11445
11512
|
readonly id: string;
|
|
11446
11513
|
readonly key: string;
|
|
@@ -11451,6 +11518,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11451
11518
|
interface FeatureStatusForm {
|
|
11452
11519
|
readonly status: io.flow.internal.v0.enums.FeatureStatus;
|
|
11453
11520
|
}
|
|
11521
|
+
interface FeatureTaskDataSyncFeature {
|
|
11522
|
+
readonly feature_id: string;
|
|
11523
|
+
}
|
|
11524
|
+
interface FeatureTaskDataSyncOrganization {
|
|
11525
|
+
readonly organization_id: string;
|
|
11526
|
+
}
|
|
11527
|
+
interface FeatureUpserted {
|
|
11528
|
+
readonly event_id: string;
|
|
11529
|
+
readonly timestamp: string;
|
|
11530
|
+
readonly organization: string;
|
|
11531
|
+
readonly feature: io.flow.feature.v0.models.Feature;
|
|
11532
|
+
}
|
|
11454
11533
|
interface FeatureValueForm {
|
|
11455
11534
|
readonly feature_query: string;
|
|
11456
11535
|
readonly context: io.flow.internal.v0.models.FeatureContextForm;
|
|
@@ -11929,7 +12008,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11929
12008
|
}
|
|
11930
12009
|
interface InternalOrder {
|
|
11931
12010
|
readonly order: io.flow.experience.v0.models.Order;
|
|
11932
|
-
readonly session?:
|
|
12011
|
+
readonly session?: io.flow.common.v0.models.SessionReference;
|
|
11933
12012
|
readonly rates: io.flow.currency.internal.v0.models.RateDataV3[];
|
|
11934
12013
|
}
|
|
11935
12014
|
interface InternalPaypalAuthorizationDetails {
|
|
@@ -11942,6 +12021,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11942
12021
|
interface InternalStripeAuthorizationDetails {
|
|
11943
12022
|
readonly stripe_authentication_data: io.flow.internal.v0.models.StripeAuthenticationDataReference;
|
|
11944
12023
|
}
|
|
12024
|
+
interface InvalidCheckoutData {
|
|
12025
|
+
readonly order: io.flow.experience.v0.models.OrderPutForm;
|
|
12026
|
+
}
|
|
11945
12027
|
interface Invoice {
|
|
11946
12028
|
readonly id: string;
|
|
11947
12029
|
readonly number: string;
|
|
@@ -12158,6 +12240,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12158
12240
|
readonly format: io.flow.internal.v0.enums.Format;
|
|
12159
12241
|
readonly value: string;
|
|
12160
12242
|
}
|
|
12243
|
+
interface LabelProbability {
|
|
12244
|
+
readonly label: string;
|
|
12245
|
+
readonly probability: number;
|
|
12246
|
+
}
|
|
12161
12247
|
interface LabelSummary {
|
|
12162
12248
|
readonly commercial_invoice?: string;
|
|
12163
12249
|
readonly pdf?: string;
|
|
@@ -12927,6 +13013,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12927
13013
|
interface OrderSubmissionForm {
|
|
12928
13014
|
readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
12929
13015
|
}
|
|
13016
|
+
interface OrganizationBooleanValue {
|
|
13017
|
+
readonly id: string;
|
|
13018
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
13019
|
+
readonly feature: io.flow.internal.v0.models.FeatureIdReference;
|
|
13020
|
+
readonly value: boolean;
|
|
13021
|
+
}
|
|
13022
|
+
interface OrganizationBooleanValueDeleted {
|
|
13023
|
+
readonly event_id: string;
|
|
13024
|
+
readonly timestamp: string;
|
|
13025
|
+
readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
13026
|
+
}
|
|
13027
|
+
interface OrganizationBooleanValueUpserted {
|
|
13028
|
+
readonly event_id: string;
|
|
13029
|
+
readonly timestamp: string;
|
|
13030
|
+
readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
13031
|
+
}
|
|
12930
13032
|
interface OrganizationCurrencySettings {
|
|
12931
13033
|
readonly id: string;
|
|
12932
13034
|
readonly organization: string;
|
|
@@ -13256,16 +13358,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13256
13358
|
readonly order?: io.flow.internal.v0.models.BillingOrderSummary;
|
|
13257
13359
|
}
|
|
13258
13360
|
interface ProductClassification {
|
|
13259
|
-
readonly
|
|
13361
|
+
readonly material: io.flow.internal.v0.models.LabelProbability[];
|
|
13362
|
+
readonly gender: io.flow.internal.v0.models.LabelProbability[];
|
|
13363
|
+
readonly construction: io.flow.internal.v0.models.LabelProbability[];
|
|
13364
|
+
readonly product_type: io.flow.internal.v0.models.LabelProbability[];
|
|
13260
13365
|
}
|
|
13261
|
-
interface
|
|
13366
|
+
interface ProductClassificationCreated {
|
|
13262
13367
|
readonly event_id: string;
|
|
13263
13368
|
readonly timestamp: string;
|
|
13264
13369
|
readonly organization: string;
|
|
13265
13370
|
readonly product_id: string;
|
|
13371
|
+
readonly model_id: string;
|
|
13266
13372
|
readonly classification: io.flow.internal.v0.models.ProductClassification;
|
|
13267
13373
|
}
|
|
13268
|
-
interface
|
|
13374
|
+
interface ProductClassificationJudgementForm {
|
|
13269
13375
|
readonly organization_id: string;
|
|
13270
13376
|
readonly product_id: string;
|
|
13271
13377
|
readonly classification_model_id?: string;
|
|
@@ -13276,13 +13382,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13276
13382
|
readonly classified_product: io.flow.internal.v0.models.ClassifiedProduct;
|
|
13277
13383
|
readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
|
|
13278
13384
|
}
|
|
13279
|
-
interface ProductClassificationUpserted {
|
|
13280
|
-
readonly event_id: string;
|
|
13281
|
-
readonly timestamp: string;
|
|
13282
|
-
readonly organization: string;
|
|
13283
|
-
readonly product_id: string;
|
|
13284
|
-
readonly classification: io.flow.internal.v0.models.ProductClassification;
|
|
13285
|
-
}
|
|
13286
13385
|
interface QuoteRequest {
|
|
13287
13386
|
readonly id: string;
|
|
13288
13387
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -14204,10 +14303,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14204
14303
|
} & io.flow.internal.v0.models.CheckoutConfigurationUpserted | {
|
|
14205
14304
|
discriminator: 'checkout_configuration_deleted';
|
|
14206
14305
|
} & io.flow.internal.v0.models.CheckoutConfigurationDeleted | {
|
|
14207
|
-
discriminator: 'product_classification_upserted';
|
|
14208
|
-
} & io.flow.internal.v0.models.ProductClassificationUpserted | {
|
|
14209
|
-
discriminator: 'product_classification_deleted';
|
|
14210
|
-
} & io.flow.internal.v0.models.ProductClassificationDeleted | {
|
|
14211
14306
|
discriminator: 'localized_content_upserted';
|
|
14212
14307
|
} & io.flow.internal.v0.models.LocalizedContentUpserted | {
|
|
14213
14308
|
discriminator: 'localization_upserted';
|
|
@@ -14276,6 +14371,14 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14276
14371
|
} & io.flow.internal.v0.models.ExportCompleted | {
|
|
14277
14372
|
discriminator: 'export_failed';
|
|
14278
14373
|
} & io.flow.internal.v0.models.ExportFailed | {
|
|
14374
|
+
discriminator: 'feature_upserted';
|
|
14375
|
+
} & io.flow.internal.v0.models.FeatureUpserted | {
|
|
14376
|
+
discriminator: 'feature_deleted';
|
|
14377
|
+
} & io.flow.internal.v0.models.FeatureDeleted | {
|
|
14378
|
+
discriminator: 'organization_boolean_value_upserted';
|
|
14379
|
+
} & io.flow.internal.v0.models.OrganizationBooleanValueUpserted | {
|
|
14380
|
+
discriminator: 'organization_boolean_value_deleted';
|
|
14381
|
+
} & io.flow.internal.v0.models.OrganizationBooleanValueDeleted | {
|
|
14279
14382
|
discriminator: 'fraud_review_upserted';
|
|
14280
14383
|
} & io.flow.internal.v0.models.FraudReviewUpserted | {
|
|
14281
14384
|
discriminator: 'fraud_review_deleted';
|
|
@@ -14322,6 +14425,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14322
14425
|
} & io.flow.internal.v0.models.HarmonizationCodesImport | {
|
|
14323
14426
|
discriminator: 'customs_description_sugestion_created';
|
|
14324
14427
|
} & io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | {
|
|
14428
|
+
discriminator: 'product_classification_created';
|
|
14429
|
+
} & io.flow.internal.v0.models.ProductClassificationCreated | {
|
|
14325
14430
|
discriminator: 'harmonize_fully_with_rate';
|
|
14326
14431
|
} & io.flow.internal.v0.models.HarmonizeFullyWithRate | {
|
|
14327
14432
|
discriminator: 'item_harmonized';
|
|
@@ -14476,6 +14581,11 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14476
14581
|
} & io.flow.internal.v0.models.BooleanFeatureRuleForm | {
|
|
14477
14582
|
discriminator: 'string';
|
|
14478
14583
|
} & io.flow.internal.v0.models.StringFeatureRuleForm;
|
|
14584
|
+
type FeatureTaskData = {
|
|
14585
|
+
discriminator: 'feature_task_data_sync_feature';
|
|
14586
|
+
} & io.flow.internal.v0.models.FeatureTaskDataSyncFeature | {
|
|
14587
|
+
discriminator: 'feature_task_data_sync_organization';
|
|
14588
|
+
} & io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
|
|
14479
14589
|
type FeatureValue = {
|
|
14480
14590
|
discriminator: 'boolean';
|
|
14481
14591
|
} & io.flow.internal.v0.models.BooleanFeatureValue | {
|
|
@@ -14677,6 +14787,10 @@ export declare type AccountReference = io.flow.internal.v0.models.AccountReferen
|
|
|
14677
14787
|
export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
14678
14788
|
export declare type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
14679
14789
|
export declare type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
|
|
14790
|
+
export declare type AddressConfigurationProvinceSetting = io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
|
|
14791
|
+
export declare type AddressConfigurationSetting = io.flow.internal.v0.models.AddressConfigurationSetting;
|
|
14792
|
+
export declare type AddressConfigurationSettingForm = io.flow.internal.v0.models.AddressConfigurationSettingForm;
|
|
14793
|
+
export declare type AddressConfigurationSettingProvinceCode = io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
14680
14794
|
export declare type AdyenAuthenticationDataReference = io.flow.internal.v0.models.AdyenAuthenticationDataReference;
|
|
14681
14795
|
export declare type AdyenAuthorizationDeleted = io.flow.internal.v0.models.AdyenAuthorizationDeleted;
|
|
14682
14796
|
export declare type AdyenAuthorizationUpserted = io.flow.internal.v0.models.AdyenAuthorizationUpserted;
|
|
@@ -14814,6 +14928,8 @@ export declare type CheckoutOrderNumberForm = io.flow.internal.v0.models.Checkou
|
|
|
14814
14928
|
export declare type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
|
|
14815
14929
|
export declare type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
|
|
14816
14930
|
export declare type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
|
|
14931
|
+
export declare type CheckoutRedirect = io.flow.internal.v0.models.CheckoutRedirect;
|
|
14932
|
+
export declare type CheckoutRedirectMethod = io.flow.internal.v0.enums.CheckoutRedirectMethod;
|
|
14817
14933
|
export declare type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutReferenceForm;
|
|
14818
14934
|
export declare type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings;
|
|
14819
14935
|
export declare type CheckoutShippingMethodPromptBehavior = io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
|
|
@@ -14828,23 +14944,12 @@ export declare type Cipher = io.flow.internal.v0.models.Cipher;
|
|
|
14828
14944
|
export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
|
|
14829
14945
|
export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
|
|
14830
14946
|
export declare type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
|
|
14831
|
-
export declare type ClassificationAction = io.flow.internal.v0.enums.ClassificationAction;
|
|
14832
14947
|
export declare type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
|
|
14833
14948
|
export declare type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
|
|
14834
14949
|
export declare type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
|
|
14835
14950
|
export declare type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
|
|
14836
14951
|
export declare type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
14837
|
-
export declare type ClassificationRequest = io.flow.internal.v0.models.ClassificationRequest;
|
|
14838
|
-
export declare type ClassificationResult = io.flow.internal.v0.models.ClassificationResult;
|
|
14839
|
-
export declare type ClassificationStatus = io.flow.internal.v0.enums.ClassificationStatus;
|
|
14840
|
-
export declare type ClassificationSuggestion = io.flow.internal.v0.models.ClassificationSuggestion;
|
|
14841
|
-
export declare type ClassificationTask = io.flow.internal.v0.models.ClassificationTask;
|
|
14842
|
-
export declare type ClassificationTaskId = io.flow.internal.v0.models.ClassificationTaskId;
|
|
14843
|
-
export declare type ClassificationTaskItem = io.flow.internal.v0.models.ClassificationTaskItem;
|
|
14844
|
-
export declare type ClassificationTaskPage = io.flow.internal.v0.models.ClassificationTaskPage;
|
|
14845
|
-
export declare type ClassificationTaskSummary = io.flow.internal.v0.models.ClassificationTaskSummary;
|
|
14846
14952
|
export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
14847
|
-
export declare type ClassifiedTask = io.flow.internal.v0.models.ClassifiedTask;
|
|
14848
14953
|
export declare type CompletePriceRule = io.flow.internal.v0.models.CompletePriceRule;
|
|
14849
14954
|
export declare type Components = io.flow.internal.v0.models.Components;
|
|
14850
14955
|
export declare type ConsumerOptinActivity = io.flow.internal.v0.models.ConsumerOptinActivity;
|
|
@@ -14941,8 +15046,10 @@ export declare type ExternalVariant = io.flow.internal.v0.models.ExternalVariant
|
|
|
14941
15046
|
export declare type Feature = io.flow.internal.v0.models.Feature;
|
|
14942
15047
|
export declare type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
|
|
14943
15048
|
export declare type FeatureDefaultValue = io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
15049
|
+
export declare type FeatureDeleted = io.flow.internal.v0.models.FeatureDeleted;
|
|
14944
15050
|
export declare type FeatureForm = io.flow.internal.v0.models.FeatureForm;
|
|
14945
15051
|
export declare type FeatureGeoForm = io.flow.internal.v0.models.FeatureGeoForm;
|
|
15052
|
+
export declare type FeatureIdReference = io.flow.internal.v0.models.FeatureIdReference;
|
|
14946
15053
|
export declare type FeatureReference = io.flow.internal.v0.models.FeatureReference;
|
|
14947
15054
|
export declare type FeatureReleaseForm = io.flow.internal.v0.models.FeatureReleaseForm;
|
|
14948
15055
|
export declare type FeatureRule = io.flow.internal.v0.unions.FeatureRule;
|
|
@@ -14950,7 +15057,11 @@ export declare type FeatureRuleForm = io.flow.internal.v0.unions.FeatureRuleForm
|
|
|
14950
15057
|
export declare type FeatureScope = io.flow.internal.v0.enums.FeatureScope;
|
|
14951
15058
|
export declare type FeatureStatus = io.flow.internal.v0.enums.FeatureStatus;
|
|
14952
15059
|
export declare type FeatureStatusForm = io.flow.internal.v0.models.FeatureStatusForm;
|
|
15060
|
+
export declare type FeatureTaskData = io.flow.internal.v0.unions.FeatureTaskData;
|
|
15061
|
+
export declare type FeatureTaskDataSyncFeature = io.flow.internal.v0.models.FeatureTaskDataSyncFeature;
|
|
15062
|
+
export declare type FeatureTaskDataSyncOrganization = io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
|
|
14953
15063
|
export declare type FeatureType = io.flow.internal.v0.enums.FeatureType;
|
|
15064
|
+
export declare type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted;
|
|
14954
15065
|
export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
|
|
14955
15066
|
export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
|
|
14956
15067
|
export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
|
|
@@ -15063,6 +15174,7 @@ export declare type InternalPaypalAuthorizationDetails = io.flow.internal.v0.mod
|
|
|
15063
15174
|
export declare type InternalRedirectAuthorizationDetails = io.flow.internal.v0.models.InternalRedirectAuthorizationDetails;
|
|
15064
15175
|
export declare type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm;
|
|
15065
15176
|
export declare type InternalStripeAuthorizationDetails = io.flow.internal.v0.models.InternalStripeAuthorizationDetails;
|
|
15177
|
+
export declare type InvalidCheckoutData = io.flow.internal.v0.models.InvalidCheckoutData;
|
|
15066
15178
|
export declare type Invoice = io.flow.internal.v0.models.Invoice;
|
|
15067
15179
|
export declare type InvoiceLine = io.flow.internal.v0.models.InvoiceLine;
|
|
15068
15180
|
export declare type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction;
|
|
@@ -15099,6 +15211,7 @@ export declare type Key = io.flow.internal.v0.models.Key;
|
|
|
15099
15211
|
export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
|
|
15100
15212
|
export declare type Label = io.flow.internal.v0.models.Label;
|
|
15101
15213
|
export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
|
|
15214
|
+
export declare type LabelProbability = io.flow.internal.v0.models.LabelProbability;
|
|
15102
15215
|
export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
15103
15216
|
export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
15104
15217
|
export declare type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
|
|
@@ -15252,6 +15365,9 @@ export declare type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.O
|
|
|
15252
15365
|
export declare type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm;
|
|
15253
15366
|
export declare type OrderShipped = io.flow.internal.v0.models.OrderShipped;
|
|
15254
15367
|
export declare type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
|
|
15368
|
+
export declare type OrganizationBooleanValue = io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
15369
|
+
export declare type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
|
|
15370
|
+
export declare type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
|
|
15255
15371
|
export declare type OrganizationCurrencySettings = io.flow.internal.v0.models.OrganizationCurrencySettings;
|
|
15256
15372
|
export declare type OrganizationCurrencySettingsDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted;
|
|
15257
15373
|
export declare type OrganizationCurrencySettingsUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted;
|
|
@@ -15312,10 +15428,9 @@ export declare type ProcessingTransaction = io.flow.internal.v0.models.Processin
|
|
|
15312
15428
|
export declare type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
|
|
15313
15429
|
export declare type Processor = io.flow.internal.v0.enums.Processor;
|
|
15314
15430
|
export declare type ProductClassification = io.flow.internal.v0.models.ProductClassification;
|
|
15315
|
-
export declare type
|
|
15316
|
-
export declare type
|
|
15431
|
+
export declare type ProductClassificationCreated = io.flow.internal.v0.models.ProductClassificationCreated;
|
|
15432
|
+
export declare type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
15317
15433
|
export declare type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
|
|
15318
|
-
export declare type ProductClassificationUpserted = io.flow.internal.v0.models.ProductClassificationUpserted;
|
|
15319
15434
|
export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
15320
15435
|
export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
15321
15436
|
export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
|