controlresell 2.20.12 → 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 (32) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +1189 -0
  3. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  4. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +959 -0
  5. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  6. package/src/com/controlresell/api/responses/items/ListedItem.js +3 -1
  7. package/src/com/controlresell/api/responses/items/ListedItem.js.map +1 -1
  8. package/src/com/controlresell/api/responses/items/ListedItem.ts +3 -1
  9. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +732 -0
  10. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts.map +1 -0
  11. package/src/com/controlresell/api/responses/items/ListedItemOrder.js +10 -0
  12. package/src/com/controlresell/api/responses/items/ListedItemOrder.js.map +1 -0
  13. package/src/com/controlresell/api/responses/items/ListedItemOrder.ts +11 -0
  14. package/src/com/controlresell/models/items/CreatedItems.d.ts +1189 -0
  15. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  16. package/src/com/controlresell/models/items/ItemUpdate.d.ts +1189 -0
  17. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  18. package/src/com/controlresell/models/items/UpdatedItem.d.ts +1189 -0
  19. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  20. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1427 -8
  21. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  22. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1189 -0
  23. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  24. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +1189 -0
  25. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  26. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3198 -820
  27. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  28. package/src/index.d.ts +1 -0
  29. package/src/index.d.ts.map +1 -1
  30. package/src/index.js +1 -0
  31. package/src/index.js.map +1 -1
  32. package/src/index.ts +1 -0
@@ -8196,6 +8196,735 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8196
8196
  createdAt: z.ZodDate;
8197
8197
  updatedAt: z.ZodDate;
8198
8198
  sourceInConversation: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["ORDER", "TRANSACTION", "DELETED", "UNKNOWN"]>>>>;
