controlresell 2.5.7 → 2.7.1

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.
Files changed (21) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.d.ts +3 -0
  3. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.d.ts.map +1 -1
  4. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js +1 -0
  5. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js.map +1 -1
  6. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.ts +1 -0
  7. package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +36 -0
  8. package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts.map +1 -1
  9. package/src/com/controlresell/models/platforms/labels/OrderLabel.js +2 -0
  10. package/src/com/controlresell/models/platforms/labels/OrderLabel.js.map +1 -1
  11. package/src/com/controlresell/models/platforms/labels/OrderLabel.ts +2 -0
  12. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.d.ts +3 -0
  13. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.d.ts.map +1 -1
  14. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js +2 -1
  15. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js.map +1 -1
  16. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.ts +2 -1
  17. package/src/com/controlresell/models/platforms/orders/Order.d.ts +52 -0
  18. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  19. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +68 -0
  20. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  21. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +56 -56
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.5.7",
3
+ "version": "2.7.1",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "controlresell-auth": "^0.0.3",
21
21
  "controlresell-connector": "^0.6.9",
22
- "controlresell-inbox": "^0.0.2",
22
+ "controlresell-inbox": "^0.0.3",
23
23
  "controlresell-inventory": "^0.0.4",
24
24
  "controlresell-storage": "^0.0.1",
25
25
  "zod": "^3.25.76",
@@ -1,12 +1,15 @@
1
1
  import { z } from "zod";
2
2
  export declare const CreateOrderLabelPayloadSchema: z.ZodObject<{
3
3
  fileId: z.ZodString;
4
+ nonCroppedFileId: z.ZodString;
4
5
  originalFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
6
  }, "strip", z.ZodTypeAny, {
6
7
  fileId: string;
8
+ nonCroppedFileId: string;
7
9
  originalFile?: string | null | undefined;
8
10
  }, {
9
11
  fileId: string;
12
+ nonCroppedFileId: string;
10
13
  originalFile?: string | null | undefined;
11
14
  }>;
12
15
  export type CreateOrderLabelPayload = z.infer<typeof CreateOrderLabelPayloadSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateOrderLabelPayload.d.ts","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
1
+ {"version":3,"file":"CreateOrderLabelPayload.d.ts","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
@@ -4,6 +4,7 @@ exports.CreateOrderLabelPayloadSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.CreateOrderLabelPayloadSchema = zod_1.z.object({
6
6
  fileId: zod_1.z.string().uuid(),
7
+ nonCroppedFileId: zod_1.z.string().uuid(),
7
8
  originalFile: zod_1.z.string().uuid().nullish()
8
9
  });
9
10
  //# sourceMappingURL=CreateOrderLabelPayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateOrderLabelPayload.js","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CAC5C,CAAC,CAAA"}
1
+ {"version":3,"file":"CreateOrderLabelPayload.js","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CAC5C,CAAC,CAAA"}
@@ -2,6 +2,7 @@ import {z} from "zod"
2
2
 
3
3
  export const CreateOrderLabelPayloadSchema = z.object({
4
4
  fileId: z.string().uuid(),
5
+ nonCroppedFileId: z.string().uuid(),
5
6
  originalFile: z.string().uuid().nullish()
6
7
  })
7
8
  export type CreateOrderLabelPayload = z.infer<typeof CreateOrderLabelPayloadSchema>
@@ -3,6 +3,7 @@ export declare const OrderLabelSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  orderId: z.ZodString;
5
5
  fileId: z.ZodString;
6
+ nonCroppedFileId: z.ZodString;
6
7
  originalFileId: z.ZodString;
7
8
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8
9
  id: z.ZodString;
@@ -23,6 +24,25 @@ export declare const OrderLabelSchema: z.ZodObject<{
23
24
  signedUrl: string;
24
25
  createdAt: Date;
25
26
  }>>>;
27
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ id: z.ZodString;
29
+ userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
30
+ path: z.ZodString;
31
+ signedUrl: z.ZodString;
32
+ createdAt: z.ZodDate;
33
+ }, "strip", z.ZodTypeAny, {
34
+ path: string;
35
+ id: string;
36
+ userId: string | number;
37
+ signedUrl: string;
38
+ createdAt: Date;
39
+ }, {
40
+ path: string;
41
+ id: string;
42
+ userId: string | number;
43
+ signedUrl: string;
44
+ createdAt: Date;
45
+ }>>>;
26
46
  originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
