@kl1/contracts 1.0.78 → 1.0.80

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 (66) hide show
  1. package/dist/index.js +1746 -1392
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1745 -1392
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +6 -6
  6. package/dist/src/call-log/validation.d.ts +4 -4
  7. package/dist/src/channel/index.d.ts +59 -59
  8. package/dist/src/channel/schema.d.ts +4 -4
  9. package/dist/src/channel/schema.d.ts.map +1 -1
  10. package/dist/src/channel/validation.d.ts +3 -3
  11. package/dist/src/chat/index.d.ts +6967 -3685
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +3294 -990
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +1947 -306
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/comment/index.d.ts +584 -584
  18. package/dist/src/comment/schema.d.ts +144 -144
  19. package/dist/src/contact/index.d.ts +4 -1
  20. package/dist/src/contact/index.d.ts.map +1 -1
  21. package/dist/src/contact/schema.d.ts +156 -0
  22. package/dist/src/contact/schema.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +35549 -20637
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +950 -101
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +810 -71
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/dashboard/index.d.ts +4 -4
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/index.d.ts +0 -1
  32. package/dist/src/index.d.ts.map +1 -1
  33. package/dist/src/instagram/index.d.ts +2162 -343
  34. package/dist/src/instagram/index.d.ts.map +1 -1
  35. package/dist/src/line/index.d.ts +1919 -278
  36. package/dist/src/line/index.d.ts.map +1 -1
  37. package/dist/src/mail/mail-contract.d.ts +130 -130
  38. package/dist/src/mail/message-contract.d.ts +6 -6
  39. package/dist/src/mail/room-contract.d.ts +124 -124
  40. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +40 -40
  42. package/dist/src/mail/schemas/room.schema.d.ts +30 -30
  43. package/dist/src/messenger/index.d.ts +2516 -516
  44. package/dist/src/messenger/index.d.ts.map +1 -1
  45. package/dist/src/messenger/validation.d.ts +1523 -0
  46. package/dist/src/messenger/validation.d.ts.map +1 -1
  47. package/dist/src/notification/index.d.ts +742 -0
  48. package/dist/src/notification/index.d.ts.map +1 -0
  49. package/dist/src/notification/schema.d.ts +48 -0
  50. package/dist/src/notification/schema.d.ts.map +1 -0
  51. package/dist/src/notification/validation.d.ts +148 -0
  52. package/dist/src/notification/validation.d.ts.map +1 -0
  53. package/dist/src/telephony-cdr/index.d.ts +3036 -818
  54. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  55. package/dist/src/telephony-cdr/schema.d.ts +841 -7
  56. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  57. package/dist/src/telephony-cdr/validation.d.ts +4 -4
  58. package/dist/src/ticket/index.d.ts +1106 -1106
  59. package/dist/src/ticket/schema.d.ts +72 -72
  60. package/dist/src/ticket/validation.d.ts +12 -12
  61. package/dist/src/viber/index.d.ts +3525 -1159
  62. package/dist/src/viber/index.d.ts.map +1 -1
  63. package/dist/src/wrap-up-form/index.d.ts +19 -19
  64. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  65. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  66. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/notification/index.ts"],"names":[],"mappings":"AAOA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EACL,6BAA6B,EAE7B,8BAA8B,EAC/B,MAAM,cAAc,CAAC;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 data: string;
