@kl1/contracts 1.2.68-uat → 1.2.70-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/dist/api-contracts/src/attribute/index.d.ts +7 -7
  2. package/dist/api-contracts/src/auth/index.d.ts +1 -1
  3. package/dist/api-contracts/src/aws/index.d.ts +2 -2
  4. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  5. package/dist/api-contracts/src/category/index.d.ts +7 -7
  6. package/dist/api-contracts/src/channel/index.d.ts +799 -2
  7. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/channel/validation.d.ts +10 -0
  9. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/index.d.ts +1800 -1800
  11. package/dist/api-contracts/src/chat/schema.d.ts +400 -400
  12. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  13. package/dist/api-contracts/src/chat/validation.d.ts +321 -321
  14. package/dist/api-contracts/src/comment/index.d.ts +364 -364
  15. package/dist/api-contracts/src/comment/schema.d.ts +88 -88
  16. package/dist/api-contracts/src/company/index.d.ts +5 -5
  17. package/dist/api-contracts/src/contract.d.ts +6799 -5207
  18. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  19. package/dist/api-contracts/src/cx-log/index.d.ts +64 -64
  20. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/cx-log/schema.d.ts +80 -80
  22. package/dist/api-contracts/src/dashboard/index.d.ts +26 -26
  23. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
  24. package/dist/api-contracts/src/facebook-feed/index.d.ts +220 -220
  25. package/dist/api-contracts/src/instagram/index.d.ts +220 -220
  26. package/dist/api-contracts/src/line/index.d.ts +220 -220
  27. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  28. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  29. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  30. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  31. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  32. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  33. package/dist/api-contracts/src/messenger/index.d.ts +220 -220
  34. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  35. package/dist/api-contracts/src/role/index.d.ts +5 -5
  36. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  37. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  38. package/dist/api-contracts/src/telegram/index.d.ts +220 -220
  39. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +2 -2
  40. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  41. package/dist/api-contracts/src/ticket/index.d.ts +672 -672
  42. package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
  43. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  44. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  45. package/dist/api-contracts/src/user/index.d.ts +6 -6
  46. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +2 -2
  47. package/dist/api-contracts/src/viber/index.d.ts +220 -220
  48. package/dist/api-contracts/src/webchat/index.d.ts +220 -220
  49. package/dist/api-contracts/src/whatsapp/index.d.ts +220 -220
  50. package/dist/api-contracts/src/widget/index.d.ts +9 -9
  51. package/dist/api-contracts/src/workflow-rule/index.d.ts +260 -260
  52. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  53. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  54. package/dist/index.js +124 -93
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +124 -93
  57. package/dist/index.mjs.map +1 -1
  58. package/package.json +1 -1
