@kl1/contracts 1.0.78 → 1.0.79

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 +1745 -1392
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1744 -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 +7108 -3826
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +3391 -1087
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +1945 -304
  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 +25031 -10471
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +948 -205
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +920 -263
  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 +1912 -271
  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 +2520 -520
  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 +2376 -404
  54. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  55. package/dist/src/telephony-cdr/schema.d.ts +839 -63
  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 +3614 -1248
  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
@@ -2086,42 +2086,6 @@ export declare const TicketSchema: z.ZodObject<{
2086
2086
  }[];
2087
2087
  }[];
2088
2088
  }[];
2089
- customFields: {
2090
- id: string;
2091
- createdAt: Date;
2092
- updatedAt: Date;
2093
- deletedAt: Date | null;
2094
- attribute: {
2095
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2096
- id: string;
2097
- position: number;
2098
- createdAt: Date;
2099
- updatedAt: Date;
2100
- deletedAt: Date | null;
2101
- systemName: string;
2102
- displayName: string;
2103
- isDefault: boolean;
2104
- isArchived: boolean;
2105
- isRequired: boolean;
2106
- isUnique: boolean;
2107
- };
2108
- textValue: string | null;
2109
- booleanValue: boolean | null;
2110
- numberValue: number | null;
2111
- dateValue: Date | null;
2112
- uploads: {
2113
- id: string;
2114
- createdAt: Date;
2115
- updatedAt: Date;
2116
- deletedAt: Date | null;
2117
- fileName: string;
2118
- fileKey: string;
2119
- bucketName: string;
2120
- fileSize: number;
2121
- fileUrl: string | null;
2122
- status?: string | undefined;
2123
- }[];
2124
- }[];
2125
2089
  contact: {
2126
2090
  id: string;
2127
2091
  channel: string | null;
@@ -2219,6 +2183,42 @@ export declare const TicketSchema: z.ZodObject<{
2219
2183
  };
2220
2184
  }[] | undefined;
2221
2185
  };
2186
+ customFields: {
2187
+ id: string;
2188
+ createdAt: Date;
2189
+ updatedAt: Date;
2190
+ deletedAt: Date | null;
2191
+ attribute: {
2192
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2193
+ id: string;
2194
+ position: number;
2195
+ createdAt: Date;
2196
+ updatedAt: Date;
2197
+ deletedAt: Date | null;
2198
+ systemName: string;
2199
+ displayName: string;
2200
+ isDefault: boolean;
2201
+ isArchived: boolean;
2202
+ isRequired: boolean;
2203
+ isUnique: boolean;
2204
+ };
2205
+ textValue: string | null;
2206
+ booleanValue: boolean | null;
2207
+ numberValue: number | null;
2208
+ dateValue: Date | null;
2209
+ uploads: {
2210
+ id: string;
2211
+ createdAt: Date;
2212
+ updatedAt: Date;
2213
+ deletedAt: Date | null;
2214
+ fileName: string;
2215
+ fileKey: string;
2216
+ bucketName: string;
2217
+ fileSize: number;
2218
+ fileUrl: string | null;
2219
+ status?: string | undefined;
2220
+ }[];
2221
+ }[];
2222
2222
  tags: {
2223
2223
  id: string;
2224
2224
  name: string;
@@ -2412,42 +2412,6 @@ export declare const TicketSchema: z.ZodObject<{
2412
2412
  }[];
2413
2413
  }[];
2414
2414
  }[];
