@kl1/contracts 1.0.28 → 1.0.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/index.js +179 -124
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +178 -124
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +113 -113
- package/dist/src/activity-log/schema.d.ts +122 -122
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/auth/index.d.ts +89 -89
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +357 -357
- package/dist/src/channel/schema.d.ts +101 -98
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +89 -89
- package/dist/src/chat/index.d.ts +13187 -13187
- package/dist/src/chat/schema.d.ts +2360 -2360
- package/dist/src/chat/validation.d.ts +3251 -3251
- package/dist/src/comment/index.d.ts +1368 -1368
- package/dist/src/comment/schema.d.ts +388 -388
- package/dist/src/company/index.d.ts +316 -316
- package/dist/src/company/schema.d.ts +95 -95
- package/dist/src/company/validation.d.ts +177 -177
- package/dist/src/contact/index.d.ts +2171 -2171
- package/dist/src/contact/schema.d.ts +362 -362
- package/dist/src/contact/validation.d.ts +1685 -1685
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +26474 -26668
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +12 -12
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +1644 -1644
- package/dist/src/cx-log/schema.d.ts +1400 -1400
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/extension/index.d.ts +115 -115
- package/dist/src/extension/schema.d.ts +9 -9
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/account-contract.d.ts +168 -168
- package/dist/src/mail/mail-contract.d.ts +3398 -3398
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/message-contract.d.ts +152 -152
- package/dist/src/mail/room-contract.d.ts +3078 -3078
- package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
- package/dist/src/mail/schemas/account.schema.d.ts +33 -33
- package/dist/src/mail/schemas/message.schema.d.ts +108 -108
- package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
- package/dist/src/mail/schemas/room.schema.d.ts +816 -816
- package/dist/src/messenger/index.d.ts +1569 -1569
- package/dist/src/permission/index.d.ts +15 -15
- package/dist/src/permission/schema.d.ts +9 -9
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/role/index.d.ts +96 -96
- package/dist/src/role/schema.d.ts +24 -24
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
- package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +858 -1094
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +212 -212
- package/dist/src/ticket/validation.d.ts +102 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user/index.d.ts +293 -293
- package/dist/src/user/schema.d.ts +63 -63
- package/dist/src/user-presence-status-log/index.d.ts +88 -88
- package/dist/src/user-presence-status-log/schema.d.ts +128 -128
- package/dist/src/widget/index.d.ts +78 -78
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
package/dist/src/auth/index.d.ts
CHANGED
@@ -206,89 +206,89 @@ export declare const authContract: {
|
|
206
206
|
requestId: z.ZodString;
|
207
207
|
user: z.ZodObject<{
|
208
208
|
id: z.ZodString;
|
209
|
-
createdAt: z.
|
210
|
-
updatedAt: z.
|
211
|
-
deletedAt: z.ZodNullable<z.
|
209
|
+
createdAt: z.ZodDate;
|
210
|
+
updatedAt: z.ZodDate;
|
211
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
212
212
|
name: z.ZodString;
|
213
213
|
email: z.ZodString;
|
214
|
-
emailVerifiedAt: z.ZodNullable<z.
|
214
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
215
215
|
password: z.ZodString;
|
216
216
|
address: z.ZodNullable<z.ZodString>;
|
217
217
|
phone: z.ZodNullable<z.ZodString>;
|
218
218
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
219
219
|
roles: z.ZodArray<z.ZodObject<{
|
220
220
|
id: z.ZodString;
|
221
|
-
createdAt: z.
|
222
|
-
updatedAt: z.
|
223
|
-
deletedAt: z.ZodNullable<z.
|
221
|
+
createdAt: z.ZodDate;
|
222
|
+
updatedAt: z.ZodDate;
|
223
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
224
224
|
systemName: z.ZodString;
|
225
225
|
displayName: z.ZodString;
|
226
226
|
description: z.ZodNullable<z.ZodString>;
|
227
227
|
permissions: z.ZodArray<z.ZodObject<{
|
228
228
|
id: z.ZodString;
|
229
|
-
createdAt: z.
|
230
|
-
updatedAt: z.
|
231
|
-
deletedAt: z.ZodNullable<z.
|
229
|
+
createdAt: z.ZodDate;
|
230
|
+
updatedAt: z.ZodDate;
|
231
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
232
232
|
systemName: z.ZodString;
|
233
233
|
displayName: z.ZodString;
|
234
234
|
description: z.ZodNullable<z.ZodString>;
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
236
236
|
id: string;
|
237
237
|
description: string | null;
|
238
|
-
createdAt:
|
239
|
-
updatedAt:
|
240
|
-
deletedAt:
|
238
|
+
createdAt: Date;
|
239
|
+
updatedAt: Date;
|
240
|
+
deletedAt: Date | null;
|
241
241
|
systemName: string;
|
242
242
|
displayName: string;
|
243
243
|
}, {
|
244
244
|
id: string;
|
245
245
|
description: string | null;
|
246
|
-
createdAt:
|
247
|
-
updatedAt:
|
248
|
-
deletedAt:
|
246
|
+
createdAt: Date;
|
247
|
+
updatedAt: Date;
|
248
|
+
deletedAt: Date | null;
|
249
249
|
systemName: string;
|
250
250
|
displayName: string;
|
251
251
|
}>, "many">;
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
253
253
|
id: string;
|
254
254
|
description: string | null;
|
255
|
-
createdAt:
|
256
|
-
updatedAt:
|
257
|
-
deletedAt:
|
255
|
+
createdAt: Date;
|
256
|
+
updatedAt: Date;
|
257
|
+
deletedAt: Date | null;
|
258
258
|
systemName: string;
|
259
259
|
displayName: string;
|
260
260
|
permissions: {
|
261
261
|
id: string;
|
262
262
|
description: string | null;
|
263
|
-
createdAt:
|
264
|
-
updatedAt:
|
265
|
-
deletedAt:
|
263
|
+
createdAt: Date;
|
264
|
+
updatedAt: Date;
|
265
|
+
deletedAt: Date | null;
|
266
266
|
systemName: string;
|
267
267
|
displayName: string;
|
268
268
|
}[];
|
269
269
|
}, {
|
270
270
|
id: string;
|
271
271
|
description: string | null;
|
272
|
-
createdAt:
|
273
|
-
updatedAt:
|
274
|
-
deletedAt:
|
272
|
+
createdAt: Date;
|
273
|
+
updatedAt: Date;
|
274
|
+
deletedAt: Date | null;
|
275
275
|
systemName: string;
|
276
276
|
displayName: string;
|
277
277
|
permissions: {
|
278
278
|
id: string;
|
279
279
|
description: string | null;
|
280
|
-
createdAt:
|
281
|
-
updatedAt:
|
282
|
-
deletedAt:
|
280
|
+
createdAt: Date;
|
281
|
+
updatedAt: Date;
|
282
|
+
deletedAt: Date | null;
|
283
283
|
systemName: string;
|
284
284
|
displayName: string;
|
285
285
|
}[];
|
286
286
|
}>, "many">;
|
287
287
|
extension: z.ZodOptional<z.ZodObject<{
|
288
288
|
id: z.ZodString;
|
289
|
-
createdAt: z.
|
290
|
-
updatedAt: z.
|
291
|
-
deletedAt: z.ZodNullable<z.
|
289
|
+
createdAt: z.ZodDate;
|
290
|
+
updatedAt: z.ZodDate;
|
291
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
292
292
|
userId: z.ZodNullable<z.ZodString>;
|
293
293
|
sipServerUrl: z.ZodString;
|
294
294
|
sipUserName: z.ZodString;
|
@@ -297,9 +297,9 @@ export declare const authContract: {
|
|
297
297
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
299
299
|
id: string;
|
300
|
-
createdAt:
|
301
|
-
updatedAt:
|
302
|
-
deletedAt:
|
300
|
+
createdAt: Date;
|
301
|
+
updatedAt: Date;
|
302
|
+
deletedAt: Date | null;
|
303
303
|
userId: string | null;
|
304
304
|
sipServerUrl: string;
|
305
305
|
sipUserName: string;
|
@@ -308,9 +308,9 @@ export declare const authContract: {
|
|
308
308
|
telephonySignature: string | null;
|
309
309
|
}, {
|
310
310
|
id: string;
|
311
|
-
createdAt:
|
312
|
-
updatedAt:
|
313
|
-
deletedAt:
|
311
|
+
createdAt: Date;
|
312
|
+
updatedAt: Date;
|
313
|
+
deletedAt: Date | null;
|
314
314
|
userId: string | null;
|
315
315
|
sipServerUrl: string;
|
316
316
|
sipUserName: string;
|
@@ -323,36 +323,36 @@ export declare const authContract: {
|
|
323
323
|
address: string | null;
|
324
324
|
name: string;
|
325
325
|
email: string;
|
326
|
-
createdAt:
|
327
|
-
updatedAt:
|
328
|
-
deletedAt:
|
329
|
-
emailVerifiedAt:
|
326
|
+
createdAt: Date;
|
327
|
+
updatedAt: Date;
|
328
|
+
deletedAt: Date | null;
|
329
|
+
emailVerifiedAt: Date | null;
|
330
330
|
password: string;
|
331
331
|
phone: string | null;
|
332
332
|
notificationCount: number | null;
|
333
333
|
roles: {
|
334
334
|
id: string;
|
335
335
|
description: string | null;
|
336
|
-
createdAt:
|
337
|
-
updatedAt:
|
338
|
-
deletedAt:
|
336
|
+
createdAt: Date;
|
337
|
+
updatedAt: Date;
|
338
|
+
deletedAt: Date | null;
|
339
339
|
systemName: string;
|
340
340
|
displayName: string;
|
341
341
|
permissions: {
|
342
342
|
id: string;
|
343
343
|
description: string | null;
|
344
|
-
createdAt:
|
345
|
-
updatedAt:
|
346
|
-
deletedAt:
|
344
|
+
createdAt: Date;
|
345
|
+
updatedAt: Date;
|
346
|
+
deletedAt: Date | null;
|
347
347
|
systemName: string;
|
348
348
|
displayName: string;
|
349
349
|
}[];
|
350
350
|
}[];
|
351
351
|
extension?: {
|
352
352
|
id: string;
|
353
|
-
createdAt:
|
354
|
-
updatedAt:
|
355
|
-
deletedAt:
|
353
|
+
createdAt: Date;
|
354
|
+
updatedAt: Date;
|
355
|
+
deletedAt: Date | null;
|
356
356
|
userId: string | null;
|
357
357
|
sipServerUrl: string;
|
358
358
|
sipUserName: string;
|
@@ -365,36 +365,36 @@ export declare const authContract: {
|
|
365
365
|
address: string | null;
|
366
366
|
name: string;
|
367
367
|
email: string;
|
368
|
-
createdAt:
|
369
|
-
updatedAt:
|
370
|
-
deletedAt:
|
371
|
-
emailVerifiedAt:
|
368
|
+
createdAt: Date;
|
369
|
+
updatedAt: Date;
|
370
|
+
deletedAt: Date | null;
|
371
|
+
emailVerifiedAt: Date | null;
|
372
372
|
password: string;
|
373
373
|
phone: string | null;
|
374
374
|
notificationCount: number | null;
|
375
375
|
roles: {
|
376
376
|
id: string;
|
377
377
|
description: string | null;
|
378
|
-
createdAt:
|
379
|
-
updatedAt:
|
380
|
-
deletedAt:
|
378
|
+
createdAt: Date;
|
379
|
+
updatedAt: Date;
|
380
|
+
deletedAt: Date | null;
|
381
381
|
systemName: string;
|
382
382
|
displayName: string;
|
383
383
|
permissions: {
|
384
384
|
id: string;
|
385
385
|
description: string | null;
|
386
|
-
createdAt:
|
387
|
-
updatedAt:
|
388
|
-
deletedAt:
|
386
|
+
createdAt: Date;
|
387
|
+
updatedAt: Date;
|
388
|
+
deletedAt: Date | null;
|
389
389
|
systemName: string;
|
390
390
|
displayName: string;
|
391
391
|
}[];
|
392
392
|
}[];
|
393
393
|
extension?: {
|
394
394
|
id: string;
|
395
|
-
createdAt:
|
396
|
-
updatedAt:
|
397
|
-
deletedAt:
|
395
|
+
createdAt: Date;
|
396
|
+
updatedAt: Date;
|
397
|
+
deletedAt: Date | null;
|
398
398
|
userId: string | null;
|
399
399
|
sipServerUrl: string;
|
400
400
|
sipUserName: string;
|
@@ -409,36 +409,36 @@ export declare const authContract: {
|
|
409
409
|
address: string | null;
|
410
410
|
name: string;
|
411
411
|
email: string;
|
412
|
-
createdAt:
|
413
|
-
updatedAt:
|
414
|
-
deletedAt:
|
415
|
-
emailVerifiedAt:
|
412
|
+
createdAt: Date;
|
413
|
+
updatedAt: Date;
|
414
|
+
deletedAt: Date | null;
|
415
|
+
emailVerifiedAt: Date | null;
|
416
416
|
password: string;
|
417
417
|
phone: string | null;
|
418
418
|
notificationCount: number | null;
|
419
419
|
roles: {
|
420
420
|
id: string;
|
421
421
|
description: string | null;
|
422
|
-
createdAt:
|
423
|
-
updatedAt:
|
424
|
-
deletedAt:
|
422
|
+
createdAt: Date;
|
423
|
+
updatedAt: Date;
|
424
|
+
deletedAt: Date | null;
|
425
425
|
systemName: string;
|
426
426
|
displayName: string;
|
427
427
|
permissions: {
|
428
428
|
id: string;
|
429
429
|
description: string | null;
|
430
|
-
createdAt:
|
431
|
-
updatedAt:
|
432
|
-
deletedAt:
|
430
|
+
createdAt: Date;
|
431
|
+
updatedAt: Date;
|
432
|
+
deletedAt: Date | null;
|
433
433
|
systemName: string;
|
434
434
|
displayName: string;
|
435
435
|
}[];
|
436
436
|
}[];
|
437
437
|
extension?: {
|
438
438
|
id: string;
|
439
|
-
createdAt:
|
440
|
-
updatedAt:
|
441
|
-
deletedAt:
|
439
|
+
createdAt: Date;
|
440
|
+
updatedAt: Date;
|
441
|
+
deletedAt: Date | null;
|
442
442
|
userId: string | null;
|
443
443
|
sipServerUrl: string;
|
444
444
|
sipUserName: string;
|
@@ -454,36 +454,36 @@ export declare const authContract: {
|
|
454
454
|
address: string | null;
|
455
455
|
name: string;
|
456
456
|
email: string;
|
457
|
-
createdAt:
|
458
|
-
updatedAt:
|
459
|
-
deletedAt:
|
460
|
-
emailVerifiedAt:
|
457
|
+
createdAt: Date;
|
458
|
+
updatedAt: Date;
|
459
|
+
deletedAt: Date | null;
|
460
|
+
emailVerifiedAt: Date | null;
|
461
461
|
password: string;
|
462
462
|
phone: string | null;
|
463
463
|
notificationCount: number | null;
|
464
464
|
roles: {
|
465
465
|
id: string;
|
466
466
|
description: string | null;
|
467
|
-
createdAt:
|
468
|
-
updatedAt:
|
469
|
-
deletedAt:
|
467
|
+
createdAt: Date;
|
468
|
+
updatedAt: Date;
|
469
|
+
deletedAt: Date | null;
|
470
470
|
systemName: string;
|
471
471
|
displayName: string;
|
472
472
|
permissions: {
|
473
473
|
id: string;
|
474
474
|
description: string | null;
|
475
|
-
createdAt:
|
476
|
-
updatedAt:
|
477
|
-
deletedAt:
|
475
|
+
createdAt: Date;
|
476
|
+
updatedAt: Date;
|
477
|
+
deletedAt: Date | null;
|
478
478
|
systemName: string;
|
479
479
|
displayName: string;
|
480
480
|
}[];
|
481
481
|
}[];
|
482
482
|
extension?: {
|
483
483
|
id: string;
|
484
|
-
createdAt:
|
485
|
-
updatedAt:
|
486
|
-
deletedAt:
|
484
|
+
createdAt: Date;
|
485
|
+
updatedAt: Date;
|
486
|
+
deletedAt: Date | null;
|
487
487
|
userId: string | null;
|
488
488
|
sipServerUrl: string;
|
489
489
|
sipUserName: string;
|
@@ -17,19 +17,19 @@ export declare const DefaultHeaderSchema: z.ZodNullable<z.ZodOptional<z.ZodObjec
|
|
17
17
|
}>>>;
|
18
18
|
export declare const DefaultEntitySchema: z.ZodObject<{
|
19
19
|
id: z.ZodString;
|
20
|
-
createdAt: z.
|
21
|
-
updatedAt: z.
|
22
|
-
deletedAt: z.ZodNullable<z.
|
20
|
+
createdAt: z.ZodDate;
|
21
|
+
updatedAt: z.ZodDate;
|
22
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
24
24
|
id: string;
|
25
|
-
createdAt:
|
26
|
-
updatedAt:
|
27
|
-
deletedAt:
|
25
|
+
createdAt: Date;
|
26
|
+
updatedAt: Date;
|
27
|
+
deletedAt: Date | null;
|
28
28
|
}, {
|
29
29
|
id: string;
|
30
|
-
createdAt:
|
31
|
-
updatedAt:
|
32
|
-
deletedAt:
|
30
|
+
createdAt: Date;
|
31
|
+
updatedAt: Date;
|
32
|
+
deletedAt: Date | null;
|
33
33
|
}>;
|
34
34
|
export declare const DefaultQueryParamsSchema: z.ZodObject<{
|
35
35
|
page: z.ZodDefault<z.ZodNumber>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const CallLogSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
|
-
createdAt: z.
|
5
|
-
updatedAt: z.
|
6
|
-
deletedAt: z.ZodNullable<z.
|
4
|
+
createdAt: z.ZodDate;
|
5
|
+
updatedAt: z.ZodDate;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
7
|
callFrom: z.ZodString;
|
8
8
|
callTo: z.ZodString;
|
9
9
|
duration: z.ZodNumber;
|
@@ -21,9 +21,9 @@ export declare const CallLogSchema: z.ZodObject<{
|
|
21
21
|
type: string;
|
22
22
|
id: string;
|
23
23
|
status: string;
|
24
|
-
createdAt:
|
25
|
-
updatedAt:
|
26
|
-
deletedAt:
|
24
|
+
createdAt: Date;
|
25
|
+
updatedAt: Date;
|
26
|
+
deletedAt: Date | null;
|
27
27
|
extensionId: string;
|
28
28
|
uniqueCallId: string;
|
29
29
|
callFrom: string;
|
@@ -39,9 +39,9 @@ export declare const CallLogSchema: z.ZodObject<{
|
|
39
39
|
type: string;
|
40
40
|
id: string;
|
41
41
|
status: string;
|
42
|
-
createdAt:
|
43
|
-
updatedAt:
|
44
|
-
deletedAt:
|
42
|
+
createdAt: Date;
|
43
|
+
updatedAt: Date;
|
44
|
+
deletedAt: Date | null;
|
45
45
|
extensionId: string;
|
46
46
|
uniqueCallId: string;
|
47
47
|
callFrom: string;
|
@@ -28,9 +28,9 @@ export declare const categoryContract: {
|
|
28
28
|
requestId: z.ZodString;
|
29
29
|
category: z.ZodObject<{
|
30
30
|
id: z.ZodString;
|
31
|
-
createdAt: z.
|
32
|
-
updatedAt: z.
|
33
|
-
deletedAt: z.ZodNullable<z.
|
31
|
+
createdAt: z.ZodDate;
|
32
|
+
updatedAt: z.ZodDate;
|
33
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
34
34
|
value: z.ZodString;
|
35
35
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
36
36
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -86,9 +86,9 @@ export declare const categoryContract: {
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
87
87
|
id: string;
|
88
88
|
value: string;
|
89
|
-
createdAt:
|
90
|
-
updatedAt:
|
91
|
-
deletedAt:
|
89
|
+
createdAt: Date;
|
90
|
+
updatedAt: Date;
|
91
|
+
deletedAt: Date | null;
|
92
92
|
level: 2 | 1 | 3;
|
93
93
|
parentId: string | null;
|
94
94
|
childCategoryList: {
|
@@ -107,9 +107,9 @@ export declare const categoryContract: {
|
|
107
107
|
}, {
|
108
108
|
id: string;
|
109
109
|
value: string;
|
110
|
-
createdAt:
|
111
|
-
updatedAt:
|
112
|
-
deletedAt:
|
110
|
+
createdAt: Date;
|
111
|
+
updatedAt: Date;
|
112
|
+
deletedAt: Date | null;
|
113
113
|
level: 2 | 1 | 3;
|
114
114
|
parentId: string | null;
|
115
115
|
childCategoryList: {
|
@@ -131,9 +131,9 @@ export declare const categoryContract: {
|
|
131
131
|
category: {
|
132
132
|
id: string;
|
133
133
|
value: string;
|
134
|
-
createdAt:
|
135
|
-
updatedAt:
|
136
|
-
deletedAt:
|
134
|
+
createdAt: Date;
|
135
|
+
updatedAt: Date;
|
136
|
+
deletedAt: Date | null;
|
137
137
|
level: 2 | 1 | 3;
|
138
138
|
parentId: string | null;
|
139
139
|
childCategoryList: {
|
@@ -155,9 +155,9 @@ export declare const categoryContract: {
|
|
155
155
|
category: {
|
156
156
|
id: string;
|
157
157
|
value: string;
|
158
|
-
createdAt:
|
159
|
-
updatedAt:
|
160
|
-
deletedAt:
|
158
|
+
createdAt: Date;
|
159
|
+
updatedAt: Date;
|
160
|
+
deletedAt: Date | null;
|
161
161
|
level: 2 | 1 | 3;
|
162
162
|
parentId: string | null;
|
163
163
|
childCategoryList: {
|
@@ -225,9 +225,9 @@ export declare const categoryContract: {
|
|
225
225
|
data: z.ZodArray<z.ZodType<{
|
226
226
|
id: string;
|
227
227
|
value: string;
|
228
|
-
createdAt:
|
229
|
-
updatedAt:
|
230
|
-
deletedAt:
|
228
|
+
createdAt: Date;
|
229
|
+
updatedAt: Date;
|
230
|
+
deletedAt: Date | null;
|
231
231
|
level: 2 | 1 | 3;
|
232
232
|
parentId: string | null;
|
233
233
|
childCategoryList: {
|
@@ -246,9 +246,9 @@ export declare const categoryContract: {
|
|
246
246
|
}, z.ZodTypeDef, {
|
247
247
|
id: string;
|
248
248
|
value: string;
|
249
|
-
createdAt:
|
250
|
-
updatedAt:
|
251
|
-
deletedAt:
|
249
|
+
createdAt: Date;
|
250
|
+
updatedAt: Date;
|
251
|
+
deletedAt: Date | null;
|
252
252
|
level: 2 | 1 | 3;
|
253
253
|
parentId: string | null;
|
254
254
|
childCategoryList: {
|
@@ -269,9 +269,9 @@ export declare const categoryContract: {
|
|
269
269
|
data: {
|
270
270
|
id: string;
|
271
271
|
value: string;
|
272
|
-
createdAt:
|
273
|
-
updatedAt:
|
274
|
-
deletedAt:
|
272
|
+
createdAt: Date;
|
273
|
+
updatedAt: Date;
|
274
|
+
deletedAt: Date | null;
|
275
275
|
level: 2 | 1 | 3;
|
276
276
|
parentId: string | null;
|
277
277
|
childCategoryList: {
|
@@ -296,9 +296,9 @@ export declare const categoryContract: {
|
|
296
296
|
data: {
|
297
297
|
id: string;
|
298
298
|
value: string;
|
299
|
-
createdAt:
|
300
|
-
updatedAt:
|
301
|
-
deletedAt:
|
299
|
+
createdAt: Date;
|
300
|
+
updatedAt: Date;
|
301
|
+
deletedAt: Date | null;
|
302
302
|
level: 2 | 1 | 3;
|
303
303
|
parentId: string | null;
|
304
304
|
childCategoryList: {
|
@@ -370,9 +370,9 @@ export declare const categoryContract: {
|
|
370
370
|
requestId: z.ZodString;
|
371
371
|
category: z.ZodObject<{
|
372
372
|
id: z.ZodString;
|
373
|
-
createdAt: z.
|
374
|
-
updatedAt: z.
|
375
|
-
deletedAt: z.ZodNullable<z.
|
373
|
+
createdAt: z.ZodDate;
|
374
|
+
updatedAt: z.ZodDate;
|
375
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
376
376
|
value: z.ZodString;
|
377
377
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
378
378
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -428,9 +428,9 @@ export declare const categoryContract: {
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
429
429
|
id: string;
|
430
430
|
value: string;
|
431
|
-
createdAt:
|
432
|
-
updatedAt:
|
433
|
-
deletedAt:
|
431
|
+
createdAt: Date;
|
432
|
+
updatedAt: Date;
|
433
|
+
deletedAt: Date | null;
|
434
434
|
level: 2 | 1 | 3;
|
435
435
|
parentId: string | null;
|
436
436
|
childCategoryList: {
|
@@ -449,9 +449,9 @@ export declare const categoryContract: {
|
|
449
449
|
}, {
|
450
450
|
id: string;
|
451
451
|
value: string;
|
452
|
-
createdAt:
|
453
|
-
updatedAt:
|
454
|
-
deletedAt:
|
452
|
+
createdAt: Date;
|
453
|
+
updatedAt: Date;
|
454
|
+
deletedAt: Date | null;
|
455
455
|
level: 2 | 1 | 3;
|
456
456
|
parentId: string | null;
|
457
457
|
childCategoryList: {
|
@@ -473,9 +473,9 @@ export declare const categoryContract: {
|
|
473
473
|
category: {
|
474
474
|
id: string;
|
475
475
|
value: string;
|
476
|
-
createdAt:
|
477
|
-
updatedAt:
|
478
|
-
deletedAt:
|
476
|
+
createdAt: Date;
|
477
|
+
updatedAt: Date;
|
478
|
+
deletedAt: Date | null;
|
479
479
|
level: 2 | 1 | 3;
|
480
480
|
parentId: string | null;
|
481
481
|
childCategoryList: {
|
@@ -497,9 +497,9 @@ export declare const categoryContract: {
|
|
497
497
|
category: {
|
498
498
|
id: string;
|
499
499
|
value: string;
|
500
|
-
createdAt:
|
501
|
-
updatedAt:
|
502
|
-
deletedAt:
|
500
|
+
createdAt: Date;
|
501
|
+
updatedAt: Date;
|
502
|
+
deletedAt: Date | null;
|
503
503
|
level: 2 | 1 | 3;
|
504
504
|
parentId: string | null;
|
505
505
|
childCategoryList: {
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
2
2
|
export declare const CategoryLevelSchema: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
3
3
|
export declare const CategorySchema: z.ZodObject<{
|
4
4
|
id: z.ZodString;
|
5
|
-
createdAt: z.
|
6
|
-
updatedAt: z.
|
7
|
-
deletedAt: z.ZodNullable<z.
|
5
|
+
createdAt: z.ZodDate;
|
6
|
+
updatedAt: z.ZodDate;
|
7
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8
8
|
value: z.ZodString;
|
9
9
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
10
10
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -60,9 +60,9 @@ export declare const CategorySchema: z.ZodObject<{
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
61
61
|
id: string;
|
62
62
|
value: string;
|
63
|
-
createdAt:
|
64
|
-
updatedAt:
|
65
|
-
deletedAt:
|
63
|
+
createdAt: Date;
|
64
|
+
updatedAt: Date;
|
65
|
+
deletedAt: Date | null;
|
66
66
|
level: 2 | 1 | 3;
|
67
67
|
parentId: string | null;
|
68
68
|
childCategoryList: {
|
@@ -81,9 +81,9 @@ export declare const CategorySchema: z.ZodObject<{
|
|
81
81
|
}, {
|
82
82
|
id: string;
|
83
83
|
value: string;
|
84
|
-
createdAt:
|
85
|
-
updatedAt:
|
86
|
-
deletedAt:
|
84
|
+
createdAt: Date;
|
85
|
+
updatedAt: Date;
|
86
|
+
deletedAt: Date | null;
|
87
87
|
level: 2 | 1 | 3;
|
88
88
|
parentId: string | null;
|
89
89
|
childCategoryList: {
|