exnet-routing 1.2.28 → 1.2.29
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.
- package/dist/models/_chat.d.ts +755 -6
- package/dist/models/_chat.js +83 -3
- package/dist/models/_chat_message.d.ts +938 -57
- package/dist/models/_contact.d.ts +5 -0
- package/dist/models/_contact_visible.d.ts +10 -0
- package/dist/models/_historique_action.d.ts +5 -0
- package/dist/models/_information_chauffeur.d.ts +5 -0
- package/dist/models/_information_importante.d.ts +5 -0
- package/dist/models/_livraison_chauffeur.d.ts +5 -0
- package/dist/models/_prise_de_poste.d.ts +5 -0
- package/dist/models/_ramassage_chauffeur.d.ts +5 -0
- package/dist/models/_shipping.d.ts +5 -0
- package/dist/models/_shipping_affected.d.ts +5 -0
- package/dist/models/_shipping_comment.d.ts +5 -0
- package/dist/models/_shipping_course.d.ts +5 -0
- package/dist/models/_shipping_document.d.ts +5 -0
- package/dist/models/_shipping_tracking.d.ts +5 -0
- package/dist/models/_tracking_visible.d.ts +10 -0
- package/dist/models/_user.d.ts +12 -0
- package/dist/models/_user.js +4 -0
- package/dist/models/_user_billing_center.d.ts +5 -0
- package/dist/models/_user_login_historie.d.ts +5 -0
- package/dist/models/_vehicule_affected.d.ts +5 -0
- package/dist/routes/admin.d.ts +258 -0
- package/dist/routes/ops.d.ts +288 -0
- package/dist/routes/public.d.ts +14 -0
- package/dist/routes/user.d.ts +147 -0
- package/package.json +1 -1
package/dist/models/_chat.d.ts
CHANGED
|
@@ -6,6 +6,29 @@ export declare const ChatTypeEnum: {
|
|
|
6
6
|
readonly OTHER: "other";
|
|
7
7
|
};
|
|
8
8
|
export type ChatType = (typeof ChatTypeEnum)[keyof typeof ChatTypeEnum];
|
|
9
|
+
export declare const ChatStatusEnum: {
|
|
10
|
+
readonly OPEN: "open";
|
|
11
|
+
readonly IN_PROGRESS: "in_progress";
|
|
12
|
+
readonly RESOLVED: "resolved";
|
|
13
|
+
readonly CLOSED: "closed";
|
|
14
|
+
};
|
|
15
|
+
export type ChatStatus = (typeof ChatStatusEnum)[keyof typeof ChatStatusEnum];
|
|
16
|
+
export declare const ChatPriorityEnum: {
|
|
17
|
+
readonly LOW: "low";
|
|
18
|
+
readonly MEDIUM: "medium";
|
|
19
|
+
readonly HIGH: "high";
|
|
20
|
+
readonly URGENT: "urgent";
|
|
21
|
+
};
|
|
22
|
+
export type ChatPriority = (typeof ChatPriorityEnum)[keyof typeof ChatPriorityEnum];
|
|
23
|
+
export declare const ChatCategoryEnum: {
|
|
24
|
+
readonly GENERAL: "general";
|
|
25
|
+
readonly DELIVERY_ISSUE: "delivery_issue";
|
|
26
|
+
readonly COMPLAINT: "complaint";
|
|
27
|
+
readonly BILLING: "billing";
|
|
28
|
+
readonly TRACKING: "tracking";
|
|
29
|
+
readonly OTHER: "other";
|
|
30
|
+
};
|
|
31
|
+
export type ChatCategory = (typeof ChatCategoryEnum)[keyof typeof ChatCategoryEnum];
|
|
9
32
|
export declare const ChatSchema: z.ZodObject<{
|
|
10
33
|
id: z.ZodNumber;
|
|
11
34
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
@@ -16,9 +39,17 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
16
39
|
readonly OTHER: "other";
|
|
17
40
|
}>;
|
|
18
41
|
status: z.ZodString;
|
|
19
|
-
users: z.ZodNullable<z.ZodArray<z.
|
|
42
|
+
users: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
20
43
|
userId: z.ZodNullable<z.ZodNumber>;
|
|
21
44
|
shippingId: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
ticketNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
assignedOpsId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
50
|
+
billingCenterId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>>>;
|
|
52
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>>>;
|
|
22
53
|
shipping: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
23
54
|
id: z.ZodNumber;
|
|
24
55
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
@@ -237,6 +268,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
237
268
|
entreprisePhysique: z.ZodString;
|
|
238
269
|
isAdminChauffeur: z.ZodBoolean;
|
|
239
270
|
isShowTracking: z.ZodBoolean;
|
|
271
|
+
isSupportActivated: z.ZodBoolean;
|
|
240
272
|
isClientTransitaire: z.ZodBoolean;
|
|
241
273
|
customerId: z.ZodNumber;
|
|
242
274
|
vehiculeId: z.ZodNumber;
|
|
@@ -301,6 +333,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
301
333
|
entreprisePhysique: string;
|
|
302
334
|
isAdminChauffeur: boolean;
|
|
303
335
|
isShowTracking: boolean;
|
|
336
|
+
isSupportActivated: boolean;
|
|
304
337
|
isClientTransitaire: boolean;
|
|
305
338
|
vehiculeId: number;
|
|
306
339
|
salaryId: number;
|
|
@@ -364,10 +397,364 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
364
397
|
entreprisePhysique: string;
|
|
365
398
|
isAdminChauffeur: boolean;
|
|
366
399
|
isShowTracking: boolean;
|
|
400
|
+
isSupportActivated: boolean;
|
|
367
401
|
isClientTransitaire: boolean;
|
|
368
402
|
vehiculeId: number;
|
|
369
403
|
salaryId: number;
|
|
370
404
|
}>>>;
|
|
405
|
+
assignedOps: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
406
|
+
id: z.ZodNumber;
|
|
407
|
+
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
408
|
+
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
409
|
+
firstName: z.ZodString;
|
|
410
|
+
lastName: z.ZodString;
|
|
411
|
+
email: z.ZodString;
|
|
412
|
+
emailVerifiedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
413
|
+
password: z.ZodString;
|
|
414
|
+
isActif: z.ZodBoolean;
|
|
415
|
+
countryId: z.ZodNullable<z.ZodNumber>;
|
|
416
|
+
postalCode: z.ZodString;
|
|
417
|
+
city: z.ZodString;
|
|
418
|
+
poste: z.ZodString;
|
|
419
|
+
comments: z.ZodString;
|
|
420
|
+
addressOne: z.ZodString;
|
|
421
|
+
addressTwo: z.ZodString;
|
|
422
|
+
telephoneOne: z.ZodString;
|
|
423
|
+
telephoneTwo: z.ZodString;
|
|
424
|
+
emailOne: z.ZodString;
|
|
425
|
+
emailTwo: z.ZodString;
|
|
426
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
427
|
+
isOpsAdmin: z.ZodBoolean;
|
|
428
|
+
civility: z.ZodString;
|
|
429
|
+
numCodeOne: z.ZodString;
|
|
430
|
+
numCodeTwo: z.ZodString;
|
|
431
|
+
isShowCalculatrice: z.ZodBoolean;
|
|
432
|
+
expedition: z.ZodBoolean;
|
|
433
|
+
physicCompany: z.ZodString;
|
|
434
|
+
isParis: z.ZodBoolean;
|
|
435
|
+
isMedical: z.ZodBoolean;
|
|
436
|
+
isService: z.ZodBoolean;
|
|
437
|
+
menus: z.ZodString;
|
|
438
|
+
ongletExpedition: z.ZodString;
|
|
439
|
+
chauffeurType: z.ZodString;
|
|
440
|
+
typeOfOps: z.ZodString;
|
|
441
|
+
prestation: z.ZodString;
|
|
442
|
+
tracking: z.ZodString;
|
|
443
|
+
expeditionCourse: z.ZodString;
|
|
444
|
+
carnetAddress: z.ZodString;
|
|
445
|
+
expeditionsCarnet: z.ZodString;
|
|
446
|
+
accessArchive: z.ZodString;
|
|
447
|
+
isShowImportMenu: z.ZodBoolean;
|
|
448
|
+
isShowExportMenu: z.ZodBoolean;
|
|
449
|
+
isShowCourseMenu: z.ZodBoolean;
|
|
450
|
+
twoRoues: z.ZodBoolean;
|
|
451
|
+
vt: z.ZodBoolean;
|
|
452
|
+
lesTwo: z.ZodBoolean;
|
|
453
|
+
isMiniTracking: z.ZodBoolean;
|
|
454
|
+
isFullTracking: z.ZodBoolean;
|
|
455
|
+
isShareCourseAndExpedition: z.ZodBoolean;
|
|
456
|
+
isShareCarnetAdresse: z.ZodBoolean;
|
|
457
|
+
isShareCarnetAdresseAndExpedition: z.ZodBoolean;
|
|
458
|
+
isAccessAuxArchives: z.ZodBoolean;
|
|
459
|
+
isShowInfo: z.ZodBoolean;
|
|
460
|
+
photo: z.ZodNullable<z.ZodString>;
|
|
461
|
+
entreprisePhysique: z.ZodString;
|
|
462
|
+
isAdminChauffeur: z.ZodBoolean;
|
|
463
|
+
isShowTracking: z.ZodBoolean;
|
|
464
|
+
isSupportActivated: z.ZodBoolean;
|
|
465
|
+
isClientTransitaire: z.ZodBoolean;
|
|
466
|
+
customerId: z.ZodNumber;
|
|
467
|
+
vehiculeId: z.ZodNumber;
|
|
468
|
+
salaryId: z.ZodNumber;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
id: number;
|
|
471
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
472
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
473
|
+
countryId: number | null;
|
|
474
|
+
addressTwo: string;
|
|
475
|
+
postalCode: string;
|
|
476
|
+
city: string;
|
|
477
|
+
telephoneOne: string;
|
|
478
|
+
telephoneTwo: string;
|
|
479
|
+
email: string;
|
|
480
|
+
comments: string;
|
|
481
|
+
numCodeOne: string;
|
|
482
|
+
numCodeTwo: string;
|
|
483
|
+
isActif: boolean;
|
|
484
|
+
isParis: boolean;
|
|
485
|
+
isMedical: boolean;
|
|
486
|
+
isService: boolean;
|
|
487
|
+
emailOne: string;
|
|
488
|
+
emailTwo: string;
|
|
489
|
+
addressOne: string;
|
|
490
|
+
customerId: number;
|
|
491
|
+
firstName: string;
|
|
492
|
+
lastName: string;
|
|
493
|
+
emailVerifiedAt: DateTime<true> | DateTime<false>;
|
|
494
|
+
password: string;
|
|
495
|
+
poste: string;
|
|
496
|
+
roles: string[];
|
|
497
|
+
isOpsAdmin: boolean;
|
|
498
|
+
civility: string;
|
|
499
|
+
isShowCalculatrice: boolean;
|
|
500
|
+
expedition: boolean;
|
|
501
|
+
physicCompany: string;
|
|
502
|
+
menus: string;
|
|
503
|
+
ongletExpedition: string;
|
|
504
|
+
chauffeurType: string;
|
|
505
|
+
typeOfOps: string;
|
|
506
|
+
prestation: string;
|
|
507
|
+
tracking: string;
|
|
508
|
+
expeditionCourse: string;
|
|
509
|
+
carnetAddress: string;
|
|
510
|
+
expeditionsCarnet: string;
|
|
511
|
+
accessArchive: string;
|
|
512
|
+
isShowImportMenu: boolean;
|
|
513
|
+
isShowExportMenu: boolean;
|
|
514
|
+
isShowCourseMenu: boolean;
|
|
515
|
+
twoRoues: boolean;
|
|
516
|
+
vt: boolean;
|
|
517
|
+
lesTwo: boolean;
|
|
518
|
+
isMiniTracking: boolean;
|
|
519
|
+
isFullTracking: boolean;
|
|
520
|
+
isShareCourseAndExpedition: boolean;
|
|
521
|
+
isShareCarnetAdresse: boolean;
|
|
522
|
+
isShareCarnetAdresseAndExpedition: boolean;
|
|
523
|
+
isAccessAuxArchives: boolean;
|
|
524
|
+
isShowInfo: boolean;
|
|
525
|
+
photo: string | null;
|
|
526
|
+
entreprisePhysique: string;
|
|
527
|
+
isAdminChauffeur: boolean;
|
|
528
|
+
isShowTracking: boolean;
|
|
529
|
+
isSupportActivated: boolean;
|
|
530
|
+
isClientTransitaire: boolean;
|
|
531
|
+
vehiculeId: number;
|
|
532
|
+
salaryId: number;
|
|
533
|
+
}, {
|
|
534
|
+
id: number;
|
|
535
|
+
createdAt: Date;
|
|
536
|
+
updatedAt: Date;
|
|
537
|
+
countryId: number | null;
|
|
538
|
+
addressTwo: string;
|
|
539
|
+
postalCode: string;
|
|
540
|
+
city: string;
|
|
541
|
+
telephoneOne: string;
|
|
542
|
+
telephoneTwo: string;
|
|
543
|
+
email: string;
|
|
544
|
+
comments: string;
|
|
545
|
+
numCodeOne: string;
|
|
546
|
+
numCodeTwo: string;
|
|
547
|
+
isActif: boolean;
|
|
548
|
+
isParis: boolean;
|
|
549
|
+
isMedical: boolean;
|
|
550
|
+
isService: boolean;
|
|
551
|
+
emailOne: string;
|
|
552
|
+
emailTwo: string;
|
|
553
|
+
addressOne: string;
|
|
554
|
+
customerId: number;
|
|
555
|
+
firstName: string;
|
|
556
|
+
lastName: string;
|
|
557
|
+
emailVerifiedAt: Date;
|
|
558
|
+
password: string;
|
|
559
|
+
poste: string;
|
|
560
|
+
roles: string[];
|
|
561
|
+
isOpsAdmin: boolean;
|
|
562
|
+
civility: string;
|
|
563
|
+
isShowCalculatrice: boolean;
|
|
564
|
+
expedition: boolean;
|
|
565
|
+
physicCompany: string;
|
|
566
|
+
menus: string;
|
|
567
|
+
ongletExpedition: string;
|
|
568
|
+
chauffeurType: string;
|
|
569
|
+
typeOfOps: string;
|
|
570
|
+
prestation: string;
|
|
571
|
+
tracking: string;
|
|
572
|
+
expeditionCourse: string;
|
|
573
|
+
carnetAddress: string;
|
|
574
|
+
expeditionsCarnet: string;
|
|
575
|
+
accessArchive: string;
|
|
576
|
+
isShowImportMenu: boolean;
|
|
577
|
+
isShowExportMenu: boolean;
|
|
578
|
+
isShowCourseMenu: boolean;
|
|
579
|
+
twoRoues: boolean;
|
|
580
|
+
vt: boolean;
|
|
581
|
+
lesTwo: boolean;
|
|
582
|
+
isMiniTracking: boolean;
|
|
583
|
+
isFullTracking: boolean;
|
|
584
|
+
isShareCourseAndExpedition: boolean;
|
|
585
|
+
isShareCarnetAdresse: boolean;
|
|
586
|
+
isShareCarnetAdresseAndExpedition: boolean;
|
|
587
|
+
isAccessAuxArchives: boolean;
|
|
588
|
+
isShowInfo: boolean;
|
|
589
|
+
photo: string | null;
|
|
590
|
+
entreprisePhysique: string;
|
|
591
|
+
isAdminChauffeur: boolean;
|
|
592
|
+
isShowTracking: boolean;
|
|
593
|
+
isSupportActivated: boolean;
|
|
594
|
+
isClientTransitaire: boolean;
|
|
595
|
+
vehiculeId: number;
|
|
596
|
+
salaryId: number;
|
|
597
|
+
}>>>>;
|
|
598
|
+
billingCenter: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
599
|
+
id: z.ZodNumber;
|
|
600
|
+
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
601
|
+
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
602
|
+
billingCenterName: z.ZodString;
|
|
603
|
+
numeroEori: z.ZodNullable<z.ZodString>;
|
|
604
|
+
numeroSiren: z.ZodNullable<z.ZodString>;
|
|
605
|
+
countryId: z.ZodNumber;
|
|
606
|
+
address: z.ZodString;
|
|
607
|
+
addressTwo: z.ZodNullable<z.ZodString>;
|
|
608
|
+
postalCode: z.ZodString;
|
|
609
|
+
city: z.ZodString;
|
|
610
|
+
telephoneOne: z.ZodString;
|
|
611
|
+
telephoneTwo: z.ZodNullable<z.ZodString>;
|
|
612
|
+
invoiceMailOne: z.ZodString;
|
|
613
|
+
invoiceMailTwo: z.ZodNullable<z.ZodString>;
|
|
614
|
+
dafResponsibleName: z.ZodNullable<z.ZodString>;
|
|
615
|
+
telephone: z.ZodNullable<z.ZodString>;
|
|
616
|
+
email: z.ZodNullable<z.ZodString>;
|
|
617
|
+
intraVatNumber: z.ZodNullable<z.ZodString>;
|
|
618
|
+
isSubmittedToFrenchVat: z.ZodBoolean;
|
|
619
|
+
comments: z.ZodNullable<z.ZodString>;
|
|
620
|
+
numCodeOne: z.ZodNullable<z.ZodString>;
|
|
621
|
+
numCodeTwo: z.ZodNullable<z.ZodString>;
|
|
622
|
+
isActiveMailInstruction: z.ZodBoolean;
|
|
623
|
+
isActif: z.ZodBoolean;
|
|
624
|
+
isActiveVariation: z.ZodBoolean;
|
|
625
|
+
isMailing: z.ZodBoolean;
|
|
626
|
+
isParis: z.ZodBoolean;
|
|
627
|
+
isMedical: z.ZodBoolean;
|
|
628
|
+
isService: z.ZodBoolean;
|
|
629
|
+
isShowSecondBordereaux: z.ZodBoolean;
|
|
630
|
+
isShowCustomerName: z.ZodBoolean;
|
|
631
|
+
isShowCommercialValue: z.ZodBoolean;
|
|
632
|
+
dirigeant: z.ZodNullable<z.ZodString>;
|
|
633
|
+
dirigeantTel: z.ZodNullable<z.ZodString>;
|
|
634
|
+
dirigeantEmail: z.ZodNullable<z.ZodString>;
|
|
635
|
+
responsableComptable: z.ZodNullable<z.ZodString>;
|
|
636
|
+
responsableComptableTel: z.ZodNullable<z.ZodString>;
|
|
637
|
+
responsableComptableEmail: z.ZodNullable<z.ZodString>;
|
|
638
|
+
responsableDaf: z.ZodNullable<z.ZodString>;
|
|
639
|
+
responsableDafTel: z.ZodNullable<z.ZodString>;
|
|
640
|
+
responsableDafEmail: z.ZodNullable<z.ZodString>;
|
|
641
|
+
emailFacturation: z.ZodNullable<z.ZodString>;
|
|
642
|
+
logo: z.ZodNullable<z.ZodString>;
|
|
643
|
+
header: z.ZodNullable<z.ZodString>;
|
|
644
|
+
footer: z.ZodNullable<z.ZodString>;
|
|
645
|
+
emailOne: z.ZodNullable<z.ZodString>;
|
|
646
|
+
emailTwo: z.ZodNullable<z.ZodString>;
|
|
647
|
+
emailThree: z.ZodNullable<z.ZodString>;
|
|
648
|
+
eori: z.ZodNullable<z.ZodString>;
|
|
649
|
+
tva: z.ZodNullable<z.ZodString>;
|
|
650
|
+
customerId: z.ZodNullable<z.ZodNumber>;
|
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
id: number;
|
|
653
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
654
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
655
|
+
countryId: number;
|
|
656
|
+
address: string;
|
|
657
|
+
addressTwo: string | null;
|
|
658
|
+
postalCode: string;
|
|
659
|
+
city: string;
|
|
660
|
+
telephoneOne: string;
|
|
661
|
+
telephoneTwo: string | null;
|
|
662
|
+
dafResponsibleName: string | null;
|
|
663
|
+
telephone: string | null;
|
|
664
|
+
email: string | null;
|
|
665
|
+
intraVatNumber: string | null;
|
|
666
|
+
numeroEori: string | null;
|
|
667
|
+
comments: string | null;
|
|
668
|
+
numCodeOne: string | null;
|
|
669
|
+
numCodeTwo: string | null;
|
|
670
|
+
isActif: boolean;
|
|
671
|
+
isParis: boolean;
|
|
672
|
+
isMedical: boolean;
|
|
673
|
+
isService: boolean;
|
|
674
|
+
dirigeant: string | null;
|
|
675
|
+
dirigeantTel: string | null;
|
|
676
|
+
dirigeantEmail: string | null;
|
|
677
|
+
responsableComptable: string | null;
|
|
678
|
+
responsableComptableTel: string | null;
|
|
679
|
+
responsableComptableEmail: string | null;
|
|
680
|
+
responsableDaf: string | null;
|
|
681
|
+
responsableDafTel: string | null;
|
|
682
|
+
responsableDafEmail: string | null;
|
|
683
|
+
emailFacturation: string | null;
|
|
684
|
+
logo: string | null;
|
|
685
|
+
header: string | null;
|
|
686
|
+
footer: string | null;
|
|
687
|
+
emailOne: string | null;
|
|
688
|
+
emailTwo: string | null;
|
|
689
|
+
emailThree: string | null;
|
|
690
|
+
eori: string | null;
|
|
691
|
+
tva: string | null;
|
|
692
|
+
isMailing: boolean;
|
|
693
|
+
billingCenterName: string;
|
|
694
|
+
customerId: number | null;
|
|
695
|
+
numeroSiren: string | null;
|
|
696
|
+
invoiceMailOne: string;
|
|
697
|
+
invoiceMailTwo: string | null;
|
|
698
|
+
isSubmittedToFrenchVat: boolean;
|
|
699
|
+
isActiveMailInstruction: boolean;
|
|
700
|
+
isActiveVariation: boolean;
|
|
701
|
+
isShowSecondBordereaux: boolean;
|
|
702
|
+
isShowCustomerName: boolean;
|
|
703
|
+
isShowCommercialValue: boolean;
|
|
704
|
+
}, {
|
|
705
|
+
id: number;
|
|
706
|
+
createdAt: Date;
|
|
707
|
+
updatedAt: Date;
|
|
708
|
+
countryId: number;
|
|
709
|
+
address: string;
|
|
710
|
+
addressTwo: string | null;
|
|
711
|
+
postalCode: string;
|
|
712
|
+
city: string;
|
|
713
|
+
telephoneOne: string;
|
|
714
|
+
telephoneTwo: string | null;
|
|
715
|
+
dafResponsibleName: string | null;
|
|
716
|
+
telephone: string | null;
|
|
717
|
+
email: string | null;
|
|
718
|
+
intraVatNumber: string | null;
|
|
719
|
+
numeroEori: string | null;
|
|
720
|
+
comments: string | null;
|
|
721
|
+
numCodeOne: string | null;
|
|
722
|
+
numCodeTwo: string | null;
|
|
723
|
+
isActif: boolean;
|
|
724
|
+
isParis: boolean;
|
|
725
|
+
isMedical: boolean;
|
|
726
|
+
isService: boolean;
|
|
727
|
+
dirigeant: string | null;
|
|
728
|
+
dirigeantTel: string | null;
|
|
729
|
+
dirigeantEmail: string | null;
|
|
730
|
+
responsableComptable: string | null;
|
|
731
|
+
responsableComptableTel: string | null;
|
|
732
|
+
responsableComptableEmail: string | null;
|
|
733
|
+
responsableDaf: string | null;
|
|
734
|
+
responsableDafTel: string | null;
|
|
735
|
+
responsableDafEmail: string | null;
|
|
736
|
+
emailFacturation: string | null;
|
|
737
|
+
logo: string | null;
|
|
738
|
+
header: string | null;
|
|
739
|
+
footer: string | null;
|
|
740
|
+
emailOne: string | null;
|
|
741
|
+
emailTwo: string | null;
|
|
742
|
+
emailThree: string | null;
|
|
743
|
+
eori: string | null;
|
|
744
|
+
tva: string | null;
|
|
745
|
+
isMailing: boolean;
|
|
746
|
+
billingCenterName: string;
|
|
747
|
+
customerId: number | null;
|
|
748
|
+
numeroSiren: string | null;
|
|
749
|
+
invoiceMailOne: string;
|
|
750
|
+
invoiceMailTwo: string | null;
|
|
751
|
+
isSubmittedToFrenchVat: boolean;
|
|
752
|
+
isActiveMailInstruction: boolean;
|
|
753
|
+
isActiveVariation: boolean;
|
|
754
|
+
isShowSecondBordereaux: boolean;
|
|
755
|
+
isShowCustomerName: boolean;
|
|
756
|
+
isShowCommercialValue: boolean;
|
|
757
|
+
}>>>>;
|
|
371
758
|
}, "strip", z.ZodTypeAny, {
|
|
372
759
|
id: number;
|
|
373
760
|
createdAt: DateTime<true> | DateTime<false>;
|
|
@@ -376,7 +763,62 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
376
763
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
377
764
|
userId: number | null;
|
|
378
765
|
shippingId: number | null;
|
|
379
|
-
users:
|
|
766
|
+
users: number[] | null;
|
|
767
|
+
billingCenterId?: number | null | undefined;
|
|
768
|
+
billingCenter?: {
|
|
769
|
+
id: number;
|
|
770
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
771
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
772
|
+
countryId: number;
|
|
773
|
+
address: string;
|
|
774
|
+
addressTwo: string | null;
|
|
775
|
+
postalCode: string;
|
|
776
|
+
city: string;
|
|
777
|
+
telephoneOne: string;
|
|
778
|
+
telephoneTwo: string | null;
|
|
779
|
+
dafResponsibleName: string | null;
|
|
780
|
+
telephone: string | null;
|
|
781
|
+
email: string | null;
|
|
782
|
+
intraVatNumber: string | null;
|
|
783
|
+
numeroEori: string | null;
|
|
784
|
+
comments: string | null;
|
|
785
|
+
numCodeOne: string | null;
|
|
786
|
+
numCodeTwo: string | null;
|
|
787
|
+
isActif: boolean;
|
|
788
|
+
isParis: boolean;
|
|
789
|
+
isMedical: boolean;
|
|
790
|
+
isService: boolean;
|
|
791
|
+
dirigeant: string | null;
|
|
792
|
+
dirigeantTel: string | null;
|
|
793
|
+
dirigeantEmail: string | null;
|
|
794
|
+
responsableComptable: string | null;
|
|
795
|
+
responsableComptableTel: string | null;
|
|
796
|
+
responsableComptableEmail: string | null;
|
|
797
|
+
responsableDaf: string | null;
|
|
798
|
+
responsableDafTel: string | null;
|
|
799
|
+
responsableDafEmail: string | null;
|
|
800
|
+
emailFacturation: string | null;
|
|
801
|
+
logo: string | null;
|
|
802
|
+
header: string | null;
|
|
803
|
+
footer: string | null;
|
|
804
|
+
emailOne: string | null;
|
|
805
|
+
emailTwo: string | null;
|
|
806
|
+
emailThree: string | null;
|
|
807
|
+
eori: string | null;
|
|
808
|
+
tva: string | null;
|
|
809
|
+
isMailing: boolean;
|
|
810
|
+
billingCenterName: string;
|
|
811
|
+
customerId: number | null;
|
|
812
|
+
numeroSiren: string | null;
|
|
813
|
+
invoiceMailOne: string;
|
|
814
|
+
invoiceMailTwo: string | null;
|
|
815
|
+
isSubmittedToFrenchVat: boolean;
|
|
816
|
+
isActiveMailInstruction: boolean;
|
|
817
|
+
isActiveVariation: boolean;
|
|
818
|
+
isShowSecondBordereaux: boolean;
|
|
819
|
+
isShowCustomerName: boolean;
|
|
820
|
+
isShowCommercialValue: boolean;
|
|
821
|
+
} | null | undefined;
|
|
380
822
|
user?: {
|
|
381
823
|
id: number;
|
|
382
824
|
createdAt: DateTime<true> | DateTime<false>;
|
|
@@ -437,10 +879,12 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
437
879
|
entreprisePhysique: string;
|
|
438
880
|
isAdminChauffeur: boolean;
|
|
439
881
|
isShowTracking: boolean;
|
|
882
|
+
isSupportActivated: boolean;
|
|
440
883
|
isClientTransitaire: boolean;
|
|
441
884
|
vehiculeId: number;
|
|
442
885
|
salaryId: number;
|
|
443
886
|
} | undefined;
|
|
887
|
+
category?: string | null | undefined;
|
|
444
888
|
shipping?: {
|
|
445
889
|
id: number;
|
|
446
890
|
createdAt: DateTime<true> | DateTime<false>;
|
|
@@ -492,6 +936,77 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
492
936
|
heureRecupererChauffeur?: DateTime<true> | DateTime<false> | undefined;
|
|
493
937
|
heureRemisChauffeur?: DateTime<true> | DateTime<false> | undefined;
|
|
494
938
|
} | undefined;
|
|
939
|
+
subject?: string | null | undefined;
|
|
940
|
+
priority?: string | null | undefined;
|
|
941
|
+
ticketNumber?: string | null | undefined;
|
|
942
|
+
assignedOpsId?: number | null | undefined;
|
|
943
|
+
resolvedAt?: DateTime<true> | DateTime<false> | null | undefined;
|
|
944
|
+
closedAt?: DateTime<true> | DateTime<false> | null | undefined;
|
|
945
|
+
assignedOps?: {
|
|
946
|
+
id: number;
|
|
947
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
948
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
949
|
+
countryId: number | null;
|
|
950
|
+
addressTwo: string;
|
|
951
|
+
postalCode: string;
|
|
952
|
+
city: string;
|
|
953
|
+
telephoneOne: string;
|
|
954
|
+
telephoneTwo: string;
|
|
955
|
+
email: string;
|
|
956
|
+
comments: string;
|
|
957
|
+
numCodeOne: string;
|
|
958
|
+
numCodeTwo: string;
|
|
959
|
+
isActif: boolean;
|
|
960
|
+
isParis: boolean;
|
|
961
|
+
isMedical: boolean;
|
|
962
|
+
isService: boolean;
|
|
963
|
+
emailOne: string;
|
|
964
|
+
emailTwo: string;
|
|
965
|
+
addressOne: string;
|
|
966
|
+
customerId: number;
|
|
967
|
+
firstName: string;
|
|
968
|
+
lastName: string;
|
|
969
|
+
emailVerifiedAt: DateTime<true> | DateTime<false>;
|
|
970
|
+
password: string;
|
|
971
|
+
poste: string;
|
|
972
|
+
roles: string[];
|
|
973
|
+
isOpsAdmin: boolean;
|
|
974
|
+
civility: string;
|
|
975
|
+
isShowCalculatrice: boolean;
|
|
976
|
+
expedition: boolean;
|
|
977
|
+
physicCompany: string;
|
|
978
|
+
menus: string;
|
|
979
|
+
ongletExpedition: string;
|
|
980
|
+
chauffeurType: string;
|
|
981
|
+
typeOfOps: string;
|
|
982
|
+
prestation: string;
|
|
983
|
+
tracking: string;
|
|
984
|
+
expeditionCourse: string;
|
|
985
|
+
carnetAddress: string;
|
|
986
|
+
expeditionsCarnet: string;
|
|
987
|
+
accessArchive: string;
|
|
988
|
+
isShowImportMenu: boolean;
|
|
989
|
+
isShowExportMenu: boolean;
|
|
990
|
+
isShowCourseMenu: boolean;
|
|
991
|
+
twoRoues: boolean;
|
|
992
|
+
vt: boolean;
|
|
993
|
+
lesTwo: boolean;
|
|
994
|
+
isMiniTracking: boolean;
|
|
995
|
+
isFullTracking: boolean;
|
|
996
|
+
isShareCourseAndExpedition: boolean;
|
|
997
|
+
isShareCarnetAdresse: boolean;
|
|
998
|
+
isShareCarnetAdresseAndExpedition: boolean;
|
|
999
|
+
isAccessAuxArchives: boolean;
|
|
1000
|
+
isShowInfo: boolean;
|
|
1001
|
+
photo: string | null;
|
|
1002
|
+
entreprisePhysique: string;
|
|
1003
|
+
isAdminChauffeur: boolean;
|
|
1004
|
+
isShowTracking: boolean;
|
|
1005
|
+
isSupportActivated: boolean;
|
|
1006
|
+
isClientTransitaire: boolean;
|
|
1007
|
+
vehiculeId: number;
|
|
1008
|
+
salaryId: number;
|
|
1009
|
+
} | null | undefined;
|
|
495
1010
|
}, {
|
|
496
1011
|
id: number;
|
|
497
1012
|
createdAt: Date;
|
|
@@ -500,7 +1015,62 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
500
1015
|
updatedAt: Date;
|
|
501
1016
|
userId: number | null;
|
|
502
1017
|
shippingId: number | null;
|
|
503
|
-
users:
|
|
1018
|
+
users: number[] | null;
|
|
1019
|
+
billingCenterId?: number | null | undefined;
|
|
1020
|
+
billingCenter?: {
|
|
1021
|
+
id: number;
|
|
1022
|
+
createdAt: Date;
|
|
1023
|
+
updatedAt: Date;
|
|
1024
|
+
countryId: number;
|
|
1025
|
+
address: string;
|
|
1026
|
+
addressTwo: string | null;
|
|
1027
|
+
postalCode: string;
|
|
1028
|
+
city: string;
|
|
1029
|
+
telephoneOne: string;
|
|
1030
|
+
telephoneTwo: string | null;
|
|
1031
|
+
dafResponsibleName: string | null;
|
|
1032
|
+
telephone: string | null;
|
|
1033
|
+
email: string | null;
|
|
1034
|
+
intraVatNumber: string | null;
|
|
1035
|
+
numeroEori: string | null;
|
|
1036
|
+
comments: string | null;
|
|
1037
|
+
numCodeOne: string | null;
|
|
1038
|
+
numCodeTwo: string | null;
|
|
1039
|
+
isActif: boolean;
|
|
1040
|
+
isParis: boolean;
|
|
1041
|
+
isMedical: boolean;
|
|
1042
|
+
isService: boolean;
|
|
1043
|
+
dirigeant: string | null;
|
|
1044
|
+
dirigeantTel: string | null;
|
|
1045
|
+
dirigeantEmail: string | null;
|
|
1046
|
+
responsableComptable: string | null;
|
|
1047
|
+
responsableComptableTel: string | null;
|
|
1048
|
+
responsableComptableEmail: string | null;
|
|
1049
|
+
responsableDaf: string | null;
|
|
1050
|
+
responsableDafTel: string | null;
|
|
1051
|
+
responsableDafEmail: string | null;
|
|
1052
|
+
emailFacturation: string | null;
|
|
1053
|
+
logo: string | null;
|
|
1054
|
+
header: string | null;
|
|
1055
|
+
footer: string | null;
|
|
1056
|
+
emailOne: string | null;
|
|
1057
|
+
emailTwo: string | null;
|
|
1058
|
+
emailThree: string | null;
|
|
1059
|
+
eori: string | null;
|
|
1060
|
+
tva: string | null;
|
|
1061
|
+
isMailing: boolean;
|
|
1062
|
+
billingCenterName: string;
|
|
1063
|
+
customerId: number | null;
|
|
1064
|
+
numeroSiren: string | null;
|
|
1065
|
+
invoiceMailOne: string;
|
|
1066
|
+
invoiceMailTwo: string | null;
|
|
1067
|
+
isSubmittedToFrenchVat: boolean;
|
|
1068
|
+
isActiveMailInstruction: boolean;
|
|
1069
|
+
isActiveVariation: boolean;
|
|
1070
|
+
isShowSecondBordereaux: boolean;
|
|
1071
|
+
isShowCustomerName: boolean;
|
|
1072
|
+
isShowCommercialValue: boolean;
|
|
1073
|
+
} | null | undefined;
|
|
504
1074
|
user?: {
|
|
505
1075
|
id: number;
|
|
506
1076
|
createdAt: Date;
|
|
@@ -561,10 +1131,12 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
561
1131
|
entreprisePhysique: string;
|
|
562
1132
|
isAdminChauffeur: boolean;
|
|
563
1133
|
isShowTracking: boolean;
|
|
1134
|
+
isSupportActivated: boolean;
|
|
564
1135
|
isClientTransitaire: boolean;
|
|
565
1136
|
vehiculeId: number;
|
|
566
1137
|
salaryId: number;
|
|
567
1138
|
} | undefined;
|
|
1139
|
+
category?: string | null | undefined;
|
|
568
1140
|
shipping?: {
|
|
569
1141
|
id: number;
|
|
570
1142
|
createdAt: Date;
|
|
@@ -616,6 +1188,77 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
616
1188
|
heureRecupererChauffeur?: Date | undefined;
|
|
617
1189
|
heureRemisChauffeur?: Date | undefined;
|
|
618
1190
|
} | undefined;
|
|
1191
|
+
subject?: string | null | undefined;
|
|
1192
|
+
priority?: string | null | undefined;
|
|
1193
|
+
ticketNumber?: string | null | undefined;
|
|
1194
|
+
assignedOpsId?: number | null | undefined;
|
|
1195
|
+
resolvedAt?: Date | null | undefined;
|
|
1196
|
+
closedAt?: Date | null | undefined;
|
|
1197
|
+
assignedOps?: {
|
|
1198
|
+
id: number;
|
|
1199
|
+
createdAt: Date;
|
|
1200
|
+
updatedAt: Date;
|
|
1201
|
+
countryId: number | null;
|
|
1202
|
+
addressTwo: string;
|
|
1203
|
+
postalCode: string;
|
|
1204
|
+
city: string;
|
|
1205
|
+
telephoneOne: string;
|
|
1206
|
+
telephoneTwo: string;
|
|
1207
|
+
email: string;
|
|
1208
|
+
comments: string;
|
|
1209
|
+
numCodeOne: string;
|
|
1210
|
+
numCodeTwo: string;
|
|
1211
|
+
isActif: boolean;
|
|
1212
|
+
isParis: boolean;
|
|
1213
|
+
isMedical: boolean;
|
|
1214
|
+
isService: boolean;
|
|
1215
|
+
emailOne: string;
|
|
1216
|
+
emailTwo: string;
|
|
1217
|
+
addressOne: string;
|
|
1218
|
+
customerId: number;
|
|
1219
|
+
firstName: string;
|
|
1220
|
+
lastName: string;
|
|
1221
|
+
emailVerifiedAt: Date;
|
|
1222
|
+
password: string;
|
|
1223
|
+
poste: string;
|
|
1224
|
+
roles: string[];
|
|
1225
|
+
isOpsAdmin: boolean;
|
|
1226
|
+
civility: string;
|
|
1227
|
+
isShowCalculatrice: boolean;
|
|
1228
|
+
expedition: boolean;
|
|
1229
|
+
physicCompany: string;
|
|
1230
|
+
menus: string;
|
|
1231
|
+
ongletExpedition: string;
|
|
1232
|
+
chauffeurType: string;
|
|
1233
|
+
typeOfOps: string;
|
|
1234
|
+
prestation: string;
|
|
1235
|
+
tracking: string;
|
|
1236
|
+
expeditionCourse: string;
|
|
1237
|
+
carnetAddress: string;
|
|
1238
|
+
expeditionsCarnet: string;
|
|
1239
|
+
accessArchive: string;
|
|
1240
|
+
isShowImportMenu: boolean;
|
|
1241
|
+
isShowExportMenu: boolean;
|
|
1242
|
+
isShowCourseMenu: boolean;
|
|
1243
|
+
twoRoues: boolean;
|
|
1244
|
+
vt: boolean;
|
|
1245
|
+
lesTwo: boolean;
|
|
1246
|
+
isMiniTracking: boolean;
|
|
1247
|
+
isFullTracking: boolean;
|
|
1248
|
+
isShareCourseAndExpedition: boolean;
|
|
1249
|
+
isShareCarnetAdresse: boolean;
|
|
1250
|
+
isShareCarnetAdresseAndExpedition: boolean;
|
|
1251
|
+
isAccessAuxArchives: boolean;
|
|
1252
|
+
isShowInfo: boolean;
|
|
1253
|
+
photo: string | null;
|
|
1254
|
+
entreprisePhysique: string;
|
|
1255
|
+
isAdminChauffeur: boolean;
|
|
1256
|
+
isShowTracking: boolean;
|
|
1257
|
+
isSupportActivated: boolean;
|
|
1258
|
+
isClientTransitaire: boolean;
|
|
1259
|
+
vehiculeId: number;
|
|
1260
|
+
salaryId: number;
|
|
1261
|
+
} | null | undefined;
|
|
619
1262
|
}>;
|
|
620
1263
|
export declare const ChatSchemaSingle: z.ZodObject<{
|
|
621
1264
|
id: z.ZodNumber;
|
|
@@ -627,9 +1270,17 @@ export declare const ChatSchemaSingle: z.ZodObject<{
|
|
|
627
1270
|
readonly OTHER: "other";
|
|
628
1271
|
}>;
|
|
629
1272
|
status: z.ZodString;
|
|
630
|
-
users: z.ZodNullable<z.ZodArray<z.
|
|
1273
|
+
users: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
631
1274
|
userId: z.ZodNullable<z.ZodNumber>;
|
|
632
1275
|
shippingId: z.ZodNullable<z.ZodNumber>;
|
|
1276
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1277
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1278
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1279
|
+
ticketNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1280
|
+
assignedOpsId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1281
|
+
billingCenterId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1282
|
+
resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>>>;
|
|
1283
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>>>;
|
|
633
1284
|
}, "strip", z.ZodTypeAny, {
|
|
634
1285
|
id: number;
|
|
635
1286
|
createdAt: DateTime<true> | DateTime<false>;
|
|
@@ -638,7 +1289,15 @@ export declare const ChatSchemaSingle: z.ZodObject<{
|
|
|
638
1289
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
639
1290
|
userId: number | null;
|
|
640
1291
|
shippingId: number | null;
|
|
641
|
-
users:
|
|
1292
|
+
users: number[] | null;
|
|
1293
|
+
billingCenterId?: number | null | undefined;
|
|
1294
|
+
category?: string | null | undefined;
|
|
1295
|
+
subject?: string | null | undefined;
|
|
1296
|
+
priority?: string | null | undefined;
|
|
1297
|
+
ticketNumber?: string | null | undefined;
|
|
1298
|
+
assignedOpsId?: number | null | undefined;
|
|
1299
|
+
resolvedAt?: DateTime<true> | DateTime<false> | null | undefined;
|
|
1300
|
+
closedAt?: DateTime<true> | DateTime<false> | null | undefined;
|
|
642
1301
|
}, {
|
|
643
1302
|
id: number;
|
|
644
1303
|
createdAt: Date;
|
|
@@ -647,6 +1306,96 @@ export declare const ChatSchemaSingle: z.ZodObject<{
|
|
|
647
1306
|
updatedAt: Date;
|
|
648
1307
|
userId: number | null;
|
|
649
1308
|
shippingId: number | null;
|
|
650
|
-
users:
|
|
1309
|
+
users: number[] | null;
|
|
1310
|
+
billingCenterId?: number | null | undefined;
|
|
1311
|
+
category?: string | null | undefined;
|
|
1312
|
+
subject?: string | null | undefined;
|
|
1313
|
+
priority?: string | null | undefined;
|
|
1314
|
+
ticketNumber?: string | null | undefined;
|
|
1315
|
+
assignedOpsId?: number | null | undefined;
|
|
1316
|
+
resolvedAt?: Date | null | undefined;
|
|
1317
|
+
closedAt?: Date | null | undefined;
|
|
651
1318
|
}>;
|
|
652
1319
|
export type IChat = z.infer<typeof ChatSchema>;
|
|
1320
|
+
export declare const CreateSupportTicketUserSchema: z.ZodObject<{
|
|
1321
|
+
subject: z.ZodString;
|
|
1322
|
+
message: z.ZodString;
|
|
1323
|
+
category: z.ZodNativeEnum<{
|
|
1324
|
+
readonly GENERAL: "general";
|
|
1325
|
+
readonly DELIVERY_ISSUE: "delivery_issue";
|
|
1326
|
+
readonly COMPLAINT: "complaint";
|
|
1327
|
+
readonly BILLING: "billing";
|
|
1328
|
+
readonly TRACKING: "tracking";
|
|
1329
|
+
readonly OTHER: "other";
|
|
1330
|
+
}>;
|
|
1331
|
+
priority: z.ZodOptional<z.ZodNativeEnum<{
|
|
1332
|
+
readonly LOW: "low";
|
|
1333
|
+
readonly MEDIUM: "medium";
|
|
1334
|
+
readonly HIGH: "high";
|
|
1335
|
+
readonly URGENT: "urgent";
|
|
1336
|
+
}>>;
|
|
1337
|
+
shippingId: z.ZodOptional<z.ZodNumber>;
|
|
1338
|
+
}, "strip", z.ZodTypeAny, {
|
|
1339
|
+
message: string;
|
|
1340
|
+
category: "tracking" | "other" | "general" | "delivery_issue" | "complaint" | "billing";
|
|
1341
|
+
subject: string;
|
|
1342
|
+
shippingId?: number | undefined;
|
|
1343
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
1344
|
+
}, {
|
|
1345
|
+
message: string;
|
|
1346
|
+
category: "tracking" | "other" | "general" | "delivery_issue" | "complaint" | "billing";
|
|
1347
|
+
subject: string;
|
|
1348
|
+
shippingId?: number | undefined;
|
|
1349
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
1350
|
+
}>;
|
|
1351
|
+
export declare const CreateSupportMessageSchema: z.ZodObject<{
|
|
1352
|
+
message: z.ZodString;
|
|
1353
|
+
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
message: string;
|
|
1355
|
+
}, {
|
|
1356
|
+
message: string;
|
|
1357
|
+
}>;
|
|
1358
|
+
export declare const UpdateSupportTicketOpsSchema: z.ZodObject<{
|
|
1359
|
+
status: z.ZodOptional<z.ZodNativeEnum<{
|
|
1360
|
+
readonly OPEN: "open";
|
|
1361
|
+
readonly IN_PROGRESS: "in_progress";
|
|
1362
|
+
readonly RESOLVED: "resolved";
|
|
1363
|
+
readonly CLOSED: "closed";
|
|
1364
|
+
}>>;
|
|
1365
|
+
priority: z.ZodOptional<z.ZodNativeEnum<{
|
|
1366
|
+
readonly LOW: "low";
|
|
1367
|
+
readonly MEDIUM: "medium";
|
|
1368
|
+
readonly HIGH: "high";
|
|
1369
|
+
readonly URGENT: "urgent";
|
|
1370
|
+
}>>;
|
|
1371
|
+
category: z.ZodOptional<z.ZodNativeEnum<{
|
|
1372
|
+
readonly GENERAL: "general";
|
|
1373
|
+
readonly DELIVERY_ISSUE: "delivery_issue";
|
|
1374
|
+
readonly COMPLAINT: "complaint";
|
|
1375
|
+
readonly BILLING: "billing";
|
|
1376
|
+
readonly TRACKING: "tracking";
|
|
1377
|
+
readonly OTHER: "other";
|
|
1378
|
+
}>>;
|
|
1379
|
+
assignedOpsId: z.ZodOptional<z.ZodNumber>;
|
|
1380
|
+
}, "strip", z.ZodTypeAny, {
|
|
1381
|
+
status?: "open" | "in_progress" | "resolved" | "closed" | undefined;
|
|
1382
|
+
category?: "tracking" | "other" | "general" | "delivery_issue" | "complaint" | "billing" | undefined;
|
|
1383
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
1384
|
+
assignedOpsId?: number | undefined;
|
|
1385
|
+
}, {
|
|
1386
|
+
status?: "open" | "in_progress" | "resolved" | "closed" | undefined;
|
|
1387
|
+
category?: "tracking" | "other" | "general" | "delivery_issue" | "complaint" | "billing" | undefined;
|
|
1388
|
+
priority?: "low" | "medium" | "high" | "urgent" | undefined;
|
|
1389
|
+
assignedOpsId?: number | undefined;
|
|
1390
|
+
}>;
|
|
1391
|
+
export declare const AssignSupportTicketSchema: z.ZodObject<{
|
|
1392
|
+
assignedOpsId: z.ZodOptional<z.ZodNumber>;
|
|
1393
|
+
}, "strip", z.ZodTypeAny, {
|
|
1394
|
+
assignedOpsId?: number | undefined;
|
|
1395
|
+
}, {
|
|
1396
|
+
assignedOpsId?: number | undefined;
|
|
1397
|
+
}>;
|
|
1398
|
+
export type ICreateSupportTicketUser = z.infer<typeof CreateSupportTicketUserSchema>;
|
|
1399
|
+
export type ICreateSupportMessage = z.infer<typeof CreateSupportMessageSchema>;
|
|
1400
|
+
export type IUpdateSupportTicketOps = z.infer<typeof UpdateSupportTicketOpsSchema>;
|
|
1401
|
+
export type IAssignSupportTicket = z.infer<typeof AssignSupportTicketSchema>;
|