@thorprovider/types 3.13.0 → 3.13.2
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/admin/DropshippingAdmin.ts +2 -0
- package/src/customer.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -1115,6 +1115,8 @@ interface Address {
|
|
|
1115
1115
|
countryCode: string;
|
|
1116
1116
|
phone?: string;
|
|
1117
1117
|
isDefault?: boolean;
|
|
1118
|
+
isDefaultBilling?: boolean;
|
|
1119
|
+
isDefaultShipping?: boolean;
|
|
1118
1120
|
metadata?: Record<string, unknown>;
|
|
1119
1121
|
}
|
|
1120
1122
|
/**
|
|
@@ -4377,6 +4379,8 @@ interface GetDropshipperCustomersOptions {
|
|
|
4377
4379
|
from?: string;
|
|
4378
4380
|
limit?: number;
|
|
4379
4381
|
offset?: number;
|
|
4382
|
+
/** Sort order in `field:direction` format, e.g. `createdAt:desc` or `name:asc` */
|
|
4383
|
+
order?: string;
|
|
4380
4384
|
}
|
|
4381
4385
|
/** Response for `GET /admin/thor/dropshipper/customers` */
|
|
4382
4386
|
interface GetDropshipperCustomersResponse {
|
package/dist/index.d.ts
CHANGED
|
@@ -1115,6 +1115,8 @@ interface Address {
|
|
|
1115
1115
|
countryCode: string;
|
|
1116
1116
|
phone?: string;
|
|
1117
1117
|
isDefault?: boolean;
|
|
1118
|
+
isDefaultBilling?: boolean;
|
|
1119
|
+
isDefaultShipping?: boolean;
|
|
1118
1120
|
metadata?: Record<string, unknown>;
|
|
1119
1121
|
}
|
|
1120
1122
|
/**
|
|
@@ -4377,6 +4379,8 @@ interface GetDropshipperCustomersOptions {
|
|
|
4377
4379
|
from?: string;
|
|
4378
4380
|
limit?: number;
|
|
4379
4381
|
offset?: number;
|
|
4382
|
+
/** Sort order in `field:direction` format, e.g. `createdAt:desc` or `name:asc` */
|
|
4383
|
+
order?: string;
|
|
4380
4384
|
}
|
|
4381
4385
|
/** Response for `GET /admin/thor/dropshipper/customers` */
|
|
4382
4386
|
interface GetDropshipperCustomersResponse {
|
package/package.json
CHANGED
|
@@ -814,6 +814,8 @@ export interface GetDropshipperCustomersOptions {
|
|
|
814
814
|
from?: string;
|
|
815
815
|
limit?: number;
|
|
816
816
|
offset?: number;
|
|
817
|
+
/** Sort order in `field:direction` format, e.g. `createdAt:desc` or `name:asc` */
|
|
818
|
+
order?: string;
|
|
817
819
|
}
|
|
818
820
|
|
|
819
821
|
/** Response for `GET /admin/thor/dropshipper/customers` */
|
package/src/customer.ts
CHANGED
|
@@ -30,6 +30,8 @@ export interface Address {
|
|
|
30
30
|
countryCode: string; // ISO 3166-1 alpha-2 code (e.g., "US", "CA", "GB")
|
|
31
31
|
phone?: string;
|
|
32
32
|
isDefault?: boolean; // Whether this is the default/primary address for the customer
|
|
33
|
+
isDefaultBilling?: boolean; // Whether this is the default billing address
|
|
34
|
+
isDefaultShipping?: boolean; // Whether this is the default shipping address
|
|
33
35
|
metadata?: Record<string, unknown>; // Flexible storage for platform-specific extras (label, etc.)
|
|
34
36
|
}
|
|
35
37
|
|