@thorprovider/types 3.11.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/admin/DropshippingAdmin.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -4015,6 +4015,8 @@ interface GetDropshipperOrderDetailResponse {
|
|
|
4015
4015
|
interface CreateOrderItem {
|
|
4016
4016
|
variant_id: string;
|
|
4017
4017
|
quantity: number;
|
|
4018
|
+
/** Optional override for the sale price. If omitted, the backend uses the dropshipper's configured sale price. */
|
|
4019
|
+
unit_price?: number;
|
|
4018
4020
|
}
|
|
4019
4021
|
/** Body for `POST /admin/thor/dropshipper/orders` */
|
|
4020
4022
|
interface CreateDropshipperOrderBody {
|
|
@@ -4623,6 +4625,7 @@ interface DropshipperAddressBody {
|
|
|
4623
4625
|
is_default?: boolean;
|
|
4624
4626
|
is_default_shipping?: boolean;
|
|
4625
4627
|
is_default_billing?: boolean;
|
|
4628
|
+
metadata?: Record<string, unknown>;
|
|
4626
4629
|
}
|
|
4627
4630
|
/** Response for creating or updating a dropshipper address */
|
|
4628
4631
|
interface DropshipperAddressResponse {
|
package/dist/index.d.ts
CHANGED
|
@@ -4015,6 +4015,8 @@ interface GetDropshipperOrderDetailResponse {
|
|
|
4015
4015
|
interface CreateOrderItem {
|
|
4016
4016
|
variant_id: string;
|
|
4017
4017
|
quantity: number;
|
|
4018
|
+
/** Optional override for the sale price. If omitted, the backend uses the dropshipper's configured sale price. */
|
|
4019
|
+
unit_price?: number;
|
|
4018
4020
|
}
|
|
4019
4021
|
/** Body for `POST /admin/thor/dropshipper/orders` */
|
|
4020
4022
|
interface CreateDropshipperOrderBody {
|
|
@@ -4623,6 +4625,7 @@ interface DropshipperAddressBody {
|
|
|
4623
4625
|
is_default?: boolean;
|
|
4624
4626
|
is_default_shipping?: boolean;
|
|
4625
4627
|
is_default_billing?: boolean;
|
|
4628
|
+
metadata?: Record<string, unknown>;
|
|
4626
4629
|
}
|
|
4627
4630
|
/** Response for creating or updating a dropshipper address */
|
|
4628
4631
|
interface DropshipperAddressResponse {
|
package/package.json
CHANGED
|
@@ -416,6 +416,8 @@ export interface GetDropshipperOrderDetailResponse {
|
|
|
416
416
|
export interface CreateOrderItem {
|
|
417
417
|
variant_id: string;
|
|
418
418
|
quantity: number;
|
|
419
|
+
/** Optional override for the sale price. If omitted, the backend uses the dropshipper's configured sale price. */
|
|
420
|
+
unit_price?: number;
|
|
419
421
|
}
|
|
420
422
|
|
|
421
423
|
/** Body for `POST /admin/thor/dropshipper/orders` */
|
|
@@ -1116,6 +1118,7 @@ export interface DropshipperAddressBody {
|
|
|
1116
1118
|
is_default?: boolean;
|
|
1117
1119
|
is_default_shipping?: boolean;
|
|
1118
1120
|
is_default_billing?: boolean;
|
|
1121
|
+
metadata?: Record<string, unknown>;
|
|
1119
1122
|
}
|
|
1120
1123
|
|
|
1121
1124
|
/** Response for creating or updating a dropshipper address */
|