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
@@ -553,6 +553,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
553
553
  }>, "many">>>;
554
554
  colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
555
555
  packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
556
+ materialIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
557
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
558
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
556
559
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
557
560
  itemId: z.ZodNumber;
558
561
  fieldId: z.ZodNumber;
@@ -2823,6 +2826,735 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2823
2826
  createdAt: z.ZodDate;
2824
2827
  updatedAt: z.ZodDate;
2825
2828
  sourceInConversation: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["ORDER", "TRANSACTION", "DELETED", "UNKNOWN"]>>>>;
2829
+ order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2830
+ transactionType: z.ZodEnum<["SINGLE_ITEM", "BUNDLE"]>;
2831
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2832
+ id: z.ZodString;
2833
+ orderId: z.ZodString;
2834
+ fileId: z.ZodString;
2835
+ nonCroppedFileId: z.ZodString;
2836
+ originalFileId: z.ZodString;
2837
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2838
+ id: z.ZodString;
2839
+ userId: z.ZodNumber;
2840
+ path: z.ZodString;
2841
+ signedUrl: z.ZodString;
2842
+ createdAt: z.ZodDate;
2843
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ path: string;
2846
+ id: string;
2847
+ createdAt: Date;
2848
+ userId: number;
2849
+ signedUrl: string;
2850
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2851
+ }, {
2852
+ path: string;
2853
+ id: string;
2854
+ createdAt: Date;
2855
+ userId: number;
2856
+ signedUrl: string;
2857
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2858
+ }>>>;
2859
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2860
+ id: z.ZodString;
2861
+ userId: z.ZodNumber;
2862
+ path: z.ZodString;
2863
+ signedUrl: z.ZodString;
2864
+ createdAt: z.ZodDate;
2865
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2866
+ }, "strip", z.ZodTypeAny, {
2867
+ path: string;
2868
+ id: string;
2869
+ createdAt: Date;
2870
+ userId: number;
2871
+ signedUrl: string;
2872
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2873
+ }, {
2874
+ path: string;
2875
+ id: string;
2876
+ createdAt: Date;
2877
+ userId: number;
2878
+ signedUrl: string;
2879
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2880
+ }>>>;
2881
+ originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2882
+ id: z.ZodString;
2883
+ userId: z.ZodNumber;
2884
+ path: z.ZodString;
2885
+ signedUrl: z.ZodString;
2886
+ createdAt: z.ZodDate;
2887
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2888
+ }, "strip", z.ZodTypeAny, {
2889
+ path: string;
2890
+ id: string;
2891
+ createdAt: Date;
2892
+ userId: number;
2893
+ signedUrl: string;
2894
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2895
+ }, {
2896
+ path: string;
2897
+ id: string;
2898
+ createdAt: Date;
2899
+ userId: number;
2900
+ signedUrl: string;
2901
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2902
+ }>>>;
2903
+ 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"]>>>>;
2904
+ }, "strip", z.ZodTypeAny, {
2905
+ id: string;
2906
+ fileId: string;
2907
+ orderId: string;
2908
+ nonCroppedFileId: string;
2909
+ originalFileId: string;
2910
+ originalFile?: {
2911
+ path: string;
2912
+ id: string;
2913
+ createdAt: Date;
2914
+ userId: number;
2915
+ signedUrl: string;
2916
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2917
+ } | null | undefined;
2918
+ 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;
2919
+ file?: {
2920
+ path: string;
2921
+ id: string;
2922
+ createdAt: Date;
2923
+ userId: number;
2924
+ signedUrl: string;
2925
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2926
+ } | null | undefined;
2927
+ nonCroppedFile?: {
2928
+ path: string;
2929
+ id: string;
2930
+ createdAt: Date;
2931
+ userId: number;
2932
+ signedUrl: string;
2933
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2934
+ } | null | undefined;
2935
+ }, {
2936
+ id: string;
2937
+ fileId: string;
2938
+ orderId: string;
2939
+ nonCroppedFileId: string;
2940
+ originalFileId: string;
2941
+ originalFile?: {
2942
+ path: string;
2943
+ id: string;
2944
+ createdAt: Date;
2945
+ userId: number;
2946
+ signedUrl: string;
2947
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2948
+ } | null | undefined;
2949
+ carrier?: unknown;
2950
+ file?: {
2951
+ path: string;
2952
+ id: string;
2953
+ createdAt: Date;
2954
+ userId: number;
2955
+ signedUrl: string;
2956
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2957
+ } | null | undefined;
2958
+ nonCroppedFile?: {
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
+ }>, "many">>>;
2967
+ invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2968
+ id: z.ZodString;
2969
+ invoiceNumber: z.ZodString;
2970
+ userId: z.ZodNumber;
2971
+ businessProfileId: z.ZodString;
2972
+ businessProfile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2973
+ id: z.ZodString;
2974
+ userId: z.ZodNumber;
2975
+ businessName: z.ZodString;
2976
+ address: z.ZodString;
2977
+ siret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2978
+ vatNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2979
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2980
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2981
+ logoFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2982
+ logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2983
+ id: z.ZodString;
2984
+ userId: z.ZodNumber;
2985
+ path: z.ZodString;
2986
+ signedUrl: z.ZodString;
2987
+ createdAt: z.ZodDate;
2988
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
2989
+ }, "strip", z.ZodTypeAny, {
2990
+ path: string;
2991
+ id: string;
2992
+ createdAt: Date;
2993
+ userId: number;
2994
+ signedUrl: string;
2995
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
2996
+ }, {
2997
+ path: string;
2998
+ id: string;
2999
+ createdAt: Date;
3000
+ userId: number;
3001
+ signedUrl: string;
3002
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3003
+ }>>>;
3004
+ isActive: z.ZodBoolean;
3005
+ createdAt: z.ZodDate;
3006
+ updatedAt: z.ZodDate;
3007
+ }, "strip", z.ZodTypeAny, {
3008
+ id: string;
3009
+ createdAt: Date;
3010
+ userId: number;
3011
+ updatedAt: Date;
3012
+ businessName: string;
3013
+ address: string;
3014
+ isActive: boolean;
3015
+ email?: string | null | undefined;
3016
+ phone?: string | null | undefined;
3017
+ siret?: string | null | undefined;
3018
+ vatNumber?: string | null | undefined;
3019
+ logoFileId?: string | null | undefined;
3020
+ logo?: {
3021
+ path: string;
3022
+ id: string;
3023
+ createdAt: Date;
3024
+ userId: number;
3025
+ signedUrl: string;
3026
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3027
+ } | null | undefined;
3028
+ }, {
3029
+ id: string;
3030
+ createdAt: Date;
3031
+ userId: number;
3032
+ updatedAt: Date;
3033
+ businessName: string;
3034
+ address: string;
3035
+ isActive: boolean;
3036
+ email?: string | null | undefined;
3037
+ phone?: string | null | undefined;
3038
+ siret?: string | null | undefined;
3039
+ vatNumber?: string | null | undefined;
3040
+ logoFileId?: string | null | undefined;
3041
+ logo?: {
3042
+ path: string;
3043
+ id: string;
3044
+ createdAt: Date;
3045
+ userId: number;
3046
+ signedUrl: string;
3047
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3048
+ } | null | undefined;
3049
+ }>>>;
3050
+ customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3051
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3052
+ id: z.ZodString;
3053
+ userId: z.ZodNumber;
3054
+ firstName: z.ZodString;
3055
+ lastName: z.ZodString;
3056
+ birthDate: z.ZodDate;
3057
+ email: z.ZodString;
3058
+ idNumber: z.ZodString;
3059
+ phone: z.ZodString;
3060
+ iban: z.ZodString;
3061
+ bic: z.ZodString;
3062
+ phoneVerified: z.ZodBoolean;
3063
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3064
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3065
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3066
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3067
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3068
+ }, "strip", z.ZodTypeAny, {
3069
+ id: string;
3070
+ userId: number;
3071
+ firstName: string;
3072
+ lastName: string;
3073
+ birthDate: Date;
3074
+ email: string;
3075
+ idNumber: string;
3076
+ phone: string;
3077
+ iban: string;
3078
+ bic: string;
3079
+ phoneVerified: boolean;
3080
+ addressLine1?: string | null | undefined;
3081
+ addressLine2?: string | null | undefined;
3082
+ city?: string | null | undefined;
3083
+ postalCode?: string | null | undefined;
3084
+ country?: string | null | undefined;
3085
+ }, {
3086
+ id: string;
3087
+ userId: number;
3088
+ firstName: string;
3089
+ lastName: string;
3090
+ birthDate: Date;
3091
+ email: string;
3092
+ idNumber: string;
3093
+ phone: string;
3094
+ iban: string;
3095
+ bic: string;
3096
+ phoneVerified: boolean;
3097
+ addressLine1?: string | null | undefined;
3098
+ addressLine2?: string | null | undefined;
3099
+ city?: string | null | undefined;
3100
+ postalCode?: string | null | undefined;
3101
+ country?: string | null | undefined;
3102
+ }>>>;
3103
+ orderId: z.ZodString;
3104
+ fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3105
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3106
+ id: z.ZodString;
3107
+ userId: z.ZodNumber;
3108
+ path: z.ZodString;
3109
+ signedUrl: z.ZodString;
3110
+ createdAt: z.ZodDate;
3111
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
3112
+ }, "strip", z.ZodTypeAny, {
3113
+ path: string;
3114
+ id: string;
3115
+ createdAt: Date;
3116
+ userId: number;
3117
+ signedUrl: string;
3118
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3119
+ }, {
3120
+ path: string;
3121
+ id: string;
3122
+ createdAt: Date;
3123
+ userId: number;
3124
+ signedUrl: string;
3125
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3126
+ }>>>;
3127
+ type: z.ZodEnum<["PURCHASE", "SALE"]>;
3128
+ status: z.ZodString;
3129
+ issueDate: z.ZodDate;
3130
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3131
+ subtotal: z.ZodNumber;
3132
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3133
+ vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3134
+ total: z.ZodNumber;
3135
+ currency: z.ZodString;
3136
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3137
+ lineItems: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3138
+ id: z.ZodNumber;
3139
+ invoiceId: z.ZodString;
3140
+ itemOnPlatformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3141
+ description: z.ZodString;
3142
+ quantity: z.ZodNumber;
3143
+ unitPrice: z.ZodNumber;
3144
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3145
+ total: z.ZodNumber;
3146
+ createdAt: z.ZodDate;
3147
+ }, "strip", z.ZodTypeAny, {
3148
+ description: string;
3149
+ id: number;
3150
+ createdAt: Date;
3151
+ invoiceId: string;
3152
+ quantity: number;
3153
+ unitPrice: number;
3154
+ total: number;
3155
+ itemOnPlatformId?: string | null | undefined;
3156
+ vatRate?: number | null | undefined;
3157
+ }, {
3158
+ description: string;
3159
+ id: number;
3160
+ createdAt: Date;
3161
+ invoiceId: string;
3162
+ quantity: number;
3163
+ unitPrice: number;
3164
+ total: number;
3165
+ itemOnPlatformId?: string | null | undefined;
3166
+ vatRate?: number | null | undefined;
3167
+ }>, "many">>>;
3168
+ createdAt: z.ZodDate;
3169
+ updatedAt: z.ZodDate;
3170
+ }, "strip", z.ZodTypeAny, {
3171
+ type: "SALE" | "PURCHASE";
3172
+ status: string;
3173
+ id: string;
3174
+ createdAt: Date;
3175
+ userId: number;
3176
+ currency: string;
3177
+ orderId: string;
3178
+ updatedAt: Date;
3179
+ total: number;
3180
+ invoiceNumber: string;
3181
+ businessProfileId: string;
3182
+ issueDate: Date;
3183
+ subtotal: number;
3184
+ fileId?: string | null | undefined;
3185
+ file?: {
3186
+ path: string;
3187
+ id: string;
3188
+ createdAt: Date;
3189
+ userId: number;
3190
+ signedUrl: string;
3191
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3192
+ } | null | undefined;
3193
+ vatRate?: number | null | undefined;
3194
+ businessProfile?: {
3195
+ id: string;
3196
+ createdAt: Date;
3197
+ userId: number;
3198
+ updatedAt: Date;
3199
+ businessName: string;
3200
+ address: string;
3201
+ isActive: boolean;
3202
+ email?: string | null | undefined;
3203
+ phone?: string | null | undefined;
3204
+ siret?: string | null | undefined;
3205
+ vatNumber?: string | null | undefined;
3206
+ logoFileId?: string | null | undefined;
3207
+ logo?: {
3208
+ path: string;
3209
+ id: string;
3210
+ createdAt: Date;
3211
+ userId: number;
3212
+ signedUrl: string;
3213
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3214
+ } | null | undefined;
3215
+ } | null | undefined;
3216
+ customerId?: string | null | undefined;
3217
+ customer?: {
3218
+ id: string;
3219
+ userId: number;
3220
+ firstName: string;
3221
+ lastName: string;
3222
+ birthDate: Date;
3223
+ email: string;
3224
+ idNumber: string;
3225
+ phone: string;
3226
+ iban: string;
3227
+ bic: string;
3228
+ phoneVerified: boolean;
3229
+ addressLine1?: string | null | undefined;
3230
+ addressLine2?: string | null | undefined;
3231
+ city?: string | null | undefined;
3232
+ postalCode?: string | null | undefined;
3233
+ country?: string | null | undefined;
3234
+ } | null | undefined;
3235
+ dueDate?: Date | null | undefined;
3236
+ vatAmount?: number | null | undefined;
3237
+ notes?: string | null | undefined;
3238
+ lineItems?: {
3239
+ description: string;
3240
+ id: number;
3241
+ createdAt: Date;
3242
+ invoiceId: string;
3243
+ quantity: number;
3244
+ unitPrice: number;
3245
+ total: number;
3246
+ itemOnPlatformId?: string | null | undefined;
3247
+ vatRate?: number | null | undefined;
3248
+ }[] | null | undefined;
3249
+ }, {
3250
+ type: "SALE" | "PURCHASE";
3251
+ status: string;
3252
+ id: string;
3253
+ createdAt: Date;
3254
+ userId: number;
3255
+ currency: string;
3256
+ orderId: string;
3257
+ updatedAt: Date;
3258
+ total: number;
3259
+ invoiceNumber: string;
3260
+ businessProfileId: string;
3261
+ issueDate: Date;
3262
+ subtotal: number;
3263
+ fileId?: string | null | undefined;
3264
+ file?: {
3265
+ path: string;
3266
+ id: string;
3267
+ createdAt: Date;
3268
+ userId: number;
3269
+ signedUrl: string;
3270
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3271
+ } | null | undefined;
3272
+ vatRate?: number | null | undefined;
3273
+ businessProfile?: {
3274
+ id: string;
3275
+ createdAt: Date;
3276
+ userId: number;
3277
+ updatedAt: Date;
3278
+ businessName: string;
3279
+ address: string;
3280
+ isActive: boolean;
3281
+ email?: string | null | undefined;
3282
+ phone?: string | null | undefined;
3283
+ siret?: string | null | undefined;
3284
+ vatNumber?: string | null | undefined;
3285
+ logoFileId?: string | null | undefined;
3286
+ logo?: {
3287
+ path: string;
3288
+ id: string;
3289
+ createdAt: Date;
3290
+ userId: number;
3291
+ signedUrl: string;
3292
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3293
+ } | null | undefined;
3294
+ } | null | undefined;
3295
+ customerId?: string | null | undefined;
3296
+ customer?: {
3297
+ id: string;
3298
+ userId: number;
3299
+ firstName: string;
3300
+ lastName: string;
3301
+ birthDate: Date;
3302
+ email: string;
3303
+ idNumber: string;
3304
+ phone: string;
3305
+ iban: string;
3306
+ bic: string;
3307
+ phoneVerified: boolean;
3308
+ addressLine1?: string | null | undefined;
3309
+ addressLine2?: string | null | undefined;
3310
+ city?: string | null | undefined;
3311
+ postalCode?: string | null | undefined;
3312
+ country?: string | null | undefined;
3313
+ } | null | undefined;
3314
+ dueDate?: Date | null | undefined;
3315
+ vatAmount?: number | null | undefined;
3316
+ notes?: string | null | undefined;
3317
+ lineItems?: {
3318
+ description: string;
3319
+ id: number;
3320
+ createdAt: Date;
3321
+ invoiceId: string;
3322
+ quantity: number;
3323
+ unitPrice: number;
3324
+ total: number;
3325
+ itemOnPlatformId?: string | null | undefined;
3326
+ vatRate?: number | null | undefined;
3327
+ }[] | null | undefined;
3328
+ }>, "many">>>;
3329
+ }, "strip", z.ZodTypeAny, {
3330
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
3331
+ labels?: {
3332
+ id: string;
3333
+ fileId: string;
3334
+ orderId: string;
3335
+ nonCroppedFileId: string;
3336
+ originalFileId: string;
3337
+ originalFile?: {
3338
+ path: string;
3339
+ id: string;
3340
+ createdAt: Date;
3341
+ userId: number;
3342
+ signedUrl: string;
3343
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3344
+ } | null | undefined;
3345
+ 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;
3346
+ file?: {
3347
+ path: string;
3348
+ id: string;
3349
+ createdAt: Date;
3350
+ userId: number;
3351
+ signedUrl: string;
3352
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3353
+ } | null | undefined;
3354
+ nonCroppedFile?: {
3355
+ path: string;
3356
+ id: string;
3357
+ createdAt: Date;
3358
+ userId: number;
3359
+ signedUrl: string;
3360
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3361
+ } | null | undefined;
3362
+ }[] | null | undefined;
3363
+ invoices?: {
3364
+ type: "SALE" | "PURCHASE";
3365
+ status: string;
3366
+ id: string;
3367
+ createdAt: Date;
3368
+ userId: number;
3369
+ currency: string;
3370
+ orderId: string;
3371
+ updatedAt: Date;
3372
+ total: number;
3373
+ invoiceNumber: string;
3374
+ businessProfileId: string;
3375
+ issueDate: Date;
3376
+ subtotal: number;
3377
+ fileId?: string | null | undefined;
3378
+ file?: {
3379
+ path: string;
3380
+ id: string;
3381
+ createdAt: Date;
3382
+ userId: number;
3383
+ signedUrl: string;
3384
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3385
+ } | null | undefined;
3386
+ vatRate?: number | null | undefined;
3387
+ businessProfile?: {
3388
+ id: string;
3389
+ createdAt: Date;
3390
+ userId: number;
3391
+ updatedAt: Date;
3392
+ businessName: string;
3393
+ address: string;
3394
+ isActive: boolean;
3395
+ email?: string | null | undefined;
3396
+ phone?: string | null | undefined;
3397
+ siret?: string | null | undefined;
3398
+ vatNumber?: string | null | undefined;
3399
+ logoFileId?: string | null | undefined;
3400
+ logo?: {
3401
+ path: string;
3402
+ id: string;
3403
+ createdAt: Date;
3404
+ userId: number;
3405
+ signedUrl: string;
3406
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3407
+ } | null | undefined;
3408
+ } | null | undefined;
3409
+ customerId?: string | null | undefined;
3410
+ customer?: {
3411
+ id: string;
3412
+ userId: number;
3413
+ firstName: string;
3414
+ lastName: string;
3415
+ birthDate: Date;
3416
+ email: string;
3417
+ idNumber: string;
3418
+ phone: string;
3419
+ iban: string;
3420
+ bic: string;
3421
+ phoneVerified: boolean;
3422
+ addressLine1?: string | null | undefined;
3423
+ addressLine2?: string | null | undefined;
3424
+ city?: string | null | undefined;
3425
+ postalCode?: string | null | undefined;
3426
+ country?: string | null | undefined;
3427
+ } | null | undefined;
3428
+ dueDate?: Date | null | undefined;
3429
+ vatAmount?: number | null | undefined;
3430
+ notes?: string | null | undefined;
3431
+ lineItems?: {
3432
+ description: string;
3433
+ id: number;
3434
+ createdAt: Date;
3435
+ invoiceId: string;
3436
+ quantity: number;
3437
+ unitPrice: number;
3438
+ total: number;
3439
+ itemOnPlatformId?: string | null | undefined;
3440
+ vatRate?: number | null | undefined;
3441
+ }[] | null | undefined;
3442
+ }[] | null | undefined;
3443
+ }, {
3444
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
3445
+ labels?: {
3446
+ id: string;
3447
+ fileId: string;
3448
+ orderId: string;
3449
+ nonCroppedFileId: string;
3450
+ originalFileId: string;
3451
+ originalFile?: {
3452
+ path: string;
3453
+ id: string;
3454
+ createdAt: Date;
3455
+ userId: number;
3456
+ signedUrl: string;
3457
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3458
+ } | null | undefined;
3459
+ carrier?: unknown;
3460
+ file?: {
3461
+ path: string;
3462
+ id: string;
3463
+ createdAt: Date;
3464
+ userId: number;
3465
+ signedUrl: string;
3466
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3467
+ } | null | undefined;
3468
+ nonCroppedFile?: {
3469
+ path: string;
3470
+ id: string;
3471
+ createdAt: Date;
3472
+ userId: number;
3473
+ signedUrl: string;
3474
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3475
+ } | null | undefined;
3476
+ }[] | null | undefined;
3477
+ invoices?: {
3478
+ type: "SALE" | "PURCHASE";
3479
+ status: string;
3480
+ id: string;
3481
+ createdAt: Date;
3482
+ userId: number;
3483
+ currency: string;
3484
+ orderId: string;
3485
+ updatedAt: Date;
3486
+ total: number;
3487
+ invoiceNumber: string;
3488
+ businessProfileId: string;
3489
+ issueDate: Date;
3490
+ subtotal: number;
3491
+ fileId?: string | null | undefined;
3492
+ file?: {
3493
+ path: string;
3494
+ id: string;
3495
+ createdAt: Date;
3496
+ userId: number;
3497
+ signedUrl: string;
3498
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3499
+ } | null | undefined;
3500
+ vatRate?: number | null | undefined;
3501
+ businessProfile?: {
3502
+ id: string;
3503
+ createdAt: Date;
3504
+ userId: number;
3505
+ updatedAt: Date;
3506
+ businessName: string;
3507
+ address: string;
3508
+ isActive: boolean;
3509
+ email?: string | null | undefined;
3510
+ phone?: string | null | undefined;
3511
+ siret?: string | null | undefined;
3512
+ vatNumber?: string | null | undefined;
3513
+ logoFileId?: string | null | undefined;
3514
+ logo?: {
3515
+ path: string;
3516
+ id: string;
3517
+ createdAt: Date;
3518
+ userId: number;
3519
+ signedUrl: string;
3520
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3521
+ } | null | undefined;
3522
+ } | null | undefined;
3523
+ customerId?: string | null | undefined;
3524
+ customer?: {
3525
+ id: string;
3526
+ userId: number;
3527
+ firstName: string;
3528
+ lastName: string;
3529
+ birthDate: Date;
3530
+ email: string;
3531
+ idNumber: string;
3532
+ phone: string;
3533
+ iban: string;
3534
+ bic: string;
3535
+ phoneVerified: boolean;
3536
+ addressLine1?: string | null | undefined;
3537
+ addressLine2?: string | null | undefined;
3538
+ city?: string | null | undefined;
3539
+ postalCode?: string | null | undefined;
3540
+ country?: string | null | undefined;
3541
+ } | null | undefined;
3542
+ dueDate?: Date | null | undefined;
3543
+ vatAmount?: number | null | undefined;
3544
+ notes?: string | null | undefined;
3545
+ lineItems?: {
3546
+ description: string;
3547
+ id: number;
3548
+ createdAt: Date;
3549
+ invoiceId: string;
3550
+ quantity: number;
3551
+ unitPrice: number;
3552
+ total: number;
3553
+ itemOnPlatformId?: string | null | undefined;
3554
+ vatRate?: number | null | undefined;
3555
+ }[] | null | undefined;
3556
+ }[] | null | undefined;
3557
+ }>>>;
2826
3558
  }, "strip", z.ZodTypeAny, {
2827
3559
  actions: {
2828
3560
  perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL")[]>;
@@ -2855,6 +3587,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2855
3587
  colorIds?: number[] | null | undefined;
2856
3588
  packageSizeId?: number | null | undefined;
2857
3589
  state?: number | null | undefined;
3590
+ measurementLength?: number | null | undefined;
3591
+ measurementWidth?: number | null | undefined;
2858
3592
  labels?: {
2859
3593
  itemId: number;
2860
3594
  labelId: number;
@@ -2941,6 +3675,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
2941
3675
  sellingPrice?: number | null | undefined;
2942
3676
  sellingPlaceId?: number | null | undefined;
2943
3677
  feesSum?: number | null | undefined;
3678
+ materialIds?: number[] | null | undefined;
2944
3679
  enumValues?: {
2945
3680
  id: string;
2946
3681
  createdAt: Date;
@@ -3200,6 +3935,121 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3200
3935
  targetHistoryId?: string | null | undefined;
3201
3936
  } | null | undefined;
3202
3937
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
3938
+ order?: {
3939
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
3940
+ labels?: {
3941
+ id: string;
3942
+ fileId: string;
3943
+ orderId: string;
3944
+ nonCroppedFileId: string;
3945
+ originalFileId: string;
3946
+ originalFile?: {
3947
+ path: string;
3948
+ id: string;
3949
+ createdAt: Date;
3950
+ userId: number;
3951
+ signedUrl: string;
3952
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3953
+ } | null | undefined;
3954
+ 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;
3955
+ file?: {
3956
+ path: string;
3957
+ id: string;
3958
+ createdAt: Date;
3959
+ userId: number;
3960
+ signedUrl: string;
3961
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3962
+ } | null | undefined;
3963
+ nonCroppedFile?: {
3964
+ path: string;
3965
+ id: string;
3966
+ createdAt: Date;
3967
+ userId: number;
3968
+ signedUrl: string;
3969
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3970
+ } | null | undefined;
3971
+ }[] | null | undefined;
3972
+ invoices?: {
3973
+ type: "SALE" | "PURCHASE";
3974
+ status: string;
3975
+ id: string;
3976
+ createdAt: Date;
3977
+ userId: number;
3978
+ currency: string;
3979
+ orderId: string;
3980
+ updatedAt: Date;
3981
+ total: number;
3982
+ invoiceNumber: string;
3983
+ businessProfileId: string;
3984
+ issueDate: Date;
3985
+ subtotal: number;
3986
+ fileId?: string | null | undefined;
3987
+ file?: {
3988
+ path: string;
3989
+ id: string;
3990
+ createdAt: Date;
3991
+ userId: number;
3992
+ signedUrl: string;
3993
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3994
+ } | null | undefined;
3995
+ vatRate?: number | null | undefined;
3996
+ businessProfile?: {
3997
+ id: string;
3998
+ createdAt: Date;
3999
+ userId: number;
4000
+ updatedAt: Date;
4001
+ businessName: string;
4002
+ address: string;
4003
+ isActive: boolean;
4004
+ email?: string | null | undefined;
4005
+ phone?: string | null | undefined;
4006
+ siret?: string | null | undefined;
4007
+ vatNumber?: string | null | undefined;
4008
+ logoFileId?: string | null | undefined;
4009
+ logo?: {
4010
+ path: string;
4011
+ id: string;
4012
+ createdAt: Date;
4013
+ userId: number;
4014
+ signedUrl: string;
4015
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4016
+ } | null | undefined;
4017
+ } | null | undefined;
4018
+ customerId?: string | null | undefined;
4019
+ customer?: {
4020
+ id: string;
4021
+ userId: number;
4022
+ firstName: string;
4023
+ lastName: string;
4024
+ birthDate: Date;
4025
+ email: string;
4026
+ idNumber: string;
4027
+ phone: string;
4028
+ iban: string;
4029
+ bic: string;
4030
+ phoneVerified: boolean;
4031
+ addressLine1?: string | null | undefined;
4032
+ addressLine2?: string | null | undefined;
4033
+ city?: string | null | undefined;
4034
+ postalCode?: string | null | undefined;
4035
+ country?: string | null | undefined;
4036
+ } | null | undefined;
4037
+ dueDate?: Date | null | undefined;
4038
+ vatAmount?: number | null | undefined;
4039
+ notes?: string | null | undefined;
4040
+ lineItems?: {
4041
+ description: string;
4042
+ id: number;
4043
+ createdAt: Date;
4044
+ invoiceId: string;
4045
+ quantity: number;
4046
+ unitPrice: number;
4047
+ total: number;
4048
+ itemOnPlatformId?: string | null | undefined;
4049
+ vatRate?: number | null | undefined;
4050
+ }[] | null | undefined;
4051
+ }[] | null | undefined;
4052
+ } | null | undefined;
3203
4053
  }, {
3204
4054
  actions: {
3205
4055
  perAccount: Record<string, unknown[]>;
@@ -3232,6 +4082,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3232
4082
  colorIds?: number[] | null | undefined;
3233
4083
  packageSizeId?: number | null | undefined;
3234
4084
  state?: number | null | undefined;
4085
+ measurementLength?: number | null | undefined;
4086
+ measurementWidth?: number | null | undefined;
3235
4087
  labels?: {
3236
4088
  itemId: number;
3237
4089
  labelId: number;
@@ -3318,6 +4170,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3318
4170
  sellingPrice?: number | null | undefined;
3319
4171
  sellingPlaceId?: number | null | undefined;
3320
4172
  feesSum?: number | null | undefined;
4173
+ materialIds?: number[] | null | undefined;
3321
4174
  enumValues?: {
3322
4175
  id: string;
3323
4176
  createdAt: Date;
@@ -3577,6 +4430,121 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3577
4430
  targetHistoryId?: string | null | undefined;
3578
4431
  } | null | undefined;
3579
4432
  sourceInConversation?: unknown;
4433
+ order?: {
4434
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4435
+ labels?: {
4436
+ id: string;
4437
+ fileId: string;
4438
+ orderId: string;
4439
+ nonCroppedFileId: string;
4440
+ originalFileId: string;
4441
+ originalFile?: {
4442
+ path: string;
4443
+ id: string;
4444
+ createdAt: Date;
4445
+ userId: number;
4446
+ signedUrl: string;
4447
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4448
+ } | null | undefined;
4449
+ carrier?: unknown;
4450
+ file?: {
4451
+ path: string;
4452
+ id: string;
4453
+ createdAt: Date;
4454
+ userId: number;
4455
+ signedUrl: string;
4456
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4457
+ } | null | undefined;
4458
+ nonCroppedFile?: {
4459
+ path: string;
4460
+ id: string;
4461
+ createdAt: Date;
4462
+ userId: number;
4463
+ signedUrl: string;
4464
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4465
+ } | null | undefined;
4466
+ }[] | null | undefined;
4467
+ invoices?: {
4468
+ type: "SALE" | "PURCHASE";
4469
+ status: string;
4470
+ id: string;
4471
+ createdAt: Date;
4472
+ userId: number;
4473
+ currency: string;
4474
+ orderId: string;
4475
+ updatedAt: Date;
4476
+ total: number;
4477
+ invoiceNumber: string;
4478
+ businessProfileId: string;
4479
+ issueDate: Date;
4480
+ subtotal: number;
4481
+ fileId?: string | null | undefined;
4482
+ file?: {
4483
+ path: string;
4484
+ id: string;
4485
+ createdAt: Date;
4486
+ userId: number;
4487
+ signedUrl: string;
4488
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4489
+ } | null | undefined;
4490
+ vatRate?: number | null | undefined;
4491
+ businessProfile?: {
4492
+ id: string;
4493
+ createdAt: Date;
4494
+ userId: number;
4495
+ updatedAt: Date;
4496
+ businessName: string;
4497
+ address: string;
4498
+ isActive: boolean;
4499
+ email?: string | null | undefined;
4500
+ phone?: string | null | undefined;
4501
+ siret?: string | null | undefined;
4502
+ vatNumber?: string | null | undefined;
4503
+ logoFileId?: string | null | undefined;
4504
+ logo?: {
4505
+ path: string;
4506
+ id: string;
4507
+ createdAt: Date;
4508
+ userId: number;
4509
+ signedUrl: string;
4510
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4511
+ } | null | undefined;
4512
+ } | null | undefined;
4513
+ customerId?: string | null | undefined;
4514
+ customer?: {
4515
+ id: string;
4516
+ userId: number;
4517
+ firstName: string;
4518
+ lastName: string;
4519
+ birthDate: Date;
4520
+ email: string;
4521
+ idNumber: string;
4522
+ phone: string;
4523
+ iban: string;
4524
+ bic: string;
4525
+ phoneVerified: boolean;
4526
+ addressLine1?: string | null | undefined;
4527
+ addressLine2?: string | null | undefined;
4528
+ city?: string | null | undefined;
4529
+ postalCode?: string | null | undefined;
4530
+ country?: string | null | undefined;
4531
+ } | null | undefined;
4532
+ dueDate?: Date | null | undefined;
4533
+ vatAmount?: number | null | undefined;
4534
+ notes?: string | null | undefined;
4535
+ lineItems?: {
4536
+ description: string;
4537
+ id: number;
4538
+ createdAt: Date;
4539
+ invoiceId: string;
4540
+ quantity: number;
4541
+ unitPrice: number;
4542
+ total: number;
4543
+ itemOnPlatformId?: string | null | undefined;
4544
+ vatRate?: number | null | undefined;
4545
+ }[] | null | undefined;
4546
+ }[] | null | undefined;
4547
+ } | null | undefined;
3580
4548
  }>, "many">;
3581
4549
  }, "strip", z.ZodTypeAny, {
3582
4550
  items: {
@@ -3611,6 +4579,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3611
4579
  colorIds?: number[] | null | undefined;
3612
4580
  packageSizeId?: number | null | undefined;
3613
4581
  state?: number | null | undefined;
4582
+ measurementLength?: number | null | undefined;
4583
+ measurementWidth?: number | null | undefined;
3614
4584
  labels?: {
3615
4585
  itemId: number;
3616
4586
  labelId: number;
@@ -3697,6 +4667,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3697
4667
  sellingPrice?: number | null | undefined;
3698
4668
  sellingPlaceId?: number | null | undefined;
3699
4669
  feesSum?: number | null | undefined;
4670
+ materialIds?: number[] | null | undefined;
3700
4671
  enumValues?: {
3701
4672
  id: string;
3702
4673
  createdAt: Date;
@@ -3956,6 +4927,121 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
3956
4927
  targetHistoryId?: string | null | undefined;
3957
4928
  } | null | undefined;
3958
4929
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
4930
+ order?: {
4931
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
4932
+ labels?: {
4933
+ id: string;
4934
+ fileId: string;
4935
+ orderId: string;
4936
+ nonCroppedFileId: string;
4937
+ originalFileId: string;
4938
+ originalFile?: {
4939
+ path: string;
4940
+ id: string;
4941
+ createdAt: Date;
4942
+ userId: number;
4943
+ signedUrl: string;
4944
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4945
+ } | null | undefined;
4946
+ 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;
4947
+ file?: {
4948
+ path: string;
4949
+ id: string;
4950
+ createdAt: Date;
4951
+ userId: number;
4952
+ signedUrl: string;
4953
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4954
+ } | null | undefined;
4955
+ nonCroppedFile?: {
4956
+ path: string;
4957
+ id: string;
4958
+ createdAt: Date;
4959
+ userId: number;
4960
+ signedUrl: string;
4961
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4962
+ } | null | undefined;
4963
+ }[] | null | undefined;
4964
+ invoices?: {
4965
+ type: "SALE" | "PURCHASE";
4966
+ status: string;
4967
+ id: string;
4968
+ createdAt: Date;
4969
+ userId: number;
4970
+ currency: string;
4971
+ orderId: string;
4972
+ updatedAt: Date;
4973
+ total: number;
4974
+ invoiceNumber: string;
4975
+ businessProfileId: string;
4976
+ issueDate: Date;
4977
+ subtotal: number;
4978
+ fileId?: string | null | undefined;
4979
+ file?: {
4980
+ path: string;
4981
+ id: string;
4982
+ createdAt: Date;
4983
+ userId: number;
4984
+ signedUrl: string;
4985
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4986
+ } | null | undefined;
4987
+ vatRate?: number | null | undefined;
4988
+ businessProfile?: {
4989
+ id: string;
4990
+ createdAt: Date;
4991
+ userId: number;
4992
+ updatedAt: Date;
4993
+ businessName: string;
4994
+ address: string;
4995
+ isActive: boolean;
4996
+ email?: string | null | undefined;
4997
+ phone?: string | null | undefined;
4998
+ siret?: string | null | undefined;
4999
+ vatNumber?: string | null | undefined;
5000
+ logoFileId?: string | null | undefined;
5001
+ logo?: {
5002
+ path: string;
5003
+ id: string;
5004
+ createdAt: Date;
5005
+ userId: number;
5006
+ signedUrl: string;
5007
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5008
+ } | null | undefined;
5009
+ } | null | undefined;
5010
+ customerId?: string | null | undefined;
5011
+ customer?: {
5012
+ id: string;
5013
+ userId: number;
5014
+ firstName: string;
5015
+ lastName: string;
5016
+ birthDate: Date;
5017
+ email: string;
5018
+ idNumber: string;
5019
+ phone: string;
5020
+ iban: string;
5021
+ bic: string;
5022
+ phoneVerified: boolean;
5023
+ addressLine1?: string | null | undefined;
5024
+ addressLine2?: string | null | undefined;
5025
+ city?: string | null | undefined;
5026
+ postalCode?: string | null | undefined;
5027
+ country?: string | null | undefined;
5028
+ } | null | undefined;
5029
+ dueDate?: Date | null | undefined;
5030
+ vatAmount?: number | null | undefined;
5031
+ notes?: string | null | undefined;
5032
+ lineItems?: {
5033
+ description: string;
5034
+ id: number;
5035
+ createdAt: Date;
5036
+ invoiceId: string;
5037
+ quantity: number;
5038
+ unitPrice: number;
5039
+ total: number;
5040
+ itemOnPlatformId?: string | null | undefined;
5041
+ vatRate?: number | null | undefined;
5042
+ }[] | null | undefined;
5043
+ }[] | null | undefined;
5044
+ } | null | undefined;
3959
5045
  }[];
3960
5046
  transaction: {
3961
5047
  id: string;
@@ -4042,6 +5128,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4042
5128
  colorIds?: number[] | null | undefined;
4043
5129
  packageSizeId?: number | null | undefined;
4044
5130
  state?: number | null | undefined;
5131
+ measurementLength?: number | null | undefined;
5132
+ measurementWidth?: number | null | undefined;
4045
5133
  labels?: {
4046
5134
  itemId: number;
4047
5135
  labelId: number;
@@ -4128,6 +5216,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4128
5216
  sellingPrice?: number | null | undefined;
4129
5217
  sellingPlaceId?: number | null | undefined;
4130
5218
  feesSum?: number | null | undefined;
5219
+ materialIds?: number[] | null | undefined;
4131
5220
  enumValues?: {
4132
5221
  id: string;
4133
5222
  createdAt: Date;
@@ -4387,6 +5476,121 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
4387
5476
  targetHistoryId?: string | null | undefined;
4388
5477
  } | null | undefined;
4389
5478
  sourceInConversation?: unknown;
5479
+ order?: {
5480
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
5481
+ labels?: {
5482
+ id: string;
5483
+ fileId: string;
5484
+ orderId: string;
5485
+ nonCroppedFileId: string;
5486
+ originalFileId: string;
5487
+ originalFile?: {
5488
+ path: string;
5489
+ id: string;
5490
+ createdAt: Date;
5491
+ userId: number;
5492
+ signedUrl: string;
5493
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5494
+ } | null | undefined;
5495
+ carrier?: unknown;
5496
+ file?: {
5497
+ path: string;
5498
+ id: string;
5499
+ createdAt: Date;
5500
+ userId: number;
5501
+ signedUrl: string;
5502
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5503
+ } | null | undefined;
5504
+ nonCroppedFile?: {
5505
+ path: string;
5506
+ id: string;
5507
+ createdAt: Date;
5508
+ userId: number;
5509
+ signedUrl: string;
5510
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5511
+ } | null | undefined;
5512
+ }[] | null | undefined;
5513
+ invoices?: {
5514
+ type: "SALE" | "PURCHASE";
5515
+ status: string;
5516
+ id: string;
5517
+ createdAt: Date;
5518
+ userId: number;
5519
+ currency: string;
5520
+ orderId: string;
5521
+ updatedAt: Date;
5522
+ total: number;
5523
+ invoiceNumber: string;
5524
+ businessProfileId: string;
5525
+ issueDate: Date;
5526
+ subtotal: number;
5527
+ fileId?: string | null | undefined;
5528
+ file?: {
5529
+ path: string;
5530
+ id: string;
5531
+ createdAt: Date;
5532
+ userId: number;
5533
+ signedUrl: string;
5534
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5535
+ } | null | undefined;
5536
+ vatRate?: number | null | undefined;
5537
+ businessProfile?: {
5538
+ id: string;
5539
+ createdAt: Date;
5540
+ userId: number;
5541
+ updatedAt: Date;
5542
+ businessName: string;
5543
+ address: string;
5544
+ isActive: boolean;
5545
+ email?: string | null | undefined;
5546
+ phone?: string | null | undefined;
5547
+ siret?: string | null | undefined;
5548
+ vatNumber?: string | null | undefined;
5549
+ logoFileId?: string | null | undefined;
5550
+ logo?: {
5551
+ path: string;
5552
+ id: string;
5553
+ createdAt: Date;
5554
+ userId: number;
5555
+ signedUrl: string;
5556
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5557
+ } | null | undefined;
5558
+ } | null | undefined;
5559
+ customerId?: string | null | undefined;
5560
+ customer?: {
5561
+ id: string;
5562
+ userId: number;
5563
+ firstName: string;
5564
+ lastName: string;
5565
+ birthDate: Date;
5566
+ email: string;
5567
+ idNumber: string;
5568
+ phone: string;
5569
+ iban: string;
5570
+ bic: string;
5571
+ phoneVerified: boolean;
5572
+ addressLine1?: string | null | undefined;
5573
+ addressLine2?: string | null | undefined;
5574
+ city?: string | null | undefined;
5575
+ postalCode?: string | null | undefined;
5576
+ country?: string | null | undefined;
5577
+ } | null | undefined;
5578
+ dueDate?: Date | null | undefined;
5579
+ vatAmount?: number | null | undefined;
5580
+ notes?: string | null | undefined;
5581
+ lineItems?: {
5582
+ description: string;
5583
+ id: number;
5584
+ createdAt: Date;
5585
+ invoiceId: string;
5586
+ quantity: number;
5587
+ unitPrice: number;
5588
+ total: number;
5589
+ itemOnPlatformId?: string | null | undefined;
5590
+ vatRate?: number | null | undefined;
5591
+ }[] | null | undefined;
5592
+ }[] | null | undefined;
5593
+ } | null | undefined;
4390
5594
  }[];
4391
5595
  transaction: {
4392
5596
  id: string;