controlresell 2.20.11 → 2.20.13

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 (65) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/items/ItemActionStatusResponse.d.ts +10 -0
  3. package/src/com/controlresell/api/responses/items/ItemActionStatusResponse.d.ts.map +1 -0
  4. package/src/com/controlresell/api/responses/items/ItemActionStatusResponse.js +6 -0
  5. package/src/com/controlresell/api/responses/items/ItemActionStatusResponse.js.map +1 -0
  6. package/src/com/controlresell/api/responses/items/ItemActionStatusResponse.ts +7 -0
  7. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +1204 -0
  8. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  9. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +968 -0
  10. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  11. package/src/com/controlresell/api/responses/items/ListedItem.js +6 -1
  12. package/src/com/controlresell/api/responses/items/ListedItem.js.map +1 -1
  13. package/src/com/controlresell/api/responses/items/ListedItem.ts +6 -1
  14. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +732 -0
  15. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts.map +1 -0
  16. package/src/com/controlresell/api/responses/items/ListedItemOrder.js +10 -0
  17. package/src/com/controlresell/api/responses/items/ListedItemOrder.js.map +1 -0
  18. package/src/com/controlresell/api/responses/items/ListedItemOrder.ts +11 -0
  19. package/src/com/controlresell/models/items/CreatedItems.d.ts +1208 -4
  20. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  21. package/src/com/controlresell/models/items/Item.d.ts +2 -2
  22. package/src/com/controlresell/models/items/ItemPayload.d.ts +2 -2
  23. package/src/com/controlresell/models/items/ItemUpdate.d.ts +1204 -0
  24. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  25. package/src/com/controlresell/models/items/UpdatedItem.d.ts +1208 -4
  26. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  27. package/src/com/controlresell/models/items/actions/ItemActionStatus.d.ts +4 -0
  28. package/src/com/controlresell/models/items/actions/ItemActionStatus.d.ts.map +1 -0
  29. package/src/com/controlresell/models/items/actions/ItemActionStatus.js +5 -0
  30. package/src/com/controlresell/models/items/actions/ItemActionStatus.js.map +1 -0
  31. package/src/com/controlresell/models/items/actions/ItemActionStatus.ts +6 -0
  32. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +4 -4
  33. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1448 -8
  34. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  35. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1204 -0
  36. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  37. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +1204 -0
  38. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  39. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3230 -822
  40. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  41. package/src/index.d.ts +3 -4
  42. package/src/index.d.ts.map +1 -1
  43. package/src/index.js +3 -4
  44. package/src/index.js.map +1 -1
  45. package/src/index.ts +3 -4
  46. package/src/com/controlresell/models/platforms/metrics/DailyMetrics.d.ts +0 -16
  47. package/src/com/controlresell/models/platforms/metrics/DailyMetrics.d.ts.map +0 -1
  48. package/src/com/controlresell/models/platforms/metrics/DailyMetrics.js +0 -7
  49. package/src/com/controlresell/models/platforms/metrics/DailyMetrics.js.map +0 -1
  50. package/src/com/controlresell/models/platforms/metrics/DailyMetrics.ts +0 -8
  51. package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.d.ts +0 -16
  52. package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.d.ts.map +0 -1
  53. package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.js +0 -7
  54. package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.js.map +0 -1
  55. package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.ts +0 -8
  56. package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.d.ts +0 -62
  57. package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.d.ts.map +0 -1
  58. package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.js +0 -11
  59. package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.js.map +0 -1
  60. package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.ts +0 -12
  61. package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.d.ts +0 -96
  62. package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.d.ts.map +0 -1
  63. package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.js +0 -6
  64. package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.js.map +0 -1
  65. package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.ts +0 -7
@@ -174,6 +174,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
174
174
  }>, "many">>>;
175
175
  colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
176
176
  packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
177
+ materialIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
178
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
179
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
177
180
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
178
181
  itemId: z.ZodNumber;
179
182
  fieldId: z.ZodNumber;
@@ -2444,6 +2447,735 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2444
2447
  createdAt: z.ZodDate;
2445
2448
  updatedAt: z.ZodDate;
2446
2449
  sourceInConversation: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["ORDER", "TRANSACTION", "DELETED", "UNKNOWN"]>>>>;