@@ -2147,28 +2147,6 @@ export declare const TicketSchema: z.ZodObject<{
2147
2147
  createdAt: Date;
2148
2148
  updatedAt: Date;
2149
2149
  deletedAt: Date | null;
2150
- categories: {
2151
- id: string;
2152
- value: string;
2153
- createdAt: Date;
2154
- updatedAt: Date;
2155
- deletedAt: Date | null;
2156
- level: 2 | 1 | 3;
2157
- parentId: string | null;
2158
- childCategoryList: {
2159
- id: string;
2160
- value: string;
2161
- level: 2 | 1 | 3;
2162
- parentId: string | null;
2163
- childCategoryList: {
2164
- id: string;
2165
- value: string;
2166
- level: 2 | 1 | 3;
2167
- parentId: string | null;
2168
- childCategoryList: any[];
2169
- }[];
2170
- }[];
2171
- }[];
2172
2150
  contact: {
2173
2151
  name: string;
2174
2152
  id: string;
@@ -2385,6 +2363,28 @@ export declare const TicketSchema: z.ZodObject<{
2385
2363
  };
2386
2364
  }[];
2387
2365
  contactId: string;
2366
+ categories: {
2367
+ id: string;
2368
+ value: string;
2369
+ createdAt: Date;
2370
+ updatedAt: Date;
2371
+ deletedAt: Date | null;
2372
+ level: 2 | 1 | 3;
2373
+ parentId: string | null;
2374
+ childCategoryList: {
2375
+ id: string;
2376
+ value: string;
2377
+ level: 2 | 1 | 3;
2378
+ parentId: string | null;
2379
+ childCategoryList: {
2380
+ id: string;
2381
+ value: string;
2382
+ level: 2 | 1 | 3;
2383
+ parentId: string | null;
2384
+ childCategoryList: any[];
2385
+ }[];
2386
+ }[];
2387
+ }[];
2388
2388
  assigneeId: string;
2389
2389
  creatorId: string;
2390
2390
  reasonToAssign: string | null;
@@ -2488,28 +2488,6 @@ export declare const TicketSchema: z.ZodObject<{
2488
2488
  createdAt: Date;
2489
2489
  updatedAt: Date;
2490
2490
  deletedAt: Date | null;
2491
- categories: {
2492
- id: string;
2493
- value: string;
2494
- createdAt: Date;
2495
- updatedAt: Date;
2496
- deletedAt: Date | null;
2497
- level: 2 | 1 | 3;
2498
- parentId: string | null;
2499
- childCategoryList: {
2500
- id: string;
2501
- value: string;
2502
- level: 2 | 1 | 3;
2503
- parentId: string | null;
2504
- childCategoryList: {
2505
- id: string;
2506
- value: string;
2507
- level: 2 | 1 | 3;
2508
- parentId: string | null;
2509
- childCategoryList: any[];
2510
- }[];
2511
- }[];
2512
- }[];
2513
2491
  contact: {
2514
2492
  name: string;
2515
2493
  id: string;
@@ -2726,6 +2704,28 @@ export declare const TicketSchema: z.ZodObject<{
2726
2704
  };
2727
2705
  }[];
2728
2706
  contactId: string;
2707
+ categories: {
2708
+ id: string;
2709
+ value: string;
2710
+ createdAt: Date;
2711
+ updatedAt: Date;
2712
+ deletedAt: Date | null;
2713
+ level: 2 | 1 | 3;
2714
+ parentId: string | null;
2715
+ childCategoryList: {
2716
+ id: string;
2717
+ value: string;
2718
+ level: 2 | 1 | 3;
2719
+ parentId: string | null;
2720
+ childCategoryList: {
2721
+ id: string;
2722
+ value: string;
2723
+ level: 2 | 1 | 3;
2724
+ parentId: string | null;
2725
+ childCategoryList: any[];
2726
+ }[];
2727
+ }[];
2728
+ }[];
2729
2729
  assigneeId: string;
2730
2730
  creatorId: string;
2731
2731
  reasonToAssign: string | null;
@@ -107,11 +107,6 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
107
107
  status: {
108
108
  [x: string]: any;
109
109
  };
110
- categories: {
111
- value: string[];
112
- isRequired: boolean;
113
- attributeId: string;
114
- };
115
110
  contact: {
116
111
  [x: string]: any;
117
112
  };
@@ -121,6 +116,11 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
121
116
  tags: {
122
117
  [x: string]: any;
123
118
  };
119
+ categories: {
120
+ value: string[];
121
+ isRequired: boolean;
122
+ attributeId: string;
123
+ };
124
124
  assignee: {
125
125
  value: string;
126
126
  isRequired: boolean;
@@ -148,11 +148,6 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
148
148
  status: {
149
149
  [x: string]: any;
150
150
  };
151
- categories: {
152
- value: string[];
153
- isRequired: boolean;
154
- attributeId: string;
155
- };
156
151
  contact: {
157
152
  [x: string]: any;
158
153
  };
@@ -162,6 +157,11 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
162
157
  tags: {
163
158
  [x: string]: any;
164
159
  };
160
+ categories: {
161
+ value: string[];
162
+ isRequired: boolean;
163
+ attributeId: string;
164
+ };
165
165
  assignee: {
166
166
  value: string;
167
167
  isRequired: boolean;
@@ -269,11 +269,6 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
269
269
  status: {
270
270
  [x: string]: any;
271
271
  };
272
- categories: {
273
- value: string[];
274
- isRequired: boolean;
275
- attributeId: string;
276
- };
277
272
  contact: {
278
273
  [x: string]: any;
279
274
  };
@@ -283,6 +278,11 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
283
278
  tags: {
284
279
  [x: string]: any;
285
280
  };
281
+ categories: {
282
+ value: string[];
283
+ isRequired: boolean;
284
+ attributeId: string;
285
+ };
286
286
  assignee: {
287
287
  value: string;
288
288
  isRequired: boolean;
@@ -310,11 +310,6 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
310
310
  status: {
311
311
  [x: string]: any;
312
312
  };
313
- categories: {
314
- value: string[];
315
- isRequired: boolean;
316
- attributeId: string;
317
- };
318
313
  contact: {
319
314
  [x: string]: any;
320
315
  };
@@ -324,6 +319,11 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
324
319
  tags: {
325
320
  [x: string]: any;
326
321
  };
322
+ categories: {
323
+ value: string[];
324
+ isRequired: boolean;
325
+ attributeId: string;
326
+ };
327
327
  assignee: {
328
328
  value: string;
329
329
  isRequired: boolean;
@@ -83,7 +83,7 @@ export declare const uploadContract: {
83
83
  error?: any;
84
84
  }>;
85
85
  };
86
- path: "/upload/:id/rename";
86
+ path: "ms/upload/:id/rename";
87
87
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
88
88
  'x-tenant': z.ZodString;
89
89
  'x-service-token': z.ZodString;
@@ -175,7 +175,7 @@ export declare const uploadContract: {
175
175
  error?: any;
176
176
  }>;
177
177
  };
178
- path: "/upload/:id";
178
+ path: "ms/upload/:id";
179
179
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
180
180
  'x-tenant': z.ZodString;
181
181
  'x-service-token': z.ZodString;
@@ -382,7 +382,7 @@ export declare const userContract: {
382
382
  error?: any;
383
383
  }>;
384
384
  };
385
- path: "user";
385
+ path: "ms/user";
386
386
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
387
387
  'x-tenant': z.ZodString;
388
388
  'x-service-token': z.ZodString;
@@ -642,7 +642,7 @@ export declare const userContract: {
642
642
  error?: any;
643
643
  }>;
644
644
  };
645
- path: "user";
645
+ path: "ms/user";
646
646
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
647
647
  'x-tenant': z.ZodString;
648
648
  'x-service-token': z.ZodString;
@@ -893,7 +893,7 @@ export declare const userContract: {
893
893
  error?: any;
894
894
  }>;
895
895
  };
896
- path: "user/:id";
896
+ path: "ms/user/:id";
897
897
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
898
898
  'x-tenant': z.ZodString;
899
899
  'x-service-token': z.ZodString;
@@ -1297,7 +1297,7 @@ export declare const userContract: {
1297
1297
  error?: any;
1298
1298
  }>;
1299
1299
  };
