@kl1/contracts 1.0.31 → 1.0.32

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 (54) hide show
  1. package/dist/index.js +1649 -1714
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1647 -1712
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/app/index.d.ts +17 -0
  6. package/dist/src/app/index.d.ts.map +1 -0
  7. package/dist/src/channel/index.d.ts +20 -200
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +12 -6
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +32 -32
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +4 -4
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +45 -171
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/company/index.d.ts +5 -8
  18. package/dist/src/company/index.d.ts.map +1 -1
  19. package/dist/src/company/schema.d.ts +0 -137
  20. package/dist/src/company/schema.d.ts.map +1 -1
  21. package/dist/src/contact/index.d.ts +1103 -1103
  22. package/dist/src/contract.d.ts +1825 -2025
  23. package/dist/src/contract.d.ts.map +1 -1
  24. package/dist/src/dashboard/index.d.ts +7 -11
  25. package/dist/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/src/dashboard/schema.d.ts +2 -127
  27. package/dist/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/src/index.d.ts +1 -3
  29. package/dist/src/index.d.ts.map +1 -1
  30. package/dist/src/mail/mail-contract.d.ts +42 -42
  31. package/dist/src/mail/mail-server.d.ts +216 -0
  32. package/dist/src/mail/mail-server.d.ts.map +1 -0
  33. package/dist/src/mail/room-contract.d.ts +42 -42
  34. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  35. package/dist/src/mail/schemas/room.schema.d.ts +10 -10
  36. package/dist/src/messenger/index.d.ts +693 -1198
  37. package/dist/src/messenger/index.d.ts.map +1 -1
  38. package/dist/src/messenger/validation.d.ts +1 -108
  39. package/dist/src/messenger/validation.d.ts.map +1 -1
  40. package/dist/src/platform-contact/schema.d.ts +30 -0
  41. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  42. package/dist/src/telephony-cdr/index.d.ts +458 -1
  43. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  44. package/dist/src/telephony-cdr/validation.d.ts +74 -0
  45. package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
  46. package/dist/src/ticket/index.d.ts +342 -207
  47. package/dist/src/ticket/index.d.ts.map +1 -1
  48. package/dist/src/ticket/validation.d.ts +338 -168
  49. package/dist/src/ticket/validation.d.ts.map +1 -1
  50. package/dist/src/widget/index.d.ts +1 -72
  51. package/dist/src/widget/index.d.ts.map +1 -1
  52. package/dist/src/widget/validation.d.ts +0 -10
  53. package/dist/src/widget/validation.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -359,40 +359,6 @@ export declare const DashboardDataWithCallSchema: z.ZodObject<{
359
359
  count: string;
360
360
  }[] | undefined;
361
361
  }>;
