@thorprovider/types 5.3.1 → 5.3.3
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/README.md +1 -1
- package/dist/index.d.mts +315 -154
- package/dist/index.d.ts +315 -154
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/DropshippingAdmin.ts +341 -164
- package/src/index.ts +0 -9
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ import type { Product, Cart, CartItem, Collection } from '@thorprovider/types';
|
|
|
214
214
|
- **Auth**: AuthProvider, LoginCredentials, RegisterData
|
|
215
215
|
- **Storefront**: StorefrontConfig, StorefrontContext
|
|
216
216
|
- **CommerceProvider**: CommerceProvider interface (includes optional `updateShippingAddress?`)
|
|
217
|
-
- **Dropshipping**: DropshipperAccount,
|
|
217
|
+
- **Dropshipping**: DropshipperAccount, DropshipperCategory, DropshipperPromotion, DropshipperSettlement — plus all request/response types for the 53+ `DropshipperClient` methods (see `src/admin/DropshippingAdmin.ts`)
|
|
218
218
|
- **Order Notes** (part of Dropshipping): OrderNote, CreateOrderNoteBody, GetOrderNotesResponse, DeleteOrderNoteResponse — for managing notes on dropshipper orders
|
|
219
219
|
- **Provider Categories** (part of Dropshipping): ProviderCategory, GetProviderCategoriesResponse — Medusa native categories exposed via dropshipper API
|
|
220
220
|
- **Category Mappings** (part of Dropshipping): CategoryMapping, GetCategoryMappingsOptions, GetCategoryMappingsResponse — M:N links between products and custom categories
|
package/dist/index.d.mts
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 {
|
|
@@ -3736,70 +3733,11 @@ interface OnboardDropshipperResponse {
|
|
|
3736
3733
|
role: 'Dropshipper';
|
|
3737
3734
|
};
|
|
3738
3735
|
}
|
|
3739
|
-
/** A single variant cost record */
|
|
3740
|
-
interface VariantCost {
|
|
3741
|
-
id: string;
|
|
3742
|
-
account_id: string;
|
|
3743
|
-
variant_id: string;
|
|
3744
|
-
variant_title?: string;
|
|
3745
|
-
product_title?: string;
|
|
3746
|
-
cost_amount: number;
|
|
3747
|
-
currency_code: string;
|
|
3748
|
-
created_at?: string;
|
|
3749
|
-
updated_at: string;
|
|
3750
|
-
}
|
|
3751
|
-
/** Options for `GET /admin/thor/dropshipper/variant-costs` */
|
|
3752
|
-
interface GetVariantCostsOptions {
|
|
3753
|
-
/** Filter by dropshipper account */
|
|
3754
|
-
account_id?: string;
|
|
3755
|
-
variant_id?: string;
|
|
3756
|
-
currency_code?: string;
|
|
3757
|
-
limit?: number;
|
|
3758
|
-
offset?: number;
|
|
3759
|
-
}
|
|
3760
|
-
/** Response for `GET /admin/thor/dropshipper/variant-costs` */
|
|
3761
|
-
interface GetVariantCostsResponse {
|
|
3762
|
-
variant_costs: VariantCost[];
|
|
3763
|
-
count: number;
|
|
3764
|
-
offset: number;
|
|
3765
|
-
limit: number;
|
|
3766
|
-
}
|
|
3767
|
-
/** Body for `POST /admin/thor/dropshipper/variant-costs` (upsert) */
|
|
3768
|
-
interface CreateVariantCostBody {
|
|
3769
|
-
account_id: string;
|
|
3770
|
-
variant_id: string;
|
|
3771
|
-
cost_amount: number;
|
|
3772
|
-
currency_code: string;
|
|
3773
|
-
}
|
|
3774
|
-
/** Response for `POST /admin/thor/dropshipper/variant-costs` */
|
|
3775
|
-
interface CreateVariantCostResponse {
|
|
3776
|
-
variant_cost: VariantCost;
|
|
3777
|
-
}
|
|
3778
|
-
/** Single item in a batch variant cost update */
|
|
3779
|
-
interface BatchVariantCostItem {
|
|
3780
|
-
variant_id: string;
|
|
3781
|
-
cost_amount: number;
|
|
3782
|
-
}
|
|
3783
|
-
/** Body for `POST /admin/thor/dropshipper/variant-costs/batch` */
|
|
3784
|
-
interface BatchVariantCostsBody {
|
|
3785
|
-
account_id: string;
|
|
3786
|
-
currency_code: string;
|
|
3787
|
-
costs: BatchVariantCostItem[];
|
|
3788
|
-
}
|
|
3789
|
-
/** Response for `POST /admin/thor/dropshipper/variant-costs/batch` */
|
|
3790
|
-
interface BatchVariantCostsResponse {
|
|
3791
|
-
updated: number;
|
|
3792
|
-
errors: unknown[];
|
|
3793
|
-
}
|
|
3794
|
-
/** Response for `DELETE /admin/thor/dropshipper/variant-costs/:id` */
|
|
3795
|
-
interface DeleteVariantCostResponse {
|
|
3796
|
-
deleted: true;
|
|
3797
|
-
id: string;
|
|
3798
|
-
}
|
|
3799
3736
|
/** A product image from Medusa's public gallery */
|
|
3800
3737
|
interface DropshipperProductImage {
|
|
3801
3738
|
id: string;
|
|
3802
3739
|
url: string;
|
|
3740
|
+
rank: number;
|
|
3803
3741
|
}
|
|
3804
3742
|
/** A product attachment (file/doc) linked via the product_attachment module */
|
|
3805
3743
|
interface DropshipperProductAttachment {
|
|
@@ -3826,34 +3764,67 @@ interface DropshipperProductPrivateMedia {
|
|
|
3826
3764
|
size: number;
|
|
3827
3765
|
metadata: Record<string, unknown> | null;
|
|
3828
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
|
+
}
|
|
3829
3815
|
/** A product variant as seen by the dropshipper */
|
|
3830
3816
|
interface DropshipperVariant {
|
|
3831
3817
|
id: string;
|
|
3832
3818
|
title: string;
|
|
3833
3819
|
sku: string | null;
|
|
3834
|
-
|
|
3820
|
+
options: DropshipperVariantOption[];
|
|
3835
3821
|
/** Whether inventory is tracked for this variant */
|
|
3836
3822
|
manageInventory: boolean;
|
|
3837
3823
|
/** Whether backorders are allowed when out of stock */
|
|
3838
3824
|
allowBackorder: boolean;
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
/** "custom" if from DropshipperVariantCost, "base_price" if fallback */
|
|
3843
|
-
cost_price_source: 'custom' | 'base_price';
|
|
3844
|
-
/** Quantity-based cost tiers (X→Y) from the Price List */
|
|
3845
|
-
cost_tiers: DropshipperCostTier[];
|
|
3846
|
-
/** Price Y charges to V. From the channel's price list. */
|
|
3847
|
-
sale_price: number;
|
|
3848
|
-
sale_price_currency: string;
|
|
3849
|
-
/** Markup % over cost applied to the base sale price (0–1000). */
|
|
3850
|
-
sale_margin_percent: number;
|
|
3851
|
-
/** Quantity-based sale tiers (Y→V) configured by the dropshipper */
|
|
3852
|
-
sale_tiers: DropshipperSaleTier[];
|
|
3853
|
-
/** sale_price - cost_price (calculated by backend) */
|
|
3854
|
-
margin: number;
|
|
3855
|
-
/** (margin / sale_price) × 100 (calculated by backend) */
|
|
3856
|
-
margin_percent: number;
|
|
3825
|
+
inventory: DropshipperVariantInventory;
|
|
3826
|
+
locations: DropshipperVariantLocation[];
|
|
3827
|
+
pricing: DropshipperVariantPricing;
|
|
3857
3828
|
}
|
|
3858
3829
|
/** A native Medusa product option value */
|
|
3859
3830
|
interface DropshipperProductOptionValue {
|
|
@@ -3866,49 +3837,63 @@ interface DropshipperProductOption {
|
|
|
3866
3837
|
title: string | null;
|
|
3867
3838
|
values: DropshipperProductOptionValue[];
|
|
3868
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
|
+
}
|
|
3869
3876
|
/** A product as seen by the dropshipper */
|
|
3870
3877
|
interface DropshipperProduct {
|
|
3871
3878
|
id: string;
|
|
3872
3879
|
title: string;
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
description?: string | null;
|
|
3883
|
-
handle?: string | null;
|
|
3884
|
-
/** Physical dimensions and shipping metadata */
|
|
3885
|
-
width?: number | null;
|
|
3886
|
-
height?: number | null;
|
|
3887
|
-
length?: number | null;
|
|
3888
|
-
weight?: number | null;
|
|
3889
|
-
material?: string | null;
|
|
3890
|
-
origin_country?: string | null;
|
|
3891
|
-
hs_code?: string | null;
|
|
3892
|
-
mid_code?: string | null;
|
|
3893
|
-
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: {
|
|
3894
3889
|
id: string;
|
|
3895
3890
|
title: string;
|
|
3896
|
-
handle
|
|
3891
|
+
handle: string;
|
|
3897
3892
|
} | null;
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
name: string;
|
|
3901
|
-
handle?: string;
|
|
3902
|
-
parent_category_id?: string | null;
|
|
3903
|
-
}>;
|
|
3904
|
-
/** Native Medusa product options (Size, Color, etc.) */
|
|
3905
|
-
medusa_options?: DropshipperProductOption[];
|
|
3906
|
-
/** Public gallery images from Medusa — only set when the endpoint fetches them */
|
|
3907
|
-
images?: DropshipperProductImage[];
|
|
3893
|
+
options: DropshipperProductOption[];
|
|
3894
|
+
variants: DropshipperVariant[];
|
|
3908
3895
|
/** Product attachments (PDFs, CSVs, etc.) from the product_attachment module */
|
|
3909
3896
|
attachments?: DropshipperProductAttachment[];
|
|
3910
|
-
/** Private media (images/videos for dropshipper internal use) */
|
|
3911
|
-
private_media?: DropshipperProductPrivateMedia[];
|
|
3912
3897
|
}
|
|
3913
3898
|
/** Options for `GET /admin/thor/dropshipper/products` */
|
|
3914
3899
|
interface GetDropshipperProductsOptions {
|
|
@@ -3993,12 +3978,17 @@ interface DropshipperOrderCustomer {
|
|
|
3993
3978
|
interface DropshipperOrder {
|
|
3994
3979
|
id: string;
|
|
3995
3980
|
display_id: number;
|
|
3981
|
+
custom_display_id?: string | null;
|
|
3982
|
+
version: number;
|
|
3996
3983
|
status: string;
|
|
3984
|
+
payment_status: string;
|
|
3997
3985
|
fulfillment_status: string | null;
|
|
3998
3986
|
created_at: string;
|
|
3999
3987
|
customer: DropshipperOrderCustomer;
|
|
4000
3988
|
currency_code: string;
|
|
4001
3989
|
total: number;
|
|
3990
|
+
tax_total: number;
|
|
3991
|
+
net_revenue: number;
|
|
4002
3992
|
profit: number;
|
|
4003
3993
|
margin_percent: number;
|
|
4004
3994
|
items_count: number;
|
|
@@ -4102,28 +4092,85 @@ interface DropshipperOrderShippingAddress {
|
|
|
4102
4092
|
phone?: string | null;
|
|
4103
4093
|
}
|
|
4104
4094
|
/** A line item with cost and profit breakdown */
|
|
4095
|
+
interface DropshipperItemCost {
|
|
4096
|
+
unit_amount: number;
|
|
4097
|
+
total: number;
|
|
4098
|
+
}
|
|
4099
|
+
interface DropshipperItemProfit {
|
|
4100
|
+
amount: number;
|
|
4101
|
+
margin_percent: number;
|
|
4102
|
+
}
|
|
4103
|
+
interface DropshipperItemDetail {
|
|
4104
|
+
quantity: number;
|
|
4105
|
+
fulfilled_quantity: number;
|
|
4106
|
+
delivered_quantity: number;
|
|
4107
|
+
shipped_quantity: number;
|
|
4108
|
+
return_requested_quantity: number;
|
|
4109
|
+
return_received_quantity: number;
|
|
4110
|
+
return_dismissed_quantity: number;
|
|
4111
|
+
written_off_quantity: number;
|
|
4112
|
+
}
|
|
4113
|
+
interface DropshipperItemAdjustment {
|
|
4114
|
+
id: string;
|
|
4115
|
+
promotion_id: string | null;
|
|
4116
|
+
code: string | null;
|
|
4117
|
+
amount: number;
|
|
4118
|
+
description: string | null;
|
|
4119
|
+
}
|
|
4120
|
+
interface DropshipperItemTaxLine {
|
|
4121
|
+
id: string;
|
|
4122
|
+
code: string | null;
|
|
4123
|
+
rate: number;
|
|
4124
|
+
total: number;
|
|
4125
|
+
subtotal: number;
|
|
4126
|
+
}
|
|
4105
4127
|
interface DropshipperOrderItem {
|
|
4106
4128
|
id: string;
|
|
4107
4129
|
title: string;
|
|
4108
|
-
variant_title: string;
|
|
4109
|
-
|
|
4130
|
+
variant_title: string | null;
|
|
4131
|
+
thumbnail: string | null;
|
|
4110
4132
|
quantity: number;
|
|
4111
4133
|
unit_price: number;
|
|
4112
|
-
|
|
4134
|
+
applied_tier_min_qty: number | null;
|
|
4135
|
+
subtitle: string | null;
|
|
4136
|
+
product_id: string | null;
|
|
4137
|
+
product_title: string;
|
|
4138
|
+
variant_id: string | null;
|
|
4139
|
+
variant_sku: string | null;
|
|
4140
|
+
variant_barcode: string | null;
|
|
4141
|
+
variant_option_values: Record<string, string> | null;
|
|
4142
|
+
compare_at_unit_price: number | null;
|
|
4143
|
+
requires_shipping: boolean;
|
|
4144
|
+
is_discountable: boolean;
|
|
4145
|
+
is_tax_inclusive: boolean;
|
|
4146
|
+
detail: DropshipperItemDetail;
|
|
4147
|
+
adjustments: DropshipperItemAdjustment[];
|
|
4148
|
+
tax_lines: DropshipperItemTaxLine[];
|
|
4149
|
+
original_total: number;
|
|
4150
|
+
original_subtotal: number;
|
|
4151
|
+
original_tax_total: number;
|
|
4152
|
+
item_total: number;
|
|
4153
|
+
item_subtotal: number;
|
|
4154
|
+
item_tax_total: number;
|
|
4155
|
+
total: number;
|
|
4113
4156
|
subtotal: number;
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4157
|
+
tax_total: number;
|
|
4158
|
+
discount_total: number;
|
|
4159
|
+
discount_tax_total: number;
|
|
4160
|
+
refundable_total: number;
|
|
4161
|
+
refundable_total_per_unit: number;
|
|
4162
|
+
cost: DropshipperItemCost;
|
|
4163
|
+
profit: DropshipperItemProfit;
|
|
4164
|
+
metadata: null;
|
|
4120
4165
|
}
|
|
4121
4166
|
/** Order totals with profit breakdown */
|
|
4122
4167
|
interface DropshipperOrderTotals {
|
|
4123
4168
|
subtotal: number;
|
|
4169
|
+
tax_total: number;
|
|
4124
4170
|
shipping_total: number;
|
|
4125
4171
|
discount_total: number;
|
|
4126
4172
|
total: number;
|
|
4173
|
+
net_revenue: number;
|
|
4127
4174
|
cost_total: number;
|
|
4128
4175
|
profit: number;
|
|
4129
4176
|
margin_percent: number;
|
|
@@ -4131,15 +4178,132 @@ interface DropshipperOrderTotals {
|
|
|
4131
4178
|
/** Timeline event on an order */
|
|
4132
4179
|
interface DropshipperOrderTimelineEvent {
|
|
4133
4180
|
id: string;
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4181
|
+
code: string;
|
|
4182
|
+
title: string;
|
|
4183
|
+
description: string;
|
|
4184
|
+
type: "info" | "success" | "warning" | "error";
|
|
4137
4185
|
timestamp: string;
|
|
4138
4186
|
}
|
|
4187
|
+
/** Payment collection on an order */
|
|
4188
|
+
interface DropshipperPaymentSession {
|
|
4189
|
+
id: string;
|
|
4190
|
+
provider: string;
|
|
4191
|
+
status: string;
|
|
4192
|
+
amount: number;
|
|
4193
|
+
currency_code: string;
|
|
4194
|
+
authorized_at: string | null;
|
|
4195
|
+
provider_reference: string | null;
|
|
4196
|
+
}
|
|
4197
|
+
interface DropshipperPaymentCapture {
|
|
4198
|
+
id: string;
|
|
4199
|
+
amount: number;
|
|
4200
|
+
created_at: string;
|
|
4201
|
+
created_by: string | null;
|
|
4202
|
+
}
|
|
4203
|
+
interface DropshipperPaymentRefund {
|
|
4204
|
+
id: string;
|
|
4205
|
+
amount: number;
|
|
4206
|
+
created_at: string;
|
|
4207
|
+
created_by: string | null;
|
|
4208
|
+
}
|
|
4209
|
+
interface DropshipperPayment {
|
|
4210
|
+
id: string;
|
|
4211
|
+
provider: string;
|
|
4212
|
+
amount: number;
|
|
4213
|
+
currency_code: string;
|
|
4214
|
+
authorized_amount: number;
|
|
4215
|
+
captured_amount: number;
|
|
4216
|
+
refunded_amount: number;
|
|
4217
|
+
created_at: string;
|
|
4218
|
+
updated_at: string;
|
|
4219
|
+
captured_at: string | null;
|
|
4220
|
+
canceled_at: string | null;
|
|
4221
|
+
captures: DropshipperPaymentCapture[];
|
|
4222
|
+
refunds: DropshipperPaymentRefund[];
|
|
4223
|
+
}
|
|
4224
|
+
interface DropshipperPaymentCollection {
|
|
4225
|
+
id: string;
|
|
4226
|
+
currency_code: string;
|
|
4227
|
+
amount: number;
|
|
4228
|
+
status: string;
|
|
4229
|
+
payment_sessions: DropshipperPaymentSession[];
|
|
4230
|
+
payments: DropshipperPayment[];
|
|
4231
|
+
}
|
|
4232
|
+
/** Return on an order */
|
|
4233
|
+
interface DropshipperReturnItem {
|
|
4234
|
+
id: string;
|
|
4235
|
+
item_id: string;
|
|
4236
|
+
quantity: number;
|
|
4237
|
+
received_quantity: number;
|
|
4238
|
+
damaged_quantity: number;
|
|
4239
|
+
reason_id: string | null;
|
|
4240
|
+
note: string | null;
|
|
4241
|
+
metadata: unknown | null;
|
|
4242
|
+
}
|
|
4243
|
+
interface DropshipperReturn {
|
|
4244
|
+
id: string;
|
|
4245
|
+
display_id: number;
|
|
4246
|
+
status: string;
|
|
4247
|
+
order_version: number;
|
|
4248
|
+
refund_amount: number;
|
|
4249
|
+
no_notification: boolean;
|
|
4250
|
+
requested_at: string | null;
|
|
4251
|
+
received_at: string | null;
|
|
4252
|
+
canceled_at: string | null;
|
|
4253
|
+
created_by: string | null;
|
|
4254
|
+
items: DropshipperReturnItem[];
|
|
4255
|
+
}
|
|
4256
|
+
/** Transaction on an order */
|
|
4257
|
+
interface DropshipperTransaction {
|
|
4258
|
+
id: string;
|
|
4259
|
+
amount: number;
|
|
4260
|
+
currency_code: string;
|
|
4261
|
+
reference: string | null;
|
|
4262
|
+
reference_id: string | null;
|
|
4263
|
+
created_at: string;
|
|
4264
|
+
}
|
|
4265
|
+
/** Financial summary of an order */
|
|
4266
|
+
interface DropshipperFinancialSummary {
|
|
4267
|
+
paid_total: number;
|
|
4268
|
+
refunded_total: number;
|
|
4269
|
+
pending_difference: number;
|
|
4270
|
+
current_order_total: number;
|
|
4271
|
+
original_order_total: number;
|
|
4272
|
+
transaction_total: number;
|
|
4273
|
+
accounting_total: number;
|
|
4274
|
+
}
|
|
4275
|
+
/** Pickup location */
|
|
4276
|
+
interface DropshipperPickupLocation {
|
|
4277
|
+
id: string;
|
|
4278
|
+
name: string;
|
|
4279
|
+
address: {
|
|
4280
|
+
address_1: string;
|
|
4281
|
+
city: string | null;
|
|
4282
|
+
province: string | null;
|
|
4283
|
+
postal_code: string | null;
|
|
4284
|
+
country_code: string;
|
|
4285
|
+
} | null;
|
|
4286
|
+
}
|
|
4287
|
+
/** A shipping method on an order */
|
|
4288
|
+
interface DropshipperShippingMethod {
|
|
4289
|
+
id: string;
|
|
4290
|
+
name: string;
|
|
4291
|
+
amount: number;
|
|
4292
|
+
is_tax_inclusive: boolean;
|
|
4293
|
+
original_total: number;
|
|
4294
|
+
total: number;
|
|
4295
|
+
tax_total: number;
|
|
4296
|
+
discount_total: number;
|
|
4297
|
+
shipping_option_id: string | null;
|
|
4298
|
+
fulfillment_set_type: string | null;
|
|
4299
|
+
pickup_location: DropshipperPickupLocation | null;
|
|
4300
|
+
}
|
|
4139
4301
|
/** Full order detail as returned by GET /admin/thor/dropshipper/orders/:id */
|
|
4140
4302
|
interface DropshipperOrderDetail {
|
|
4141
4303
|
id: string;
|
|
4142
4304
|
display_id: number;
|
|
4305
|
+
custom_display_id?: string | null;
|
|
4306
|
+
version: number;
|
|
4143
4307
|
status: string;
|
|
4144
4308
|
payment_status?: string;
|
|
4145
4309
|
fulfillment_status: string | null;
|
|
@@ -4148,28 +4312,16 @@ interface DropshipperOrderDetail {
|
|
|
4148
4312
|
customer: DropshipperOrderCustomer & {
|
|
4149
4313
|
phone?: string;
|
|
4150
4314
|
};
|
|
4151
|
-
shipping_address: DropshipperOrderShippingAddress;
|
|
4315
|
+
shipping_address: DropshipperOrderShippingAddress | null;
|
|
4316
|
+
billing_address: DropshipperOrderShippingAddress | null;
|
|
4152
4317
|
items: DropshipperOrderItem[];
|
|
4153
4318
|
totals: DropshipperOrderTotals;
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
fulfillment_set_type?: string | null;
|
|
4161
|
-
pickup_location?: {
|
|
4162
|
-
id: string;
|
|
4163
|
-
name: string;
|
|
4164
|
-
address: {
|
|
4165
|
-
address_1: string;
|
|
4166
|
-
city: string | null;
|
|
4167
|
-
province: string | null;
|
|
4168
|
-
postal_code: string | null;
|
|
4169
|
-
country_code: string;
|
|
4170
|
-
} | null;
|
|
4171
|
-
} | null;
|
|
4172
|
-
} | null;
|
|
4319
|
+
shipping_methods: DropshipperShippingMethod[];
|
|
4320
|
+
payment_collections: DropshipperPaymentCollection[];
|
|
4321
|
+
returns: DropshipperReturn[];
|
|
4322
|
+
transactions: DropshipperTransaction[];
|
|
4323
|
+
financial_summary: DropshipperFinancialSummary;
|
|
4324
|
+
timeline: DropshipperOrderTimelineEvent[];
|
|
4173
4325
|
payment_collected_by: 'dropshipper' | 'provider' | null;
|
|
4174
4326
|
payment_method?: {
|
|
4175
4327
|
id: string;
|
|
@@ -4178,7 +4330,16 @@ interface DropshipperOrderDetail {
|
|
|
4178
4330
|
paid_amount?: number;
|
|
4179
4331
|
due_date?: string | null;
|
|
4180
4332
|
settlement_status: 'settled' | 'unsettled';
|
|
4181
|
-
|
|
4333
|
+
pickup_location: DropshipperPickupLocation | null;
|
|
4334
|
+
/** Legacy singular shipping_method kept for backward compatibility */
|
|
4335
|
+
shipping_method?: {
|
|
4336
|
+
id: string;
|
|
4337
|
+
name: string;
|
|
4338
|
+
amount: number;
|
|
4339
|
+
shipping_option_id: string | null;
|
|
4340
|
+
fulfillment_set_type?: string | null;
|
|
4341
|
+
pickup_location?: DropshipperPickupLocation | null;
|
|
4342
|
+
} | null;
|
|
4182
4343
|
}
|
|
4183
4344
|
/** Response for `GET /admin/thor/dropshipper/orders/:id` */
|
|
4184
4345
|
interface GetDropshipperOrderDetailResponse {
|
|
@@ -5691,4 +5852,4 @@ interface GetNotificationsResponse {
|
|
|
5691
5852
|
count: number;
|
|
5692
5853
|
}
|
|
5693
5854
|
|
|
5694
|
-
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 BatchVariantCostItem, type BatchVariantCostsBody, type BatchVariantCostsResponse, 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 CreateVariantCostBody, type CreateVariantCostResponse, 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 DeleteVariantCostResponse, 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 GetVariantCostsOptions, type GetVariantCostsResponse, 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, type VariantCost, getProviderMetadata, isSupportedProviderType };
|
|
5855
|
+
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 };
|