@thorprovider/types 4.0.4 → 4.0.5

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
@@ -3825,7 +3825,7 @@ interface DropshipperProductOptionValue {
3825
3825
  /** A native Medusa product option (e.g. Size, Color) */
3826
3826
  interface DropshipperProductOption {
3827
3827
  id: string;
3828
- title: string;
3828
+ title: string | null;
3829
3829
  values: DropshipperProductOptionValue[];
3830
3830
  }
3831
3831
  /** A product as seen by the dropshipper */
@@ -4309,6 +4309,7 @@ interface GetDropshipperDraftOrderDetailResponse {
4309
4309
  interface UpdateDropshipperDraftOrderBody {
4310
4310
  customer_id?: string;
4311
4311
  email?: string;
4312
+ items?: CreateOrderItem[];
4312
4313
  shipping_address?: DropshipperOrderShippingAddress;
4313
4314
  billing_address?: DropshipperOrderShippingAddress;
4314
4315
  shipping_method_id?: string;
package/dist/index.d.ts CHANGED
@@ -3825,7 +3825,7 @@ interface DropshipperProductOptionValue {
3825
3825
  /** A native Medusa product option (e.g. Size, Color) */
3826
3826
  interface DropshipperProductOption {
3827
3827
  id: string;
3828
- title: string;
3828
+ title: string | null;
3829
3829
  values: DropshipperProductOptionValue[];
3830
3830
  }
3831
3831
  /** A product as seen by the dropshipper */
@@ -4309,6 +4309,7 @@ interface GetDropshipperDraftOrderDetailResponse {
4309
4309
  interface UpdateDropshipperDraftOrderBody {
4310
4310
  customer_id?: string;
4311
4311
  email?: string;
4312
+ items?: CreateOrderItem[];
4312
4313
  shipping_address?: DropshipperOrderShippingAddress;
4313
4314
  billing_address?: DropshipperOrderShippingAddress;
4314
4315
  shipping_method_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thorprovider/types",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
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",
@@ -198,7 +198,7 @@ export interface DropshipperProductOptionValue {
198
198
  /** A native Medusa product option (e.g. Size, Color) */
199
199
  export interface DropshipperProductOption {
200
200
  id: string;
201
- title: string;
201
+ title: string | null;
202
202
  values: DropshipperProductOptionValue[];
203
203
  }
204
204
 
@@ -706,6 +706,7 @@ export interface GetDropshipperDraftOrderDetailResponse {
706
706
  export interface UpdateDropshipperDraftOrderBody {
707
707
  customer_id?: string;
708
708
  email?: string;
709
+ items?: CreateOrderItem[];
709
710
  shipping_address?: DropshipperOrderShippingAddress;
710
711
  billing_address?: DropshipperOrderShippingAddress;
711
712
  shipping_method_id?: string;