feeef 0.12.8 → 0.12.10

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.
@@ -69,6 +69,14 @@ export interface OrderEntity {
69
69
  * JSON / API field name is always **`references`** (never `orderReferences`).
70
70
  */
71
71
  references?: string[];
72
+ /**
73
+ * Optional schedule date. When set, list sort and day/range filters use
74
+ * `effectiveAt` (= COALESCE(scheduledAt, createdAt)) so the order appears
75
+ * as if created on this date. Null clears the schedule.
76
+ */
77
+ scheduledAt?: string | null;
78
+ /** Server-computed COALESCE(scheduledAt, createdAt). Read-only. */
79
+ effectiveAt?: string;
72
80
  createdAt: any;
73
81
  updatedAt: any;
74
82
  }
@@ -154,6 +162,8 @@ export interface OrderCreateInput {
154
162
  storeId: string;
155
163
  tags?: string[];
156
164
  references?: string[];
165
+ /** Optional schedule date (ISO). Null clears. */
166
+ scheduledAt?: string | null;
157
167
  }
158
168
  /**
159
169
  * Input for order items when creating/updating an order
@@ -200,10 +210,9 @@ export interface OrderUpdateInput {
200
210
  metadata?: Record<string, any>;
201
211
  tags?: string[];
202
212
  references?: string[];
213
+ /** Optional schedule date (ISO). Null clears. */
214
+ scheduledAt?: string | null;
203
215
  }
204
- /**
205
- * Order pricing calculation result
206
- */
207
216
  export interface OrderPricing {
208
217
  subtotal: number;
209
218
  shippingPrice: number | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "feeef",
3
3
  "description": "feeef sdk for javascript",
4
- "version": "0.12.8",
4
+ "version": "0.12.10",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
7
7
  "files": [