@kl1/contracts 1.3.30 → 1.3.32
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/api-contracts/src/activity-log/index.d.ts +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +7 -7
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +2 -2
- package/dist/api-contracts/src/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +7 -7
- package/dist/api-contracts/src/channel/index.d.ts +27 -27
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +1821 -1821
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +400 -400
- package/dist/api-contracts/src/chat/validation.d.ts +321 -321
- package/dist/api-contracts/src/comment/index.d.ts +364 -364
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- package/dist/api-contracts/src/contract.d.ts +33503 -33503
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +64 -64
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +80 -80
- package/dist/api-contracts/src/dashboard/index.d.ts +19 -19
- package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +220 -220
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/instagram/index.d.ts +220 -220
- package/dist/api-contracts/src/line/index.d.ts +220 -220
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
- package/dist/api-contracts/src/messenger/index.d.ts +220 -220
- package/dist/api-contracts/src/notification/index.d.ts +4 -4
- package/dist/api-contracts/src/permission/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +5 -5
- package/dist/api-contracts/src/role/index.d.ts +5 -5
- package/dist/api-contracts/src/snippet/index.d.ts +8 -8
- package/dist/api-contracts/src/subscription/index.d.ts +5 -5
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +220 -220
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +3 -3
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +672 -672
- package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
- package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
- package/dist/api-contracts/src/upload/index.d.ts +2 -2
- package/dist/api-contracts/src/user/index.d.ts +7 -7
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +2 -2
- package/dist/api-contracts/src/viber/index.d.ts +220 -220
- package/dist/api-contracts/src/webchat/index.d.ts +220 -220
- package/dist/api-contracts/src/whatsapp/index.d.ts +220 -220
- package/dist/api-contracts/src/workflow-rule/index.d.ts +260 -260
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
- package/dist/index.js +187 -169
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +187 -169
- package/dist/index.mjs.map +1 -1
- 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;
|
|
@@ -383,7 +383,7 @@ export declare const userContract: {
|
|
|
383
383
|
error?: any;
|
|
384
384
|
}>;
|
|
385
385
|
};
|
|
386
|
-
path: "user";
|
|
386
|
+
path: "ms/user";
|
|
387
387
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
388
388
|
'x-tenant': z.ZodString;
|
|
389
389
|
'x-service-token': z.ZodString;
|
|
@@ -512,7 +512,7 @@ export declare const userContract: {
|
|
|
512
512
|
error?: any;
|
|
513
513
|
}>;
|
|
514
514
|
};
|
|
515
|
-
path: "user/essential";
|
|
515
|
+
path: "ms/user/essential";
|
|
516
516
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
517
517
|
'x-tenant': z.ZodString;
|
|
518
518
|
'x-service-token': z.ZodString;
|
|
@@ -772,7 +772,7 @@ export declare const userContract: {
|
|
|
772
772
|
error?: any;
|
|
773
773
|
}>;
|
|
774
774
|
};
|
|
775
|
-
path: "user";
|
|
775
|
+
path: "ms/user";
|
|
776
776
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
777
777
|
'x-tenant': z.ZodString;
|
|
778
778
|
'x-service-token': z.ZodString;
|
|
@@ -1023,7 +1023,7 @@ export declare const userContract: {
|
|
|
1023
1023
|
error?: any;
|
|
1024
1024
|
}>;
|
|
1025
1025
|
};
|
|
1026
|
-
path: "user/:id";
|
|
1026
|
+
path: "ms/user/:id";
|
|
1027
1027
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1028
1028
|
'x-tenant': z.ZodString;
|
|
1029
1029
|
'x-service-token': z.ZodString;
|
|
@@ -1427,7 +1427,7 @@ export declare const userContract: {
|
|
|
1427
1427
|
error?: any;
|
|
1428
1428
|
}>;
|
|
1429
1429
|
};
|
|
1430
|
-
path: "user/:id";
|
|
1430
|
+
path: "ms/user/:id";
|
|
1431
1431
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1432
1432
|
'x-tenant': z.ZodString;
|
|
1433
1433
|
'x-service-token': z.ZodString;
|
|
@@ -1810,7 +1810,7 @@ export declare const userContract: {
|
|
|
1810
1810
|
error?: any;
|
|
1811
1811
|
}>;
|
|
1812
1812
|
};
|
|
1813
|
-
path: "user/profile/:id";
|
|
1813
|
+
path: "ms/user/profile/:id";
|
|
1814
1814
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1815
1815
|
'x-tenant': z.ZodString;
|
|
1816
1816
|
'x-service-token': z.ZodString;
|
|
@@ -1881,7 +1881,7 @@ export declare const userContract: {
|
|
|
1881
1881
|
error?: any;
|
|
1882
1882
|
}>;
|
|
1883
1883
|
};
|
|
1884
|
-
path: "user/:id";
|
|
1884
|
+
path: "ms/user/:id";
|
|
1885
1885
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1886
1886
|
'x-tenant': z.ZodString;
|
|
1887
1887
|
'x-service-token': z.ZodString;
|
|
@@ -341,7 +341,7 @@ export declare const userPresenceStatusLogContract: {
|
|
|
341
341
|
error?: any;
|
|
342
342
|
}>;
|
|
343
343
|
};
|
|
344
|
-
path: "user-presence-status-log";
|
|
344
|
+
path: "ms/user-presence-status-log";
|
|
345
345
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
346
346
|
'x-tenant': z.ZodString;
|
|
347
347
|
'x-service-token': z.ZodString;
|
|
@@ -398,7 +398,7 @@ export declare const userPresenceStatusLogContract: {
|
|
|
398
398
|
error?: any;
|
|
399
399
|
}>;
|
|
400
400
|
};
|
|
401
|
-
path: "user-presence-status-log/export";
|
|
401
|
+
path: "ms/user-presence-status-log/export";
|
|
402
402
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
403
403
|
'x-tenant': z.ZodString;
|
|
404
404
|
'x-service-token': z.ZodString;
|