8199
+ order: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8200
+ transactionType: z.ZodEnum<["SINGLE_ITEM", "BUNDLE"]>;
8201
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8202
+ id: z.ZodString;
8203
+ orderId: z.ZodString;
8204
+ fileId: z.ZodString;
8205
+ nonCroppedFileId: z.ZodString;
8206
+ originalFileId: z.ZodString;
8207
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8208
+ id: z.ZodString;
8209
+ userId: z.ZodNumber;
8210
+ path: z.ZodString;
8211
+ signedUrl: z.ZodString;
8212
+ createdAt: z.ZodDate;
8213
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
8214
+ }, "strip", z.ZodTypeAny, {
8215
+ path: string;
8216
+ id: string;
8217
+ createdAt: Date;
8218
+ userId: number;
8219
+ signedUrl: string;
8220
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8221
+ }, {
8222
+ path: string;
8223
+ id: string;
8224
+ createdAt: Date;
8225
+ userId: number;
8226
+ signedUrl: string;
8227
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8228
+ }>>>;
8229
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8230
+ id: z.ZodString;
8231
+ userId: z.ZodNumber;
8232
+ path: z.ZodString;
8233
+ signedUrl: z.ZodString;
8234
+ createdAt: z.ZodDate;
8235
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
8236
+ }, "strip", z.ZodTypeAny, {
8237
+ path: string;
8238
+ id: string;
8239
+ createdAt: Date;
8240
+ userId: number;
8241
+ signedUrl: string;
8242
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8243
+ }, {
8244
+ path: string;
8245
+ id: string;
8246
+ createdAt: Date;
8247
+ userId: number;
8248
+ signedUrl: string;
8249
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8250
+ }>>>;
8251
+ originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8252
+ id: z.ZodString;
8253
+ userId: z.ZodNumber;
8254
+ path: z.ZodString;
8255
+ signedUrl: z.ZodString;
8256
+ createdAt: z.ZodDate;
8257
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
8258
+ }, "strip", z.ZodTypeAny, {
8259
+ path: string;
8260
+ id: string;
8261
+ createdAt: Date;
8262
+ userId: number;
8263
+ signedUrl: string;
8264
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8265
+ }, {
8266
+ path: string;
8267
+ id: string;
8268
+ createdAt: Date;
8269
+ userId: number;
8270
+ signedUrl: string;
8271
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8272
+ }>>>;
8273
+ 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"]>>>>;
8274
+ }, "strip", z.ZodTypeAny, {
8275
+ id: string;
8276
+ fileId: string;
8277
+ orderId: string;
8278
+ nonCroppedFileId: string;
8279
+ originalFileId: string;
8280
+ originalFile?: {
8281
+ path: string;
8282
+ id: string;
8283
+ createdAt: Date;
8284
+ userId: number;
8285
+ signedUrl: string;
8286
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8287
+ } | null | undefined;
8288
+ 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;
8289
+ file?: {
8290
+ path: string;
8291
+ id: string;
8292
+ createdAt: Date;
8293
+ userId: number;
8294
+ signedUrl: string;
8295
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8296
+ } | null | undefined;
8297
+ nonCroppedFile?: {
8298
+ path: string;
8299
+ id: string;
8300
+ createdAt: Date;
8301
+ userId: number;
8302
+ signedUrl: string;
8303
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8304
+ } | null | undefined;
8305
+ }, {
8306
+ id: string;
8307
+ fileId: string;
8308
+ orderId: string;
8309
+ nonCroppedFileId: string;
8310
+ originalFileId: string;
8311
+ originalFile?: {
8312
+ path: string;
8313
+ id: string;
8314
+ createdAt: Date;
8315
+ userId: number;
8316
+ signedUrl: string;
8317
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8318
+ } | null | undefined;
8319
+ carrier?: unknown;
8320
+ file?: {
8321
+ path: string;
8322
+ id: string;
8323
+ createdAt: Date;
8324
+ userId: number;
8325
+ signedUrl: string;
8326
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8327
+ } | null | undefined;
8328
+ nonCroppedFile?: {
8329
+ path: string;
8330
+ id: string;
8331
+ createdAt: Date;
8332
+ userId: number;
8333
+ signedUrl: string;
8334
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8335
+ } | null | undefined;
8336
+ }>, "many">>>;
8337
+ invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8338
+ id: z.ZodString;
8339
+ invoiceNumber: z.ZodString;
8340
+ userId: z.ZodNumber;
8341
+ businessProfileId: z.ZodString;
8342
+ businessProfile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8343
+ id: z.ZodString;
8344
+ userId: z.ZodNumber;
8345
+ businessName: z.ZodString;
8346
+ address: z.ZodString;
8347
+ siret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8348
+ vatNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8349
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8350
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8351
+ logoFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8352
+ logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8353
+ id: z.ZodString;
8354
+ userId: z.ZodNumber;
8355
+ path: z.ZodString;
8356
+ signedUrl: z.ZodString;
8357
+ createdAt: z.ZodDate;
8358
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
8359
+ }, "strip", z.ZodTypeAny, {
8360
+ path: string;
8361
+ id: string;
8362
+ createdAt: Date;
8363
+ userId: number;
8364
+ signedUrl: string;
8365
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8366
+ }, {
8367
+ path: string;
8368
+ id: string;
8369
+ createdAt: Date;
8370
+ userId: number;
8371
+ signedUrl: string;
8372
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8373
+ }>>>;
8374
+ isActive: z.ZodBoolean;
8375
+ createdAt: z.ZodDate;
8376
+ updatedAt: z.ZodDate;
8377
+ }, "strip", z.ZodTypeAny, {
8378
+ id: string;
8379
+ createdAt: Date;
8380
+ userId: number;
8381
+ updatedAt: Date;
8382
+ businessName: string;
8383
+ address: string;
8384
+ isActive: boolean;
8385
+ email?: string | null | undefined;
8386
+ phone?: string | null | undefined;
8387
+ siret?: string | null | undefined;
8388
+ vatNumber?: string | null | undefined;
8389
+ logoFileId?: string | null | undefined;
8390
+ logo?: {
8391
+ path: string;
8392
+ id: string;
8393
+ createdAt: Date;
8394
+ userId: number;
8395
+ signedUrl: string;
8396
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8397
+ } | null | undefined;
8398
+ }, {
8399
+ id: string;
8400
+ createdAt: Date;
8401
+ userId: number;
8402
+ updatedAt: Date;
8403
+ businessName: string;
8404
+ address: string;
8405
+ isActive: boolean;
8406
+ email?: string | null | undefined;
8407
+ phone?: string | null | undefined;
8408
+ siret?: string | null | undefined;
8409
+ vatNumber?: string | null | undefined;
8410
+ logoFileId?: string | null | undefined;
8411
+ logo?: {
8412
+ path: string;
8413
+ id: string;
8414
+ createdAt: Date;
8415
+ userId: number;
8416
+ signedUrl: string;
8417
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8418
+ } | null | undefined;
8419
+ }>>>;
8420
+ customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8421
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8422
+ id: z.ZodString;
8423
+ userId: z.ZodNumber;
8424
+ firstName: z.ZodString;
8425
+ lastName: z.ZodString;
8426
+ birthDate: z.ZodDate;
8427
+ email: z.ZodString;
8428
+ idNumber: z.ZodString;
8429
+ phone: z.ZodString;
8430
+ iban: z.ZodString;
8431
+ bic: z.ZodString;
8432
+ phoneVerified: z.ZodBoolean;
8433
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8434
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8435
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8436
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8437
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8438
+ }, "strip", z.ZodTypeAny, {
8439
+ id: string;
8440
+ userId: number;
8441
+ firstName: string;
8442
+ lastName: string;
8443
+ birthDate: Date;
8444
+ email: string;
8445
+ idNumber: string;
8446
+ phone: string;
8447
+ iban: string;
8448
+ bic: string;
8449
+ phoneVerified: boolean;
8450
+ addressLine1?: string | null | undefined;
8451
+ addressLine2?: string | null | undefined;
8452
+ city?: string | null | undefined;
8453
+ postalCode?: string | null | undefined;
8454
+ country?: string | null | undefined;
8455
+ }, {
8456
+ id: string;
8457
+ userId: number;
8458
+ firstName: string;
8459
+ lastName: string;
8460
+ birthDate: Date;
8461
+ email: string;
8462
+ idNumber: string;
8463
+ phone: string;
8464
+ iban: string;
8465
+ bic: string;
8466
+ phoneVerified: boolean;
8467
+ addressLine1?: string | null | undefined;
8468
+ addressLine2?: string | null | undefined;
8469
+ city?: string | null | undefined;
8470
+ postalCode?: string | null | undefined;
8471
+ country?: string | null | undefined;
8472
+ }>>>;
8473
+ orderId: z.ZodString;
8474
+ fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8475
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8476
+ id: z.ZodString;
8477
+ userId: z.ZodNumber;
8478
+ path: z.ZodString;
8479
+ signedUrl: z.ZodString;
8480
+ createdAt: z.ZodDate;
8481
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
8482
+ }, "strip", z.ZodTypeAny, {
8483
+ path: string;
8484
+ id: string;
8485
+ createdAt: Date;
8486
+ userId: number;
8487
+ signedUrl: string;
8488
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8489
+ }, {
8490
+ path: string;
8491
+ id: string;
8492
+ createdAt: Date;
8493
+ userId: number;
8494
+ signedUrl: string;
8495
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8496
+ }>>>;
8497
+ type: z.ZodEnum<["PURCHASE", "SALE"]>;
8498
+ status: z.ZodString;
8499
+ issueDate: z.ZodDate;
8500
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
8501
+ subtotal: z.ZodNumber;
8502
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8503
+ vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8504
+ total: z.ZodNumber;
8505
+ currency: z.ZodString;
8506
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8507
+ lineItems: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8508
+ id: z.ZodNumber;
8509
+ invoiceId: z.ZodString;
8510
+ itemOnPlatformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8511
+ description: z.ZodString;
8512
+ quantity: z.ZodNumber;
8513
+ unitPrice: z.ZodNumber;
8514
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8515
+ total: z.ZodNumber;
8516
+ createdAt: z.ZodDate;
8517
+ }, "strip", z.ZodTypeAny, {
8518
+ description: string;
8519
+ id: number;
8520
+ createdAt: Date;
8521
+ invoiceId: string;
8522
+ quantity: number;
8523
+ unitPrice: number;
8524
+ total: number;
8525
+ itemOnPlatformId?: string | null | undefined;
8526
+ vatRate?: number | null | undefined;
8527
+ }, {
8528
+ description: string;
8529
+ id: number;
8530
+ createdAt: Date;
8531
+ invoiceId: string;
8532
+ quantity: number;
8533
+ unitPrice: number;
8534
+ total: number;
8535
+ itemOnPlatformId?: string | null | undefined;
8536
+ vatRate?: number | null | undefined;
8537
+ }>, "many">>>;
8538
+ createdAt: z.ZodDate;
8539
+ updatedAt: z.ZodDate;
8540
+ }, "strip", z.ZodTypeAny, {
8541
+ type: "SALE" | "PURCHASE";
8542
+ status: string;
8543
+ id: string;
8544
+ createdAt: Date;
8545
+ userId: number;
8546
+ currency: string;
8547
+ orderId: string;
8548
+ updatedAt: Date;
8549
+ total: number;
8550
+ invoiceNumber: string;
8551
+ businessProfileId: string;
8552
+ issueDate: Date;
8553
+ subtotal: number;
8554
+ fileId?: string | null | undefined;
8555
+ file?: {
8556
+ path: string;
8557
+ id: string;
8558
+ createdAt: Date;
8559
+ userId: number;
8560
+ signedUrl: string;
8561
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8562
+ } | null | undefined;
8563
+ vatRate?: number | null | undefined;
8564
+ businessProfile?: {
8565
+ id: string;
8566
+ createdAt: Date;
8567
+ userId: number;
8568
+ updatedAt: Date;
8569
+ businessName: string;
8570
+ address: string;
8571
+ isActive: boolean;
8572
+ email?: string | null | undefined;
8573
+ phone?: string | null | undefined;
8574
+ siret?: string | null | undefined;
8575
+ vatNumber?: string | null | undefined;
8576
+ logoFileId?: string | null | undefined;
8577
+ logo?: {
8578
+ path: string;
8579
+ id: string;
8580
+ createdAt: Date;
8581
+ userId: number;
8582
+ signedUrl: string;
8583
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8584
+ } | null | undefined;
8585
+ } | null | undefined;
8586
+ customerId?: string | null | undefined;
8587
+ customer?: {
8588
+ id: string;
8589
+ userId: number;
8590
+ firstName: string;
8591
+ lastName: string;
8592
+ birthDate: Date;
8593
+ email: string;
8594
+ idNumber: string;
8595
+ phone: string;
8596
+ iban: string;
8597
+ bic: string;
8598
+ phoneVerified: boolean;
8599
+ addressLine1?: string | null | undefined;
8600
+ addressLine2?: string | null | undefined;
8601
+ city?: string | null | undefined;
8602
+ postalCode?: string | null | undefined;
8603
+ country?: string | null | undefined;
8604
+ } | null | undefined;
8605
+ dueDate?: Date | null | undefined;
8606
+ vatAmount?: number | null | undefined;
8607
+ notes?: string | null | undefined;
8608
+ lineItems?: {
8609
+ description: string;
8610
+ id: number;
8611
+ createdAt: Date;
8612
+ invoiceId: string;
8613
+ quantity: number;
8614
+ unitPrice: number;
8615
+ total: number;
8616
+ itemOnPlatformId?: string | null | undefined;
8617
+ vatRate?: number | null | undefined;
8618
+ }[] | null | undefined;
8619
+ }, {
8620
+ type: "SALE" | "PURCHASE";
8621
+ status: string;
8622
+ id: string;
8623
+ createdAt: Date;
8624
+ userId: number;
8625
+ currency: string;
8626
+ orderId: string;
8627
+ updatedAt: Date;
8628
+ total: number;
8629
+ invoiceNumber: string;
8630
+ businessProfileId: string;
8631
+ issueDate: Date;
8632
+ subtotal: number;
8633
+ fileId?: string | null | undefined;
8634
+ file?: {
8635
+ path: string;
8636
+ id: string;
8637
+ createdAt: Date;
8638
+ userId: number;
8639
+ signedUrl: string;
8640
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8641
+ } | null | undefined;
8642
+ vatRate?: number | null | undefined;
8643
+ businessProfile?: {
8644
+ id: string;
8645
+ createdAt: Date;
8646
+ userId: number;
8647
+ updatedAt: Date;
8648
+ businessName: string;
8649
+ address: string;
8650
+ isActive: boolean;
8651
+ email?: string | null | undefined;
8652
+ phone?: string | null | undefined;
8653
+ siret?: string | null | undefined;
8654
+ vatNumber?: string | null | undefined;
8655
+ logoFileId?: string | null | undefined;
8656
+ logo?: {
8657
+ path: string;
8658
+ id: string;
8659
+ createdAt: Date;
8660
+ userId: number;
8661
+ signedUrl: string;
8662
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8663
+ } | null | undefined;
8664
+ } | null | undefined;
8665
+ customerId?: string | null | undefined;
8666
+ customer?: {
8667
+ id: string;
8668
+ userId: number;
8669
+ firstName: string;
8670
+ lastName: string;
8671
+ birthDate: Date;
8672
+ email: string;
8673
+ idNumber: string;
8674
+ phone: string;
8675
+ iban: string;
8676
+ bic: string;
8677
+ phoneVerified: boolean;
8678
+ addressLine1?: string | null | undefined;
8679
+ addressLine2?: string | null | undefined;
8680
+ city?: string | null | undefined;
8681
+ postalCode?: string | null | undefined;
8682
+ country?: string | null | undefined;
8683
+ } | null | undefined;
8684
+ dueDate?: Date | null | undefined;
8685
+ vatAmount?: number | null | undefined;
8686
+ notes?: string | null | undefined;
8687
+ lineItems?: {
8688
+ description: string;
8689
+ id: number;
8690
+ createdAt: Date;
8691
+ invoiceId: string;
8692
+ quantity: number;
8693
+ unitPrice: number;
8694
+ total: number;
8695
+ itemOnPlatformId?: string | null | undefined;
8696
+ vatRate?: number | null | undefined;
8697
+ }[] | null | undefined;
8698
+ }>, "many">>>;
8699
+ }, "strip", z.ZodTypeAny, {
8700
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
8701
+ labels?: {
8702
+ id: string;
8703
+ fileId: string;
8704
+ orderId: string;
8705
+ nonCroppedFileId: string;
8706
+ originalFileId: string;
8707
+ originalFile?: {
8708
+ path: string;
8709
+ id: string;
8710
+ createdAt: Date;
8711
+ userId: number;
8712
+ signedUrl: string;
8713
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8714
+ } | null | undefined;
8715
+ 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;
8716
+ file?: {
8717
+ path: string;
8718
+ id: string;
8719
+ createdAt: Date;
8720
+ userId: number;
8721
+ signedUrl: string;
8722
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8723
+ } | null | undefined;
8724
+ nonCroppedFile?: {
8725
+ path: string;
8726
+ id: string;
8727
+ createdAt: Date;
8728
+ userId: number;
8729
+ signedUrl: string;
8730
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8731
+ } | null | undefined;
8732
+ }[] | null | undefined;
8733
+ invoices?: {
8734
+ type: "SALE" | "PURCHASE";
8735
+ status: string;
8736
+ id: string;
8737
+ createdAt: Date;
8738
+ userId: number;
8739
+ currency: string;
8740
+ orderId: string;
8741
+ updatedAt: Date;
8742
+ total: number;
8743
+ invoiceNumber: string;
8744
+ businessProfileId: string;
8745
+ issueDate: Date;
8746
+ subtotal: number;
8747
+ fileId?: string | null | undefined;
8748
+ file?: {
8749
+ path: string;
8750
+ id: string;
8751
+ createdAt: Date;
8752
+ userId: number;
8753
+ signedUrl: string;
8754
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8755
+ } | null | undefined;
8756
+ vatRate?: number | null | undefined;
8757
+ businessProfile?: {
8758
+ id: string;
8759
+ createdAt: Date;
8760
+ userId: number;
8761
+ updatedAt: Date;
8762
+ businessName: string;
8763
+ address: string;
8764
+ isActive: boolean;
8765
+ email?: string | null | undefined;
8766
+ phone?: string | null | undefined;
8767
+ siret?: string | null | undefined;
8768
+ vatNumber?: string | null | undefined;
8769
+ logoFileId?: string | null | undefined;
8770
+ logo?: {
8771
+ path: string;
8772
+ id: string;
8773
+ createdAt: Date;
8774
+ userId: number;
8775
+ signedUrl: string;
8776
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8777
+ } | null | undefined;
8778
+ } | null | undefined;
8779
+ customerId?: string | null | undefined;
8780
+ customer?: {
8781
+ id: string;
8782
+ userId: number;
8783
+ firstName: string;
8784
+ lastName: string;
8785
+ birthDate: Date;
8786
+ email: string;
8787
+ idNumber: string;
8788
+ phone: string;
8789
+ iban: string;
8790
+ bic: string;
8791
+ phoneVerified: boolean;
8792
+ addressLine1?: string | null | undefined;
8793
+ addressLine2?: string | null | undefined;
8794
+ city?: string | null | undefined;
8795
+ postalCode?: string | null | undefined;
8796
+ country?: string | null | undefined;
8797
+ } | null | undefined;
8798
+ dueDate?: Date | null | undefined;
8799
+ vatAmount?: number | null | undefined;
8800
+ notes?: string | null | undefined;
8801
+ lineItems?: {
8802
+ description: string;
8803
+ id: number;
8804
+ createdAt: Date;
8805
+ invoiceId: string;
8806
+ quantity: number;
8807
+ unitPrice: number;
8808
+ total: number;
8809
+ itemOnPlatformId?: string | null | undefined;
8810
+ vatRate?: number | null | undefined;
8811
+ }[] | null | undefined;
8812
+ }[] | null | undefined;
8813
+ }, {
8814
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
8815
+ labels?: {
8816
+ id: string;
8817
+ fileId: string;
8818
+ orderId: string;
8819
+ nonCroppedFileId: string;
8820
+ originalFileId: string;
8821
+ originalFile?: {
8822
+ path: string;
8823
+ id: string;
8824
+ createdAt: Date;
8825
+ userId: number;
8826
+ signedUrl: string;
8827
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8828
+ } | null | undefined;
8829
+ carrier?: unknown;
8830
+ file?: {
8831
+ path: string;
8832
+ id: string;
8833
+ createdAt: Date;
8834
+ userId: number;
8835
+ signedUrl: string;
8836
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8837
+ } | null | undefined;
8838
+ nonCroppedFile?: {
8839
+ path: string;
8840
+ id: string;
8841
+ createdAt: Date;
8842
+ userId: number;
8843
+ signedUrl: string;
8844
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8845
+ } | null | undefined;
8846
+ }[] | null | undefined;
8847
+ invoices?: {
8848
+ type: "SALE" | "PURCHASE";
8849
+ status: string;
8850
+ id: string;
8851
+ createdAt: Date;
8852
+ userId: number;
8853
+ currency: string;
8854
+ orderId: string;
8855
+ updatedAt: Date;
8856
+ total: number;
8857
+ invoiceNumber: string;
8858
+ businessProfileId: string;
8859
+ issueDate: Date;
8860
+ subtotal: number;
8861
+ fileId?: string | null | undefined;
8862
+ file?: {
8863
+ path: string;
8864
+ id: string;
8865
+ createdAt: Date;
8866
+ userId: number;
8867
+ signedUrl: string;
8868
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8869
+ } | null | undefined;
8870
+ vatRate?: number | null | undefined;
8871
+ businessProfile?: {
8872
+ id: string;
8873
+ createdAt: Date;
8874
+ userId: number;
8875
+ updatedAt: Date;
8876
+ businessName: string;
8877
+ address: string;
8878
+ isActive: boolean;
8879
+ email?: string | null | undefined;
8880
+ phone?: string | null | undefined;
8881
+ siret?: string | null | undefined;
8882
+ vatNumber?: string | null | undefined;
8883
+ logoFileId?: string | null | undefined;
8884
+ logo?: {
8885
+ path: string;
8886
+ id: string;
8887
+ createdAt: Date;
8888
+ userId: number;
8889
+ signedUrl: string;
8890
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
8891
+ } | null | undefined;
8892
+ } | null | undefined;
8893
+ customerId?: string | null | undefined;
8894
+ customer?: {
8895
+ id: string;
8896
+ userId: number;
8897
+ firstName: string;
8898
+ lastName: string;
8899
+ birthDate: Date;
8900
+ email: string;
8901
+ idNumber: string;
8902
+ phone: string;
8903
+ iban: string;
8904
+ bic: string;
8905
+ phoneVerified: boolean;
8906
+ addressLine1?: string | null | undefined;
8907
+ addressLine2?: string | null | undefined;
8908
+ city?: string | null | undefined;
8909
+ postalCode?: string | null | undefined;
8910
+ country?: string | null | undefined;
8911
+ } | null | undefined;
8912
+ dueDate?: Date | null | undefined;
8913
+ vatAmount?: number | null | undefined;
8914
+ notes?: string | null | undefined;
8915
+ lineItems?: {
8916
+ description: string;
8917
+ id: number;
8918
+ createdAt: Date;
8919
+ invoiceId: string;
8920
+ quantity: number;
8921
+ unitPrice: number;
8922
+ total: number;
8923
+ itemOnPlatformId?: string | null | undefined;
8924
+ vatRate?: number | null | undefined;
8925
+ }[] | null | undefined;
8926
+ }[] | null | undefined;
8927
+ }>>>;
8199
8928
  }, "strip", z.ZodTypeAny, {
8200
8929
  actions: {
8201
8930
  perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL")[]>;
@@ -8576,6 +9305,121 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8576
9305
  targetHistoryId?: string | null | undefined;
8577
9306
  } | null | undefined;
8578
9307
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
9308
+ order?: {
9309
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
9310
+ labels?: {
9311
+ id: string;
9312
+ fileId: string;
9313
+ orderId: string;
9314
+ nonCroppedFileId: string;
9315
+ originalFileId: string;
9316
+ originalFile?: {
9317
+ path: string;
9318
+ id: string;
9319
+ createdAt: Date;
9320
+ userId: number;
9321
+ signedUrl: string;
9322
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9323
+ } | null | undefined;
9324
+ 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;
9325
+ file?: {
9326
+ path: string;
9327
+ id: string;
9328
+ createdAt: Date;
9329
+ userId: number;
9330
+ signedUrl: string;
9331
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9332
+ } | null | undefined;
9333
+ nonCroppedFile?: {
9334
+ path: string;
9335
+ id: string;
9336
+ createdAt: Date;
9337
+ userId: number;
9338
+ signedUrl: string;
9339
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9340
+ } | null | undefined;
9341
+ }[] | null | undefined;
9342
+ invoices?: {
9343
+ type: "SALE" | "PURCHASE";
9344
+ status: string;
9345
+ id: string;
9346
+ createdAt: Date;
9347
+ userId: number;
9348
+ currency: string;
9349
+ orderId: string;
9350
+ updatedAt: Date;
9351
+ total: number;
9352
+ invoiceNumber: string;
9353
+ businessProfileId: string;
9354
+ issueDate: Date;
9355
+ subtotal: number;
9356
+ fileId?: string | null | undefined;
9357
+ file?: {
9358
+ path: string;
9359
+ id: string;
9360
+ createdAt: Date;
9361
+ userId: number;
9362
+ signedUrl: string;
9363
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9364
+ } | null | undefined;
9365
+ vatRate?: number | null | undefined;
9366
+ businessProfile?: {
9367
+ id: string;
9368
+ createdAt: Date;
9369
+ userId: number;
9370
+ updatedAt: Date;
9371
+ businessName: string;
9372
+ address: string;
9373
+ isActive: boolean;
9374
+ email?: string | null | undefined;
9375
+ phone?: string | null | undefined;
9376
+ siret?: string | null | undefined;
9377
+ vatNumber?: string | null | undefined;
9378
+ logoFileId?: string | null | undefined;
9379
+ logo?: {
9380
+ path: string;
9381
+ id: string;
9382
+ createdAt: Date;
9383
+ userId: number;
9384
+ signedUrl: string;
9385
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9386
+ } | null | undefined;
9387
+ } | null | undefined;
9388
+ customerId?: string | null | undefined;
9389
+ customer?: {
9390
+ id: string;
9391
+ userId: number;
9392
+ firstName: string;
9393
+ lastName: string;
9394
+ birthDate: Date;
9395
+ email: string;
9396
+ idNumber: string;
9397
+ phone: string;
9398
+ iban: string;
9399
+ bic: string;
9400
+ phoneVerified: boolean;
9401
+ addressLine1?: string | null | undefined;
9402
+ addressLine2?: string | null | undefined;
9403
+ city?: string | null | undefined;
9404
+ postalCode?: string | null | undefined;
9405
+ country?: string | null | undefined;
9406
+ } | null | undefined;
9407
+ dueDate?: Date | null | undefined;
9408
+ vatAmount?: number | null | undefined;
9409
+ notes?: string | null | undefined;
9410
+ lineItems?: {
9411
+ description: string;
9412
+ id: number;
9413
+ createdAt: Date;
9414
+ invoiceId: string;
9415
+ quantity: number;
9416
+ unitPrice: number;
9417
+ total: number;
9418
+ itemOnPlatformId?: string | null | undefined;
9419
+ vatRate?: number | null | undefined;
9420
+ }[] | null | undefined;
9421
+ }[] | null | undefined;
9422
+ } | null | undefined;
8579
9423
  }, {
8580
9424
  actions: {
8581
9425
  perAccount: Record<string, unknown[]>;
@@ -8956,6 +9800,121 @@ export declare const CreatedItemsSchema: z.ZodObject<{
8956
9800
  targetHistoryId?: string | null | undefined;
8957
9801
  } | null | undefined;
8958
9802
  sourceInConversation?: unknown;
9803
+ order?: {
9804
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
9805
+ labels?: {
9806
+ id: string;
9807
+ fileId: string;
9808
+ orderId: string;
9809
+ nonCroppedFileId: string;
9810
+ originalFileId: string;
9811
+ originalFile?: {
9812
+ path: string;
9813
+ id: string;
9814
+ createdAt: Date;
9815
+ userId: number;
9816
+ signedUrl: string;
9817
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9818
+ } | null | undefined;
9819
+ carrier?: unknown;
9820
+ file?: {
9821
+ path: string;
9822
+ id: string;
9823
+ createdAt: Date;
9824
+ userId: number;
9825
+ signedUrl: string;
9826
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9827
+ } | null | undefined;
9828
+ nonCroppedFile?: {
9829
+ path: string;
9830
+ id: string;
9831
+ createdAt: Date;
9832
+ userId: number;
9833
+ signedUrl: string;
9834
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9835
+ } | null | undefined;
9836
+ }[] | null | undefined;
9837
+ invoices?: {
9838
+ type: "SALE" | "PURCHASE";
9839
+ status: string;
9840
+ id: string;
9841
+ createdAt: Date;
9842
+ userId: number;
9843
+ currency: string;
9844
+ orderId: string;
9845
+ updatedAt: Date;
9846
+ total: number;
9847
+ invoiceNumber: string;
9848
+ businessProfileId: string;
9849
+ issueDate: Date;
9850
+ subtotal: number;
9851
+ fileId?: string | null | undefined;
9852
+ file?: {
9853
+ path: string;
9854
+ id: string;
9855
+ createdAt: Date;
9856
+ userId: number;
9857
+ signedUrl: string;
9858
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9859
+ } | null | undefined;
9860
+ vatRate?: number | null | undefined;
9861
+ businessProfile?: {
9862
+ id: string;
9863
+ createdAt: Date;
9864
+ userId: number;
9865
+ updatedAt: Date;
9866
+ businessName: string;
9867
+ address: string;
9868
+ isActive: boolean;
9869
+ email?: string | null | undefined;
9870
+ phone?: string | null | undefined;
9871
+ siret?: string | null | undefined;
9872
+ vatNumber?: string | null | undefined;
9873
+ logoFileId?: string | null | undefined;
9874
+ logo?: {
9875
+ path: string;
9876
+ id: string;
9877
+ createdAt: Date;
9878
+ userId: number;
9879
+ signedUrl: string;
9880
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
9881
+ } | null | undefined;
9882
+ } | null | undefined;
9883
+ customerId?: string | null | undefined;
9884
+ customer?: {
9885
+ id: string;
9886
+ userId: number;
9887
+ firstName: string;
9888
+ lastName: string;
9889
+ birthDate: Date;
9890
+ email: string;
9891
+ idNumber: string;
9892
+ phone: string;
9893
+ iban: string;
9894
+ bic: string;
9895
+ phoneVerified: boolean;
9896
+ addressLine1?: string | null | undefined;
9897
+ addressLine2?: string | null | undefined;
9898
+ city?: string | null | undefined;
9899
+ postalCode?: string | null | undefined;
9900
+ country?: string | null | undefined;
9901
+ } | null | undefined;
9902
+ dueDate?: Date | null | undefined;
9903
+ vatAmount?: number | null | undefined;
9904
+ notes?: string | null | undefined;
9905
+ lineItems?: {
9906
+ description: string;
9907
+ id: number;
9908
+ createdAt: Date;
9909
+ invoiceId: string;
9910
+ quantity: number;
9911
+ unitPrice: number;
9912
+ total: number;
9913
+ itemOnPlatformId?: string | null | undefined;
9914
+ vatRate?: number | null | undefined;
9915
+ }[] | null | undefined;
9916
+ }[] | null | undefined;
9917
+ } | null | undefined;
8959
9918
  }>, "many">;
8960
9919
  }, "strip", z.ZodTypeAny, {
8961
9920
  items: {
@@ -9974,6 +10933,121 @@ export declare const CreatedItemsSchema: z.ZodObject<{
9974
10933
  targetHistoryId?: string | null | undefined;
9975
10934
  } | null | undefined;
9976
10935
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
10936
+ order?: {
10937
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
10938
+ labels?: {
10939
+ id: string;
10940
+ fileId: string;
10941
+ orderId: string;
10942
+ nonCroppedFileId: string;
10943
+ originalFileId: string;
10944
+ originalFile?: {
10945
+ path: string;
10946
+ id: string;
10947
+ createdAt: Date;
10948
+ userId: number;
10949
+ signedUrl: string;
10950
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
10951
+ } | null | undefined;
10952
+ 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;
10953
+ file?: {
10954
+ path: string;
10955
+ id: string;
10956
+ createdAt: Date;
10957
+ userId: number;
10958
+ signedUrl: string;
10959
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
10960
+ } | null | undefined;
10961
+ nonCroppedFile?: {
10962
+ path: string;
10963
+ id: string;
10964
+ createdAt: Date;
10965
+ userId: number;
10966
+ signedUrl: string;
10967
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
10968
+ } | null | undefined;
10969
+ }[] | null | undefined;
10970
+ invoices?: {
10971
+ type: "SALE" | "PURCHASE";
10972
+ status: string;
10973
+ id: string;
10974
+ createdAt: Date;
10975
+ userId: number;
10976
+ currency: string;
10977
+ orderId: string;
10978
+ updatedAt: Date;
10979
+ total: number;
10980
+ invoiceNumber: string;
10981
+ businessProfileId: string;
10982
+ issueDate: Date;
10983
+ subtotal: number;
10984
+ fileId?: string | null | undefined;
10985
+ file?: {
10986
+ path: string;
10987
+ id: string;
10988
+ createdAt: Date;
10989
+ userId: number;
10990
+ signedUrl: string;
10991
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
10992
+ } | null | undefined;
10993
+ vatRate?: number | null | undefined;
10994
+ businessProfile?: {
10995
+ id: string;
10996
+ createdAt: Date;
10997
+ userId: number;
10998
+ updatedAt: Date;
10999
+ businessName: string;
11000
+ address: string;
11001
+ isActive: boolean;
11002
+ email?: string | null | undefined;
11003
+ phone?: string | null | undefined;
11004
+ siret?: string | null | undefined;
11005
+ vatNumber?: string | null | undefined;
11006
+ logoFileId?: string | null | undefined;
11007
+ logo?: {
11008
+ path: string;
11009
+ id: string;
11010
+ createdAt: Date;
11011
+ userId: number;
11012
+ signedUrl: string;
11013
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
11014
+ } | null | undefined;
11015
+ } | null | undefined;
11016
+ customerId?: string | null | undefined;
11017
+ customer?: {
11018
+ id: string;
11019
+ userId: number;
11020
+ firstName: string;
11021
+ lastName: string;
11022
+ birthDate: Date;
11023
+ email: string;
11024
+ idNumber: string;
11025
+ phone: string;
11026
+ iban: string;
11027
+ bic: string;
11028
+ phoneVerified: boolean;
11029
+ addressLine1?: string | null | undefined;
11030
+ addressLine2?: string | null | undefined;
11031
+ city?: string | null | undefined;
11032
+ postalCode?: string | null | undefined;
11033
+ country?: string | null | undefined;
11034
+ } | null | undefined;
11035
+ dueDate?: Date | null | undefined;
11036
+ vatAmount?: number | null | undefined;
11037
+ notes?: string | null | undefined;
11038
+ lineItems?: {
11039
+ description: string;
11040
+ id: number;
11041
+ createdAt: Date;
11042
+ invoiceId: string;
11043
+ quantity: number;
11044
+ unitPrice: number;
11045
+ total: number;
11046
+ itemOnPlatformId?: string | null | undefined;
11047
+ vatRate?: number | null | undefined;
11048
+ }[] | null | undefined;
11049
+ }[] | null | undefined;
11050
+ } | null | undefined;
9977
11051
  }[];
9978
11052
  }, {
9979
11053
  items: {
@@ -10992,6 +12066,121 @@ export declare const CreatedItemsSchema: z.ZodObject<{
10992
12066
  targetHistoryId?: string | null | undefined;
10993
12067
  } | null | undefined;
10994
12068
  sourceInConversation?: unknown;
12069
+ order?: {
12070
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
12071
+ labels?: {
12072
+ id: string;
12073
+ fileId: string;
12074
+ orderId: string;
12075
+ nonCroppedFileId: string;
12076
+ originalFileId: string;
12077
+ originalFile?: {
12078
+ path: string;
12079
+ id: string;
12080
+ createdAt: Date;
12081
+ userId: number;
12082
+ signedUrl: string;
12083
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
12084
+ } | null | undefined;
12085
+ carrier?: unknown;
12086
+ file?: {
12087
+ path: string;
12088
+ id: string;
12089
+ createdAt: Date;
12090
+ userId: number;
12091
+ signedUrl: string;
12092
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
12093
+ } | null | undefined;
12094
+ nonCroppedFile?: {
12095
+ path: string;
12096
+ id: string;
12097
+ createdAt: Date;
12098
+ userId: number;
12099
+ signedUrl: string;
12100
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
12101
+ } | null | undefined;
12102
+ }[] | null | undefined;
12103
+ invoices?: {
12104
+ type: "SALE" | "PURCHASE";
12105
+ status: string;
12106
+ id: string;
12107
+ createdAt: Date;
12108
+ userId: number;
12109
+ currency: string;
12110
+ orderId: string;
12111
+ updatedAt: Date;
12112
+ total: number;
12113
+ invoiceNumber: string;
12114
+ businessProfileId: string;
12115
+ issueDate: Date;
12116
+ subtotal: number;
12117
+ fileId?: string | null | undefined;
12118
+ file?: {
12119
+ path: string;
12120
+ id: string;
12121
+ createdAt: Date;
12122
+ userId: number;
12123
+ signedUrl: string;
12124
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
12125
+ } | null | undefined;
12126
+ vatRate?: number | null | undefined;
12127
+ businessProfile?: {
12128
+ id: string;
12129
+ createdAt: Date;
12130
+ userId: number;
12131
+ updatedAt: Date;
12132
+ businessName: string;
12133
+ address: string;
12134
+ isActive: boolean;
12135
+ email?: string | null | undefined;
12136
+ phone?: string | null | undefined;
12137
+ siret?: string | null | undefined;
12138
+ vatNumber?: string | null | undefined;
12139
+ logoFileId?: string | null | undefined;
12140
+ logo?: {
12141
+ path: string;
12142
+ id: string;
12143
+ createdAt: Date;
12144
+ userId: number;
12145
+ signedUrl: string;
12146
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
12147
+ } | null | undefined;
12148
+ } | null | undefined;
12149
+ customerId?: string | null | undefined;
12150
+ customer?: {
12151
+ id: string;
12152
+ userId: number;
12153
+ firstName: string;
12154
+ lastName: string;
12155
+ birthDate: Date;
12156
+ email: string;
12157
+ idNumber: string;
12158
+ phone: string;
12159
+ iban: string;
12160
+ bic: string;
12161
+ phoneVerified: boolean;
12162
+ addressLine1?: string | null | undefined;
12163
+ addressLine2?: string | null | undefined;
12164
+ city?: string | null | undefined;
12165
+ postalCode?: string | null | undefined;
12166
+ country?: string | null | undefined;
12167
+ } | null | undefined;
12168
+ dueDate?: Date | null | undefined;
12169
+ vatAmount?: number | null | undefined;
12170
+ notes?: string | null | undefined;
12171
+ lineItems?: {
12172
+ description: string;
12173
+ id: number;
12174
+ createdAt: Date;
12175
+ invoiceId: string;
12176
+ quantity: number;
12177
+ unitPrice: number;
12178
+ total: number;
12179
+ itemOnPlatformId?: string | null | undefined;
12180
+ vatRate?: number | null | undefined;
12181
+ }[] | null | undefined;
12182
+ }[] | null | undefined;
12183
+ } | null | undefined;
10995
12184
  }[];
10996
12185
  }>;
10997
12186
  export type CreatedItems = z.infer<typeof CreatedItemsSchema>;