362
- export declare const TotalTelephonyQueueCallCountListSchema: z.ZodObject<{
363
- totalQueueCall: z.ZodString;
364
- totalMissedQueueCall: z.ZodString;
365
- totalAnsweredQueueCall: z.ZodString;
366
- totalAbandonedQueueCall: z.ZodString;
367
- totalAverageRingDuration: z.ZodString;
368
- totalAverageTalkDuration: z.ZodString;
369
- totalAverageCallDuration: z.ZodString;
370
- totalSla: z.ZodString;
371
- totalMissedCallPercent: z.ZodString;
372
- totalMaximumRingDuration: z.ZodString;
373
- }, "strip", z.ZodTypeAny, {
374
- totalQueueCall: string;
375
- totalMissedQueueCall: string;
376
- totalAnsweredQueueCall: string;
377
- totalAbandonedQueueCall: string;
378
- totalAverageRingDuration: string;
379
- totalAverageTalkDuration: string;
380
- totalAverageCallDuration: string;
381
- totalSla: string;
382
- totalMissedCallPercent: string;
383
- totalMaximumRingDuration: string;
384
- }, {
385
- totalQueueCall: string;
386
- totalMissedQueueCall: string;
387
- totalAnsweredQueueCall: string;
388
- totalAbandonedQueueCall: string;
389
- totalAverageRingDuration: string;
390
- totalAverageTalkDuration: string;
391
- totalAverageCallDuration: string;
392
- totalSla: string;
393
- totalMissedCallPercent: string;
394
- totalMaximumRingDuration: string;
395
- }>;
396
362
  export declare const TelephonyQueueCallCountListSchema: z.ZodObject<{
397
363
  totalQueueCall: z.ZodString;
398
364
  totalMissedQueueCall: z.ZodString;
@@ -427,74 +393,6 @@ export declare const TelephonyQueueCallCountListSchema: z.ZodObject<{
427
393
  totalMissedCallPercent: string;
428
394
  totalMaximumRingDuration: string;
429
395
  }>;
430
- export declare const TelephonyQueueCallCountListByQueueNumberSchema: z.ZodObject<{
431
- queueNumber: z.ZodString;
432
- queueName: z.ZodString;
433
- yeastarQueueCallCountList: z.ZodObject<{
434
- totalQueueCall: z.ZodString;
435
- totalMissedQueueCall: z.ZodString;
436
- totalAnsweredQueueCall: z.ZodString;
437
- totalAbandonedQueueCall: z.ZodString;
438
- totalAverageTalkDuration: z.ZodString;
439
- totalAverageCallDuration: z.ZodString;
440
- totalAverageRingDuration: z.ZodString;
441
- totalSla: z.ZodString;
442
- totalMissedCallPercent: z.ZodString;
443
- totalMaximumRingDuration: z.ZodString;
444
- }, "strip", z.ZodTypeAny, {
445
- totalQueueCall: string;
446
- totalMissedQueueCall: string;
447
- totalAnsweredQueueCall: string;
448
- totalAbandonedQueueCall: string;
449
- totalAverageRingDuration: string;
450
- totalAverageTalkDuration: string;
451
- totalAverageCallDuration: string;
452
- totalSla: string;
453
- totalMissedCallPercent: string;
454
- totalMaximumRingDuration: string;
455
- }, {
456
- totalQueueCall: string;
457
- totalMissedQueueCall: string;
458
- totalAnsweredQueueCall: string;
459
- totalAbandonedQueueCall: string;
460
- totalAverageRingDuration: string;
461
- totalAverageTalkDuration: string;
462
- totalAverageCallDuration: string;
463
- totalSla: string;
464
- totalMissedCallPercent: string;
465
- totalMaximumRingDuration: string;
466
- }>;
467
- }, "strip", z.ZodTypeAny, {
468
- queueName: string;
469
- queueNumber: string;
470
- yeastarQueueCallCountList: {
471
- totalQueueCall: string;
472
- totalMissedQueueCall: string;
473
- totalAnsweredQueueCall: string;
474
- totalAbandonedQueueCall: string;
475
- totalAverageRingDuration: string;
476
- totalAverageTalkDuration: string;
477
- totalAverageCallDuration: string;
478
- totalSla: string;
479
- totalMissedCallPercent: string;
480
- totalMaximumRingDuration: string;
481
- };
482
- }, {
483
- queueName: string;
484
- queueNumber: string;
485
- yeastarQueueCallCountList: {
486
- totalQueueCall: string;
487
- totalMissedQueueCall: string;
488
- totalAnsweredQueueCall: string;
489
- totalAbandonedQueueCall: string;
490
- totalAverageRingDuration: string;
491
- totalAverageTalkDuration: string;
492
- totalAverageCallDuration: string;
493
- totalSla: string;
494
- totalMissedCallPercent: string;
495
- totalMaximumRingDuration: string;
496
- };
497
- }>;
498
396
  export declare const queueCallDashboardDataSchema: z.ZodObject<{
499
397
  totalTelephonyQueueCallCountList: z.ZodObject<{
500
398
  totalQueueCall: z.ZodString;
@@ -657,29 +555,6 @@ export declare const queueCallDashboardDataSchema: z.ZodObject<{
657
555
  };
658
556
  }[];
659
557
  }>;
660
- export declare const TotalQueueLiveCallStatusSchema: z.ZodObject<{
661
- activeCallCount: z.ZodNumber;
662
- waitingCallCount: z.ZodNumber;
663
- }, "strip", z.ZodTypeAny, {
664
- activeCallCount: number;
665
- waitingCallCount: number;
666
- }, {
667
- activeCallCount: number;
668
- waitingCallCount: number;
669
- }>;
670
- export declare const QueueLiveCallListByQueueSchema: z.ZodObject<{
671
- queueNumber: z.ZodString;
672
- activeCallCount: z.ZodNumber;
673
- waitingCallCount: z.ZodNumber;
674
- }, "strip", z.ZodTypeAny, {
675
- queueNumber: string;
676
- activeCallCount: number;
677
- waitingCallCount: number;
678
- }, {
679
- queueNumber: string;
680
- activeCallCount: number;
681
- waitingCallCount: number;
682
- }>;
683
558
  export declare const queueLiveCallCountListSchema: z.ZodObject<{
684
559
  totalQueueLiveCallStatus: z.ZodObject<{
685
560
  activeCallCount: z.ZodNumber;
@@ -984,7 +859,7 @@ export declare const MessageDispositionSchema: z.ZodObject<{
984
859
  blankDispositionCount: number | null;
985
860
  escalatedDispositionCount: number | null;
986
861
  }>;
987
- export declare const MessageIncomingDataSchema: z.ZodArray<z.ZodObject<{
862
+ export declare const MessageIncomingDataSchema: z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<{
988
863
  platform: z.ZodNullable<z.ZodString>;
989
864
  hour: z.ZodNullable<z.ZodString>;
990
865
  messageCount: z.ZodNullable<z.ZodString>;
@@ -996,7 +871,7 @@ export declare const MessageIncomingDataSchema: z.ZodArray<z.ZodObject<{
996
871
  platform: string | null;
997
872
  hour: string | null;
998
873
  messageCount: string | null;
999
- }>, "many">;
874
+ }>>>, "many">;
1000
875
  export declare const MessageTotalIncomingDataSchema: z.ZodArray<z.ZodNullable<z.ZodObject<{
1001
876
  name: z.ZodString;
1002
877
  data: z.ZodArray<z.ZodNumber, "many">;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/dashboard/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AA4CpB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAC;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;EAKvC,CAAC;AAYH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYpC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;WAQ/B,CAAC;AACF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;WAM7B,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;YAO3C,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;aAMnB,CAAC;AACd,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB/B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;aASrC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;YAE1C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export * from './contract';
2
2
  export { GetAllCxLogRequest } from './cx-log';
3
3
  export { UpdateCallIdRequest } from './call-log';
4
- export { CreateTelephonyCdrRequest } from './telephony-cdr';
4
+ export * from './telephony-cdr';
5
5
  export * from './category';
6
6
  export * from './attribute';
7
7
  export * from './tag';
@@ -14,6 +14,4 @@ export * from './cx-log';
14
14
  export * from './user';
15
15
  export * from './dashboard';
16
16
  export * from './user-presence-status-log';
17
- export * from './company';
18
- export * from './evaluate-form';
19
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC"}
@@ -1646,8 +1646,8 @@ export declare const mailContract: {
1646
1646
  }[];
1647
1647
  }>, import("zod").ZodObject<{
1648
1648
  id: import("zod").ZodString;
1649
- createdAt: import("zod").ZodDate;
1650
- updatedAt: import("zod").ZodDate;
1649
+ createdAt: import("zod").ZodString;
1650
+ updatedAt: import("zod").ZodString;
1651
1651
  deletedAt: import("zod").ZodNullable<import("zod").ZodString>;
1652
1652
  description: import("zod").ZodString;
1653
1653
  actorId: import("zod").ZodString;
@@ -1686,8 +1686,8 @@ export declare const mailContract: {
1686
1686
  }, "strip", import("zod").ZodTypeAny, {
1687
1687
  id: string;
1688
1688
  description: string;
1689
- createdAt: Date;
1690
- updatedAt: Date;
1689
+ createdAt: string;
1690
+ updatedAt: string;
1691
1691
  deletedAt: string | null;
1692
1692
  actor: {
1693
1693
  id: string;
@@ -1705,8 +1705,8 @@ export declare const mailContract: {
1705
1705
  }, {
1706
1706
  id: string;
1707
1707
  description: string;
1708
- createdAt: Date;
1709
- updatedAt: Date;
1708
+ createdAt: string;
1709
+ updatedAt: string;
1710
1710
  deletedAt: string | null;
1711
1711
  actor: {
1712
1712
  id: string;
@@ -2193,8 +2193,8 @@ export declare const mailContract: {
2193
2193
  } | {
2194
2194
  id: string;
2195
2195
  description: string;
2196
- createdAt: Date;
2197
- updatedAt: Date;
2196
+ createdAt: string;
2197
+ updatedAt: string;
2198
2198
  deletedAt: string | null;
2199
2199
  actor: {
2200
2200
  id: string;
@@ -2603,8 +2603,8 @@ export declare const mailContract: {
2603
2603
  } | {
2604
2604
  id: string;
2605
2605
  description: string;
2606
- createdAt: Date;
2607
- updatedAt: Date;
2606
+ createdAt: string;
2607
+ updatedAt: string;
2608
2608
  deletedAt: string | null;
2609
2609
  actor: {
2610
2610
  id: string;
@@ -3018,8 +3018,8 @@ export declare const mailContract: {
3018
3018
  } | {
3019
3019
  id: string;
3020
3020
  description: string;
3021
- createdAt: Date;
3022
- updatedAt: Date;
3021
+ createdAt: string;
3022
+ updatedAt: string;
3023
3023
  deletedAt: string | null;
3024
3024
  actor: {
3025
3025
  id: string;
@@ -3434,8 +3434,8 @@ export declare const mailContract: {
3434
3434
  } | {
3435
3435
  id: string;
3436
3436
  description: string;
3437
- createdAt: Date;
3438
- updatedAt: Date;
3437
+ createdAt: string;
3438
+ updatedAt: string;
3439
3439
  deletedAt: string | null;
3440
3440
  actor: {
3441
3441
  id: string;
@@ -5073,8 +5073,8 @@ export declare const mailContract: {
5073
5073
  }[];
5074
5074
  }>, import("zod").ZodObject<{
5075
5075
  id: import("zod").ZodString;
5076
- createdAt: import("zod").ZodDate;
5077
- updatedAt: import("zod").ZodDate;
5076
+ createdAt: import("zod").ZodString;
5077
+ updatedAt: import("zod").ZodString;
5078
5078
  deletedAt: import("zod").ZodNullable<import("zod").ZodString>;
5079
5079
  description: import("zod").ZodString;
5080
5080
  actorId: import("zod").ZodString;
@@ -5113,8 +5113,8 @@ export declare const mailContract: {
5113
5113
  }, "strip", import("zod").ZodTypeAny, {
5114
5114
  id: string;
5115
5115
  description: string;
5116
- createdAt: Date;
5117
- updatedAt: Date;
5116
+ createdAt: string;
5117
+ updatedAt: string;
5118
5118
  deletedAt: string | null;
5119
5119
  actor: {
5120
5120
  id: string;
@@ -5132,8 +5132,8 @@ export declare const mailContract: {
5132
5132
  }, {
5133
5133
  id: string;
5134
5134
  description: string;
5135
- createdAt: Date;
5136
- updatedAt: Date;
5135
+ createdAt: string;
5136
+ updatedAt: string;
5137
5137
  deletedAt: string | null;
5138
5138
  actor: {
5139
5139
  id: string;
@@ -5620,8 +5620,8 @@ export declare const mailContract: {
5620
5620
  } | {
5621
5621
  id: string;
5622
5622
  description: string;
5623
- createdAt: Date;
5624
- updatedAt: Date;
5623
+ createdAt: string;
5624
+ updatedAt: string;
5625
5625
  deletedAt: string | null;
5626
5626
  actor: {
5627
5627
  id: string;
@@ -6030,8 +6030,8 @@ export declare const mailContract: {
6030
6030
  } | {
6031
6031
  id: string;
6032
6032
  description: string;
6033
- createdAt: Date;
6034
- updatedAt: Date;
6033
+ createdAt: string;
6034
+ updatedAt: string;
6035
6035
  deletedAt: string | null;
6036
6036
  actor: {
6037
6037
  id: string;
@@ -6442,8 +6442,8 @@ export declare const mailContract: {
6442
6442
  } | {
6443
6443
  id: string;
6444
6444
  description: string;
6445
- createdAt: Date;
6446
- updatedAt: Date;
6445
+ createdAt: string;
6446
+ updatedAt: string;
6447
6447
  deletedAt: string | null;
6448
6448
  actor: {
6449
6449
  id: string;
@@ -6855,8 +6855,8 @@ export declare const mailContract: {
6855
6855
  } | {
6856
6856
  id: string;
6857
6857
  description: string;
6858
- createdAt: Date;
6859
- updatedAt: Date;
6858
+ createdAt: string;
6859
+ updatedAt: string;
6860
6860
  deletedAt: string | null;
6861
6861
  actor: {
6862
6862
  id: string;
@@ -8756,8 +8756,8 @@ export declare const mailContract: {
8756
8756
  }[];
8757
8757
  }>, import("zod").ZodObject<{
8758
8758
  id: import("zod").ZodString;
8759
- createdAt: import("zod").ZodDate;
8760
- updatedAt: import("zod").ZodDate;
8759
+ createdAt: import("zod").ZodString;
8760
+ updatedAt: import("zod").ZodString;
8761
8761
  deletedAt: import("zod").ZodNullable<import("zod").ZodString>;
8762
8762
  description: import("zod").ZodString;
8763
8763
  actorId: import("zod").ZodString;
@@ -8796,8 +8796,8 @@ export declare const mailContract: {
8796
8796
  }, "strip", import("zod").ZodTypeAny, {
8797
8797
  id: string;
8798
8798
  description: string;
8799
- createdAt: Date;
8800
- updatedAt: Date;
8799
+ createdAt: string;
8800
+ updatedAt: string;
8801
8801
  deletedAt: string | null;
8802
8802
  actor: {
8803
8803
  id: string;
@@ -8815,8 +8815,8 @@ export declare const mailContract: {
8815
8815
  }, {
8816
8816
  id: string;
8817
8817
  description: string;
8818
- createdAt: Date;
8819
- updatedAt: Date;
8818
+ createdAt: string;
8819
+ updatedAt: string;
8820
8820
  deletedAt: string | null;
8821
8821
  actor: {
8822
8822
  id: string;
@@ -9303,8 +9303,8 @@ export declare const mailContract: {
9303
9303
  } | {
9304
9304
  id: string;
9305
9305
  description: string;
9306
- createdAt: Date;
9307
- updatedAt: Date;
9306
+ createdAt: string;
9307
+ updatedAt: string;
9308
9308
  deletedAt: string | null;
9309
9309
  actor: {
9310
9310
  id: string;
@@ -9713,8 +9713,8 @@ export declare const mailContract: {
9713
9713
  } | {
9714
9714
  id: string;
9715
9715
  description: string;
9716
- createdAt: Date;
9717
- updatedAt: Date;
9716
+ createdAt: string;
9717
+ updatedAt: string;
9718
9718
  deletedAt: string | null;
9719
9719
  actor: {
9720
9720
  id: string;
@@ -10125,8 +10125,8 @@ export declare const mailContract: {
10125
10125
  } | {
10126
10126
  id: string;
10127
10127
  description: string;
10128
- createdAt: Date;
10129
- updatedAt: Date;
10128
+ createdAt: string;
10129
+ updatedAt: string;
10130
10130
  deletedAt: string | null;
10131
10131
  actor: {
10132
10132
  id: string;
@@ -10538,8 +10538,8 @@ export declare const mailContract: {
10538
10538
  } | {
10539
10539
  id: string;
10540
10540
  description: string;
10541
- createdAt: Date;
10542
- updatedAt: Date;
10541
+ createdAt: string;
10542
+ updatedAt: string;
10543
10543
  deletedAt: string | null;
10544
10544
  actor: {
10545
10545
  id: string;
@@ -0,0 +1,216 @@
1
+ import z from 'zod';
2
+ export declare const serverContract: {
3
+ create: {
4
+ body: null;
5
+ summary: "Register a new mail server";
6
+ method: "POST";
7
+ responses: {
8
+ 401: z.ZodObject<{
9
+ message: z.ZodString;
10
+ error: z.ZodAny;
11
+ }, "strip", z.ZodTypeAny, {
12
+ message: string;
13
+ error?: any;
14
+ }, {
15
+ message: string;
16
+ error?: any;
17
+ }>;
18
+ 404: z.ZodObject<{
19
+ message: z.ZodString;
20
+ error: z.ZodAny;
21
+ }, "strip", z.ZodTypeAny, {
22
+ message: string;
23
+ error?: any;
24
+ }, {
25
+ message: string;
26
+ error?: any;
27
+ }>;
28
+ 422: z.ZodObject<{
29
+ message: z.ZodString;
30
+ error: z.ZodAny;
31
+ }, "strip", z.ZodTypeAny, {
32
+ message: string;
33
+ error?: any;
34
+ }, {
35
+ message: string;
36
+ error?: any;
37
+ }>;
38
+ 200: z.ZodObject<{
39
+ requestId: z.ZodString;
40
+ message: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ message: string;
43
+ requestId: string;
44
+ }, {
45
+ message: string;
46
+ requestId: string;
47
+ }>;
48
+ };
49
+ path: "/server/";
50
+ };
51
+ get: {
52
+ summary: "Get a mail server by id";
53
+ method: "GET";
54
+ pathParams: z.ZodObject<{
55
+ id: z.ZodString;
56
+ }, "strip", z.ZodTypeAny, {
57
+ id: string;
58
+ }, {
59
+ id: string;
60
+ }>;
61
+ responses: {
62
+ 401: z.ZodObject<{
63
+ message: z.ZodString;
64
+ error: z.ZodAny;
65
+ }, "strip", z.ZodTypeAny, {
66
+ message: string;
67
+ error?: any;
68
+ }, {
69
+ message: string;
70
+ error?: any;
71
+ }>;
72
+ 404: z.ZodObject<{
73
+ message: z.ZodString;
74
+ error: z.ZodAny;
75
+ }, "strip", z.ZodTypeAny, {
76
+ message: string;
77
+ error?: any;
78
+ }, {
79
+ message: string;
80
+ error?: any;
81
+ }>;
82
+ 422: z.ZodObject<{
83
+ message: z.ZodString;
84
+ error: z.ZodAny;
85
+ }, "strip", z.ZodTypeAny, {
86
+ message: string;
87
+ error?: any;
88
+ }, {
89
+ message: string;
90
+ error?: any;
91
+ }>;
92
+ 200: z.ZodObject<{
93
+ requestId: z.ZodString;
94
+ message: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ message: string;
97
+ requestId: string;
98
+ }, {
99
+ message: string;
100
+ requestId: string;
101
+ }>;
102
+ };
103
+ path: "/server/:id";
104
+ };
105
+ update: {
106
+ body: null;
107
+ summary: "Update a mail server by id";
108
+ method: "PATCH";
109
+ pathParams: z.ZodObject<{
110
+ id: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ id: string;
113
+ }, {
114
+ id: string;
115
+ }>;
116
+ responses: {
117
+ 401: z.ZodObject<{
118
+ message: z.ZodString;
119
+ error: z.ZodAny;
120
+ }, "strip", z.ZodTypeAny, {
121
+ message: string;
122
+ error?: any;
123
+ }, {
124
+ message: string;
125
+ error?: any;
126
+ }>;
127
+ 404: z.ZodObject<{
128
+ message: z.ZodString;
129
+ error: z.ZodAny;
130
+ }, "strip", z.ZodTypeAny, {
131
+ message: string;
132
+ error?: any;
133
+ }, {
134
+ message: string;
135
+ error?: any;
136
+ }>;
137
+ 422: z.ZodObject<{
138
+ message: z.ZodString;
139
+ error: z.ZodAny;
140
+ }, "strip", z.ZodTypeAny, {
141
+ message: string;
142
+ error?: any;
143
+ }, {
144
+ message: string;
145
+ error?: any;
146
+ }>;
147
+ 200: z.ZodObject<{
148
+ requestId: z.ZodString;
149
+ message: z.ZodString;
150
+ }, "strip", z.ZodTypeAny, {
151
+ message: string;
152
+ requestId: string;
153
+ }, {
154
+ message: string;
155
+ requestId: string;
156
+ }>;
157
+ };
158
+ path: "/server/:id";
159
+ };
160
+ delete: {
161
+ body: null;
162
+ summary: "Delete a mail server by id";
163
+ method: "PATCH";
164
+ pathParams: z.ZodObject<{
165
+ id: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ id: string;
168
+ }, {
169
+ id: string;
170
+ }>;
171
+ responses: {
172
+ 401: z.ZodObject<{
173
+ message: z.ZodString;
174
+ error: z.ZodAny;
175
+ }, "strip", z.ZodTypeAny, {
176
+ message: string;
177
+ error?: any;
178
+ }, {
179
+ message: string;
180
+ error?: any;
181
+ }>;
182
+ 404: z.ZodObject<{
183
+ message: z.ZodString;
184
+ error: z.ZodAny;
185
+ }, "strip", z.ZodTypeAny, {
186
+ message: string;
187
+ error?: any;
188
+ }, {
189
+ message: string;
190
+ error?: any;
191
+ }>;
192
+ 422: z.ZodObject<{
193
+ message: z.ZodString;
194
+ error: z.ZodAny;
195
+ }, "strip", z.ZodTypeAny, {
196
+ message: string;
197
+ error?: any;
198
+ }, {
199
+ message: string;
200
+ error?: any;
201
+ }>;
202
+ 200: z.ZodObject<{
203
+ requestId: z.ZodString;
204
+ message: z.ZodString;
205
+ }, "strip", z.ZodTypeAny, {
206
+ message: string;
207
+ requestId: string;
208
+ }, {
209
+ message: string;
210
+ requestId: string;
211
+ }>;
212
+ };
213
+ path: "/server/:id";
214
+ };
215
+ };
216
+ //# sourceMappingURL=mail-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail-server.d.ts","sourceRoot":"","sources":["../../../src/mail/mail-server.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D1B,CAAC"}