@thorprovider/types 3.15.0 → 3.15.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 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 {
@@ -4052,6 +4055,12 @@ interface DropshipperOrderDetail {
4052
4055
  shipping_address: DropshipperOrderShippingAddress;
4053
4056
  items: DropshipperOrderItem[];
4054
4057
  totals: DropshipperOrderTotals;
4058
+ shipping_method?: {
4059
+ id: string;
4060
+ name: string;
4061
+ amount: number;
4062
+ shipping_option_id: string | null;
4063
+ } | null;
4055
4064
  payment_collected_by: 'dropshipper' | 'provider' | null;
4056
4065
  payment_method?: {
4057
4066
  id: string;
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 {
@@ -4052,6 +4055,12 @@ interface DropshipperOrderDetail {
4052
4055
  shipping_address: DropshipperOrderShippingAddress;
4053
4056
  items: DropshipperOrderItem[];
4054
4057
  totals: DropshipperOrderTotals;
4058
+ shipping_method?: {
4059
+ id: string;
4060
+ name: string;
4061
+ amount: number;
4062
+ shipping_option_id: string | null;
4063
+ } | null;
4055
4064
  payment_collected_by: 'dropshipper' | 'provider' | null;
4056
4065
  payment_method?: {
4057
4066
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thorprovider/types",
3
- "version": "3.15.0",
3
+ "version": "3.15.2",
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 */
@@ -449,6 +452,12 @@ export interface DropshipperOrderDetail {
449
452
  shipping_address: DropshipperOrderShippingAddress;
450
453
  items: DropshipperOrderItem[];
451
454
  totals: DropshipperOrderTotals;
455
+ shipping_method?: {
456
+ id: string;
457
+ name: string;
458
+ amount: number;
459
+ shipping_option_id: string | null;
460
+ } | null;
452
461
  payment_collected_by: 'dropshipper' | 'provider' | null;
453
462
  payment_method?: { id: string; name: string } | null;
454
463
  paid_amount?: number;