@flowio/types 11.24.122 → 11.24.124

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/src/api.ts CHANGED
@@ -2163,6 +2163,7 @@ declare namespace io.flow.shopify.external.v0.models {
2163
2163
  interface GraphqlMetaobjectField {
2164
2164
  readonly key: string;
2165
2165
  readonly value?: string;
2166
+ readonly type?: string;
2166
2167
  }
2167
2168
 
2168
2169
  interface GraphqlOption {
@@ -3109,6 +3110,127 @@ declare namespace io.flow.shopify.external.v0.models {
3109
3110
  }
3110
3111
  }
3111
3112
 
3113
+ declare namespace io.flow.channel.internal.v0.enums {
3114
+ type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
3115
+ type ChannelOrderAcceptanceFailureReasonCode =
3116
+ | 'channel_order_mor_invalid'
3117
+ | 'channel_order_does_not_exist';
3118
+ type ChannelOrderAcceptanceNextActionFrom =
3119
+ | 'cx_team'
3120
+ | 'core_team'
3121
+ | 'core_team_investigate'
3122
+ | 'mex_team'
3123
+ | 'payments_team'
3124
+ | 'tc_team'
3125
+ | 'logistics_team';
3126
+ type ChannelOrderAcceptanceRejectionReason =
3127
+ | 'unsupported_origin_country'
3128
+ | 'unsupported_destination_country'
3129
+ | 'domestic_order'
3130
+ | 'order_contains_gift_card'
3131
+ | 'order_contains_restricted_goods'
3132
+ | 'missing_order_information'
3133
+ | 'missing_classification_information'
3134
+ | 'unsupported_payment_information'
3135
+ | 'unsupported_shop_currency'
3136
+ | 'unsupported_free_order'
3137
+ | 'extracting_distribution_info_failed'
3138
+ | 'shipping_estimation_failed'
3139
+ | 'payment_authorization_failed'
3140
+ | 'unsupported_subsidized_order'
3141
+ | 'unsupported_virtual_goods'
3142
+ | 'non_matching_currencies'
3143
+ | 'unsupported_order_edit'
3144
+ | 'order_missing';
3145
+ type ChannelOrderAcceptanceStatus =
3146
+ | 'accepted'
3147
+ | 'rejected'
3148
+ | 'review'
3149
+ | 'edit_review'
3150
+ | 'edit_accepted';
3151
+ type OrderPaymentSourceType = 'globale' | 'third_party';
3152
+ }
3153
+
3154
+ declare namespace io.flow.channel.internal.v0.models {
3155
+ interface ChannelCurrencyForm {
3156
+ readonly currency: string;
3157
+ readonly channel_id: string;
3158
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
3159
+ }
3160
+
3161
+ interface ChannelForm {
3162
+ readonly name: string;
3163
+ readonly environment: io.flow.common.v0.enums.Environment;
3164
+ readonly organization_id_prefix?: string;
3165
+ }
3166
+
3167
+ interface ChannelMembership {
3168
+ readonly id: string;
3169
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3170
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
3171
+ readonly role?: io.flow.common.v0.enums.Role;
3172
+ }
3173
+
3174
+ interface ChannelMembershipForm {
3175
+ readonly channel_id: string;
3176
+ readonly user_id: string;
3177
+ readonly role?: io.flow.common.v0.enums.Role;
3178
+ }
3179
+
3180
+ interface ChannelMembershipPutForm {
3181
+ readonly role?: io.flow.common.v0.enums.Role;
3182
+ }
3183
+
3184
+ interface ChannelOrderAcceptance {
3185
+ readonly id: string;
3186
+ readonly organization_id: string;
3187
+ readonly order_number: string;
3188
+ readonly channel_id: string;
3189
+ readonly external_order_reference: string;
3190
+ readonly payment_request_id?: string;
3191
+ readonly order_payment_request_ids?: string[];
3192
+ readonly order_edit_payment_request_ids?: string[];
3193
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
3194
+ readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
3195
+ readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
3196
+ readonly order_created_at?: string;
3197
+ readonly order_updated_at?: string;
3198
+ readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
3199
+ readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
3200
+ }
3201
+
3202
+ interface ChannelOrderAcceptanceDetails {
3203
+ readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
3204
+ readonly external_order: any /*object*/;
3205
+ }
3206
+
3207
+ interface ChannelOrderAcceptanceFailure {
3208
+ readonly id: string;
3209
+ readonly organization_id: string;
3210
+ readonly channel_id: string;
3211
+ readonly payment_request_id: string;
3212
+ readonly code: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode;
3213
+ readonly reason: string;
3214
+ }
3215
+
3216
+ interface ChannelOrderAcceptanceForm {
3217
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
3218
+ }
3219
+
3220
+ interface ChannelOrderAcceptanceReason {
3221
+ readonly description: string;
3222
+ readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
3223
+ }
3224
+
3225
+ interface FlowChannelOrganization {
3226
+ readonly placeholder?: string;
3227
+ }
3228
+
3229
+ interface OrderEditSummary {
3230
+ readonly edited_at: string;
3231
+ }
3232
+ }
3233
+
3112
3234
  declare namespace io.flow.common.v0.enums {
3113
3235
  type AttributeDataType =
3114
3236
  | 'boolean'
@@ -3636,2408 +3758,373 @@ declare namespace io.flow.error.v0.models {
3636
3758
  }
3637
3759
  }
3638
3760
 
3639
- declare namespace io.flow.price.v0.enums {
3640
- type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
3641
- type LevyStrategy = 'minimum' | 'average' | 'maximum';
3642
- type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
3643
- type PriceDetailComponentKey =
3644
- | 'base_price'
3645
- | 'discount'
3646
- | 'currency_margin'
3647
- | 'percent_item_margin'
3648
- | 'fixed_item_margin'
3649
- | 'duties_item_price'
3650
- | 'duties_added_margin'
3651
- | 'duties_rounding'
3652
- | 'duties_deminimis'
3653
- | 'vat_item_price'
3654
- | 'vat_added_margin'
3655
- | 'vat_rounding'
3656
- | 'vat_duties_item_price'
3657
- | 'vat_duties_added_margin'
3658
- | 'vat_duties_rounding'
3659
- | 'vat_deminimis'
3660
- | 'item_price_percent_sales_margin'
3661
- | 'margins_percent_sales_margin'
3662
- | 'rounding_percent_sales_margin'
3663
- | 'vat_percent_sales_margin'
3664
- | 'vat_duty_percent_sales_margin'
3665
- | 'duty_percent_sales_margin';
3666
- type PriceDetailKey =
3667
- | 'item_price'
3668
- | 'margins'
3669
- | 'vat'
3670
- | 'duty'
3671
- | 'rounding'
3672
- | 'adjustment';
3673
- type PricingLevySetting = 'included' | 'displayed' | 'ignored';
3761
+ declare namespace io.flow.channel.v0.enums {
3762
+ type ChannelCurrencyCapability =
3763
+ | 'payment_authorizations'
3764
+ | 'settlement_currency';
3674
3765
  }
3675
3766
 
3676
- declare namespace io.flow.price.v0.models {
3677
- interface CurrencyFormat {
3678
- readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
3679
- readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
3680
- }
3681
-
3682
- interface DeminimisPerItem {
3683
- readonly discriminator: 'deminimis_per_item';
3684
- readonly currency: string;
3685
- readonly minimum?: number;
3686
- readonly maximum?: number;
3687
- }
3688
-
3689
- interface DeminimisSimple {
3690
- readonly discriminator: 'deminimis_simple';
3691
- readonly value?: number;
3692
- readonly currency: string;
3693
- readonly components: io.flow.price.v0.enums.LevyComponent[];
3694
- readonly minimum?: number;
3767
+ declare namespace io.flow.channel.v0.models {
3768
+ interface Channel {
3769
+ readonly id: string;
3770
+ readonly name: string;
3771
+ readonly environment: io.flow.common.v0.enums.Environment;
3772
+ readonly organization_id_prefix?: string;
3695
3773
  }
3696
3774
 
3697
- interface Duty {
3698
- readonly rate: number;
3699
- readonly components: io.flow.price.v0.enums.LevyComponent[];
3700
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
3701
- readonly name?: string;
3775
+ interface ChannelAuthorization {
3776
+ readonly placeholder?: string;
3702
3777
  }
3703
3778
 
3704
- interface LocalPriceDetails {
3705
- readonly base: io.flow.price.v0.models.PriceDetails;
3706
- readonly local: io.flow.price.v0.models.PriceDetails;
3707
- readonly discount?: io.flow.price.v0.models.PriceDetail;
3708
- readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
3779
+ interface ChannelAuthorizationForm {
3780
+ readonly channel_id: string;
3709
3781
  }
3710
3782
 
3711
- interface PriceBook {
3783
+ interface ChannelCurrency {
3712
3784
  readonly id: string;
3713
- readonly key: string;
3714
- readonly currency: string;
3715
- readonly name: string;
3716
- readonly includes: io.flow.common.v0.models.IncludedLevies;
3717
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
3718
- }
3719
-
3720
- interface PriceBookForm {
3721
3785
  readonly currency: string;
3722
- readonly name: string;
3723
- readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
3724
- readonly status?: io.flow.common.v0.enums.PriceBookStatus;
3786
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3787
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
3725
3788
  }
3726
3789
 
3727
- interface PriceBookItem {
3790
+ interface ChannelOrganization {
3728
3791
  readonly id: string;
3792
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3729
3793
  readonly key: string;
3730
- readonly price_book: io.flow.price.v0.models.PriceBookReference;
3731
- readonly price: io.flow.common.v0.models.Price;
3732
- readonly item_number: string;
3733
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
3734
- readonly item_attributes?: Record<string, string>;
3735
- }
3736
-
3737
- interface PriceBookItemForm {
3738
- readonly price_book_key: string;
3739
- readonly item_number: string;
3740
- readonly amount: number;
3741
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
3742
- readonly item_attributes?: Record<string, string>;
3794
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3795
+ readonly name: string;
3796
+ readonly slug?: string;
3797
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3798
+ readonly attributes?: Record<string, string>;
3743
3799
  }
3744
3800
 
3745
- interface PriceBookItemQueryForm {
3746
- readonly price_book_key: string;
3747
- readonly item_query: string;
3748
- readonly amount: number;
3749
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
3750
- readonly item_attributes?: Record<string, string>;
3801
+ interface ChannelOrganizationAuthorization {
3802
+ readonly placeholder?: string;
3751
3803
  }
3752
3804
 
3753
- interface PriceBookItemSchedule {
3754
- readonly starts_at: string;
3755
- readonly ends_at?: string;
3805
+ interface ChannelOrganizationAuthorizationForm {
3806
+ readonly channel_id: string;
3807
+ readonly organization_id: string;
3756
3808
  }
3757
3809
 
3758
- interface PriceBookReference {
3759
- readonly id: string;
3810
+ interface ChannelOrganizationForm {
3760
3811
  readonly key: string;
3761
- }
3762
-
3763
- interface PriceCheck {
3764
- readonly display: io.flow.price.v0.models.LocalPriceDetails;
3765
- readonly final: io.flow.price.v0.models.LocalPriceDetails;
3766
- }
3767
-
3768
- interface PriceDetail {
3769
- readonly key: io.flow.price.v0.enums.PriceDetailKey;
3770
- readonly components: io.flow.price.v0.models.PriceDetailComponent[];
3771
- readonly amount: number;
3772
- readonly label: string;
3773
3812
  readonly name?: string;
3774
- readonly basis?: number;
3813
+ readonly slug?: string;
3814
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3815
+ readonly attributes?: Record<string, string>;
3775
3816
  }
3776
3817
 
3777
- interface PriceDetailComponent {
3778
- readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
3779
- readonly amount: number;
3780
- readonly label: string;
3818
+ interface ChannelOrganizationPutForm {
3781
3819
  readonly name?: string;
3820
+ readonly slug?: string;
3821
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3822
+ readonly attributes?: Record<string, string>;
3782
3823
  }
3824
+ }
3783
3825
 
3784
- interface PriceDetails {
3785
- readonly currency: string;
3786
- readonly item_price: io.flow.price.v0.models.PriceDetail;
3787
- readonly margins: io.flow.price.v0.models.PriceDetail;
3788
- readonly vat: io.flow.price.v0.models.PriceDetail;
3789
- readonly duty: io.flow.price.v0.models.PriceDetail;
3790
- readonly rounding: io.flow.price.v0.models.PriceDetail;
3791
- readonly price: io.flow.common.v0.models.Price;
3792
- readonly total: io.flow.common.v0.models.Price;
3793
- readonly adjustment?: io.flow.price.v0.models.PriceDetail;
3794
- }
3795
-
3796
- interface PriceEquation {
3797
- readonly contracted_rate: number;
3798
- readonly rate: number;
3799
- readonly pricing: io.flow.price.v0.models.Pricing;
3800
- readonly base_price: number;
3801
- readonly discount: number;
3802
- readonly fixed_margin: number;
3803
- readonly percent_margin: number;
3804
- readonly insurance: number;
3805
- readonly freight: number;
3806
- readonly duty?: io.flow.price.v0.models.Duty;
3807
- readonly tax?: io.flow.price.v0.models.Tax;
3808
- readonly percent_sales_margin: number;
3809
- }
3810
-
3811
- interface Pricing {
3812
- readonly vat: io.flow.price.v0.enums.PricingLevySetting;
3813
- readonly duty: io.flow.price.v0.enums.PricingLevySetting;
3814
- readonly rounding?: io.flow.common.v0.models.Rounding;
3815
- }
3816
-
3817
- interface Tax {
3818
- readonly name: string;
3819
- readonly rate: number;
3820
- readonly components: io.flow.price.v0.enums.LevyComponent[];
3821
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
3822
- }
3823
- }
3824
-
3825
- declare namespace io.flow.price.v0.unions {
3826
- type Deminimis =
3827
- | io.flow.price.v0.models.DeminimisSimple
3828
- | io.flow.price.v0.models.DeminimisPerItem;
3829
- }
3830
-
3831
- declare namespace io.flow.channel.v0.enums {
3832
- type ChannelCurrencyCapability =
3833
- | 'payment_authorizations'
3834
- | 'settlement_currency';
3835
- }
3836
-
3837
- declare namespace io.flow.channel.v0.models {
3838
- interface Channel {
3839
- readonly id: string;
3840
- readonly name: string;
3841
- readonly environment: io.flow.common.v0.enums.Environment;
3842
- readonly organization_id_prefix?: string;
3843
- }
3844
-
3845
- interface ChannelAuthorization {
3846
- readonly placeholder?: string;
3847
- }
3848
-
3849
- interface ChannelAuthorizationForm {
3850
- readonly channel_id: string;
3851
- }
3852
-
3853
- interface ChannelCurrency {
3854
- readonly id: string;
3855
- readonly currency: string;
3856
- readonly channel: io.flow.common.v0.models.ChannelReference;
3857
- readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
3858
- }
3859
-
3860
- interface ChannelOrganization {
3861
- readonly id: string;
3862
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3863
- readonly key: string;
3864
- readonly channel: io.flow.common.v0.models.ChannelReference;
3865
- readonly name: string;
3866
- readonly slug?: string;
3867
- readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3868
- readonly attributes?: Record<string, string>;
3869
- }
3870
-
3871
- interface ChannelOrganizationAuthorization {
3872
- readonly placeholder?: string;
3873
- }
3874
-
3875
- interface ChannelOrganizationAuthorizationForm {
3876
- readonly channel_id: string;
3877
- readonly organization_id: string;
3878
- }
3879
-
3880
- interface ChannelOrganizationForm {
3881
- readonly key: string;
3882
- readonly name?: string;
3883
- readonly slug?: string;
3884
- readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3885
- readonly attributes?: Record<string, string>;
3886
- }
3887
-
3888
- interface ChannelOrganizationPutForm {
3889
- readonly name?: string;
3890
- readonly slug?: string;
3891
- readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3892
- readonly attributes?: Record<string, string>;
3893
- }
3894
- }
3895
-
3896
- declare namespace io.flow.reference.v0.enums {
3897
- type PaymentMethodCapability = 'credit' | 'debit';
3898
- type PaymentMethodType = 'card' | 'online' | 'offline';
3899
- type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
3900
- type ProvinceType =
3901
- | 'area'
3902
- | 'city'
3903
- | 'county'
3904
- | 'department'
3905
- | 'dependency'
3906
- | 'district'
3907
- | 'do_si'
3908
- | 'emirate'
3909
- | 'entity'
3910
- | 'island'
3911
- | 'municipality'
3912
- | 'oblast'
3913
- | 'outlying_area'
3914
- | 'parish'
3915
- | 'prefecture'
3916
- | 'province'
3917
- | 'state'
3918
- | 'territory'
3919
- | 'other';
3920
- }
3921
-
3922
- declare namespace io.flow.reference.v0.models {
3923
- interface Carrier {
3924
- readonly id: string;
3925
- readonly name: string;
3926
- readonly tracking_url: string;
3927
- }
3928
-
3929
- interface CarrierService {
3930
- readonly id: string;
3931
- readonly carrier: io.flow.reference.v0.models.Carrier;
3932
- readonly name: string;
3933
- }
3934
-
3935
- interface Country {
3936
- readonly name: string;
3937
- readonly iso_3166_2: string;
3938
- readonly iso_3166_3: string;
3939
- readonly languages: string[];
3940
- readonly measurement_system: string;
3941
- readonly default_currency?: string;
3942
- readonly default_language?: string;
3943
- readonly timezones: string[];
3944
- readonly default_delivered_duty?: string;
3945
- }
3946
-
3947
- interface Currency {
3948
- readonly name: string;
3949
- readonly iso_4217_3: string;
3950
- readonly number_decimals: number;
3951
- readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
3952
- readonly default_locale?: string;
3953
- }
3954
-
3955
- interface CurrencySymbols {
3956
- readonly primary: string;
3957
- readonly narrow?: string;
3958
- }
3959
-
3960
- interface Language {
3961
- readonly name: string;
3962
- readonly iso_639_2: string;
3963
- }
3964
-
3965
- interface Locale {
3966
- readonly id: string;
3967
- readonly name: string;
3968
- readonly country: string;
3969
- readonly language: string;
3970
- readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
3971
- }
3972
-
3973
- interface LocaleNumbers {
3974
- readonly decimal: string;
3975
- readonly group: string;
3976
- }
3977
-
3978
- interface LocalizedTranslation {
3979
- readonly locale: io.flow.reference.v0.models.Locale;
3980
- readonly name: string;
3981
- }
3982
-
3983
- interface PaymentMethod {
3984
- readonly id: string;
3985
- readonly type: io.flow.reference.v0.enums.PaymentMethodType;
3986
- readonly name: string;
3987
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
3988
- readonly regions: string[];
3989
- readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
3990
- }
3991
-
3992
- interface PaymentMethodImage {
3993
- readonly url: string;
3994
- readonly width: number;
3995
- readonly height: number;
3996
- }
3997
-
3998
- interface PaymentMethodImages {
3999
- readonly small: io.flow.reference.v0.models.PaymentMethodImage;
4000
- readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
4001
- readonly large: io.flow.reference.v0.models.PaymentMethodImage;
4002
- }
4003
-
4004
- interface Province {
4005
- readonly id: string;
4006
- readonly iso_3166_2: string;
4007
- readonly name: string;
4008
- readonly country: string;
4009
- readonly province_type: io.flow.reference.v0.enums.ProvinceType;
4010
- readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
4011
- }
4012
-
4013
- interface Region {
4014
- readonly id: string;
4015
- readonly name: string;
4016
- readonly countries: string[];
4017
- readonly currencies: string[];
4018
- readonly languages: string[];
4019
- readonly measurement_systems: string[];
4020
- readonly timezones: string[];
4021
- }
4022
-
4023
- interface Timezone {
4024
- readonly name: string;
4025
- readonly description: string;
4026
- readonly offset: number;
4027
- }
4028
- }
4029
-
4030
- declare namespace io.flow.fulfillment.v0.enums {
4031
- type CenterCapability =
4032
- | 'international'
4033
- | 'domestic'
4034
- | 'crossdock'
4035
- | 'commercial_invoice';
4036
- type DeliveryOptionCostDetailComponentKey =
4037
- | 'ratecard_base_cost'
4038
- | 'ratecard_ddp_fee'
4039
- | 'ratecard_fuel_surcharge'
4040
- | 'ratecard_oversized_shipment_fee'
4041
- | 'ratecard_rural_shipment_fee'
4042
- | 'ratecard_emergency_situation_surcharge_fee'
4043
- | 'ratecard_peak_surcharge_fee'
4044
- | 'ratecard_duties_taxes_paid_surcharge_fee'
4045
- | 'center_commercial_invoice_fee'
4046
- | 'center_inbound_carton_fee'
4047
- | 'center_outbound_carton_fee';
4048
- type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
4049
- type DeliveryWindowComponentSource =
4050
- | 'flow'
4051
- | 'organization'
4052
- | 'carrier'
4053
- | 'center'
4054
- | 'mixed';
4055
- type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
4056
- type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
4057
- type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
4058
- type LaneDirection = 'outbound' | 'return';
4059
- type LanePreselectPreference = 'lowest_cost' | 'default_tier';
4060
- type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
4061
- type PhysicalDeliverySpecialSerivce =
4062
- | 'cold_storage'
4063
- | 'hazardous'
4064
- | 'perishable';
4065
- type PreferredServiceSelectionStrategy =
4066
- | 'calculated_rate'
4067
- | 'flat_rate'
4068
- | 'custom_rate';
4069
- type QuoteErrorCode =
4070
- | 'generic_error'
4071
- | 'items_not_available'
4072
- | 'shipping_unavailable';
4073
- type RatecardOwner = 'flow' | 'organization';
4074
- type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
4075
- type ShippingConfigurationType = 'default' | 'variant';
4076
- type Strategy = 'range' | 'from' | 'to';
4077
- type SurchargeResponsibleParty = 'organization' | 'customer';
4078
- type TierAvailability = 'always' | 'backup';
4079
- type TierEstimateType = 'calculated' | 'custom';
4080
- type TierStrategy = 'fastest' | 'lowest_cost';
4081
- type ZeroAmountIndicator = 'zero' | 'free';
4082
- }
4083
-
4084
- declare namespace io.flow.fulfillment.v0.models {
4085
- interface AmountMargin {
4086
- readonly discriminator: 'amount_margin';
4087
- readonly margin: io.flow.common.v0.models.Price;
4088
- }
4089
-
4090
- interface AmountMarginForm {
4091
- readonly discriminator: 'amount_margin_form';
4092
- readonly margin: io.flow.common.v0.models.Money;
4093
- }
4094
-
4095
- interface AtCost {
4096
- readonly discriminator: 'at_cost';
4097
- readonly ignore?: string;
4098
- }
4099
-
4100
- interface AvailableService {
4101
- readonly service: string;
4102
- readonly scheduled_pickups?: io.flow.fulfillment.v0.models.ScheduledPickup[];
4103
- readonly lead_days?: io.flow.fulfillment.v0.models.NumberRange;
4104
- }
4105
-
4106
- interface CarrierReference {
4107
- readonly id: string;
4108
- }
4109
-
4110
- interface Center {
4111
- readonly discriminator: 'center';
4112
- readonly id: string;
4113
- readonly key: string;
4114
- readonly address: io.flow.fulfillment.v0.models.ShippingAddress;
4115
- readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
4116
- readonly name: string;
4117
- readonly services: io.flow.fulfillment.v0.models.AvailableService[];
4118
- readonly schedule: io.flow.common.v0.models.Schedule;
4119
- readonly timezone: string;
4120
- readonly capabilities?: io.flow.fulfillment.v0.enums.CenterCapability[];
4121
- readonly partner_center?: io.flow.fulfillment.v0.models.PartnerCenter;
4122
- }
4123
-
4124
- interface CenterForm {
4125
- readonly address: io.flow.fulfillment.v0.models.ShippingAddress;
4126
- readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
4127
- readonly name: string;
4128
- readonly services: io.flow.fulfillment.v0.models.AvailableService[];
4129
- readonly schedule: io.flow.common.v0.models.Schedule;
4130
- readonly timezone?: string;
4131
- readonly key?: string;
4132
- readonly capabilities?: io.flow.fulfillment.v0.enums.CenterCapability[];
4133
- readonly partner_center_form?: io.flow.fulfillment.v0.models.PartnerCenterForm;
4134
- }
4135
-
4136
- interface CenterQuery {
4137
- readonly q: string;
4138
- }
4139
-
4140
- interface CenterReference {
4141
- readonly discriminator: 'center_reference';
4142
- readonly organization_id: string;
4143
- readonly center_key: string;
4144
- }
4145
-
4146
- interface CenterSummary {
4147
- readonly id: string;
4148
- readonly key: string;
4149
- readonly address?: io.flow.fulfillment.v0.models.ShippingAddress;
4150
- }
4151
-
4152
- interface CenterVersion {
4153
- readonly id: string;
4154
- readonly timestamp: string;
4155
- readonly type: io.flow.common.v0.enums.ChangeType;
4156
- readonly center: io.flow.fulfillment.v0.models.Center;
4157
- }
4158
-
4159
- interface CommercialInvoiceFee {
4160
- readonly discriminator: 'commercial_invoice_fee';
4161
- readonly amount: io.flow.common.v0.models.Money;
4162
- }
4163
-
4164
- interface CountryAvailability {
4165
- readonly status: io.flow.fulfillment.v0.enums.ItemAvailabilityStatus;
4166
- readonly countries: string[];
4167
- }
4168
-
4169
- interface CountryShippingPricing {
4170
- readonly pricing: io.flow.fulfillment.v0.models.ItemShippingPricing;
4171
- readonly countries: string[];
4172
- }
4173
-
4174
- interface DeliveryItem {
4175
- readonly id?: string;
4176
- readonly number: string;
4177
- readonly quantity: number;
4178
- readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
4179
- readonly price?: io.flow.common.v0.models.MoneyWithOptionalBase;
4180
- readonly attributes?: Record<string, string>;
4181
- readonly center?: string;
4182
- readonly line_number?: number;
4183
- }
4184
-
4185
- interface DeliveryOption {
4186
- readonly id: string;
4187
- readonly cost: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
4188
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
4189
- readonly price: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
4190
- readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
4191
- readonly tier: io.flow.fulfillment.v0.models.TierSummary;
4192
- readonly window: io.flow.fulfillment.v0.models.DeliveryWindow;
4193
- readonly rule_outcome?: io.flow.fulfillment.v0.unions.TierRuleOutcome;
4194
- readonly weight?: io.flow.fulfillment.v0.models.OptionWeightEstimates;
4195
- readonly send_to?: io.flow.fulfillment.v0.models.ShippingAddress;
4196
- readonly surcharge?: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
4197
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
4198
- }
4199
-
4200
- interface DeliveryOptionCostComponent {
4201
- readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
4202
- readonly currency: string;
4203
- readonly amount: number;
4204
- readonly label: string;
4205
- readonly base?: io.flow.common.v0.models.Price;
4206
- }
4207
-
4208
- interface DeliveryOptionCostDetail {
4209
- readonly source: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailSource;
4210
- readonly ratecard_id?: string;
4211
- readonly currency: string;
4212
- readonly amount: number;
4213
- readonly label: string;
4214
- readonly base?: io.flow.common.v0.models.Price;
4215
- readonly components: io.flow.fulfillment.v0.models.DeliveryOptionCostComponent[];
4216
- }
4217
-
4218
- interface DeliveryOptionForm {
4219
- readonly delivery: string;
4220
- readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[];
4221
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4222
- }
4223
-
4224
- interface DeliveryOptionReference {
4225
- readonly id: string;
4226
- }
4227
-
4228
- interface DeliveryOptionSummary {
4229
- readonly id: string;
4230
- readonly cost: io.flow.common.v0.models.Price;
4231
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
4232
- readonly price: io.flow.common.v0.models.Price;
4233
- readonly service: io.flow.fulfillment.v0.models.ServiceReference;
4234
- readonly tier: io.flow.fulfillment.v0.models.TierReference;
4235
- readonly window: io.flow.common.v0.models.DatetimeRange;
4236
- }
4237
-
4238
- interface DeliveryOptionVersion {
4239
- readonly id: string;
4240
- readonly timestamp: string;
4241
- readonly type: io.flow.common.v0.enums.ChangeType;
4242
- readonly delivery_option: io.flow.fulfillment.v0.models.DeliveryOptionSummary;
4243
- }
4244
-
4245
- interface DeliverySummary {
4246
- readonly id: string;
4247
- readonly items: io.flow.common.v0.models.LineItemForm[];
4248
- }
4249
-
4250
- interface DeliveryVersion {
4251
- readonly id: string;
4252
- readonly timestamp: string;
4253
- readonly type: io.flow.common.v0.enums.ChangeType;
4254
- readonly delivery: io.flow.fulfillment.v0.models.DeliverySummary;
4255
- }
4256
-
4257
- interface DeliveryWindow {
4258
- readonly from: string;
4259
- readonly to: string;
4260
- readonly timezone?: string;
4261
- readonly label?: string;
4262
- readonly min_days?: number;
4263
- readonly max_days?: number;
4264
- }
4265
-
4266
- interface DeliveryWindowComponent {
4267
- readonly from: string;
4268
- readonly to: string;
4269
- readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
4270
- }
4271
-
4272
- interface DeliveryWindowComponents {
4273
- readonly shipment_estimate: io.flow.fulfillment.v0.models.DeliveryWindowComponent;
4274
- readonly transit_estimate: io.flow.fulfillment.v0.models.DeliveryWindowComponent;
4275
- }
4276
-
4277
- interface DeliveryWindowComponentsV2 {
4278
- readonly processing_estimates: io.flow.fulfillment.v0.models.ProcessingEstimate[];
4279
- readonly transit_estimates: io.flow.fulfillment.v0.models.TransitEstimate[];
4280
- }
4281
-
4282
- interface DeliveryWindowSummary {
4283
- readonly country: string;
4284
- readonly delivery_window: io.flow.fulfillment.v0.models.DeliveryWindow;
4285
- }
4286
-
4287
- interface DigitalDelivery {
4288
- readonly discriminator: 'digital_delivery';
4289
- readonly id: string;
4290
- readonly key?: string;
4291
- readonly items: io.flow.fulfillment.v0.models.DeliveryItem[];
4292
- readonly prices?: io.flow.order.price.v0.models.OrderPriceDetail[];
4293
- readonly total?: io.flow.catalog.v0.models.LocalizedTotal;
4294
- }
4295
-
4296
- interface EstimatedWindow {
4297
- readonly from: number;
4298
- readonly to: number;
4299
- readonly unit: io.flow.common.v0.enums.UnitOfTime;
4300
- }
4301
-
4302
- interface FlatRate {
4303
- readonly discriminator: 'flat_rate';
4304
- readonly price: io.flow.common.v0.models.Price;
4305
- readonly zero_amount_indicator?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator;
4306
- }
4307
-
4308
- interface FlatRateForm {
4309
- readonly discriminator: 'flat_rate_form';
4310
- readonly price: io.flow.common.v0.models.Money;
4311
- readonly zero_amount_indicator?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator;
4312
- }
4313
-
4314
- interface FulfillmentExperienceReference {
4315
- readonly id: string;
4316
- readonly currency: string;
4317
- }
4318
-
4319
- interface InboundCartonFee {
4320
- readonly discriminator: 'inbound_carton_fee';
4321
- readonly amount: io.flow.common.v0.models.Money;
4322
- }
4323
-
4324
- interface ItemShippingPricing {
4325
- readonly min: io.flow.common.v0.models.Price;
4326
- readonly max?: io.flow.common.v0.models.Price;
4327
- }
4328
-
4329
- interface NumberRange {
4330
- readonly min: number;
4331
- readonly max: number;
4332
- }
4333
-
4334
- interface OptionWeightEstimates {
4335
- readonly gravitational: io.flow.common.v0.models.Measurement;
4336
- readonly dimensional: io.flow.common.v0.models.Measurement;
4337
- }
4338
-
4339
- interface OutboundCartonFee {
4340
- readonly discriminator: 'outbound_carton_fee';
4341
- readonly amount: io.flow.common.v0.models.Money;
4342
- }
4343
-
4344
- interface Packaging {
4345
- readonly dimensions: io.flow.common.v0.models.Dimensions;
4346
- readonly name?: string;
4347
- readonly number?: string;
4348
- }
4349
-
4350
- interface PartnerCenter {
4351
- readonly partner_reference: io.flow.common.v0.models.PartnerReference;
4352
- readonly number?: string;
4353
- readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
4354
- }
4355
-
4356
- interface PartnerCenterForm {
4357
- readonly partner_id: string;
4358
- readonly number?: string;
4359
- readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
4360
- }
4361
-
4362
- interface PercentMargin {
4363
- readonly discriminator: 'percent_margin';
4364
- readonly percentage: number;
4365
- }
4366
-
4367
- interface PhysicalDelivery {
4368
- readonly discriminator: 'physical_delivery';
4369
- readonly id: string;
4370
- readonly key?: string;
4371
- readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
4372
- readonly fulfillment_routing?: io.flow.fulfillment.v0.enums.FulfillmentRouting;
4373
- readonly ship_from_country?: string;
4374
- readonly items: io.flow.fulfillment.v0.models.DeliveryItem[];
4375
- readonly options: io.flow.fulfillment.v0.models.DeliveryOption[];
4376
- readonly special_services?: io.flow.fulfillment.v0.enums.PhysicalDeliverySpecialSerivce[];
4377
- readonly prices?: io.flow.order.price.v0.models.OrderPriceDetail[];
4378
- readonly total?: io.flow.catalog.v0.models.LocalizedTotal;
4379
- readonly goods_supply?: io.flow.common.v0.enums.GoodsSupply;
4380
- readonly merchant_of_record_flow_entity?: io.flow.merchant.of.record.v0.enums.FlowEntity;
4381
- readonly preferred_service?: io.flow.fulfillment.v0.models.PhysicalDeliveryPreferredService;
4382
- }
4383
-
4384
- interface PhysicalDeliveryPreferredService {
4385
- readonly id: string;
4386
- readonly selection_stratey: io.flow.fulfillment.v0.enums.PreferredServiceSelectionStrategy;
4387
- }
4388
-
4389
- interface PriceWithBaseAndDetails {
4390
- readonly currency: string;
4391
- readonly amount: number;
4392
- readonly label: string;
4393
- readonly base?: io.flow.common.v0.models.Price;
4394
- readonly details?: io.flow.fulfillment.v0.models.DeliveryOptionCostDetail[];
4395
- }
4396
-
4397
- interface ProcessingEstimate {
4398
- readonly location: io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
4399
- readonly min_date: string;
4400
- readonly max_date: string;
4401
- readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
4402
- }
4403
-
4404
- interface Quote {
4405
- readonly id: string;
4406
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4407
- readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
4408
- readonly selections: io.flow.fulfillment.v0.models.DeliveryOptionReference[];
4409
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
4410
- readonly delivered_duties: io.flow.common.v0.enums.DeliveredDuty[];
4411
- }
4412
-
4413
- interface QuoteError {
4414
- readonly code: io.flow.fulfillment.v0.enums.QuoteErrorCode;
4415
- readonly messages: string[];
4416
- readonly item_numbers?: string[];
4417
- }
4418
-
4419
- interface QuoteForm {
4420
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4421
- readonly experience: string;
4422
- readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[];
4423
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
4424
- readonly delivered_duties?: io.flow.common.v0.enums.DeliveredDuty[];
4425
- readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
4426
- }
4427
-
4428
- interface QuoteLineItemForm {
4429
- readonly number: string;
4430
- readonly quantity: number;
4431
- readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
4432
- readonly price: io.flow.common.v0.models.MoneyWithBase;
4433
- readonly attributes?: Record<string, string>;
4434
- readonly center?: string;
4435
- }
4436
-
4437
- interface QuoteSummary {
4438
- readonly id: string;
4439
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4440
- }
4441
-
4442
- interface QuoteVersion {
4443
- readonly id: string;
4444
- readonly timestamp: string;
4445
- readonly type: io.flow.common.v0.enums.ChangeType;
4446
- readonly quote: io.flow.fulfillment.v0.models.QuoteSummary;
4447
- }
4448
-
4449
- interface ScheduledPickup {
4450
- readonly day_of_week: io.flow.common.v0.enums.DayOfWeek;
4451
- readonly hour_of_day: string;
4452
- readonly minute_of_hour: string;
4453
- }
4454
-
4455
- interface ServiceReference {
4456
- readonly id: string;
4457
- }
4458
-
4459
- interface ServiceSummary {
4460
- readonly discriminator: 'service_summary';
4461
- readonly id: string;
4462
- readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
4463
- readonly name: string;
4464
- readonly center_code?: string;
4465
- }
4466
-
4467
- interface ServiceUnknown {
4468
- readonly discriminator: 'service_unknown';
4469
- readonly name: string;
4470
- }
4471
-
4472
- interface ShippingAddress {
4473
- readonly contact: io.flow.common.v0.models.Contact;
4474
- readonly location: io.flow.common.v0.models.Address;
4475
- readonly center_key?: string;
4476
- readonly center_reference?: io.flow.fulfillment.v0.models.CenterReference;
4477
- readonly service?: io.flow.fulfillment.v0.models.ServiceSummary;
4478
- }
4479
-
4480
- interface ShippingConfiguration {
4481
- readonly id: string;
4482
- readonly name: string;
4483
- readonly key: string;
4484
- readonly type: io.flow.fulfillment.v0.enums.ShippingConfigurationType;
4485
- readonly shipping_lanes: io.flow.fulfillment.v0.models.ShippingLane[];
4486
- }
4487
-
4488
- interface ShippingConfigurationCopy {
4489
- readonly original: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
4490
- readonly new: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
4491
- }
4492
-
4493
- interface ShippingConfigurationCopyForm {
4494
- readonly name: string;
4495
- }
4496
-
4497
- interface ShippingConfigurationForm {
4498
- readonly name: string;
4499
- }
4500
-
4501
- interface ShippingConfigurationItemAvailability {
4502
- readonly id: string;
4503
- readonly item: io.flow.common.v0.models.ItemReference;
4504
- readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationSummary;
4505
- readonly availabilities: io.flow.fulfillment.v0.models.CountryAvailability[];
4506
- }
4507
-
4508
- interface ShippingConfigurationItemShippingPricing {
4509
- readonly id: string;
4510
- readonly item: io.flow.common.v0.models.ItemReference;
4511
- readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationSummary;
4512
- readonly country_shipping_pricings: io.flow.fulfillment.v0.models.CountryShippingPricing[];
4513
- }
4514
-
4515
- interface ShippingConfigurationReference {
4516
- readonly key: string;
4517
- }
4518
-
4519
- interface ShippingConfigurationSummary {
4520
- readonly id: string;
4521
- readonly name: string;
4522
- readonly key: string;
4523
- readonly type: io.flow.fulfillment.v0.enums.ShippingConfigurationType;
4524
- }
4525
-
4526
- interface ShippingConfigurationVersion {
4527
- readonly id: string;
4528
- readonly timestamp: string;
4529
- readonly type: io.flow.common.v0.enums.ChangeType;
4530
- readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfiguration;
4531
- }
4532
-
4533
- interface ShippingLane {
4534
- readonly id: string;
4535
- readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
4536
- readonly region: string;
4537
- readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[];
4538
- readonly tiers: io.flow.fulfillment.v0.models.Tier[];
4539
- readonly query: io.flow.query.builder.v0.models.Query;
4540
- readonly strategy: io.flow.fulfillment.v0.enums.LaneStrategy;
4541
- readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
4542
- readonly preference?: io.flow.fulfillment.v0.enums.LanePreselectPreference;
4543
- }
4544
-
4545
- interface ShippingLaneDefaultTier {
4546
- readonly id: string;
4547
- readonly tier: io.flow.fulfillment.v0.models.TierReference;
4548
- }
4549
-
4550
- interface ShippingLaneDefaultTierForm {
4551
- readonly tier_id: string;
4552
- }
4553
-
4554
- interface ShippingLaneForm {
4555
- readonly from: string;
4556
- readonly to: string;
4557
- readonly strategy?: io.flow.fulfillment.v0.enums.LaneStrategy;
4558
- readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
4559
- readonly preference?: io.flow.fulfillment.v0.enums.LanePreselectPreference;
4560
- }
4561
-
4562
- interface ShippingLaneSummary {
4563
- readonly shipping_lane_id: string;
4564
- readonly region: string;
4565
- readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[];
4566
- }
4567
-
4568
- interface ShippingLaneVersion {
4569
- readonly id: string;
4570
- readonly timestamp: string;
4571
- readonly type: io.flow.common.v0.enums.ChangeType;
4572
- readonly shipping_lane: io.flow.fulfillment.v0.models.ShippingLane;
4573
- }
4574
-
4575
- interface SurchargeResponsiblePartyDisplay {
4576
- readonly name: string;
4577
- readonly responsible_party: io.flow.fulfillment.v0.enums.SurchargeResponsibleParty;
4578
- }
4579
-
4580
- interface SurchargeSetting {
4581
- readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
4582
- readonly responsible_party: io.flow.fulfillment.v0.enums.SurchargeResponsibleParty;
4583
- }
4584
-
4585
- interface SurchargeSettingDisplay {
4586
- readonly name: string;
4587
- readonly description: string;
4588
- readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
4589
- readonly available: io.flow.fulfillment.v0.models.SurchargeResponsiblePartyDisplay[];
4590
- }
4591
-
4592
- interface Tier {
4593
- readonly id: string;
4594
- readonly direction: io.flow.fulfillment.v0.enums.LaneDirection;
4595
- readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
4596
- readonly name: string;
4597
- readonly message?: string;
4598
- readonly rules: io.flow.fulfillment.v0.models.TierRule[];
4599
- readonly services: io.flow.reference.v0.models.CarrierService[];
4600
- readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy;
4601
- readonly visibility: io.flow.common.v0.enums.Visibility;
4602
- readonly currency: string;
4603
- readonly description?: string;
4604
- readonly display?: io.flow.fulfillment.v0.models.TierDisplay;
4605
- readonly shipping_lane?: string;
4606
- readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
4607
- readonly lane?: io.flow.fulfillment.v0.models.ShippingLaneSummary;
4608
- readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
4609
- }
4610
-
4611
- interface TierDisplay {
4612
- readonly estimate: io.flow.fulfillment.v0.models.TierEstimate;
4613
- }
4614
-
4615
- interface TierDisplayForm {
4616
- readonly estimate?: io.flow.fulfillment.v0.models.TierEstimate;
4617
- }
4618
-
4619
- interface TierEstimate {
4620
- readonly type: io.flow.fulfillment.v0.enums.TierEstimateType;
4621
- readonly label?: string;
4622
- }
4623
-
4624
- interface TierForm {
4625
- readonly currency: string;
4626
- readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
4627
- readonly name: string;
4628
- readonly message?: string;
4629
- readonly rules: io.flow.fulfillment.v0.models.TierRuleForm[];
4630
- readonly services: string[];
4631
- readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy;
4632
- readonly visibility: io.flow.common.v0.enums.Visibility;
4633
- readonly description?: string;
4634
- readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection;
4635
- readonly display?: io.flow.fulfillment.v0.models.TierDisplayForm;
4636
- readonly shipping_lane: string;
4637
- readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
4638
- readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
4639
- }
4640
-
4641
- interface TierReference {
4642
- readonly id: string;
4643
- }
4644
-
4645
- interface TierRule {
4646
- readonly id: string;
4647
- readonly position: number;
4648
- readonly query: string;
4649
- readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcome;
4650
- }
4651
-
4652
- interface TierRuleForm {
4653
- readonly position?: number;
4654
- readonly query: string;
4655
- readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcomeForm;
4656
- }
4657
-
4658
- interface TierRuleVersion {
4659
- readonly id: string;
4660
- readonly timestamp: string;
4661
- readonly type: io.flow.common.v0.enums.ChangeType;
4662
- readonly tier_rule: io.flow.fulfillment.v0.models.TierRule;
4663
- }
4664
-
4665
- interface TierSettings {
4666
- readonly availability: io.flow.fulfillment.v0.enums.TierAvailability;
4667
- }
4668
-
4669
- interface TierSummary {
4670
- readonly id: string;
4671
- readonly experience?: io.flow.fulfillment.v0.models.FulfillmentExperienceReference;
4672
- readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
4673
- readonly name: string;
4674
- readonly services: string[];
4675
- readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy;
4676
- readonly visibility: io.flow.common.v0.enums.Visibility;
4677
- readonly currency: string;
4678
- readonly display?: io.flow.fulfillment.v0.models.TierDisplay;
4679
- readonly message?: string;
4680
- readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
4681
- }
4682
-
4683
- interface TierVersion {
4684
- readonly id: string;
4685
- readonly timestamp: string;
4686
- readonly type: io.flow.common.v0.enums.ChangeType;
4687
- readonly tier: io.flow.fulfillment.v0.models.TierSummary;
4688
- }
4689
-
4690
- interface TransitEstimate {
4691
- readonly origin: io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
4692
- readonly destination: io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
4693
- readonly min_date: string;
4694
- readonly max_date: string;
4695
- readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
4696
- }
4697
- }
4698
-
4699
- declare namespace io.flow.fulfillment.v0.unions {
4700
- type Delivery =
4701
- | io.flow.fulfillment.v0.models.DigitalDelivery
4702
- | io.flow.fulfillment.v0.models.PhysicalDelivery;
4703
- type ExpandableCenter =
4704
- | io.flow.fulfillment.v0.models.Center
4705
- | io.flow.fulfillment.v0.models.CenterReference;
4706
- type PartnerCenterFee =
4707
- | io.flow.fulfillment.v0.models.CommercialInvoiceFee
4708
- | io.flow.fulfillment.v0.models.InboundCartonFee
4709
- | io.flow.fulfillment.v0.models.OutboundCartonFee;
4710
- type ServiceDescription =
4711
- | io.flow.fulfillment.v0.models.ServiceSummary
4712
- | io.flow.fulfillment.v0.models.ServiceUnknown;
4713
- type TierRuleOutcome =
4714
- | io.flow.fulfillment.v0.models.AmountMargin
4715
- | io.flow.fulfillment.v0.models.AtCost
4716
- | io.flow.fulfillment.v0.models.FlatRate
4717
- | io.flow.fulfillment.v0.models.PercentMargin;
4718
- type TierRuleOutcomeForm =
4719
- | io.flow.fulfillment.v0.models.AmountMarginForm
4720
- | io.flow.fulfillment.v0.models.FlatRateForm
4721
- | io.flow.fulfillment.v0.models.AtCost
4722
- | io.flow.fulfillment.v0.models.PercentMargin;
4723
- }
4724
-
4725
- declare namespace io.flow.apple.pay.v0.enums {
4726
- type ApplePayContactField =
4727
- | 'email'
4728
- | 'name'
4729
- | 'phone'
4730
- | 'postalAddress'
4731
- | 'phoneticName';
4732
- type ApplePayLineItemType = 'final' | 'pending';
4733
- type ApplePayMerchantCapability =
4734
- | 'supports3DS'
4735
- | 'supportsCredit'
4736
- | 'supportsDebit'
4737
- | 'supportsEMV';
4738
- type ApplePayShippingType =
4739
- | 'shipping'
4740
- | 'delivery'
4741
- | 'storePickup'
4742
- | 'servicePickup';
4743
- type ApplePaySupportedNetworks =
4744
- | 'amex'
4745
- | 'chinaUnionPay'
4746
- | 'discover'
4747
- | 'jcb'
4748
- | 'masterCard'
4749
- | 'privateLabel'
4750
- | 'visa';
4751
- }
4752
-
4753
- declare namespace io.flow.apple.pay.v0.models {
4754
- interface ApplePayLineItem {
4755
- readonly label: string;
4756
- readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
4757
- readonly amount: string;
4758
- }
4759
-
4760
- interface ApplePayPaymentContact {
4761
- readonly email_address?: string;
4762
- readonly family_name?: string;
4763
- readonly given_name?: string;
4764
- readonly phone_number?: string;
4765
- readonly phonetic_familyName?: string;
4766
- readonly phonetic_givenName?: string;
4767
- readonly address_lines?: string[];
4768
- readonly locality?: string;
4769
- readonly sub_locality?: string;
4770
- readonly administrative_area?: string;
4771
- readonly sub_administrative_area?: string;
4772
- readonly postal_code?: string;
4773
- readonly country?: string;
4774
- readonly country_code?: string;
4775
- }
4776
-
4777
- interface ApplePayPaymentData {
4778
- readonly applicationPrimaryAccountNumber: string;
4779
- readonly applicationExpirationDate: string;
4780
- readonly currencyCode: string;
4781
- readonly transactionAmount: number;
4782
- readonly cardholderName?: string;
4783
- readonly deviceManufacturerIdentifier: string;
4784
- readonly paymentDataType: string;
4785
- readonly paymentData: any /*object*/;
4786
- }
4787
-
4788
- interface ApplePayPaymentInfo {
4789
- readonly total: io.flow.apple.pay.v0.models.ApplePayLineItem;
4790
- readonly line_items?: io.flow.apple.pay.v0.models.ApplePayLineItem[];
4791
- readonly country_code: string;
4792
- readonly currency_code: string;
4793
- readonly merchant_capabilities: io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[];
4794
- readonly shipping_methods?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
4795
- readonly shipping_type?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
4796
- readonly supported_countries?: string[];
4797
- readonly supported_networks: io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
4798
- readonly required_billingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
4799
- readonly required_shippingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
4800
- readonly billing_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
4801
- readonly shipping_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
4802
- readonly application_data?: string;
4803
- }
4804
-
4805
- interface ApplePayShippingMethod {
4806
- readonly label: string;
4807
- readonly detail: string;
4808
- readonly amount: string;
4809
- readonly identifier: string;
4810
- }
4811
- }
4812
-
4813
- declare namespace io.flow.merchant.of.record.v0.enums {
4814
- type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
4815
- type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
4816
- }
4817
-
4818
- declare namespace io.flow.tech.onboarding.playground.v0.enums {
4819
- type AldoItemType = 'physical' | 'digital';
4820
- type AnshItemType = 'physical' | 'digital';
4821
- type HoseinItemType = 'physical' | 'digital';
4822
- type NiallItemType = 'physical' | 'digital';
4823
- type PrateekItemType = 'physical' | 'digital';
4824
- type RohanItemType = 'physical' | 'digital';
4825
- type SarveshItemType = 'physical' | 'digital';
4826
- }
4827
-
4828
- declare namespace io.flow.tech.onboarding.playground.v0.models {
4829
- interface AldoItem {
4830
- readonly id: string;
4831
- readonly number: string;
4832
- readonly amount: io.flow.common.v0.models.Price;
4833
- readonly description?: string;
4834
- readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4835
- readonly added_on: string;
4836
- }
4837
-
4838
- interface AldoItemForm {
4839
- readonly number: string;
4840
- readonly amount: io.flow.common.v0.models.Price;
4841
- readonly description?: string;
4842
- readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4843
- readonly added_on: string;
4844
- }
4845
-
4846
- interface AnshItem {
4847
- readonly id: string;
4848
- readonly number: string;
4849
- readonly amount: io.flow.common.v0.models.Price;
4850
- readonly description?: string;
4851
- readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
4852
- readonly added_on: string;
4853
- }
4854
-
4855
- interface AnshItemForm {
4856
- readonly number: string;
4857
- readonly amount: io.flow.common.v0.models.Price;
4858
- readonly description?: string;
4859
- readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
4860
- readonly added_on: string;
4861
- }
4862
-
4863
- interface HoseinItem {
4864
- readonly id: string;
4865
- readonly number: string;
4866
- readonly amount: io.flow.common.v0.models.Price;
4867
- readonly description?: string;
4868
- readonly type: io.flow.tech.onboarding.playground.v0.enums.HoseinItemType;
4869
- readonly added_on: string;
4870
- }
4871
-
4872
- interface HoseinItemForm {
4873
- readonly number: string;
4874
- readonly amount: io.flow.common.v0.models.Price;
4875
- readonly description?: string;
4876
- readonly type: io.flow.tech.onboarding.playground.v0.enums.HoseinItemType;
4877
- readonly added_on: string;
4878
- }
4879
-
4880
- interface JeanDemoItem {
4881
- readonly id: string;
4882
- readonly name: string;
4883
- }
4884
-
4885
- interface NiallItem {
4886
- readonly id: string;
4887
- readonly number: string;
4888
- readonly amount: io.flow.common.v0.models.Price;
4889
- readonly description?: string;
4890
- readonly type: io.flow.tech.onboarding.playground.v0.enums.NiallItemType;
4891
- readonly added_on: string;
4892
- }
4893
-
4894
- interface NiallItemForm {
4895
- readonly number: string;
4896
- readonly amount: io.flow.common.v0.models.Price;
4897
- readonly description?: string;
4898
- readonly type: io.flow.tech.onboarding.playground.v0.enums.NiallItemType;
4899
- readonly added_on: string;
4900
- }
4901
-
4902
- interface PrateekItem {
4903
- readonly id: string;
4904
- readonly number: string;
4905
- readonly amount: io.flow.common.v0.models.Price;
4906
- readonly description?: string;
4907
- readonly type: io.flow.tech.onboarding.playground.v0.enums.PrateekItemType;
4908
- readonly added_on: string;
4909
- }
4910
-
4911
- interface PrateekItemForm {
4912
- readonly number: string;
4913
- readonly amount: io.flow.common.v0.models.Price;
4914
- readonly description?: string;
4915
- readonly type: io.flow.tech.onboarding.playground.v0.enums.PrateekItemType;
4916
- readonly added_on: string;
4917
- }
4918
-
4919
- interface RohanItem {
4920
- readonly id: string;
4921
- readonly number: string;
4922
- readonly amount: io.flow.common.v0.models.Price;
4923
- readonly description?: string;
4924
- readonly type: io.flow.tech.onboarding.playground.v0.enums.RohanItemType;
4925
- readonly added_on: string;
4926
- }
4927
-
4928
- interface RohanItemForm {
4929
- readonly number: string;
4930
- readonly amount: io.flow.common.v0.models.Price;
4931
- readonly description?: string;
4932
- readonly type: io.flow.tech.onboarding.playground.v0.enums.RohanItemType;
4933
- readonly added_on: string;
4934
- }
4935
-
4936
- interface SarveshItem {
4937
- readonly id: string;
4938
- readonly number: string;
4939
- readonly amount: io.flow.common.v0.models.Price;
4940
- readonly description?: string;
4941
- readonly type: io.flow.tech.onboarding.playground.v0.enums.SarveshItemType;
4942
- readonly added_on: string;
4943
- }
4944
-
4945
- interface SarveshItemForm {
4946
- readonly number: string;
4947
- readonly amount: io.flow.common.v0.models.Price;
4948
- readonly description?: string;
4949
- readonly type: io.flow.tech.onboarding.playground.v0.enums.SarveshItemType;
4950
- readonly added_on: string;
4951
- }
4952
-
4953
- interface TechOnboardingDescription {
4954
- readonly description: string;
4955
- }
4956
- }
4957
-
4958
- declare namespace io.flow.currency.v0.models {
4959
- interface Rate {
4960
- readonly id: string;
4961
- readonly base: string;
4962
- readonly target: string;
4963
- readonly effective_at: string;
4964
- readonly value: number;
4965
- }
4966
-
4967
- interface RateForm {
4968
- readonly base: string;
4969
- readonly target: string;
4970
- readonly effective_at: string;
4971
- }
4972
-
4973
- interface RateVersion {
4974
- readonly id: string;
4975
- readonly timestamp: string;
4976
- readonly type: io.flow.common.v0.enums.ChangeType;
4977
- readonly rate: io.flow.currency.v0.models.Rate;
4978
- }
4979
- }
4980
-
4981
- declare namespace io.flow.organization.v0.enums {
4982
- type CountryPickerSource = 'experience' | 'destination';
4983
- type EcommercePlatformType =
4984
- | 'commercetools'
4985
- | 'custom'
4986
- | 'hybris'
4987
- | 'magento'
4988
- | 'shopify'
4989
- | 'shopify_markets'
4990
- | 'sfcc'
4991
- | 'solidus'
4992
- | 'workarea';
4993
- type InvitationErrorCode = 'expired' | 'invalid_email';
4994
- }
4995
-
4996
- declare namespace io.flow.organization.v0.models {
4997
- interface CountryPicker {
4998
- readonly id: string;
4999
- readonly source: io.flow.organization.v0.enums.CountryPickerSource;
5000
- }
5001
-
5002
- interface CountryPickerForm {
5003
- readonly source: io.flow.organization.v0.enums.CountryPickerSource;
5004
- }
5005
-
5006
- interface EcommercePlatform {
5007
- readonly id: string;
5008
- readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
5009
- readonly version?: string;
5010
- }
5011
-
5012
- interface EcommercePlatformForm {
5013
- readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
5014
- readonly version?: string;
5015
- }
5016
-
5017
- interface Invitation {
5018
- readonly id: string;
5019
- readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
5020
- readonly email: string;
5021
- readonly name: io.flow.common.v0.models.Name;
5022
- readonly role?: io.flow.common.v0.enums.Role;
5023
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
5024
- readonly expiration: string;
5025
- }
5026
-
5027
- interface InvitationError {
5028
- readonly code: io.flow.organization.v0.enums.InvitationErrorCode;
5029
- readonly messages: string[];
5030
- }
5031
-
5032
- interface InvitationForm {
5033
- readonly organization: string;
5034
- readonly email: string;
5035
- readonly name?: io.flow.common.v0.models.Name;
5036
- readonly role?: io.flow.common.v0.enums.Role;
5037
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
5038
- }
5039
-
5040
- interface InvitationVersion {
5041
- readonly id: string;
5042
- readonly timestamp: string;
5043
- readonly type: io.flow.common.v0.enums.ChangeType;
5044
- readonly invitation: io.flow.organization.v0.models.Invitation;
5045
- }
5046
-
5047
- interface Membership {
5048
- readonly id: string;
5049
- readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
5050
- readonly user: io.flow.common.v0.unions.ExpandableUser;
5051
- readonly role?: io.flow.common.v0.enums.Role;
5052
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
5053
- }
5054
-
5055
- interface MembershipForm {
5056
- readonly organization: string;
5057
- readonly user: string;
5058
- readonly role?: io.flow.common.v0.enums.Role;
5059
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
5060
- }
5061
-
5062
- interface MembershipPutForm {
5063
- readonly role?: io.flow.common.v0.enums.Role;
5064
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
5065
- }
5066
-
5067
- interface MembershipVersion {
5068
- readonly id: string;
5069
- readonly timestamp: string;
5070
- readonly type: io.flow.common.v0.enums.ChangeType;
5071
- readonly membership: io.flow.organization.v0.models.Membership;
5072
- }
5073
-
5074
- interface OrganizationAuthorization {
5075
- readonly role?: io.flow.common.v0.enums.Role;
5076
- readonly environment: io.flow.common.v0.enums.Environment;
5077
- }
5078
-
5079
- interface OrganizationAuthorizationForm {
5080
- readonly organization: string;
5081
- readonly environment: io.flow.common.v0.enums.Environment;
5082
- }
5083
-
5084
- interface OrganizationConfigurationReference {
5085
- readonly id: string;
5086
- }
5087
-
5088
- interface OrganizationDefaultConfigurations {
5089
- readonly id: string;
5090
- readonly checkout_configuration: io.flow.organization.v0.models.OrganizationConfigurationReference;
5091
- }
5092
-
5093
- interface OrganizationDefaultConfigurationsForm {
5094
- readonly id: string;
5095
- }
5096
-
5097
- interface OrganizationForm {
5098
- readonly id?: string;
5099
- readonly name?: string;
5100
- readonly environment: io.flow.common.v0.enums.Environment;
5101
- readonly parent_id?: string;
5102
- readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
5103
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
5104
- readonly type?: io.flow.common.v0.enums.OrganizationType;
5105
- }
5106
-
5107
- interface OrganizationPutForm {
5108
- readonly name?: string;
5109
- readonly environment?: io.flow.common.v0.enums.Environment;
5110
- readonly parent_id?: string;
5111
- readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
5112
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
5113
- }
5114
-
5115
- interface OrganizationVersion {
5116
- readonly id: string;
5117
- readonly timestamp: string;
5118
- readonly type: io.flow.common.v0.enums.ChangeType;
5119
- readonly organization: io.flow.common.v0.models.Organization;
5120
- }
5121
-
5122
- interface RegionSetting {
5123
- readonly id: string;
5124
- readonly region: string;
5125
- readonly status: io.flow.common.v0.enums.AvailabilityStatus;
5126
- }
5127
-
5128
- interface RegionSettingForm {
5129
- readonly status: io.flow.common.v0.enums.AvailabilityStatus;
5130
- }
5131
- }
5132
-
5133
- declare namespace io.flow.order.price.v0.enums {
5134
- type OrderPriceDetailComponentKey =
5135
- | 'adjustment'
5136
- | 'vat_deminimis'
5137
- | 'duty_deminimis'
5138
- | 'duties_item_price'
5139
- | 'duties_freight'
5140
- | 'duties_insurance'
5141
- | 'vat_item_price'
5142
- | 'vat_freight'
5143
- | 'vat_insurance'
5144
- | 'vat_duties_item_price'
5145
- | 'vat_duties_freight'
5146
- | 'vat_duties_insurance'
5147
- | 'item_price'
5148
- | 'item_discount'
5149
- | 'rounding'
5150
- | 'insurance'
5151
- | 'shipping'
5152
- | 'shipping_discount'
5153
- | 'order_discount'
5154
- | 'subtotal_percent_sales_margin'
5155
- | 'subtotal_vat_percent_sales_margin'
5156
- | 'subtotal_duty_percent_sales_margin'
5157
- | 'vat_subsidy'
5158
- | 'duty_subsidy'
5159
- | 'remote_area_surcharge'
5160
- | 'fuel_surcharge'
5161
- | 'emergency_situation_surcharge'
5162
- | 'peak_surcharge'
5163
- | 'duties_taxes_paid_surcharge'
5164
- | 'tip';
5165
- type OrderPriceDetailKey =
5166
- | 'adjustment'
5167
- | 'subtotal'
5168
- | 'vat'
5169
- | 'duty'
5170
- | 'shipping'
5171
- | 'insurance'
5172
- | 'discount'
5173
- | 'surcharges'
5174
- | 'tip';
5175
- }
5176
-
5177
- declare namespace io.flow.order.price.v0.models {
5178
- interface OrderPriceDetail {
5179
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
5180
- readonly currency: string;
5181
- readonly amount: number;
5182
- readonly label: string;
5183
- readonly base: io.flow.common.v0.models.Price;
5184
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
5185
- readonly name?: string;
5186
- readonly rate?: number;
5187
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
5188
- readonly rate_label?: string;
5189
- }
5190
-
5191
- interface OrderPriceDetailComponent {
5192
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
5193
- readonly currency: string;
5194
- readonly amount: number;
5195
- readonly label: string;
5196
- readonly base: io.flow.common.v0.models.Price;
5197
- readonly name?: string;
5198
- }
5199
- }
5200
-
5201
- declare namespace io.flow.channel.internal.v0.enums {
5202
- type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
5203
- type ChannelOrderAcceptanceFailureReasonCode =
5204
- | 'channel_order_mor_invalid'
5205
- | 'channel_order_does_not_exist';
5206
- type ChannelOrderAcceptanceNextActionFrom =
5207
- | 'cx_team'
5208
- | 'core_team'
5209
- | 'core_team_investigate'
5210
- | 'mex_team'
5211
- | 'payments_team'
5212
- | 'tc_team'
5213
- | 'logistics_team';
5214
- type ChannelOrderAcceptanceRejectionReason =
5215
- | 'unsupported_origin_country'
5216
- | 'unsupported_destination_country'
5217
- | 'domestic_order'
5218
- | 'order_contains_gift_card'
5219
- | 'order_contains_restricted_goods'
5220
- | 'missing_order_information'
5221
- | 'missing_classification_information'
5222
- | 'unsupported_payment_information'
5223
- | 'unsupported_shop_currency'
5224
- | 'unsupported_free_order'
5225
- | 'extracting_distribution_info_failed'
5226
- | 'shipping_estimation_failed'
5227
- | 'payment_authorization_failed'
5228
- | 'unsupported_subsidized_order'
5229
- | 'unsupported_virtual_goods'
5230
- | 'non_matching_currencies'
5231
- | 'unsupported_order_edit'
5232
- | 'order_missing';
5233
- type ChannelOrderAcceptanceStatus =
5234
- | 'accepted'
5235
- | 'rejected'
5236
- | 'review'
5237
- | 'edit_review'
5238
- | 'edit_accepted';
5239
- type OrderPaymentSourceType = 'globale' | 'third_party';
5240
- }
5241
-
5242
- declare namespace io.flow.channel.internal.v0.models {
5243
- interface ChannelCurrencyForm {
5244
- readonly currency: string;
5245
- readonly channel_id: string;
5246
- readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
5247
- }
5248
-
5249
- interface ChannelForm {
5250
- readonly name: string;
5251
- readonly environment: io.flow.common.v0.enums.Environment;
5252
- readonly organization_id_prefix?: string;
5253
- }
5254
-
5255
- interface ChannelMembership {
5256
- readonly id: string;
5257
- readonly channel: io.flow.common.v0.models.ChannelReference;
5258
- readonly user: io.flow.common.v0.unions.ExpandableUser;
5259
- readonly role?: io.flow.common.v0.enums.Role;
5260
- }
5261
-
5262
- interface ChannelMembershipForm {
5263
- readonly channel_id: string;
5264
- readonly user_id: string;
5265
- readonly role?: io.flow.common.v0.enums.Role;
5266
- }
5267
-
5268
- interface ChannelMembershipPutForm {
5269
- readonly role?: io.flow.common.v0.enums.Role;
5270
- }
5271
-
5272
- interface ChannelOrderAcceptance {
5273
- readonly id: string;
5274
- readonly organization_id: string;
5275
- readonly order_number: string;
5276
- readonly channel_id: string;
5277
- readonly external_order_reference: string;
5278
- readonly payment_request_id?: string;
5279
- readonly order_edit_payment_request_ids?: string[];
5280
- readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
5281
- readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
5282
- readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5283
- readonly order_created_at?: string;
5284
- readonly order_updated_at?: string;
5285
- readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
5286
- readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
5287
- }
5288
-
5289
- interface ChannelOrderAcceptanceDetails {
5290
- readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
5291
- readonly external_order: any /*object*/;
5292
- }
5293
-
5294
- interface ChannelOrderAcceptanceFailure {
5295
- readonly id: string;
5296
- readonly organization_id: string;
5297
- readonly channel_id: string;
5298
- readonly payment_request_id: string;
5299
- readonly code: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode;
5300
- readonly reason: string;
5301
- }
5302
-
5303
- interface ChannelOrderAcceptanceForm {
5304
- readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
5305
- }
5306
-
5307
- interface ChannelOrderAcceptanceReason {
5308
- readonly description: string;
5309
- readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
5310
- }
5311
-
5312
- interface FlowChannelOrganization {
5313
- readonly placeholder?: string;
5314
- }
5315
-
5316
- interface OrderEditSummary {
5317
- readonly edited_at: string;
5318
- }
5319
- }
5320
-
5321
- declare namespace io.flow.product.v0.models {
5322
- interface Product {
5323
- readonly organization_id: string;
5324
- readonly number: string;
5325
- readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
5326
- readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
5327
- readonly item_numbers: string[];
5328
- readonly highest_value_item_number?: string;
5329
- readonly updated_at: string;
5330
- readonly deleted_at?: string;
5331
- }
5332
-
5333
- interface ProductTaxonomyCategory {
5334
- readonly name: string;
5335
- readonly full_name: string;
5336
- }
5337
-
5338
- interface ProductTaxonomyData {
5339
- readonly key: string;
5340
- readonly value: string[];
5341
- }
5342
- }
5343
-
5344
- declare namespace io.flow.ben.test.internal.v0.models {
5345
- interface GenerateLoadMultipleOrgs {
5346
- readonly discriminator: 'generate_load_multiple_orgs';
5347
- readonly organization_ids: string[];
5348
- readonly num_events: number;
5349
- }
5350
-
5351
- interface GenerateLoadSingleOrg {
5352
- readonly discriminator: 'generate_load_single_org';
5353
- readonly organization_id: string;
5354
- readonly num_events: number;
5355
- }
5356
-
5357
- interface Test {
5358
- readonly id: string;
5359
- readonly name: string;
5360
- }
5361
-
5362
- interface TestForm {
5363
- readonly name: string;
5364
- }
5365
- }
5366
-
5367
- declare namespace io.flow.ben.test.internal.v0.unions {
5368
- type GenerateLoad =
5369
- | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
5370
- | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
5371
- }
5372
-
5373
- declare namespace io.flow.catalog.v0.enums {
5374
- type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
5375
- type AttributeIntent =
5376
- | 'brand'
5377
- | 'color'
5378
- | 'countries_of_origin'
5379
- | 'product_id'
5380
- | 'fulfillment_method'
5381
- | 'hazardous'
5382
- | 'price'
5383
- | 'size'
5384
- | 'sku'
5385
- | 'taxability'
5386
- | 'consumer_url'
5387
- | 'gtin'
5388
- | 'mpn'
5389
- | 'facet'
5390
- | 'eccn'
5391
- | 'returnable'
5392
- | 'searchable'
5393
- | 'barcode'
5394
- | 'min_days_to_ship'
5395
- | 'max_days_to_ship'
5396
- | 'commercial_invoice_item_number'
5397
- | 'include_in_product_feeds';
5398
- type FulfillmentMethodType = 'fulfillment_method';
5399
- type FulfillmentMethodValue = 'digital' | 'physical';
5400
- type ImageTag = 'thumbnail' | 'checkout';
5401
- type ReturnItemStatus = 'returnable' | 'non-returnable';
5402
- type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
5403
- type TaxabilityType = 'tax_rule';
5404
- type TaxabilityValue = 'exempt';
5405
- type UpdatePolicy = 'auto' | 'queue' | 'discard';
5406
- }
5407
-
5408
- declare namespace io.flow.catalog.v0.models {
5409
- interface AdjustmentReason {
5410
- readonly key: io.flow.catalog.v0.enums.AdjustmentReasonKey;
5411
- readonly label: string;
5412
- }
5413
-
5414
- interface Attribute {
5415
- readonly id: string;
5416
- readonly key: string;
5417
- readonly options: io.flow.catalog.v0.models.Options;
5418
- readonly label?: string;
5419
- readonly intent?: io.flow.catalog.v0.enums.AttributeIntent;
5420
- readonly type?: io.flow.common.v0.enums.AttributeDataType;
5421
- readonly position?: number;
5422
- }
5423
-
5424
- interface AttributeForm {
5425
- readonly key: string;
5426
- readonly options: io.flow.catalog.v0.models.Options;
5427
- readonly label?: string;
5428
- readonly intent?: io.flow.catalog.v0.enums.AttributeIntent;
5429
- readonly type?: io.flow.common.v0.enums.AttributeDataType;
5430
- readonly position?: number;
5431
- }
5432
-
5433
- interface AttributeVersion {
5434
- readonly id: string;
5435
- readonly timestamp: string;
5436
- readonly type: io.flow.common.v0.enums.ChangeType;
5437
- readonly attribute: io.flow.catalog.v0.models.Attribute;
5438
- }
5439
-
5440
- interface Catalog {
5441
- readonly id: string;
5442
- }
5443
-
5444
- interface CatalogReference {
5445
- readonly id: string;
5446
- }
5447
-
5448
- interface CatalogStatistics {
5449
- readonly id: string;
5450
- readonly items: number;
5451
- readonly categories: number;
5452
- }
5453
-
5454
- interface CatalogVersion {
5455
- readonly id: string;
5456
- readonly timestamp: string;
5457
- readonly type: io.flow.common.v0.enums.ChangeType;
5458
- readonly catalog: io.flow.catalog.v0.models.Catalog;
5459
- }
5460
-
5461
- interface FlowItemIndexMetadata {
5462
- readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
5463
- }
5464
-
5465
- interface Image {
5466
- readonly url: string;
5467
- readonly tags: io.flow.catalog.v0.enums.ImageTag[];
5468
- readonly attributes?: Record<string, string>;
5469
- }
5470
-
5471
- interface ImageForm {
5472
- readonly url: string;
5473
- readonly tags?: io.flow.catalog.v0.enums.ImageTag[];
5474
- readonly attributes?: Record<string, string>;
5475
- }
5476
-
5477
- interface Item {
5478
- readonly id: string;
5479
- readonly number: string;
5480
- readonly locale: string;
5481
- readonly name: string;
5482
- readonly price: io.flow.common.v0.models.Price;
5483
- readonly categories: string[];
5484
- readonly description?: string;
5485
- readonly attributes: Record<string, string>;
5486
- readonly dimensions: io.flow.common.v0.models.Dimensions;
5487
- readonly images: io.flow.catalog.v0.models.Image[];
5488
- readonly local?: io.flow.catalog.v0.models.Local;
5489
- readonly created_at?: string;
5490
- readonly updated_at?: string;
5491
- readonly deleted_at?: string;
5492
- }
5493
-
5494
- interface ItemAttributesPatchForm {
5495
- readonly attributes: Record<string, string>;
5496
- }
5497
-
5498
- interface ItemForm {
5499
- readonly number: string;
5500
- readonly locale: string;
5501
- readonly name: string;
5502
- readonly currency: string;
5503
- readonly price: number;
5504
- readonly categories?: string[];
5505
- readonly description?: string;
5506
- readonly attributes?: Record<string, string>;
5507
- readonly dimensions?: io.flow.common.v0.models.Dimensions;
5508
- readonly images?: io.flow.catalog.v0.models.ImageForm[];
5509
- readonly deleted_at?: string;
5510
- }
5511
-
5512
- interface ItemFormOverlay {
5513
- readonly id: string;
5514
- readonly number: string;
5515
- readonly key: string;
5516
- readonly position: number;
5517
- readonly price?: io.flow.common.v0.models.Price;
5518
- readonly categories?: string[];
5519
- readonly description?: string;
5520
- readonly attributes?: Record<string, string>;
5521
- readonly dimensions?: io.flow.common.v0.models.Dimensions;
5522
- readonly images?: io.flow.catalog.v0.models.ImageForm[];
5523
- readonly deleted_at?: string;
5524
- }
5525
-
5526
- interface ItemFormOverlayForm {
5527
- readonly number: string;
5528
- readonly price?: number;
5529
- readonly currency?: string;
5530
- readonly position?: number;
5531
- readonly categories?: string[];
5532
- readonly description?: string;
5533
- readonly attributes?: Record<string, string>;
5534
- readonly dimensions?: io.flow.common.v0.models.Dimensions;
5535
- readonly images?: io.flow.catalog.v0.models.ImageForm[];
5536
- readonly deleted_at?: string;
5537
- }
5538
-
5539
- interface ItemPriceUpdateForm {
5540
- readonly number: string;
5541
- readonly currency?: string;
5542
- readonly price: number;
5543
- readonly attributes: Record<string, string>;
5544
- }
5545
-
5546
- interface ItemPriceUpdatePutForm {
5547
- readonly currency?: string;
5548
- readonly price: number;
5549
- readonly attributes: Record<string, string>;
5550
- }
5551
-
5552
- interface ItemStatistics {
5553
- readonly items: number;
5554
- readonly categories: number;
5555
- }
5556
-
5557
- interface ItemVersion {
5558
- readonly id: string;
5559
- readonly timestamp: string;
5560
- readonly type: io.flow.common.v0.enums.ChangeType;
5561
- readonly item: io.flow.catalog.v0.models.Item;
5562
- }
5563
-
5564
- interface Local {
5565
- readonly experience: io.flow.common.v0.models.ExperienceSummary;
5566
- readonly prices: io.flow.catalog.v0.unions.LocalizedPrice[];
5567
- readonly rates: io.flow.currency.v0.models.Rate[];
5568
- readonly spot_rates: any /*object*/[];
5569
- readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
5570
- readonly attributes?: Record<string, string>;
5571
- readonly price_attributes?: Record<
5572
- string,
5573
- io.flow.common.v0.models.PriceWithBase
5574
- >;
5575
- }
3826
+ declare namespace io.flow.apple.pay.v0.enums {
3827
+ type ApplePayContactField =
3828
+ | 'email'
3829
+ | 'name'
3830
+ | 'phone'
3831
+ | 'postalAddress'
3832
+ | 'phoneticName';
3833
+ type ApplePayLineItemType = 'final' | 'pending';
3834
+ type ApplePayMerchantCapability =
3835
+ | 'supports3DS'
3836
+ | 'supportsCredit'
3837
+ | 'supportsDebit'
3838
+ | 'supportsEMV';
3839
+ type ApplePayShippingType =
3840
+ | 'shipping'
3841
+ | 'delivery'
3842
+ | 'storePickup'
3843
+ | 'servicePickup';
3844
+ type ApplePaySupportedNetworks =
3845
+ | 'amex'
3846
+ | 'chinaUnionPay'
3847
+ | 'discover'
3848
+ | 'jcb'
3849
+ | 'masterCard'
3850
+ | 'privateLabel'
3851
+ | 'visa';
3852
+ }
5576
3853
 
5577
- interface LocalizedAdjustment {
5578
- readonly currency: string;
5579
- readonly amount: number;
3854
+ declare namespace io.flow.apple.pay.v0.models {
3855
+ interface ApplePayLineItem {
5580
3856
  readonly label: string;
5581
- readonly base: io.flow.common.v0.models.Price;
5582
- readonly reason: io.flow.catalog.v0.models.AdjustmentReason;
3857
+ readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
3858
+ readonly amount: string;
5583
3859
  }
5584
3860
 
5585
- interface LocalizedItemDuty {
5586
- readonly key: 'localized_item_duty';
5587
- readonly currency: string;
5588
- readonly amount: number;
5589
- readonly label: string;
5590
- readonly base: io.flow.common.v0.models.Price;
5591
- readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
5592
- readonly basis?: io.flow.common.v0.models.MoneyWithBase;
3861
+ interface ApplePayPaymentContact {
3862
+ readonly email_address?: string;
3863
+ readonly family_name?: string;
3864
+ readonly given_name?: string;
3865
+ readonly phone_number?: string;
3866
+ readonly phonetic_familyName?: string;
3867
+ readonly phonetic_givenName?: string;
3868
+ readonly address_lines?: string[];
3869
+ readonly locality?: string;
3870
+ readonly sub_locality?: string;
3871
+ readonly administrative_area?: string;
3872
+ readonly sub_administrative_area?: string;
3873
+ readonly postal_code?: string;
3874
+ readonly country?: string;
3875
+ readonly country_code?: string;
5593
3876
  }
5594
3877
 
5595
- interface LocalizedItemPrice {
5596
- readonly key: 'localized_item_price';
5597
- readonly currency: string;
5598
- readonly amount: number;
5599
- readonly label: string;
5600
- readonly base: io.flow.common.v0.models.Price;
5601
- readonly includes?: io.flow.common.v0.models.IncludedLevies;
3878
+ interface ApplePayPaymentData {
3879
+ readonly applicationPrimaryAccountNumber: string;
3880
+ readonly applicationExpirationDate: string;
3881
+ readonly currencyCode: string;
3882
+ readonly transactionAmount: number;
3883
+ readonly cardholderName?: string;
3884
+ readonly deviceManufacturerIdentifier: string;
3885
+ readonly paymentDataType: string;
3886
+ readonly paymentData: any /*object*/;
5602
3887
  }
5603
3888
 
5604
- interface LocalizedItemVat {
5605
- readonly key: 'localized_item_vat';
5606
- readonly currency: string;
5607
- readonly amount: number;
5608
- readonly label: string;
5609
- readonly base: io.flow.common.v0.models.Price;
5610
- readonly name: string;
5611
- readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
5612
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
5613
- readonly basis?: io.flow.common.v0.models.MoneyWithBase;
3889
+ interface ApplePayPaymentInfo {
3890
+ readonly total: io.flow.apple.pay.v0.models.ApplePayLineItem;
3891
+ readonly line_items?: io.flow.apple.pay.v0.models.ApplePayLineItem[];
3892
+ readonly country_code: string;
3893
+ readonly currency_code: string;
3894
+ readonly merchant_capabilities: io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[];
3895
+ readonly shipping_methods?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
3896
+ readonly shipping_type?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
3897
+ readonly supported_countries?: string[];
3898
+ readonly supported_networks: io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
3899
+ readonly required_billingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
3900
+ readonly required_shippingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
3901
+ readonly billing_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
3902
+ readonly shipping_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
3903
+ readonly application_data?: string;
5614
3904
  }
5615
3905
 
5616
- interface LocalizedTotal {
5617
- readonly key: 'localized_total';
5618
- readonly currency: string;
5619
- readonly amount: number;
3906
+ interface ApplePayShippingMethod {
5620
3907
  readonly label: string;
5621
- readonly base: io.flow.common.v0.models.Price;
5622
- }
5623
-
5624
- interface Options {
5625
- readonly required: boolean;
5626
- readonly show_in_catalog: boolean;
5627
- readonly show_in_harmonization: boolean;
5628
- }
5629
-
5630
- interface Subcatalog {
5631
- readonly discriminator: 'subcatalog';
5632
- readonly id: string;
5633
- readonly catalog: io.flow.catalog.v0.models.Catalog;
5634
- readonly settings: io.flow.catalog.v0.models.SubcatalogSettings;
5635
- }
5636
-
5637
- interface SubcatalogForm {
5638
- readonly settings?: io.flow.catalog.v0.models.SubcatalogSettingsForm;
5639
- }
5640
-
5641
- interface SubcatalogItem {
5642
- readonly id: string;
5643
- readonly item: io.flow.catalog.v0.models.Item;
5644
- readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
5645
- }
5646
-
5647
- interface SubcatalogItemVersion {
5648
- readonly id: string;
5649
- readonly timestamp: string;
5650
- readonly type: io.flow.common.v0.enums.ChangeType;
5651
- readonly subcatalog_item: io.flow.catalog.v0.models.SubcatalogItem;
5652
- }
5653
-
5654
- interface SubcatalogReference {
5655
- readonly discriminator: 'subcatalog_reference';
5656
- readonly id: string;
5657
- }
5658
-
5659
- interface SubcatalogSettings {
5660
- readonly update_policy: io.flow.catalog.v0.enums.UpdatePolicy;
5661
- }
5662
-
5663
- interface SubcatalogSettingsForm {
5664
- readonly update_policy?: io.flow.catalog.v0.enums.UpdatePolicy;
5665
- }
5666
-
5667
- interface SubcatalogStatistics {
5668
- readonly excluded: io.flow.catalog.v0.models.ItemStatistics;
5669
- readonly included: io.flow.catalog.v0.models.ItemStatistics;
5670
- readonly restricted: io.flow.catalog.v0.models.ItemStatistics;
5671
- readonly queue: io.flow.catalog.v0.models.ItemStatistics;
5672
- readonly catalog: io.flow.catalog.v0.models.CatalogStatistics;
5673
- }
5674
-
5675
- interface SubcatalogVersion {
5676
- readonly id: string;
5677
- readonly timestamp: string;
5678
- readonly type: io.flow.common.v0.enums.ChangeType;
5679
- readonly subcatalog: io.flow.catalog.v0.models.Subcatalog;
3908
+ readonly detail: string;
3909
+ readonly amount: string;
3910
+ readonly identifier: string;
5680
3911
  }
5681
3912
  }
5682
3913
 
5683
- declare namespace io.flow.catalog.v0.unions {
5684
- type ExpandableSubcatalog =
5685
- | io.flow.catalog.v0.models.Subcatalog
5686
- | io.flow.catalog.v0.models.SubcatalogReference;
5687
- type LocalizedPrice =
5688
- | io.flow.catalog.v0.models.LocalizedItemPrice
5689
- | io.flow.catalog.v0.models.LocalizedItemVat
5690
- | io.flow.catalog.v0.models.LocalizedItemDuty
5691
- | io.flow.catalog.v0.models.LocalizedTotal;
5692
- }
5693
-
5694
- declare namespace io.flow.inventory.v0.enums {
5695
- type Aggregate = 'maximum' | 'minimum';
5696
- type InventoryStatus = 'has_inventory' | 'no_inventory';
5697
- type UpdateType = 'change' | 'set';
3914
+ declare namespace io.flow.tech.onboarding.playground.v0.enums {
3915
+ type AldoItemType = 'physical' | 'digital';
3916
+ type AnirbanItemType = 'physical' | 'digital';
3917
+ type AnshItemType = 'physical' | 'digital';
3918
+ type HoseinItemType = 'physical' | 'digital';
3919
+ type NiallItemType = 'physical' | 'digital';
3920
+ type PrateekItemType = 'physical' | 'digital';
3921
+ type RohanItemType = 'physical' | 'digital';
3922
+ type SarveshItemType = 'physical' | 'digital';
5698
3923
  }
5699
3924
 
5700
- declare namespace io.flow.inventory.v0.models {
5701
- interface ExternalApiTimeoutReservationError {
5702
- readonly code: 'external_api_timeout';
5703
- readonly messages: string[];
5704
- }
5705
-
5706
- interface GenericReservationError {
5707
- readonly code: 'generic_reservation_error';
5708
- readonly messages: string[];
5709
- }
5710
-
5711
- interface InventoryBackorder {
5712
- readonly discriminator: 'inventory_backorder';
5713
- readonly quantity: number;
5714
- }
5715
-
5716
- interface InventoryCenterReference {
5717
- readonly key: string;
5718
- }
5719
-
5720
- interface InventoryCheckResponse {
5721
- readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[];
5722
- }
5723
-
5724
- interface InventoryCheckResponseItem {
5725
- readonly number: string;
5726
- readonly quantity: number;
5727
- readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus;
5728
- }
5729
-
5730
- interface InventoryExperienceReference {
5731
- readonly key: string;
5732
- }
5733
-
5734
- interface InventoryFollowEcommercePlatform {
5735
- readonly discriminator: 'inventory_follow_ecommerce_platform';
5736
- readonly quantity: number;
5737
- }
5738
-
5739
- interface InventoryItemReference {
3925
+ declare namespace io.flow.tech.onboarding.playground.v0.models {
3926
+ interface AldoItem {
3927
+ readonly id: string;
5740
3928
  readonly number: string;
3929
+ readonly amount: io.flow.common.v0.models.Price;
3930
+ readonly description?: string;
3931
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
3932
+ readonly added_on: string;
5741
3933
  }
5742
3934
 
5743
- interface InventoryRequest {
5744
- readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
5745
- }
5746
-
5747
- interface InventoryRequestItem {
3935
+ interface AldoItemForm {
5748
3936
  readonly number: string;
5749
- readonly quantity: number;
5750
- }
5751
-
5752
- interface InventoryRule {
5753
- readonly id: string;
5754
- readonly position: number;
5755
- readonly query: string;
5756
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
5757
- }
5758
-
5759
- interface InventoryRuleForm {
5760
- readonly position: number;
5761
- readonly query: string;
5762
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
5763
- }
5764
-
5765
- interface InventoryRuleVersion {
5766
- readonly id: string;
5767
- readonly timestamp: string;
5768
- readonly type: io.flow.common.v0.enums.ChangeType;
5769
- readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
5770
- }
5771
-
5772
- interface InventorySnapshot {
5773
- readonly id: string;
5774
- readonly available: number;
5775
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
5776
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
5777
- readonly quantity: number;
5778
- }
5779
-
5780
- interface InventorySnapshotVersion {
5781
- readonly id: string;
5782
- readonly timestamp: string;
5783
- readonly type: io.flow.common.v0.enums.ChangeType;
5784
- readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
5785
- }
5786
-
5787
- interface InventoryStock {
5788
- readonly discriminator: 'inventory_stock';
5789
- readonly quantity: number;
5790
- }
5791
-
5792
- interface InventoryUnlimited {
5793
- readonly discriminator: 'inventory_unlimited';
5794
- readonly placeholder?: string;
5795
- }
5796
-
5797
- interface InventoryUpdate {
5798
- readonly id: string;
5799
- readonly idempotency_key: string;
5800
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
5801
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
5802
- readonly notes: any /*object*/;
5803
- readonly quantity: number;
5804
- readonly type: io.flow.inventory.v0.enums.UpdateType;
5805
- }
5806
-
5807
- interface InventoryUpdateForm {
5808
- readonly center: string;
5809
- readonly idempotency_key: string;
5810
- readonly item_number: string;
5811
- readonly quantity: number;
5812
- readonly type: io.flow.inventory.v0.enums.UpdateType;
5813
- readonly notes?: any /*object*/;
5814
- }
5815
-
5816
- interface InventoryUpdateVersion {
5817
- readonly id: string;
5818
- readonly timestamp: string;
5819
- readonly type: io.flow.common.v0.enums.ChangeType;
5820
- readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
5821
- }
5822
-
5823
- interface NoInventoryReservationError {
5824
- readonly code: 'no_inventory';
5825
- readonly messages: string[];
5826
- readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
3937
+ readonly amount: io.flow.common.v0.models.Price;
3938
+ readonly description?: string;
3939
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
3940
+ readonly added_on: string;
5827
3941
  }
5828
3942
 
5829
- interface NoInventoryReservationErrorItem {
3943
+ interface AnirbanItem {
3944
+ readonly id: string;
5830
3945
  readonly number: string;
5831
- readonly requested_quantity: number;
5832
- readonly available_quantity: number;
3946
+ readonly amount: io.flow.common.v0.models.Price;
3947
+ readonly description?: string;
3948
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnirbanItemType;
3949
+ readonly added_on: string;
5833
3950
  }
5834
3951
 
5835
- interface PfsInventoryCheckResponse {
5836
- readonly items: Record<
5837
- string,
5838
- io.flow.inventory.v0.models.PfsInventoryCheckResponseItem
5839
- >;
3952
+ interface AnirbanItemForm {
3953
+ readonly number: string;
3954
+ readonly amount: io.flow.common.v0.models.Price;
3955
+ readonly description?: string;
3956
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnirbanItemType;
3957
+ readonly added_on: string;
5840
3958
  }
5841
3959
 
5842
- interface PfsInventoryCheckResponseItem {
3960
+ interface AnshItem {
3961
+ readonly id: string;
5843
3962
  readonly number: string;
5844
- readonly ats: number;
5845
- readonly in_stock: boolean;
3963
+ readonly amount: io.flow.common.v0.models.Price;
3964
+ readonly description?: string;
3965
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
3966
+ readonly added_on: string;
5846
3967
  }
5847
3968
 
5848
- interface PfsInventoryStatus {
5849
- readonly status: string;
3969
+ interface AnshItemForm {
3970
+ readonly number: string;
3971
+ readonly amount: io.flow.common.v0.models.Price;
3972
+ readonly description?: string;
3973
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
3974
+ readonly added_on: string;
5850
3975
  }
5851
3976
 
5852
- interface Reservation {
3977
+ interface HoseinItem {
5853
3978
  readonly id: string;
5854
- readonly key: string;
5855
- readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
5856
- readonly items: io.flow.inventory.v0.models.ReservationItem[];
5857
- readonly reserved_until?: string;
3979
+ readonly number: string;
3980
+ readonly amount: io.flow.common.v0.models.Price;
3981
+ readonly description?: string;
3982
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.HoseinItemType;
3983
+ readonly added_on: string;
5858
3984
  }
5859
3985
 
5860
- interface ReservationForm {
5861
- readonly order_number?: string;
5862
- readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
3986
+ interface HoseinItemForm {
3987
+ readonly number: string;
3988
+ readonly amount: io.flow.common.v0.models.Price;
3989
+ readonly description?: string;
3990
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.HoseinItemType;
3991
+ readonly added_on: string;
5863
3992
  }
5864
3993
 
5865
- interface ReservationItem {
5866
- readonly item: io.flow.inventory.v0.models.ReservationItemReference;
5867
- readonly quantity: number;
3994
+ interface JeanDemoItem {
3995
+ readonly id: string;
3996
+ readonly name: string;
5868
3997
  }
5869
3998
 
5870
- interface ReservationItemForm {
5871
- readonly item_number: string;
5872
- readonly quantity: number;
3999
+ interface NiallItem {
4000
+ readonly id: string;
4001
+ readonly number: string;
4002
+ readonly amount: io.flow.common.v0.models.Price;
4003
+ readonly description?: string;
4004
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.NiallItemType;
4005
+ readonly added_on: string;
5873
4006
  }
5874
4007
 
5875
- interface ReservationItemReference {
4008
+ interface NiallItemForm {
5876
4009
  readonly number: string;
4010
+ readonly amount: io.flow.common.v0.models.Price;
4011
+ readonly description?: string;
4012
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.NiallItemType;
4013
+ readonly added_on: string;
5877
4014
  }
5878
4015
 
5879
- interface ReservationOrderReference {
4016
+ interface PrateekItem {
4017
+ readonly id: string;
5880
4018
  readonly number: string;
4019
+ readonly amount: io.flow.common.v0.models.Price;
4020
+ readonly description?: string;
4021
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.PrateekItemType;
4022
+ readonly added_on: string;
5881
4023
  }
5882
- }
5883
-
5884
- declare namespace io.flow.inventory.v0.unions {
5885
- type InventoryStrategy =
5886
- | io.flow.inventory.v0.models.InventoryBackorder
5887
- | io.flow.inventory.v0.models.InventoryStock
5888
- | io.flow.inventory.v0.models.InventoryUnlimited
5889
- | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform;
5890
- type ReservationError =
5891
- | io.flow.inventory.v0.models.NoInventoryReservationError
5892
- | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError
5893
- | io.flow.inventory.v0.models.GenericReservationError;
5894
- }
5895
-
5896
- declare namespace io.flow.permission.v0.enums {
5897
- type AuthenticationTechnique =
5898
- | 'anonymous'
5899
- | 'session'
5900
- | 'token'
5901
- | 'partner_token'
5902
- | 'user';
5903
- type FlowBehavior = 'view_consumer_data';
5904
- type FlowRole =
5905
- | 'organization_admin'
5906
- | 'organization_merchant'
5907
- | 'organization_customer_service'
5908
- | 'organization_fulfillment'
5909
- | 'organization_marketing'
5910
- | 'organization_finance'
5911
- | 'organization_classification'
5912
- | 'flow_operations'
5913
- | 'channel_admin'
5914
- | 'channel_organization_admin';
5915
- type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
5916
- }
5917
4024
 
5918
- declare namespace io.flow.permission.v0.models {
5919
- interface BehaviorAudit {
5920
- readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
5921
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
5922
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
4025
+ interface PrateekItemForm {
4026
+ readonly number: string;
4027
+ readonly amount: io.flow.common.v0.models.Price;
4028
+ readonly description?: string;
4029
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.PrateekItemType;
4030
+ readonly added_on: string;
5923
4031
  }
5924
4032
 
5925
- interface PermissionAudit {
5926
- readonly routes: io.flow.permission.v0.models.RouteAudit[];
5927
- readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
4033
+ interface RohanItem {
4034
+ readonly id: string;
4035
+ readonly number: string;
4036
+ readonly amount: io.flow.common.v0.models.Price;
4037
+ readonly description?: string;
4038
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.RohanItemType;
4039
+ readonly added_on: string;
5928
4040
  }
5929
4041
 
5930
- interface PermissionCheck {
5931
- readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
5932
- readonly user?: io.flow.common.v0.unions.ExpandableUser;
5933
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
5934
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
5935
- readonly routes: io.flow.permission.v0.models.PermittedRoute[];
4042
+ interface RohanItemForm {
4043
+ readonly number: string;
4044
+ readonly amount: io.flow.common.v0.models.Price;
4045
+ readonly description?: string;
4046
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.RohanItemType;
4047
+ readonly added_on: string;
5936
4048
  }
5937
4049
 
5938
- interface PermittedRoute {
5939
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
5940
- readonly path: string;
4050
+ interface SarveshItem {
4051
+ readonly id: string;
4052
+ readonly number: string;
4053
+ readonly amount: io.flow.common.v0.models.Price;
4054
+ readonly description?: string;
4055
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.SarveshItemType;
4056
+ readonly added_on: string;
5941
4057
  }
5942
4058
 
5943
- interface RouteAudit {
5944
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
5945
- readonly path: string;
5946
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
5947
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
4059
+ interface SarveshItemForm {
4060
+ readonly number: string;
4061
+ readonly amount: io.flow.common.v0.models.Price;
4062
+ readonly description?: string;
4063
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.SarveshItemType;
4064
+ readonly added_on: string;
5948
4065
  }
5949
4066
 
5950
- interface SimplePermissionCheck {
5951
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
4067
+ interface TechOnboardingDescription {
4068
+ readonly description: string;
5952
4069
  }
5953
4070
  }
5954
4071
 
5955
- declare namespace io.flow.query.builder.v0.enums {
5956
- type AvailableFilterFormat =
5957
- | 'boolean'
5958
- | 'date'
5959
- | 'money'
5960
- | 'decimal'
5961
- | 'string'
5962
- | 'unit_of_length'
5963
- | 'unit_of_mass';
5964
- }
5965
-
5966
- declare namespace io.flow.query.builder.v0.models {
5967
- interface AvailableFilterStructured {
5968
- readonly discriminator: 'structured';
5969
- readonly field: string;
5970
- readonly operators: string[];
5971
- readonly format: io.flow.query.builder.v0.enums.AvailableFilterFormat;
5972
- readonly valid_values?: string[];
5973
- readonly placeholder?: string;
5974
- }
5975
-
5976
- interface AvailableFilterUnstructured {
5977
- readonly discriminator: 'unstructured';
5978
- readonly placeholder?: string;
5979
- }
5980
-
5981
- interface Query {
5982
- readonly q: string;
5983
- readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
4072
+ declare namespace io.flow.product.v0.models {
4073
+ interface Product {
4074
+ readonly organization_id: string;
4075
+ readonly number: string;
4076
+ readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
4077
+ readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
4078
+ readonly item_numbers: string[];
4079
+ readonly highest_value_item_number?: string;
4080
+ readonly updated_at: string;
4081
+ readonly deleted_at?: string;
5984
4082
  }
5985
4083
 
5986
- interface QueryBuilder {
5987
- readonly q: string;
5988
- readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
5989
- readonly available: io.flow.query.builder.v0.unions.AvailableFilter[];
4084
+ interface ProductTaxonomyCategory {
4085
+ readonly name: string;
4086
+ readonly full_name: string;
5990
4087
  }
5991
4088
 
5992
- interface QueryBuilderFilterForm {
5993
- readonly discriminator: 'filter';
5994
- readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[];
4089
+ interface ProductTaxonomyData {
4090
+ readonly key: string;
4091
+ readonly value: string[];
4092
+ readonly value_obj?: io.flow.product.v0.models.ProductTaxonomyValue[];
5995
4093
  }
5996
4094
 
5997
- interface QueryBuilderQueryForm {
5998
- readonly discriminator: 'query';
5999
- readonly q: string;
4095
+ interface ProductTaxonomyValue {
4096
+ readonly handle: string;
4097
+ readonly name: string;
6000
4098
  }
4099
+ }
6001
4100
 
6002
- interface QueryFilterStructured {
6003
- readonly discriminator: 'structured';
6004
- readonly q: string;
6005
- readonly field: string;
6006
- readonly operator: string;
6007
- readonly values: string[];
4101
+ declare namespace io.flow.ben.test.internal.v0.models {
4102
+ interface GenerateLoadMultipleOrgs {
4103
+ readonly discriminator: 'generate_load_multiple_orgs';
4104
+ readonly organization_ids: string[];
4105
+ readonly num_events: number;
6008
4106
  }
6009
4107
 
6010
- interface QueryFilterStructuredForm {
6011
- readonly discriminator: 'structured';
6012
- readonly field: string;
6013
- readonly operator: string;
6014
- readonly values: string[];
4108
+ interface GenerateLoadSingleOrg {
4109
+ readonly discriminator: 'generate_load_single_org';
4110
+ readonly organization_id: string;
4111
+ readonly num_events: number;
6015
4112
  }
6016
4113
 
6017
- interface QueryFilterUnstructured {
6018
- readonly discriminator: 'unstructured';
6019
- readonly q: string;
4114
+ interface Test {
4115
+ readonly id: string;
4116
+ readonly name: string;
6020
4117
  }
6021
4118
 
6022
- interface QueryFilterUnstructuredForm {
6023
- readonly discriminator: 'unstructured';
6024
- readonly q: string;
4119
+ interface TestForm {
4120
+ readonly name: string;
6025
4121
  }
6026
4122
  }
6027
4123
 
6028
- declare namespace io.flow.query.builder.v0.unions {
6029
- type AvailableFilter =
6030
- | io.flow.query.builder.v0.models.AvailableFilterStructured
6031
- | io.flow.query.builder.v0.models.AvailableFilterUnstructured;
6032
- type QueryBuilderForm =
6033
- | io.flow.query.builder.v0.models.QueryBuilderFilterForm
6034
- | io.flow.query.builder.v0.models.QueryBuilderQueryForm;
6035
- type QueryFilter =
6036
- | io.flow.query.builder.v0.models.QueryFilterStructured
6037
- | io.flow.query.builder.v0.models.QueryFilterUnstructured;
6038
- type QueryFilterForm =
6039
- | io.flow.query.builder.v0.models.QueryFilterStructuredForm
6040
- | io.flow.query.builder.v0.models.QueryFilterUnstructuredForm;
4124
+ declare namespace io.flow.ben.test.internal.v0.unions {
4125
+ type GenerateLoad =
4126
+ | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
4127
+ | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
6041
4128
  }
6042
4129
 
6043
4130
  declare namespace io.flow.v0.enums {
@@ -6268,6 +4355,8 @@ declare namespace io.flow.v0.enums {
6268
4355
  | 'aldo_item_deleted'
6269
4356
  | 'ansh_item_upserted'
6270
4357
  | 'ansh_item_deleted'
4358
+ | 'anirban_item_upserted'
4359
+ | 'anirban_item_deleted'
6271
4360
  | 'transaction_upserted'
6272
4361
  | 'organization_transaction_upserted'
6273
4362
  | 'organization_transaction_deleted'
@@ -6669,6 +4758,13 @@ declare namespace io.flow.v0.enums {
6669
4758
  | 'discount'
6670
4759
  | 'surcharges'
6671
4760
  | 'tip';
4761
+ type OrderPriceFeeType =
4762
+ | 'service'
4763
+ | 'fx'
4764
+ | 'tax'
4765
+ | 'duties'
4766
+ | 'tax_and_duties'
4767
+ | 'product';
6672
4768
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
6673
4769
  type OrderRefundSummaryPartialCharged =
6674
4770
  | 'per_item'
@@ -6837,39 +4933,6 @@ declare namespace io.flow.v0.enums {
6837
4933
  | 'adjustment';
6838
4934
  type PriceFacetBoundary = 'min' | 'max';
6839
4935
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
6840
- type ProductRestrictionRule =
6841
- | 'Adult Products'
6842
- | 'Alcohol'
6843
- | 'Anti Money Laundering'
6844
- | 'Collagen'
6845
- | 'Consumer Safety'
6846
- | 'Cosmetics'
6847
- | 'DG - Batteries'
6848
- | 'DG - Hazmat'
6849
- | 'Drugs'
6850
- | 'Dual Use'
6851
- | 'Fine Art'
6852
- | 'Fish & Wildlife - CITES'
6853
- | 'Fish & Wildlife - Plant'
6854
- | 'Fish & Wildlife - USFWS'
6855
- | 'Food'
6856
- | 'Gambling'
6857
- | 'Health'
6858
- | 'Human hair'
6859
- | 'Insufficient Details'
6860
- | 'Intangible'
6861
- | 'Jewelry'
6862
- | 'Jewelry & Watches Over 5000'
6863
- | 'Knives'
6864
- | 'Liquids'
6865
- | 'Oversized'
6866
- | 'Pending Classification'
6867
- | 'Restrict by Default'
6868
- | 'Supplements'
6869
- | 'Tattoo Ink And PMU'
6870
- | 'Unknown Bundles'
6871
- | 'Weapon'
6872
- | 'Wood';
6873
4936
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
6874
4937
  type ProvinceType =
6875
4938
  | 'area'
@@ -7156,7 +5219,8 @@ declare namespace io.flow.v0.enums {
7156
5219
  | 'direct_delivery'
7157
5220
  | 'saturday_stop'
7158
5221
  | 'residential_extended_area_pickup'
7159
- | 'package_level_detail';
5222
+ | 'package_level_detail'
5223
+ | 'pickup';
7160
5224
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
7161
5225
  type UnitOfMeasurement =
7162
5226
  | 'millimeter'
@@ -7651,6 +5715,20 @@ declare namespace io.flow.v0.models {
7651
5715
  readonly interval?: io.flow.v0.enums.UnitOfTime;
7652
5716
  }
7653
5717
 
5718
+ interface AnirbanItemDeleted {
5719
+ readonly discriminator: 'anirban_item_deleted';
5720
+ readonly event_id: string;
5721
+ readonly timestamp: string;
5722
+ readonly id: string;
5723
+ }
5724
+
5725
+ interface AnirbanItemUpserted {
5726
+ readonly discriminator: 'anirban_item_upserted';
5727
+ readonly event_id: string;
5728
+ readonly timestamp: string;
5729
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AnirbanItem;
5730
+ }
5731
+
7654
5732
  interface AnshItemDeleted {
7655
5733
  readonly discriminator: 'ansh_item_deleted';
7656
5734
  readonly event_id: string;
@@ -9636,6 +7714,7 @@ declare namespace io.flow.v0.models {
9636
7714
  readonly package_dimensions_source?: io.flow.v0.enums.PackageDimensionsSource;
9637
7715
  readonly origin_location_source?: io.flow.v0.enums.OriginLocationSource;
9638
7716
  readonly reference_id?: string;
7717
+ readonly shipping_date_time?: string;
9639
7718
  }
9640
7719
 
9641
7720
  interface DetailedShippingNotificationForm {
@@ -9935,6 +8014,11 @@ declare namespace io.flow.v0.models {
9935
8014
  readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
9936
8015
  }
9937
8016
 
8017
+ interface EditSummary {
8018
+ readonly id: string;
8019
+ readonly edited_at: string;
8020
+ }
8021
+
9938
8022
  interface EeiFilingRatecardFee {
9939
8023
  readonly discriminator: 'eei_filing_ratecard_fee';
9940
8024
  readonly amount: io.flow.v0.models.Money;
@@ -11780,6 +9864,7 @@ declare namespace io.flow.v0.models {
11780
9864
  readonly local: io.flow.v0.models.Local;
11781
9865
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
11782
9866
  readonly price_source?: io.flow.v0.unions.PriceSource;
9867
+ readonly breakdown?: io.flow.v0.models.OrderPriceDetailBreakdown;
11783
9868
  }
11784
9869
 
11785
9870
  interface LocalizedLineItemDiscount {
@@ -11797,6 +9882,7 @@ declare namespace io.flow.v0.models {
11797
9882
  readonly amount: number;
11798
9883
  readonly label: string;
11799
9884
  readonly base: io.flow.v0.models.Price;
9885
+ readonly breakdown?: io.flow.v0.models.OrderPriceDetailBreakdown;
11800
9886
  }
11801
9887
 
11802
9888
  interface LocalizedTranslation {
@@ -12095,6 +10181,11 @@ declare namespace io.flow.v0.models {
12095
10181
  readonly last?: string;
12096
10182
  }
12097
10183
 
10184
+ interface NeedsActionAttributes {
10185
+ readonly reason_code: string;
10186
+ readonly category_metafield_handles: string[];
10187
+ }
10188
+
12098
10189
  interface NiallItemDeleted {
12099
10190
  readonly discriminator: 'niall_item_deleted';
12100
10191
  readonly event_id: string;
@@ -12256,6 +10347,8 @@ declare namespace io.flow.v0.models {
12256
10347
  readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[];
12257
10348
  readonly incoterm_summary?: io.flow.v0.models.IncotermSummary;
12258
10349
  readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType;
10350
+ readonly edits?: io.flow.v0.models.EditSummary[];
10351
+ readonly rates?: io.flow.v0.models.OrderRate[];
12259
10352
  }
12260
10353
 
12261
10354
  interface OrderAddress {
@@ -12554,6 +10647,12 @@ declare namespace io.flow.v0.models {
12554
10647
  readonly rate?: number;
12555
10648
  readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
12556
10649
  readonly rate_label?: string;
10650
+ readonly breakdown?: io.flow.v0.models.OrderPriceDetailBreakdown;
10651
+ }
10652
+
10653
+ interface OrderPriceDetailBreakdown {
10654
+ readonly purchase_price: io.flow.v0.models.PurchasePriceBreakdown;
10655
+ readonly fees: io.flow.v0.models.OrderPriceFee[];
12557
10656
  }
12558
10657
 
12559
10658
  interface OrderPriceDetailComponent {
@@ -12565,6 +10664,12 @@ declare namespace io.flow.v0.models {
12565
10664
  readonly name?: string;
12566
10665
  }
12567
10666
 
10667
+ interface OrderPriceFee {
10668
+ readonly key: string;
10669
+ readonly value: io.flow.v0.models.PriceWithBase;
10670
+ readonly type: io.flow.v0.enums.OrderPriceFeeType;
10671
+ }
10672
+
12568
10673
  interface OrderPromotionTrigger {
12569
10674
  readonly type: io.flow.v0.enums.PromotionTriggerType;
12570
10675
  readonly min?: io.flow.v0.models.Price;
@@ -12586,6 +10691,12 @@ declare namespace io.flow.v0.models {
12586
10691
  readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType;
12587
10692
  }
12588
10693
 
10694
+ interface OrderRate {
10695
+ readonly from: string;
10696
+ readonly to: string;
10697
+ readonly rate: number;
10698
+ }
10699
+
12589
10700
  interface OrderReference {
12590
10701
  readonly discriminator: 'order_reference';
12591
10702
  readonly id: string;
@@ -14272,11 +12383,12 @@ declare namespace io.flow.v0.models {
14272
12383
  readonly sellability_restricted_regions?: string[];
14273
12384
  readonly reasons_per_region?: io.flow.v0.models.ReasonsPerRegion[];
14274
12385
  readonly review_status?: io.flow.v0.enums.ReviewStatus;
14275
- readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
12386
+ readonly rules?: string[];
14276
12387
  readonly updated_by?: string;
14277
12388
  readonly product_restriction_id?: string;
14278
12389
  readonly hs_code?: string;
14279
12390
  readonly restricted_regions_by_type?: io.flow.v0.models.SellablilityRegionResult[];
12391
+ readonly needs_action_attributes?: io.flow.v0.models.NeedsActionAttributes[];
14280
12392
  }
14281
12393
 
14282
12394
  interface ProductRestrictionResultDeleted {
@@ -14323,6 +12435,12 @@ declare namespace io.flow.v0.models {
14323
12435
  interface ProductTaxonomyData {
14324
12436
  readonly key: string;
14325
12437
  readonly value: string[];
12438
+ readonly value_obj?: io.flow.v0.models.ProductTaxonomyValue[];
12439
+ }
12440
+
12441
+ interface ProductTaxonomyValue {
12442
+ readonly handle: string;
12443
+ readonly name: string;
14326
12444
  }
14327
12445
 
14328
12446
  interface ProductUpdated {
@@ -14362,6 +12480,12 @@ declare namespace io.flow.v0.models {
14362
12480
  readonly id: string;
14363
12481
  }
14364
12482
 
12483
+ interface PurchasePriceBreakdown {
12484
+ readonly total_price: io.flow.v0.models.PriceWithBase;
12485
+ readonly product_price: io.flow.v0.models.PriceWithBase;
12486
+ readonly fees: io.flow.v0.models.OrderPriceFee[];
12487
+ }
12488
+
14365
12489
  interface Query {
14366
12490
  readonly q: string;
14367
12491
  readonly filters: io.flow.v0.unions.QueryFilter[];
@@ -17288,6 +15412,8 @@ declare namespace io.flow.v0.unions {
17288
15412
  | io.flow.v0.models.AldoItemDeleted
17289
15413
  | io.flow.v0.models.AnshItemUpserted
17290
15414
  | io.flow.v0.models.AnshItemDeleted
15415
+ | io.flow.v0.models.AnirbanItemUpserted
15416
+ | io.flow.v0.models.AnirbanItemDeleted
17291
15417
  | io.flow.v0.models.TransactionUpserted
17292
15418
  | io.flow.v0.models.OrganizationTransactionUpserted
17293
15419
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -17874,6 +16000,8 @@ export type AllocationV2 = io.flow.v0.models.AllocationV2;
17874
16000
  export type AmountMargin = io.flow.v0.models.AmountMargin;
17875
16001
  export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
17876
16002
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
16003
+ export type AnirbanItemDeleted = io.flow.v0.models.AnirbanItemDeleted;
16004
+ export type AnirbanItemUpserted = io.flow.v0.models.AnirbanItemUpserted;
17877
16005
  export type AnshItemDeleted = io.flow.v0.models.AnshItemDeleted;
17878
16006
  export type AnshItemUpserted = io.flow.v0.models.AnshItemUpserted;
17879
16007
  export type ApplePayMerchantValidationPayload =
@@ -18362,6 +16490,7 @@ export type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
18362
16490
  export type EcommercePlatformUpserted =
18363
16491
  io.flow.v0.models.EcommercePlatformUpserted;
18364
16492
  export type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
16493
+ export type EditSummary = io.flow.v0.models.EditSummary;
18365
16494
  export type EeiFilingRatecardFee = io.flow.v0.models.EeiFilingRatecardFee;
18366
16495
  export type EeiFilingServiceFee = io.flow.v0.models.EeiFilingServiceFee;
18367
16496
  export type EmailAbandonedOrderPromotion =
@@ -18857,6 +16986,7 @@ export type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
18857
16986
  export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
18858
16987
  export type Name = io.flow.v0.models.Name;
18859
16988
  export type NameForm = io.flow.v0.models.NameForm;
16989
+ export type NeedsActionAttributes = io.flow.v0.models.NeedsActionAttributes;
18860
16990
  export type NiallItemDeleted = io.flow.v0.models.NiallItemDeleted;
18861
16991
  export type NiallItemUpserted = io.flow.v0.models.NiallItemUpserted;
18862
16992
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
@@ -18953,15 +17083,20 @@ export type OrderPlaced = io.flow.v0.models.OrderPlaced;
18953
17083
  export type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails;
18954
17084
  export type OrderPlacedV2 = io.flow.v0.models.OrderPlacedV2;
18955
17085
  export type OrderPriceDetail = io.flow.v0.models.OrderPriceDetail;
17086
+ export type OrderPriceDetailBreakdown =
17087
+ io.flow.v0.models.OrderPriceDetailBreakdown;
18956
17088
  export type OrderPriceDetailComponent =
18957
17089
  io.flow.v0.models.OrderPriceDetailComponent;
18958
17090
  export type OrderPriceDetailComponentKey =
18959
17091
  io.flow.v0.enums.OrderPriceDetailComponentKey;
18960
17092
  export type OrderPriceDetailKey = io.flow.v0.enums.OrderPriceDetailKey;
17093
+ export type OrderPriceFee = io.flow.v0.models.OrderPriceFee;
17094
+ export type OrderPriceFeeType = io.flow.v0.enums.OrderPriceFeeType;
18961
17095
  export type OrderPromotion = io.flow.v0.unions.OrderPromotion;
18962
17096
  export type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
18963
17097
  export type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;
18964
17098
  export type OrderPutForm = io.flow.v0.models.OrderPutForm;
17099
+ export type OrderRate = io.flow.v0.models.OrderRate;
18965
17100
  export type OrderReference = io.flow.v0.models.OrderReference;
18966
17101
  export type OrderRefundSummary = io.flow.v0.models.OrderRefundSummary;
18967
17102
  export type OrderRefundSummaryAmounts =
@@ -19389,11 +17524,11 @@ export type ProductRestrictionResultDeleted =
19389
17524
  io.flow.v0.models.ProductRestrictionResultDeleted;
19390
17525
  export type ProductRestrictionResultUpserted =
19391
17526
  io.flow.v0.models.ProductRestrictionResultUpserted;
19392
- export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
19393
17527
  export type ProductSellability = io.flow.v0.models.ProductSellability;
19394
17528
  export type ProductSellabilityForm = io.flow.v0.models.ProductSellabilityForm;
19395
17529
  export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory;
19396
17530
  export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData;
17531
+ export type ProductTaxonomyValue = io.flow.v0.models.ProductTaxonomyValue;
19397
17532
  export type ProductUpdated = io.flow.v0.models.ProductUpdated;
19398
17533
  export type Promotion = io.flow.v0.unions.Promotion;
19399
17534
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
@@ -19403,6 +17538,7 @@ export type Promotions = io.flow.v0.models.Promotions;
19403
17538
  export type Province = io.flow.v0.models.Province;
19404
17539
  export type ProvinceType = io.flow.v0.enums.ProvinceType;
19405
17540
  export type PublicKey = io.flow.v0.models.PublicKey;
17541
+ export type PurchasePriceBreakdown = io.flow.v0.models.PurchasePriceBreakdown;
19406
17542
  export type Query = io.flow.v0.models.Query;
19407
17543
  export type QueryBuilder = io.flow.v0.models.QueryBuilder;
19408
17544
  export type QueryBuilderFilterForm = io.flow.v0.models.QueryBuilderFilterForm;