@flowio/types 11.24.105 → 11.24.107
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 +395 -661
- package/dist/api.d.ts +1974 -308
- package/package.json +2 -2
- package/src/api-internal.ts +555 -876
- package/src/api.ts +2593 -392
package/src/api.ts
CHANGED
|
@@ -339,6 +339,15 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
339
339
|
| 'under_review'
|
|
340
340
|
| 'won'
|
|
341
341
|
| 'lost';
|
|
342
|
+
type EarlyFraudWarningEventType = 'radar.early_fraud_warning';
|
|
343
|
+
type EarlyFraudWarningType =
|
|
344
|
+
| 'card_never_received'
|
|
345
|
+
| 'fraudulent_card_application'
|
|
346
|
+
| 'made_with_counterfeit_card'
|
|
347
|
+
| 'made_with_lost_card'
|
|
348
|
+
| 'made_with_stolen_card'
|
|
349
|
+
| 'unauthorized_use_of_card'
|
|
350
|
+
| 'misc';
|
|
342
351
|
type ErrorCode =
|
|
343
352
|
| 'invalid_number'
|
|
344
353
|
| 'invalid_expiry_month'
|
|
@@ -1626,6 +1635,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1626
1635
|
readonly previous_attributes?: any /*object*/;
|
|
1627
1636
|
}
|
|
1628
1637
|
|
|
1638
|
+
interface StripeEarlyFraudWarningEvent {
|
|
1639
|
+
readonly id: string;
|
|
1640
|
+
readonly object: io.flow.stripe.v0.enums.EarlyFraudWarningEventType;
|
|
1641
|
+
readonly actionable: boolean;
|
|
1642
|
+
readonly charge: string;
|
|
1643
|
+
readonly created: number;
|
|
1644
|
+
readonly fraud_type: io.flow.stripe.v0.enums.EarlyFraudWarningType;
|
|
1645
|
+
readonly livemode: boolean;
|
|
1646
|
+
readonly payment_intent?: string;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1629
1649
|
interface StripeError {
|
|
1630
1650
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
1631
1651
|
readonly charge?: string;
|
|
@@ -2851,138 +2871,2586 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2851
2871
|
}
|
|
2852
2872
|
}
|
|
2853
2873
|
|
|
2854
|
-
declare namespace io.flow.
|
|
2855
|
-
type
|
|
2874
|
+
declare namespace io.flow.order.price.v0.enums {
|
|
2875
|
+
type OrderPriceDetailComponentKey =
|
|
2876
|
+
| 'adjustment'
|
|
2877
|
+
| 'vat_deminimis'
|
|
2878
|
+
| 'duty_deminimis'
|
|
2879
|
+
| 'duties_item_price'
|
|
2880
|
+
| 'duties_freight'
|
|
2881
|
+
| 'duties_insurance'
|
|
2882
|
+
| 'vat_item_price'
|
|
2883
|
+
| 'vat_freight'
|
|
2884
|
+
| 'vat_insurance'
|
|
2885
|
+
| 'vat_duties_item_price'
|
|
2886
|
+
| 'vat_duties_freight'
|
|
2887
|
+
| 'vat_duties_insurance'
|
|
2888
|
+
| 'item_price'
|
|
2889
|
+
| 'item_discount'
|
|
2890
|
+
| 'rounding'
|
|
2891
|
+
| 'insurance'
|
|
2892
|
+
| 'shipping'
|
|
2893
|
+
| 'shipping_discount'
|
|
2894
|
+
| 'order_discount'
|
|
2895
|
+
| 'subtotal_percent_sales_margin'
|
|
2896
|
+
| 'subtotal_vat_percent_sales_margin'
|
|
2897
|
+
| 'subtotal_duty_percent_sales_margin'
|
|
2898
|
+
| 'vat_subsidy'
|
|
2899
|
+
| 'duty_subsidy'
|
|
2900
|
+
| 'remote_area_surcharge'
|
|
2901
|
+
| 'fuel_surcharge'
|
|
2902
|
+
| 'emergency_situation_surcharge'
|
|
2903
|
+
| 'peak_surcharge'
|
|
2904
|
+
| 'duties_taxes_paid_surcharge'
|
|
2905
|
+
| 'tip';
|
|
2906
|
+
type OrderPriceDetailKey =
|
|
2907
|
+
| 'adjustment'
|
|
2908
|
+
| 'subtotal'
|
|
2909
|
+
| 'vat'
|
|
2910
|
+
| 'duty'
|
|
2911
|
+
| 'shipping'
|
|
2912
|
+
| 'insurance'
|
|
2913
|
+
| 'discount'
|
|
2914
|
+
| 'surcharges'
|
|
2915
|
+
| 'tip';
|
|
2856
2916
|
}
|
|
2857
2917
|
|
|
2858
|
-
declare namespace io.flow.
|
|
2859
|
-
interface
|
|
2860
|
-
readonly
|
|
2861
|
-
readonly
|
|
2918
|
+
declare namespace io.flow.order.price.v0.models {
|
|
2919
|
+
interface OrderPriceDetail {
|
|
2920
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
2921
|
+
readonly currency: string;
|
|
2922
|
+
readonly amount: number;
|
|
2923
|
+
readonly label: string;
|
|
2924
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
2925
|
+
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
2926
|
+
readonly name?: string;
|
|
2927
|
+
readonly rate?: number;
|
|
2928
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
2929
|
+
readonly rate_label?: string;
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
interface OrderPriceDetailComponent {
|
|
2933
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
2934
|
+
readonly currency: string;
|
|
2935
|
+
readonly amount: number;
|
|
2936
|
+
readonly label: string;
|
|
2937
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
2938
|
+
readonly name?: string;
|
|
2862
2939
|
}
|
|
2863
2940
|
}
|
|
2864
2941
|
|
|
2865
|
-
declare namespace io.flow.
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2942
|
+
declare namespace io.flow.common.v0.enums {
|
|
2943
|
+
type AttributeDataType =
|
|
2944
|
+
| 'boolean'
|
|
2945
|
+
| 'integer'
|
|
2946
|
+
| 'decimal'
|
|
2947
|
+
| 'string'
|
|
2948
|
+
| 'json_array';
|
|
2949
|
+
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
2950
|
+
type Calendar = 'weekdays' | 'everyday';
|
|
2951
|
+
type Capability = 'crossdock';
|
|
2952
|
+
type ChangeType = 'insert' | 'update' | 'delete';
|
|
2953
|
+
type CurrencyLabelFormatter =
|
|
2954
|
+
| 'strip_trailing_zeros'
|
|
2955
|
+
| 'symbol_prefix'
|
|
2956
|
+
| 'symbol_suffix';
|
|
2957
|
+
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
2958
|
+
type DayOfWeek =
|
|
2959
|
+
| 'sunday'
|
|
2960
|
+
| 'monday'
|
|
2961
|
+
| 'tuesday'
|
|
2962
|
+
| 'wednesday'
|
|
2963
|
+
| 'thursday'
|
|
2964
|
+
| 'friday'
|
|
2965
|
+
| 'saturday';
|
|
2966
|
+
type DeliveredDuty = 'paid' | 'unpaid';
|
|
2967
|
+
type DiscountTarget = 'item' | 'shipping';
|
|
2968
|
+
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
2969
|
+
type Environment = 'sandbox' | 'production';
|
|
2970
|
+
type ExceptionType = 'open' | 'closed';
|
|
2971
|
+
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
2972
|
+
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
2973
|
+
type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
|
|
2974
|
+
type Incoterm =
|
|
2975
|
+
| 'EXW'
|
|
2976
|
+
| 'FCA'
|
|
2977
|
+
| 'CPT'
|
|
2978
|
+
| 'CIP'
|
|
2979
|
+
| 'DAT'
|
|
2980
|
+
| 'DAP'
|
|
2981
|
+
| 'DDP'
|
|
2982
|
+
| 'FAS'
|
|
2983
|
+
| 'FOB'
|
|
2984
|
+
| 'CFR'
|
|
2985
|
+
| 'CIF'
|
|
2986
|
+
| 'DAF'
|
|
2987
|
+
| 'DES'
|
|
2988
|
+
| 'DEQ'
|
|
2989
|
+
| 'DDU';
|
|
2990
|
+
type InputSpecificationType = 'text' | 'number';
|
|
2991
|
+
type MarginType = 'fixed' | 'percent';
|
|
2992
|
+
type MeasurementSystem = 'imperial' | 'metric';
|
|
2993
|
+
type MerchantOfRecord = 'flow' | 'organization';
|
|
2994
|
+
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2995
|
+
type OrganizationStatus =
|
|
2996
|
+
| 'active'
|
|
2997
|
+
| 'inactive'
|
|
2998
|
+
| 'deactivated'
|
|
2999
|
+
| 'provisioned';
|
|
3000
|
+
type OrganizationType = 'standalone' | 'channel';
|
|
3001
|
+
type PriceBookStatus = 'draft' | 'published' | 'archived';
|
|
3002
|
+
type Role = 'admin' | 'member';
|
|
3003
|
+
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
3004
|
+
type RoundingType = 'pattern' | 'multiple';
|
|
3005
|
+
type ScheduleExceptionStatus = 'Open' | 'Closed';
|
|
3006
|
+
type SortDirection = 'ascending' | 'descending';
|
|
3007
|
+
type UnitOfMeasurement =
|
|
3008
|
+
| 'millimeter'
|
|
3009
|
+
| 'centimeter'
|
|
3010
|
+
| 'inch'
|
|
3011
|
+
| 'foot'
|
|
3012
|
+
| 'cubic_inch'
|
|
3013
|
+
| 'cubic_meter'
|
|
3014
|
+
| 'gram'
|
|
3015
|
+
| 'kilogram'
|
|
3016
|
+
| 'meter'
|
|
3017
|
+
| 'ounce'
|
|
3018
|
+
| 'pound';
|
|
3019
|
+
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
3020
|
+
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
3021
|
+
type ValueAddedService = 'Hazardous Material';
|
|
3022
|
+
type Visibility = 'public' | 'private';
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
declare namespace io.flow.common.v0.models {
|
|
3026
|
+
interface Address {
|
|
3027
|
+
readonly text?: string;
|
|
3028
|
+
readonly streets?: string[];
|
|
3029
|
+
readonly street_number?: string;
|
|
3030
|
+
readonly city?: string;
|
|
3031
|
+
readonly province?: string;
|
|
3032
|
+
readonly postal?: string;
|
|
3033
|
+
readonly country?: string;
|
|
3034
|
+
readonly latitude?: string;
|
|
3035
|
+
readonly longitude?: string;
|
|
2870
3036
|
}
|
|
2871
3037
|
|
|
2872
|
-
interface
|
|
2873
|
-
readonly
|
|
2874
|
-
readonly
|
|
2875
|
-
readonly
|
|
3038
|
+
interface BillingAddress {
|
|
3039
|
+
readonly name?: io.flow.common.v0.models.Name;
|
|
3040
|
+
readonly streets?: string[];
|
|
3041
|
+
readonly city?: string;
|
|
3042
|
+
readonly province?: string;
|
|
3043
|
+
readonly postal?: string;
|
|
3044
|
+
readonly country?: string;
|
|
3045
|
+
readonly company?: string;
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
interface CatalogItemReference {
|
|
3049
|
+
readonly id: string;
|
|
3050
|
+
readonly number: string;
|
|
2876
3051
|
}
|
|
2877
3052
|
|
|
2878
|
-
interface
|
|
3053
|
+
interface CatalogItemSummary {
|
|
3054
|
+
readonly number: string;
|
|
2879
3055
|
readonly name: string;
|
|
3056
|
+
readonly attributes: Record<string, string>;
|
|
2880
3057
|
}
|
|
2881
3058
|
|
|
2882
|
-
interface
|
|
3059
|
+
interface ChannelReference {
|
|
2883
3060
|
readonly id: string;
|
|
2884
|
-
readonly name: string;
|
|
2885
3061
|
}
|
|
2886
3062
|
|
|
2887
|
-
interface
|
|
2888
|
-
readonly
|
|
3063
|
+
interface CheckoutReference {
|
|
3064
|
+
readonly id: string;
|
|
2889
3065
|
}
|
|
2890
|
-
}
|
|
2891
3066
|
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
3067
|
+
interface Contact {
|
|
3068
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
3069
|
+
readonly company?: string;
|
|
3070
|
+
readonly email?: string;
|
|
3071
|
+
readonly phone?: string;
|
|
3072
|
+
}
|
|
2897
3073
|
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
| 'name'
|
|
2902
|
-
| 'phone'
|
|
2903
|
-
| 'postalAddress'
|
|
2904
|
-
| 'phoneticName';
|
|
2905
|
-
type ApplePayLineItemType = 'final' | 'pending';
|
|
2906
|
-
type ApplePayMerchantCapability =
|
|
2907
|
-
| 'supports3DS'
|
|
2908
|
-
| 'supportsCredit'
|
|
2909
|
-
| 'supportsDebit'
|
|
2910
|
-
| 'supportsEMV';
|
|
2911
|
-
type ApplePayShippingType =
|
|
2912
|
-
| 'shipping'
|
|
2913
|
-
| 'delivery'
|
|
2914
|
-
| 'storePickup'
|
|
2915
|
-
| 'servicePickup';
|
|
2916
|
-
type ApplePaySupportedNetworks =
|
|
2917
|
-
| 'amex'
|
|
2918
|
-
| 'chinaUnionPay'
|
|
2919
|
-
| 'discover'
|
|
2920
|
-
| 'jcb'
|
|
2921
|
-
| 'masterCard'
|
|
2922
|
-
| 'privateLabel'
|
|
2923
|
-
| 'visa';
|
|
2924
|
-
}
|
|
3074
|
+
interface CustomerInvoice {
|
|
3075
|
+
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
3076
|
+
}
|
|
2925
3077
|
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
readonly label: string;
|
|
2929
|
-
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
2930
|
-
readonly amount: string;
|
|
3078
|
+
interface CustomerReference {
|
|
3079
|
+
readonly number: string;
|
|
2931
3080
|
}
|
|
2932
3081
|
|
|
2933
|
-
interface
|
|
2934
|
-
readonly
|
|
2935
|
-
readonly
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
readonly
|
|
2940
|
-
readonly
|
|
2941
|
-
readonly
|
|
2942
|
-
readonly
|
|
2943
|
-
readonly
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
readonly
|
|
3082
|
+
interface DatetimeRange {
|
|
3083
|
+
readonly from: string;
|
|
3084
|
+
readonly to: string;
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
interface Dimension {
|
|
3088
|
+
readonly depth?: io.flow.common.v0.models.Measurement;
|
|
3089
|
+
readonly diameter?: io.flow.common.v0.models.Measurement;
|
|
3090
|
+
readonly length?: io.flow.common.v0.models.Measurement;
|
|
3091
|
+
readonly weight?: io.flow.common.v0.models.Measurement;
|
|
3092
|
+
readonly width?: io.flow.common.v0.models.Measurement;
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
interface Dimensions {
|
|
3096
|
+
readonly product?: io.flow.common.v0.models.Dimension;
|
|
3097
|
+
readonly packaging?: io.flow.common.v0.models.Dimension;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
interface DiscountForm {
|
|
3101
|
+
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
3102
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
3103
|
+
readonly label?: string;
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
interface DiscountOfferFixed {
|
|
3107
|
+
readonly discriminator: 'discount_offer_fixed';
|
|
3108
|
+
readonly money: io.flow.common.v0.models.Money;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
interface DiscountOfferPercent {
|
|
3112
|
+
readonly discriminator: 'discount_offer_percent';
|
|
3113
|
+
readonly percent: number;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
interface DiscountsForm {
|
|
3117
|
+
readonly discounts: io.flow.common.v0.models.DiscountForm[];
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
interface Duration {
|
|
3121
|
+
readonly unit: io.flow.common.v0.enums.UnitOfTime;
|
|
3122
|
+
readonly value: number;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
interface EntityIdentifier {
|
|
3126
|
+
readonly name: io.flow.common.v0.enums.EntityIdentifierType;
|
|
3127
|
+
readonly number: string;
|
|
3128
|
+
readonly issuing_country?: string;
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
interface Exception {
|
|
3132
|
+
readonly type: io.flow.common.v0.enums.ExceptionType;
|
|
3133
|
+
readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
interface ExperienceSummary {
|
|
3137
|
+
readonly id: string;
|
|
3138
|
+
readonly key: string;
|
|
3139
|
+
readonly name: string;
|
|
3140
|
+
readonly country?: string;
|
|
3141
|
+
readonly currency?: string;
|
|
3142
|
+
readonly language?: string;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
interface IncludedLevies {
|
|
3146
|
+
readonly key: io.flow.common.v0.enums.IncludedLevyKey;
|
|
3147
|
+
readonly label: string;
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
interface InputForm {
|
|
3151
|
+
readonly values?: Record<string, string>;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
interface InputFormSpecification {
|
|
3155
|
+
readonly inputs?: io.flow.common.v0.models.InputSpecification[];
|
|
3156
|
+
readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations;
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
interface InputSpecification {
|
|
3160
|
+
readonly type: io.flow.common.v0.enums.InputSpecificationType;
|
|
3161
|
+
readonly name: string;
|
|
3162
|
+
readonly display_text?: string;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
interface InputSpecificationLimitationMax {
|
|
3166
|
+
readonly discriminator: 'input_specification_limitation_max';
|
|
3167
|
+
readonly max: number;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
interface InputSpecificationLimitations {
|
|
3171
|
+
readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
interface ItemReference {
|
|
3175
|
+
readonly number: string;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
interface LineItem {
|
|
3179
|
+
readonly number: string;
|
|
3180
|
+
readonly quantity: number;
|
|
3181
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
3182
|
+
readonly attributes: Record<string, string>;
|
|
3183
|
+
readonly center?: string;
|
|
3184
|
+
readonly discount?: io.flow.common.v0.models.Money;
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
interface LineItemAttributesForm {
|
|
3188
|
+
readonly attributes: Record<string, string>;
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
interface LineItemForm {
|
|
3192
|
+
readonly number: string;
|
|
3193
|
+
readonly quantity: number;
|
|
3194
|
+
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
3195
|
+
readonly price?: io.flow.common.v0.models.Money;
|
|
3196
|
+
readonly attributes?: Record<string, string>;
|
|
3197
|
+
readonly center?: string;
|
|
3198
|
+
readonly discount?: io.flow.common.v0.models.Money;
|
|
3199
|
+
readonly discounts?: io.flow.common.v0.models.DiscountsForm;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
interface LineItemQuantityForm {
|
|
3203
|
+
readonly quantity: number;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
interface LogoImageSetStatic {
|
|
3207
|
+
readonly discriminator: 'static';
|
|
3208
|
+
readonly small?: io.flow.common.v0.models.LogoImageStatic;
|
|
3209
|
+
readonly medium: io.flow.common.v0.models.LogoImageStatic;
|
|
3210
|
+
readonly large?: io.flow.common.v0.models.LogoImageStatic;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
interface LogoImageStatic {
|
|
3214
|
+
readonly url: string;
|
|
3215
|
+
readonly width: number;
|
|
3216
|
+
readonly height: number;
|
|
3217
|
+
}
|
|
3218
|
+
|
|
3219
|
+
interface LogoImageSvg {
|
|
3220
|
+
readonly discriminator: 'svg';
|
|
3221
|
+
readonly url: string;
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
interface Margin {
|
|
3225
|
+
readonly type: io.flow.common.v0.enums.MarginType;
|
|
3226
|
+
readonly value: number;
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
interface Measurement {
|
|
3230
|
+
readonly value: string;
|
|
3231
|
+
readonly units: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
interface MerchantOfRecordEntity {
|
|
3235
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
3236
|
+
readonly name: string;
|
|
3237
|
+
readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
|
|
3238
|
+
readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
|
|
3239
|
+
readonly streets: string[];
|
|
3240
|
+
readonly city: string;
|
|
3241
|
+
readonly province?: string;
|
|
3242
|
+
readonly postal?: string;
|
|
3243
|
+
readonly country: string;
|
|
3244
|
+
readonly phone?: string;
|
|
3245
|
+
readonly email?: string;
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
interface MerchantOfRecordEntityRegistration {
|
|
3249
|
+
readonly number: string;
|
|
3250
|
+
readonly country: string;
|
|
3251
|
+
}
|
|
3252
|
+
|
|
3253
|
+
interface Money {
|
|
3254
|
+
readonly amount: number;
|
|
3255
|
+
readonly currency: string;
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
interface MoneyWithBase {
|
|
3259
|
+
readonly currency: string;
|
|
3260
|
+
readonly amount: number;
|
|
3261
|
+
readonly base: io.flow.common.v0.models.Money;
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
interface MoneyWithOptionalBase {
|
|
3265
|
+
readonly currency: string;
|
|
3266
|
+
readonly amount: number;
|
|
3267
|
+
readonly base?: io.flow.common.v0.models.Money;
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
interface Name {
|
|
3271
|
+
readonly first?: string;
|
|
3272
|
+
readonly last?: string;
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
interface OrderCustomer {
|
|
3276
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
3277
|
+
readonly number?: string;
|
|
3278
|
+
readonly phone?: string;
|
|
3279
|
+
readonly email?: string;
|
|
3280
|
+
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
3281
|
+
readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
interface OrderCustomerForm {
|
|
3285
|
+
readonly name?: io.flow.common.v0.models.Name;
|
|
3286
|
+
readonly number?: string;
|
|
3287
|
+
readonly phone?: string;
|
|
3288
|
+
readonly email?: string;
|
|
3289
|
+
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
3290
|
+
readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
interface Organization {
|
|
3294
|
+
readonly discriminator: 'organization';
|
|
3295
|
+
readonly id: string;
|
|
3296
|
+
readonly name: string;
|
|
3297
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
3298
|
+
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
3299
|
+
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
3300
|
+
readonly created_at?: string;
|
|
3301
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
3302
|
+
readonly type?: io.flow.common.v0.enums.OrganizationType;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
interface OrganizationDefaults {
|
|
3306
|
+
readonly country: string;
|
|
3307
|
+
readonly base_currency: string;
|
|
3308
|
+
readonly language: string;
|
|
3309
|
+
readonly locale: string;
|
|
3310
|
+
readonly timezone: string;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
interface OrganizationReference {
|
|
3314
|
+
readonly discriminator: 'organization_reference';
|
|
3315
|
+
readonly id: string;
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
interface OrganizationSummary {
|
|
3319
|
+
readonly id: string;
|
|
3320
|
+
readonly name: string;
|
|
3321
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
interface PartnerReference {
|
|
3325
|
+
readonly id: string;
|
|
3326
|
+
}
|
|
3327
|
+
|
|
3328
|
+
interface Price {
|
|
3329
|
+
readonly amount: number;
|
|
3330
|
+
readonly currency: string;
|
|
3331
|
+
readonly label: string;
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
interface PriceForm {
|
|
3335
|
+
readonly amount: number;
|
|
3336
|
+
readonly currency: string;
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
interface PriceSourceCatalog {
|
|
3340
|
+
readonly discriminator: 'catalog';
|
|
3341
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
interface PriceSourcePriceBook {
|
|
3345
|
+
readonly discriminator: 'price_book';
|
|
3346
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
3347
|
+
readonly includes: io.flow.common.v0.models.IncludedLevies;
|
|
3348
|
+
readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
interface PriceSourcePriceBookReference {
|
|
3352
|
+
readonly id: string;
|
|
3353
|
+
readonly key: string;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
interface PriceSourceProvided {
|
|
3357
|
+
readonly discriminator: 'provided';
|
|
3358
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3361
|
+
interface PriceWithBase {
|
|
3362
|
+
readonly currency: string;
|
|
3363
|
+
readonly amount: number;
|
|
3364
|
+
readonly label: string;
|
|
3365
|
+
readonly base?: io.flow.common.v0.models.Price;
|
|
3366
|
+
}
|
|
3367
|
+
|
|
3368
|
+
interface RepeatDaily {
|
|
3369
|
+
readonly discriminator: 'repeat_daily';
|
|
3370
|
+
readonly interval: number;
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
interface RepeatHourly {
|
|
3374
|
+
readonly discriminator: 'repeat_hourly';
|
|
3375
|
+
readonly interval: number;
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
interface RepeatMonthly {
|
|
3379
|
+
readonly discriminator: 'repeat_monthly';
|
|
3380
|
+
readonly interval: number;
|
|
3381
|
+
readonly days: number[];
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
interface RepeatWeekly {
|
|
3385
|
+
readonly discriminator: 'repeat_weekly';
|
|
3386
|
+
readonly interval: number;
|
|
3387
|
+
readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
interface Rounding {
|
|
3391
|
+
readonly type: io.flow.common.v0.enums.RoundingType;
|
|
3392
|
+
readonly method: io.flow.common.v0.enums.RoundingMethod;
|
|
3393
|
+
readonly value: number;
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
interface Schedule {
|
|
3397
|
+
readonly calendar?: io.flow.common.v0.enums.Calendar;
|
|
3398
|
+
readonly holiday: io.flow.common.v0.enums.HolidayCalendar;
|
|
3399
|
+
readonly exception: io.flow.common.v0.models.Exception[];
|
|
3400
|
+
readonly cutoff?: string;
|
|
3401
|
+
readonly min_lead_time?: number;
|
|
3402
|
+
readonly max_lead_time?: number;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
interface SessionReference {
|
|
3406
|
+
readonly id: string;
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
interface User {
|
|
3410
|
+
readonly discriminator: 'user';
|
|
3411
|
+
readonly id: string;
|
|
3412
|
+
readonly email?: string;
|
|
3413
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
3414
|
+
readonly status: io.flow.common.v0.enums.UserStatus;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
interface UserReference {
|
|
3418
|
+
readonly discriminator: 'user_reference';
|
|
3419
|
+
readonly id: string;
|
|
3420
|
+
}
|
|
3421
|
+
|
|
3422
|
+
interface Zone {
|
|
3423
|
+
readonly postals?: string[];
|
|
3424
|
+
readonly provinces?: string[];
|
|
3425
|
+
readonly country: string;
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
declare namespace io.flow.common.v0.unions {
|
|
3430
|
+
type DiscountOffer =
|
|
3431
|
+
| io.flow.common.v0.models.DiscountOfferFixed
|
|
3432
|
+
| io.flow.common.v0.models.DiscountOfferPercent;
|
|
3433
|
+
type ExpandableOrganization =
|
|
3434
|
+
| io.flow.common.v0.models.Organization
|
|
3435
|
+
| io.flow.common.v0.models.OrganizationReference;
|
|
3436
|
+
type ExpandableUser =
|
|
3437
|
+
| io.flow.common.v0.models.User
|
|
3438
|
+
| io.flow.common.v0.models.UserReference;
|
|
3439
|
+
type InputSpecificationLimitation =
|
|
3440
|
+
io.flow.common.v0.models.InputSpecificationLimitationMax;
|
|
3441
|
+
type LogoImage =
|
|
3442
|
+
| io.flow.common.v0.models.LogoImageSvg
|
|
3443
|
+
| io.flow.common.v0.models.LogoImageSetStatic;
|
|
3444
|
+
type PriceSource =
|
|
3445
|
+
| io.flow.common.v0.models.PriceSourcePriceBook
|
|
3446
|
+
| io.flow.common.v0.models.PriceSourceCatalog
|
|
3447
|
+
| io.flow.common.v0.models.PriceSourceProvided;
|
|
3448
|
+
type RepeatSchedule =
|
|
3449
|
+
| io.flow.common.v0.models.RepeatHourly
|
|
3450
|
+
| io.flow.common.v0.models.RepeatDaily
|
|
3451
|
+
| io.flow.common.v0.models.RepeatWeekly
|
|
3452
|
+
| io.flow.common.v0.models.RepeatMonthly;
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
declare namespace io.flow.error.v0.enums {
|
|
3456
|
+
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
declare namespace io.flow.error.v0.models {
|
|
3460
|
+
interface GenericError {
|
|
3461
|
+
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
3462
|
+
readonly messages: string[];
|
|
3463
|
+
}
|
|
3464
|
+
}
|
|
3465
|
+
|
|
3466
|
+
declare namespace io.flow.price.v0.enums {
|
|
3467
|
+
type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
|
|
3468
|
+
type LevyStrategy = 'minimum' | 'average' | 'maximum';
|
|
3469
|
+
type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
|
|
3470
|
+
type PriceDetailComponentKey =
|
|
3471
|
+
| 'base_price'
|
|
3472
|
+
| 'discount'
|
|
3473
|
+
| 'currency_margin'
|
|
3474
|
+
| 'percent_item_margin'
|
|
3475
|
+
| 'fixed_item_margin'
|
|
3476
|
+
| 'duties_item_price'
|
|
3477
|
+
| 'duties_added_margin'
|
|
3478
|
+
| 'duties_rounding'
|
|
3479
|
+
| 'duties_deminimis'
|
|
3480
|
+
| 'vat_item_price'
|
|
3481
|
+
| 'vat_added_margin'
|
|
3482
|
+
| 'vat_rounding'
|
|
3483
|
+
| 'vat_duties_item_price'
|
|
3484
|
+
| 'vat_duties_added_margin'
|
|
3485
|
+
| 'vat_duties_rounding'
|
|
3486
|
+
| 'vat_deminimis'
|
|
3487
|
+
| 'item_price_percent_sales_margin'
|
|
3488
|
+
| 'margins_percent_sales_margin'
|
|
3489
|
+
| 'rounding_percent_sales_margin'
|
|
3490
|
+
| 'vat_percent_sales_margin'
|
|
3491
|
+
| 'vat_duty_percent_sales_margin'
|
|
3492
|
+
| 'duty_percent_sales_margin';
|
|
3493
|
+
type PriceDetailKey =
|
|
3494
|
+
| 'item_price'
|
|
3495
|
+
| 'margins'
|
|
3496
|
+
| 'vat'
|
|
3497
|
+
| 'duty'
|
|
3498
|
+
| 'rounding'
|
|
3499
|
+
| 'adjustment';
|
|
3500
|
+
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3503
|
+
declare namespace io.flow.price.v0.models {
|
|
3504
|
+
interface CurrencyFormat {
|
|
3505
|
+
readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
3506
|
+
readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
interface DeminimisPerItem {
|
|
3510
|
+
readonly discriminator: 'deminimis_per_item';
|
|
3511
|
+
readonly currency: string;
|
|
3512
|
+
readonly minimum?: number;
|
|
3513
|
+
readonly maximum?: number;
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
interface DeminimisSimple {
|
|
3517
|
+
readonly discriminator: 'deminimis_simple';
|
|
3518
|
+
readonly value?: number;
|
|
3519
|
+
readonly currency: string;
|
|
3520
|
+
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
3521
|
+
readonly minimum?: number;
|
|
3522
|
+
}
|
|
3523
|
+
|
|
3524
|
+
interface Duty {
|
|
3525
|
+
readonly rate: number;
|
|
3526
|
+
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
3527
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
3528
|
+
readonly name?: string;
|
|
3529
|
+
}
|
|
3530
|
+
|
|
3531
|
+
interface LocalPriceDetails {
|
|
3532
|
+
readonly base: io.flow.price.v0.models.PriceDetails;
|
|
3533
|
+
readonly local: io.flow.price.v0.models.PriceDetails;
|
|
3534
|
+
readonly discount?: io.flow.price.v0.models.PriceDetail;
|
|
3535
|
+
readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3538
|
+
interface PriceBook {
|
|
3539
|
+
readonly id: string;
|
|
3540
|
+
readonly key: string;
|
|
3541
|
+
readonly currency: string;
|
|
3542
|
+
readonly name: string;
|
|
3543
|
+
readonly includes: io.flow.common.v0.models.IncludedLevies;
|
|
3544
|
+
readonly status: io.flow.common.v0.enums.PriceBookStatus;
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
interface PriceBookForm {
|
|
3548
|
+
readonly currency: string;
|
|
3549
|
+
readonly name: string;
|
|
3550
|
+
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
3551
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3554
|
+
interface PriceBookItem {
|
|
3555
|
+
readonly id: string;
|
|
3556
|
+
readonly key: string;
|
|
3557
|
+
readonly price_book: io.flow.price.v0.models.PriceBookReference;
|
|
3558
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
3559
|
+
readonly item_number: string;
|
|
3560
|
+
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
3561
|
+
readonly item_attributes?: Record<string, string>;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
interface PriceBookItemForm {
|
|
3565
|
+
readonly price_book_key: string;
|
|
3566
|
+
readonly item_number: string;
|
|
3567
|
+
readonly amount: number;
|
|
3568
|
+
readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
3569
|
+
readonly item_attributes?: Record<string, string>;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
interface PriceBookItemQueryForm {
|
|
3573
|
+
readonly price_book_key: string;
|
|
3574
|
+
readonly item_query: string;
|
|
3575
|
+
readonly amount: number;
|
|
3576
|
+
readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
3577
|
+
readonly item_attributes?: Record<string, string>;
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
interface PriceBookItemSchedule {
|
|
3581
|
+
readonly starts_at: string;
|
|
3582
|
+
readonly ends_at?: string;
|
|
3583
|
+
}
|
|
3584
|
+
|
|
3585
|
+
interface PriceBookReference {
|
|
3586
|
+
readonly id: string;
|
|
3587
|
+
readonly key: string;
|
|
3588
|
+
}
|
|
3589
|
+
|
|
3590
|
+
interface PriceCheck {
|
|
3591
|
+
readonly display: io.flow.price.v0.models.LocalPriceDetails;
|
|
3592
|
+
readonly final: io.flow.price.v0.models.LocalPriceDetails;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
interface PriceDetail {
|
|
3596
|
+
readonly key: io.flow.price.v0.enums.PriceDetailKey;
|
|
3597
|
+
readonly components: io.flow.price.v0.models.PriceDetailComponent[];
|
|
3598
|
+
readonly amount: number;
|
|
3599
|
+
readonly label: string;
|
|
3600
|
+
readonly name?: string;
|
|
3601
|
+
readonly basis?: number;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
interface PriceDetailComponent {
|
|
3605
|
+
readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
|
|
3606
|
+
readonly amount: number;
|
|
3607
|
+
readonly label: string;
|
|
3608
|
+
readonly name?: string;
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
interface PriceDetails {
|
|
3612
|
+
readonly currency: string;
|
|
3613
|
+
readonly item_price: io.flow.price.v0.models.PriceDetail;
|
|
3614
|
+
readonly margins: io.flow.price.v0.models.PriceDetail;
|
|
3615
|
+
readonly vat: io.flow.price.v0.models.PriceDetail;
|
|
3616
|
+
readonly duty: io.flow.price.v0.models.PriceDetail;
|
|
3617
|
+
readonly rounding: io.flow.price.v0.models.PriceDetail;
|
|
3618
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
3619
|
+
readonly total: io.flow.common.v0.models.Price;
|
|
3620
|
+
readonly adjustment?: io.flow.price.v0.models.PriceDetail;
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
interface PriceEquation {
|
|
3624
|
+
readonly contracted_rate: number;
|
|
3625
|
+
readonly rate: number;
|
|
3626
|
+
readonly pricing: io.flow.price.v0.models.Pricing;
|
|
3627
|
+
readonly base_price: number;
|
|
3628
|
+
readonly discount: number;
|
|
3629
|
+
readonly fixed_margin: number;
|
|
3630
|
+
readonly percent_margin: number;
|
|
3631
|
+
readonly insurance: number;
|
|
3632
|
+
readonly freight: number;
|
|
3633
|
+
readonly duty?: io.flow.price.v0.models.Duty;
|
|
3634
|
+
readonly tax?: io.flow.price.v0.models.Tax;
|
|
3635
|
+
readonly percent_sales_margin: number;
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3638
|
+
interface Pricing {
|
|
3639
|
+
readonly vat: io.flow.price.v0.enums.PricingLevySetting;
|
|
3640
|
+
readonly duty: io.flow.price.v0.enums.PricingLevySetting;
|
|
3641
|
+
readonly rounding?: io.flow.common.v0.models.Rounding;
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
interface Tax {
|
|
3645
|
+
readonly name: string;
|
|
3646
|
+
readonly rate: number;
|
|
3647
|
+
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
3648
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
|
|
3652
|
+
declare namespace io.flow.price.v0.unions {
|
|
3653
|
+
type Deminimis =
|
|
3654
|
+
| io.flow.price.v0.models.DeminimisSimple
|
|
3655
|
+
| io.flow.price.v0.models.DeminimisPerItem;
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
declare namespace io.flow.reference.v0.enums {
|
|
3659
|
+
type PaymentMethodCapability = 'credit' | 'debit';
|
|
3660
|
+
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
3661
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
3662
|
+
type ProvinceType =
|
|
3663
|
+
| 'area'
|
|
3664
|
+
| 'city'
|
|
3665
|
+
| 'county'
|
|
3666
|
+
| 'department'
|
|
3667
|
+
| 'dependency'
|
|
3668
|
+
| 'district'
|
|
3669
|
+
| 'do_si'
|
|
3670
|
+
| 'emirate'
|
|
3671
|
+
| 'entity'
|
|
3672
|
+
| 'island'
|
|
3673
|
+
| 'municipality'
|
|
3674
|
+
| 'oblast'
|
|
3675
|
+
| 'outlying_area'
|
|
3676
|
+
| 'parish'
|
|
3677
|
+
| 'prefecture'
|
|
3678
|
+
| 'province'
|
|
3679
|
+
| 'state'
|
|
3680
|
+
| 'territory'
|
|
3681
|
+
| 'other';
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
declare namespace io.flow.reference.v0.models {
|
|
3685
|
+
interface Carrier {
|
|
3686
|
+
readonly id: string;
|
|
3687
|
+
readonly name: string;
|
|
3688
|
+
readonly tracking_url: string;
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
interface CarrierService {
|
|
3692
|
+
readonly id: string;
|
|
3693
|
+
readonly carrier: io.flow.reference.v0.models.Carrier;
|
|
3694
|
+
readonly name: string;
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
interface Country {
|
|
3698
|
+
readonly name: string;
|
|
3699
|
+
readonly iso_3166_2: string;
|
|
3700
|
+
readonly iso_3166_3: string;
|
|
3701
|
+
readonly languages: string[];
|
|
3702
|
+
readonly measurement_system: string;
|
|
3703
|
+
readonly default_currency?: string;
|
|
3704
|
+
readonly default_language?: string;
|
|
3705
|
+
readonly timezones: string[];
|
|
3706
|
+
readonly default_delivered_duty?: string;
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
interface Currency {
|
|
3710
|
+
readonly name: string;
|
|
3711
|
+
readonly iso_4217_3: string;
|
|
3712
|
+
readonly number_decimals: number;
|
|
3713
|
+
readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
|
|
3714
|
+
readonly default_locale?: string;
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3717
|
+
interface CurrencySymbols {
|
|
3718
|
+
readonly primary: string;
|
|
3719
|
+
readonly narrow?: string;
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
interface Language {
|
|
3723
|
+
readonly name: string;
|
|
3724
|
+
readonly iso_639_2: string;
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
interface Locale {
|
|
3728
|
+
readonly id: string;
|
|
3729
|
+
readonly name: string;
|
|
3730
|
+
readonly country: string;
|
|
3731
|
+
readonly language: string;
|
|
3732
|
+
readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
interface LocaleNumbers {
|
|
3736
|
+
readonly decimal: string;
|
|
3737
|
+
readonly group: string;
|
|
3738
|
+
}
|
|
3739
|
+
|
|
3740
|
+
interface LocalizedTranslation {
|
|
3741
|
+
readonly locale: io.flow.reference.v0.models.Locale;
|
|
3742
|
+
readonly name: string;
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
interface PaymentMethod {
|
|
3746
|
+
readonly id: string;
|
|
3747
|
+
readonly type: io.flow.reference.v0.enums.PaymentMethodType;
|
|
3748
|
+
readonly name: string;
|
|
3749
|
+
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
3750
|
+
readonly regions: string[];
|
|
3751
|
+
readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
|
|
3752
|
+
}
|
|
3753
|
+
|
|
3754
|
+
interface PaymentMethodImage {
|
|
3755
|
+
readonly url: string;
|
|
3756
|
+
readonly width: number;
|
|
3757
|
+
readonly height: number;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
interface PaymentMethodImages {
|
|
3761
|
+
readonly small: io.flow.reference.v0.models.PaymentMethodImage;
|
|
3762
|
+
readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
|
|
3763
|
+
readonly large: io.flow.reference.v0.models.PaymentMethodImage;
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3766
|
+
interface Province {
|
|
3767
|
+
readonly id: string;
|
|
3768
|
+
readonly iso_3166_2: string;
|
|
3769
|
+
readonly name: string;
|
|
3770
|
+
readonly country: string;
|
|
3771
|
+
readonly province_type: io.flow.reference.v0.enums.ProvinceType;
|
|
3772
|
+
readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3775
|
+
interface Region {
|
|
3776
|
+
readonly id: string;
|
|
3777
|
+
readonly name: string;
|
|
3778
|
+
readonly countries: string[];
|
|
3779
|
+
readonly currencies: string[];
|
|
3780
|
+
readonly languages: string[];
|
|
3781
|
+
readonly measurement_systems: string[];
|
|
3782
|
+
readonly timezones: string[];
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3785
|
+
interface Timezone {
|
|
3786
|
+
readonly name: string;
|
|
3787
|
+
readonly description: string;
|
|
3788
|
+
readonly offset: number;
|
|
3789
|
+
}
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
declare namespace io.flow.ben.test.internal.v0.models {
|
|
3793
|
+
interface GenerateLoadMultipleOrgs {
|
|
3794
|
+
readonly discriminator: 'generate_load_multiple_orgs';
|
|
3795
|
+
readonly organization_ids: string[];
|
|
3796
|
+
readonly num_events: number;
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
interface GenerateLoadSingleOrg {
|
|
3800
|
+
readonly discriminator: 'generate_load_single_org';
|
|
3801
|
+
readonly organization_id: string;
|
|
3802
|
+
readonly num_events: number;
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3805
|
+
interface Test {
|
|
3806
|
+
readonly id: string;
|
|
3807
|
+
readonly name: string;
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3810
|
+
interface TestForm {
|
|
3811
|
+
readonly name: string;
|
|
3812
|
+
}
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3815
|
+
declare namespace io.flow.ben.test.internal.v0.unions {
|
|
3816
|
+
type GenerateLoad =
|
|
3817
|
+
| io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
|
|
3818
|
+
| io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
declare namespace io.flow.fulfillment.v0.enums {
|
|
3822
|
+
type CenterCapability =
|
|
3823
|
+
| 'international'
|
|
3824
|
+
| 'domestic'
|
|
3825
|
+
| 'crossdock'
|
|
3826
|
+
| 'commercial_invoice';
|
|
3827
|
+
type DeliveryOptionCostDetailComponentKey =
|
|
3828
|
+
| 'ratecard_base_cost'
|
|
3829
|
+
| 'ratecard_ddp_fee'
|
|
3830
|
+
| 'ratecard_fuel_surcharge'
|
|
3831
|
+
| 'ratecard_oversized_shipment_fee'
|
|
3832
|
+
| 'ratecard_rural_shipment_fee'
|
|
3833
|
+
| 'ratecard_emergency_situation_surcharge_fee'
|
|
3834
|
+
| 'ratecard_peak_surcharge_fee'
|
|
3835
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
3836
|
+
| 'center_commercial_invoice_fee'
|
|
3837
|
+
| 'center_inbound_carton_fee'
|
|
3838
|
+
| 'center_outbound_carton_fee';
|
|
3839
|
+
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
3840
|
+
type DeliveryWindowComponentSource =
|
|
3841
|
+
| 'flow'
|
|
3842
|
+
| 'organization'
|
|
3843
|
+
| 'carrier'
|
|
3844
|
+
| 'center'
|
|
3845
|
+
| 'mixed';
|
|
3846
|
+
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
3847
|
+
type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
|
|
3848
|
+
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
3849
|
+
type LaneDirection = 'outbound' | 'return';
|
|
3850
|
+
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
3851
|
+
type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
|
|
3852
|
+
type PhysicalDeliverySpecialSerivce =
|
|
3853
|
+
| 'cold_storage'
|
|
3854
|
+
| 'hazardous'
|
|
3855
|
+
| 'perishable';
|
|
3856
|
+
type PreferredServiceSelectionStrategy =
|
|
3857
|
+
| 'calculated_rate'
|
|
3858
|
+
| 'flat_rate'
|
|
3859
|
+
| 'custom_rate';
|
|
3860
|
+
type QuoteErrorCode =
|
|
3861
|
+
| 'generic_error'
|
|
3862
|
+
| 'items_not_available'
|
|
3863
|
+
| 'shipping_unavailable';
|
|
3864
|
+
type RatecardOwner = 'flow' | 'organization';
|
|
3865
|
+
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
3866
|
+
type ShippingConfigurationType = 'default' | 'variant';
|
|
3867
|
+
type Strategy = 'range' | 'from' | 'to';
|
|
3868
|
+
type SurchargeResponsibleParty = 'organization' | 'customer';
|
|
3869
|
+
type TierAvailability = 'always' | 'backup';
|
|
3870
|
+
type TierEstimateType = 'calculated' | 'custom';
|
|
3871
|
+
type TierStrategy = 'fastest' | 'lowest_cost';
|
|
3872
|
+
type ZeroAmountIndicator = 'zero' | 'free';
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
declare namespace io.flow.fulfillment.v0.models {
|
|
3876
|
+
interface AmountMargin {
|
|
3877
|
+
readonly discriminator: 'amount_margin';
|
|
3878
|
+
readonly margin: io.flow.common.v0.models.Price;
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
interface AmountMarginForm {
|
|
3882
|
+
readonly discriminator: 'amount_margin_form';
|
|
3883
|
+
readonly margin: io.flow.common.v0.models.Money;
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
interface AtCost {
|
|
3887
|
+
readonly discriminator: 'at_cost';
|
|
3888
|
+
readonly ignore?: string;
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3891
|
+
interface AvailableService {
|
|
3892
|
+
readonly service: string;
|
|
3893
|
+
readonly scheduled_pickups?: io.flow.fulfillment.v0.models.ScheduledPickup[];
|
|
3894
|
+
readonly lead_days?: io.flow.fulfillment.v0.models.NumberRange;
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
interface CarrierReference {
|
|
3898
|
+
readonly id: string;
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
interface Center {
|
|
3902
|
+
readonly discriminator: 'center';
|
|
3903
|
+
readonly id: string;
|
|
3904
|
+
readonly key: string;
|
|
3905
|
+
readonly address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3906
|
+
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
3907
|
+
readonly name: string;
|
|
3908
|
+
readonly services: io.flow.fulfillment.v0.models.AvailableService[];
|
|
3909
|
+
readonly schedule: io.flow.common.v0.models.Schedule;
|
|
3910
|
+
readonly timezone: string;
|
|
3911
|
+
readonly capabilities?: io.flow.fulfillment.v0.enums.CenterCapability[];
|
|
3912
|
+
readonly partner_center?: io.flow.fulfillment.v0.models.PartnerCenter;
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
interface CenterForm {
|
|
3916
|
+
readonly address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3917
|
+
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
3918
|
+
readonly name: string;
|
|
3919
|
+
readonly services: io.flow.fulfillment.v0.models.AvailableService[];
|
|
3920
|
+
readonly schedule: io.flow.common.v0.models.Schedule;
|
|
3921
|
+
readonly timezone?: string;
|
|
3922
|
+
readonly key?: string;
|
|
3923
|
+
readonly capabilities?: io.flow.fulfillment.v0.enums.CenterCapability[];
|
|
3924
|
+
readonly partner_center_form?: io.flow.fulfillment.v0.models.PartnerCenterForm;
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
interface CenterQuery {
|
|
3928
|
+
readonly q: string;
|
|
3929
|
+
}
|
|
3930
|
+
|
|
3931
|
+
interface CenterReference {
|
|
3932
|
+
readonly discriminator: 'center_reference';
|
|
3933
|
+
readonly organization_id: string;
|
|
3934
|
+
readonly center_key: string;
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
interface CenterSummary {
|
|
3938
|
+
readonly id: string;
|
|
3939
|
+
readonly key: string;
|
|
3940
|
+
readonly address?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
interface CenterVersion {
|
|
3944
|
+
readonly id: string;
|
|
3945
|
+
readonly timestamp: string;
|
|
3946
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
3947
|
+
readonly center: io.flow.fulfillment.v0.models.Center;
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
interface CommercialInvoiceFee {
|
|
3951
|
+
readonly discriminator: 'commercial_invoice_fee';
|
|
3952
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
3953
|
+
}
|
|
3954
|
+
|
|
3955
|
+
interface CountryAvailability {
|
|
3956
|
+
readonly status: io.flow.fulfillment.v0.enums.ItemAvailabilityStatus;
|
|
3957
|
+
readonly countries: string[];
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
interface CountryShippingPricing {
|
|
3961
|
+
readonly pricing: io.flow.fulfillment.v0.models.ItemShippingPricing;
|
|
3962
|
+
readonly countries: string[];
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
interface DeliveryItem {
|
|
3966
|
+
readonly id?: string;
|
|
3967
|
+
readonly number: string;
|
|
3968
|
+
readonly quantity: number;
|
|
3969
|
+
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
3970
|
+
readonly price?: io.flow.common.v0.models.MoneyWithOptionalBase;
|
|
3971
|
+
readonly attributes?: Record<string, string>;
|
|
3972
|
+
readonly center?: string;
|
|
3973
|
+
readonly line_number?: number;
|
|
3974
|
+
}
|
|
3975
|
+
|
|
3976
|
+
interface DeliveryOption {
|
|
3977
|
+
readonly id: string;
|
|
3978
|
+
readonly cost: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
3979
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
3980
|
+
readonly price: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
3981
|
+
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
3982
|
+
readonly tier: io.flow.fulfillment.v0.models.TierSummary;
|
|
3983
|
+
readonly window: io.flow.fulfillment.v0.models.DeliveryWindow;
|
|
3984
|
+
readonly rule_outcome?: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
3985
|
+
readonly weight?: io.flow.fulfillment.v0.models.OptionWeightEstimates;
|
|
3986
|
+
readonly send_to?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3987
|
+
readonly surcharge?: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
3988
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
interface DeliveryOptionCostComponent {
|
|
3992
|
+
readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
3993
|
+
readonly currency: string;
|
|
3994
|
+
readonly amount: number;
|
|
3995
|
+
readonly label: string;
|
|
3996
|
+
readonly base?: io.flow.common.v0.models.Price;
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
interface DeliveryOptionCostDetail {
|
|
4000
|
+
readonly source: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailSource;
|
|
4001
|
+
readonly ratecard_id?: string;
|
|
4002
|
+
readonly currency: string;
|
|
4003
|
+
readonly amount: number;
|
|
4004
|
+
readonly label: string;
|
|
4005
|
+
readonly base?: io.flow.common.v0.models.Price;
|
|
4006
|
+
readonly components: io.flow.fulfillment.v0.models.DeliveryOptionCostComponent[];
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
interface DeliveryOptionForm {
|
|
4010
|
+
readonly delivery: string;
|
|
4011
|
+
readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[];
|
|
4012
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
interface DeliveryOptionReference {
|
|
4016
|
+
readonly id: string;
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
interface DeliveryOptionSummary {
|
|
4020
|
+
readonly id: string;
|
|
4021
|
+
readonly cost: io.flow.common.v0.models.Price;
|
|
4022
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
4023
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
4024
|
+
readonly service: io.flow.fulfillment.v0.models.ServiceReference;
|
|
4025
|
+
readonly tier: io.flow.fulfillment.v0.models.TierReference;
|
|
4026
|
+
readonly window: io.flow.common.v0.models.DatetimeRange;
|
|
4027
|
+
}
|
|
4028
|
+
|
|
4029
|
+
interface DeliveryOptionVersion {
|
|
4030
|
+
readonly id: string;
|
|
4031
|
+
readonly timestamp: string;
|
|
4032
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4033
|
+
readonly delivery_option: io.flow.fulfillment.v0.models.DeliveryOptionSummary;
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
interface DeliverySummary {
|
|
4037
|
+
readonly id: string;
|
|
4038
|
+
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
interface DeliveryVersion {
|
|
4042
|
+
readonly id: string;
|
|
4043
|
+
readonly timestamp: string;
|
|
4044
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4045
|
+
readonly delivery: io.flow.fulfillment.v0.models.DeliverySummary;
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
interface DeliveryWindow {
|
|
4049
|
+
readonly from: string;
|
|
4050
|
+
readonly to: string;
|
|
4051
|
+
readonly timezone?: string;
|
|
4052
|
+
readonly label?: string;
|
|
4053
|
+
readonly min_days?: number;
|
|
4054
|
+
readonly max_days?: number;
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
interface DeliveryWindowComponent {
|
|
4058
|
+
readonly from: string;
|
|
4059
|
+
readonly to: string;
|
|
4060
|
+
readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
interface DeliveryWindowComponents {
|
|
4064
|
+
readonly shipment_estimate: io.flow.fulfillment.v0.models.DeliveryWindowComponent;
|
|
4065
|
+
readonly transit_estimate: io.flow.fulfillment.v0.models.DeliveryWindowComponent;
|
|
4066
|
+
}
|
|
4067
|
+
|
|
4068
|
+
interface DeliveryWindowComponentsV2 {
|
|
4069
|
+
readonly processing_estimates: io.flow.fulfillment.v0.models.ProcessingEstimate[];
|
|
4070
|
+
readonly transit_estimates: io.flow.fulfillment.v0.models.TransitEstimate[];
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
interface DeliveryWindowSummary {
|
|
4074
|
+
readonly country: string;
|
|
4075
|
+
readonly delivery_window: io.flow.fulfillment.v0.models.DeliveryWindow;
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4078
|
+
interface DigitalDelivery {
|
|
4079
|
+
readonly discriminator: 'digital_delivery';
|
|
4080
|
+
readonly id: string;
|
|
4081
|
+
readonly key?: string;
|
|
4082
|
+
readonly items: io.flow.fulfillment.v0.models.DeliveryItem[];
|
|
4083
|
+
readonly prices?: io.flow.order.price.v0.models.OrderPriceDetail[];
|
|
4084
|
+
readonly total?: io.flow.catalog.v0.models.LocalizedTotal;
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
interface EstimatedWindow {
|
|
4088
|
+
readonly from: number;
|
|
4089
|
+
readonly to: number;
|
|
4090
|
+
readonly unit: io.flow.common.v0.enums.UnitOfTime;
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
interface FlatRate {
|
|
4094
|
+
readonly discriminator: 'flat_rate';
|
|
4095
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
4096
|
+
readonly zero_amount_indicator?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator;
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
interface FlatRateForm {
|
|
4100
|
+
readonly discriminator: 'flat_rate_form';
|
|
4101
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
4102
|
+
readonly zero_amount_indicator?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator;
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
interface FulfillmentExperienceReference {
|
|
4106
|
+
readonly id: string;
|
|
4107
|
+
readonly currency: string;
|
|
4108
|
+
}
|
|
4109
|
+
|
|
4110
|
+
interface InboundCartonFee {
|
|
4111
|
+
readonly discriminator: 'inbound_carton_fee';
|
|
4112
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
interface ItemShippingPricing {
|
|
4116
|
+
readonly min: io.flow.common.v0.models.Price;
|
|
4117
|
+
readonly max?: io.flow.common.v0.models.Price;
|
|
4118
|
+
}
|
|
4119
|
+
|
|
4120
|
+
interface NumberRange {
|
|
4121
|
+
readonly min: number;
|
|
4122
|
+
readonly max: number;
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
interface OptionWeightEstimates {
|
|
4126
|
+
readonly gravitational: io.flow.common.v0.models.Measurement;
|
|
4127
|
+
readonly dimensional: io.flow.common.v0.models.Measurement;
|
|
4128
|
+
}
|
|
4129
|
+
|
|
4130
|
+
interface OutboundCartonFee {
|
|
4131
|
+
readonly discriminator: 'outbound_carton_fee';
|
|
4132
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
interface Packaging {
|
|
4136
|
+
readonly dimensions: io.flow.common.v0.models.Dimensions;
|
|
4137
|
+
readonly name?: string;
|
|
4138
|
+
readonly number?: string;
|
|
4139
|
+
}
|
|
4140
|
+
|
|
4141
|
+
interface PartnerCenter {
|
|
4142
|
+
readonly partner_reference: io.flow.common.v0.models.PartnerReference;
|
|
4143
|
+
readonly number?: string;
|
|
4144
|
+
readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
interface PartnerCenterForm {
|
|
4148
|
+
readonly partner_id: string;
|
|
4149
|
+
readonly number?: string;
|
|
4150
|
+
readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
4151
|
+
}
|
|
4152
|
+
|
|
4153
|
+
interface PercentMargin {
|
|
4154
|
+
readonly discriminator: 'percent_margin';
|
|
4155
|
+
readonly percentage: number;
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
interface PhysicalDelivery {
|
|
4159
|
+
readonly discriminator: 'physical_delivery';
|
|
4160
|
+
readonly id: string;
|
|
4161
|
+
readonly key?: string;
|
|
4162
|
+
readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
|
|
4163
|
+
readonly fulfillment_routing?: io.flow.fulfillment.v0.enums.FulfillmentRouting;
|
|
4164
|
+
readonly ship_from_country?: string;
|
|
4165
|
+
readonly items: io.flow.fulfillment.v0.models.DeliveryItem[];
|
|
4166
|
+
readonly options: io.flow.fulfillment.v0.models.DeliveryOption[];
|
|
4167
|
+
readonly special_services?: io.flow.fulfillment.v0.enums.PhysicalDeliverySpecialSerivce[];
|
|
4168
|
+
readonly prices?: io.flow.order.price.v0.models.OrderPriceDetail[];
|
|
4169
|
+
readonly total?: io.flow.catalog.v0.models.LocalizedTotal;
|
|
4170
|
+
readonly goods_supply?: io.flow.common.v0.enums.GoodsSupply;
|
|
4171
|
+
readonly merchant_of_record_flow_entity?: io.flow.merchant.of.record.v0.enums.FlowEntity;
|
|
4172
|
+
readonly preferred_service?: io.flow.fulfillment.v0.models.PhysicalDeliveryPreferredService;
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
interface PhysicalDeliveryPreferredService {
|
|
4176
|
+
readonly id: string;
|
|
4177
|
+
readonly selection_stratey: io.flow.fulfillment.v0.enums.PreferredServiceSelectionStrategy;
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
interface PriceWithBaseAndDetails {
|
|
4181
|
+
readonly currency: string;
|
|
4182
|
+
readonly amount: number;
|
|
4183
|
+
readonly label: string;
|
|
4184
|
+
readonly base?: io.flow.common.v0.models.Price;
|
|
4185
|
+
readonly details?: io.flow.fulfillment.v0.models.DeliveryOptionCostDetail[];
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
interface ProcessingEstimate {
|
|
4189
|
+
readonly location: io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
|
|
4190
|
+
readonly min_date: string;
|
|
4191
|
+
readonly max_date: string;
|
|
4192
|
+
readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
interface Quote {
|
|
4196
|
+
readonly id: string;
|
|
4197
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
4198
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
4199
|
+
readonly selections: io.flow.fulfillment.v0.models.DeliveryOptionReference[];
|
|
4200
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
4201
|
+
readonly delivered_duties: io.flow.common.v0.enums.DeliveredDuty[];
|
|
4202
|
+
}
|
|
4203
|
+
|
|
4204
|
+
interface QuoteError {
|
|
4205
|
+
readonly code: io.flow.fulfillment.v0.enums.QuoteErrorCode;
|
|
4206
|
+
readonly messages: string[];
|
|
4207
|
+
readonly item_numbers?: string[];
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
interface QuoteForm {
|
|
4211
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
4212
|
+
readonly experience: string;
|
|
4213
|
+
readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[];
|
|
4214
|
+
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
4215
|
+
readonly delivered_duties?: io.flow.common.v0.enums.DeliveredDuty[];
|
|
4216
|
+
readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
4217
|
+
}
|
|
4218
|
+
|
|
4219
|
+
interface QuoteLineItemForm {
|
|
4220
|
+
readonly number: string;
|
|
4221
|
+
readonly quantity: number;
|
|
4222
|
+
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
4223
|
+
readonly price: io.flow.common.v0.models.MoneyWithBase;
|
|
4224
|
+
readonly attributes?: Record<string, string>;
|
|
4225
|
+
readonly center?: string;
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
interface QuoteSummary {
|
|
4229
|
+
readonly id: string;
|
|
4230
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
interface QuoteVersion {
|
|
4234
|
+
readonly id: string;
|
|
4235
|
+
readonly timestamp: string;
|
|
4236
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4237
|
+
readonly quote: io.flow.fulfillment.v0.models.QuoteSummary;
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
interface ScheduledPickup {
|
|
4241
|
+
readonly day_of_week: io.flow.common.v0.enums.DayOfWeek;
|
|
4242
|
+
readonly hour_of_day: string;
|
|
4243
|
+
readonly minute_of_hour: string;
|
|
4244
|
+
}
|
|
4245
|
+
|
|
4246
|
+
interface ServiceReference {
|
|
4247
|
+
readonly id: string;
|
|
4248
|
+
}
|
|
4249
|
+
|
|
4250
|
+
interface ServiceSummary {
|
|
4251
|
+
readonly discriminator: 'service_summary';
|
|
4252
|
+
readonly id: string;
|
|
4253
|
+
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
4254
|
+
readonly name: string;
|
|
4255
|
+
readonly center_code?: string;
|
|
4256
|
+
}
|
|
4257
|
+
|
|
4258
|
+
interface ServiceUnknown {
|
|
4259
|
+
readonly discriminator: 'service_unknown';
|
|
4260
|
+
readonly name: string;
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4263
|
+
interface ShippingAddress {
|
|
4264
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
4265
|
+
readonly location: io.flow.common.v0.models.Address;
|
|
4266
|
+
readonly center_key?: string;
|
|
4267
|
+
readonly center_reference?: io.flow.fulfillment.v0.models.CenterReference;
|
|
4268
|
+
readonly service?: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
interface ShippingConfiguration {
|
|
4272
|
+
readonly id: string;
|
|
4273
|
+
readonly name: string;
|
|
4274
|
+
readonly key: string;
|
|
4275
|
+
readonly type: io.flow.fulfillment.v0.enums.ShippingConfigurationType;
|
|
4276
|
+
readonly shipping_lanes: io.flow.fulfillment.v0.models.ShippingLane[];
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
interface ShippingConfigurationCopy {
|
|
4280
|
+
readonly original: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
4281
|
+
readonly new: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
interface ShippingConfigurationCopyForm {
|
|
4285
|
+
readonly name: string;
|
|
4286
|
+
}
|
|
4287
|
+
|
|
4288
|
+
interface ShippingConfigurationForm {
|
|
4289
|
+
readonly name: string;
|
|
4290
|
+
}
|
|
4291
|
+
|
|
4292
|
+
interface ShippingConfigurationItemAvailability {
|
|
4293
|
+
readonly id: string;
|
|
4294
|
+
readonly item: io.flow.common.v0.models.ItemReference;
|
|
4295
|
+
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationSummary;
|
|
4296
|
+
readonly availabilities: io.flow.fulfillment.v0.models.CountryAvailability[];
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
interface ShippingConfigurationItemShippingPricing {
|
|
4300
|
+
readonly id: string;
|
|
4301
|
+
readonly item: io.flow.common.v0.models.ItemReference;
|
|
4302
|
+
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationSummary;
|
|
4303
|
+
readonly country_shipping_pricings: io.flow.fulfillment.v0.models.CountryShippingPricing[];
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4306
|
+
interface ShippingConfigurationReference {
|
|
4307
|
+
readonly key: string;
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4310
|
+
interface ShippingConfigurationSummary {
|
|
4311
|
+
readonly id: string;
|
|
4312
|
+
readonly name: string;
|
|
4313
|
+
readonly key: string;
|
|
4314
|
+
readonly type: io.flow.fulfillment.v0.enums.ShippingConfigurationType;
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
interface ShippingConfigurationVersion {
|
|
4318
|
+
readonly id: string;
|
|
4319
|
+
readonly timestamp: string;
|
|
4320
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4321
|
+
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfiguration;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
interface ShippingLane {
|
|
4325
|
+
readonly id: string;
|
|
4326
|
+
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
4327
|
+
readonly region: string;
|
|
4328
|
+
readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[];
|
|
4329
|
+
readonly tiers: io.flow.fulfillment.v0.models.Tier[];
|
|
4330
|
+
readonly query: io.flow.query.builder.v0.models.Query;
|
|
4331
|
+
readonly strategy: io.flow.fulfillment.v0.enums.LaneStrategy;
|
|
4332
|
+
readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
4333
|
+
readonly preference?: io.flow.fulfillment.v0.enums.LanePreselectPreference;
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4336
|
+
interface ShippingLaneDefaultTier {
|
|
4337
|
+
readonly id: string;
|
|
4338
|
+
readonly tier: io.flow.fulfillment.v0.models.TierReference;
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
interface ShippingLaneDefaultTierForm {
|
|
4342
|
+
readonly tier_id: string;
|
|
4343
|
+
}
|
|
4344
|
+
|
|
4345
|
+
interface ShippingLaneForm {
|
|
4346
|
+
readonly from: string;
|
|
4347
|
+
readonly to: string;
|
|
4348
|
+
readonly strategy?: io.flow.fulfillment.v0.enums.LaneStrategy;
|
|
4349
|
+
readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
4350
|
+
readonly preference?: io.flow.fulfillment.v0.enums.LanePreselectPreference;
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4353
|
+
interface ShippingLaneSummary {
|
|
4354
|
+
readonly shipping_lane_id: string;
|
|
4355
|
+
readonly region: string;
|
|
4356
|
+
readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[];
|
|
4357
|
+
}
|
|
4358
|
+
|
|
4359
|
+
interface ShippingLaneVersion {
|
|
4360
|
+
readonly id: string;
|
|
4361
|
+
readonly timestamp: string;
|
|
4362
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4363
|
+
readonly shipping_lane: io.flow.fulfillment.v0.models.ShippingLane;
|
|
4364
|
+
}
|
|
4365
|
+
|
|
4366
|
+
interface SurchargeResponsiblePartyDisplay {
|
|
4367
|
+
readonly name: string;
|
|
4368
|
+
readonly responsible_party: io.flow.fulfillment.v0.enums.SurchargeResponsibleParty;
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4371
|
+
interface SurchargeSetting {
|
|
4372
|
+
readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
4373
|
+
readonly responsible_party: io.flow.fulfillment.v0.enums.SurchargeResponsibleParty;
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
interface SurchargeSettingDisplay {
|
|
4377
|
+
readonly name: string;
|
|
4378
|
+
readonly description: string;
|
|
4379
|
+
readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
4380
|
+
readonly available: io.flow.fulfillment.v0.models.SurchargeResponsiblePartyDisplay[];
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4383
|
+
interface Tier {
|
|
4384
|
+
readonly id: string;
|
|
4385
|
+
readonly direction: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
4386
|
+
readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
|
|
4387
|
+
readonly name: string;
|
|
4388
|
+
readonly message?: string;
|
|
4389
|
+
readonly rules: io.flow.fulfillment.v0.models.TierRule[];
|
|
4390
|
+
readonly services: io.flow.reference.v0.models.CarrierService[];
|
|
4391
|
+
readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy;
|
|
4392
|
+
readonly visibility: io.flow.common.v0.enums.Visibility;
|
|
4393
|
+
readonly currency: string;
|
|
4394
|
+
readonly description?: string;
|
|
4395
|
+
readonly display?: io.flow.fulfillment.v0.models.TierDisplay;
|
|
4396
|
+
readonly shipping_lane?: string;
|
|
4397
|
+
readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
|
|
4398
|
+
readonly lane?: io.flow.fulfillment.v0.models.ShippingLaneSummary;
|
|
4399
|
+
readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
|
|
4400
|
+
}
|
|
4401
|
+
|
|
4402
|
+
interface TierDisplay {
|
|
4403
|
+
readonly estimate: io.flow.fulfillment.v0.models.TierEstimate;
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
interface TierDisplayForm {
|
|
4407
|
+
readonly estimate?: io.flow.fulfillment.v0.models.TierEstimate;
|
|
4408
|
+
}
|
|
4409
|
+
|
|
4410
|
+
interface TierEstimate {
|
|
4411
|
+
readonly type: io.flow.fulfillment.v0.enums.TierEstimateType;
|
|
4412
|
+
readonly label?: string;
|
|
4413
|
+
}
|
|
4414
|
+
|
|
4415
|
+
interface TierForm {
|
|
4416
|
+
readonly currency: string;
|
|
4417
|
+
readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
|
|
4418
|
+
readonly name: string;
|
|
4419
|
+
readonly message?: string;
|
|
4420
|
+
readonly rules: io.flow.fulfillment.v0.models.TierRuleForm[];
|
|
4421
|
+
readonly services: string[];
|
|
4422
|
+
readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy;
|
|
4423
|
+
readonly visibility: io.flow.common.v0.enums.Visibility;
|
|
4424
|
+
readonly description?: string;
|
|
4425
|
+
readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
4426
|
+
readonly display?: io.flow.fulfillment.v0.models.TierDisplayForm;
|
|
4427
|
+
readonly shipping_lane: string;
|
|
4428
|
+
readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
|
|
4429
|
+
readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
interface TierReference {
|
|
4433
|
+
readonly id: string;
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
interface TierRule {
|
|
4437
|
+
readonly id: string;
|
|
4438
|
+
readonly position: number;
|
|
4439
|
+
readonly query: string;
|
|
4440
|
+
readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
4441
|
+
}
|
|
4442
|
+
|
|
4443
|
+
interface TierRuleForm {
|
|
4444
|
+
readonly position?: number;
|
|
4445
|
+
readonly query: string;
|
|
4446
|
+
readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcomeForm;
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4449
|
+
interface TierRuleVersion {
|
|
4450
|
+
readonly id: string;
|
|
4451
|
+
readonly timestamp: string;
|
|
4452
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4453
|
+
readonly tier_rule: io.flow.fulfillment.v0.models.TierRule;
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
interface TierSettings {
|
|
4457
|
+
readonly availability: io.flow.fulfillment.v0.enums.TierAvailability;
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
interface TierSummary {
|
|
4461
|
+
readonly id: string;
|
|
4462
|
+
readonly experience?: io.flow.fulfillment.v0.models.FulfillmentExperienceReference;
|
|
4463
|
+
readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
|
|
4464
|
+
readonly name: string;
|
|
4465
|
+
readonly services: string[];
|
|
4466
|
+
readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy;
|
|
4467
|
+
readonly visibility: io.flow.common.v0.enums.Visibility;
|
|
4468
|
+
readonly currency: string;
|
|
4469
|
+
readonly display?: io.flow.fulfillment.v0.models.TierDisplay;
|
|
4470
|
+
readonly message?: string;
|
|
4471
|
+
readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
|
|
4472
|
+
}
|
|
4473
|
+
|
|
4474
|
+
interface TierVersion {
|
|
4475
|
+
readonly id: string;
|
|
4476
|
+
readonly timestamp: string;
|
|
4477
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4478
|
+
readonly tier: io.flow.fulfillment.v0.models.TierSummary;
|
|
4479
|
+
}
|
|
4480
|
+
|
|
4481
|
+
interface TransitEstimate {
|
|
4482
|
+
readonly origin: io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
|
|
4483
|
+
readonly destination: io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
|
|
4484
|
+
readonly min_date: string;
|
|
4485
|
+
readonly max_date: string;
|
|
4486
|
+
readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
|
|
4487
|
+
}
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
declare namespace io.flow.fulfillment.v0.unions {
|
|
4491
|
+
type Delivery =
|
|
4492
|
+
| io.flow.fulfillment.v0.models.DigitalDelivery
|
|
4493
|
+
| io.flow.fulfillment.v0.models.PhysicalDelivery;
|
|
4494
|
+
type ExpandableCenter =
|
|
4495
|
+
| io.flow.fulfillment.v0.models.Center
|
|
4496
|
+
| io.flow.fulfillment.v0.models.CenterReference;
|
|
4497
|
+
type PartnerCenterFee =
|
|
4498
|
+
| io.flow.fulfillment.v0.models.CommercialInvoiceFee
|
|
4499
|
+
| io.flow.fulfillment.v0.models.InboundCartonFee
|
|
4500
|
+
| io.flow.fulfillment.v0.models.OutboundCartonFee;
|
|
4501
|
+
type ServiceDescription =
|
|
4502
|
+
| io.flow.fulfillment.v0.models.ServiceSummary
|
|
4503
|
+
| io.flow.fulfillment.v0.models.ServiceUnknown;
|
|
4504
|
+
type TierRuleOutcome =
|
|
4505
|
+
| io.flow.fulfillment.v0.models.AmountMargin
|
|
4506
|
+
| io.flow.fulfillment.v0.models.AtCost
|
|
4507
|
+
| io.flow.fulfillment.v0.models.FlatRate
|
|
4508
|
+
| io.flow.fulfillment.v0.models.PercentMargin;
|
|
4509
|
+
type TierRuleOutcomeForm =
|
|
4510
|
+
| io.flow.fulfillment.v0.models.AmountMarginForm
|
|
4511
|
+
| io.flow.fulfillment.v0.models.FlatRateForm
|
|
4512
|
+
| io.flow.fulfillment.v0.models.AtCost
|
|
4513
|
+
| io.flow.fulfillment.v0.models.PercentMargin;
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
declare namespace io.flow.apple.pay.v0.enums {
|
|
4517
|
+
type ApplePayContactField =
|
|
4518
|
+
| 'email'
|
|
4519
|
+
| 'name'
|
|
4520
|
+
| 'phone'
|
|
4521
|
+
| 'postalAddress'
|
|
4522
|
+
| 'phoneticName';
|
|
4523
|
+
type ApplePayLineItemType = 'final' | 'pending';
|
|
4524
|
+
type ApplePayMerchantCapability =
|
|
4525
|
+
| 'supports3DS'
|
|
4526
|
+
| 'supportsCredit'
|
|
4527
|
+
| 'supportsDebit'
|
|
4528
|
+
| 'supportsEMV';
|
|
4529
|
+
type ApplePayShippingType =
|
|
4530
|
+
| 'shipping'
|
|
4531
|
+
| 'delivery'
|
|
4532
|
+
| 'storePickup'
|
|
4533
|
+
| 'servicePickup';
|
|
4534
|
+
type ApplePaySupportedNetworks =
|
|
4535
|
+
| 'amex'
|
|
4536
|
+
| 'chinaUnionPay'
|
|
4537
|
+
| 'discover'
|
|
4538
|
+
| 'jcb'
|
|
4539
|
+
| 'masterCard'
|
|
4540
|
+
| 'privateLabel'
|
|
4541
|
+
| 'visa';
|
|
4542
|
+
}
|
|
4543
|
+
|
|
4544
|
+
declare namespace io.flow.apple.pay.v0.models {
|
|
4545
|
+
interface ApplePayLineItem {
|
|
4546
|
+
readonly label: string;
|
|
4547
|
+
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
4548
|
+
readonly amount: string;
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
interface ApplePayPaymentContact {
|
|
4552
|
+
readonly email_address?: string;
|
|
4553
|
+
readonly family_name?: string;
|
|
4554
|
+
readonly given_name?: string;
|
|
4555
|
+
readonly phone_number?: string;
|
|
4556
|
+
readonly phonetic_familyName?: string;
|
|
4557
|
+
readonly phonetic_givenName?: string;
|
|
4558
|
+
readonly address_lines?: string[];
|
|
4559
|
+
readonly locality?: string;
|
|
4560
|
+
readonly sub_locality?: string;
|
|
4561
|
+
readonly administrative_area?: string;
|
|
4562
|
+
readonly sub_administrative_area?: string;
|
|
4563
|
+
readonly postal_code?: string;
|
|
4564
|
+
readonly country?: string;
|
|
4565
|
+
readonly country_code?: string;
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4568
|
+
interface ApplePayPaymentData {
|
|
4569
|
+
readonly applicationPrimaryAccountNumber: string;
|
|
4570
|
+
readonly applicationExpirationDate: string;
|
|
4571
|
+
readonly currencyCode: string;
|
|
4572
|
+
readonly transactionAmount: number;
|
|
4573
|
+
readonly cardholderName?: string;
|
|
4574
|
+
readonly deviceManufacturerIdentifier: string;
|
|
4575
|
+
readonly paymentDataType: string;
|
|
4576
|
+
readonly paymentData: any /*object*/;
|
|
4577
|
+
}
|
|
4578
|
+
|
|
4579
|
+
interface ApplePayPaymentInfo {
|
|
4580
|
+
readonly total: io.flow.apple.pay.v0.models.ApplePayLineItem;
|
|
4581
|
+
readonly line_items?: io.flow.apple.pay.v0.models.ApplePayLineItem[];
|
|
4582
|
+
readonly country_code: string;
|
|
4583
|
+
readonly currency_code: string;
|
|
4584
|
+
readonly merchant_capabilities: io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[];
|
|
4585
|
+
readonly shipping_methods?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
|
|
4586
|
+
readonly shipping_type?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
|
|
4587
|
+
readonly supported_countries?: string[];
|
|
4588
|
+
readonly supported_networks: io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
|
|
4589
|
+
readonly required_billingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
4590
|
+
readonly required_shippingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
4591
|
+
readonly billing_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
4592
|
+
readonly shipping_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
4593
|
+
readonly application_data?: string;
|
|
4594
|
+
}
|
|
4595
|
+
|
|
4596
|
+
interface ApplePayShippingMethod {
|
|
4597
|
+
readonly label: string;
|
|
4598
|
+
readonly detail: string;
|
|
4599
|
+
readonly amount: string;
|
|
4600
|
+
readonly identifier: string;
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
|
|
4604
|
+
declare namespace io.flow.merchant.of.record.v0.enums {
|
|
4605
|
+
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
4606
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
4607
|
+
}
|
|
4608
|
+
|
|
4609
|
+
declare namespace io.flow.currency.v0.models {
|
|
4610
|
+
interface Rate {
|
|
4611
|
+
readonly id: string;
|
|
4612
|
+
readonly base: string;
|
|
4613
|
+
readonly target: string;
|
|
4614
|
+
readonly effective_at: string;
|
|
4615
|
+
readonly value: number;
|
|
4616
|
+
}
|
|
4617
|
+
|
|
4618
|
+
interface RateForm {
|
|
4619
|
+
readonly base: string;
|
|
4620
|
+
readonly target: string;
|
|
4621
|
+
readonly effective_at: string;
|
|
4622
|
+
}
|
|
4623
|
+
|
|
4624
|
+
interface RateVersion {
|
|
4625
|
+
readonly id: string;
|
|
4626
|
+
readonly timestamp: string;
|
|
4627
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4628
|
+
readonly rate: io.flow.currency.v0.models.Rate;
|
|
4629
|
+
}
|
|
4630
|
+
}
|
|
4631
|
+
|
|
4632
|
+
declare namespace io.flow.organization.v0.enums {
|
|
4633
|
+
type CountryPickerSource = 'experience' | 'destination';
|
|
4634
|
+
type EcommercePlatformType =
|
|
4635
|
+
| 'commercetools'
|
|
4636
|
+
| 'custom'
|
|
4637
|
+
| 'hybris'
|
|
4638
|
+
| 'magento'
|
|
4639
|
+
| 'shopify'
|
|
4640
|
+
| 'shopify_markets'
|
|
4641
|
+
| 'sfcc'
|
|
4642
|
+
| 'solidus'
|
|
4643
|
+
| 'workarea';
|
|
4644
|
+
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
4645
|
+
}
|
|
4646
|
+
|
|
4647
|
+
declare namespace io.flow.organization.v0.models {
|
|
4648
|
+
interface CountryPicker {
|
|
4649
|
+
readonly id: string;
|
|
4650
|
+
readonly source: io.flow.organization.v0.enums.CountryPickerSource;
|
|
4651
|
+
}
|
|
4652
|
+
|
|
4653
|
+
interface CountryPickerForm {
|
|
4654
|
+
readonly source: io.flow.organization.v0.enums.CountryPickerSource;
|
|
4655
|
+
}
|
|
4656
|
+
|
|
4657
|
+
interface EcommercePlatform {
|
|
4658
|
+
readonly id: string;
|
|
4659
|
+
readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
|
|
4660
|
+
readonly version?: string;
|
|
4661
|
+
}
|
|
4662
|
+
|
|
4663
|
+
interface EcommercePlatformForm {
|
|
4664
|
+
readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
|
|
4665
|
+
readonly version?: string;
|
|
4666
|
+
}
|
|
4667
|
+
|
|
4668
|
+
interface Invitation {
|
|
4669
|
+
readonly id: string;
|
|
4670
|
+
readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
|
|
4671
|
+
readonly email: string;
|
|
4672
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
4673
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4674
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
4675
|
+
readonly expiration: string;
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
interface InvitationError {
|
|
4679
|
+
readonly code: io.flow.organization.v0.enums.InvitationErrorCode;
|
|
4680
|
+
readonly messages: string[];
|
|
4681
|
+
}
|
|
4682
|
+
|
|
4683
|
+
interface InvitationForm {
|
|
4684
|
+
readonly organization: string;
|
|
4685
|
+
readonly email: string;
|
|
4686
|
+
readonly name?: io.flow.common.v0.models.Name;
|
|
4687
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4688
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
4689
|
+
}
|
|
4690
|
+
|
|
4691
|
+
interface InvitationVersion {
|
|
4692
|
+
readonly id: string;
|
|
4693
|
+
readonly timestamp: string;
|
|
4694
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4695
|
+
readonly invitation: io.flow.organization.v0.models.Invitation;
|
|
4696
|
+
}
|
|
4697
|
+
|
|
4698
|
+
interface Membership {
|
|
4699
|
+
readonly id: string;
|
|
4700
|
+
readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
|
|
4701
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
4702
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4703
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
4704
|
+
}
|
|
4705
|
+
|
|
4706
|
+
interface MembershipForm {
|
|
4707
|
+
readonly organization: string;
|
|
4708
|
+
readonly user: string;
|
|
4709
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4710
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
4711
|
+
}
|
|
4712
|
+
|
|
4713
|
+
interface MembershipPutForm {
|
|
4714
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4715
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
4716
|
+
}
|
|
4717
|
+
|
|
4718
|
+
interface MembershipVersion {
|
|
4719
|
+
readonly id: string;
|
|
4720
|
+
readonly timestamp: string;
|
|
4721
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4722
|
+
readonly membership: io.flow.organization.v0.models.Membership;
|
|
4723
|
+
}
|
|
4724
|
+
|
|
4725
|
+
interface OrganizationAuthorization {
|
|
4726
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
4727
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
4728
|
+
}
|
|
4729
|
+
|
|
4730
|
+
interface OrganizationAuthorizationForm {
|
|
4731
|
+
readonly organization: string;
|
|
4732
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4735
|
+
interface OrganizationConfigurationReference {
|
|
4736
|
+
readonly id: string;
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4739
|
+
interface OrganizationDefaultConfigurations {
|
|
4740
|
+
readonly id: string;
|
|
4741
|
+
readonly checkout_configuration: io.flow.organization.v0.models.OrganizationConfigurationReference;
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4744
|
+
interface OrganizationDefaultConfigurationsForm {
|
|
4745
|
+
readonly id: string;
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
interface OrganizationForm {
|
|
4749
|
+
readonly id?: string;
|
|
4750
|
+
readonly name?: string;
|
|
4751
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
4752
|
+
readonly parent_id?: string;
|
|
4753
|
+
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
4754
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
4755
|
+
readonly type?: io.flow.common.v0.enums.OrganizationType;
|
|
4756
|
+
}
|
|
4757
|
+
|
|
4758
|
+
interface OrganizationPutForm {
|
|
4759
|
+
readonly name?: string;
|
|
4760
|
+
readonly environment?: io.flow.common.v0.enums.Environment;
|
|
4761
|
+
readonly parent_id?: string;
|
|
4762
|
+
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
4763
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
4764
|
+
}
|
|
4765
|
+
|
|
4766
|
+
interface OrganizationVersion {
|
|
4767
|
+
readonly id: string;
|
|
4768
|
+
readonly timestamp: string;
|
|
4769
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4770
|
+
readonly organization: io.flow.common.v0.models.Organization;
|
|
4771
|
+
}
|
|
4772
|
+
|
|
4773
|
+
interface RegionSetting {
|
|
4774
|
+
readonly id: string;
|
|
4775
|
+
readonly region: string;
|
|
4776
|
+
readonly status: io.flow.common.v0.enums.AvailabilityStatus;
|
|
4777
|
+
}
|
|
4778
|
+
|
|
4779
|
+
interface RegionSettingForm {
|
|
4780
|
+
readonly status: io.flow.common.v0.enums.AvailabilityStatus;
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
|
|
4784
|
+
declare namespace io.flow.catalog.v0.enums {
|
|
4785
|
+
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
4786
|
+
type AttributeIntent =
|
|
4787
|
+
| 'brand'
|
|
4788
|
+
| 'color'
|
|
4789
|
+
| 'countries_of_origin'
|
|
4790
|
+
| 'product_id'
|
|
4791
|
+
| 'fulfillment_method'
|
|
4792
|
+
| 'hazardous'
|
|
4793
|
+
| 'price'
|
|
4794
|
+
| 'size'
|
|
4795
|
+
| 'sku'
|
|
4796
|
+
| 'taxability'
|
|
4797
|
+
| 'consumer_url'
|
|
4798
|
+
| 'gtin'
|
|
4799
|
+
| 'mpn'
|
|
4800
|
+
| 'facet'
|
|
4801
|
+
| 'eccn'
|
|
4802
|
+
| 'returnable'
|
|
4803
|
+
| 'searchable'
|
|
4804
|
+
| 'barcode'
|
|
4805
|
+
| 'min_days_to_ship'
|
|
4806
|
+
| 'max_days_to_ship'
|
|
4807
|
+
| 'commercial_invoice_item_number'
|
|
4808
|
+
| 'include_in_product_feeds';
|
|
4809
|
+
type FulfillmentMethodType = 'fulfillment_method';
|
|
4810
|
+
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
4811
|
+
type ImageTag = 'thumbnail' | 'checkout';
|
|
4812
|
+
type ReturnItemStatus = 'returnable' | 'non-returnable';
|
|
4813
|
+
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
4814
|
+
type TaxabilityType = 'tax_rule';
|
|
4815
|
+
type TaxabilityValue = 'exempt';
|
|
4816
|
+
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
4817
|
+
}
|
|
4818
|
+
|
|
4819
|
+
declare namespace io.flow.catalog.v0.models {
|
|
4820
|
+
interface AdjustmentReason {
|
|
4821
|
+
readonly key: io.flow.catalog.v0.enums.AdjustmentReasonKey;
|
|
4822
|
+
readonly label: string;
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4825
|
+
interface Attribute {
|
|
4826
|
+
readonly id: string;
|
|
4827
|
+
readonly key: string;
|
|
4828
|
+
readonly options: io.flow.catalog.v0.models.Options;
|
|
4829
|
+
readonly label?: string;
|
|
4830
|
+
readonly intent?: io.flow.catalog.v0.enums.AttributeIntent;
|
|
4831
|
+
readonly type?: io.flow.common.v0.enums.AttributeDataType;
|
|
4832
|
+
readonly position?: number;
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4835
|
+
interface AttributeForm {
|
|
4836
|
+
readonly key: string;
|
|
4837
|
+
readonly options: io.flow.catalog.v0.models.Options;
|
|
4838
|
+
readonly label?: string;
|
|
4839
|
+
readonly intent?: io.flow.catalog.v0.enums.AttributeIntent;
|
|
4840
|
+
readonly type?: io.flow.common.v0.enums.AttributeDataType;
|
|
4841
|
+
readonly position?: number;
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
interface AttributeVersion {
|
|
4845
|
+
readonly id: string;
|
|
4846
|
+
readonly timestamp: string;
|
|
4847
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4848
|
+
readonly attribute: io.flow.catalog.v0.models.Attribute;
|
|
4849
|
+
}
|
|
4850
|
+
|
|
4851
|
+
interface Catalog {
|
|
4852
|
+
readonly id: string;
|
|
4853
|
+
}
|
|
4854
|
+
|
|
4855
|
+
interface CatalogReference {
|
|
4856
|
+
readonly id: string;
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4859
|
+
interface CatalogStatistics {
|
|
4860
|
+
readonly id: string;
|
|
4861
|
+
readonly items: number;
|
|
4862
|
+
readonly categories: number;
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
interface CatalogVersion {
|
|
4866
|
+
readonly id: string;
|
|
4867
|
+
readonly timestamp: string;
|
|
4868
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4869
|
+
readonly catalog: io.flow.catalog.v0.models.Catalog;
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
interface FlowItemIndexMetadata {
|
|
4873
|
+
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
interface Image {
|
|
4877
|
+
readonly url: string;
|
|
4878
|
+
readonly tags: io.flow.catalog.v0.enums.ImageTag[];
|
|
4879
|
+
readonly attributes?: Record<string, string>;
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
interface ImageForm {
|
|
4883
|
+
readonly url: string;
|
|
4884
|
+
readonly tags?: io.flow.catalog.v0.enums.ImageTag[];
|
|
4885
|
+
readonly attributes?: Record<string, string>;
|
|
4886
|
+
}
|
|
4887
|
+
|
|
4888
|
+
interface Item {
|
|
4889
|
+
readonly id: string;
|
|
4890
|
+
readonly number: string;
|
|
4891
|
+
readonly locale: string;
|
|
4892
|
+
readonly name: string;
|
|
4893
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
4894
|
+
readonly categories: string[];
|
|
4895
|
+
readonly description?: string;
|
|
4896
|
+
readonly attributes: Record<string, string>;
|
|
4897
|
+
readonly dimensions: io.flow.common.v0.models.Dimensions;
|
|
4898
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
4899
|
+
readonly local?: io.flow.catalog.v0.models.Local;
|
|
4900
|
+
readonly created_at?: string;
|
|
4901
|
+
readonly updated_at?: string;
|
|
4902
|
+
readonly deleted_at?: string;
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
interface ItemAttributesPatchForm {
|
|
4906
|
+
readonly attributes: Record<string, string>;
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
interface ItemForm {
|
|
4910
|
+
readonly number: string;
|
|
4911
|
+
readonly locale: string;
|
|
4912
|
+
readonly name: string;
|
|
4913
|
+
readonly currency: string;
|
|
4914
|
+
readonly price: number;
|
|
4915
|
+
readonly categories?: string[];
|
|
4916
|
+
readonly description?: string;
|
|
4917
|
+
readonly attributes?: Record<string, string>;
|
|
4918
|
+
readonly dimensions?: io.flow.common.v0.models.Dimensions;
|
|
4919
|
+
readonly images?: io.flow.catalog.v0.models.ImageForm[];
|
|
4920
|
+
readonly deleted_at?: string;
|
|
4921
|
+
}
|
|
4922
|
+
|
|
4923
|
+
interface ItemFormOverlay {
|
|
4924
|
+
readonly id: string;
|
|
4925
|
+
readonly number: string;
|
|
4926
|
+
readonly key: string;
|
|
4927
|
+
readonly position: number;
|
|
4928
|
+
readonly price?: io.flow.common.v0.models.Price;
|
|
4929
|
+
readonly categories?: string[];
|
|
4930
|
+
readonly description?: string;
|
|
4931
|
+
readonly attributes?: Record<string, string>;
|
|
4932
|
+
readonly dimensions?: io.flow.common.v0.models.Dimensions;
|
|
4933
|
+
readonly images?: io.flow.catalog.v0.models.ImageForm[];
|
|
4934
|
+
readonly deleted_at?: string;
|
|
4935
|
+
}
|
|
4936
|
+
|
|
4937
|
+
interface ItemFormOverlayForm {
|
|
4938
|
+
readonly number: string;
|
|
4939
|
+
readonly price?: number;
|
|
4940
|
+
readonly currency?: string;
|
|
4941
|
+
readonly position?: number;
|
|
4942
|
+
readonly categories?: string[];
|
|
4943
|
+
readonly description?: string;
|
|
4944
|
+
readonly attributes?: Record<string, string>;
|
|
4945
|
+
readonly dimensions?: io.flow.common.v0.models.Dimensions;
|
|
4946
|
+
readonly images?: io.flow.catalog.v0.models.ImageForm[];
|
|
4947
|
+
readonly deleted_at?: string;
|
|
4948
|
+
}
|
|
4949
|
+
|
|
4950
|
+
interface ItemPriceUpdateForm {
|
|
4951
|
+
readonly number: string;
|
|
4952
|
+
readonly currency?: string;
|
|
4953
|
+
readonly price: number;
|
|
4954
|
+
readonly attributes: Record<string, string>;
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
interface ItemPriceUpdatePutForm {
|
|
4958
|
+
readonly currency?: string;
|
|
4959
|
+
readonly price: number;
|
|
4960
|
+
readonly attributes: Record<string, string>;
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
interface ItemStatistics {
|
|
4964
|
+
readonly items: number;
|
|
4965
|
+
readonly categories: number;
|
|
4966
|
+
}
|
|
4967
|
+
|
|
4968
|
+
interface ItemVersion {
|
|
4969
|
+
readonly id: string;
|
|
4970
|
+
readonly timestamp: string;
|
|
4971
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4972
|
+
readonly item: io.flow.catalog.v0.models.Item;
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
interface Local {
|
|
4976
|
+
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
4977
|
+
readonly prices: io.flow.catalog.v0.unions.LocalizedPrice[];
|
|
4978
|
+
readonly rates: io.flow.currency.v0.models.Rate[];
|
|
4979
|
+
readonly spot_rates: any /*object*/[];
|
|
4980
|
+
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
4981
|
+
readonly attributes?: Record<string, string>;
|
|
4982
|
+
readonly price_attributes?: Record<
|
|
4983
|
+
string,
|
|
4984
|
+
io.flow.common.v0.models.PriceWithBase
|
|
4985
|
+
>;
|
|
4986
|
+
}
|
|
4987
|
+
|
|
4988
|
+
interface LocalizedAdjustment {
|
|
4989
|
+
readonly currency: string;
|
|
4990
|
+
readonly amount: number;
|
|
4991
|
+
readonly label: string;
|
|
4992
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
4993
|
+
readonly reason: io.flow.catalog.v0.models.AdjustmentReason;
|
|
4994
|
+
}
|
|
4995
|
+
|
|
4996
|
+
interface LocalizedItemDuty {
|
|
4997
|
+
readonly key: 'localized_item_duty';
|
|
4998
|
+
readonly currency: string;
|
|
4999
|
+
readonly amount: number;
|
|
5000
|
+
readonly label: string;
|
|
5001
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
5002
|
+
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
5003
|
+
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
interface LocalizedItemPrice {
|
|
5007
|
+
readonly key: 'localized_item_price';
|
|
5008
|
+
readonly currency: string;
|
|
5009
|
+
readonly amount: number;
|
|
5010
|
+
readonly label: string;
|
|
5011
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
5012
|
+
readonly includes?: io.flow.common.v0.models.IncludedLevies;
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
interface LocalizedItemVat {
|
|
5016
|
+
readonly key: 'localized_item_vat';
|
|
5017
|
+
readonly currency: string;
|
|
5018
|
+
readonly amount: number;
|
|
5019
|
+
readonly label: string;
|
|
5020
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
5021
|
+
readonly name: string;
|
|
5022
|
+
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
5023
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
5024
|
+
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
5025
|
+
}
|
|
5026
|
+
|
|
5027
|
+
interface LocalizedTotal {
|
|
5028
|
+
readonly key: 'localized_total';
|
|
5029
|
+
readonly currency: string;
|
|
5030
|
+
readonly amount: number;
|
|
5031
|
+
readonly label: string;
|
|
5032
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5035
|
+
interface Options {
|
|
5036
|
+
readonly required: boolean;
|
|
5037
|
+
readonly show_in_catalog: boolean;
|
|
5038
|
+
readonly show_in_harmonization: boolean;
|
|
5039
|
+
}
|
|
5040
|
+
|
|
5041
|
+
interface Subcatalog {
|
|
5042
|
+
readonly discriminator: 'subcatalog';
|
|
5043
|
+
readonly id: string;
|
|
5044
|
+
readonly catalog: io.flow.catalog.v0.models.Catalog;
|
|
5045
|
+
readonly settings: io.flow.catalog.v0.models.SubcatalogSettings;
|
|
5046
|
+
}
|
|
5047
|
+
|
|
5048
|
+
interface SubcatalogForm {
|
|
5049
|
+
readonly settings?: io.flow.catalog.v0.models.SubcatalogSettingsForm;
|
|
5050
|
+
}
|
|
5051
|
+
|
|
5052
|
+
interface SubcatalogItem {
|
|
5053
|
+
readonly id: string;
|
|
5054
|
+
readonly item: io.flow.catalog.v0.models.Item;
|
|
5055
|
+
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
interface SubcatalogItemVersion {
|
|
5059
|
+
readonly id: string;
|
|
5060
|
+
readonly timestamp: string;
|
|
5061
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
5062
|
+
readonly subcatalog_item: io.flow.catalog.v0.models.SubcatalogItem;
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
interface SubcatalogReference {
|
|
5066
|
+
readonly discriminator: 'subcatalog_reference';
|
|
5067
|
+
readonly id: string;
|
|
5068
|
+
}
|
|
5069
|
+
|
|
5070
|
+
interface SubcatalogSettings {
|
|
5071
|
+
readonly update_policy: io.flow.catalog.v0.enums.UpdatePolicy;
|
|
5072
|
+
}
|
|
5073
|
+
|
|
5074
|
+
interface SubcatalogSettingsForm {
|
|
5075
|
+
readonly update_policy?: io.flow.catalog.v0.enums.UpdatePolicy;
|
|
5076
|
+
}
|
|
5077
|
+
|
|
5078
|
+
interface SubcatalogStatistics {
|
|
5079
|
+
readonly excluded: io.flow.catalog.v0.models.ItemStatistics;
|
|
5080
|
+
readonly included: io.flow.catalog.v0.models.ItemStatistics;
|
|
5081
|
+
readonly restricted: io.flow.catalog.v0.models.ItemStatistics;
|
|
5082
|
+
readonly queue: io.flow.catalog.v0.models.ItemStatistics;
|
|
5083
|
+
readonly catalog: io.flow.catalog.v0.models.CatalogStatistics;
|
|
5084
|
+
}
|
|
5085
|
+
|
|
5086
|
+
interface SubcatalogVersion {
|
|
5087
|
+
readonly id: string;
|
|
5088
|
+
readonly timestamp: string;
|
|
5089
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
5090
|
+
readonly subcatalog: io.flow.catalog.v0.models.Subcatalog;
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5093
|
+
|
|
5094
|
+
declare namespace io.flow.catalog.v0.unions {
|
|
5095
|
+
type ExpandableSubcatalog =
|
|
5096
|
+
| io.flow.catalog.v0.models.Subcatalog
|
|
5097
|
+
| io.flow.catalog.v0.models.SubcatalogReference;
|
|
5098
|
+
type LocalizedPrice =
|
|
5099
|
+
| io.flow.catalog.v0.models.LocalizedItemPrice
|
|
5100
|
+
| io.flow.catalog.v0.models.LocalizedItemVat
|
|
5101
|
+
| io.flow.catalog.v0.models.LocalizedItemDuty
|
|
5102
|
+
| io.flow.catalog.v0.models.LocalizedTotal;
|
|
5103
|
+
}
|
|
5104
|
+
|
|
5105
|
+
declare namespace io.flow.inventory.v0.enums {
|
|
5106
|
+
type Aggregate = 'maximum' | 'minimum';
|
|
5107
|
+
type InventoryStatus = 'has_inventory' | 'no_inventory';
|
|
5108
|
+
type UpdateType = 'change' | 'set';
|
|
5109
|
+
}
|
|
5110
|
+
|
|
5111
|
+
declare namespace io.flow.inventory.v0.models {
|
|
5112
|
+
interface ExternalApiTimeoutReservationError {
|
|
5113
|
+
readonly code: 'external_api_timeout';
|
|
5114
|
+
readonly messages: string[];
|
|
5115
|
+
}
|
|
5116
|
+
|
|
5117
|
+
interface GenericReservationError {
|
|
5118
|
+
readonly code: 'generic_reservation_error';
|
|
5119
|
+
readonly messages: string[];
|
|
5120
|
+
}
|
|
5121
|
+
|
|
5122
|
+
interface InventoryBackorder {
|
|
5123
|
+
readonly discriminator: 'inventory_backorder';
|
|
5124
|
+
readonly quantity: number;
|
|
5125
|
+
}
|
|
5126
|
+
|
|
5127
|
+
interface InventoryCenterReference {
|
|
5128
|
+
readonly key: string;
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
interface InventoryCheckResponse {
|
|
5132
|
+
readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[];
|
|
5133
|
+
}
|
|
5134
|
+
|
|
5135
|
+
interface InventoryCheckResponseItem {
|
|
5136
|
+
readonly number: string;
|
|
5137
|
+
readonly quantity: number;
|
|
5138
|
+
readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus;
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
interface InventoryExperienceReference {
|
|
5142
|
+
readonly key: string;
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5145
|
+
interface InventoryFollowEcommercePlatform {
|
|
5146
|
+
readonly discriminator: 'inventory_follow_ecommerce_platform';
|
|
5147
|
+
readonly quantity: number;
|
|
5148
|
+
}
|
|
5149
|
+
|
|
5150
|
+
interface InventoryItemReference {
|
|
5151
|
+
readonly number: string;
|
|
5152
|
+
}
|
|
5153
|
+
|
|
5154
|
+
interface InventoryRequest {
|
|
5155
|
+
readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
interface InventoryRequestItem {
|
|
5159
|
+
readonly number: string;
|
|
5160
|
+
readonly quantity: number;
|
|
5161
|
+
}
|
|
5162
|
+
|
|
5163
|
+
interface InventoryRule {
|
|
5164
|
+
readonly id: string;
|
|
5165
|
+
readonly position: number;
|
|
5166
|
+
readonly query: string;
|
|
5167
|
+
readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
|
|
5168
|
+
}
|
|
5169
|
+
|
|
5170
|
+
interface InventoryRuleForm {
|
|
5171
|
+
readonly position: number;
|
|
5172
|
+
readonly query: string;
|
|
5173
|
+
readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
interface InventoryRuleVersion {
|
|
5177
|
+
readonly id: string;
|
|
5178
|
+
readonly timestamp: string;
|
|
5179
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
5180
|
+
readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
|
|
5181
|
+
}
|
|
5182
|
+
|
|
5183
|
+
interface InventorySnapshot {
|
|
5184
|
+
readonly id: string;
|
|
5185
|
+
readonly available: number;
|
|
5186
|
+
readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
|
|
5187
|
+
readonly item: io.flow.inventory.v0.models.InventoryItemReference;
|
|
5188
|
+
readonly quantity: number;
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
interface InventorySnapshotVersion {
|
|
5192
|
+
readonly id: string;
|
|
5193
|
+
readonly timestamp: string;
|
|
5194
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
5195
|
+
readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
interface InventoryStock {
|
|
5199
|
+
readonly discriminator: 'inventory_stock';
|
|
5200
|
+
readonly quantity: number;
|
|
5201
|
+
}
|
|
5202
|
+
|
|
5203
|
+
interface InventoryUnlimited {
|
|
5204
|
+
readonly discriminator: 'inventory_unlimited';
|
|
5205
|
+
readonly placeholder?: string;
|
|
5206
|
+
}
|
|
5207
|
+
|
|
5208
|
+
interface InventoryUpdate {
|
|
5209
|
+
readonly id: string;
|
|
5210
|
+
readonly idempotency_key: string;
|
|
5211
|
+
readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
|
|
5212
|
+
readonly item: io.flow.inventory.v0.models.InventoryItemReference;
|
|
5213
|
+
readonly notes: any /*object*/;
|
|
5214
|
+
readonly quantity: number;
|
|
5215
|
+
readonly type: io.flow.inventory.v0.enums.UpdateType;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
interface InventoryUpdateForm {
|
|
5219
|
+
readonly center: string;
|
|
5220
|
+
readonly idempotency_key: string;
|
|
5221
|
+
readonly item_number: string;
|
|
5222
|
+
readonly quantity: number;
|
|
5223
|
+
readonly type: io.flow.inventory.v0.enums.UpdateType;
|
|
5224
|
+
readonly notes?: any /*object*/;
|
|
5225
|
+
}
|
|
5226
|
+
|
|
5227
|
+
interface InventoryUpdateVersion {
|
|
5228
|
+
readonly id: string;
|
|
5229
|
+
readonly timestamp: string;
|
|
5230
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
5231
|
+
readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
interface NoInventoryReservationError {
|
|
5235
|
+
readonly code: 'no_inventory';
|
|
5236
|
+
readonly messages: string[];
|
|
5237
|
+
readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
|
|
5238
|
+
}
|
|
5239
|
+
|
|
5240
|
+
interface NoInventoryReservationErrorItem {
|
|
5241
|
+
readonly number: string;
|
|
5242
|
+
readonly requested_quantity: number;
|
|
5243
|
+
readonly available_quantity: number;
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
interface PfsInventoryCheckResponse {
|
|
5247
|
+
readonly items: Record<
|
|
5248
|
+
string,
|
|
5249
|
+
io.flow.inventory.v0.models.PfsInventoryCheckResponseItem
|
|
5250
|
+
>;
|
|
5251
|
+
}
|
|
5252
|
+
|
|
5253
|
+
interface PfsInventoryCheckResponseItem {
|
|
5254
|
+
readonly number: string;
|
|
5255
|
+
readonly ats: number;
|
|
5256
|
+
readonly in_stock: boolean;
|
|
5257
|
+
}
|
|
5258
|
+
|
|
5259
|
+
interface PfsInventoryStatus {
|
|
5260
|
+
readonly status: string;
|
|
5261
|
+
}
|
|
5262
|
+
|
|
5263
|
+
interface Reservation {
|
|
5264
|
+
readonly id: string;
|
|
5265
|
+
readonly key: string;
|
|
5266
|
+
readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
|
|
5267
|
+
readonly items: io.flow.inventory.v0.models.ReservationItem[];
|
|
5268
|
+
readonly reserved_until?: string;
|
|
5269
|
+
}
|
|
5270
|
+
|
|
5271
|
+
interface ReservationForm {
|
|
5272
|
+
readonly order_number?: string;
|
|
5273
|
+
readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
|
|
5274
|
+
}
|
|
5275
|
+
|
|
5276
|
+
interface ReservationItem {
|
|
5277
|
+
readonly item: io.flow.inventory.v0.models.ReservationItemReference;
|
|
5278
|
+
readonly quantity: number;
|
|
5279
|
+
}
|
|
5280
|
+
|
|
5281
|
+
interface ReservationItemForm {
|
|
5282
|
+
readonly item_number: string;
|
|
5283
|
+
readonly quantity: number;
|
|
5284
|
+
}
|
|
5285
|
+
|
|
5286
|
+
interface ReservationItemReference {
|
|
5287
|
+
readonly number: string;
|
|
5288
|
+
}
|
|
5289
|
+
|
|
5290
|
+
interface ReservationOrderReference {
|
|
5291
|
+
readonly number: string;
|
|
5292
|
+
}
|
|
5293
|
+
}
|
|
5294
|
+
|
|
5295
|
+
declare namespace io.flow.inventory.v0.unions {
|
|
5296
|
+
type InventoryStrategy =
|
|
5297
|
+
| io.flow.inventory.v0.models.InventoryBackorder
|
|
5298
|
+
| io.flow.inventory.v0.models.InventoryStock
|
|
5299
|
+
| io.flow.inventory.v0.models.InventoryUnlimited
|
|
5300
|
+
| io.flow.inventory.v0.models.InventoryFollowEcommercePlatform;
|
|
5301
|
+
type ReservationError =
|
|
5302
|
+
| io.flow.inventory.v0.models.NoInventoryReservationError
|
|
5303
|
+
| io.flow.inventory.v0.models.ExternalApiTimeoutReservationError
|
|
5304
|
+
| io.flow.inventory.v0.models.GenericReservationError;
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5307
|
+
declare namespace io.flow.permission.v0.enums {
|
|
5308
|
+
type AuthenticationTechnique =
|
|
5309
|
+
| 'anonymous'
|
|
5310
|
+
| 'session'
|
|
5311
|
+
| 'token'
|
|
5312
|
+
| 'partner_token'
|
|
5313
|
+
| 'user';
|
|
5314
|
+
type FlowBehavior = 'view_consumer_data';
|
|
5315
|
+
type FlowRole =
|
|
5316
|
+
| 'organization_admin'
|
|
5317
|
+
| 'organization_merchant'
|
|
5318
|
+
| 'organization_customer_service'
|
|
5319
|
+
| 'organization_fulfillment'
|
|
5320
|
+
| 'organization_marketing'
|
|
5321
|
+
| 'organization_finance'
|
|
5322
|
+
| 'organization_classification'
|
|
5323
|
+
| 'flow_operations'
|
|
5324
|
+
| 'channel_admin'
|
|
5325
|
+
| 'channel_organization_admin';
|
|
5326
|
+
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
declare namespace io.flow.permission.v0.models {
|
|
5330
|
+
interface BehaviorAudit {
|
|
5331
|
+
readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
|
|
5332
|
+
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
5333
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
5334
|
+
}
|
|
5335
|
+
|
|
5336
|
+
interface PermissionAudit {
|
|
5337
|
+
readonly routes: io.flow.permission.v0.models.RouteAudit[];
|
|
5338
|
+
readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
interface PermissionCheck {
|
|
5342
|
+
readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
5343
|
+
readonly user?: io.flow.common.v0.unions.ExpandableUser;
|
|
5344
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
5345
|
+
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
5346
|
+
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
5347
|
+
}
|
|
5348
|
+
|
|
5349
|
+
interface PermittedRoute {
|
|
5350
|
+
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
5351
|
+
readonly path: string;
|
|
5352
|
+
}
|
|
5353
|
+
|
|
5354
|
+
interface RouteAudit {
|
|
5355
|
+
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
5356
|
+
readonly path: string;
|
|
5357
|
+
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
5358
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
5359
|
+
}
|
|
5360
|
+
|
|
5361
|
+
interface SimplePermissionCheck {
|
|
5362
|
+
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
declare namespace io.flow.query.builder.v0.enums {
|
|
5367
|
+
type AvailableFilterFormat =
|
|
5368
|
+
| 'boolean'
|
|
5369
|
+
| 'date'
|
|
5370
|
+
| 'money'
|
|
5371
|
+
| 'decimal'
|
|
5372
|
+
| 'string'
|
|
5373
|
+
| 'unit_of_length'
|
|
5374
|
+
| 'unit_of_mass';
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
declare namespace io.flow.query.builder.v0.models {
|
|
5378
|
+
interface AvailableFilterStructured {
|
|
5379
|
+
readonly discriminator: 'structured';
|
|
5380
|
+
readonly field: string;
|
|
5381
|
+
readonly operators: string[];
|
|
5382
|
+
readonly format: io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
5383
|
+
readonly valid_values?: string[];
|
|
5384
|
+
readonly placeholder?: string;
|
|
5385
|
+
}
|
|
5386
|
+
|
|
5387
|
+
interface AvailableFilterUnstructured {
|
|
5388
|
+
readonly discriminator: 'unstructured';
|
|
5389
|
+
readonly placeholder?: string;
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5392
|
+
interface Query {
|
|
5393
|
+
readonly q: string;
|
|
5394
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
interface QueryBuilder {
|
|
5398
|
+
readonly q: string;
|
|
5399
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
5400
|
+
readonly available: io.flow.query.builder.v0.unions.AvailableFilter[];
|
|
5401
|
+
}
|
|
5402
|
+
|
|
5403
|
+
interface QueryBuilderFilterForm {
|
|
5404
|
+
readonly discriminator: 'filter';
|
|
5405
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
2948
5406
|
}
|
|
2949
5407
|
|
|
2950
|
-
interface
|
|
2951
|
-
readonly
|
|
2952
|
-
readonly
|
|
2953
|
-
readonly currencyCode: string;
|
|
2954
|
-
readonly transactionAmount: number;
|
|
2955
|
-
readonly cardholderName?: string;
|
|
2956
|
-
readonly deviceManufacturerIdentifier: string;
|
|
2957
|
-
readonly paymentDataType: string;
|
|
2958
|
-
readonly paymentData: any /*object*/;
|
|
5408
|
+
interface QueryBuilderQueryForm {
|
|
5409
|
+
readonly discriminator: 'query';
|
|
5410
|
+
readonly q: string;
|
|
2959
5411
|
}
|
|
2960
5412
|
|
|
2961
|
-
interface
|
|
2962
|
-
readonly
|
|
2963
|
-
readonly
|
|
2964
|
-
readonly
|
|
2965
|
-
readonly
|
|
2966
|
-
readonly
|
|
2967
|
-
readonly shipping_methods?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
|
|
2968
|
-
readonly shipping_type?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
|
|
2969
|
-
readonly supported_countries?: string[];
|
|
2970
|
-
readonly supported_networks: io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
|
|
2971
|
-
readonly required_billingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
2972
|
-
readonly required_shippingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
2973
|
-
readonly billing_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
2974
|
-
readonly shipping_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
2975
|
-
readonly application_data?: string;
|
|
5413
|
+
interface QueryFilterStructured {
|
|
5414
|
+
readonly discriminator: 'structured';
|
|
5415
|
+
readonly q: string;
|
|
5416
|
+
readonly field: string;
|
|
5417
|
+
readonly operator: string;
|
|
5418
|
+
readonly values: string[];
|
|
2976
5419
|
}
|
|
2977
5420
|
|
|
2978
|
-
interface
|
|
2979
|
-
readonly
|
|
2980
|
-
readonly
|
|
2981
|
-
readonly
|
|
2982
|
-
readonly
|
|
5421
|
+
interface QueryFilterStructuredForm {
|
|
5422
|
+
readonly discriminator: 'structured';
|
|
5423
|
+
readonly field: string;
|
|
5424
|
+
readonly operator: string;
|
|
5425
|
+
readonly values: string[];
|
|
5426
|
+
}
|
|
5427
|
+
|
|
5428
|
+
interface QueryFilterUnstructured {
|
|
5429
|
+
readonly discriminator: 'unstructured';
|
|
5430
|
+
readonly q: string;
|
|
5431
|
+
}
|
|
5432
|
+
|
|
5433
|
+
interface QueryFilterUnstructuredForm {
|
|
5434
|
+
readonly discriminator: 'unstructured';
|
|
5435
|
+
readonly q: string;
|
|
2983
5436
|
}
|
|
2984
5437
|
}
|
|
2985
5438
|
|
|
5439
|
+
declare namespace io.flow.query.builder.v0.unions {
|
|
5440
|
+
type AvailableFilter =
|
|
5441
|
+
| io.flow.query.builder.v0.models.AvailableFilterStructured
|
|
5442
|
+
| io.flow.query.builder.v0.models.AvailableFilterUnstructured;
|
|
5443
|
+
type QueryBuilderForm =
|
|
5444
|
+
| io.flow.query.builder.v0.models.QueryBuilderFilterForm
|
|
5445
|
+
| io.flow.query.builder.v0.models.QueryBuilderQueryForm;
|
|
5446
|
+
type QueryFilter =
|
|
5447
|
+
| io.flow.query.builder.v0.models.QueryFilterStructured
|
|
5448
|
+
| io.flow.query.builder.v0.models.QueryFilterUnstructured;
|
|
5449
|
+
type QueryFilterForm =
|
|
5450
|
+
| io.flow.query.builder.v0.models.QueryFilterStructuredForm
|
|
5451
|
+
| io.flow.query.builder.v0.models.QueryFilterUnstructuredForm;
|
|
5452
|
+
}
|
|
5453
|
+
|
|
2986
5454
|
declare namespace io.flow.v0.enums {
|
|
2987
5455
|
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
2988
5456
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
@@ -3004,7 +5472,6 @@ declare namespace io.flow.v0.enums {
|
|
|
3004
5472
|
| 'not_checked'
|
|
3005
5473
|
| 'not_matched';
|
|
3006
5474
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
3007
|
-
type Aggregate = 'maximum' | 'minimum';
|
|
3008
5475
|
type AttributeDataType =
|
|
3009
5476
|
| 'boolean'
|
|
3010
5477
|
| 'integer'
|
|
@@ -3194,7 +5661,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3194
5661
|
| 'solidus'
|
|
3195
5662
|
| 'workarea';
|
|
3196
5663
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
3197
|
-
type EntityIdentifierType = 'ioss' | 'voec';
|
|
5664
|
+
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
3198
5665
|
type Environment = 'sandbox' | 'production';
|
|
3199
5666
|
type EventType =
|
|
3200
5667
|
| 'test_upserted'
|
|
@@ -3322,10 +5789,6 @@ declare namespace io.flow.v0.enums {
|
|
|
3322
5789
|
| 'fully_harmonized_item_upserted'
|
|
3323
5790
|
| 'import_completed_v2'
|
|
3324
5791
|
| 'import_failed_v2'
|
|
3325
|
-
| 'rule_upserted'
|
|
3326
|
-
| 'rule_deleted'
|
|
3327
|
-
| 'snapshot_upserted'
|
|
3328
|
-
| 'snapshot_deleted'
|
|
3329
5792
|
| 'label_upserted'
|
|
3330
5793
|
| 'label_deleted_v2'
|
|
3331
5794
|
| 'label_upserted_v2'
|
|
@@ -3476,6 +5939,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3476
5939
|
| 'DES'
|
|
3477
5940
|
| 'DEQ'
|
|
3478
5941
|
| 'DDU';
|
|
5942
|
+
type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
|
|
3479
5943
|
type InlineWindowViewportSize =
|
|
3480
5944
|
| 'xxx_small'
|
|
3481
5945
|
| 'xx_small'
|
|
@@ -3484,7 +5948,6 @@ declare namespace io.flow.v0.enums {
|
|
|
3484
5948
|
| 'fullscreen'
|
|
3485
5949
|
| 'responsive';
|
|
3486
5950
|
type InputSpecificationType = 'text' | 'number';
|
|
3487
|
-
type InventoryStatus = 'has_inventory' | 'no_inventory';
|
|
3488
5951
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
3489
5952
|
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
3490
5953
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
@@ -4065,7 +6528,6 @@ declare namespace io.flow.v0.enums {
|
|
|
4065
6528
|
type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
|
|
4066
6529
|
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
4067
6530
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
4068
|
-
type UpdateType = 'change' | 'set';
|
|
4069
6531
|
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
4070
6532
|
type ValueAddedService = 'Hazardous Material';
|
|
4071
6533
|
type Visibility = 'public' | 'private';
|
|
@@ -7405,11 +9867,6 @@ declare namespace io.flow.v0.models {
|
|
|
7405
9867
|
readonly export: io.flow.v0.models.Export;
|
|
7406
9868
|
}
|
|
7407
9869
|
|
|
7408
|
-
interface ExternalApiTimeoutReservationError {
|
|
7409
|
-
readonly code: 'external_api_timeout';
|
|
7410
|
-
readonly messages: string[];
|
|
7411
|
-
}
|
|
7412
|
-
|
|
7413
9870
|
interface FeeDeduction {
|
|
7414
9871
|
readonly type: io.flow.v0.enums.FeeDeductionType;
|
|
7415
9872
|
readonly amount: number;
|
|
@@ -7722,11 +10179,6 @@ declare namespace io.flow.v0.models {
|
|
|
7722
10179
|
readonly messages: string[];
|
|
7723
10180
|
}
|
|
7724
10181
|
|
|
7725
|
-
interface GenericReservationError {
|
|
7726
|
-
readonly code: 'generic_reservation_error';
|
|
7727
|
-
readonly messages: string[];
|
|
7728
|
-
}
|
|
7729
|
-
|
|
7730
10182
|
interface GeoForm {
|
|
7731
10183
|
readonly country: string;
|
|
7732
10184
|
readonly currency: string;
|
|
@@ -8058,6 +10510,17 @@ declare namespace io.flow.v0.models {
|
|
|
8058
10510
|
readonly label: string;
|
|
8059
10511
|
}
|
|
8060
10512
|
|
|
10513
|
+
interface IncotermIncludes {
|
|
10514
|
+
readonly duties: boolean;
|
|
10515
|
+
readonly taxes: boolean;
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10518
|
+
interface IncotermSummary {
|
|
10519
|
+
readonly configuration: io.flow.v0.enums.IncotermConfiguration;
|
|
10520
|
+
readonly includes: io.flow.v0.models.IncotermIncludes;
|
|
10521
|
+
readonly reason?: string;
|
|
10522
|
+
}
|
|
10523
|
+
|
|
8061
10524
|
interface IndirectTax {
|
|
8062
10525
|
readonly number?: string;
|
|
8063
10526
|
readonly id?: string;
|
|
@@ -8115,118 +10578,6 @@ declare namespace io.flow.v0.models {
|
|
|
8115
10578
|
readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
8116
10579
|
}
|
|
8117
10580
|
|
|
8118
|
-
interface InventoryBackorder {
|
|
8119
|
-
readonly discriminator: 'inventory_backorder';
|
|
8120
|
-
readonly quantity: number;
|
|
8121
|
-
}
|
|
8122
|
-
|
|
8123
|
-
interface InventoryCenterReference {
|
|
8124
|
-
readonly key: string;
|
|
8125
|
-
}
|
|
8126
|
-
|
|
8127
|
-
interface InventoryCheckResponse {
|
|
8128
|
-
readonly items: io.flow.v0.models.InventoryCheckResponseItem[];
|
|
8129
|
-
}
|
|
8130
|
-
|
|
8131
|
-
interface InventoryCheckResponseItem {
|
|
8132
|
-
readonly number: string;
|
|
8133
|
-
readonly quantity: number;
|
|
8134
|
-
readonly inventory_status: io.flow.v0.enums.InventoryStatus;
|
|
8135
|
-
}
|
|
8136
|
-
|
|
8137
|
-
interface InventoryExperienceReference {
|
|
8138
|
-
readonly key: string;
|
|
8139
|
-
}
|
|
8140
|
-
|
|
8141
|
-
interface InventoryFollowEcommercePlatform {
|
|
8142
|
-
readonly discriminator: 'inventory_follow_ecommerce_platform';
|
|
8143
|
-
readonly quantity: number;
|
|
8144
|
-
}
|
|
8145
|
-
|
|
8146
|
-
interface InventoryItemReference {
|
|
8147
|
-
readonly number: string;
|
|
8148
|
-
}
|
|
8149
|
-
|
|
8150
|
-
interface InventoryRequest {
|
|
8151
|
-
readonly items: io.flow.v0.models.InventoryRequestItem[];
|
|
8152
|
-
}
|
|
8153
|
-
|
|
8154
|
-
interface InventoryRequestItem {
|
|
8155
|
-
readonly number: string;
|
|
8156
|
-
readonly quantity: number;
|
|
8157
|
-
}
|
|
8158
|
-
|
|
8159
|
-
interface InventoryRule {
|
|
8160
|
-
readonly id: string;
|
|
8161
|
-
readonly position: number;
|
|
8162
|
-
readonly query: string;
|
|
8163
|
-
readonly strategy: io.flow.v0.unions.InventoryStrategy;
|
|
8164
|
-
}
|
|
8165
|
-
|
|
8166
|
-
interface InventoryRuleForm {
|
|
8167
|
-
readonly position: number;
|
|
8168
|
-
readonly query: string;
|
|
8169
|
-
readonly strategy: io.flow.v0.unions.InventoryStrategy;
|
|
8170
|
-
}
|
|
8171
|
-
|
|
8172
|
-
interface InventoryRuleVersion {
|
|
8173
|
-
readonly id: string;
|
|
8174
|
-
readonly timestamp: string;
|
|
8175
|
-
readonly type: io.flow.v0.enums.ChangeType;
|
|
8176
|
-
readonly inventory_rule: io.flow.v0.models.InventoryRule;
|
|
8177
|
-
}
|
|
8178
|
-
|
|
8179
|
-
interface InventorySnapshot {
|
|
8180
|
-
readonly id: string;
|
|
8181
|
-
readonly available: number;
|
|
8182
|
-
readonly center: io.flow.v0.models.InventoryCenterReference;
|
|
8183
|
-
readonly item: io.flow.v0.models.InventoryItemReference;
|
|
8184
|
-
readonly quantity: number;
|
|
8185
|
-
}
|
|
8186
|
-
|
|
8187
|
-
interface InventorySnapshotVersion {
|
|
8188
|
-
readonly id: string;
|
|
8189
|
-
readonly timestamp: string;
|
|
8190
|
-
readonly type: io.flow.v0.enums.ChangeType;
|
|
8191
|
-
readonly inventory_snapshot: io.flow.v0.models.InventorySnapshot;
|
|
8192
|
-
}
|
|
8193
|
-
|
|
8194
|
-
interface InventoryStock {
|
|
8195
|
-
readonly discriminator: 'inventory_stock';
|
|
8196
|
-
readonly quantity: number;
|
|
8197
|
-
}
|
|
8198
|
-
|
|
8199
|
-
interface InventoryUnlimited {
|
|
8200
|
-
readonly discriminator: 'inventory_unlimited';
|
|
8201
|
-
readonly placeholder?: string;
|
|
8202
|
-
}
|
|
8203
|
-
|
|
8204
|
-
interface InventoryUpdate {
|
|
8205
|
-
readonly id: string;
|
|
8206
|
-
readonly idempotency_key: string;
|
|
8207
|
-
readonly center: io.flow.v0.models.InventoryCenterReference;
|
|
8208
|
-
readonly item: io.flow.v0.models.InventoryItemReference;
|
|
8209
|
-
readonly notes: any /*object*/;
|
|
8210
|
-
readonly quantity: number;
|
|
8211
|
-
readonly type: io.flow.v0.enums.UpdateType;
|
|
8212
|
-
}
|
|
8213
|
-
|
|
8214
|
-
interface InventoryUpdateForm {
|
|
8215
|
-
readonly center: string;
|
|
8216
|
-
readonly idempotency_key: string;
|
|
8217
|
-
readonly item_number: string;
|
|
8218
|
-
readonly quantity: number;
|
|
8219
|
-
readonly type: io.flow.v0.enums.UpdateType;
|
|
8220
|
-
readonly notes?: any /*object*/;
|
|
8221
|
-
}
|
|
8222
|
-
|
|
8223
|
-
interface InventoryUpdateVersion {
|
|
8224
|
-
readonly id: string;
|
|
8225
|
-
readonly timestamp: string;
|
|
8226
|
-
readonly type: io.flow.v0.enums.ChangeType;
|
|
8227
|
-
readonly inventory_update: io.flow.v0.models.InventoryUpdate;
|
|
8228
|
-
}
|
|
8229
|
-
|
|
8230
10581
|
interface Invitation {
|
|
8231
10582
|
readonly id: string;
|
|
8232
10583
|
readonly organization: io.flow.v0.unions.ExpandableOrganization;
|
|
@@ -9256,18 +11607,6 @@ declare namespace io.flow.v0.models {
|
|
|
9256
11607
|
readonly last?: string;
|
|
9257
11608
|
}
|
|
9258
11609
|
|
|
9259
|
-
interface NoInventoryReservationError {
|
|
9260
|
-
readonly code: 'no_inventory';
|
|
9261
|
-
readonly messages: string[];
|
|
9262
|
-
readonly items: io.flow.v0.models.NoInventoryReservationErrorItem[];
|
|
9263
|
-
}
|
|
9264
|
-
|
|
9265
|
-
interface NoInventoryReservationErrorItem {
|
|
9266
|
-
readonly number: string;
|
|
9267
|
-
readonly requested_quantity: number;
|
|
9268
|
-
readonly available_quantity: number;
|
|
9269
|
-
}
|
|
9270
|
-
|
|
9271
11610
|
interface NotificationDeletedV2 {
|
|
9272
11611
|
readonly discriminator: 'notification_deleted_v2';
|
|
9273
11612
|
readonly event_id: string;
|
|
@@ -9417,6 +11756,7 @@ declare namespace io.flow.v0.models {
|
|
|
9417
11756
|
readonly geo?: io.flow.v0.models.OrderGeo;
|
|
9418
11757
|
readonly device_details?: io.flow.v0.unions.DeviceDetails;
|
|
9419
11758
|
readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[];
|
|
11759
|
+
readonly incoterm_summary?: io.flow.v0.models.IncotermSummary;
|
|
9420
11760
|
}
|
|
9421
11761
|
|
|
9422
11762
|
interface OrderAddress {
|
|
@@ -11260,23 +13600,6 @@ declare namespace io.flow.v0.models {
|
|
|
11260
13600
|
readonly path: string;
|
|
11261
13601
|
}
|
|
11262
13602
|
|
|
11263
|
-
interface PfsInventoryCheckResponse {
|
|
11264
|
-
readonly items: Record<
|
|
11265
|
-
string,
|
|
11266
|
-
io.flow.v0.models.PfsInventoryCheckResponseItem
|
|
11267
|
-
>;
|
|
11268
|
-
}
|
|
11269
|
-
|
|
11270
|
-
interface PfsInventoryCheckResponseItem {
|
|
11271
|
-
readonly number: string;
|
|
11272
|
-
readonly ats: number;
|
|
11273
|
-
readonly in_stock: boolean;
|
|
11274
|
-
}
|
|
11275
|
-
|
|
11276
|
-
interface PfsInventoryStatus {
|
|
11277
|
-
readonly status: string;
|
|
11278
|
-
}
|
|
11279
|
-
|
|
11280
13603
|
interface PhysicalDelivery {
|
|
11281
13604
|
readonly discriminator: 'physical_delivery';
|
|
11282
13605
|
readonly id: string;
|
|
@@ -12234,37 +14557,6 @@ declare namespace io.flow.v0.models {
|
|
|
12234
14557
|
readonly days_of_week: io.flow.v0.enums.DayOfWeek[];
|
|
12235
14558
|
}
|
|
12236
14559
|
|
|
12237
|
-
interface Reservation {
|
|
12238
|
-
readonly id: string;
|
|
12239
|
-
readonly key: string;
|
|
12240
|
-
readonly order?: io.flow.v0.models.ReservationOrderReference;
|
|
12241
|
-
readonly items: io.flow.v0.models.ReservationItem[];
|
|
12242
|
-
readonly reserved_until?: string;
|
|
12243
|
-
}
|
|
12244
|
-
|
|
12245
|
-
interface ReservationForm {
|
|
12246
|
-
readonly order_number?: string;
|
|
12247
|
-
readonly items: io.flow.v0.models.ReservationItemForm[];
|
|
12248
|
-
}
|
|
12249
|
-
|
|
12250
|
-
interface ReservationItem {
|
|
12251
|
-
readonly item: io.flow.v0.models.ReservationItemReference;
|
|
12252
|
-
readonly quantity: number;
|
|
12253
|
-
}
|
|
12254
|
-
|
|
12255
|
-
interface ReservationItemForm {
|
|
12256
|
-
readonly item_number: string;
|
|
12257
|
-
readonly quantity: number;
|
|
12258
|
-
}
|
|
12259
|
-
|
|
12260
|
-
interface ReservationItemReference {
|
|
12261
|
-
readonly number: string;
|
|
12262
|
-
}
|
|
12263
|
-
|
|
12264
|
-
interface ReservationOrderReference {
|
|
12265
|
-
readonly number: string;
|
|
12266
|
-
}
|
|
12267
|
-
|
|
12268
14560
|
interface Return {
|
|
12269
14561
|
readonly id: string;
|
|
12270
14562
|
readonly key: string;
|
|
@@ -12498,21 +14790,6 @@ declare namespace io.flow.v0.models {
|
|
|
12498
14790
|
readonly roles: io.flow.v0.enums.FlowRole[];
|
|
12499
14791
|
}
|
|
12500
14792
|
|
|
12501
|
-
interface RuleDeleted {
|
|
12502
|
-
readonly discriminator: 'rule_deleted';
|
|
12503
|
-
readonly event_id: string;
|
|
12504
|
-
readonly timestamp: string;
|
|
12505
|
-
readonly id: string;
|
|
12506
|
-
}
|
|
12507
|
-
|
|
12508
|
-
interface RuleUpserted {
|
|
12509
|
-
readonly discriminator: 'rule_upserted';
|
|
12510
|
-
readonly event_id: string;
|
|
12511
|
-
readonly timestamp: string;
|
|
12512
|
-
readonly organization_id: string;
|
|
12513
|
-
readonly rule: io.flow.v0.models.InventoryRule;
|
|
12514
|
-
}
|
|
12515
|
-
|
|
12516
14793
|
interface Schedule {
|
|
12517
14794
|
readonly calendar?: io.flow.v0.enums.Calendar;
|
|
12518
14795
|
readonly holiday: io.flow.v0.enums.HolidayCalendar;
|
|
@@ -13347,25 +15624,6 @@ declare namespace io.flow.v0.models {
|
|
|
13347
15624
|
readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
13348
15625
|
}
|
|
13349
15626
|
|
|
13350
|
-
interface SnapshotDeleted {
|
|
13351
|
-
readonly discriminator: 'snapshot_deleted';
|
|
13352
|
-
readonly event_id: string;
|
|
13353
|
-
readonly timestamp: string;
|
|
13354
|
-
readonly snapshot_id: string;
|
|
13355
|
-
}
|
|
13356
|
-
|
|
13357
|
-
interface SnapshotUpserted {
|
|
13358
|
-
readonly discriminator: 'snapshot_upserted';
|
|
13359
|
-
readonly event_id: string;
|
|
13360
|
-
readonly timestamp: string;
|
|
13361
|
-
readonly organization: string;
|
|
13362
|
-
readonly snapshot_id: string;
|
|
13363
|
-
readonly available: number;
|
|
13364
|
-
readonly center_key: string;
|
|
13365
|
-
readonly item_number: string;
|
|
13366
|
-
readonly quantity: number;
|
|
13367
|
-
}
|
|
13368
|
-
|
|
13369
15627
|
interface SolidusProductExportType {
|
|
13370
15628
|
readonly discriminator: 'solidus_product_export_type';
|
|
13371
15629
|
readonly numbers?: string[];
|
|
@@ -13770,6 +16028,11 @@ declare namespace io.flow.v0.models {
|
|
|
13770
16028
|
readonly eci?: string;
|
|
13771
16029
|
readonly liability_sift?: boolean;
|
|
13772
16030
|
readonly version?: string;
|
|
16031
|
+
readonly authenticated?: boolean;
|
|
16032
|
+
readonly authenticated_result?: string;
|
|
16033
|
+
readonly offered?: boolean;
|
|
16034
|
+
readonly offered_result?: string;
|
|
16035
|
+
readonly sca_exemption?: string;
|
|
13773
16036
|
}
|
|
13774
16037
|
|
|
13775
16038
|
interface ThreedsChallengeActionDetails {
|
|
@@ -13955,6 +16218,7 @@ declare namespace io.flow.v0.models {
|
|
|
13955
16218
|
readonly status: io.flow.v0.enums.TrackingStatus;
|
|
13956
16219
|
readonly timestamp: string;
|
|
13957
16220
|
readonly description?: string;
|
|
16221
|
+
readonly aggregator_status_code?: string;
|
|
13958
16222
|
}
|
|
13959
16223
|
|
|
13960
16224
|
interface TrackingEventForm {
|
|
@@ -14745,10 +17009,6 @@ declare namespace io.flow.v0.unions {
|
|
|
14745
17009
|
| io.flow.v0.models.FullyHarmonizedItemUpserted
|
|
14746
17010
|
| io.flow.v0.models.ImportCompletedV2
|
|
14747
17011
|
| io.flow.v0.models.ImportFailedV2
|
|
14748
|
-
| io.flow.v0.models.RuleUpserted
|
|
14749
|
-
| io.flow.v0.models.RuleDeleted
|
|
14750
|
-
| io.flow.v0.models.SnapshotUpserted
|
|
14751
|
-
| io.flow.v0.models.SnapshotDeleted
|
|
14752
17012
|
| io.flow.v0.models.LabelUpserted
|
|
14753
17013
|
| io.flow.v0.models.LabelDeletedV2
|
|
14754
17014
|
| io.flow.v0.models.LabelUpsertedV2
|
|
@@ -14890,11 +17150,6 @@ declare namespace io.flow.v0.unions {
|
|
|
14890
17150
|
io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
14891
17151
|
type InputSpecificationLimitation =
|
|
14892
17152
|
io.flow.v0.models.InputSpecificationLimitationMax;
|
|
14893
|
-
type InventoryStrategy =
|
|
14894
|
-
| io.flow.v0.models.InventoryBackorder
|
|
14895
|
-
| io.flow.v0.models.InventoryStock
|
|
14896
|
-
| io.flow.v0.models.InventoryUnlimited
|
|
14897
|
-
| io.flow.v0.models.InventoryFollowEcommercePlatform;
|
|
14898
17153
|
type KnowYourBusiness = io.flow.v0.models.KnowYourBusinessUsa;
|
|
14899
17154
|
type KnowYourBusinessForm = io.flow.v0.models.KnowYourBusinessUsaForm;
|
|
14900
17155
|
type LabelSurchargeDetail =
|
|
@@ -15069,10 +17324,6 @@ declare namespace io.flow.v0.unions {
|
|
|
15069
17324
|
| io.flow.v0.models.RepeatDaily
|
|
15070
17325
|
| io.flow.v0.models.RepeatWeekly
|
|
15071
17326
|
| io.flow.v0.models.RepeatMonthly;
|
|
15072
|
-
type ReservationError =
|
|
15073
|
-
| io.flow.v0.models.NoInventoryReservationError
|
|
15074
|
-
| io.flow.v0.models.ExternalApiTimeoutReservationError
|
|
15075
|
-
| io.flow.v0.models.GenericReservationError;
|
|
15076
17327
|
type ReturnSource =
|
|
15077
17328
|
| io.flow.v0.models.ReturnSourceFlow
|
|
15078
17329
|
| io.flow.v0.models.ReturnSourceExternalVendor;
|
|
@@ -15229,7 +17480,6 @@ export type AdyenNativeActionDetails =
|
|
|
15229
17480
|
export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
|
|
15230
17481
|
export type AdyenV3ChallengeToken = io.flow.v0.models.AdyenV3ChallengeToken;
|
|
15231
17482
|
export type AdyenV3FingerprintToken = io.flow.v0.models.AdyenV3FingerprintToken;
|
|
15232
|
-
export type Aggregate = io.flow.v0.enums.Aggregate;
|
|
15233
17483
|
export type Allocation = io.flow.v0.models.Allocation;
|
|
15234
17484
|
export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
|
|
15235
17485
|
export type AllocationDeletedV2 = io.flow.v0.models.AllocationDeletedV2;
|
|
@@ -15889,8 +18139,6 @@ export type ExportStatus = io.flow.v0.enums.ExportStatus;
|
|
|
15889
18139
|
export type ExportType = io.flow.v0.unions.ExportType;
|
|
15890
18140
|
export type ExportVersion = io.flow.v0.models.ExportVersion;
|
|
15891
18141
|
export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
|
|
15892
|
-
export type ExternalApiTimeoutReservationError =
|
|
15893
|
-
io.flow.v0.models.ExternalApiTimeoutReservationError;
|
|
15894
18142
|
export type FeeDeduction = io.flow.v0.models.FeeDeduction;
|
|
15895
18143
|
export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
|
|
15896
18144
|
export type FeeWeight = io.flow.v0.models.FeeWeight;
|
|
@@ -15977,7 +18225,6 @@ export type GatewayAuthenticationDataForm =
|
|
|
15977
18225
|
export type GenerateLoad = io.flow.v0.models.GenerateLoad;
|
|
15978
18226
|
export type GenericError = io.flow.v0.models.GenericError;
|
|
15979
18227
|
export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
|
|
15980
|
-
export type GenericReservationError = io.flow.v0.models.GenericReservationError;
|
|
15981
18228
|
export type GeoForm = io.flow.v0.models.GeoForm;
|
|
15982
18229
|
export type GoodsSupply = io.flow.v0.enums.GoodsSupply;
|
|
15983
18230
|
export type GooglePayAuthorizationPayload =
|
|
@@ -16039,6 +18286,9 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
16039
18286
|
export type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
16040
18287
|
export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
16041
18288
|
export type Incoterm = io.flow.v0.enums.Incoterm;
|
|
18289
|
+
export type IncotermConfiguration = io.flow.v0.enums.IncotermConfiguration;
|
|
18290
|
+
export type IncotermIncludes = io.flow.v0.models.IncotermIncludes;
|
|
18291
|
+
export type IncotermSummary = io.flow.v0.models.IncotermSummary;
|
|
16042
18292
|
export type IndirectTax = io.flow.v0.models.IndirectTax;
|
|
16043
18293
|
export type Individual = io.flow.v0.models.Individual;
|
|
16044
18294
|
export type InlineActionConfiguration =
|
|
@@ -16058,32 +18308,6 @@ export type InputSpecificationLimitationMax =
|
|
|
16058
18308
|
export type InputSpecificationLimitations =
|
|
16059
18309
|
io.flow.v0.models.InputSpecificationLimitations;
|
|
16060
18310
|
export type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
|
|
16061
|
-
export type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
|
|
16062
|
-
export type InventoryCenterReference =
|
|
16063
|
-
io.flow.v0.models.InventoryCenterReference;
|
|
16064
|
-
export type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
|
|
16065
|
-
export type InventoryCheckResponseItem =
|
|
16066
|
-
io.flow.v0.models.InventoryCheckResponseItem;
|
|
16067
|
-
export type InventoryExperienceReference =
|
|
16068
|
-
io.flow.v0.models.InventoryExperienceReference;
|
|
16069
|
-
export type InventoryFollowEcommercePlatform =
|
|
16070
|
-
io.flow.v0.models.InventoryFollowEcommercePlatform;
|
|
16071
|
-
export type InventoryItemReference = io.flow.v0.models.InventoryItemReference;
|
|
16072
|
-
export type InventoryRequest = io.flow.v0.models.InventoryRequest;
|
|
16073
|
-
export type InventoryRequestItem = io.flow.v0.models.InventoryRequestItem;
|
|
16074
|
-
export type InventoryRule = io.flow.v0.models.InventoryRule;
|
|
16075
|
-
export type InventoryRuleForm = io.flow.v0.models.InventoryRuleForm;
|
|
16076
|
-
export type InventoryRuleVersion = io.flow.v0.models.InventoryRuleVersion;
|
|
16077
|
-
export type InventorySnapshot = io.flow.v0.models.InventorySnapshot;
|
|
16078
|
-
export type InventorySnapshotVersion =
|
|
16079
|
-
io.flow.v0.models.InventorySnapshotVersion;
|
|
16080
|
-
export type InventoryStatus = io.flow.v0.enums.InventoryStatus;
|
|
16081
|
-
export type InventoryStock = io.flow.v0.models.InventoryStock;
|
|
16082
|
-
export type InventoryStrategy = io.flow.v0.unions.InventoryStrategy;
|
|
16083
|
-
export type InventoryUnlimited = io.flow.v0.models.InventoryUnlimited;
|
|
16084
|
-
export type InventoryUpdate = io.flow.v0.models.InventoryUpdate;
|
|
16085
|
-
export type InventoryUpdateForm = io.flow.v0.models.InventoryUpdateForm;
|
|
16086
|
-
export type InventoryUpdateVersion = io.flow.v0.models.InventoryUpdateVersion;
|
|
16087
18311
|
export type Invitation = io.flow.v0.models.Invitation;
|
|
16088
18312
|
export type InvitationError = io.flow.v0.models.InvitationError;
|
|
16089
18313
|
export type InvitationErrorCode = io.flow.v0.enums.InvitationErrorCode;
|
|
@@ -16280,10 +18504,6 @@ export type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
|
|
|
16280
18504
|
export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
|
|
16281
18505
|
export type Name = io.flow.v0.models.Name;
|
|
16282
18506
|
export type NameForm = io.flow.v0.models.NameForm;
|
|
16283
|
-
export type NoInventoryReservationError =
|
|
16284
|
-
io.flow.v0.models.NoInventoryReservationError;
|
|
16285
|
-
export type NoInventoryReservationErrorItem =
|
|
16286
|
-
io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
16287
18507
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
16288
18508
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
16289
18509
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
@@ -16775,11 +18995,6 @@ export type PermissionAudit = io.flow.v0.models.PermissionAudit;
|
|
|
16775
18995
|
export type PermissionCheck = io.flow.v0.models.PermissionCheck;
|
|
16776
18996
|
export type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod;
|
|
16777
18997
|
export type PermittedRoute = io.flow.v0.models.PermittedRoute;
|
|
16778
|
-
export type PfsInventoryCheckResponse =
|
|
16779
|
-
io.flow.v0.models.PfsInventoryCheckResponse;
|
|
16780
|
-
export type PfsInventoryCheckResponseItem =
|
|
16781
|
-
io.flow.v0.models.PfsInventoryCheckResponseItem;
|
|
16782
|
-
export type PfsInventoryStatus = io.flow.v0.models.PfsInventoryStatus;
|
|
16783
18998
|
export type PhysicalDelivery = io.flow.v0.models.PhysicalDelivery;
|
|
16784
18999
|
export type PhysicalDeliveryPreferredService =
|
|
16785
19000
|
io.flow.v0.models.PhysicalDeliveryPreferredService;
|
|
@@ -16946,15 +19161,6 @@ export type RepeatHourly = io.flow.v0.models.RepeatHourly;
|
|
|
16946
19161
|
export type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
|
|
16947
19162
|
export type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
|
|
16948
19163
|
export type RepeatWeekly = io.flow.v0.models.RepeatWeekly;
|
|
16949
|
-
export type Reservation = io.flow.v0.models.Reservation;
|
|
16950
|
-
export type ReservationError = io.flow.v0.unions.ReservationError;
|
|
16951
|
-
export type ReservationForm = io.flow.v0.models.ReservationForm;
|
|
16952
|
-
export type ReservationItem = io.flow.v0.models.ReservationItem;
|
|
16953
|
-
export type ReservationItemForm = io.flow.v0.models.ReservationItemForm;
|
|
16954
|
-
export type ReservationItemReference =
|
|
16955
|
-
io.flow.v0.models.ReservationItemReference;
|
|
16956
|
-
export type ReservationOrderReference =
|
|
16957
|
-
io.flow.v0.models.ReservationOrderReference;
|
|
16958
19164
|
export type RestrictedReviewStatus = io.flow.v0.enums.RestrictedReviewStatus;
|
|
16959
19165
|
export type Return = io.flow.v0.models.Return;
|
|
16960
19166
|
export type ReturnDeleted = io.flow.v0.models.ReturnDeleted;
|
|
@@ -17001,8 +19207,6 @@ export type Rounding = io.flow.v0.models.Rounding;
|
|
|
17001
19207
|
export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
|
|
17002
19208
|
export type RoundingType = io.flow.v0.enums.RoundingType;
|
|
17003
19209
|
export type RouteAudit = io.flow.v0.models.RouteAudit;
|
|
17004
|
-
export type RuleDeleted = io.flow.v0.models.RuleDeleted;
|
|
17005
|
-
export type RuleUpserted = io.flow.v0.models.RuleUpserted;
|
|
17006
19210
|
export type Schedule = io.flow.v0.models.Schedule;
|
|
17007
19211
|
export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
|
|
17008
19212
|
export type ScheduledExport = io.flow.v0.models.ScheduledExport;
|
|
@@ -17186,8 +19390,6 @@ export type ShopifyVariantInventoryMetafield =
|
|
|
17186
19390
|
export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
|
|
17187
19391
|
export type SinglePackageShippingNotificationForm =
|
|
17188
19392
|
io.flow.v0.models.SinglePackageShippingNotificationForm;
|
|
17189
|
-
export type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;
|
|
17190
|
-
export type SnapshotUpserted = io.flow.v0.models.SnapshotUpserted;
|
|
17191
19393
|
export type SolidusProductExportType =
|
|
17192
19394
|
io.flow.v0.models.SolidusProductExportType;
|
|
17193
19395
|
export type SolidusVariantExportType =
|
|
@@ -17407,7 +19609,6 @@ export type UnitOfTime = io.flow.v0.enums.UnitOfTime;
|
|
|
17407
19609
|
export type UnitOfVolume = io.flow.v0.enums.UnitOfVolume;
|
|
17408
19610
|
export type UnitOfWeight = io.flow.v0.enums.UnitOfWeight;
|
|
17409
19611
|
export type UpdatePolicy = io.flow.v0.enums.UpdatePolicy;
|
|
17410
|
-
export type UpdateType = io.flow.v0.enums.UpdateType;
|
|
17411
19612
|
export type Upload = io.flow.v0.models.Upload;
|
|
17412
19613
|
export type User = io.flow.v0.models.User;
|
|
17413
19614
|
export type UserForm = io.flow.v0.models.UserForm;
|