@thorprovider/types 5.3.11 → 5.3.13

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 CHANGED
@@ -4435,6 +4435,8 @@ interface DropshipperReturnItem {
4435
4435
  received_quantity: number;
4436
4436
  damaged_quantity: number;
4437
4437
  reason_id: string | null;
4438
+ /** Label humano del motivo de devolución (`return_reason.label`) resuelto por el backend. */
4439
+ reason_label: string | null;
4438
4440
  note: string | null;
4439
4441
  metadata: unknown | null;
4440
4442
  }
@@ -4990,6 +4992,10 @@ interface CreateDropshipperCustomerBody {
4990
4992
  }
4991
4993
  /** Response for `POST /admin/thor/dropshipper/customers` */
4992
4994
  interface CreateDropshipperCustomerResponse {
4995
+ /** `true` when a new customer was created (HTTP 201); `false` when an existing customer was linked (HTTP 200). */
4996
+ created: boolean;
4997
+ /** `true` when the temporary password was persisted as an `emailpass` credential (the customer can sign in to the storefront). */
4998
+ credentialCreated: boolean;
4993
4999
  customer: {
4994
5000
  id: string;
4995
5001
  email: string;
package/dist/index.d.ts CHANGED
@@ -4435,6 +4435,8 @@ interface DropshipperReturnItem {
4435
4435
  received_quantity: number;
4436
4436
  damaged_quantity: number;
4437
4437
  reason_id: string | null;
4438
+ /** Label humano del motivo de devolución (`return_reason.label`) resuelto por el backend. */
4439
+ reason_label: string | null;
4438
4440
  note: string | null;
4439
4441
  metadata: unknown | null;
4440
4442
  }
@@ -4990,6 +4992,10 @@ interface CreateDropshipperCustomerBody {
4990
4992
  }
4991
4993
  /** Response for `POST /admin/thor/dropshipper/customers` */
4992
4994
  interface CreateDropshipperCustomerResponse {
4995
+ /** `true` when a new customer was created (HTTP 201); `false` when an existing customer was linked (HTTP 200). */
4996
+ created: boolean;
4997
+ /** `true` when the temporary password was persisted as an `emailpass` credential (the customer can sign in to the storefront). */
4998
+ credentialCreated: boolean;
4993
4999
  customer: {
4994
5000
  id: string;
4995
5001
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thorprovider/types",
3
- "version": "5.3.11",
3
+ "version": "5.3.13",
4
4
  "description": "Shared TypeScript types for Thor Commerce ecosystem - Framework-agnostic type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -666,6 +666,8 @@ export interface DropshipperReturnItem {
666
666
  received_quantity: number;
667
667
  damaged_quantity: number;
668
668
  reason_id: string | null;
669
+ /** Label humano del motivo de devolución (`return_reason.label`) resuelto por el backend. */
670
+ reason_label: string | null;
669
671
  note: string | null;
670
672
  metadata: unknown | null;
671
673
  }
@@ -1263,6 +1265,10 @@ export interface CreateDropshipperCustomerBody {
1263
1265
 
1264
1266
  /** Response for `POST /admin/thor/dropshipper/customers` */
1265
1267
  export interface CreateDropshipperCustomerResponse {
1268
+ /** `true` when a new customer was created (HTTP 201); `false` when an existing customer was linked (HTTP 200). */
1269
+ created: boolean;
1270
+ /** `true` when the temporary password was persisted as an `emailpass` credential (the customer can sign in to the storefront). */
1271
+ credentialCreated: boolean;
1266
1272
  customer: {
1267
1273
  id: string;
1268
1274
  email: string;