controlresell 2.5.3 → 2.6.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 (36) hide show
  1. package/package.json +4 -4
  2. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -0
  3. package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
  4. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -0
  5. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
  6. package/src/com/controlresell/models/platforms/PlatformFiltersContext.d.ts +3 -0
  7. package/src/com/controlresell/models/platforms/PlatformFiltersContext.d.ts.map +1 -1
  8. package/src/com/controlresell/models/platforms/PlatformFiltersContext.js +2 -1
  9. package/src/com/controlresell/models/platforms/PlatformFiltersContext.js.map +1 -1
  10. package/src/com/controlresell/models/platforms/PlatformFiltersContext.ts +2 -1
  11. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.d.ts +3 -0
  12. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.d.ts.map +1 -1
  13. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js +1 -0
  14. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js.map +1 -1
  15. package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.ts +1 -0
  16. package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +36 -0
  17. package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts.map +1 -1
  18. package/src/com/controlresell/models/platforms/labels/OrderLabel.js +2 -0
  19. package/src/com/controlresell/models/platforms/labels/OrderLabel.js.map +1 -1
  20. package/src/com/controlresell/models/platforms/labels/OrderLabel.ts +2 -0
  21. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.d.ts +13 -0
  22. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.d.ts.map +1 -0
  23. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js +9 -0
  24. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js.map +1 -0
  25. package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.ts +7 -0
  26. package/src/com/controlresell/models/platforms/orders/Order.d.ts +52 -0
  27. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  28. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +90 -0
  29. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  30. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +242 -48
  31. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  32. package/src/index.d.ts +1 -0
  33. package/src/index.d.ts.map +1 -1
  34. package/src/index.js +4 -2
  35. package/src/index.js.map +1 -1
  36. package/src/index.ts +1 -0
@@ -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<{
@@ -629,21 +681,31 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
629
681
  }>, z.ZodObject<{
630
682
  data: z.ZodObject<{
631
683
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
684
+ accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
685
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
632
686
  }, "strip", z.ZodTypeAny, {
633
687
  platform: "VINTED" | "SHOPIFY";
688
+ accountId?: string | null | undefined;
689
+ reason?: string | null | undefined;
634
690
  }, {
635
691
  platform: "VINTED" | "SHOPIFY";
692
+ accountId?: string | null | undefined;
693
+ reason?: string | null | undefined;
636
694
  }>;
637
695
  type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
638
696
  }, "strip", z.ZodTypeAny, {
639
697
  type: "FAILED_TO_PUBLISH";
640
698
  data: {
641
699
  platform: "VINTED" | "SHOPIFY";
700
+ accountId?: string | null | undefined;
701
+ reason?: string | null | undefined;
642
702
  };
643
703
  }, {
644
704
  type: "FAILED_TO_PUBLISH";
645
705
  data: {
646
706
  platform: "VINTED" | "SHOPIFY";
707
+ accountId?: string | null | undefined;
708
+ reason?: string | null | undefined;
647
709
  };
648
710
  }>, z.ZodObject<{
649
711
  data: z.ZodObject<{
@@ -715,6 +777,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
715
777
  type: "FAILED_TO_PUBLISH";
716
778
  data: {
717
779
  platform: "VINTED" | "SHOPIFY";
780
+ accountId?: string | null | undefined;
781
+ reason?: string | null | undefined;
718
782
  };
719
783
  } | {
720
784
  type: "REPUBLISHING";
@@ -753,6 +817,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
753
817
  type: "FAILED_TO_PUBLISH";
754
818
  data: {
755
819
  platform: "VINTED" | "SHOPIFY";
820
+ accountId?: string | null | undefined;
821
+ reason?: string | null | undefined;
756
822
  };
757
823
  } | {
758
824
  type: "REPUBLISHING";
@@ -970,6 +1036,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
970
1036
  type: "FAILED_TO_PUBLISH";
971
1037
  data: {
972
1038
  platform: "VINTED" | "SHOPIFY";
1039
+ accountId?: string | null | undefined;
1040
+ reason?: string | null | undefined;
973
1041
  };
974
1042
  } | {
975
1043
  type: "REPUBLISHING";
@@ -1117,6 +1185,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1117
1185
  type: "FAILED_TO_PUBLISH";
1118
1186
  data: {
1119
1187
  platform: "VINTED" | "SHOPIFY";
1188
+ accountId?: string | null | undefined;
1189
+ reason?: string | null | undefined;
1120
1190
  };
1121
1191
  } | {
1122
1192
  type: "REPUBLISHING";
@@ -1266,6 +1336,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1266
1336
  type: "FAILED_TO_PUBLISH";
1267
1337
  data: {
1268
1338
  platform: "VINTED" | "SHOPIFY";
1339
+ accountId?: string | null | undefined;
1340
+ reason?: string | null | undefined;
1269
1341
  };
1270
1342
  } | {
1271
1343
  type: "REPUBLISHING";
@@ -1340,6 +1412,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1340
1412
  id: string;
1341
1413
  fileId: string;
1342
1414
  orderId: string;
1415
+ nonCroppedFileId: string;
1343
1416
  originalFileId: string;
1344
1417
  file?: {
1345
1418
  path: string;
@@ -1355,6 +1428,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1355
1428
  signedUrl: string;
1356
1429
  createdAt: Date;
1357
1430
  } | null | undefined;
1431
+ nonCroppedFile?: {
1432
+ path: string;
1433
+ id: string;
1434
+ userId: string | number;
1435
+ signedUrl: string;
1436
+ createdAt: Date;
1437
+ } | null | undefined;
1358
1438
  }[] | null | undefined;
1359
1439
  };
1360
1440
  }, {
@@ -1470,6 +1550,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1470
1550
  type: "FAILED_TO_PUBLISH";
1471
1551
  data: {
1472
1552
  platform: "VINTED" | "SHOPIFY";
1553
+ accountId?: string | null | undefined;
1554
+ reason?: string | null | undefined;
1473
1555
  };
1474
1556
  } | {
1475
1557
  type: "REPUBLISHING";
@@ -1544,6 +1626,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1544
1626
  id: string;
1545
1627
  fileId: string;
1546
1628
  orderId: string;
1629
+ nonCroppedFileId: string;
1547
1630
  originalFileId: string;
1548
1631
  file?: {
1549
1632
  path: string;
@@ -1559,6 +1642,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1559
1642
  signedUrl: string;
1560
1643
  createdAt: Date;
1561
1644
  } | null | undefined;
1645
+ nonCroppedFile?: {
1646
+ path: string;
1647
+ id: string;
1648
+ userId: string | number;
1649
+ signedUrl: string;
1650
+ createdAt: Date;
1651
+ } | null | undefined;
1562
1652
  }[] | null | undefined;
1563
1653
  };
1564
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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