@thorprovider/types 5.3.2 → 5.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +351 -106
- package/dist/index.d.ts +351 -106
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/DropshippingAdmin.ts +378 -103
- package/src/index.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -3689,14 +3689,11 @@ interface DropshipperCostTier {
|
|
|
3689
3689
|
minQuantity: number | null;
|
|
3690
3690
|
maxQuantity: number | null;
|
|
3691
3691
|
}
|
|
3692
|
-
/** A quantity-based sale tier (Y→V)
|
|
3692
|
+
/** A quantity-based sale tier (Y→V) derived by the backend (read response) */
|
|
3693
3693
|
interface DropshipperSaleTier {
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
sale_amount: number;
|
|
3698
|
-
minQuantity: number;
|
|
3699
|
-
maxQuantity?: number | null;
|
|
3694
|
+
amount: number;
|
|
3695
|
+
minQuantity: number | null;
|
|
3696
|
+
maxQuantity: number | null;
|
|
3700
3697
|
}
|
|
3701
3698
|
/** A quantity-based sale tier in a price update payload (Y→V) */
|
|
3702
3699
|
interface DropshipperPriceTier {
|
|
@@ -3740,6 +3737,7 @@ interface OnboardDropshipperResponse {
|
|
|
3740
3737
|
interface DropshipperProductImage {
|
|
3741
3738
|
id: string;
|
|
3742
3739
|
url: string;
|
|
3740
|
+
rank: number;
|
|
3743
3741
|
}
|
|
3744
3742
|
/** A product attachment (file/doc) linked via the product_attachment module */
|
|
3745
3743
|
interface DropshipperProductAttachment {
|
|
@@ -3766,34 +3764,67 @@ interface DropshipperProductPrivateMedia {
|
|
|
3766
3764
|
size: number;
|
|
3767
3765
|
metadata: Record<string, unknown> | null;
|
|
3768
3766
|
}
|
|
3767
|
+
/** A selected option value on a variant */
|
|
3768
|
+
interface DropshipperVariantOption {
|
|
3769
|
+
option_id: string;
|
|
3770
|
+
option_title: string;
|
|
3771
|
+
value_id: string;
|
|
3772
|
+
value: string;
|
|
3773
|
+
}
|
|
3774
|
+
/** Inventory aggregates for a variant */
|
|
3775
|
+
interface DropshipperVariantInventory {
|
|
3776
|
+
stockedQuantity: number | null;
|
|
3777
|
+
reservedQuantity: number | null;
|
|
3778
|
+
availableQuantity: number | null;
|
|
3779
|
+
incomingQuantity: number | null;
|
|
3780
|
+
}
|
|
3781
|
+
/** Stock level at a single location */
|
|
3782
|
+
interface DropshipperVariantLocation {
|
|
3783
|
+
id: string;
|
|
3784
|
+
name: string;
|
|
3785
|
+
stockedQuantity: number;
|
|
3786
|
+
reservedQuantity: number;
|
|
3787
|
+
availableQuantity: number;
|
|
3788
|
+
incomingQuantity: number;
|
|
3789
|
+
}
|
|
3790
|
+
/** Cost price and tiers (X→Y) */
|
|
3791
|
+
interface DropshipperVariantCostPricing {
|
|
3792
|
+
amount: number;
|
|
3793
|
+
currency: string;
|
|
3794
|
+
source: 'custom' | 'base_price';
|
|
3795
|
+
tiers: DropshipperCostTier[];
|
|
3796
|
+
}
|
|
3797
|
+
/** Sale price and tiers (Y→V) */
|
|
3798
|
+
interface DropshipperVariantSalePricing {
|
|
3799
|
+
amount: number;
|
|
3800
|
+
currency: string;
|
|
3801
|
+
tiers: DropshipperSaleTier[];
|
|
3802
|
+
}
|
|
3803
|
+
/** Margin (Y) */
|
|
3804
|
+
interface DropshipperVariantMarginPricing {
|
|
3805
|
+
amount: number;
|
|
3806
|
+
percent: number;
|
|
3807
|
+
}
|
|
3808
|
+
/** Pricing bundle for a variant */
|
|
3809
|
+
interface DropshipperVariantPricing {
|
|
3810
|
+
cost: DropshipperVariantCostPricing;
|
|
3811
|
+
sale: DropshipperVariantSalePricing;
|
|
3812
|
+
margin: DropshipperVariantMarginPricing;
|
|
3813
|
+
markup_percent: number;
|
|
3814
|
+
}
|
|
3769
3815
|
/** A product variant as seen by the dropshipper */
|
|
3770
3816
|
interface DropshipperVariant {
|
|
3771
3817
|
id: string;
|
|
3772
3818
|
title: string;
|
|
3773
3819
|
sku: string | null;
|
|
3774
|
-
|
|
3820
|
+
options: DropshipperVariantOption[];
|
|
3775
3821
|
/** Whether inventory is tracked for this variant */
|
|
3776
3822
|
manageInventory: boolean;
|
|
3777
3823
|
/** Whether backorders are allowed when out of stock */
|
|
3778
3824
|
allowBackorder: boolean;
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
/** "custom" if a custom cost was set, "base_price" if fallback */
|
|
3783
|
-
cost_price_source: 'custom' | 'base_price';
|
|
3784
|
-
/** Quantity-based cost tiers (X→Y) from the Price List */
|
|
3785
|
-
cost_tiers: DropshipperCostTier[];
|
|
3786
|
-
/** Price Y charges to V. From the channel's price list. */
|
|
3787
|
-
sale_price: number;
|
|
3788
|
-
sale_price_currency: string;
|
|
3789
|
-
/** Markup % over cost applied to the base sale price (0–1000). */
|
|
3790
|
-
sale_margin_percent: number;
|
|
3791
|
-
/** Quantity-based sale tiers (Y→V) configured by the dropshipper */
|
|
3792
|
-
sale_tiers: DropshipperSaleTier[];
|
|
3793
|
-
/** sale_price - cost_price (calculated by backend) */
|
|
3794
|
-
margin: number;
|
|
3795
|
-
/** (margin / sale_price) × 100 (calculated by backend) */
|
|
3796
|
-
margin_percent: number;
|
|
3825
|
+
inventory: DropshipperVariantInventory;
|
|
3826
|
+
locations: DropshipperVariantLocation[];
|
|
3827
|
+
pricing: DropshipperVariantPricing;
|
|
3797
3828
|
}
|
|
3798
3829
|
/** A native Medusa product option value */
|
|
3799
3830
|
interface DropshipperProductOptionValue {
|
|
@@ -3806,49 +3837,63 @@ interface DropshipperProductOption {
|
|
|
3806
3837
|
title: string | null;
|
|
3807
3838
|
values: DropshipperProductOptionValue[];
|
|
3808
3839
|
}
|
|
3840
|
+
/** Standard (provider) physical attributes of a product */
|
|
3841
|
+
interface DropshipperProductStandardAttributes {
|
|
3842
|
+
width: number | null;
|
|
3843
|
+
height: number | null;
|
|
3844
|
+
length: number | null;
|
|
3845
|
+
weight: number | null;
|
|
3846
|
+
material: string | null;
|
|
3847
|
+
origin_country: string | null;
|
|
3848
|
+
hs_code: string | null;
|
|
3849
|
+
mid_code: string | null;
|
|
3850
|
+
}
|
|
3851
|
+
/** A custom attribute assigned to a product */
|
|
3852
|
+
interface DropshipperProductCustomAttribute {
|
|
3853
|
+
id: string;
|
|
3854
|
+
code: string;
|
|
3855
|
+
name: string;
|
|
3856
|
+
type: string;
|
|
3857
|
+
value: string | null;
|
|
3858
|
+
}
|
|
3859
|
+
/** Product attributes bundle */
|
|
3860
|
+
interface DropshipperProductAttributes {
|
|
3861
|
+
standard: DropshipperProductStandardAttributes;
|
|
3862
|
+
custom: DropshipperProductCustomAttribute[];
|
|
3863
|
+
}
|
|
3864
|
+
/** Product media bundle */
|
|
3865
|
+
interface DropshipperProductMedia {
|
|
3866
|
+
thumbnail: string | null;
|
|
3867
|
+
images: DropshipperProductImage[];
|
|
3868
|
+
private_images: DropshipperProductPrivateMedia[];
|
|
3869
|
+
}
|
|
3870
|
+
/** A channel-scoped category the product belongs to */
|
|
3871
|
+
interface DropshipperProductCategory {
|
|
3872
|
+
id: string;
|
|
3873
|
+
name: string;
|
|
3874
|
+
handle: string;
|
|
3875
|
+
}
|
|
3809
3876
|
/** A product as seen by the dropshipper */
|
|
3810
3877
|
interface DropshipperProduct {
|
|
3811
3878
|
id: string;
|
|
3812
3879
|
title: string;
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
description?: string | null;
|
|
3823
|
-
handle?: string | null;
|
|
3824
|
-
/** Physical dimensions and shipping metadata */
|
|
3825
|
-
width?: number | null;
|
|
3826
|
-
height?: number | null;
|
|
3827
|
-
length?: number | null;
|
|
3828
|
-
weight?: number | null;
|
|
3829
|
-
material?: string | null;
|
|
3830
|
-
origin_country?: string | null;
|
|
3831
|
-
hs_code?: string | null;
|
|
3832
|
-
mid_code?: string | null;
|
|
3833
|
-
collection?: {
|
|
3880
|
+
subtitle: string | null;
|
|
3881
|
+
description: string | null;
|
|
3882
|
+
handle: string | null;
|
|
3883
|
+
status: 'published' | 'draft' | 'archived' | string;
|
|
3884
|
+
can_publish: boolean;
|
|
3885
|
+
attributes: DropshipperProductAttributes;
|
|
3886
|
+
media: DropshipperProductMedia;
|
|
3887
|
+
categories: DropshipperProductCategory[];
|
|
3888
|
+
collection: {
|
|
3834
3889
|
id: string;
|
|
3835
3890
|
title: string;
|
|
3836
|
-
handle
|
|
3891
|
+
handle: string;
|
|
3837
3892
|
} | null;
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
name: string;
|
|
3841
|
-
handle?: string;
|
|
3842
|
-
parent_category_id?: string | null;
|
|
3843
|
-
}>;
|
|
3844
|
-
/** Native Medusa product options (Size, Color, etc.) */
|
|
3845
|
-
medusa_options?: DropshipperProductOption[];
|
|
3846
|
-
/** Public gallery images from Medusa — only set when the endpoint fetches them */
|
|
3847
|
-
images?: DropshipperProductImage[];
|
|
3893
|
+
options: DropshipperProductOption[];
|
|
3894
|
+
variants: DropshipperVariant[];
|
|
3848
3895
|
/** Product attachments (PDFs, CSVs, etc.) from the product_attachment module */
|
|
3849
3896
|
attachments?: DropshipperProductAttachment[];
|
|
3850
|
-
/** Private media (images/videos for dropshipper internal use) */
|
|
3851
|
-
private_media?: DropshipperProductPrivateMedia[];
|
|
3852
3897
|
}
|
|
3853
3898
|
/** Options for `GET /admin/thor/dropshipper/products` */
|
|
3854
3899
|
interface GetDropshipperProductsOptions {
|
|
@@ -3933,12 +3978,17 @@ interface DropshipperOrderCustomer {
|
|
|
3933
3978
|
interface DropshipperOrder {
|
|
3934
3979
|
id: string;
|
|
3935
3980
|
display_id: number;
|
|
3981
|
+
custom_display_id?: string | null;
|
|
3982
|
+
version: number;
|
|
3936
3983
|
status: string;
|
|
3984
|
+
payment_status: string;
|
|
3937
3985
|
fulfillment_status: string | null;
|
|
3938
3986
|
created_at: string;
|
|
3939
3987
|
customer: DropshipperOrderCustomer;
|
|
3940
3988
|
currency_code: string;
|
|
3941
3989
|
total: number;
|
|
3990
|
+
tax_total: number;
|
|
3991
|
+
net_revenue: number;
|
|
3942
3992
|
profit: number;
|
|
3943
3993
|
margin_percent: number;
|
|
3944
3994
|
items_count: number;
|
|
@@ -3953,6 +4003,7 @@ interface GetDropshipperOrdersOptions {
|
|
|
3953
4003
|
from?: string;
|
|
3954
4004
|
to?: string;
|
|
3955
4005
|
q?: string;
|
|
4006
|
+
customer_id?: string;
|
|
3956
4007
|
limit?: number;
|
|
3957
4008
|
offset?: number;
|
|
3958
4009
|
}
|
|
@@ -4042,28 +4093,85 @@ interface DropshipperOrderShippingAddress {
|
|
|
4042
4093
|
phone?: string | null;
|
|
4043
4094
|
}
|
|
4044
4095
|
/** A line item with cost and profit breakdown */
|
|
4096
|
+
interface DropshipperItemCost {
|
|
4097
|
+
unit_amount: number;
|
|
4098
|
+
total: number;
|
|
4099
|
+
}
|
|
4100
|
+
interface DropshipperItemProfit {
|
|
4101
|
+
amount: number;
|
|
4102
|
+
margin_percent: number;
|
|
4103
|
+
}
|
|
4104
|
+
interface DropshipperItemDetail {
|
|
4105
|
+
quantity: number;
|
|
4106
|
+
fulfilled_quantity: number;
|
|
4107
|
+
delivered_quantity: number;
|
|
4108
|
+
shipped_quantity: number;
|
|
4109
|
+
return_requested_quantity: number;
|
|
4110
|
+
return_received_quantity: number;
|
|
4111
|
+
return_dismissed_quantity: number;
|
|
4112
|
+
written_off_quantity: number;
|
|
4113
|
+
}
|
|
4114
|
+
interface DropshipperItemAdjustment {
|
|
4115
|
+
id: string;
|
|
4116
|
+
promotion_id: string | null;
|
|
4117
|
+
code: string | null;
|
|
4118
|
+
amount: number;
|
|
4119
|
+
description: string | null;
|
|
4120
|
+
}
|
|
4121
|
+
interface DropshipperItemTaxLine {
|
|
4122
|
+
id: string;
|
|
4123
|
+
code: string | null;
|
|
4124
|
+
rate: number;
|
|
4125
|
+
total: number;
|
|
4126
|
+
subtotal: number;
|
|
4127
|
+
}
|
|
4045
4128
|
interface DropshipperOrderItem {
|
|
4046
4129
|
id: string;
|
|
4047
4130
|
title: string;
|
|
4048
|
-
variant_title: string;
|
|
4049
|
-
|
|
4131
|
+
variant_title: string | null;
|
|
4132
|
+
thumbnail: string | null;
|
|
4050
4133
|
quantity: number;
|
|
4051
4134
|
unit_price: number;
|
|
4052
|
-
|
|
4135
|
+
applied_tier_min_qty: number | null;
|
|
4136
|
+
subtitle: string | null;
|
|
4137
|
+
product_id: string | null;
|
|
4138
|
+
product_title: string;
|
|
4139
|
+
variant_id: string | null;
|
|
4140
|
+
variant_sku: string | null;
|
|
4141
|
+
variant_barcode: string | null;
|
|
4142
|
+
variant_option_values: Record<string, string> | null;
|
|
4143
|
+
compare_at_unit_price: number | null;
|
|
4144
|
+
requires_shipping: boolean;
|
|
4145
|
+
is_discountable: boolean;
|
|
4146
|
+
is_tax_inclusive: boolean;
|
|
4147
|
+
detail: DropshipperItemDetail;
|
|
4148
|
+
adjustments: DropshipperItemAdjustment[];
|
|
4149
|
+
tax_lines: DropshipperItemTaxLine[];
|
|
4150
|
+
original_total: number;
|
|
4151
|
+
original_subtotal: number;
|
|
4152
|
+
original_tax_total: number;
|
|
4153
|
+
item_total: number;
|
|
4154
|
+
item_subtotal: number;
|
|
4155
|
+
item_tax_total: number;
|
|
4156
|
+
total: number;
|
|
4053
4157
|
subtotal: number;
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4158
|
+
tax_total: number;
|
|
4159
|
+
discount_total: number;
|
|
4160
|
+
discount_tax_total: number;
|
|
4161
|
+
refundable_total: number;
|
|
4162
|
+
refundable_total_per_unit: number;
|
|
4163
|
+
cost: DropshipperItemCost;
|
|
4164
|
+
profit: DropshipperItemProfit;
|
|
4165
|
+
metadata: null;
|
|
4060
4166
|
}
|
|
4061
4167
|
/** Order totals with profit breakdown */
|
|
4062
4168
|
interface DropshipperOrderTotals {
|
|
4063
4169
|
subtotal: number;
|
|
4170
|
+
tax_total: number;
|
|
4064
4171
|
shipping_total: number;
|
|
4065
4172
|
discount_total: number;
|
|
4066
4173
|
total: number;
|
|
4174
|
+
net_revenue: number;
|
|
4067
4175
|
cost_total: number;
|
|
4068
4176
|
profit: number;
|
|
4069
4177
|
margin_percent: number;
|
|
@@ -4071,15 +4179,132 @@ interface DropshipperOrderTotals {
|
|
|
4071
4179
|
/** Timeline event on an order */
|
|
4072
4180
|
interface DropshipperOrderTimelineEvent {
|
|
4073
4181
|
id: string;
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4182
|
+
code: string;
|
|
4183
|
+
title: string;
|
|
4184
|
+
description: string;
|
|
4185
|
+
type: "info" | "success" | "warning" | "error";
|
|
4077
4186
|
timestamp: string;
|
|
4078
4187
|
}
|
|
4188
|
+
/** Payment collection on an order */
|
|
4189
|
+
interface DropshipperPaymentSession {
|
|
4190
|
+
id: string;
|
|
4191
|
+
provider: string;
|
|
4192
|
+
status: string;
|
|
4193
|
+
amount: number;
|
|
4194
|
+
currency_code: string;
|
|
4195
|
+
authorized_at: string | null;
|
|
4196
|
+
provider_reference: string | null;
|
|
4197
|
+
}
|
|
4198
|
+
interface DropshipperPaymentCapture {
|
|
4199
|
+
id: string;
|
|
4200
|
+
amount: number;
|
|
4201
|
+
created_at: string;
|
|
4202
|
+
created_by: string | null;
|
|
4203
|
+
}
|
|
4204
|
+
interface DropshipperPaymentRefund {
|
|
4205
|
+
id: string;
|
|
4206
|
+
amount: number;
|
|
4207
|
+
created_at: string;
|
|
4208
|
+
created_by: string | null;
|
|
4209
|
+
}
|
|
4210
|
+
interface DropshipperPayment {
|
|
4211
|
+
id: string;
|
|
4212
|
+
provider: string;
|
|
4213
|
+
amount: number;
|
|
4214
|
+
currency_code: string;
|
|
4215
|
+
authorized_amount: number;
|
|
4216
|
+
captured_amount: number;
|
|
4217
|
+
refunded_amount: number;
|
|
4218
|
+
created_at: string;
|
|
4219
|
+
updated_at: string;
|
|
4220
|
+
captured_at: string | null;
|
|
4221
|
+
canceled_at: string | null;
|
|
4222
|
+
captures: DropshipperPaymentCapture[];
|
|
4223
|
+
refunds: DropshipperPaymentRefund[];
|
|
4224
|
+
}
|
|
4225
|
+
interface DropshipperPaymentCollection {
|
|
4226
|
+
id: string;
|
|
4227
|
+
currency_code: string;
|
|
4228
|
+
amount: number;
|
|
4229
|
+
status: string;
|
|
4230
|
+
payment_sessions: DropshipperPaymentSession[];
|
|
4231
|
+
payments: DropshipperPayment[];
|
|
4232
|
+
}
|
|
4233
|
+
/** Return on an order */
|
|
4234
|
+
interface DropshipperReturnItem {
|
|
4235
|
+
id: string;
|
|
4236
|
+
item_id: string;
|
|
4237
|
+
quantity: number;
|
|
4238
|
+
received_quantity: number;
|
|
4239
|
+
damaged_quantity: number;
|
|
4240
|
+
reason_id: string | null;
|
|
4241
|
+
note: string | null;
|
|
4242
|
+
metadata: unknown | null;
|
|
4243
|
+
}
|
|
4244
|
+
interface DropshipperReturn {
|
|
4245
|
+
id: string;
|
|
4246
|
+
display_id: number;
|
|
4247
|
+
status: string;
|
|
4248
|
+
order_version: number;
|
|
4249
|
+
refund_amount: number;
|
|
4250
|
+
no_notification: boolean;
|
|
4251
|
+
requested_at: string | null;
|
|
4252
|
+
received_at: string | null;
|
|
4253
|
+
canceled_at: string | null;
|
|
4254
|
+
created_by: string | null;
|
|
4255
|
+
items: DropshipperReturnItem[];
|
|
4256
|
+
}
|
|
4257
|
+
/** Transaction on an order */
|
|
4258
|
+
interface DropshipperTransaction {
|
|
4259
|
+
id: string;
|
|
4260
|
+
amount: number;
|
|
4261
|
+
currency_code: string;
|
|
4262
|
+
reference: string | null;
|
|
4263
|
+
reference_id: string | null;
|
|
4264
|
+
created_at: string;
|
|
4265
|
+
}
|
|
4266
|
+
/** Financial summary of an order */
|
|
4267
|
+
interface DropshipperFinancialSummary {
|
|
4268
|
+
paid_total: number;
|
|
4269
|
+
refunded_total: number;
|
|
4270
|
+
pending_difference: number;
|
|
4271
|
+
current_order_total: number;
|
|
4272
|
+
original_order_total: number;
|
|
4273
|
+
transaction_total: number;
|
|
4274
|
+
accounting_total: number;
|
|
4275
|
+
}
|
|
4276
|
+
/** Pickup location */
|
|
4277
|
+
interface DropshipperPickupLocation {
|
|
4278
|
+
id: string;
|
|
4279
|
+
name: string;
|
|
4280
|
+
address: {
|
|
4281
|
+
address_1: string;
|
|
4282
|
+
city: string | null;
|
|
4283
|
+
province: string | null;
|
|
4284
|
+
postal_code: string | null;
|
|
4285
|
+
country_code: string;
|
|
4286
|
+
} | null;
|
|
4287
|
+
}
|
|
4288
|
+
/** A shipping method on an order */
|
|
4289
|
+
interface DropshipperShippingMethod {
|
|
4290
|
+
id: string;
|
|
4291
|
+
name: string;
|
|
4292
|
+
amount: number;
|
|
4293
|
+
is_tax_inclusive: boolean;
|
|
4294
|
+
original_total: number;
|
|
4295
|
+
total: number;
|
|
4296
|
+
tax_total: number;
|
|
4297
|
+
discount_total: number;
|
|
4298
|
+
shipping_option_id: string | null;
|
|
4299
|
+
fulfillment_set_type: string | null;
|
|
4300
|
+
pickup_location: DropshipperPickupLocation | null;
|
|
4301
|
+
}
|
|
4079
4302
|
/** Full order detail as returned by GET /admin/thor/dropshipper/orders/:id */
|
|
4080
4303
|
interface DropshipperOrderDetail {
|
|
4081
4304
|
id: string;
|
|
4082
4305
|
display_id: number;
|
|
4306
|
+
custom_display_id?: string | null;
|
|
4307
|
+
version: number;
|
|
4083
4308
|
status: string;
|
|
4084
4309
|
payment_status?: string;
|
|
4085
4310
|
fulfillment_status: string | null;
|
|
@@ -4088,28 +4313,16 @@ interface DropshipperOrderDetail {
|
|
|
4088
4313
|
customer: DropshipperOrderCustomer & {
|
|
4089
4314
|
phone?: string;
|
|
4090
4315
|
};
|
|
4091
|
-
shipping_address: DropshipperOrderShippingAddress;
|
|
4316
|
+
shipping_address: DropshipperOrderShippingAddress | null;
|
|
4317
|
+
billing_address: DropshipperOrderShippingAddress | null;
|
|
4092
4318
|
items: DropshipperOrderItem[];
|
|
4093
4319
|
totals: DropshipperOrderTotals;
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
fulfillment_set_type?: string | null;
|
|
4101
|
-
pickup_location?: {
|
|
4102
|
-
id: string;
|
|
4103
|
-
name: string;
|
|
4104
|
-
address: {
|
|
4105
|
-
address_1: string;
|
|
4106
|
-
city: string | null;
|
|
4107
|
-
province: string | null;
|
|
4108
|
-
postal_code: string | null;
|
|
4109
|
-
country_code: string;
|
|
4110
|
-
} | null;
|
|
4111
|
-
} | null;
|
|
4112
|
-
} | null;
|
|
4320
|
+
shipping_methods: DropshipperShippingMethod[];
|
|
4321
|
+
payment_collections: DropshipperPaymentCollection[];
|
|
4322
|
+
returns: DropshipperReturn[];
|
|
4323
|
+
transactions: DropshipperTransaction[];
|
|
4324
|
+
financial_summary: DropshipperFinancialSummary;
|
|
4325
|
+
timeline: DropshipperOrderTimelineEvent[];
|
|
4113
4326
|
payment_collected_by: 'dropshipper' | 'provider' | null;
|
|
4114
4327
|
payment_method?: {
|
|
4115
4328
|
id: string;
|
|
@@ -4118,7 +4331,16 @@ interface DropshipperOrderDetail {
|
|
|
4118
4331
|
paid_amount?: number;
|
|
4119
4332
|
due_date?: string | null;
|
|
4120
4333
|
settlement_status: 'settled' | 'unsettled';
|
|
4121
|
-
|
|
4334
|
+
pickup_location: DropshipperPickupLocation | null;
|
|
4335
|
+
/** Legacy singular shipping_method kept for backward compatibility */
|
|
4336
|
+
shipping_method?: {
|
|
4337
|
+
id: string;
|
|
4338
|
+
name: string;
|
|
4339
|
+
amount: number;
|
|
4340
|
+
shipping_option_id: string | null;
|
|
4341
|
+
fulfillment_set_type?: string | null;
|
|
4342
|
+
pickup_location?: DropshipperPickupLocation | null;
|
|
4343
|
+
} | null;
|
|
4122
4344
|
}
|
|
4123
4345
|
/** Response for `GET /admin/thor/dropshipper/orders/:id` */
|
|
4124
4346
|
interface GetDropshipperOrderDetailResponse {
|
|
@@ -4467,30 +4689,49 @@ interface DropshipperCustomer {
|
|
|
4467
4689
|
email: string;
|
|
4468
4690
|
phone: string | null;
|
|
4469
4691
|
created_at: string;
|
|
4470
|
-
total_orders: number;
|
|
4471
|
-
total_spent: number;
|
|
4472
|
-
currency_code: string;
|
|
4473
|
-
last_order_at: string | null;
|
|
4474
4692
|
type: string;
|
|
4475
4693
|
status: string;
|
|
4694
|
+
stats: DropshipperCustomerStats;
|
|
4695
|
+
financial: DropshipperCustomerFinancial;
|
|
4476
4696
|
}
|
|
4477
4697
|
/** Stats on a customer as seen by the dropshipper */
|
|
4478
4698
|
interface DropshipperCustomerStats {
|
|
4479
4699
|
total_orders: number;
|
|
4480
4700
|
total_spent: number;
|
|
4481
|
-
total_profit_generated: number;
|
|
4482
4701
|
avg_order_value: number;
|
|
4483
4702
|
currency_code: string;
|
|
4484
4703
|
first_order_at: string | null;
|
|
4485
4704
|
last_order_at: string | null;
|
|
4486
4705
|
}
|
|
4487
|
-
/**
|
|
4488
|
-
interface
|
|
4706
|
+
/** Financial summary on a customer as seen by the dropshipper */
|
|
4707
|
+
interface DropshipperCustomerFinancial {
|
|
4708
|
+
currency_code: string;
|
|
4709
|
+
debt: {
|
|
4710
|
+
total: number;
|
|
4711
|
+
overdue: number;
|
|
4712
|
+
};
|
|
4713
|
+
store_credit: {
|
|
4714
|
+
balance: number;
|
|
4715
|
+
};
|
|
4716
|
+
}
|
|
4717
|
+
/** Address as returned within a customer detail response */
|
|
4718
|
+
interface DropshipperCustomerAddress {
|
|
4489
4719
|
id: string;
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4720
|
+
address_name: string | null;
|
|
4721
|
+
is_default_shipping: boolean;
|
|
4722
|
+
is_default_billing: boolean;
|
|
4723
|
+
company: string | null;
|
|
4724
|
+
first_name: string | null;
|
|
4725
|
+
last_name: string | null;
|
|
4726
|
+
address_1: string | null;
|
|
4727
|
+
address_2: string | null;
|
|
4728
|
+
city: string | null;
|
|
4729
|
+
province: string | null;
|
|
4730
|
+
postal_code: string | null;
|
|
4731
|
+
country_code: string | null;
|
|
4732
|
+
phone: string | null;
|
|
4493
4733
|
created_at: string;
|
|
4734
|
+
updated_at: string;
|
|
4494
4735
|
}
|
|
4495
4736
|
/** Full customer detail as seen by the dropshipper */
|
|
4496
4737
|
interface DropshipperCustomerDetail {
|
|
@@ -4500,15 +4741,19 @@ interface DropshipperCustomerDetail {
|
|
|
4500
4741
|
email: string;
|
|
4501
4742
|
phone: string | null;
|
|
4502
4743
|
created_at: string;
|
|
4503
|
-
|
|
4744
|
+
type: string;
|
|
4745
|
+
status: string;
|
|
4746
|
+
addresses: DropshipperCustomerAddress[];
|
|
4504
4747
|
stats: DropshipperCustomerStats;
|
|
4505
|
-
|
|
4748
|
+
financial: DropshipperCustomerFinancial;
|
|
4506
4749
|
}
|
|
4507
4750
|
/** Options for `GET /admin/thor/dropshipper/customers` */
|
|
4508
4751
|
interface GetDropshipperCustomersOptions {
|
|
4509
4752
|
q?: string;
|
|
4510
4753
|
has_orders?: boolean;
|
|
4511
4754
|
from?: string;
|
|
4755
|
+
type?: 'regular' | 'vip' | 'wholesale';
|
|
4756
|
+
status?: 'active' | 'inactive';
|
|
4512
4757
|
limit?: number;
|
|
4513
4758
|
offset?: number;
|
|
4514
4759
|
/** Sort order in `field:direction` format, e.g. `createdAt:desc` or `name:asc` */
|
|
@@ -5631,4 +5876,4 @@ interface GetNotificationsResponse {
|
|
|
5631
5876
|
count: number;
|
|
5632
5877
|
}
|
|
5633
5878
|
|
|
5634
|
-
export { type AccountDropdownConfig, type AccountMenuItem, type AcknowledgeCostPriceChangesResponse, type ActiveFilter, type AddOrderEditItemBody, type AddOrderEditItemResponse, type Address, type AdminApiKey, type AdminChannelCategory, type AdminChannelCustomer, type AdminDropshipperAccount, type AdminDropshipperBalance, type AdminProduct, type AdminProductVariant, type AdminSalesChannelRef, type AdminSiteConfig, type AdminSiteConfigHistoryEntry, type AdminSiteConfigHistoryEntryFull, type AdminStorefrontConfig, type AdminStorefrontSeoDefaults, type AdminUser, type AdvancedSearchProductsOptions, type AssignCategoriesToChannelsBody, type AssignCategoriesToChannelsResponse, type AssignCollectionsToChannelsBody, type AssignCollectionsToChannelsResponse, type AuditLog, type AuditLogAdapter, type AuthConfig, type AuthMethod, type AuthProvider, type AuthResponse, type AuthStorage, type AuthorConfig, type BackendCapabilities, type BrandConfig, type CachedPaymentMethods, type CancelDropshipperOrderResponse, type CancelMovementBody, type CancelMovementResponse, type CancelSettlementBody, type Cart, type CartCost, type CartItem, type CartLineInput, type CartLineUpdate, type CartProduct, type CategoryMapping, type ChartDataPoint, type ChatIntent, type ChatMessage, type ChatRequest, type ChatResponse, type ChatSource, type ChatSourceVariant, type Collection, type CollectionProductsOptions, type CommerceProvider, type CompareProduct, type ConfigHistoryEntry, type ConfirmMovementBody, type ConfirmMovementResponse, type ConfirmOrderEditResponse, type ConfirmSettlementBody, type Connection, type ConvertDropshipperDraftOrderBody, type ConvertDropshipperDraftOrderResponse, type CostPriceChangeItem, type CostPriceChangesCheckResponse, type CostPriceChangesResponse, type Country, type CreateAddressData, type CreateAjusteBody, type CreateAjusteResponse, type CreateCategoryMappingBody, type CreateCategoryMappingResponse, type CreateCobroBody, type CreateCobroResponse, type CreateCompensacionBody, type CreateCompensacionResponse, type CreateDropshipperCategoryBody, type CreateDropshipperCustomerBody, type CreateDropshipperCustomerResponse, type CreateDropshipperDraftOrderBody, type CreateDropshipperDraftOrderResponse, type CreateDropshipperOrderBody, type CreateDropshipperOrderResponse, type CreateDropshipperPromotionBody, type CreateOrderEditBody, type CreateOrderEditResponse, type CreateOrderItem, type CreateOrderNoteBody, type CreateOrderNoteResponse, type CreatePagoBody, type CreatePagoResponse, type CreateReversoBody, type CreateReversoResponse, type CreateSettlementBody, type CreateSettlementResponse, type Customer, type DashboardChanges, type DashboardConfig, type DashboardMetrics, type DashboardMetricsAdapter, type DashboardOrdersAdapter, type DashboardPeriodMetrics, type DashboardProductsAdapter, type DashboardStats, type DashboardTopProduct, type DeleteCategoryMappingResponse, type DeleteDropshipperCategoryResponse, type DeleteDropshipperDraftOrderResponse, type DeleteDropshipperPromotionResponse, type DeleteOrderNoteResponse, type DesignerConfig, type DesignerHistoryEntry, type DesignerNavItem, type DesignerThemeConfig, type DesignerThemePreset, type DiscountCode, type DropshipperAccount, type DropshipperAccountRef, type DropshipperAddressBody, type DropshipperAddressResponse, type DropshipperAttributeDefinition, type DropshipperAttributeDefinitionValue, type DropshipperBalance, type DropshipperCategory, type DropshipperCostTier, type DropshipperCustomer, type DropshipperCustomerDetail, type DropshipperCustomerOrderRef, type DropshipperCustomerStats, type DropshipperDashboardCapabilities, type DropshipperDraftOrder, type DropshipperDraftOrderItem, type DropshipperOrder, type DropshipperOrderCustomer, type DropshipperOrderDetail, type DropshipperOrderItem, type DropshipperOrderShippingAddress, type DropshipperOrderTimelineEvent, type DropshipperOrderTotals, type DropshipperPayableOrder, type DropshipperPaymentMethodConfig, type DropshipperPendingOrders, type DropshipperPriceItem, type DropshipperPriceTier, type DropshipperProduct, type DropshipperProductAttachment, type DropshipperProductAttribute, type DropshipperProductAttributeValue, type DropshipperProductImage, type DropshipperProductOption, type DropshipperProductOptionValue, type DropshipperProductPrivateMedia, type DropshipperProfile, type DropshipperPromotion, type DropshipperReceivableOrder, type DropshipperSaleTier, type DropshipperShippingOption, type DropshipperVariant, type DynamicSource, type Edge, type ExtendedCreateDropshipperOrderBody, type ExtendedCreateDropshipperOrderResponse, type FilterConfig, type FilterOption, type FilterSection, type FulfillmentOption, type FulfillmentSet, type FulfillmentStatus, type GeoCity, type GeoCountry, type GeoProvince, type GetAdminAccountBalanceResponse, type GetAdminDropshipperAccountOrdersResponse, type GetAdminDropshipperAccountSettlementsOptions, type GetAdminDropshipperAccountSettlementsResponse, type GetAdminDropshipperAccountsResponse, type GetAdminPriceListsResponse, type GetAdminSiteConfigHistoryOptions, type GetAdminSiteConfigHistoryResponse, type GetAdminSiteConfigResponse, type GetAdminStorefrontConfigResponse, type GetCategoriesCallback, type GetCategoriesOptions, type GetCategoryMappingsOptions, type GetCategoryMappingsResponse, type GetCategorySalesChannelsResponse, type GetChannelApiKeysResponse, type GetChannelCategoriesOptions, type GetChannelCategoriesResponse, type GetChannelCustomersOptions, type GetChannelCustomersResponse, type GetCollectionSalesChannelsResponse, type GetCollectionsOptions, type GetCustomersCallback, type GetCustomersOptions, type GetDashboardStatsOptions, type GetDashboardStatsResponse, type GetDropshipperAccountBalanceResponse, type GetDropshipperAccountOrdersOptions, type GetDropshipperAccountOrdersResponse, type GetDropshipperAccountResponse, type GetDropshipperAddressesResponse, type GetDropshipperAttributesResponse, type GetDropshipperCategoriesOptions, type GetDropshipperCategoriesResponse, type GetDropshipperCustomerDetailResponse, type GetDropshipperCustomersOptions, type GetDropshipperCustomersResponse, type GetDropshipperDraftOrderDetailResponse, type GetDropshipperDraftOrdersOptions, type GetDropshipperDraftOrdersResponse, type GetDropshipperOrderDetailResponse, type GetDropshipperOrdersOptions, type GetDropshipperOrdersResponse, type GetDropshipperPayableResponse, type GetDropshipperProductsOptions, type GetDropshipperProductsResponse, type GetDropshipperPromotionsOptions, type GetDropshipperPromotionsResponse, type GetDropshipperReceivableResponse, type GetDropshipperShippingOptionsParams, type GetDropshipperShippingOptionsResponse, type GetFinancialAnalysisResponse, type GetGeoCitiesResponse, type GetGeoCountriesResponse, type GetGeoProvincesResponse, type GetMyProfileResponse, type GetNotificationsOptions, type GetNotificationsResponse, type GetOrderNotesResponse, type GetOrdersCallback, type GetOrdersOptions, type GetProductAttributesResponse, type GetProductsOptions, type GetProviderCategoriesResponse, type GetSettlementDetailResponse, type GetSettlementsOptions, type GetSettlementsResponse, type GetStorefrontDropshipperCategoriesResponse, type GetUserChannelResponse, type HeaderLinkItem, type HeaderNavigationConfig, type IconConfig, type Image, type InventoryLevel, type LinkCustomerToChannelResponse, type LoginCredentials, type ManualAdminNotificationData, type ModulesConfig, type Money, type NavigationCalloutItem, type NavigationItem, type NavigationLinkItem, type NotificationData, type OnboardDropshipperBody, type OnboardDropshipperResponse, type Order, type OrderItem, type OrderNote, type OrderStatus, type OrdersMetrics, PROVIDER_METADATA, type PaginationOptions, type PasswordResetConfirm, type PasswordResetRequest, type PaymentMethod$1 as PaymentMethod, type PaymentMethodFeatures, type PaymentMethodType, type PaymentMethodsOptions, type PaymentStatus, type PriceRange, type PriceUpdatedNotificationData, type Product, type ProductAssignedNotificationData, type ProductCategory, type ProductOption, type ProductPreview, type ProductVariant, type ProductsMetrics, type PromotionRule, type ProviderCategory, type ProviderConfig, type ProviderTypeString, type RawNotification, type Region, type RegisterData, type RegisterPaymentBody, type RegisterPaymentResponse, type ResolveGuaranteeBody, type ResolveGuaranteeResponse, type RestoreSiteConfigResponse, type Review, type SEO, type SalesMetrics, type SearchBarConfig, type SearchResultMeta, type SelectedOption, type SetPaymentCollectorBody, type SetPaymentCollectorResponse, type SetPaymentMethodBody, type SetPaymentMethodResponse, type SettlementRecord, type SettlementStatus, type ShippingMethod, type SiteConfig, type SiteConfigLabels, type SiteConfigMetadata, type SocialConfig, type SortOption, type SortOptions, type StockChangeNotificationData, type StockLocation, type StockStatus, type StockValidation, type StorefrontConfig, StorefrontConfigError, type StorefrontContext, type StorefrontPlatformType, type StorefrontSeoDefaults, SupportedProviderType, type UnassignCategoriesFromChannelsBody, type UnassignCategoriesFromChannelsResponse, type UnassignCollectionsFromChannelsBody, type UnassignCollectionsFromChannelsResponse, type UpdateCustomerData, type UpdateDropshipperCategoryBody, type UpdateDropshipperCustomerBody, type UpdateDropshipperCustomerResponse, type UpdateDropshipperDraftOrderBody, type UpdateDropshipperDraftOrderResponse, type UpdateDropshipperPricesBody, type UpdateDropshipperPricesResponse, type UpdateDropshipperProductStatusBody, type UpdateDropshipperProductStatusResponse, type UpdateDropshipperPromotionBody, type UpdateSettlementStatusResponse, type UpdateSiteConfigBody, type UpdateSiteConfigResponse, type UpdateStorefrontConfigBody, type UpdateStorefrontConfigResponse, type ValidateCheckoutItemsRequest, type ValidateCheckoutItemsResponse, type ValidatedCheckoutItem, getProviderMetadata, isSupportedProviderType };
|
|
5879
|
+
export { type AccountDropdownConfig, type AccountMenuItem, type AcknowledgeCostPriceChangesResponse, type ActiveFilter, type AddOrderEditItemBody, type AddOrderEditItemResponse, type Address, type AdminApiKey, type AdminChannelCategory, type AdminChannelCustomer, type AdminDropshipperAccount, type AdminDropshipperBalance, type AdminProduct, type AdminProductVariant, type AdminSalesChannelRef, type AdminSiteConfig, type AdminSiteConfigHistoryEntry, type AdminSiteConfigHistoryEntryFull, type AdminStorefrontConfig, type AdminStorefrontSeoDefaults, type AdminUser, type AdvancedSearchProductsOptions, type AssignCategoriesToChannelsBody, type AssignCategoriesToChannelsResponse, type AssignCollectionsToChannelsBody, type AssignCollectionsToChannelsResponse, type AuditLog, type AuditLogAdapter, type AuthConfig, type AuthMethod, type AuthProvider, type AuthResponse, type AuthStorage, type AuthorConfig, type BackendCapabilities, type BrandConfig, type CachedPaymentMethods, type CancelDropshipperOrderResponse, type CancelMovementBody, type CancelMovementResponse, type CancelSettlementBody, type Cart, type CartCost, type CartItem, type CartLineInput, type CartLineUpdate, type CartProduct, type CategoryMapping, type ChartDataPoint, type ChatIntent, type ChatMessage, type ChatRequest, type ChatResponse, type ChatSource, type ChatSourceVariant, type Collection, type CollectionProductsOptions, type CommerceProvider, type CompareProduct, type ConfigHistoryEntry, type ConfirmMovementBody, type ConfirmMovementResponse, type ConfirmOrderEditResponse, type ConfirmSettlementBody, type Connection, type ConvertDropshipperDraftOrderBody, type ConvertDropshipperDraftOrderResponse, type CostPriceChangeItem, type CostPriceChangesCheckResponse, type CostPriceChangesResponse, type Country, type CreateAddressData, type CreateAjusteBody, type CreateAjusteResponse, type CreateCategoryMappingBody, type CreateCategoryMappingResponse, type CreateCobroBody, type CreateCobroResponse, type CreateCompensacionBody, type CreateCompensacionResponse, type CreateDropshipperCategoryBody, type CreateDropshipperCustomerBody, type CreateDropshipperCustomerResponse, type CreateDropshipperDraftOrderBody, type CreateDropshipperDraftOrderResponse, type CreateDropshipperOrderBody, type CreateDropshipperOrderResponse, type CreateDropshipperPromotionBody, type CreateOrderEditBody, type CreateOrderEditResponse, type CreateOrderItem, type CreateOrderNoteBody, type CreateOrderNoteResponse, type CreatePagoBody, type CreatePagoResponse, type CreateReversoBody, type CreateReversoResponse, type CreateSettlementBody, type CreateSettlementResponse, type Customer, type DashboardChanges, type DashboardConfig, type DashboardMetrics, type DashboardMetricsAdapter, type DashboardOrdersAdapter, type DashboardPeriodMetrics, type DashboardProductsAdapter, type DashboardStats, type DashboardTopProduct, type DeleteCategoryMappingResponse, type DeleteDropshipperCategoryResponse, type DeleteDropshipperDraftOrderResponse, type DeleteDropshipperPromotionResponse, type DeleteOrderNoteResponse, type DesignerConfig, type DesignerHistoryEntry, type DesignerNavItem, type DesignerThemeConfig, type DesignerThemePreset, type DiscountCode, type DropshipperAccount, type DropshipperAccountRef, type DropshipperAddressBody, type DropshipperAddressResponse, type DropshipperAttributeDefinition, type DropshipperAttributeDefinitionValue, type DropshipperBalance, type DropshipperCategory, type DropshipperCostTier, type DropshipperCustomer, type DropshipperCustomerAddress, type DropshipperCustomerDetail, type DropshipperCustomerFinancial, type DropshipperCustomerStats, type DropshipperDashboardCapabilities, type DropshipperDraftOrder, type DropshipperDraftOrderItem, type DropshipperOrder, type DropshipperOrderCustomer, type DropshipperOrderDetail, type DropshipperOrderItem, type DropshipperOrderShippingAddress, type DropshipperOrderTimelineEvent, type DropshipperOrderTotals, type DropshipperPayableOrder, type DropshipperPaymentMethodConfig, type DropshipperPendingOrders, type DropshipperPriceItem, type DropshipperPriceTier, type DropshipperProduct, type DropshipperProductAttachment, type DropshipperProductAttribute, type DropshipperProductAttributeValue, type DropshipperProductImage, type DropshipperProductOption, type DropshipperProductOptionValue, type DropshipperProductPrivateMedia, type DropshipperProfile, type DropshipperPromotion, type DropshipperReceivableOrder, type DropshipperSaleTier, type DropshipperShippingOption, type DropshipperVariant, type DynamicSource, type Edge, type ExtendedCreateDropshipperOrderBody, type ExtendedCreateDropshipperOrderResponse, type FilterConfig, type FilterOption, type FilterSection, type FulfillmentOption, type FulfillmentSet, type FulfillmentStatus, type GeoCity, type GeoCountry, type GeoProvince, type GetAdminAccountBalanceResponse, type GetAdminDropshipperAccountOrdersResponse, type GetAdminDropshipperAccountSettlementsOptions, type GetAdminDropshipperAccountSettlementsResponse, type GetAdminDropshipperAccountsResponse, type GetAdminPriceListsResponse, type GetAdminSiteConfigHistoryOptions, type GetAdminSiteConfigHistoryResponse, type GetAdminSiteConfigResponse, type GetAdminStorefrontConfigResponse, type GetCategoriesCallback, type GetCategoriesOptions, type GetCategoryMappingsOptions, type GetCategoryMappingsResponse, type GetCategorySalesChannelsResponse, type GetChannelApiKeysResponse, type GetChannelCategoriesOptions, type GetChannelCategoriesResponse, type GetChannelCustomersOptions, type GetChannelCustomersResponse, type GetCollectionSalesChannelsResponse, type GetCollectionsOptions, type GetCustomersCallback, type GetCustomersOptions, type GetDashboardStatsOptions, type GetDashboardStatsResponse, type GetDropshipperAccountBalanceResponse, type GetDropshipperAccountOrdersOptions, type GetDropshipperAccountOrdersResponse, type GetDropshipperAccountResponse, type GetDropshipperAddressesResponse, type GetDropshipperAttributesResponse, type GetDropshipperCategoriesOptions, type GetDropshipperCategoriesResponse, type GetDropshipperCustomerDetailResponse, type GetDropshipperCustomersOptions, type GetDropshipperCustomersResponse, type GetDropshipperDraftOrderDetailResponse, type GetDropshipperDraftOrdersOptions, type GetDropshipperDraftOrdersResponse, type GetDropshipperOrderDetailResponse, type GetDropshipperOrdersOptions, type GetDropshipperOrdersResponse, type GetDropshipperPayableResponse, type GetDropshipperProductsOptions, type GetDropshipperProductsResponse, type GetDropshipperPromotionsOptions, type GetDropshipperPromotionsResponse, type GetDropshipperReceivableResponse, type GetDropshipperShippingOptionsParams, type GetDropshipperShippingOptionsResponse, type GetFinancialAnalysisResponse, type GetGeoCitiesResponse, type GetGeoCountriesResponse, type GetGeoProvincesResponse, type GetMyProfileResponse, type GetNotificationsOptions, type GetNotificationsResponse, type GetOrderNotesResponse, type GetOrdersCallback, type GetOrdersOptions, type GetProductAttributesResponse, type GetProductsOptions, type GetProviderCategoriesResponse, type GetSettlementDetailResponse, type GetSettlementsOptions, type GetSettlementsResponse, type GetStorefrontDropshipperCategoriesResponse, type GetUserChannelResponse, type HeaderLinkItem, type HeaderNavigationConfig, type IconConfig, type Image, type InventoryLevel, type LinkCustomerToChannelResponse, type LoginCredentials, type ManualAdminNotificationData, type ModulesConfig, type Money, type NavigationCalloutItem, type NavigationItem, type NavigationLinkItem, type NotificationData, type OnboardDropshipperBody, type OnboardDropshipperResponse, type Order, type OrderItem, type OrderNote, type OrderStatus, type OrdersMetrics, PROVIDER_METADATA, type PaginationOptions, type PasswordResetConfirm, type PasswordResetRequest, type PaymentMethod$1 as PaymentMethod, type PaymentMethodFeatures, type PaymentMethodType, type PaymentMethodsOptions, type PaymentStatus, type PriceRange, type PriceUpdatedNotificationData, type Product, type ProductAssignedNotificationData, type ProductCategory, type ProductOption, type ProductPreview, type ProductVariant, type ProductsMetrics, type PromotionRule, type ProviderCategory, type ProviderConfig, type ProviderTypeString, type RawNotification, type Region, type RegisterData, type RegisterPaymentBody, type RegisterPaymentResponse, type ResolveGuaranteeBody, type ResolveGuaranteeResponse, type RestoreSiteConfigResponse, type Review, type SEO, type SalesMetrics, type SearchBarConfig, type SearchResultMeta, type SelectedOption, type SetPaymentCollectorBody, type SetPaymentCollectorResponse, type SetPaymentMethodBody, type SetPaymentMethodResponse, type SettlementRecord, type SettlementStatus, type ShippingMethod, type SiteConfig, type SiteConfigLabels, type SiteConfigMetadata, type SocialConfig, type SortOption, type SortOptions, type StockChangeNotificationData, type StockLocation, type StockStatus, type StockValidation, type StorefrontConfig, StorefrontConfigError, type StorefrontContext, type StorefrontPlatformType, type StorefrontSeoDefaults, SupportedProviderType, type UnassignCategoriesFromChannelsBody, type UnassignCategoriesFromChannelsResponse, type UnassignCollectionsFromChannelsBody, type UnassignCollectionsFromChannelsResponse, type UpdateCustomerData, type UpdateDropshipperCategoryBody, type UpdateDropshipperCustomerBody, type UpdateDropshipperCustomerResponse, type UpdateDropshipperDraftOrderBody, type UpdateDropshipperDraftOrderResponse, type UpdateDropshipperPricesBody, type UpdateDropshipperPricesResponse, type UpdateDropshipperProductStatusBody, type UpdateDropshipperProductStatusResponse, type UpdateDropshipperPromotionBody, type UpdateSettlementStatusResponse, type UpdateSiteConfigBody, type UpdateSiteConfigResponse, type UpdateStorefrontConfigBody, type UpdateStorefrontConfigResponse, type ValidateCheckoutItemsRequest, type ValidateCheckoutItemsResponse, type ValidatedCheckoutItem, getProviderMetadata, isSupportedProviderType };
|