@kl1/contracts 1.0.67 → 1.0.69
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/index.js +102 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +102 -28
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +559 -1
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +10 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +8584 -1133
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +18 -32
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +19 -15
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/ticket/index.d.ts +3 -3
- package/dist/src/ticket/validation.d.ts +3 -3
- package/dist/src/viber/index.d.ts +6913 -0
- package/dist/src/viber/index.d.ts.map +1 -0
- package/dist/src/viber/schema.d.ts +2 -0
- package/dist/src/viber/schema.d.ts.map +1 -0
- package/dist/src/viber/validation.d.ts +45 -0
- package/dist/src/viber/validation.d.ts.map +1 -0
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema } from './validation';
|
2
2
|
import z from 'zod';
|
3
|
-
import { DashboardDataSchema, ExpiredTicketSchema, TicketCountByStatusSchema, MessageCountsByChannelObjSchema, queueCallDashboardDataSchema, queueLiveCallCountListSchema, TagCountObjSchema, CallEndResultSchema, ConversationCountStatusSchema, MessageStatusSchema, MessageAverageSchema, MessagePlatformDataSchema, MessageDispositionSchema, MessageIncomingDataSchema, MessageTotalIncomingDataSchema, TelephonyQueueCallCountListSchema, TotalTelephonyQueueCallCountListSchema, TelephonyQueueCallCountListByQueueNumberSchema, TotalQueueLiveCallStatusSchema, QueueLiveCallListByQueueSchema, DashboardDataWithCallSchema, ReceivedTicketCountDataSchema, ResolvedTicketCountDataSchema } from './schema';
|
3
|
+
import { DashboardDataSchema, ExpiredTicketSchema, TicketCountByStatusSchema, MessageCountsByChannelObjSchema, queueCallDashboardDataSchema, queueLiveCallCountListSchema, TagCountObjSchema, CallEndResultSchema, ConversationCountStatusSchema, MessageStatusSchema, MessageAverageSchema, MessagePlatformDataSchema, MessageDispositionSchema, MessageIncomingDataSchema, MessageTotalIncomingDataSchema, TelephonyQueueCallCountListSchema, TotalTelephonyQueueCallCountListSchema, TelephonyQueueCallCountListByQueueNumberSchema, TotalQueueLiveCallStatusSchema, QueueLiveCallListByQueueSchema, DashboardDataWithCallSchema, ReceivedTicketCountDataSchema, ResolvedTicketCountDataSchema, TagCountSchema } from './schema';
|
4
4
|
export type DashBoardData = z.infer<typeof DashboardDataSchema>;
|
5
5
|
export type DashboardWithCallData = z.infer<typeof DashboardDataWithCallSchema>;
|
6
6
|
export type QueueCallDashboardDataType = z.infer<typeof queueCallDashboardDataSchema>;
|
@@ -15,6 +15,7 @@ export type QueueLiveCallCountList = z.infer<typeof queueLiveCallCountListSchema
|
|
15
15
|
export type TicketCountByStatusType = z.infer<typeof TicketCountByStatusSchema>;
|
16
16
|
export type ExpiredTicket = z.infer<typeof ExpiredTicketSchema>;
|
17
17
|
export type TagCountObj = z.infer<typeof TagCountObjSchema>;
|
18
|
+
export type TagCount = z.infer<typeof TagCountSchema>;
|
18
19
|
export type MessageCountsByChannel = z.infer<typeof MessageCountsByChannelObjSchema>;
|
19
20
|
export type CallEndResultType = z.infer<typeof CallEndResultSchema>;
|
20
21
|
export type ConversationCountStatus = z.infer<typeof ConversationCountStatusSchema>;
|
@@ -1761,43 +1762,28 @@ export declare const dashboardContract: {
|
|
1761
1762
|
responses: {
|
1762
1763
|
200: z.ZodObject<{
|
1763
1764
|
requestId: z.ZodString;
|
1764
|
-
messageRoomStatusDispositionData: z.ZodObject<{
|
1765
|
-
|
1766
|
-
|
1767
|
-
followUpDispositionCount: z.ZodNullable<z.ZodNumber>;
|
1768
|
-
blankDispositionCount: z.ZodNullable<z.ZodNumber>;
|
1769
|
-
escalatedDispositionCount: z.ZodNullable<z.ZodNumber>;
|
1765
|
+
messageRoomStatusDispositionData: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1766
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1767
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
1770
1768
|
}, "strip", z.ZodTypeAny, {
|
1771
|
-
|
1772
|
-
|
1773
|
-
followUpDispositionCount: number | null;
|
1774
|
-
blankDispositionCount: number | null;
|
1775
|
-
escalatedDispositionCount: number | null;
|
1769
|
+
name?: string | null | undefined;
|
1770
|
+
count?: number | null | undefined;
|
1776
1771
|
}, {
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
blankDispositionCount: number | null;
|
1781
|
-
escalatedDispositionCount: number | null;
|
1782
|
-
}>;
|
1772
|
+
name?: string | null | undefined;
|
1773
|
+
count?: number | null | undefined;
|
1774
|
+
}>, "many">>;
|
1783
1775
|
}, "strip", z.ZodTypeAny, {
|
1784
1776
|
requestId: string;
|
1785
|
-
messageRoomStatusDispositionData
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
blankDispositionCount: number | null;
|
1790
|
-
escalatedDispositionCount: number | null;
|
1791
|
-
};
|
1777
|
+
messageRoomStatusDispositionData?: {
|
1778
|
+
name?: string | null | undefined;
|
1779
|
+
count?: number | null | undefined;
|
1780
|
+
}[] | undefined;
|
1792
1781
|
}, {
|
1793
1782
|
requestId: string;
|
1794
|
-
messageRoomStatusDispositionData
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
blankDispositionCount: number | null;
|
1799
|
-
escalatedDispositionCount: number | null;
|
1800
|
-
};
|
1783
|
+
messageRoomStatusDispositionData?: {
|
1784
|
+
name?: string | null | undefined;
|
1785
|
+
count?: number | null | undefined;
|
1786
|
+
}[] | undefined;
|
1801
1787
|
}>;
|
1802
1788
|
401: z.ZodObject<{
|
1803
1789
|
message: z.ZodString;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mCAAmC,EACnC,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,iCAAiC,EACjC,sCAAsC,EACtC,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mCAAmC,EACnC,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,iCAAiC,EACjC,sCAAsC,EACtC,8C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8P7B,CAAC"}
|
@@ -837,6 +837,19 @@ export declare const ExpiredTicketSchema: z.ZodArray<z.ZodObject<{
|
|
837
837
|
ticketNumber: number;
|
838
838
|
expiredDays: number;
|
839
839
|
}>, "many">;
|
840
|
+
export declare const TagCountSchema: z.ZodObject<{
|
841
|
+
id: z.ZodString;
|
842
|
+
name: z.ZodString;
|
843
|
+
count: z.ZodNumber;
|
844
|
+
}, "strip", z.ZodTypeAny, {
|
845
|
+
id: string;
|
846
|
+
name: string;
|
847
|
+
count: number;
|
848
|
+
}, {
|
849
|
+
id: string;
|
850
|
+
name: string;
|
851
|
+
count: number;
|
852
|
+
}>;
|
840
853
|
export declare const TagCountObjSchema: z.ZodArray<z.ZodObject<{
|
841
854
|
id: z.ZodString;
|
842
855
|
name: z.ZodString;
|
@@ -1016,23 +1029,14 @@ export declare const MessagePlatformDataSchema: z.ZodObject<{
|
|
1016
1029
|
} | null;
|
1017
1030
|
}>;
|
1018
1031
|
export declare const MessageDispositionSchema: z.ZodObject<{
|
1019
|
-
|
1020
|
-
|
1021
|
-
followUpDispositionCount: z.ZodNullable<z.ZodNumber>;
|
1022
|
-
blankDispositionCount: z.ZodNullable<z.ZodNumber>;
|
1023
|
-
escalatedDispositionCount: z.ZodNullable<z.ZodNumber>;
|
1032
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1033
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
1024
1034
|
}, "strip", z.ZodTypeAny, {
|
1025
|
-
|
1026
|
-
|
1027
|
-
followUpDispositionCount: number | null;
|
1028
|
-
blankDispositionCount: number | null;
|
1029
|
-
escalatedDispositionCount: number | null;
|
1035
|
+
name?: string | null | undefined;
|
1036
|
+
count?: number | null | undefined;
|
1030
1037
|
}, {
|
1031
|
-
|
1032
|
-
|
1033
|
-
followUpDispositionCount: number | null;
|
1034
|
-
blankDispositionCount: number | null;
|
1035
|
-
escalatedDispositionCount: number | null;
|
1038
|
+
name?: string | null | undefined;
|
1039
|
+
count?: number | null | undefined;
|
1036
1040
|
}>;
|
1037
1041
|
export declare const MessageIncomingDataSchema: z.ZodArray<z.ZodObject<{
|
1038
1042
|
platform: z.ZodNullable<z.ZodString>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/dashboard/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAmBpB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;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,eAAO,MAAM,8BAA8B;;;;;;;;;YAE1C,CAAC"}
|
@@ -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"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const PlatformContactSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
createdAt: z.ZodDate;
|
5
|
+
updatedAt: z.ZodDate;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
|
+
contactId: z.ZodString;
|
8
|
+
channelId: z.ZodString;
|
9
|
+
config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
10
|
+
type: z.ZodString;
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
12
|
+
type: string;
|
13
|
+
id: string;
|
14
|
+
createdAt: Date;
|
15
|
+
updatedAt: Date;
|
16
|
+
deletedAt: Date | null;
|
17
|
+
contactId: string;
|
18
|
+
channelId: string;
|
19
|
+
config: {};
|
20
|
+
}, {
|
21
|
+
type: string;
|
22
|
+
id: string;
|
23
|
+
createdAt: Date;
|
24
|
+
updatedAt: Date;
|
25
|
+
deletedAt: Date | null;
|
26
|
+
contactId: string;
|
27
|
+
channelId: string;
|
28
|
+
config: {};
|
29
|
+
}>;
|
30
|
+
//# sourceMappingURL=schema.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/platform-contact/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC"}
|
@@ -3441,7 +3441,6 @@ export declare const ticketContract: {
|
|
3441
3441
|
query: z.ZodObject<{
|
3442
3442
|
page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
3443
3443
|
pageSize: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
3444
|
-
agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3445
3444
|
selectedDate: z.ZodOptional<z.ZodString>;
|
3446
3445
|
keyword: z.ZodOptional<z.ZodString>;
|
3447
3446
|
title: z.ZodOptional<z.ZodString>;
|
@@ -3454,6 +3453,7 @@ export declare const ticketContract: {
|
|
3454
3453
|
contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3455
3454
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3456
3455
|
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3456
|
+
assignee: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3457
3457
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3458
3458
|
attributeId: z.ZodString;
|
3459
3459
|
type: z.ZodString;
|
@@ -3470,7 +3470,6 @@ export declare const ticketContract: {
|
|
3470
3470
|
}, "strip", z.ZodTypeAny, {
|
3471
3471
|
page?: number | undefined;
|
3472
3472
|
pageSize?: number | undefined;
|
3473
|
-
agent?: string[] | undefined;
|
3474
3473
|
selectedDate?: string | undefined;
|
3475
3474
|
keyword?: string | undefined;
|
3476
3475
|
title?: string | undefined;
|
@@ -3483,6 +3482,7 @@ export declare const ticketContract: {
|
|
3483
3482
|
contact?: string[] | undefined;
|
3484
3483
|
tags?: string[] | undefined;
|
3485
3484
|
categories?: string[] | undefined;
|
3485
|
+
assignee?: string[] | undefined;
|
3486
3486
|
customFields?: {
|
3487
3487
|
type: string;
|
3488
3488
|
value: (string | string[]) & (string | string[] | undefined);
|
@@ -3491,7 +3491,6 @@ export declare const ticketContract: {
|
|
3491
3491
|
}, {
|
3492
3492
|
page?: string | undefined;
|
3493
3493
|
pageSize?: string | undefined;
|
3494
|
-
agent?: string[] | undefined;
|
3495
3494
|
selectedDate?: string | undefined;
|
3496
3495
|
keyword?: string | undefined;
|
3497
3496
|
title?: string | undefined;
|
@@ -3504,6 +3503,7 @@ export declare const ticketContract: {
|
|
3504
3503
|
contact?: string[] | undefined;
|
3505
3504
|
tags?: string[] | undefined;
|
3506
3505
|
categories?: string[] | undefined;
|
3506
|
+
assignee?: string[] | undefined;
|
3507
3507
|
customFields?: {
|
3508
3508
|
type: string;
|
3509
3509
|
value: (string | string[]) & (string | string[] | undefined);
|
@@ -421,7 +421,6 @@ export declare const CustomFieldQuery: z.ZodObject<{
|
|
421
421
|
export declare const GetAllTicketQuerySchema: z.ZodObject<{
|
422
422
|
page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
423
423
|
pageSize: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
424
|
-
agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
425
424
|
selectedDate: z.ZodOptional<z.ZodString>;
|
426
425
|
keyword: z.ZodOptional<z.ZodString>;
|
427
426
|
title: z.ZodOptional<z.ZodString>;
|
@@ -434,6 +433,7 @@ export declare const GetAllTicketQuerySchema: z.ZodObject<{
|
|
434
433
|
contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
435
434
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
436
435
|
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
436
|
+
assignee: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
437
437
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
438
438
|
attributeId: z.ZodString;
|
439
439
|
type: z.ZodString;
|
@@ -450,7 +450,6 @@ export declare const GetAllTicketQuerySchema: z.ZodObject<{
|
|
450
450
|
}, "strip", z.ZodTypeAny, {
|
451
451
|
page?: number | undefined;
|
452
452
|
pageSize?: number | undefined;
|
453
|
-
agent?: string[] | undefined;
|
454
453
|
selectedDate?: string | undefined;
|
455
454
|
keyword?: string | undefined;
|
456
455
|
title?: string | undefined;
|
@@ -463,6 +462,7 @@ export declare const GetAllTicketQuerySchema: z.ZodObject<{
|
|
463
462
|
contact?: string[] | undefined;
|
464
463
|
tags?: string[] | undefined;
|
465
464
|
categories?: string[] | undefined;
|
465
|
+
assignee?: string[] | undefined;
|
466
466
|
customFields?: {
|
467
467
|
type: string;
|
468
468
|
value: (string | string[]) & (string | string[] | undefined);
|
@@ -471,7 +471,6 @@ export declare const GetAllTicketQuerySchema: z.ZodObject<{
|
|
471
471
|
}, {
|
472
472
|
page?: string | undefined;
|
473
473
|
pageSize?: string | undefined;
|
474
|
-
agent?: string[] | undefined;
|
475
474
|
selectedDate?: string | undefined;
|
476
475
|
keyword?: string | undefined;
|
477
476
|
title?: string | undefined;
|
@@ -484,6 +483,7 @@ export declare const GetAllTicketQuerySchema: z.ZodObject<{
|
|
484
483
|
contact?: string[] | undefined;
|
485
484
|
tags?: string[] | undefined;
|
486
485
|
categories?: string[] | undefined;
|
486
|
+
assignee?: string[] | undefined;
|
487
487
|
customFields?: {
|
488
488
|
type: string;
|
489
489
|
value: (string | string[]) & (string | string[] | undefined);
|