2450
+ order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2451
+ transactionType: z.ZodEnum<["SINGLE_ITEM", "BUNDLE"]>;
2452
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2453
+ id: z.ZodString;
2454
+ orderId: z.ZodString;
2455
+ fileId: z.ZodString;
2456
+ nonCroppedFileId: z.ZodString;
2457
+ originalFileId: z.ZodString;
2458
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2459
+ id: z.ZodString;
2460
+ userId: z.ZodNumber;
2461
+ path: z.ZodString;
2462
+ signedUrl: z.ZodString;
2463
+ createdAt: z.ZodDate;
2464
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2465
+ }, "strip", z.ZodTypeAny, {
2466
+ path: string;
2467
+ id: string;
2468
+ createdAt: Date;
2469
+ userId: number;
2470
+ signedUrl: string;
2471
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2472
+ }, {
2473
+ path: string;
2474
+ id: string;
2475
+ createdAt: Date;
2476
+ userId: number;
2477
+ signedUrl: string;
2478
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2479
+ }>>>;
2480
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2481
+ id: z.ZodString;
2482
+ userId: z.ZodNumber;
2483
+ path: z.ZodString;
2484
+ signedUrl: z.ZodString;
2485
+ createdAt: z.ZodDate;
2486
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2487
+ }, "strip", z.ZodTypeAny, {
2488
+ path: string;
2489
+ id: string;
2490
+ createdAt: Date;
2491
+ userId: number;
2492
+ signedUrl: string;
2493
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2494
+ }, {
2495
+ path: string;
2496
+ id: string;
2497
+ createdAt: Date;
2498
+ userId: number;
2499
+ signedUrl: string;
2500
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2501
+ }>>>;
2502
+ originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2503
+ id: z.ZodString;
2504
+ userId: z.ZodNumber;
2505
+ path: z.ZodString;
2506
+ signedUrl: z.ZodString;
2507
+ createdAt: z.ZodDate;
2508
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2509
+ }, "strip", z.ZodTypeAny, {
2510
+ path: string;
2511
+ id: string;
2512
+ createdAt: Date;
2513
+ userId: number;
2514
+ signedUrl: string;
2515
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2516
+ }, {
2517
+ path: string;
2518
+ id: string;
2519
+ createdAt: Date;
2520
+ userId: number;
2521
+ signedUrl: string;
2522
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2523
+ }>>>;
2524
+ carrier: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MONDIAL_RELAY", "MONDIAL_RELAY_2", "MONDIAL_RELAY_3", "MONDIAL_RELAY_4", "MONDIAL_RELAY_5", "UPS", "CHRONOPOST", "COLISSIMO", "RELAIS_COLIS", "VINTED_GO", "VINTED_GO_BE", "VINTED_VERIF", "B_POST", "VINTED_GO_IT", "DPD", "VINTED_GO_DIGITAL", "DHL", "DHL_ECONOMY", "UNKNOWN"]>>>>;
2525
+ }, "strip", z.ZodTypeAny, {
2526
+ id: string;
2527
+ fileId: string;
2528
+ orderId: string;
2529
+ nonCroppedFileId: string;
2530
+ originalFileId: string;
2531
+ originalFile?: {
2532
+ path: string;
2533
+ id: string;
2534
+ createdAt: Date;
2535
+ userId: number;
2536
+ signedUrl: string;
2537
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2538
+ } | null | undefined;
2539
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
2540
+ file?: {
2541
+ path: string;
2542
+ id: string;
2543
+ createdAt: Date;
2544
+ userId: number;
2545
+ signedUrl: string;
2546
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2547
+ } | null | undefined;
2548
+ nonCroppedFile?: {
2549
+ path: string;
2550
+ id: string;
2551
+ createdAt: Date;
2552
+ userId: number;
2553
+ signedUrl: string;
2554
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2555
+ } | null | undefined;
2556
+ }, {
2557
+ id: string;
2558
+ fileId: string;
2559
+ orderId: string;
2560
+ nonCroppedFileId: string;
2561
+ originalFileId: string;
2562
+ originalFile?: {
2563
+ path: string;
2564
+ id: string;
2565
+ createdAt: Date;
2566
+ userId: number;
2567
+ signedUrl: string;
2568
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2569
+ } | null | undefined;
2570
+ carrier?: unknown;
2571
+ file?: {
2572
+ path: string;
2573
+ id: string;
2574
+ createdAt: Date;
2575
+ userId: number;
2576
+ signedUrl: string;
2577
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2578
+ } | null | undefined;
2579
+ nonCroppedFile?: {
2580
+ path: string;
2581
+ id: string;
2582
+ createdAt: Date;
2583
+ userId: number;
2584
+ signedUrl: string;
2585
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2586
+ } | null | undefined;
2587
+ }>, "many">>>;
2588
+ invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2589
+ id: z.ZodString;
2590
+ invoiceNumber: z.ZodString;
2591
+ userId: z.ZodNumber;
2592
+ businessProfileId: z.ZodString;
2593
+ businessProfile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2594
+ id: z.ZodString;
2595
+ userId: z.ZodNumber;
2596
+ businessName: z.ZodString;
2597
+ address: z.ZodString;
2598
+ siret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2599
+ vatNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2601
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2602
+ logoFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2603
+ logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2604
+ id: z.ZodString;
2605
+ userId: z.ZodNumber;
2606
+ path: z.ZodString;
2607
+ signedUrl: z.ZodString;
2608
+ createdAt: z.ZodDate;
2609
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2610
+ }, "strip", z.ZodTypeAny, {
2611
+ path: string;
2612
+ id: string;
2613
+ createdAt: Date;
2614
+ userId: number;
2615
+ signedUrl: string;
2616
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2617
+ }, {
2618
+ path: string;
2619
+ id: string;
2620
+ createdAt: Date;
2621
+ userId: number;
2622
+ signedUrl: string;
2623
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2624
+ }>>>;
2625
+ isActive: z.ZodBoolean;
2626
+ createdAt: z.ZodDate;
2627
+ updatedAt: z.ZodDate;
2628
+ }, "strip", z.ZodTypeAny, {
2629
+ id: string;
2630
+ createdAt: Date;
2631
+ userId: number;
2632
+ updatedAt: Date;
2633
+ businessName: string;
2634
+ address: string;
2635
+ isActive: boolean;
2636
+ email?: string | null | undefined;
2637
+ phone?: string | null | undefined;
2638
+ siret?: string | null | undefined;
2639
+ vatNumber?: string | null | undefined;
2640
+ logoFileId?: string | null | undefined;
2641
+ logo?: {
2642
+ path: string;
2643
+ id: string;
2644
+ createdAt: Date;
2645
+ userId: number;
2646
+ signedUrl: string;
2647
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2648
+ } | null | undefined;
2649
+ }, {
2650
+ id: string;
2651
+ createdAt: Date;
2652
+ userId: number;
2653
+ updatedAt: Date;
2654
+ businessName: string;
2655
+ address: string;
2656
+ isActive: boolean;
2657
+ email?: string | null | undefined;
2658
+ phone?: string | null | undefined;
2659
+ siret?: string | null | undefined;
2660
+ vatNumber?: string | null | undefined;
2661
+ logoFileId?: string | null | undefined;
2662
+ logo?: {
2663
+ path: string;
2664
+ id: string;
2665
+ createdAt: Date;
2666
+ userId: number;
2667
+ signedUrl: string;
2668
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2669
+ } | null | undefined;
2670
+ }>>>;
2671
+ customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2672
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2673
+ id: z.ZodString;
2674
+ userId: z.ZodNumber;
2675
+ firstName: z.ZodString;
2676
+ lastName: z.ZodString;
2677
+ birthDate: z.ZodDate;
2678
+ email: z.ZodString;
2679
+ idNumber: z.ZodString;
2680
+ phone: z.ZodString;
2681
+ iban: z.ZodString;
2682
+ bic: z.ZodString;
2683
+ phoneVerified: z.ZodBoolean;
2684
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2685
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2686
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2687
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2688
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2689
+ }, "strip", z.ZodTypeAny, {
2690
+ id: string;
2691
+ userId: number;
2692
+ firstName: string;
2693
+ lastName: string;
2694
+ birthDate: Date;
2695
+ email: string;
2696
+ idNumber: string;
2697
+ phone: string;
2698
+ iban: string;
2699
+ bic: string;
2700
+ phoneVerified: boolean;
2701
+ addressLine1?: string | null | undefined;
2702
+ addressLine2?: string | null | undefined;
2703
+ city?: string | null | undefined;
2704
+ postalCode?: string | null | undefined;
2705
+ country?: string | null | undefined;
2706
+ }, {
2707
+ id: string;
2708
+ userId: number;
2709
+ firstName: string;
2710
+ lastName: string;
2711
+ birthDate: Date;
2712
+ email: string;
2713
+ idNumber: string;
2714
+ phone: string;
2715
+ iban: string;
2716
+ bic: string;
2717
+ phoneVerified: boolean;
2718
+ addressLine1?: string | null | undefined;
2719
+ addressLine2?: string | null | undefined;
2720
+ city?: string | null | undefined;
2721
+ postalCode?: string | null | undefined;
2722
+ country?: string | null | undefined;
2723
+ }>>>;
2724
+ orderId: z.ZodString;
2725
+ fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2726
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2727
+ id: z.ZodString;
2728
+ userId: z.ZodNumber;
2729
+ path: z.ZodString;
2730
+ signedUrl: z.ZodString;
2731
+ createdAt: z.ZodDate;
2732
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2733
+ }, "strip", z.ZodTypeAny, {
2734
+ path: string;
2735
+ id: string;
2736
+ createdAt: Date;
2737
+ userId: number;
2738
+ signedUrl: string;
2739
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2740
+ }, {
2741
+ path: string;
2742
+ id: string;
2743
+ createdAt: Date;
2744
+ userId: number;
2745
+ signedUrl: string;
2746
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2747
+ }>>>;
2748
+ type: z.ZodEnum<["PURCHASE", "SALE"]>;
2749
+ status: z.ZodString;
2750
+ issueDate: z.ZodDate;
2751
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2752
+ subtotal: z.ZodNumber;
2753
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2754
+ vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2755
+ total: z.ZodNumber;
2756
+ currency: z.ZodString;
2757
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
+ lineItems: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2759
+ id: z.ZodNumber;
2760
+ invoiceId: z.ZodString;
2761
+ itemOnPlatformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2762
+ description: z.ZodString;
2763
+ quantity: z.ZodNumber;
2764
+ unitPrice: z.ZodNumber;
2765
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2766
+ total: z.ZodNumber;
2767
+ createdAt: z.ZodDate;
2768
+ }, "strip", z.ZodTypeAny, {
2769
+ description: string;
2770
+ id: number;
2771
+ createdAt: Date;
2772
+ invoiceId: string;
2773
+ quantity: number;
2774
+ unitPrice: number;
2775
+ total: number;
2776
+ itemOnPlatformId?: string | null | undefined;
2777
+ vatRate?: number | null | undefined;
2778
+ }, {
2779
+ description: string;
2780
+ id: number;
2781
+ createdAt: Date;
2782
+ invoiceId: string;
2783
+ quantity: number;
2784
+ unitPrice: number;
2785
+ total: number;
2786
+ itemOnPlatformId?: string | null | undefined;
2787
+ vatRate?: number | null | undefined;
2788
+ }>, "many">>>;
2789
+ createdAt: z.ZodDate;
2790
+ updatedAt: z.ZodDate;
2791
+ }, "strip", z.ZodTypeAny, {
2792
+ type: "SALE" | "PURCHASE";
2793
+ status: string;
2794
+ id: string;
2795
+ createdAt: Date;
2796
+ userId: number;
2797
+ currency: string;
2798
+ orderId: string;
2799
+ updatedAt: Date;
2800
+ total: number;
2801
+ invoiceNumber: string;
2802
+ businessProfileId: string;
2803
+ issueDate: Date;
2804
+ subtotal: number;
2805
+ fileId?: string | null | undefined;
2806
+ file?: {
2807
+ path: string;
2808
+ id: string;
2809
+ createdAt: Date;
2810
+ userId: number;
2811
+ signedUrl: string;
2812
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2813
+ } | null | undefined;
2814
+ vatRate?: number | null | undefined;
2815
+ businessProfile?: {
2816
+ id: string;
2817
+ createdAt: Date;
2818
+ userId: number;
2819
+ updatedAt: Date;
2820
+ businessName: string;
2821
+ address: string;
2822
+ isActive: boolean;
2823
+ email?: string | null | undefined;
2824
+ phone?: string | null | undefined;
2825
+ siret?: string | null | undefined;
2826
+ vatNumber?: string | null | undefined;
2827
+ logoFileId?: string | null | undefined;
2828
+ logo?: {
2829
+ path: string;
2830
+ id: string;
2831
+ createdAt: Date;
2832
+ userId: number;
2833
+ signedUrl: string;
2834
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2835
+ } | null | undefined;
2836
+ } | null | undefined;
2837
+ customerId?: string | null | undefined;
2838
+ customer?: {
2839
+ id: string;
2840
+ userId: number;
2841
+ firstName: string;
2842
+ lastName: string;
2843
+ birthDate: Date;
2844
+ email: string;
2845
+ idNumber: string;
2846
+ phone: string;
2847
+ iban: string;
2848
+ bic: string;
2849
+ phoneVerified: boolean;
2850
+ addressLine1?: string | null | undefined;
2851
+ addressLine2?: string | null | undefined;
2852
+ city?: string | null | undefined;
2853
+ postalCode?: string | null | undefined;
2854
+ country?: string | null | undefined;
2855
+ } | null | undefined;
2856
+ dueDate?: Date | null | undefined;
2857
+ vatAmount?: number | null | undefined;
2858
+ notes?: string | null | undefined;
2859
+ lineItems?: {
2860
+ description: string;
2861
+ id: number;
2862
+ createdAt: Date;
2863
+ invoiceId: string;
2864
+ quantity: number;
2865
+ unitPrice: number;
2866
+ total: number;
2867
+ itemOnPlatformId?: string | null | undefined;
2868
+ vatRate?: number | null | undefined;
2869
+ }[] | null | undefined;
2870
+ }, {
2871
+ type: "SALE" | "PURCHASE";
2872
+ status: string;
2873
+ id: string;
2874
+ createdAt: Date;
2875
+ userId: number;
2876
+ currency: string;
2877
+ orderId: string;
2878
+ updatedAt: Date;
2879
+ total: number;
2880
+ invoiceNumber: string;
2881
+ businessProfileId: string;
2882
+ issueDate: Date;
2883
+ subtotal: number;
2884
+ fileId?: string | null | undefined;
2885
+ file?: {
2886
+ path: string;
2887
+ id: string;
2888
+ createdAt: Date;
2889
+ userId: number;
2890
+ signedUrl: string;
2891
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2892
+ } | null | undefined;
2893
+ vatRate?: number | null | undefined;
2894
+ businessProfile?: {
2895
+ id: string;
2896
+ createdAt: Date;
2897
+ userId: number;
2898
+ updatedAt: Date;
2899
+ businessName: string;
2900
+ address: string;
2901
+ isActive: boolean;
2902
+ email?: string | null | undefined;
2903
+ phone?: string | null | undefined;
2904
+ siret?: string | null | undefined;
2905
+ vatNumber?: string | null | undefined;
2906
+ logoFileId?: string | null | undefined;
2907
+ logo?: {
2908
+ path: string;
2909
+ id: string;
2910
+ createdAt: Date;
2911
+ userId: number;
2912
+ signedUrl: string;
2913
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2914
+ } | null | undefined;
2915
+ } | null | undefined;
2916
+ customerId?: string | null | undefined;
2917
+ customer?: {
2918
+ id: string;
2919
+ userId: number;
2920
+ firstName: string;
2921
+ lastName: string;
2922
+ birthDate: Date;
2923
+ email: string;
2924
+ idNumber: string;
2925
+ phone: string;
2926
+ iban: string;
2927
+ bic: string;
2928
+ phoneVerified: boolean;
2929
+ addressLine1?: string | null | undefined;
2930
+ addressLine2?: string | null | undefined;
2931
+ city?: string | null | undefined;
2932
+ postalCode?: string | null | undefined;
2933
+ country?: string | null | undefined;
2934
+ } | null | undefined;
2935
+ dueDate?: Date | null | undefined;
2936
+ vatAmount?: number | null | undefined;
2937
+ notes?: string | null | undefined;
2938
+ lineItems?: {
2939
+ description: string;
2940
+ id: number;
2941
+ createdAt: Date;
2942
+ invoiceId: string;
2943
+ quantity: number;
2944
+ unitPrice: number;
2945
+ total: number;
2946
+ itemOnPlatformId?: string | null | undefined;
2947
+ vatRate?: number | null | undefined;
2948
+ }[] | null | undefined;
2949
+ }>, "many">>>;
2950
+ }, "strip", z.ZodTypeAny, {
2951
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
2952
+ labels?: {
2953
+ id: string;
2954
+ fileId: string;
2955
+ orderId: string;
2956
+ nonCroppedFileId: string;
2957
+ originalFileId: string;
2958
+ originalFile?: {
2959
+ path: string;
2960
+ id: string;
2961
+ createdAt: Date;
2962
+ userId: number;
2963
+ signedUrl: string;
2964
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2965
+ } | null | undefined;
2966
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
2967
+ file?: {
2968
+ path: string;
2969
+ id: string;
2970
+ createdAt: Date;
2971
+ userId: number;
2972
+ signedUrl: string;
2973
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2974
+ } | null | undefined;
2975
+ nonCroppedFile?: {
2976
+ path: string;
2977
+ id: string;
2978
+ createdAt: Date;
2979
+ userId: number;
2980
+ signedUrl: string;
2981
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2982
+ } | null | undefined;
2983
+ }[] | null | undefined;
2984
+ invoices?: {
2985
+ type: "SALE" | "PURCHASE";
2986
+ status: string;
2987
+ id: string;
2988
+ createdAt: Date;
2989
+ userId: number;
2990
+ currency: string;
2991
+ orderId: string;
2992
+ updatedAt: Date;
2993
+ total: number;
2994
+ invoiceNumber: string;
2995
+ businessProfileId: string;
2996
+ issueDate: Date;
2997
+ subtotal: number;
2998
+ fileId?: string | null | undefined;
2999
+ file?: {
3000
+ path: string;
3001
+ id: string;
3002
+ createdAt: Date;
3003
+ userId: number;
3004
+ signedUrl: string;
3005
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3006
+ } | null | undefined;
3007
+ vatRate?: number | null | undefined;
3008
+ businessProfile?: {
3009
+ id: string;
3010
+ createdAt: Date;
3011
+ userId: number;
3012
+ updatedAt: Date;
3013
+ businessName: string;
3014
+ address: string;
3015
+ isActive: boolean;
3016
+ email?: string | null | undefined;
3017
+ phone?: string | null | undefined;
3018
+ siret?: string | null | undefined;
3019
+ vatNumber?: string | null | undefined;
3020
+ logoFileId?: string | null | undefined;
3021
+ logo?: {
3022
+ path: string;
3023
+ id: string;
3024
+ createdAt: Date;
3025
+ userId: number;
3026
+ signedUrl: string;
3027
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3028
+ } | null | undefined;
3029
+ } | null | undefined;
3030
+ customerId?: string | null | undefined;
3031
+ customer?: {
3032
+ id: string;
3033
+ userId: number;
3034
+ firstName: string;
3035
+ lastName: string;
3036
+ birthDate: Date;
3037
+ email: string;
3038
+ idNumber: string;
3039
+ phone: string;
3040
+ iban: string;
3041
+ bic: string;
3042
+ phoneVerified: boolean;
3043
+ addressLine1?: string | null | undefined;
3044
+ addressLine2?: string | null | undefined;
3045
+ city?: string | null | undefined;
3046
+ postalCode?: string | null | undefined;
3047
+ country?: string | null | undefined;
3048
+ } | null | undefined;
3049
+ dueDate?: Date | null | undefined;
3050
+ vatAmount?: number | null | undefined;
3051
+ notes?: string | null | undefined;
3052
+ lineItems?: {
3053
+ description: string;
3054
+ id: number;
3055
+ createdAt: Date;
3056
+ invoiceId: string;
3057
+ quantity: number;
3058
+ unitPrice: number;
3059
+ total: number;
3060
+ itemOnPlatformId?: string | null | undefined;
3061
+ vatRate?: number | null | undefined;
3062
+ }[] | null | undefined;
3063
+ }[] | null | undefined;
3064
+ }, {
3065
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
3066
+ labels?: {
3067
+ id: string;
3068
+ fileId: string;
3069
+ orderId: string;
3070
+ nonCroppedFileId: string;
3071
+ originalFileId: string;
3072
+ originalFile?: {
3073
+ path: string;
3074
+ id: string;
3075
+ createdAt: Date;
3076
+ userId: number;
3077
+ signedUrl: string;
3078
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3079
+ } | null | undefined;
3080
+ carrier?: unknown;
3081
+ file?: {
3082
+ path: string;
3083
+ id: string;
3084
+ createdAt: Date;
3085
+ userId: number;
3086
+ signedUrl: string;
3087
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3088
+ } | null | undefined;
3089
+ nonCroppedFile?: {
3090
+ path: string;
3091
+ id: string;
3092
+ createdAt: Date;
3093
+ userId: number;
3094
+ signedUrl: string;
3095
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3096
+ } | null | undefined;
3097
+ }[] | null | undefined;
3098
+ invoices?: {
3099
+ type: "SALE" | "PURCHASE";
3100
+ status: string;
3101
+ id: string;
3102
+ createdAt: Date;
3103
+ userId: number;
3104
+ currency: string;
3105
+ orderId: string;
3106
+ updatedAt: Date;
3107
+ total: number;
3108
+ invoiceNumber: string;
3109
+ businessProfileId: string;
3110
+ issueDate: Date;
3111
+ subtotal: number;
3112
+ fileId?: string | null | undefined;
3113
+ file?: {
3114
+ path: string;
3115
+ id: string;
3116
+ createdAt: Date;
3117
+ userId: number;
3118
+ signedUrl: string;
3119
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3120
+ } | null | undefined;
3121
+ vatRate?: number | null | undefined;
3122
+ businessProfile?: {
3123
+ id: string;
3124
+ createdAt: Date;
3125
+ userId: number;
3126
+ updatedAt: Date;
3127
+ businessName: string;
3128
+ address: string;
3129
+ isActive: boolean;
3130
+ email?: string | null | undefined;
3131
+ phone?: string | null | undefined;
3132
+ siret?: string | null | undefined;
3133
+ vatNumber?: string | null | undefined;
3134
+ logoFileId?: string | null | undefined;
3135
+ logo?: {
3136
+ path: string;
3137
+ id: string;
3138
+ createdAt: Date;
3139
+ userId: number;
3140
+ signedUrl: string;
3141
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3142
+ } | null | undefined;
3143
+ } | null | undefined;
3144
+ customerId?: string | null | undefined;
3145
+ customer?: {
3146
+ id: string;
3147
+ userId: number;
3148
+ firstName: string;
3149
+ lastName: string;
3150
+ birthDate: Date;
3151
+ email: string;
3152
+ idNumber: string;
3153
+ phone: string;
3154
+ iban: string;
3155
+ bic: string;
3156
+ phoneVerified: boolean;
3157
+ addressLine1?: string | null | undefined;
3158
+ addressLine2?: string | null | undefined;
3159
+ city?: string | null | undefined;
3160
+ postalCode?: string | null | undefined;
3161
+ country?: string | null | undefined;
3162
+ } | null | undefined;
3163
+ dueDate?: Date | null | undefined;
3164
+ vatAmount?: number | null | undefined;
3165
+ notes?: string | null | undefined;
3166
+ lineItems?: {
3167
+ description: string;
3168
+ id: number;
3169
+ createdAt: Date;
3170
+ invoiceId: string;
3171
+ quantity: number;
3172
+ unitPrice: number;
3173
+ total: number;
3174
+ itemOnPlatformId?: string | null | undefined;
3175
+ vatRate?: number | null | undefined;
3176
+ }[] | null | undefined;
3177
+ }[] | null | undefined;
3178
+ }>>>;
2447
3179
  }, "strip", z.ZodTypeAny, {
2448
3180
  actions: {
2449
3181
  perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL")[]>;
@@ -2476,6 +3208,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2476
3208
  colorIds?: number[] | null | undefined;
2477
3209
  packageSizeId?: number | null | undefined;
2478
3210
  state?: number | null | undefined;
3211
+ measurementLength?: number | null | undefined;
3212
+ measurementWidth?: number | null | undefined;
2479
3213
  labels?: {
2480
3214
  itemId: number;
2481
3215
  labelId: number;
@@ -2562,6 +3296,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2562
3296
  sellingPrice?: number | null | undefined;
2563
3297
  sellingPlaceId?: number | null | undefined;
2564
3298
  feesSum?: number | null | undefined;
3299
+ materialIds?: number[] | null | undefined;
2565
3300
  enumValues?: {
2566
3301
  id: string;
2567
3302
  createdAt: Date;
@@ -2821,6 +3556,121 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2821
3556
  targetHistoryId?: string | null | undefined;
2822
3557
  } | null | undefined;
2823
3558
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
3559
+ order?: {
3560
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
3561
+ labels?: {
3562
+ id: string;
3563
+ fileId: string;
3564
+ orderId: string;
3565
+ nonCroppedFileId: string;
3566
+ originalFileId: string;
3567
+ originalFile?: {
3568
+ path: string;
3569
+ id: string;
3570
+ createdAt: Date;
3571
+ userId: number;
3572
+ signedUrl: string;
3573
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3574
+ } | null | undefined;
3575
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
3576
+ file?: {
3577
+ path: string;
3578
+ id: string;
3579
+ createdAt: Date;
3580
+ userId: number;
3581
+ signedUrl: string;
3582
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3583
+ } | null | undefined;
3584
+ nonCroppedFile?: {
3585
+ path: string;
3586
+ id: string;
3587
+ createdAt: Date;
3588
+ userId: number;
3589
+ signedUrl: string;
3590
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3591
+ } | null | undefined;
3592
+ }[] | null | undefined;
3593
+ invoices?: {
3594
+ type: "SALE" | "PURCHASE";
3595
+ status: string;
3596
+ id: string;
3597
+ createdAt: Date;
3598
+ userId: number;
3599
+ currency: string;
3600
+ orderId: string;
3601
+ updatedAt: Date;
3602
+ total: number;
3603
+ invoiceNumber: string;
3604
+ businessProfileId: string;
3605
+ issueDate: Date;
3606
+ subtotal: number;
3607
+ fileId?: string | null | undefined;
3608
+ file?: {
3609
+ path: string;
3610
+ id: string;
3611
+ createdAt: Date;
3612
+ userId: number;
3613
+ signedUrl: string;
3614
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3615
+ } | null | undefined;
3616
+ vatRate?: number | null | undefined;
3617
+ businessProfile?: {
3618
+ id: string;
3619
+ createdAt: Date;
3620
+ userId: number;
3621
+ updatedAt: Date;
3622
+ businessName: string;
3623
+ address: string;
3624
+ isActive: boolean;
3625
+ email?: string | null | undefined;
3626
+ phone?: string | null | undefined;
3627
+ siret?: string | null | undefined;
3628
+ vatNumber?: string | null | undefined;
3629
+ logoFileId?: string | null | undefined;
3630
+ logo?: {
3631
+ path: string;
3632
+ id: string;
3633
+ createdAt: Date;
3634
+ userId: number;
3635
+ signedUrl: string;
3636
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3637
+ } | null | undefined;
3638
+ } | null | undefined;
3639
+ customerId?: string | null | undefined;
3640
+ customer?: {
3641
+ id: string;
3642
+ userId: number;
3643
+ firstName: string;
3644
+ lastName: string;
3645
+ birthDate: Date;
3646
+ email: string;
3647
+ idNumber: string;
3648
+ phone: string;
3649
+ iban: string;
3650
+ bic: string;
3651
+ phoneVerified: boolean;
3652
+ addressLine1?: string | null | undefined;
3653
+ addressLine2?: string | null | undefined;
3654
+ city?: string | null | undefined;
3655
+ postalCode?: string | null | undefined;
3656
+ country?: string | null | undefined;
3657
+ } | null | undefined;
3658
+ dueDate?: Date | null | undefined;
3659
+ vatAmount?: number | null | undefined;
3660
+ notes?: string | null | undefined;
3661
+ lineItems?: {
3662
+ description: string;
3663
+ id: number;
3664
+ createdAt: Date;
3665
+ invoiceId: string;
3666
+ quantity: number;
3667
+ unitPrice: number;
3668
+ total: number;
3669
+ itemOnPlatformId?: string | null | undefined;
3670
+ vatRate?: number | null | undefined;
3671
+ }[] | null | undefined;
3672
+ }[] | null | undefined;
3673
+ } | null | undefined;
2824
3674
  }, {
2825
3675
  actions: {
2826
3676
  perAccount: Record<string, unknown[]>;
@@ -2853,6 +3703,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2853
3703
  colorIds?: number[] | null | undefined;
2854
3704
  packageSizeId?: number | null | undefined;
2855
3705
  state?: number | null | undefined;
3706
+ measurementLength?: number | null | undefined;
3707
+ measurementWidth?: number | null | undefined;
2856
3708
  labels?: {
2857
3709
  itemId: number;
2858
3710
  labelId: number;
@@ -2939,6 +3791,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2939
3791
  sellingPrice?: number | null | undefined;
2940
3792
  sellingPlaceId?: number | null | undefined;
2941
3793
  feesSum?: number | null | undefined;
3794
+ materialIds?: number[] | null | undefined;
2942
3795
  enumValues?: {
2943
3796
  id: string;
2944
3797
  createdAt: Date;
@@ -3198,6 +4051,121 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3198
4051
  targetHistoryId?: string | null | undefined;
3199
4052
  } | null | undefined;
3200
4053
  sourceInConversation?: unknown;
4054
+ order?: {
4055
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4056
+ labels?: {
4057
+ id: string;
4058
+ fileId: string;
4059
+ orderId: string;
4060
+ nonCroppedFileId: string;
4061
+ originalFileId: string;
4062
+ originalFile?: {
4063
+ path: string;
4064
+ id: string;
4065
+ createdAt: Date;
4066
+ userId: number;
4067
+ signedUrl: string;
4068
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4069
+ } | null | undefined;
4070
+ carrier?: unknown;
4071
+ file?: {
4072
+ path: string;
4073
+ id: string;
4074
+ createdAt: Date;
4075
+ userId: number;
4076
+ signedUrl: string;
4077
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4078
+ } | null | undefined;
4079
+ nonCroppedFile?: {
4080
+ path: string;
4081
+ id: string;
4082
+ createdAt: Date;
4083
+ userId: number;
4084
+ signedUrl: string;
4085
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4086
+ } | null | undefined;
4087
+ }[] | null | undefined;
4088
+ invoices?: {
4089
+ type: "SALE" | "PURCHASE";
4090
+ status: string;
4091
+ id: string;
4092
+ createdAt: Date;
4093
+ userId: number;
4094
+ currency: string;
4095
+ orderId: string;
4096
+ updatedAt: Date;
4097
+ total: number;
4098
+ invoiceNumber: string;
4099
+ businessProfileId: string;
4100
+ issueDate: Date;
4101
+ subtotal: number;
4102
+ fileId?: string | null | undefined;
4103
+ file?: {
4104
+ path: string;
4105
+ id: string;
4106
+ createdAt: Date;
4107
+ userId: number;
4108
+ signedUrl: string;
4109
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4110
+ } | null | undefined;
4111
+ vatRate?: number | null | undefined;
4112
+ businessProfile?: {
4113
+ id: string;
4114
+ createdAt: Date;
4115
+ userId: number;
4116
+ updatedAt: Date;
4117
+ businessName: string;
4118
+ address: string;
4119
+ isActive: boolean;
4120
+ email?: string | null | undefined;
4121
+ phone?: string | null | undefined;
4122
+ siret?: string | null | undefined;
4123
+ vatNumber?: string | null | undefined;
4124
+ logoFileId?: string | null | undefined;
4125
+ logo?: {
4126
+ path: string;
4127
+ id: string;
4128
+ createdAt: Date;
4129
+ userId: number;
4130
+ signedUrl: string;
4131
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4132
+ } | null | undefined;
4133
+ } | null | undefined;
4134
+ customerId?: string | null | undefined;
4135
+ customer?: {
4136
+ id: string;
4137
+ userId: number;
4138
+ firstName: string;
4139
+ lastName: string;
4140
+ birthDate: Date;
4141
+ email: string;
4142
+ idNumber: string;
4143
+ phone: string;
4144
+ iban: string;
4145
+ bic: string;
4146
+ phoneVerified: boolean;
4147
+ addressLine1?: string | null | undefined;
4148
+ addressLine2?: string | null | undefined;
4149
+ city?: string | null | undefined;
4150
+ postalCode?: string | null | undefined;
4151
+ country?: string | null | undefined;
4152
+ } | null | undefined;
4153
+ dueDate?: Date | null | undefined;
4154
+ vatAmount?: number | null | undefined;
4155
+ notes?: string | null | undefined;
4156
+ lineItems?: {
4157
+ description: string;
4158
+ id: number;
4159
+ createdAt: Date;
4160
+ invoiceId: string;
4161
+ quantity: number;
4162
+ unitPrice: number;
4163
+ total: number;
4164
+ itemOnPlatformId?: string | null | undefined;
4165
+ vatRate?: number | null | undefined;
4166
+ }[] | null | undefined;
4167
+ }[] | null | undefined;
4168
+ } | null | undefined;
3201
4169
  }>;
3202
4170
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3203
4171
  }, "strip", z.ZodTypeAny, {
@@ -3234,6 +4202,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3234
4202
  colorIds?: number[] | null | undefined;
3235
4203
  packageSizeId?: number | null | undefined;
3236
4204
  state?: number | null | undefined;
4205
+ measurementLength?: number | null | undefined;
4206
+ measurementWidth?: number | null | undefined;
3237
4207
  labels?: {
3238
4208
  itemId: number;
3239
4209
  labelId: number;
@@ -3320,6 +4290,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3320
4290
  sellingPrice?: number | null | undefined;
3321
4291
  sellingPlaceId?: number | null | undefined;
3322
4292
  feesSum?: number | null | undefined;
4293
+ materialIds?: number[] | null | undefined;
3323
4294
  enumValues?: {
3324
4295
  id: string;
3325
4296
  createdAt: Date;
@@ -3579,6 +4550,121 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3579
4550
  targetHistoryId?: string | null | undefined;
3580
4551
  } | null | undefined;
3581
4552
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
4553
+ order?: {
4554
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4555
+ labels?: {
4556
+ id: string;
4557
+ fileId: string;
4558
+ orderId: string;
4559
+ nonCroppedFileId: string;
4560
+ originalFileId: string;
4561
+ originalFile?: {
4562
+ path: string;
4563
+ id: string;
4564
+ createdAt: Date;
4565
+ userId: number;
4566
+ signedUrl: string;
4567
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4568
+ } | null | undefined;
4569
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
4570
+ file?: {
4571
+ path: string;
4572
+ id: string;
4573
+ createdAt: Date;
4574
+ userId: number;
4575
+ signedUrl: string;
4576
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4577
+ } | null | undefined;
4578
+ nonCroppedFile?: {
4579
+ path: string;
4580
+ id: string;
4581
+ createdAt: Date;
4582
+ userId: number;
4583
+ signedUrl: string;
4584
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4585
+ } | null | undefined;
4586
+ }[] | null | undefined;
4587
+ invoices?: {
4588
+ type: "SALE" | "PURCHASE";
4589
+ status: string;
4590
+ id: string;
4591
+ createdAt: Date;
4592
+ userId: number;
4593
+ currency: string;
4594
+ orderId: string;
4595
+ updatedAt: Date;
4596
+ total: number;
4597
+ invoiceNumber: string;
4598
+ businessProfileId: string;
4599
+ issueDate: Date;
4600
+ subtotal: number;
4601
+ fileId?: string | null | undefined;
4602
+ file?: {
4603
+ path: string;
4604
+ id: string;
4605
+ createdAt: Date;
4606
+ userId: number;
4607
+ signedUrl: string;
4608
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4609
+ } | null | undefined;
4610
+ vatRate?: number | null | undefined;
4611
+ businessProfile?: {
4612
+ id: string;
4613
+ createdAt: Date;
4614
+ userId: number;
4615
+ updatedAt: Date;
4616
+ businessName: string;
4617
+ address: string;
4618
+ isActive: boolean;
4619
+ email?: string | null | undefined;
4620
+ phone?: string | null | undefined;
4621
+ siret?: string | null | undefined;
4622
+ vatNumber?: string | null | undefined;
4623
+ logoFileId?: string | null | undefined;
4624
+ logo?: {
4625
+ path: string;
4626
+ id: string;
4627
+ createdAt: Date;
4628
+ userId: number;
4629
+ signedUrl: string;
4630
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4631
+ } | null | undefined;
4632
+ } | null | undefined;
4633
+ customerId?: string | null | undefined;
4634
+ customer?: {
4635
+ id: string;
4636
+ userId: number;
4637
+ firstName: string;
4638
+ lastName: string;
4639
+ birthDate: Date;
4640
+ email: string;
4641
+ idNumber: string;
4642
+ phone: string;
4643
+ iban: string;
4644
+ bic: string;
4645
+ phoneVerified: boolean;
4646
+ addressLine1?: string | null | undefined;
4647
+ addressLine2?: string | null | undefined;
4648
+ city?: string | null | undefined;
4649
+ postalCode?: string | null | undefined;
4650
+ country?: string | null | undefined;
4651
+ } | null | undefined;
4652
+ dueDate?: Date | null | undefined;
4653
+ vatAmount?: number | null | undefined;
4654
+ notes?: string | null | undefined;
4655
+ lineItems?: {
4656
+ description: string;
4657
+ id: number;
4658
+ createdAt: Date;
4659
+ invoiceId: string;
4660
+ quantity: number;
4661
+ unitPrice: number;
4662
+ total: number;
4663
+ itemOnPlatformId?: string | null | undefined;
4664
+ vatRate?: number | null | undefined;
4665
+ }[] | null | undefined;
4666
+ }[] | null | undefined;
4667
+ } | null | undefined;
3582
4668
  };
3583
4669
  deleted?: boolean | null | undefined;
3584
4670
  }, {
@@ -3615,6 +4701,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3615
4701
  colorIds?: number[] | null | undefined;
3616
4702
  packageSizeId?: number | null | undefined;
3617
4703
  state?: number | null | undefined;
4704
+ measurementLength?: number | null | undefined;
4705
+ measurementWidth?: number | null | undefined;
3618
4706
  labels?: {
3619
4707
  itemId: number;
3620
4708
  labelId: number;
@@ -3701,6 +4789,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3701
4789
  sellingPrice?: number | null | undefined;
3702
4790
  sellingPlaceId?: number | null | undefined;
3703
4791
  feesSum?: number | null | undefined;
4792
+ materialIds?: number[] | null | undefined;
3704
4793
  enumValues?: {
3705
4794
  id: string;
3706
4795
  createdAt: Date;
@@ -3960,6 +5049,121 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3960
5049
  targetHistoryId?: string | null | undefined;
3961
5050
  } | null | undefined;
3962
5051
  sourceInConversation?: unknown;
5052
+ order?: {
5053
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
5054
+ labels?: {
5055
+ id: string;
5056
+ fileId: string;
5057
+ orderId: string;
5058
+ nonCroppedFileId: string;
5059
+ originalFileId: string;
5060
+ originalFile?: {
5061
+ path: string;
5062
+ id: string;
5063
+ createdAt: Date;
5064
+ userId: number;
5065
+ signedUrl: string;
5066
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5067
+ } | null | undefined;
5068
+ carrier?: unknown;
5069
+ file?: {
5070
+ path: string;
5071
+ id: string;
5072
+ createdAt: Date;
5073
+ userId: number;
5074
+ signedUrl: string;
5075
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5076
+ } | null | undefined;
5077
+ nonCroppedFile?: {
5078
+ path: string;
5079
+ id: string;
5080
+ createdAt: Date;
5081
+ userId: number;
5082
+ signedUrl: string;
5083
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5084
+ } | null | undefined;
5085
+ }[] | null | undefined;
5086
+ invoices?: {
5087
+ type: "SALE" | "PURCHASE";
5088
+ status: string;
5089
+ id: string;
5090
+ createdAt: Date;
5091
+ userId: number;
5092
+ currency: string;
5093
+ orderId: string;
5094
+ updatedAt: Date;
5095
+ total: number;
5096
+ invoiceNumber: string;
5097
+ businessProfileId: string;
5098
+ issueDate: Date;
5099
+ subtotal: number;
5100
+ fileId?: string | null | undefined;
5101
+ file?: {
5102
+ path: string;
5103
+ id: string;
5104
+ createdAt: Date;
5105
+ userId: number;
5106
+ signedUrl: string;
5107
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5108
+ } | null | undefined;
5109
+ vatRate?: number | null | undefined;
5110
+ businessProfile?: {
5111
+ id: string;
5112
+ createdAt: Date;
5113
+ userId: number;
5114
+ updatedAt: Date;
5115
+ businessName: string;
5116
+ address: string;
5117
+ isActive: boolean;
5118
+ email?: string | null | undefined;
5119
+ phone?: string | null | undefined;
5120
+ siret?: string | null | undefined;
5121
+ vatNumber?: string | null | undefined;
5122
+ logoFileId?: string | null | undefined;
5123
+ logo?: {
5124
+ path: string;
5125
+ id: string;
5126
+ createdAt: Date;
5127
+ userId: number;
5128
+ signedUrl: string;
5129
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5130
+ } | null | undefined;
5131
+ } | null | undefined;
5132
+ customerId?: string | null | undefined;
5133
+ customer?: {
5134
+ id: string;
5135
+ userId: number;
5136
+ firstName: string;
5137
+ lastName: string;
5138
+ birthDate: Date;
5139
+ email: string;
5140
+ idNumber: string;
5141
+ phone: string;
5142
+ iban: string;
5143
+ bic: string;
5144
+ phoneVerified: boolean;
5145
+ addressLine1?: string | null | undefined;
5146
+ addressLine2?: string | null | undefined;
5147
+ city?: string | null | undefined;
5148
+ postalCode?: string | null | undefined;
5149
+ country?: string | null | undefined;
5150
+ } | null | undefined;
5151
+ dueDate?: Date | null | undefined;
5152
+ vatAmount?: number | null | undefined;
5153
+ notes?: string | null | undefined;
5154
+ lineItems?: {
5155
+ description: string;
5156
+ id: number;
5157
+ createdAt: Date;
5158
+ invoiceId: string;
5159
+ quantity: number;
5160
+ unitPrice: number;
5161
+ total: number;
5162
+ itemOnPlatformId?: string | null | undefined;
5163
+ vatRate?: number | null | undefined;
5164
+ }[] | null | undefined;
5165
+ }[] | null | undefined;
5166
+ } | null | undefined;
3963
5167
  };
3964
5168
  deleted?: boolean | null | undefined;
3965
5169
  }>;