@thorprovider/types 3.15.1 → 3.15.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/dist/index.d.mts CHANGED
@@ -4021,6 +4021,9 @@ interface DropshipperOrderItem {
4021
4021
  cost_subtotal: number;
4022
4022
  profit: number;
4023
4023
  thumbnail: string | null;
4024
+ /** Minimum quantity of the cost tier that matched this item at order.placed.
4025
+ * null when no tier matching occurred (base price was used). */
4026
+ applied_tier_min_qty?: number | null;
4024
4027
  }
4025
4028
  /** Order totals with profit breakdown */
4026
4029
  interface DropshipperOrderTotals {
@@ -4034,7 +4037,10 @@ interface DropshipperOrderTotals {
4034
4037
  }
4035
4038
  /** Timeline event on an order */
4036
4039
  interface DropshipperOrderTimelineEvent {
4040
+ id: string;
4037
4041
  event: string;
4042
+ description?: string;
4043
+ type?: "info" | "success" | "warning" | "error";
4038
4044
  timestamp: string;
4039
4045
  }
4040
4046
  /** Full order detail as returned by GET /admin/thor/dropshipper/orders/:id */
package/dist/index.d.ts CHANGED
@@ -4021,6 +4021,9 @@ interface DropshipperOrderItem {
4021
4021
  cost_subtotal: number;
4022
4022
  profit: number;
4023
4023
  thumbnail: string | null;
4024
+ /** Minimum quantity of the cost tier that matched this item at order.placed.
4025
+ * null when no tier matching occurred (base price was used). */
4026
+ applied_tier_min_qty?: number | null;
4024
4027
  }
4025
4028
  /** Order totals with profit breakdown */
4026
4029
  interface DropshipperOrderTotals {
@@ -4034,7 +4037,10 @@ interface DropshipperOrderTotals {
4034
4037
  }
4035
4038
  /** Timeline event on an order */
4036
4039
  interface DropshipperOrderTimelineEvent {
4040
+ id: string;
4037
4041
  event: string;
4042
+ description?: string;
4043
+ type?: "info" | "success" | "warning" | "error";
4038
4044
  timestamp: string;
4039
4045
  }
4040
4046
  /** Full order detail as returned by GET /admin/thor/dropshipper/orders/:id */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thorprovider/types",
3
- "version": "3.15.1",
3
+ "version": "3.15.3",
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",
@@ -417,6 +417,9 @@ export interface DropshipperOrderItem {
417
417
  cost_subtotal: number;
418
418
  profit: number;
419
419
  thumbnail: string | null;
420
+ /** Minimum quantity of the cost tier that matched this item at order.placed.
421
+ * null when no tier matching occurred (base price was used). */
422
+ applied_tier_min_qty?: number | null;
420
423
  }
421
424
 
422
425
  /** Order totals with profit breakdown */
@@ -432,7 +435,10 @@ export interface DropshipperOrderTotals {
432
435
 
433
436
  /** Timeline event on an order */
434
437
  export interface DropshipperOrderTimelineEvent {
438
+ id: string;
435
439
  event: string;
440
+ description?: string;
441
+ type?: "info" | "success" | "warning" | "error";
436
442
  timestamp: string;
437
443
  }
438
444