47
  id: z.ZodString;
28
48
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -46,6 +66,7 @@ export declare const OrderLabelSchema: z.ZodObject<{
46
66
  id: string;
47
67
  fileId: string;
48
68
  orderId: string;
69
+ nonCroppedFileId: string;
49
70
  originalFileId: string;
50
71
  file?: {
51
72
  path: string;
@@ -61,10 +82,18 @@ export declare const OrderLabelSchema: z.ZodObject<{
61
82
  signedUrl: string;
62
83
  createdAt: Date;
63
84
  } | null | undefined;
85
+ nonCroppedFile?: {
86
+ path: string;
87
+ id: string;
88
+ userId: string | number;
89
+ signedUrl: string;
90
+ createdAt: Date;
91
+ } | null | undefined;
64
92
  }, {
65
93
  id: string;
66
94
  fileId: string;
67
95
  orderId: string;
96
+ nonCroppedFileId: string;
68
97
  originalFileId: string;
69
98
  file?: {
70
99
  path: string;
@@ -80,6 +109,13 @@ export declare const OrderLabelSchema: z.ZodObject<{
80
109
  signedUrl: string;
81
110
  createdAt: Date;
82
111
  } | null | undefined;
112
+ nonCroppedFile?: {
113
+ path: string;
114
+ id: string;
115
+ userId: string | number;
116
+ signedUrl: string;
117
+ createdAt: Date;
118
+ } | null | undefined;
83
119
  }>;
84
120
  export type OrderLabel = z.infer<typeof OrderLabelSchema>;
85
121
  //# sourceMappingURL=OrderLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrderLabel.d.ts","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"OrderLabel.d.ts","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
@@ -7,8 +7,10 @@ exports.OrderLabelSchema = zod_1.z.object({
7
7
  id: zod_1.z.string().uuid(),
8
8
  orderId: zod_1.z.string().uuid(),
9
9
  fileId: zod_1.z.string().uuid(),
10
+ nonCroppedFileId: zod_1.z.string().uuid(),
10
11
  originalFileId: zod_1.z.string().uuid(),
11
12
  file: controlresell_storage_1.FileSchema.nullish(),
13
+ nonCroppedFile: controlresell_storage_1.FileSchema.nullish(),
12
14
  originalFile: controlresell_storage_1.FileSchema.nullish()
13
15
  });
14
16
  //# sourceMappingURL=OrderLabel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrderLabel.js","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,iEAAgD;AAEnC,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,IAAI,EAAE,kCAAU,CAAC,OAAO,EAAE;IAC1B,YAAY,EAAE,kCAAU,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA"}
1
+ {"version":3,"file":"OrderLabel.js","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,iEAAgD;AAEnC,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,IAAI,EAAE,kCAAU,CAAC,OAAO,EAAE;IAC1B,cAAc,EAAE,kCAAU,CAAC,OAAO,EAAE;IACpC,YAAY,EAAE,kCAAU,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA"}
@@ -5,8 +5,10 @@ export const OrderLabelSchema = z.object({
5
5
  id: z.string().uuid(),
6
6
  orderId: z.string().uuid(),
7
7
  fileId: z.string().uuid(),
8
+ nonCroppedFileId: z.string().uuid(),
8
9
  originalFileId: z.string().uuid(),
9
10
  file: FileSchema.nullish(),
11
+ nonCroppedFile: FileSchema.nullish(),
10
12
  originalFile: FileSchema.nullish()
11
13
  })
12
14
  export type OrderLabel = z.infer<typeof OrderLabelSchema>
@@ -1,10 +1,13 @@
1
1
  import { z } from "zod";
2
2
  export declare const UpdateOrderLabelPayloadSchema: z.ZodObject<{
3
3
  fileId: z.ZodString;
4
+ nonCroppedFileId: z.ZodString;
4
5
  }, "strip", z.ZodTypeAny, {
5
6
  fileId: string;
7
+ nonCroppedFileId: string;
6
8
  }, {
7
9
  fileId: string;
10
+ nonCroppedFileId: string;
8
11
  }>;
9
12
  export type UpdateOrderLabelPayload = z.infer<typeof UpdateOrderLabelPayloadSchema>;
10
13
  //# sourceMappingURL=UpdateOrderLabelPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateOrderLabelPayload.d.ts","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
1
+ {"version":3,"file":"UpdateOrderLabelPayload.d.ts","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateOrderLabelPayloadSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.UpdateOrderLabelPayloadSchema = zod_1.z.object({
6
- fileId: zod_1.z.string().uuid()
6
+ fileId: zod_1.z.string().uuid(),
7
+ nonCroppedFileId: zod_1.z.string().uuid()
7
8
  });
8
9
  //# sourceMappingURL=UpdateOrderLabelPayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateOrderLabelPayload.js","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC5B,CAAC,CAAA"}
1
+ {"version":3,"file":"UpdateOrderLabelPayload.js","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACtC,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import {z} from "zod"
2
2
 
3
3
  export const UpdateOrderLabelPayloadSchema = z.object({
4
- fileId: z.string().uuid()
4
+ fileId: z.string().uuid(),
5
+ nonCroppedFileId: z.string().uuid()
5
6
  })
6
7
  export type UpdateOrderLabelPayload = z.infer<typeof UpdateOrderLabelPayloadSchema>
@@ -153,6 +153,7 @@ export declare const OrderSchema: z.ZodObject<{
153
153
  id: z.ZodString;
154
154
  orderId: z.ZodString;
155
155
  fileId: z.ZodString;
156
+ nonCroppedFileId: z.ZodString;
156
157
  originalFileId: z.ZodString;
157
158
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
158
159
  id: z.ZodString;
@@ -173,6 +174,25 @@ export declare const OrderSchema: z.ZodObject<{
173
174
  signedUrl: string;
174
175
  createdAt: Date;
175
176
  }>>>;
177
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
178
+ id: z.ZodString;
179
+ userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
180
+ path: z.ZodString;
181
+ signedUrl: z.ZodString;
182
+ createdAt: z.ZodDate;
183
+ }, "strip", z.ZodTypeAny, {
184
+ path: string;
185
+ id: string;
186
+ userId: string | number;
187
+ signedUrl: string;
188
+ createdAt: Date;
189
+ }, {
190
+ path: string;
191
+ id: string;
192
+ userId: string | number;
193
+ signedUrl: string;
194
+ createdAt: Date;
195
+ }>>>;
176
196
  originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
177
197
  id: z.ZodString;
178
198
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -196,6 +216,7 @@ export declare const OrderSchema: z.ZodObject<{
196
216
  id: string;
197
217
  fileId: string;
198
218
  orderId: string;
219
+ nonCroppedFileId: string;
199
220
  originalFileId: string;
200
221
  file?: {
201
222
  path: string;
@@ -211,10 +232,18 @@ export declare const OrderSchema: z.ZodObject<{
211
232
  signedUrl: string;
212
233
  createdAt: Date;
213
234
  } | null | undefined;
235
+ nonCroppedFile?: {
236
+ path: string;
237
+ id: string;
238
+ userId: string | number;
239
+ signedUrl: string;
240
+ createdAt: Date;
241
+ } | null | undefined;
214
242
  }, {
215
243
  id: string;
216
244
  fileId: string;
217
245
  orderId: string;
246
+ nonCroppedFileId: string;
218
247
  originalFileId: string;
219
248
  file?: {
220
249
  path: string;
@@ -230,6 +259,13 @@ export declare const OrderSchema: z.ZodObject<{
230
259
  signedUrl: string;
231
260
  createdAt: Date;
232
261
  } | null | undefined;
262
+ nonCroppedFile?: {
263
+ path: string;
264
+ id: string;
265
+ userId: string | number;
266
+ signedUrl: string;
267
+ createdAt: Date;
268
+ } | null | undefined;
233
269
  }>, "many">>>;
234
270
  }, "strip", z.ZodTypeAny, {
235
271
  status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
@@ -269,6 +305,7 @@ export declare const OrderSchema: z.ZodObject<{
269
305
  id: string;
270
306
  fileId: string;
271
307
  orderId: string;
308
+ nonCroppedFileId: string;
272
309
  originalFileId: string;
273
310
  file?: {
274
311
  path: string;
@@ -284,6 +321,13 @@ export declare const OrderSchema: z.ZodObject<{
284
321
  signedUrl: string;
285
322
  createdAt: Date;
286
323
  } | null | undefined;
324
+ nonCroppedFile?: {
325
+ path: string;
326
+ id: string;
327
+ userId: string | number;
328
+ signedUrl: string;
329
+ createdAt: Date;
330
+ } | null | undefined;
287
331
  }[] | null | undefined;
288
332
  }, {
289
333
  status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
@@ -323,6 +367,7 @@ export declare const OrderSchema: z.ZodObject<{
323
367
  id: string;
324
368
  fileId: string;
325
369
  orderId: string;
370
+ nonCroppedFileId: string;
326
371
  originalFileId: string;
327
372
  file?: {
328
373
  path: string;
@@ -338,6 +383,13 @@ export declare const OrderSchema: z.ZodObject<{
338
383
  signedUrl: string;
339
384
  createdAt: Date;
340
385
  } | null | undefined;
386
+ nonCroppedFile?: {
387
+ path: string;
388
+ id: string;
389
+ userId: string | number;
390
+ signedUrl: string;
391
+ createdAt: Date;
392
+ } | null | undefined;
341
393
  }[] | null | undefined;
342
394
  }>;
343
395
  export type Order = z.infer<typeof OrderSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWtB,CAAA;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
1
+ {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWtB,CAAA;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
@@ -154,6 +154,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
154
154
  id: z.ZodString;
155
155
  orderId: z.ZodString;
156
156
  fileId: z.ZodString;
157
+ nonCroppedFileId: z.ZodString;
157
158
  originalFileId: z.ZodString;
158
159
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
159
160
  id: z.ZodString;
@@ -174,6 +175,25 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
174
175
  signedUrl: string;
175
176
  createdAt: Date;
176
177
  }>>>;
178
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
179
+ id: z.ZodString;
180
+ userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
181
+ path: z.ZodString;
182
+ signedUrl: z.ZodString;
183
+ createdAt: z.ZodDate;
184
+ }, "strip", z.ZodTypeAny, {
185
+ path: string;
186
+ id: string;
187
+ userId: string | number;
188
+ signedUrl: string;
189
+ createdAt: Date;
190
+ }, {
191
+ path: string;
192
+ id: string;
193
+ userId: string | number;
194
+ signedUrl: string;
195
+ createdAt: Date;
196
+ }>>>;
177
197
  originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
178
198
  id: z.ZodString;
179
199
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -197,6 +217,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
197
217
  id: string;
198
218
  fileId: string;
199
219
  orderId: string;
220
+ nonCroppedFileId: string;
200
221
  originalFileId: string;
201
222
  file?: {
202
223
  path: string;
@@ -212,10 +233,18 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
212
233
  signedUrl: string;
213
234
  createdAt: Date;
214
235
  } | null | undefined;
236
+ nonCroppedFile?: {
237
+ path: string;
238
+ id: string;
239
+ userId: string | number;
240
+ signedUrl: string;
241
+ createdAt: Date;
242
+ } | null | undefined;
215
243
  }, {
216
244
  id: string;
217
245
  fileId: string;
218
246
  orderId: string;
247
+ nonCroppedFileId: string;
219
248
  originalFileId: string;
220
249
  file?: {
221
250
  path: string;
@@ -231,6 +260,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
231
260
  signedUrl: string;
232
261
  createdAt: Date;
233
262
  } | null | undefined;
263
+ nonCroppedFile?: {
264
+ path: string;
265
+ id: string;
266
+ userId: string | number;
267
+ signedUrl: string;
268
+ createdAt: Date;
269
+ } | null | undefined;
234
270
  }>, "many">>>;
235
271
  }, "strip", z.ZodTypeAny, {
236
272
  status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
@@ -270,6 +306,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
270
306
  id: string;
271
307
  fileId: string;
272
308
  orderId: string;
309
+ nonCroppedFileId: string;
273
310
  originalFileId: string;
274
311
  file?: {
275
312
  path: string;
@@ -285,6 +322,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
285
322
  signedUrl: string;
286
323
  createdAt: Date;
287
324
  } | null | undefined;
325
+ nonCroppedFile?: {
326
+ path: string;
327
+ id: string;
328
+ userId: string | number;
329
+ signedUrl: string;
330
+ createdAt: Date;
331
+ } | null | undefined;
288
332
  }[] | null | undefined;
289
333
  }, {
290
334
  status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
@@ -324,6 +368,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
324
368
  id: string;
325
369
  fileId: string;
326
370
  orderId: string;
371
+ nonCroppedFileId: string;
327
372
  originalFileId: string;
328
373
  file?: {
329
374
  path: string;
@@ -339,6 +384,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
339
384
  signedUrl: string;
340
385
  createdAt: Date;
341
386
  } | null | undefined;
387
+ nonCroppedFile?: {
388
+ path: string;
389
+ id: string;
390
+ userId: string | number;
391
+ signedUrl: string;
392
+ createdAt: Date;
393
+ } | null | undefined;
342
394
  }[] | null | undefined;
343
395
  }>;
