@thorprovider/types 5.3.11 → 5.3.12
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 +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -4990,6 +4990,10 @@ interface CreateDropshipperCustomerBody {
|
|
|
4990
4990
|
}
|
|
4991
4991
|
/** Response for `POST /admin/thor/dropshipper/customers` */
|
|
4992
4992
|
interface CreateDropshipperCustomerResponse {
|
|
4993
|
+
/** `true` when a new customer was created (HTTP 201); `false` when an existing customer was linked (HTTP 200). */
|
|
4994
|
+
created: boolean;
|
|
4995
|
+
/** `true` when the temporary password was persisted as an `emailpass` credential (the customer can sign in to the storefront). */
|
|
4996
|
+
credentialCreated: boolean;
|
|
4993
4997
|
customer: {
|
|
4994
4998
|
id: string;
|
|
4995
4999
|
email: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4990,6 +4990,10 @@ interface CreateDropshipperCustomerBody {
|
|
|
4990
4990
|
}
|
|
4991
4991
|
/** Response for `POST /admin/thor/dropshipper/customers` */
|
|
4992
4992
|
interface CreateDropshipperCustomerResponse {
|
|
4993
|
+
/** `true` when a new customer was created (HTTP 201); `false` when an existing customer was linked (HTTP 200). */
|
|
4994
|
+
created: boolean;
|
|
4995
|
+
/** `true` when the temporary password was persisted as an `emailpass` credential (the customer can sign in to the storefront). */
|
|
4996
|
+
credentialCreated: boolean;
|
|
4993
4997
|
customer: {
|
|
4994
4998
|
id: string;
|
|
4995
4999
|
email: string;
|
package/package.json
CHANGED
|
@@ -1263,6 +1263,10 @@ export interface CreateDropshipperCustomerBody {
|
|
|
1263
1263
|
|
|
1264
1264
|
/** Response for `POST /admin/thor/dropshipper/customers` */
|
|
1265
1265
|
export interface CreateDropshipperCustomerResponse {
|
|
1266
|
+
/** `true` when a new customer was created (HTTP 201); `false` when an existing customer was linked (HTTP 200). */
|
|
1267
|
+
created: boolean;
|
|
1268
|
+
/** `true` when the temporary password was persisted as an `emailpass` credential (the customer can sign in to the storefront). */
|
|
1269
|
+
credentialCreated: boolean;
|
|
1266
1270
|
customer: {
|
|
1267
1271
|
id: string;
|
|
1268
1272
|
email: string;
|