1300
- path: "user/:id";
1300
+ path: "ms/user/:id";
1301
1301
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1302
1302
  'x-tenant': z.ZodString;
1303
1303
  'x-service-token': z.ZodString;
@@ -1680,7 +1680,7 @@ export declare const userContract: {
1680
1680
  error?: any;
1681
1681
  }>;
1682
1682
  };
1683
- path: "user/profile/:id";
1683
+ path: "ms/user/profile/:id";
1684
1684
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1685
1685
  'x-tenant': z.ZodString;
1686
1686
  'x-service-token': z.ZodString;
@@ -1751,7 +1751,7 @@ export declare const userContract: {
1751
1751
  error?: any;
1752
1752
  }>;
1753
1753
  };
1754
- path: "user/:id";
1754
+ path: "ms/user/:id";
1755
1755
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1756
1756
  'x-tenant': z.ZodString;
1757
1757
  'x-service-token': z.ZodString;
@@ -365,7 +365,7 @@ export declare const userPresenceStatusLogContract: {
365
365
  error?: any;
366
366
  }>;
367
367
  };
368
- path: "user-presence-status-log";
368
+ path: "ms/user-presence-status-log";
369
369
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
370
370
  'x-tenant': z.ZodString;
371
371
  'x-service-token': z.ZodString;
@@ -422,7 +422,7 @@ export declare const userPresenceStatusLogContract: {
422
422
  error?: any;
423
423
  }>;
424
424
  };
425
- path: "user-presence-status-log/export";
425
+ path: "ms/user-presence-status-log/export";
426
426
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
427
427
  'x-tenant': z.ZodString;
428
428
  'x-service-token': z.ZodString;