344
396
  items: z.ZodArray<z.ZodObject<{
@@ -1360,6 +1412,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1360
1412
  id: string;
1361
1413
  fileId: string;
1362
1414
  orderId: string;
1415
+ nonCroppedFileId: string;
1363
1416
  originalFileId: string;
1364
1417
  file?: {
1365
1418
  path: string;
@@ -1375,6 +1428,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1375
1428
  signedUrl: string;
1376
1429
  createdAt: Date;
1377
1430
  } | null | undefined;
1431
+ nonCroppedFile?: {
1432
+ path: string;
1433
+ id: string;
1434
+ userId: string | number;
1435
+ signedUrl: string;
1436
+ createdAt: Date;
1437
+ } | null | undefined;
1378
1438
  }[] | null | undefined;
1379
1439
  };
1380
1440
  }, {
@@ -1566,6 +1626,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1566
1626
  id: string;
1567
1627
  fileId: string;
1568
1628
  orderId: string;
1629
+ nonCroppedFileId: string;
1569
1630
  originalFileId: string;
1570
1631
  file?: {
1571
1632
  path: string;
@@ -1581,6 +1642,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1581
1642
  signedUrl: string;
1582
1643
  createdAt: Date;
1583
1644
  } | null | undefined;
1645
+ nonCroppedFile?: {
1646
+ path: string;
1647
+ id: string;
1648
+ userId: string | number;
1649
+ signedUrl: string;
1650
+ createdAt: Date;
1651
+ } | null | undefined;
1584
1652
  }[] | null | undefined;