8
+ }>;
9
+ export declare const NotificationChangeSchema: z.ZodObject<{
10
+ actorId: z.ZodString;
11
+ notificationObjectId: z.ZodString;
12
+ readAt: z.ZodDate;
13
+ }, "strip", z.ZodTypeAny, {
14
+ readAt: Date;
15
+ actorId: string;
16
+ notificationObjectId: string;
17
+ }, {
18
+ readAt: Date;
19
+ actorId: string;
20
+ notificationObjectId: string;
21
+ }>;
22
+ export declare const NotificationSchema: z.ZodObject<{
23
+ notificationObjectId: z.ZodString;
24
+ notifierId: z.ZodString;
25
+ notificationObject: z.ZodObject<{
26
+ data: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ data: string;
29
+ }, {
30
+ data: string;
31
+ }>;
32
+ readAt: z.ZodDate;
33
+ }, "strip", z.ZodTypeAny, {
34
+ readAt: Date;
35
+ notificationObjectId: string;
36
+ notifierId: string;
37
+ notificationObject: {
38
+ data: string;
39
+ };
40
+ }, {
41
+ readAt: Date;
42
+ notificationObjectId: string;
43
+ notifierId: string;
44
+ notificationObject: {
45
+ data: string;
46
+ };
47
+ }>;
48
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/notification/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC"}
@@ -0,0 +1,148 @@
1
+ import z from 'zod';
2
+ export declare const GetNotificationsRequestSchema: z.ZodObject<{
3
+ page: z.ZodDefault<z.ZodNumber>;
4
+ pageSize: z.ZodDefault<z.ZodNumber>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ page: number;
7
+ pageSize: number;
8
+ }, {
9
+ page?: number | undefined;
10
+ pageSize?: number | undefined;
11
+ }>;
12
+ export declare const GetNotificationsResponseSchema: z.ZodObject<{
13
+ notificationCount: z.ZodNumber;
14
+ notifications: z.ZodObject<{
15
+ data: z.ZodArray<z.ZodObject<{
16
+ notificationObjectId: z.ZodString;
17
+ notifierId: z.ZodString;
18
+ notificationObject: z.ZodObject<{
19
+ data: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ data: string;
22
+ }, {
23
+ data: string;
24
+ }>;
25
+ readAt: z.ZodDate;
26
+ }, "strip", z.ZodTypeAny, {
27
+ readAt: Date;
28
+ notificationObjectId: string;
29
+ notifierId: string;
30
+ notificationObject: {
31
+ data: string;
32
+ };
33
+ }, {
34
+ readAt: Date;
35
+ notificationObjectId: string;
36
+ notifierId: string;
37
+ notificationObject: {
38
+ data: string;
39
+ };
40
+ }>, "many">;
41
+ total: z.ZodNumber;
42
+ page: z.ZodNumber;
43
+ pageSize: z.ZodNumber;
44
+ lastPage: z.ZodNumber;
45
+ totalUnreadCount: z.ZodOptional<z.ZodNumber>;
46
+ unreadRoomCount: z.ZodOptional<z.ZodNumber>;
47
+ unreadCountsByAssigneeList: z.ZodArray<z.ZodObject<{
48
+ assigneeId: z.ZodOptional<z.ZodString>;
49
+ totalUnreadCount: z.ZodOptional<z.ZodString>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ assigneeId?: string | undefined;
52
+ totalUnreadCount?: string | undefined;
53
+ }, {
54
+ assigneeId?: string | undefined;
55
+ totalUnreadCount?: string | undefined;
56
+ }>, "many">;
57
+ }, "strip", z.ZodTypeAny, {
58
+ data: {
59
+ readAt: Date;
60
+ notificationObjectId: string;
61
+ notifierId: string;
62
+ notificationObject: {
63
+ data: string;
64
+ };
65
+ }[];
66
+ total: number;
67
+ page: number;
68
+ pageSize: number;
69
+ lastPage: number;
70
+ unreadCountsByAssigneeList: {
71
+ assigneeId?: string | undefined;
72
+ totalUnreadCount?: string | undefined;
73
+ }[];
74
+ totalUnreadCount?: number | undefined;
75
+ unreadRoomCount?: number | undefined;
76
+ }, {
77
+ data: {
78
+ readAt: Date;
79
+ notificationObjectId: string;
80
+ notifierId: string;
81
+ notificationObject: {
82
+ data: string;
83
+ };
84
+ }[];
85
+ total: number;
86
+ page: number;
87
+ pageSize: number;
88
+ lastPage: number;
89
+ unreadCountsByAssigneeList: {
90
+ assigneeId?: string | undefined;
91
+ totalUnreadCount?: string | undefined;
92
+ }[];
93
+ totalUnreadCount?: number | undefined;
94
+ unreadRoomCount?: number | undefined;
95
+ }>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ notifications: {
98
+ data: {
99
+ readAt: Date;
100
+ notificationObjectId: string;
101
+ notifierId: string;
102
+ notificationObject: {
103
+ data: string;
104
+ };
105
+ }[];
106
+ total: number;
107
+ page: number;
108
+ pageSize: number;
109
+ lastPage: number;
110
+ unreadCountsByAssigneeList: {
111
+ assigneeId?: string | undefined;
112
+ totalUnreadCount?: string | undefined;
113
+ }[];
114
+ totalUnreadCount?: number | undefined;
115
+ unreadRoomCount?: number | undefined;
116
+ };
117
+ notificationCount: number;
118
+ }, {
119
+ notifications: {
120
+ data: {
121
+ readAt: Date;
122
+ notificationObjectId: string;
123
+ notifierId: string;
124
+ notificationObject: {
125
+ data: string;
126
+ };
127
+ }[];
128
+ total: number;
129
+ page: number;
130
+ pageSize: number;
131
+ lastPage: number;
132
+ unreadCountsByAssigneeList: {
133
+ assigneeId?: string | undefined;
134
+ totalUnreadCount?: string | undefined;
135
+ }[];
136
+ totalUnreadCount?: number | undefined;
137
+ unreadRoomCount?: number | undefined;
138
+ };
139
+ notificationCount: number;
140
+ }>;
141
+ export declare const ResetNotificationRequestSchema: z.ZodObject<{
142
+ userId: z.ZodString;
143
+ }, "strip", z.ZodTypeAny, {
144
+ userId: string;
145
+ }, {
146
+ userId: string;
147
+ }>;
148
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/notification/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBzC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;EAEzC,CAAC"}