@kl1/contracts 1.1.21 → 1.1.22-uat
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 +435 -195
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +434 -195
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +4841 -2215
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +10 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +6 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +71 -1
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1969 -528
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +58 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +1767 -453
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +316 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +212 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/package.json +1 -1
@@ -2222,6 +2222,150 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2222
2222
|
};
|
2223
2223
|
}>;
|
2224
2224
|
unReadMessageCount: z.ZodNumber;
|
2225
|
+
cxlog: z.ZodObject<{
|
2226
|
+
id: z.ZodString;
|
2227
|
+
createdAt: z.ZodDate;
|
2228
|
+
updatedAt: z.ZodDate;
|
2229
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2230
|
+
caseId: z.ZodNumber;
|
2231
|
+
entityId: z.ZodString;
|
2232
|
+
entityName: z.ZodString;
|
2233
|
+
contactId: z.ZodNullable<z.ZodString>;
|
2234
|
+
channel: z.ZodNullable<z.ZodString>;
|
2235
|
+
queueId: z.ZodNullable<z.ZodString>;
|
2236
|
+
agentId: z.ZodNullable<z.ZodString>;
|
2237
|
+
direction: z.ZodNullable<z.ZodString>;
|
2238
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
2239
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
2240
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
2241
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2242
|
+
id: z.ZodString;
|
2243
|
+
createdAt: z.ZodDate;
|
2244
|
+
updatedAt: z.ZodDate;
|
2245
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2246
|
+
note: z.ZodNullable<z.ZodString>;
|
2247
|
+
disposition: z.ZodNullable<z.ZodString>;
|
2248
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
2249
|
+
callTo: z.ZodNullable<z.ZodString>;
|
2250
|
+
tags: z.ZodArray<z.ZodObject<{
|
2251
|
+
id: z.ZodString;
|
2252
|
+
createdAt: z.ZodDate;
|
2253
|
+
updatedAt: z.ZodDate;
|
2254
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2255
|
+
name: z.ZodString;
|
2256
|
+
}, "strip", z.ZodTypeAny, {
|
2257
|
+
id: string;
|
2258
|
+
name: string;
|
2259
|
+
createdAt: Date;
|
2260
|
+
updatedAt: Date;
|
2261
|
+
deletedAt: Date | null;
|
2262
|
+
}, {
|
2263
|
+
id: string;
|
2264
|
+
name: string;
|
2265
|
+
createdAt: Date;
|
2266
|
+
updatedAt: Date;
|
2267
|
+
deletedAt: Date | null;
|
2268
|
+
}>, "many">;
|
2269
|
+
}, "strip", z.ZodTypeAny, {
|
2270
|
+
id: string;
|
2271
|
+
disposition: string | null;
|
2272
|
+
createdAt: Date;
|
2273
|
+
updatedAt: Date;
|
2274
|
+
deletedAt: Date | null;
|
2275
|
+
tags: {
|
2276
|
+
id: string;
|
2277
|
+
name: string;
|
2278
|
+
createdAt: Date;
|
2279
|
+
updatedAt: Date;
|
2280
|
+
deletedAt: Date | null;
|
2281
|
+
}[];
|
2282
|
+
callFrom: string | null;
|
2283
|
+
callTo: string | null;
|
2284
|
+
note: string | null;
|
2285
|
+
}, {
|
2286
|
+
id: string;
|
2287
|
+
disposition: string | null;
|
2288
|
+
createdAt: Date;
|
2289
|
+
updatedAt: Date;
|
2290
|
+
deletedAt: Date | null;
|
2291
|
+
tags: {
|
2292
|
+
id: string;
|
2293
|
+
name: string;
|
2294
|
+
createdAt: Date;
|
2295
|
+
updatedAt: Date;
|
2296
|
+
deletedAt: Date | null;
|
2297
|
+
}[];
|
2298
|
+
callFrom: string | null;
|
2299
|
+
callTo: string | null;
|
2300
|
+
note: string | null;
|
2301
|
+
}>>;
|
2302
|
+
}, "strip", z.ZodTypeAny, {
|
2303
|
+
id: string;
|
2304
|
+
channel: string | null;
|
2305
|
+
direction: string | null;
|
2306
|
+
createdAt: Date;
|
2307
|
+
updatedAt: Date;
|
2308
|
+
deletedAt: Date | null;
|
2309
|
+
entityId: string;
|
2310
|
+
queueId: string | null;
|
2311
|
+
contactId: string | null;
|
2312
|
+
caseId: number;
|
2313
|
+
entityName: string;
|
2314
|
+
agentId: string | null;
|
2315
|
+
startedDate: Date | null;
|
2316
|
+
handledTime: number | null;
|
2317
|
+
firstResponseTime: number | null;
|
2318
|
+
wrapUpForm: {
|
2319
|
+
id: string;
|
2320
|
+
disposition: string | null;
|
2321
|
+
createdAt: Date;
|
2322
|
+
updatedAt: Date;
|
2323
|
+
deletedAt: Date | null;
|
2324
|
+
tags: {
|
2325
|
+
id: string;
|
2326
|
+
name: string;
|
2327
|
+
createdAt: Date;
|
2328
|
+
updatedAt: Date;
|
2329
|
+
deletedAt: Date | null;
|
2330
|
+
}[];
|
2331
|
+
callFrom: string | null;
|
2332
|
+
callTo: string | null;
|
2333
|
+
note: string | null;
|
2334
|
+
} | null;
|
2335
|
+
}, {
|
2336
|
+
id: string;
|
2337
|
+
channel: string | null;
|
2338
|
+
direction: string | null;
|
2339
|
+
createdAt: Date;
|
2340
|
+
updatedAt: Date;
|
2341
|
+
deletedAt: Date | null;
|
2342
|
+
entityId: string;
|
2343
|
+
queueId: string | null;
|
2344
|
+
contactId: string | null;
|
2345
|
+
caseId: number;
|
2346
|
+
entityName: string;
|
2347
|
+
agentId: string | null;
|
2348
|
+
startedDate: Date | null;
|
2349
|
+
handledTime: number | null;
|
2350
|
+
firstResponseTime: number | null;
|
2351
|
+
wrapUpForm: {
|
2352
|
+
id: string;
|
2353
|
+
disposition: string | null;
|
2354
|
+
createdAt: Date;
|
2355
|
+
updatedAt: Date;
|
2356
|
+
deletedAt: Date | null;
|
2357
|
+
tags: {
|
2358
|
+
id: string;
|
2359
|
+
name: string;
|
2360
|
+
createdAt: Date;
|
2361
|
+
updatedAt: Date;
|
2362
|
+
deletedAt: Date | null;
|
2363
|
+
}[];
|
2364
|
+
callFrom: string | null;
|
2365
|
+
callTo: string | null;
|
2366
|
+
note: string | null;
|
2367
|
+
} | null;
|
2368
|
+
}>;
|
2225
2369
|
}, "strip", z.ZodTypeAny, {
|
2226
2370
|
id: string;
|
2227
2371
|
direction: string;
|
@@ -2324,6 +2468,40 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2324
2468
|
notificationCount: number | null;
|
2325
2469
|
};
|
2326
2470
|
resolved: boolean;
|
2471
|
+
cxlog: {
|
2472
|
+
id: string;
|
2473
|
+
channel: string | null;
|
2474
|
+
direction: string | null;
|
2475
|
+
createdAt: Date;
|
2476
|
+
updatedAt: Date;
|
2477
|
+
deletedAt: Date | null;
|
2478
|
+
entityId: string;
|
2479
|
+
queueId: string | null;
|
2480
|
+
contactId: string | null;
|
2481
|
+
caseId: number;
|
2482
|
+
entityName: string;
|
2483
|
+
agentId: string | null;
|
2484
|
+
startedDate: Date | null;
|
2485
|
+
handledTime: number | null;
|
2486
|
+
firstResponseTime: number | null;
|
2487
|
+
wrapUpForm: {
|
2488
|
+
id: string;
|
2489
|
+
disposition: string | null;
|
2490
|
+
createdAt: Date;
|
2491
|
+
updatedAt: Date;
|
2492
|
+
deletedAt: Date | null;
|
2493
|
+
tags: {
|
2494
|
+
id: string;
|
2495
|
+
name: string;
|
2496
|
+
createdAt: Date;
|
2497
|
+
updatedAt: Date;
|
2498
|
+
deletedAt: Date | null;
|
2499
|
+
}[];
|
2500
|
+
callFrom: string | null;
|
2501
|
+
callTo: string | null;
|
2502
|
+
note: string | null;
|
2503
|
+
} | null;
|
2504
|
+
};
|
2327
2505
|
assigneeId: string | null;
|
2328
2506
|
subject: string;
|
2329
2507
|
from: {
|
@@ -2734,6 +2912,40 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2734
2912
|
notificationCount: number | null;
|
2735
2913
|
};
|
2736
2914
|
resolved: boolean;
|
2915
|
+
cxlog: {
|
2916
|
+
id: string;
|
2917
|
+
channel: string | null;
|
2918
|
+
direction: string | null;
|
2919
|
+
createdAt: Date;
|
2920
|
+
updatedAt: Date;
|
2921
|
+
deletedAt: Date | null;
|
2922
|
+
entityId: string;
|
2923
|
+
queueId: string | null;
|
2924
|
+
contactId: string | null;
|
2925
|
+
caseId: number;
|
2926
|
+
entityName: string;
|
2927
|
+
agentId: string | null;
|
2928
|
+
startedDate: Date | null;
|
2929
|
+
handledTime: number | null;
|
2930
|
+
firstResponseTime: number | null;
|
2931
|
+
wrapUpForm: {
|
2932
|
+
id: string;
|
2933
|
+
disposition: string | null;
|
2934
|
+
createdAt: Date;
|
2935
|
+
updatedAt: Date;
|
2936
|
+
deletedAt: Date | null;
|
2937
|
+
tags: {
|
2938
|
+
id: string;
|
2939
|
+
name: string;
|
2940
|
+
createdAt: Date;
|
2941
|
+
updatedAt: Date;
|
2942
|
+
deletedAt: Date | null;
|
2943
|
+
}[];
|
2944
|
+
callFrom: string | null;
|
2945
|
+
callTo: string | null;
|
2946
|
+
note: string | null;
|
2947
|
+
} | null;
|
2948
|
+
};
|
2737
2949
|
assigneeId: string | null;
|
2738
2950
|
subject: string;
|
2739
2951
|
from: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"room.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/room.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"room.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/room.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC;AAaH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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