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
@@ -1411,6 +1411,9 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1411
1411
  }>, "many">>>;
1412
1412
  colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1413
1413
  packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1414
+ materialIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1415
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1416
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1414
1417
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1415
1418
  itemId: z.ZodNumber;
1416
1419
  fieldId: z.ZodNumber;
@@ -3681,6 +3684,735 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3681
3684
  createdAt: z.ZodDate;
3682
3685
  updatedAt: z.ZodDate;
3683
3686
  sourceInConversation: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["ORDER", "TRANSACTION", "DELETED", "UNKNOWN"]>>>>;
3687
+ order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3688
+ transactionType: z.ZodEnum<["SINGLE_ITEM", "BUNDLE"]>;
3689
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3690
+ id: z.ZodString;
3691
+ orderId: z.ZodString;
3692
+ fileId: z.ZodString;
3693
+ nonCroppedFileId: z.ZodString;
3694
+ originalFileId: z.ZodString;
3695
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3696
+ id: z.ZodString;
3697
+ userId: z.ZodNumber;
3698
+ path: z.ZodString;
3699
+ signedUrl: z.ZodString;
3700
+ createdAt: z.ZodDate;
3701
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
3702
+ }, "strip", z.ZodTypeAny, {
3703
+ path: string;
3704
+ id: string;
3705
+ createdAt: Date;
3706
+ userId: number;
3707
+ signedUrl: string;
3708
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3709
+ }, {
3710
+ path: string;
3711
+ id: string;
3712
+ createdAt: Date;
3713
+ userId: number;
3714
+ signedUrl: string;
3715
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3716
+ }>>>;
3717
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3718
+ id: z.ZodString;
3719
+ userId: z.ZodNumber;
3720
+ path: z.ZodString;
3721
+ signedUrl: z.ZodString;
3722
+ createdAt: z.ZodDate;
3723
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
3724
+ }, "strip", z.ZodTypeAny, {
3725
+ path: string;
3726
+ id: string;
3727
+ createdAt: Date;
3728
+ userId: number;
3729
+ signedUrl: string;
3730
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3731
+ }, {
3732
+ path: string;
3733
+ id: string;
3734
+ createdAt: Date;
3735
+ userId: number;
3736
+ signedUrl: string;
3737
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3738
+ }>>>;
3739
+ originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3740
+ id: z.ZodString;
3741
+ userId: z.ZodNumber;
3742
+ path: z.ZodString;
3743
+ signedUrl: z.ZodString;
3744
+ createdAt: z.ZodDate;
3745
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
3746
+ }, "strip", z.ZodTypeAny, {
3747
+ path: string;
3748
+ id: string;
3749
+ createdAt: Date;
3750
+ userId: number;
3751
+ signedUrl: string;
3752
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3753
+ }, {
3754
+ path: string;
3755
+ id: string;
3756
+ createdAt: Date;
3757
+ userId: number;
3758
+ signedUrl: string;
3759
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3760
+ }>>>;
3761
+ 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"]>>>>;
3762
+ }, "strip", z.ZodTypeAny, {
3763
+ id: string;
3764
+ fileId: string;
3765
+ orderId: string;
3766
+ nonCroppedFileId: string;
3767
+ originalFileId: string;
3768
+ originalFile?: {
3769
+ path: string;
3770
+ id: string;
3771
+ createdAt: Date;
3772
+ userId: number;
3773
+ signedUrl: string;
3774
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3775
+ } | null | undefined;
3776
+ 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;
3777
+ file?: {
3778
+ path: string;
3779
+ id: string;
3780
+ createdAt: Date;
3781
+ userId: number;
3782
+ signedUrl: string;
3783
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3784
+ } | null | undefined;
3785
+ nonCroppedFile?: {
3786
+ path: string;
3787
+ id: string;
3788
+ createdAt: Date;
3789
+ userId: number;
3790
+ signedUrl: string;
3791
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3792
+ } | null | undefined;
3793
+ }, {
3794
+ id: string;
3795
+ fileId: string;
3796
+ orderId: string;
3797
+ nonCroppedFileId: string;
3798
+ originalFileId: string;
3799
+ originalFile?: {
3800
+ path: string;
3801
+ id: string;
3802
+ createdAt: Date;
3803
+ userId: number;
3804
+ signedUrl: string;
3805
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3806
+ } | null | undefined;
3807
+ carrier?: unknown;
3808
+ file?: {
3809
+ path: string;
3810
+ id: string;
3811
+ createdAt: Date;
3812
+ userId: number;
3813
+ signedUrl: string;
3814
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3815
+ } | null | undefined;
3816
+ nonCroppedFile?: {
3817
+ path: string;
3818
+ id: string;
3819
+ createdAt: Date;
3820
+ userId: number;
3821
+ signedUrl: string;
3822
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3823
+ } | null | undefined;
3824
+ }>, "many">>>;
3825
+ invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3826
+ id: z.ZodString;
3827
+ invoiceNumber: z.ZodString;
3828
+ userId: z.ZodNumber;
3829
+ businessProfileId: z.ZodString;
3830
+ businessProfile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3831
+ id: z.ZodString;
3832
+ userId: z.ZodNumber;
3833
+ businessName: z.ZodString;
3834
+ address: z.ZodString;
3835
+ siret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3836
+ vatNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3837
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3838
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3839
+ logoFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3840
+ logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3841
+ id: z.ZodString;
3842
+ userId: z.ZodNumber;
3843
+ path: z.ZodString;
3844
+ signedUrl: z.ZodString;
3845
+ createdAt: z.ZodDate;
3846
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
3847
+ }, "strip", z.ZodTypeAny, {
3848
+ path: string;
3849
+ id: string;
3850
+ createdAt: Date;
3851
+ userId: number;
3852
+ signedUrl: string;
3853
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3854
+ }, {
3855
+ path: string;
3856
+ id: string;
3857
+ createdAt: Date;
3858
+ userId: number;
3859
+ signedUrl: string;
3860
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3861
+ }>>>;
3862
+ isActive: z.ZodBoolean;
3863
+ createdAt: z.ZodDate;
3864
+ updatedAt: z.ZodDate;
3865
+ }, "strip", z.ZodTypeAny, {
3866
+ id: string;
3867
+ createdAt: Date;
3868
+ userId: number;
3869
+ updatedAt: Date;
3870
+ businessName: string;
3871
+ address: string;
3872
+ isActive: boolean;
3873
+ email?: string | null | undefined;
3874
+ phone?: string | null | undefined;
3875
+ siret?: string | null | undefined;
3876
+ vatNumber?: string | null | undefined;
3877
+ logoFileId?: string | null | undefined;
3878
+ logo?: {
3879
+ path: string;
3880
+ id: string;
3881
+ createdAt: Date;
3882
+ userId: number;
3883
+ signedUrl: string;
3884
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3885
+ } | null | undefined;
3886
+ }, {
3887
+ id: string;
3888
+ createdAt: Date;
3889
+ userId: number;
3890
+ updatedAt: Date;
3891
+ businessName: string;
3892
+ address: string;
3893
+ isActive: boolean;
3894
+ email?: string | null | undefined;
3895
+ phone?: string | null | undefined;
3896
+ siret?: string | null | undefined;
3897
+ vatNumber?: string | null | undefined;
3898
+ logoFileId?: string | null | undefined;
3899
+ logo?: {
3900
+ path: string;
3901
+ id: string;
3902
+ createdAt: Date;
3903
+ userId: number;
3904
+ signedUrl: string;
3905
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3906
+ } | null | undefined;
3907
+ }>>>;
3908
+ customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3909
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3910
+ id: z.ZodString;
3911
+ userId: z.ZodNumber;
3912
+ firstName: z.ZodString;
3913
+ lastName: z.ZodString;
3914
+ birthDate: z.ZodDate;
3915
+ email: z.ZodString;
3916
+ idNumber: z.ZodString;
3917
+ phone: z.ZodString;
3918
+ iban: z.ZodString;
3919
+ bic: z.ZodString;
3920
+ phoneVerified: z.ZodBoolean;
3921
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3922
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3923
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3924
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3925
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3926
+ }, "strip", z.ZodTypeAny, {
3927
+ id: string;
3928
+ userId: number;
3929
+ firstName: string;
3930
+ lastName: string;
3931
+ birthDate: Date;
3932
+ email: string;
3933
+ idNumber: string;
3934
+ phone: string;
3935
+ iban: string;
3936
+ bic: string;
3937
+ phoneVerified: boolean;
3938
+ addressLine1?: string | null | undefined;
3939
+ addressLine2?: string | null | undefined;
3940
+ city?: string | null | undefined;
3941
+ postalCode?: string | null | undefined;
3942
+ country?: string | null | undefined;
3943
+ }, {
3944
+ id: string;
3945
+ userId: number;
3946
+ firstName: string;
3947
+ lastName: string;
3948
+ birthDate: Date;
3949
+ email: string;
3950
+ idNumber: string;
3951
+ phone: string;
3952
+ iban: string;
3953
+ bic: string;
3954
+ phoneVerified: boolean;
3955
+ addressLine1?: string | null | undefined;
3956
+ addressLine2?: string | null | undefined;
3957
+ city?: string | null | undefined;
3958
+ postalCode?: string | null | undefined;
3959
+ country?: string | null | undefined;
3960
+ }>>>;
3961
+ orderId: z.ZodString;
3962
+ fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3963
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3964
+ id: z.ZodString;
3965
+ userId: z.ZodNumber;
3966
+ path: z.ZodString;
3967
+ signedUrl: z.ZodString;
3968
+ createdAt: z.ZodDate;
3969
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
3970
+ }, "strip", z.ZodTypeAny, {
3971
+ path: string;
3972
+ id: string;
3973
+ createdAt: Date;
3974
+ userId: number;
3975
+ signedUrl: string;
3976
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3977
+ }, {
3978
+ path: string;
3979
+ id: string;
3980
+ createdAt: Date;
3981
+ userId: number;
3982
+ signedUrl: string;
3983
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3984
+ }>>>;
3985
+ type: z.ZodEnum<["PURCHASE", "SALE"]>;
3986
+ status: z.ZodString;
3987
+ issueDate: z.ZodDate;
3988
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3989
+ subtotal: z.ZodNumber;
3990
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3991
+ vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3992
+ total: z.ZodNumber;
3993
+ currency: z.ZodString;
3994
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3995
+ lineItems: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3996
+ id: z.ZodNumber;
3997
+ invoiceId: z.ZodString;
3998
+ itemOnPlatformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3999
+ description: z.ZodString;
4000
+ quantity: z.ZodNumber;
4001
+ unitPrice: z.ZodNumber;
4002
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4003
+ total: z.ZodNumber;
4004
+ createdAt: z.ZodDate;
4005
+ }, "strip", z.ZodTypeAny, {
4006
+ description: string;
4007
+ id: number;
4008
+ createdAt: Date;
4009
+ invoiceId: string;
4010
+ quantity: number;
4011
+ unitPrice: number;
4012
+ total: number;
4013
+ itemOnPlatformId?: string | null | undefined;
4014
+ vatRate?: number | null | undefined;
4015
+ }, {
4016
+ description: string;
4017
+ id: number;
4018
+ createdAt: Date;
4019
+ invoiceId: string;
4020
+ quantity: number;
4021
+ unitPrice: number;
4022
+ total: number;
4023
+ itemOnPlatformId?: string | null | undefined;
4024
+ vatRate?: number | null | undefined;
4025
+ }>, "many">>>;
4026
+ createdAt: z.ZodDate;
4027
+ updatedAt: z.ZodDate;
4028
+ }, "strip", z.ZodTypeAny, {
4029
+ type: "SALE" | "PURCHASE";
4030
+ status: string;
4031
+ id: string;
4032
+ createdAt: Date;
4033
+ userId: number;
4034
+ currency: string;
4035
+ orderId: string;
4036
+ updatedAt: Date;
4037
+ total: number;
4038
+ invoiceNumber: string;
4039
+ businessProfileId: string;
4040
+ issueDate: Date;
4041
+ subtotal: number;
4042
+ fileId?: string | null | undefined;
4043
+ file?: {
4044
+ path: string;
4045
+ id: string;
4046
+ createdAt: Date;
4047
+ userId: number;
4048
+ signedUrl: string;
4049
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4050
+ } | null | undefined;
4051
+ vatRate?: number | null | undefined;
4052
+ businessProfile?: {
4053
+ id: string;
4054
+ createdAt: Date;
4055
+ userId: number;
4056
+ updatedAt: Date;
4057
+ businessName: string;
4058
+ address: string;
4059
+ isActive: boolean;
4060
+ email?: string | null | undefined;
4061
+ phone?: string | null | undefined;
4062
+ siret?: string | null | undefined;
4063
+ vatNumber?: string | null | undefined;
4064
+ logoFileId?: string | null | undefined;
4065
+ logo?: {
4066
+ path: string;
4067
+ id: string;
4068
+ createdAt: Date;
4069
+ userId: number;
4070
+ signedUrl: string;
4071
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4072
+ } | null | undefined;
4073
+ } | null | undefined;
4074
+ customerId?: string | null | undefined;
4075
+ customer?: {
4076
+ id: string;
4077
+ userId: number;
4078
+ firstName: string;
4079
+ lastName: string;
4080
+ birthDate: Date;
4081
+ email: string;
4082
+ idNumber: string;
4083
+ phone: string;
4084
+ iban: string;
4085
+ bic: string;
4086
+ phoneVerified: boolean;
4087
+ addressLine1?: string | null | undefined;
4088
+ addressLine2?: string | null | undefined;
4089
+ city?: string | null | undefined;
4090
+ postalCode?: string | null | undefined;
4091
+ country?: string | null | undefined;
4092
+ } | null | undefined;
4093
+ dueDate?: Date | null | undefined;
4094
+ vatAmount?: number | null | undefined;
4095
+ notes?: string | null | undefined;
4096
+ lineItems?: {
4097
+ description: string;
4098
+ id: number;
4099
+ createdAt: Date;
4100
+ invoiceId: string;
4101
+ quantity: number;
4102
+ unitPrice: number;
4103
+ total: number;
4104
+ itemOnPlatformId?: string | null | undefined;
4105
+ vatRate?: number | null | undefined;
4106
+ }[] | null | undefined;
4107
+ }, {
4108
+ type: "SALE" | "PURCHASE";
4109
+ status: string;
4110
+ id: string;
4111
+ createdAt: Date;
4112
+ userId: number;
4113
+ currency: string;
4114
+ orderId: string;
4115
+ updatedAt: Date;
4116
+ total: number;
4117
+ invoiceNumber: string;
4118
+ businessProfileId: string;
4119
+ issueDate: Date;
4120
+ subtotal: number;
4121
+ fileId?: string | null | undefined;
4122
+ file?: {
4123
+ path: string;
4124
+ id: string;
4125
+ createdAt: Date;
4126
+ userId: number;
4127
+ signedUrl: string;
4128
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4129
+ } | null | undefined;
4130
+ vatRate?: number | null | undefined;
4131
+ businessProfile?: {
4132
+ id: string;
4133
+ createdAt: Date;
4134
+ userId: number;
4135
+ updatedAt: Date;
4136
+ businessName: string;
4137
+ address: string;
4138
+ isActive: boolean;
4139
+ email?: string | null | undefined;
4140
+ phone?: string | null | undefined;
4141
+ siret?: string | null | undefined;
4142
+ vatNumber?: string | null | undefined;
4143
+ logoFileId?: string | null | undefined;
4144
+ logo?: {
4145
+ path: string;
4146
+ id: string;
4147
+ createdAt: Date;
4148
+ userId: number;
4149
+ signedUrl: string;
4150
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4151
+ } | null | undefined;
4152
+ } | null | undefined;
4153
+ customerId?: string | null | undefined;
4154
+ customer?: {
4155
+ id: string;
4156
+ userId: number;
4157
+ firstName: string;
4158
+ lastName: string;
4159
+ birthDate: Date;
4160
+ email: string;
4161
+ idNumber: string;
4162
+ phone: string;
4163
+ iban: string;
4164
+ bic: string;
4165
+ phoneVerified: boolean;
4166
+ addressLine1?: string | null | undefined;
4167
+ addressLine2?: string | null | undefined;
4168
+ city?: string | null | undefined;
4169
+ postalCode?: string | null | undefined;
4170
+ country?: string | null | undefined;
4171
+ } | null | undefined;
4172
+ dueDate?: Date | null | undefined;
4173
+ vatAmount?: number | null | undefined;
4174
+ notes?: string | null | undefined;
4175
+ lineItems?: {
4176
+ description: string;
4177
+ id: number;
4178
+ createdAt: Date;
4179
+ invoiceId: string;
4180
+ quantity: number;
4181
+ unitPrice: number;
4182
+ total: number;
4183
+ itemOnPlatformId?: string | null | undefined;
4184
+ vatRate?: number | null | undefined;
4185
+ }[] | null | undefined;
4186
+ }>, "many">>>;
4187
+ }, "strip", z.ZodTypeAny, {
4188
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4189
+ labels?: {
4190
+ id: string;
4191
+ fileId: string;
4192
+ orderId: string;
4193
+ nonCroppedFileId: string;
4194
+ originalFileId: string;
4195
+ originalFile?: {
4196
+ path: string;
4197
+ id: string;
4198
+ createdAt: Date;
4199
+ userId: number;
4200
+ signedUrl: string;
4201
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4202
+ } | null | undefined;
4203
+ 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;
4204
+ file?: {
4205
+ path: string;
4206
+ id: string;
4207
+ createdAt: Date;
4208
+ userId: number;
4209
+ signedUrl: string;
4210
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4211
+ } | null | undefined;
4212
+ nonCroppedFile?: {
4213
+ path: string;
4214
+ id: string;
4215
+ createdAt: Date;
4216
+ userId: number;
4217
+ signedUrl: string;
4218
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4219
+ } | null | undefined;
4220
+ }[] | null | undefined;
4221
+ invoices?: {
4222
+ type: "SALE" | "PURCHASE";
4223
+ status: string;
4224
+ id: string;
4225
+ createdAt: Date;
4226
+ userId: number;
4227
+ currency: string;
4228
+ orderId: string;
4229
+ updatedAt: Date;
4230
+ total: number;
4231
+ invoiceNumber: string;
4232
+ businessProfileId: string;
4233
+ issueDate: Date;
4234
+ subtotal: number;
4235
+ fileId?: string | null | undefined;
4236
+ file?: {
4237
+ path: string;
4238
+ id: string;
4239
+ createdAt: Date;
4240
+ userId: number;
4241
+ signedUrl: string;
4242
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4243
+ } | null | undefined;
4244
+ vatRate?: number | null | undefined;
4245
+ businessProfile?: {
4246
+ id: string;
4247
+ createdAt: Date;
4248
+ userId: number;
4249
+ updatedAt: Date;
4250
+ businessName: string;
4251
+ address: string;
4252
+ isActive: boolean;
4253
+ email?: string | null | undefined;
4254
+ phone?: string | null | undefined;
4255
+ siret?: string | null | undefined;
4256
+ vatNumber?: string | null | undefined;
4257
+ logoFileId?: string | null | undefined;
4258
+ logo?: {
4259
+ path: string;
4260
+ id: string;
4261
+ createdAt: Date;
4262
+ userId: number;
4263
+ signedUrl: string;
4264
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4265
+ } | null | undefined;
4266
+ } | null | undefined;
4267
+ customerId?: string | null | undefined;
4268
+ customer?: {
4269
+ id: string;
4270
+ userId: number;
4271
+ firstName: string;
4272
+ lastName: string;
4273
+ birthDate: Date;
4274
+ email: string;
4275
+ idNumber: string;
4276
+ phone: string;
4277
+ iban: string;
4278
+ bic: string;
4279
+ phoneVerified: boolean;
4280
+ addressLine1?: string | null | undefined;
4281
+ addressLine2?: string | null | undefined;
4282
+ city?: string | null | undefined;
4283
+ postalCode?: string | null | undefined;
4284
+ country?: string | null | undefined;
4285
+ } | null | undefined;
4286
+ dueDate?: Date | null | undefined;
4287
+ vatAmount?: number | null | undefined;
4288
+ notes?: string | null | undefined;
4289
+ lineItems?: {
4290
+ description: string;
4291
+ id: number;
4292
+ createdAt: Date;
4293
+ invoiceId: string;
4294
+ quantity: number;
4295
+ unitPrice: number;
4296
+ total: number;
4297
+ itemOnPlatformId?: string | null | undefined;
4298
+ vatRate?: number | null | undefined;
4299
+ }[] | null | undefined;
4300
+ }[] | null | undefined;
4301
+ }, {
4302
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4303
+ labels?: {
4304
+ id: string;
4305
+ fileId: string;
4306
+ orderId: string;
4307
+ nonCroppedFileId: string;
4308
+ originalFileId: string;
4309
+ originalFile?: {
4310
+ path: string;
4311
+ id: string;
4312
+ createdAt: Date;
4313
+ userId: number;
4314
+ signedUrl: string;
4315
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4316
+ } | null | undefined;
4317
+ carrier?: unknown;
4318
+ file?: {
4319
+ path: string;
4320
+ id: string;
4321
+ createdAt: Date;
4322
+ userId: number;
4323
+ signedUrl: string;
4324
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4325
+ } | null | undefined;
4326
+ nonCroppedFile?: {
4327
+ path: string;
4328
+ id: string;
4329
+ createdAt: Date;
4330
+ userId: number;
4331
+ signedUrl: string;
4332
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4333
+ } | null | undefined;
4334
+ }[] | null | undefined;
4335
+ invoices?: {
4336
+ type: "SALE" | "PURCHASE";
4337
+ status: string;
4338
+ id: string;
4339
+ createdAt: Date;
4340
+ userId: number;
4341
+ currency: string;
4342
+ orderId: string;
4343
+ updatedAt: Date;
4344
+ total: number;
4345
+ invoiceNumber: string;
4346
+ businessProfileId: string;
4347
+ issueDate: Date;
4348
+ subtotal: number;
4349
+ fileId?: string | null | undefined;
4350
+ file?: {
4351
+ path: string;
4352
+ id: string;
4353
+ createdAt: Date;
4354
+ userId: number;
4355
+ signedUrl: string;
4356
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4357
+ } | null | undefined;
4358
+ vatRate?: number | null | undefined;
4359
+ businessProfile?: {
4360
+ id: string;
4361
+ createdAt: Date;
4362
+ userId: number;
4363
+ updatedAt: Date;
4364
+ businessName: string;
4365
+ address: string;
4366
+ isActive: boolean;
4367
+ email?: string | null | undefined;
4368
+ phone?: string | null | undefined;
4369
+ siret?: string | null | undefined;
4370
+ vatNumber?: string | null | undefined;
4371
+ logoFileId?: string | null | undefined;
4372
+ logo?: {
4373
+ path: string;
4374
+ id: string;
4375
+ createdAt: Date;
4376
+ userId: number;
4377
+ signedUrl: string;
4378
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4379
+ } | null | undefined;
4380
+ } | null | undefined;
4381
+ customerId?: string | null | undefined;
4382
+ customer?: {
4383
+ id: string;
4384
+ userId: number;
4385
+ firstName: string;
4386
+ lastName: string;
4387
+ birthDate: Date;
4388
+ email: string;
4389
+ idNumber: string;
4390
+ phone: string;
4391
+ iban: string;
4392
+ bic: string;
4393
+ phoneVerified: boolean;
4394
+ addressLine1?: string | null | undefined;
4395
+ addressLine2?: string | null | undefined;
4396
+ city?: string | null | undefined;
4397
+ postalCode?: string | null | undefined;
4398
+ country?: string | null | undefined;
4399
+ } | null | undefined;
4400
+ dueDate?: Date | null | undefined;
4401
+ vatAmount?: number | null | undefined;
4402
+ notes?: string | null | undefined;
4403
+ lineItems?: {
4404
+ description: string;
4405
+ id: number;
4406
+ createdAt: Date;
4407
+ invoiceId: string;
4408
+ quantity: number;
4409
+ unitPrice: number;
4410
+ total: number;
4411
+ itemOnPlatformId?: string | null | undefined;
4412
+ vatRate?: number | null | undefined;
4413
+ }[] | null | undefined;
4414
+ }[] | null | undefined;
4415
+ }>>>;
3684
4416
  }, "strip", z.ZodTypeAny, {
3685
4417
  actions: {
3686
4418
  perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL")[]>;
@@ -3713,6 +4445,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3713
4445
  colorIds?: number[] | null | undefined;
3714
4446
  packageSizeId?: number | null | undefined;
3715
4447
  state?: number | null | undefined;
4448
+ measurementLength?: number | null | undefined;
4449
+ measurementWidth?: number | null | undefined;
3716
4450
  labels?: {
3717
4451
  itemId: number;
3718
4452
  labelId: number;
@@ -3799,6 +4533,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3799
4533
  sellingPrice?: number | null | undefined;
3800
4534
  sellingPlaceId?: number | null | undefined;
3801
4535
  feesSum?: number | null | undefined;
4536
+ materialIds?: number[] | null | undefined;
3802
4537
  enumValues?: {
3803
4538
  id: string;
3804
4539
  createdAt: Date;
@@ -4058,6 +4793,121 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4058
4793
  targetHistoryId?: string | null | undefined;
4059
4794
  } | null | undefined;
4060
4795
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
4796
+ order?: {
4797
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4798
+ labels?: {
4799
+ id: string;
4800
+ fileId: string;
4801
+ orderId: string;
4802
+ nonCroppedFileId: string;
4803
+ originalFileId: string;
4804
+ originalFile?: {
4805
+ path: string;
4806
+ id: string;
4807
+ createdAt: Date;
4808
+ userId: number;
4809
+ signedUrl: string;
4810
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4811
+ } | null | undefined;
4812
+ 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;
4813
+ file?: {
4814
+ path: string;
4815
+ id: string;
4816
+ createdAt: Date;
4817
+ userId: number;
4818
+ signedUrl: string;
4819
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4820
+ } | null | undefined;
4821
+ nonCroppedFile?: {
4822
+ path: string;
4823
+ id: string;
4824
+ createdAt: Date;
4825
+ userId: number;
4826
+ signedUrl: string;
4827
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4828
+ } | null | undefined;
4829
+ }[] | null | undefined;
4830
+ invoices?: {
4831
+ type: "SALE" | "PURCHASE";
4832
+ status: string;
4833
+ id: string;
4834
+ createdAt: Date;
4835
+ userId: number;
4836
+ currency: string;
4837
+ orderId: string;
4838
+ updatedAt: Date;
4839
+ total: number;
4840
+ invoiceNumber: string;
4841
+ businessProfileId: string;
4842
+ issueDate: Date;
4843
+ subtotal: number;
4844
+ fileId?: string | null | undefined;
4845
+ file?: {
4846
+ path: string;
4847
+ id: string;
4848
+ createdAt: Date;
4849
+ userId: number;
4850
+ signedUrl: string;
4851
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4852
+ } | null | undefined;
4853
+ vatRate?: number | null | undefined;
4854
+ businessProfile?: {
4855
+ id: string;
4856
+ createdAt: Date;
4857
+ userId: number;
4858
+ updatedAt: Date;
4859
+ businessName: string;
4860
+ address: string;
4861
+ isActive: boolean;
4862
+ email?: string | null | undefined;
4863
+ phone?: string | null | undefined;
4864
+ siret?: string | null | undefined;
4865
+ vatNumber?: string | null | undefined;
4866
+ logoFileId?: string | null | undefined;
4867
+ logo?: {
4868
+ path: string;
4869
+ id: string;
4870
+ createdAt: Date;
4871
+ userId: number;
4872
+ signedUrl: string;
4873
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4874
+ } | null | undefined;
4875
+ } | null | undefined;
4876
+ customerId?: string | null | undefined;
4877
+ customer?: {
4878
+ id: string;
4879
+ userId: number;
4880
+ firstName: string;
4881
+ lastName: string;
4882
+ birthDate: Date;
4883
+ email: string;
4884
+ idNumber: string;
4885
+ phone: string;
4886
+ iban: string;
4887
+ bic: string;
4888
+ phoneVerified: boolean;
4889
+ addressLine1?: string | null | undefined;
4890
+ addressLine2?: string | null | undefined;
4891
+ city?: string | null | undefined;
4892
+ postalCode?: string | null | undefined;
4893
+ country?: string | null | undefined;
4894
+ } | null | undefined;
4895
+ dueDate?: Date | null | undefined;
4896
+ vatAmount?: number | null | undefined;
4897
+ notes?: string | null | undefined;
4898
+ lineItems?: {
4899
+ description: string;
4900
+ id: number;
4901
+ createdAt: Date;
4902
+ invoiceId: string;
4903
+ quantity: number;
4904
+ unitPrice: number;
4905
+ total: number;
4906
+ itemOnPlatformId?: string | null | undefined;
4907
+ vatRate?: number | null | undefined;
4908
+ }[] | null | undefined;
4909
+ }[] | null | undefined;
4910
+ } | null | undefined;
4061
4911
  }, {
4062
4912
  actions: {
4063
4913
  perAccount: Record<string, unknown[]>;
@@ -4090,6 +4940,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4090
4940
  colorIds?: number[] | null | undefined;
4091
4941
  packageSizeId?: number | null | undefined;
4092
4942
  state?: number | null | undefined;
4943
+ measurementLength?: number | null | undefined;
4944
+ measurementWidth?: number | null | undefined;
4093
4945
  labels?: {
4094
4946
  itemId: number;
4095
4947
  labelId: number;
@@ -4176,6 +5028,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4176
5028
  sellingPrice?: number | null | undefined;
4177
5029
  sellingPlaceId?: number | null | undefined;
4178
5030
  feesSum?: number | null | undefined;
5031
+ materialIds?: number[] | null | undefined;
4179
5032
  enumValues?: {
4180
5033
  id: string;
4181
5034
  createdAt: Date;
@@ -4435,6 +5288,121 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4435
5288
  targetHistoryId?: string | null | undefined;
4436
5289
  } | null | undefined;
4437
5290
  sourceInConversation?: unknown;
5291
+ order?: {
5292
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
5293
+ labels?: {
5294
+ id: string;
5295
+ fileId: string;
5296
+ orderId: string;
5297
+ nonCroppedFileId: string;
5298
+ originalFileId: string;
5299
+ originalFile?: {
5300
+ path: string;
5301
+ id: string;
5302
+ createdAt: Date;
5303
+ userId: number;
5304
+ signedUrl: string;
5305
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5306
+ } | null | undefined;
5307
+ carrier?: unknown;
5308
+ file?: {
5309
+ path: string;
5310
+ id: string;
5311
+ createdAt: Date;
5312
+ userId: number;
5313
+ signedUrl: string;
5314
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5315
+ } | null | undefined;
5316
+ nonCroppedFile?: {
5317
+ path: string;
5318
+ id: string;
5319
+ createdAt: Date;
5320
+ userId: number;
5321
+ signedUrl: string;
5322
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5323
+ } | null | undefined;
5324
+ }[] | null | undefined;
5325
+ invoices?: {
5326
+ type: "SALE" | "PURCHASE";
5327
+ status: string;
5328
+ id: string;
5329
+ createdAt: Date;
5330
+ userId: number;
5331
+ currency: string;
5332
+ orderId: string;
5333
+ updatedAt: Date;
5334
+ total: number;
5335
+ invoiceNumber: string;
5336
+ businessProfileId: string;
5337
+ issueDate: Date;
5338
+ subtotal: number;
5339
+ fileId?: string | null | undefined;
5340
+ file?: {
5341
+ path: string;
5342
+ id: string;
5343
+ createdAt: Date;
5344
+ userId: number;
5345
+ signedUrl: string;
5346
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5347
+ } | null | undefined;
5348
+ vatRate?: number | null | undefined;
5349
+ businessProfile?: {
5350
+ id: string;
5351
+ createdAt: Date;
5352
+ userId: number;
5353
+ updatedAt: Date;
5354
+ businessName: string;
5355
+ address: string;
5356
+ isActive: boolean;
5357
+ email?: string | null | undefined;
5358
+ phone?: string | null | undefined;
5359
+ siret?: string | null | undefined;
5360
+ vatNumber?: string | null | undefined;
5361
+ logoFileId?: string | null | undefined;
5362
+ logo?: {
5363
+ path: string;
5364
+ id: string;
5365
+ createdAt: Date;
5366
+ userId: number;
5367
+ signedUrl: string;
5368
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5369
+ } | null | undefined;
5370
+ } | null | undefined;
5371
+ customerId?: string | null | undefined;
5372
+ customer?: {
5373
+ id: string;
5374
+ userId: number;
5375
+ firstName: string;
5376
+ lastName: string;
5377
+ birthDate: Date;
5378
+ email: string;
5379
+ idNumber: string;
5380
+ phone: string;
5381
+ iban: string;
5382
+ bic: string;
5383
+ phoneVerified: boolean;
5384
+ addressLine1?: string | null | undefined;
5385
+ addressLine2?: string | null | undefined;
5386
+ city?: string | null | undefined;
5387
+ postalCode?: string | null | undefined;
5388
+ country?: string | null | undefined;
5389
+ } | null | undefined;
5390
+ dueDate?: Date | null | undefined;
5391
+ vatAmount?: number | null | undefined;
5392
+ notes?: string | null | undefined;
5393
+ lineItems?: {
5394
+ description: string;
5395
+ id: number;
5396
+ createdAt: Date;
5397
+ invoiceId: string;
5398
+ quantity: number;
5399
+ unitPrice: number;
5400
+ total: number;
5401
+ itemOnPlatformId?: string | null | undefined;
5402
+ vatRate?: number | null | undefined;
5403
+ }[] | null | undefined;
5404
+ }[] | null | undefined;
5405
+ } | null | undefined;
4438
5406
  }>, "many">;
4439
5407
  }, "strip", z.ZodTypeAny, {
4440
5408
  items: {
@@ -4469,6 +5437,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4469
5437
  colorIds?: number[] | null | undefined;
4470
5438
  packageSizeId?: number | null | undefined;
4471
5439
  state?: number | null | undefined;
5440
+ measurementLength?: number | null | undefined;
5441
+ measurementWidth?: number | null | undefined;
4472
5442
  labels?: {
4473
5443
  itemId: number;
4474
5444
  labelId: number;
@@ -4555,6 +5525,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4555
5525
  sellingPrice?: number | null | undefined;
4556
5526
  sellingPlaceId?: number | null | undefined;
4557
5527
  feesSum?: number | null | undefined;
5528
+ materialIds?: number[] | null | undefined;
4558
5529
  enumValues?: {
4559
5530
  id: string;
4560
5531
  createdAt: Date;
@@ -4814,6 +5785,121 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4814
5785
  targetHistoryId?: string | null | undefined;
4815
5786
  } | null | undefined;
4816
5787
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
5788
+ order?: {
5789
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
5790
+ labels?: {
5791
+ id: string;
5792
+ fileId: string;
5793
+ orderId: string;
5794
+ nonCroppedFileId: string;
5795
+ originalFileId: string;
5796
+ originalFile?: {
5797
+ path: string;
5798
+ id: string;
5799
+ createdAt: Date;
5800
+ userId: number;
5801
+ signedUrl: string;
5802
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5803
+ } | null | undefined;
5804
+ 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;
5805
+ file?: {
5806
+ path: string;
5807
+ id: string;
5808
+ createdAt: Date;
5809
+ userId: number;
5810
+ signedUrl: string;
5811
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5812
+ } | null | undefined;
5813
+ nonCroppedFile?: {
5814
+ path: string;
5815
+ id: string;
5816
+ createdAt: Date;
5817
+ userId: number;
5818
+ signedUrl: string;
5819
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5820
+ } | null | undefined;
5821
+ }[] | null | undefined;
5822
+ invoices?: {
5823
+ type: "SALE" | "PURCHASE";
5824
+ status: string;
5825
+ id: string;
5826
+ createdAt: Date;
5827
+ userId: number;
5828
+ currency: string;
5829
+ orderId: string;
5830
+ updatedAt: Date;
5831
+ total: number;
5832
+ invoiceNumber: string;
5833
+ businessProfileId: string;
5834
+ issueDate: Date;
5835
+ subtotal: number;
5836
+ fileId?: string | null | undefined;
5837
+ file?: {
5838
+ path: string;
5839
+ id: string;
5840
+ createdAt: Date;
5841
+ userId: number;
5842
+ signedUrl: string;
5843
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5844
+ } | null | undefined;
5845
+ vatRate?: number | null | undefined;
5846
+ businessProfile?: {
5847
+ id: string;
5848
+ createdAt: Date;
5849
+ userId: number;
5850
+ updatedAt: Date;
5851
+ businessName: string;
5852
+ address: string;
5853
+ isActive: boolean;
5854
+ email?: string | null | undefined;
5855
+ phone?: string | null | undefined;
5856
+ siret?: string | null | undefined;
5857
+ vatNumber?: string | null | undefined;
5858
+ logoFileId?: string | null | undefined;
5859
+ logo?: {
5860
+ path: string;
5861
+ id: string;
5862
+ createdAt: Date;
5863
+ userId: number;
5864
+ signedUrl: string;
5865
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5866
+ } | null | undefined;
5867
+ } | null | undefined;
5868
+ customerId?: string | null | undefined;
5869
+ customer?: {
5870
+ id: string;
5871
+ userId: number;
5872
+ firstName: string;
5873
+ lastName: string;
5874
+ birthDate: Date;
5875
+ email: string;
5876
+ idNumber: string;
5877
+ phone: string;
5878
+ iban: string;
5879
+ bic: string;
5880
+ phoneVerified: boolean;
5881
+ addressLine1?: string | null | undefined;
5882
+ addressLine2?: string | null | undefined;
5883
+ city?: string | null | undefined;
5884
+ postalCode?: string | null | undefined;
5885
+ country?: string | null | undefined;
5886
+ } | null | undefined;
5887
+ dueDate?: Date | null | undefined;
5888
+ vatAmount?: number | null | undefined;
5889
+ notes?: string | null | undefined;
5890
+ lineItems?: {
5891
+ description: string;
5892
+ id: number;
5893
+ createdAt: Date;
5894
+ invoiceId: string;
5895
+ quantity: number;
5896
+ unitPrice: number;
5897
+ total: number;
5898
+ itemOnPlatformId?: string | null | undefined;
5899
+ vatRate?: number | null | undefined;
5900
+ }[] | null | undefined;
5901
+ }[] | null | undefined;
5902
+ } | null | undefined;
4817
5903
  }[];
4818
5904
  order: {
4819
5905
  type: "SALE" | "PURCHASE";
@@ -5036,6 +6122,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5036
6122
  colorIds?: number[] | null | undefined;
5037
6123
  packageSizeId?: number | null | undefined;
5038
6124
  state?: number | null | undefined;
6125
+ measurementLength?: number | null | undefined;
6126
+ measurementWidth?: number | null | undefined;
5039
6127
  labels?: {
5040
6128
  itemId: number;
5041
6129
  labelId: number;
@@ -5122,6 +6210,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5122
6210
  sellingPrice?: number | null | undefined;
5123
6211
  sellingPlaceId?: number | null | undefined;
5124
6212
  feesSum?: number | null | undefined;
6213
+ materialIds?: number[] | null | undefined;
5125
6214
  enumValues?: {
5126
6215
  id: string;
5127
6216
  createdAt: Date;
@@ -5381,6 +6470,121 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5381
6470
  targetHistoryId?: string | null | undefined;
5382
6471
  } | null | undefined;
5383
6472
  sourceInConversation?: unknown;
6473
+ order?: {
6474
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
6475
+ labels?: {
6476
+ id: string;
6477
+ fileId: string;
6478
+ orderId: string;
6479
+ nonCroppedFileId: string;
6480
+ originalFileId: string;
6481
+ originalFile?: {
6482
+ path: string;
6483
+ id: string;
6484
+ createdAt: Date;
6485
+ userId: number;
6486
+ signedUrl: string;
6487
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
6488
+ } | null | undefined;
6489
+ carrier?: unknown;
6490
+ file?: {
6491
+ path: string;
6492
+ id: string;
6493
+ createdAt: Date;
6494
+ userId: number;
6495
+ signedUrl: string;
6496
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
6497
+ } | null | undefined;
6498
+ nonCroppedFile?: {
6499
+ path: string;
6500
+ id: string;
6501
+ createdAt: Date;
6502
+ userId: number;
6503
+ signedUrl: string;
6504
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
6505
+ } | null | undefined;
6506
+ }[] | null | undefined;
6507
+ invoices?: {
6508
+ type: "SALE" | "PURCHASE";
6509
+ status: string;
6510
+ id: string;
6511
+ createdAt: Date;
6512
+ userId: number;
6513
+ currency: string;
6514
+ orderId: string;
6515
+ updatedAt: Date;
6516
+ total: number;
6517
+ invoiceNumber: string;
6518
+ businessProfileId: string;
6519
+ issueDate: Date;
6520
+ subtotal: number;
6521
+ fileId?: string | null | undefined;
6522
+ file?: {
6523
+ path: string;
6524
+ id: string;
6525
+ createdAt: Date;
6526
+ userId: number;
6527
+ signedUrl: string;
6528
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
6529
+ } | null | undefined;
6530
+ vatRate?: number | null | undefined;
6531
+ businessProfile?: {
6532
+ id: string;
6533
+ createdAt: Date;
6534
+ userId: number;
6535
+ updatedAt: Date;
6536
+ businessName: string;
6537
+ address: string;
6538
+ isActive: boolean;
6539
+ email?: string | null | undefined;
6540
+ phone?: string | null | undefined;
6541
+ siret?: string | null | undefined;
6542
+ vatNumber?: string | null | undefined;
6543
+ logoFileId?: string | null | undefined;
6544
+ logo?: {
6545
+ path: string;
6546
+ id: string;
6547
+ createdAt: Date;
6548
+ userId: number;
6549
+ signedUrl: string;
6550
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
6551
+ } | null | undefined;
6552
+ } | null | undefined;
6553
+ customerId?: string | null | undefined;
6554
+ customer?: {
6555
+ id: string;
6556
+ userId: number;
6557
+ firstName: string;
6558
+ lastName: string;
6559
+ birthDate: Date;
6560
+ email: string;
6561
+ idNumber: string;
6562
+ phone: string;
6563
+ iban: string;
6564
+ bic: string;
6565
+ phoneVerified: boolean;
6566
+ addressLine1?: string | null | undefined;
6567
+ addressLine2?: string | null | undefined;
6568
+ city?: string | null | undefined;
6569
+ postalCode?: string | null | undefined;
6570
+ country?: string | null | undefined;
6571
+ } | null | undefined;
6572
+ dueDate?: Date | null | undefined;
6573
+ vatAmount?: number | null | undefined;
6574
+ notes?: string | null | undefined;
6575
+ lineItems?: {
6576
+ description: string;
6577
+ id: number;
6578
+ createdAt: Date;
6579
+ invoiceId: string;
6580
+ quantity: number;
6581
+ unitPrice: number;
6582
+ total: number;
6583
+ itemOnPlatformId?: string | null | undefined;
6584
+ vatRate?: number | null | undefined;
6585
+ }[] | null | undefined;
6586
+ }[] | null | undefined;
6587
+ } | null | undefined;
5384
6588
  }[];
5385
6589
  order: {
5386
6590
  type: "SALE" | "PURCHASE";