@kl1/contracts 1.0.31 → 1.0.33

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/channel/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAqB1E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8C3B,CAAC"}
@@ -20,205 +20,6 @@ export declare const ConnectChannelSchema: z.ZodObject<{
20
20
  }>;
21
21
  platformId: z.ZodString;
22
22
  connectedUserId: z.ZodString;
23
- actor: z.ZodOptional<z.ZodObject<{
24
- id: z.ZodString;
25
- createdAt: z.ZodDate;
26
- updatedAt: z.ZodDate;
27
- deletedAt: z.ZodNullable<z.ZodDate>;
28
- name: z.ZodString;
29
- email: z.ZodString;
30
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
31
- password: z.ZodString;
32
- address: z.ZodNullable<z.ZodString>;
33
- phone: z.ZodNullable<z.ZodString>;
34
- notificationCount: z.ZodNullable<z.ZodNumber>;
35
- roles: z.ZodArray<z.ZodObject<{
36
- id: z.ZodString;
37
- createdAt: z.ZodDate;
38
- updatedAt: z.ZodDate;
39
- deletedAt: z.ZodNullable<z.ZodDate>;
40
- systemName: z.ZodString;
41
- displayName: z.ZodString;
42
- description: z.ZodNullable<z.ZodString>;
43
- permissions: z.ZodArray<z.ZodObject<{
44
- id: z.ZodString;
45
- createdAt: z.ZodDate;
46
- updatedAt: z.ZodDate;
47
- deletedAt: z.ZodNullable<z.ZodDate>;
48
- systemName: z.ZodString;
49
- displayName: z.ZodString;
50
- description: z.ZodNullable<z.ZodString>;
51
- }, "strip", z.ZodTypeAny, {
52
- id: string;
53
- description: string | null;
54
- createdAt: Date;
55
- updatedAt: Date;
56
- deletedAt: Date | null;
57
- systemName: string;
58
- displayName: string;
59
- }, {
60
- id: string;
61
- description: string | null;
62
- createdAt: Date;
63
- updatedAt: Date;
64
- deletedAt: Date | null;
65
- systemName: string;
66
- displayName: string;
67
- }>, "many">;
68
- }, "strip", z.ZodTypeAny, {
69
- id: string;
70
- description: string | null;
71
- createdAt: Date;
72
- updatedAt: Date;
73
- deletedAt: Date | null;
74
- systemName: string;
75
- displayName: string;
76
- permissions: {
77
- id: string;
78
- description: string | null;
79
- createdAt: Date;
80
- updatedAt: Date;
81
- deletedAt: Date | null;
82
- systemName: string;
83
- displayName: string;
84
- }[];
85
- }, {
86
- id: string;
87
- description: string | null;
88
- createdAt: Date;
89
- updatedAt: Date;
90
- deletedAt: Date | null;
91
- systemName: string;
92
- displayName: string;
93
- permissions: {
94
- id: string;
95
- description: string | null;
96
- createdAt: Date;
97
- updatedAt: Date;
98
- deletedAt: Date | null;
99
- systemName: string;
100
- displayName: string;
101
- }[];
102
- }>, "many">;
103
- extension: z.ZodOptional<z.ZodObject<{
104
- id: z.ZodString;
105
- createdAt: z.ZodDate;
106
- updatedAt: z.ZodDate;
107
- deletedAt: z.ZodNullable<z.ZodDate>;
108
- userId: z.ZodNullable<z.ZodString>;
109
- sipServerUrl: z.ZodString;
110
- sipUserName: z.ZodString;
111
- extensionId: z.ZodNumber;
112
- extensionName: z.ZodString;
113
- telephonySignature: z.ZodNullable<z.ZodString>;
114
- }, "strip", z.ZodTypeAny, {
115
- id: string;
116
- createdAt: Date;
117
- updatedAt: Date;
118
- deletedAt: Date | null;
119
- userId: string | null;
120
- sipServerUrl: string;
121
- sipUserName: string;
122
- extensionId: number;
123
- extensionName: string;
124
- telephonySignature: string | null;
125
- }, {
126
- id: string;
127
- createdAt: Date;
128
- updatedAt: Date;
129
- deletedAt: Date | null;
130
- userId: string | null;
131
- sipServerUrl: string;
132
- sipUserName: string;
133
- extensionId: number;
134
- extensionName: string;
135
- telephonySignature: string | null;
136
- }>>;
137
- }, "strip", z.ZodTypeAny, {
138
- id: string;
139
- address: string | null;
140
- name: string;
141
- email: string;
142
- createdAt: Date;
143
- updatedAt: Date;
144
- deletedAt: Date | null;
145
- emailVerifiedAt: Date | null;
146
- password: string;
147
- phone: string | null;
148
- notificationCount: number | null;
149
- roles: {
150
- id: string;
151
- description: string | null;
152
- createdAt: Date;
153
- updatedAt: Date;
154
- deletedAt: Date | null;
155
- systemName: string;
156
- displayName: string;
157
- permissions: {
158
- id: string;
159
- description: string | null;
160
- createdAt: Date;
161
- updatedAt: Date;
162
- deletedAt: Date | null;
163
- systemName: string;
164
- displayName: string;
165
- }[];
166
- }[];
167
- extension?: {
168
- id: string;
169
- createdAt: Date;
170
- updatedAt: Date;
171
- deletedAt: Date | null;
172
- userId: string | null;
173
- sipServerUrl: string;
174
- sipUserName: string;
175
- extensionId: number;
176
- extensionName: string;
177
- telephonySignature: string | null;
178
- } | undefined;
179
- }, {
180
- id: string;
181
- address: string | null;
182
- name: string;
183
- email: string;
184
- createdAt: Date;
185
- updatedAt: Date;
186
- deletedAt: Date | null;
187
- emailVerifiedAt: Date | null;
188
- password: string;
189
- phone: string | null;
190
- notificationCount: number | null;
191
- roles: {
192
- id: string;
193
- description: string | null;
194
- createdAt: Date;
195
- updatedAt: Date;
196
- deletedAt: Date | null;
197
- systemName: string;
198
- displayName: string;
199
- permissions: {
200
- id: string;
201
- description: string | null;
202
- createdAt: Date;
203
- updatedAt: Date;
204
- deletedAt: Date | null;
205
- systemName: string;
206
- displayName: string;
207
- }[];
208
- }[];
209
- extension?: {
210
- id: string;
211
- createdAt: Date;
212
- updatedAt: Date;
213
- deletedAt: Date | null;
214
- userId: string | null;
215
- sipServerUrl: string;
216
- sipUserName: string;
217
- extensionId: number;
218
- extensionName: string;
219
- telephonySignature: string | null;
220
- } | undefined;
221
- }>>;
222
23
  }, "strip", z.ZodTypeAny, {
223
24
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
224
25
  name: string;
@@ -230,49 +31,6 @@ export declare const ConnectChannelSchema: z.ZodObject<{
230
31
  };
231
32
  platformId: string;
232
33
  connectedUserId: string;
233
- actor?: {
234
- id: string;
235
- address: string | null;
236
- name: string;
237
- email: string;
238
- createdAt: Date;
239
- updatedAt: Date;
240
- deletedAt: Date | null;
241
- emailVerifiedAt: Date | null;
242
- password: string;
243
- phone: string | null;
244
- notificationCount: number | null;
245
- roles: {
246
- id: string;
247
- description: string | null;
248
- createdAt: Date;
249
- updatedAt: Date;
250
- deletedAt: Date | null;
251
- systemName: string;
252
- displayName: string;
253
- permissions: {
254
- id: string;
255
- description: string | null;
256
- createdAt: Date;
257
- updatedAt: Date;
258
- deletedAt: Date | null;
259
- systemName: string;
260
- displayName: string;
261
- }[];
262
- }[];
263
- extension?: {
264
- id: string;
265
- createdAt: Date;
266
- updatedAt: Date;
267
- deletedAt: Date | null;
268
- userId: string | null;
269
- sipServerUrl: string;
270
- sipUserName: string;
271
- extensionId: number;
272
- extensionName: string;
273
- telephonySignature: string | null;
274
- } | undefined;
275
- } | undefined;
276
34
  }, {
277
35
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
278
36
  name: string;
@@ -284,48 +42,5 @@ export declare const ConnectChannelSchema: z.ZodObject<{
284
42
  };
285
43
  platformId: string;
286
44
  connectedUserId: string;
287
- actor?: {
288
- id: string;
289
- address: string | null;
290
- name: string;
291
- email: string;
292
- createdAt: Date;
293
- updatedAt: Date;
294
- deletedAt: Date | null;
295
- emailVerifiedAt: Date | null;
296
- password: string;
297
- phone: string | null;
298
- notificationCount: number | null;
299
- roles: {
300
- id: string;
301
- description: string | null;
302
- createdAt: Date;
303
- updatedAt: Date;
304
- deletedAt: Date | null;
305
- systemName: string;
306
- displayName: string;
307
- permissions: {
308
- id: string;
309
- description: string | null;
310
- createdAt: Date;
311
- updatedAt: Date;
312
- deletedAt: Date | null;
313
- systemName: string;
314
- displayName: string;
315
- }[];
316
- }[];
317
- extension?: {
318
- id: string;
319
- createdAt: Date;
320
- updatedAt: Date;
321
- deletedAt: Date | null;
322
- userId: string | null;
323
- sipServerUrl: string;
324
- sipUserName: string;
325
- extensionId: number;
326
- extensionName: string;
327
- telephonySignature: string | null;
328
- } | undefined;
329
- } | undefined;
330
45
  }>;
331
46
  //# sourceMappingURL=validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/channel/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/channel/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC"}