1585
1653
  };
1586
1654
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -51,19 +51,19 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
51
51
  conversationUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
52
  platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
54
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
54
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
55
55
  statusHistory: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
56
56
  id: z.ZodString;
57
57
  messageId: z.ZodString;
58
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
58
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
59
59
  createdAt: z.ZodDate;
60
60
  }, "strip", z.ZodTypeAny, {
61
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
61
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
62
62
  id: string;
63
63
  createdAt: Date;
64
64
  messageId: string;
65
65
  }, {
66
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
66
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
67
67
  id: string;
68
68
  createdAt: Date;
69
69
  messageId: string;
@@ -157,7 +157,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
157
157
  }>, "many">>>;
158
158
  }, "strip", z.ZodTypeAny, {
159
159
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
160
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
160
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
161
161
  id: string;
162
162
  createdAt: Date;
163
163
  conversationId: string;
@@ -186,7 +186,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
186
186
  conversationUserId?: string | null | undefined;
187
187
  platformMessageId?: string | null | undefined;
188
188
  statusHistory?: {
189
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
189
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
190
190
  id: string;
191
191
  createdAt: Date;
192
192
  messageId: string;
@@ -199,7 +199,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
199
199
  } | null | undefined;
200
200
  }, {
201
201
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
202
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
202
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
203
203
  id: string;
204
204
  createdAt: Date;
205
205
  conversationId: string;
@@ -228,7 +228,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
228
228
  conversationUserId?: string | null | undefined;
229
229
  platformMessageId?: string | null | undefined;
230
230
  statusHistory?: {
231
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
231
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
232
232
  id: string;
233
233
  createdAt: Date;
234
234
  messageId: string;
@@ -338,7 +338,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
338
338
  }[] | null | undefined;
339
339
  lastMessage?: {
340
340
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
341
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
341
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
342
342
  id: string;
343
343
  createdAt: Date;
344
344
  conversationId: string;
@@ -367,7 +367,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
367
367
  conversationUserId?: string | null | undefined;
368
368
  platformMessageId?: string | null | undefined;
369
369
  statusHistory?: {
370
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
370
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
371
371
  id: string;
372
372
  createdAt: Date;
373
373
  messageId: string;
@@ -416,7 +416,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
416
416
  }[] | null | undefined;
417
417
  lastMessage?: {
418
418
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
419
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
419
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
420
420
  id: string;
421
421
  createdAt: Date;
422
422
  conversationId: string;
@@ -445,7 +445,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
445
445
  conversationUserId?: string | null | undefined;
446
446
  platformMessageId?: string | null | undefined;
447
447
  statusHistory?: {
448
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
448
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
449
449
  id: string;
450
450
  createdAt: Date;
451
451
  messageId: string;
@@ -465,19 +465,19 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
465
465
  conversationUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
466
466
  platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
467
  type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
468
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
468
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
469
469
  statusHistory: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
470
470
  id: z.ZodString;
471
471
  messageId: z.ZodString;
472
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
472
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
473
473
  createdAt: z.ZodDate;
474
474
  }, "strip", z.ZodTypeAny, {
475
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
475
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
476
476
  id: string;
477
477
  createdAt: Date;
478
478
  messageId: string;
479
479
  }, {
480
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
480
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
481
481
  id: string;
482
482
  createdAt: Date;
483
483
  messageId: string;
@@ -571,7 +571,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
571
571
  }>, "many">>>;
572
572
  }, "strip", z.ZodTypeAny, {
573
573
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
574
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
574
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
575
575
  id: string;
576
576
  createdAt: Date;
577
577
  conversationId: string;
@@ -600,7 +600,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
600
600
  conversationUserId?: string | null | undefined;
601
601
  platformMessageId?: string | null | undefined;
602
602
  statusHistory?: {
603
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
603
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
604
604
  id: string;
605
605
  createdAt: Date;
606
606
  messageId: string;
@@ -613,7 +613,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
613
613
  } | null | undefined;
614
614
  }, {
615
615
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
616
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
616
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
617
617
  id: string;
618
618
  createdAt: Date;
619
619
  conversationId: string;
@@ -642,7 +642,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
642
642
  conversationUserId?: string | null | undefined;
643
643
  platformMessageId?: string | null | undefined;
644
644
  statusHistory?: {
645
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
645
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
646
646
  id: string;
647
647
  createdAt: Date;
648
648
  messageId: string;
@@ -693,7 +693,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
693
693
  }[] | null | undefined;
694
694
  lastMessage?: {
695
695
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
696
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
696
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
697
697
  id: string;
698
698
  createdAt: Date;
699
699
  conversationId: string;
@@ -722,7 +722,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
722
722
  conversationUserId?: string | null | undefined;
723
723
  platformMessageId?: string | null | undefined;
724
724
  statusHistory?: {
725
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
725
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
726
726
  id: string;
727
727
  createdAt: Date;
728
728
  messageId: string;
@@ -738,7 +738,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
738
738
  };
739
739
  newMessages: {
740
740
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
741
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
741
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
742
742
  id: string;
743
743
  createdAt: Date;
744
744
  conversationId: string;
@@ -767,7 +767,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
767
767
  conversationUserId?: string | null | undefined;
768
768
  platformMessageId?: string | null | undefined;
769
769
  statusHistory?: {
770
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
770
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
771
771
  id: string;
772
772
  createdAt: Date;
773
773
  messageId: string;
@@ -817,7 +817,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
817
817
  }[] | null | undefined;
818
818
  lastMessage?: {
819
819
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
820
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
820
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
821
821
  id: string;
822
822
  createdAt: Date;
823
823
  conversationId: string;
@@ -846,7 +846,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
846
846
  conversationUserId?: string | null | undefined;
847
847
  platformMessageId?: string | null | undefined;
848
848
  statusHistory?: {
849
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
849
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
850
850
  id: string;
851
851
  createdAt: Date;
852
852
  messageId: string;
@@ -862,7 +862,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
862
862
  };
863
863
  newMessages: {
864
864
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
865
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
865
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
866
866
  id: string;
867
867
  createdAt: Date;
868
868
  conversationId: string;
@@ -891,7 +891,7 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
891
891
  conversationUserId?: string | null | undefined;
892
892
  platformMessageId?: string | null | undefined;
893
893
  statusHistory?: {
894
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
894
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
895
895
  id: string;
896
896
  createdAt: Date;
897
897
  messageId: string;
@@ -1029,19 +1029,19 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1029
1029
  conversationUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1030
1030
  platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1031
1031
  type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
1032
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1032
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1033
1033
  statusHistory: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1034
1034
  id: z.ZodString;
1035
1035
  messageId: z.ZodString;
1036
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1036
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1037
1037
  createdAt: z.ZodDate;
1038
1038
  }, "strip", z.ZodTypeAny, {
1039
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1039
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1040
1040
  id: string;
1041
1041
  createdAt: Date;
1042
1042
  messageId: string;
1043
1043
  }, {
1044
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1044
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1045
1045
  id: string;
1046
1046
  createdAt: Date;
1047
1047
  messageId: string;
@@ -1135,7 +1135,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1135
1135
  }>, "many">>>;
1136
1136
  }, "strip", z.ZodTypeAny, {
1137
1137
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1138
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1138
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1139
1139
  id: string;
1140
1140
  createdAt: Date;
1141
1141
  conversationId: string;
@@ -1164,7 +1164,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1164
1164
  conversationUserId?: string | null | undefined;
1165
1165
  platformMessageId?: string | null | undefined;
1166
1166
  statusHistory?: {
1167
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1167
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1168
1168
  id: string;
1169
1169
  createdAt: Date;
1170
1170
  messageId: string;
@@ -1177,7 +1177,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1177
1177
  } | null | undefined;
1178
1178
  }, {
1179
1179
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1180
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1180
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1181
1181
  id: string;
1182
1182
  createdAt: Date;
1183
1183
  conversationId: string;
@@ -1206,7 +1206,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1206
1206
  conversationUserId?: string | null | undefined;
1207
1207
  platformMessageId?: string | null | undefined;
1208
1208
  statusHistory?: {
1209
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1209
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1210
1210
  id: string;
1211
1211
  createdAt: Date;
1212
1212
  messageId: string;
@@ -1316,7 +1316,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1316
1316
  }[] | null | undefined;
1317
1317
  lastMessage?: {
1318
1318
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1319
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1319
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1320
1320
  id: string;
1321
1321
  createdAt: Date;
1322
1322
  conversationId: string;
@@ -1345,7 +1345,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1345
1345
  conversationUserId?: string | null | undefined;
1346
1346
  platformMessageId?: string | null | undefined;
1347
1347
  statusHistory?: {
1348
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1348
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1349
1349
  id: string;
1350
1350
  createdAt: Date;
1351
1351
  messageId: string;
@@ -1394,7 +1394,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1394
1394
  }[] | null | undefined;
1395
1395
  lastMessage?: {
1396
1396
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1397
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1397
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1398
1398
  id: string;
1399
1399
  createdAt: Date;
1400
1400
  conversationId: string;
@@ -1423,7 +1423,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1423
1423
  conversationUserId?: string | null | undefined;
1424
1424
  platformMessageId?: string | null | undefined;
1425
1425
  statusHistory?: {
1426
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1426
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1427
1427
  id: string;
1428
1428
  createdAt: Date;
1429
1429
  messageId: string;
@@ -1443,19 +1443,19 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1443
1443
  conversationUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1444
1444
  platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
1445
  type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
1446
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1446
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1447
1447
  statusHistory: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1448
1448
  id: z.ZodString;
1449
1449
  messageId: z.ZodString;
1450
- status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1450
+ status: z.ZodEnum<["SCHEDULED", "NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "CANCELED", "SENT", "SEEN"]>;
1451
1451
  createdAt: z.ZodDate;
1452
1452
  }, "strip", z.ZodTypeAny, {
1453
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1453
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1454
1454
  id: string;
1455
1455
  createdAt: Date;
1456
1456
  messageId: string;
1457
1457
  }, {
1458
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1458
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1459
1459
  id: string;
1460
1460
  createdAt: Date;
1461
1461
  messageId: string;
@@ -1549,7 +1549,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1549
1549
  }>, "many">>>;
1550
1550
  }, "strip", z.ZodTypeAny, {
1551
1551
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1552
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1552
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1553
1553
  id: string;
1554
1554
  createdAt: Date;
1555
1555
  conversationId: string;
@@ -1578,7 +1578,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1578
1578
  conversationUserId?: string | null | undefined;
1579
1579
  platformMessageId?: string | null | undefined;
1580
1580
  statusHistory?: {
1581
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1581
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1582
1582
  id: string;
1583
1583
  createdAt: Date;
1584
1584
  messageId: string;
@@ -1591,7 +1591,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1591
1591
  } | null | undefined;
1592
1592
  }, {
1593
1593
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1594
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1594
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1595
1595
  id: string;
1596
1596
  createdAt: Date;
1597
1597
  conversationId: string;
@@ -1620,7 +1620,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1620
1620
  conversationUserId?: string | null | undefined;
1621
1621
  platformMessageId?: string | null | undefined;
1622
1622
  statusHistory?: {
1623
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1623
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1624
1624
  id: string;
1625
1625
  createdAt: Date;
1626
1626
  messageId: string;
@@ -1671,7 +1671,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1671
1671
  }[] | null | undefined;
1672
1672
  lastMessage?: {
1673
1673
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1674
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1674
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1675
1675
  id: string;
1676
1676
  createdAt: Date;
1677
1677
  conversationId: string;
@@ -1700,7 +1700,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1700
1700
  conversationUserId?: string | null | undefined;
1701
1701
  platformMessageId?: string | null | undefined;
1702
1702
  statusHistory?: {
1703
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1703
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1704
1704
  id: string;
1705
1705
  createdAt: Date;
1706
1706
  messageId: string;
@@ -1716,7 +1716,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1716
1716
  };
1717
1717
  newMessages: {
1718
1718
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1719
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1719
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1720
1720
  id: string;
1721
1721
  createdAt: Date;
1722
1722
  conversationId: string;
@@ -1745,7 +1745,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1745
1745
  conversationUserId?: string | null | undefined;
1746
1746
  platformMessageId?: string | null | undefined;
1747
1747
  statusHistory?: {
1748
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1748
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1749
1749
  id: string;
1750
1750
  createdAt: Date;
1751
1751
  messageId: string;
@@ -1795,7 +1795,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1795
1795
  }[] | null | undefined;
1796
1796
  lastMessage?: {
1797
1797
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1798
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1798
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1799
1799
  id: string;
1800
1800
  createdAt: Date;
1801
1801
  conversationId: string;
@@ -1824,7 +1824,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1824
1824
  conversationUserId?: string | null | undefined;
1825
1825
  platformMessageId?: string | null | undefined;
1826
1826
  statusHistory?: {
1827
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1827
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1828
1828
  id: string;
1829
1829
  createdAt: Date;
1830
1830
  messageId: string;
@@ -1840,7 +1840,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1840
1840
  };
1841
1841
  newMessages: {
1842
1842
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
1843
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1843
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1844
1844
  id: string;
1845
1845
  createdAt: Date;
1846
1846
  conversationId: string;
@@ -1869,7 +1869,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
1869
1869
  conversationUserId?: string | null | undefined;
1870
1870
  platformMessageId?: string | null | undefined;
1871
1871
  statusHistory?: {
1872
- status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1872
+ status: "SCHEDULED" | "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
1873
1873
  id: string;
1874
1874
  createdAt: Date;
1875
1875
  messageId: string;