2415
- customFields: {
2416
- id: string;
2417
- createdAt: Date;
2418
- updatedAt: Date;
2419
- deletedAt: Date | null;
2420
- attribute: {
2421
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2422
- id: string;
2423
- position: number;
2424
- createdAt: Date;
2425
- updatedAt: Date;
2426
- deletedAt: Date | null;
2427
- systemName: string;
2428
- displayName: string;
2429
- isDefault: boolean;
2430
- isArchived: boolean;
2431
- isRequired: boolean;
2432
- isUnique: boolean;
2433
- };
2434
- textValue: string | null;
2435
- booleanValue: boolean | null;
2436
- numberValue: number | null;
2437
- dateValue: Date | null;
2438
- uploads: {
2439
- id: string;
2440
- createdAt: Date;
2441
- updatedAt: Date;
2442
- deletedAt: Date | null;
2443
- fileName: string;
2444
- fileKey: string;
2445
- bucketName: string;
2446
- fileSize: number;
2447
- fileUrl: string | null;
2448
- status?: string | undefined;
2449
- }[];
2450
- }[];
2451
2415
  contact: {
2452
2416
  id: string;
2453
2417
  channel: string | null;
@@ -2545,6 +2509,42 @@ export declare const TicketSchema: z.ZodObject<{
2545
2509
  };
2546
2510
  }[] | undefined;
2547
2511
  };
2512
+ customFields: {
2513
+ id: string;
2514
+ createdAt: Date;
2515
+ updatedAt: Date;
2516
+ deletedAt: Date | null;
2517
+ attribute: {
2518
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2519
+ id: string;
2520
+ position: number;
2521
+ createdAt: Date;
2522
+ updatedAt: Date;
2523
+ deletedAt: Date | null;
2524
+ systemName: string;
2525
+ displayName: string;
2526
+ isDefault: boolean;
2527
+ isArchived: boolean;
2528
+ isRequired: boolean;
2529
+ isUnique: boolean;
2530
+ };
2531
+ textValue: string | null;
2532
+ booleanValue: boolean | null;
2533
+ numberValue: number | null;
2534
+ dateValue: Date | null;
2535
+ uploads: {
2536
+ id: string;
2537
+ createdAt: Date;
2538
+ updatedAt: Date;
2539
+ deletedAt: Date | null;
2540
+ fileName: string;
2541
+ fileKey: string;
2542
+ bucketName: string;
2543
+ fileSize: number;
2544
+ fileUrl: string | null;
2545
+ status?: string | undefined;
2546
+ }[];
2547
+ }[];
2548
2548
  tags: {
2549
2549
  id: string;
2550
2550
  name: string;
@@ -112,12 +112,12 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
112
112
  isRequired: boolean;
113
113
  attributeId: string;
114
114
  };
115
- customFields: {
116
- [x: string]: any;
117
- }[];
118
115
  contact: {
119
116
  [x: string]: any;
120
117
  };
118
+ customFields: {
119
+ [x: string]: any;
120
+ }[];
121
121
  tags: {
122
122
  [x: string]: any;
123
123
  };
@@ -153,12 +153,12 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
153
153
  isRequired: boolean;
154
154
  attributeId: string;
155
155
  };
156
- customFields: {
157
- [x: string]: any;
158
- }[];
159
156
  contact: {
160
157
  [x: string]: any;
161
158
  };
159
+ customFields: {
160
+ [x: string]: any;
161
+ }[];
162
162
  tags: {
163
163
  [x: string]: any;
164
164
  };
@@ -274,12 +274,12 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
274
274
  isRequired: boolean;
275
275
  attributeId: string;
276
276
  };
277
- customFields: {
278
- [x: string]: any;
279
- }[];
280
277
  contact: {
281
278
  [x: string]: any;
282
279
  };
280
+ customFields: {
281
+ [x: string]: any;
282
+ }[];
283
283
  tags: {
284
284
  [x: string]: any;
285
285
  };
@@ -315,12 +315,12 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
315
315
  isRequired: boolean;
316
316
  attributeId: string;
317
317
  };
318
- customFields: {
319
- [x: string]: any;
320
- }[];
321
318
  contact: {
322
319
  [x: string]: any;
323
320
  };
321
+ customFields: {
322
+ [x: string]: any;
323
+ }[];
324
324
  tags: {
325
325
  [x: string]: any;
326
326
  };