@kl1/contracts 1.3.7 → 1.3.9
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 +22 -23
- package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/activity-log/schema.d.ts +5 -6
- package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +148 -164
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +24 -26
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -15
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +6 -8
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +13 -17
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +109 -118
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +2 -3
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +54 -54
- package/dist/api-contracts/src/channel/validation.d.ts +72 -72
- package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +299 -371
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +75 -98
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +109 -136
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +24 -33
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +62 -78
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +559 -677
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +42 -56
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +218 -299
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +25882 -27370
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +361 -402
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +3 -4
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +112 -118
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +2 -3
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +3873 -3933
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +2073 -2133
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +11 -12
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +127 -127
- package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
- 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 +451 -502
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +30 -36
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +20 -27
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +27 -34
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +15 -18
- package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/validation.d.ts +5 -6
- package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +196 -260
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +83 -88
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +345 -349
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +54 -76
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +51 -74
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +72 -79
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +7 -9
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1170 -1245
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +679 -790
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +34 -36
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +148 -159
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +5 -6
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +4 -5
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +7 -9
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +144 -155
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +2 -3
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +16 -16
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +3 -4
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +53 -58
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +52 -58
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -64,12 +64,11 @@ export declare const ticketContract: {
|
|
|
64
64
|
}, {
|
|
65
65
|
[x: string]: any;
|
|
66
66
|
}>;
|
|
67
|
-
categories: z.ZodObject<
|
|
67
|
+
categories: z.ZodObject<{
|
|
68
68
|
isRequired: z.ZodBoolean;
|
|
69
69
|
attributeId: z.ZodString;
|
|
70
|
-
}, {
|
|
71
70
|
value: z.ZodArray<z.ZodString, "many">;
|
|
72
|
-
}
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
72
|
value: string[];
|
|
74
73
|
isRequired: boolean;
|
|
75
74
|
attributeId: string;
|
|
@@ -175,33 +174,14 @@ export declare const ticketContract: {
|
|
|
175
174
|
}>;
|
|
176
175
|
summary: "Create a new ticket";
|
|
177
176
|
method: "POST";
|
|
178
|
-
path: "ts/ticket";
|
|
179
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
180
|
-
'x-tenant': z.ZodString;
|
|
181
|
-
'x-service-token': z.ZodString;
|
|
182
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
183
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
184
|
-
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
'x-tenant': string;
|
|
186
|
-
'x-service-token': string;
|
|
187
|
-
'x-client-timezone': string;
|
|
188
|
-
'x-code'?: string | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
'x-tenant': string;
|
|
191
|
-
'x-service-token': string;
|
|
192
|
-
'x-code'?: string | undefined;
|
|
193
|
-
'x-client-timezone'?: string | undefined;
|
|
194
|
-
}>>>;
|
|
195
177
|
responses: {
|
|
196
|
-
201: z.ZodObject<
|
|
178
|
+
201: z.ZodObject<{
|
|
197
179
|
requestId: z.ZodString;
|
|
198
|
-
|
|
199
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
180
|
+
data: z.ZodObject<{
|
|
200
181
|
id: z.ZodString;
|
|
201
182
|
createdAt: z.ZodDate;
|
|
202
183
|
updatedAt: z.ZodDate;
|
|
203
184
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
204
|
-
}, {
|
|
205
185
|
title: z.ZodString;
|
|
206
186
|
description: z.ZodNullable<z.ZodString>;
|
|
207
187
|
type: z.ZodString;
|
|
@@ -210,19 +190,18 @@ export declare const ticketContract: {
|
|
|
210
190
|
status: z.ZodString;
|
|
211
191
|
contactId: z.ZodString;
|
|
212
192
|
creatorId: z.ZodString;
|
|
213
|
-
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
193
|
+
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
194
|
+
name: z.ZodString;
|
|
214
195
|
id: z.ZodString;
|
|
196
|
+
address: z.ZodNullable<z.ZodString>;
|
|
197
|
+
email: z.ZodString;
|
|
215
198
|
createdAt: z.ZodDate;
|
|
216
199
|
updatedAt: z.ZodDate;
|
|
217
200
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
218
|
-
name: z.ZodString;
|
|
219
|
-
email: z.ZodString;
|
|
220
201
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
221
202
|
password: z.ZodString;
|
|
222
|
-
address: z.ZodNullable<z.ZodString>;
|
|
223
203
|
phone: z.ZodNullable<z.ZodString>;
|
|
224
204
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
225
|
-
}, {
|
|
226
205
|
roles: z.ZodArray<z.ZodObject<{
|
|
227
206
|
id: z.ZodString;
|
|
228
207
|
createdAt: z.ZodDate;
|
|
@@ -328,7 +307,7 @@ export declare const ticketContract: {
|
|
|
328
307
|
extensionName: string;
|
|
329
308
|
telephonySignature: string | null;
|
|
330
309
|
}>;
|
|
331
|
-
}
|
|
310
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
311
|
name: string;
|
|
333
312
|
id: string;
|
|
334
313
|
address: string | null;
|
|
@@ -416,19 +395,18 @@ export declare const ticketContract: {
|
|
|
416
395
|
};
|
|
417
396
|
}>>>;
|
|
418
397
|
assigneeId: z.ZodString;
|
|
419
|
-
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
398
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
399
|
+
name: z.ZodString;
|
|
420
400
|
id: z.ZodString;
|
|
401
|
+
address: z.ZodNullable<z.ZodString>;
|
|
402
|
+
email: z.ZodString;
|
|
421
403
|
createdAt: z.ZodDate;
|
|
422
404
|
updatedAt: z.ZodDate;
|
|
423
405
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
424
|
-
name: z.ZodString;
|
|
425
|
-
email: z.ZodString;
|
|
426
406
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
427
407
|
password: z.ZodString;
|
|
428
|
-
address: z.ZodNullable<z.ZodString>;
|
|
429
408
|
phone: z.ZodNullable<z.ZodString>;
|
|
430
409
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
431
|
-
}, {
|
|
432
410
|
roles: z.ZodArray<z.ZodObject<{
|
|
433
411
|
id: z.ZodString;
|
|
434
412
|
createdAt: z.ZodDate;
|
|
@@ -534,7 +512,7 @@ export declare const ticketContract: {
|
|
|
534
512
|
extensionName: string;
|
|
535
513
|
telephonySignature: string | null;
|
|
536
514
|
}>;
|
|
537
|
-
}
|
|
515
|
+
}, "strip", z.ZodTypeAny, {
|
|
538
516
|
name: string;
|
|
539
517
|
id: string;
|
|
540
518
|
address: string | null;
|
|
@@ -623,22 +601,20 @@ export declare const ticketContract: {
|
|
|
623
601
|
}>>>;
|
|
624
602
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
625
603
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
626
|
-
customFields: z.ZodArray<z.ZodObject<
|
|
604
|
+
customFields: z.ZodArray<z.ZodObject<{
|
|
627
605
|
id: z.ZodString;
|
|
628
606
|
createdAt: z.ZodDate;
|
|
629
607
|
updatedAt: z.ZodDate;
|
|
630
608
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
631
|
-
}, {
|
|
632
609
|
textValue: z.ZodNullable<z.ZodString>;
|
|
633
610
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
634
611
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
635
612
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
636
|
-
attribute: z.ZodObject<Omit<
|
|
613
|
+
attribute: z.ZodObject<Omit<{
|
|
637
614
|
id: z.ZodString;
|
|
638
615
|
createdAt: z.ZodDate;
|
|
639
616
|
updatedAt: z.ZodDate;
|
|
640
617
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
641
|
-
}, {
|
|
642
618
|
systemName: z.ZodString;
|
|
643
619
|
displayName: z.ZodString;
|
|
644
620
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -647,14 +623,13 @@ export declare const ticketContract: {
|
|
|
647
623
|
isArchived: z.ZodBoolean;
|
|
648
624
|
isRequired: z.ZodBoolean;
|
|
649
625
|
isUnique: z.ZodBoolean;
|
|
650
|
-
options: z.ZodArray<z.ZodObject<
|
|
651
|
-
|
|
626
|
+
options: z.ZodArray<z.ZodObject<{
|
|
627
|
+
position: z.ZodNumber;
|
|
652
628
|
value: z.ZodString;
|
|
629
|
+
label: z.ZodString;
|
|
653
630
|
isDefault: z.ZodBoolean;
|
|
654
|
-
position: z.ZodNumber;
|
|
655
|
-
}, {
|
|
656
631
|
id: z.ZodString;
|
|
657
|
-
}
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
658
633
|
id: string;
|
|
659
634
|
position: number;
|
|
660
635
|
value: string;
|
|
@@ -667,15 +642,14 @@ export declare const ticketContract: {
|
|
|
667
642
|
label: string;
|
|
668
643
|
isDefault: boolean;
|
|
669
644
|
}>, "many">;
|
|
670
|
-
group: z.ZodObject<
|
|
645
|
+
group: z.ZodObject<{
|
|
671
646
|
id: z.ZodString;
|
|
672
647
|
createdAt: z.ZodDate;
|
|
673
648
|
updatedAt: z.ZodDate;
|
|
674
649
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
675
|
-
}, {
|
|
676
650
|
systemName: z.ZodString;
|
|
677
651
|
displayName: z.ZodString;
|
|
678
|
-
}
|
|
652
|
+
}, "strip", z.ZodTypeAny, {
|
|
679
653
|
id: string;
|
|
680
654
|
createdAt: Date;
|
|
681
655
|
updatedAt: Date;
|
|
@@ -690,7 +664,7 @@ export declare const ticketContract: {
|
|
|
690
664
|
systemName: string;
|
|
691
665
|
displayName: string;
|
|
692
666
|
}>;
|
|
693
|
-
}
|
|
667
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
694
668
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
695
669
|
id: string;
|
|
696
670
|
position: number;
|
|
@@ -717,19 +691,18 @@ export declare const ticketContract: {
|
|
|
717
691
|
isRequired: boolean;
|
|
718
692
|
isUnique: boolean;
|
|
719
693
|
}>;
|
|
720
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
694
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
721
695
|
id: z.ZodString;
|
|
722
696
|
createdAt: z.ZodDate;
|
|
723
697
|
updatedAt: z.ZodDate;
|
|
724
698
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
725
|
-
}, {
|
|
726
699
|
bucketName: z.ZodString;
|
|
727
700
|
fileName: z.ZodString;
|
|
728
701
|
fileSize: z.ZodNumber;
|
|
729
702
|
fileKey: z.ZodString;
|
|
730
703
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
731
704
|
status: z.ZodNullable<z.ZodString>;
|
|
732
|
-
}
|
|
705
|
+
}, "strip", z.ZodTypeAny, {
|
|
733
706
|
id: string;
|
|
734
707
|
status: string | null;
|
|
735
708
|
createdAt: Date;
|
|
@@ -752,7 +725,7 @@ export declare const ticketContract: {
|
|
|
752
725
|
fileSize: number;
|
|
753
726
|
fileUrl: string | null;
|
|
754
727
|
}>, "many">;
|
|
755
|
-
}
|
|
728
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
729
|
id: string;
|
|
757
730
|
createdAt: Date;
|
|
758
731
|
updatedAt: Date;
|
|
@@ -823,14 +796,13 @@ export declare const ticketContract: {
|
|
|
823
796
|
fileUrl: string | null;
|
|
824
797
|
}[];
|
|
825
798
|
}>, "many">;
|
|
826
|
-
tags: z.ZodArray<z.ZodObject<
|
|
799
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
827
800
|
id: z.ZodString;
|
|
828
801
|
createdAt: z.ZodDate;
|
|
829
802
|
updatedAt: z.ZodDate;
|
|
830
803
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
831
|
-
}, {
|
|
832
804
|
name: z.ZodString;
|
|
833
|
-
}
|
|
805
|
+
}, "strip", z.ZodTypeAny, {
|
|
834
806
|
name: string;
|
|
835
807
|
id: string;
|
|
836
808
|
createdAt: Date;
|
|
@@ -843,12 +815,11 @@ export declare const ticketContract: {
|
|
|
843
815
|
updatedAt: Date;
|
|
844
816
|
deletedAt: Date | null;
|
|
845
817
|
}>, "many">;
|
|
846
|
-
categories: z.ZodArray<z.ZodObject<
|
|
818
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
847
819
|
id: z.ZodString;
|
|
848
820
|
createdAt: z.ZodDate;
|
|
849
821
|
updatedAt: z.ZodDate;
|
|
850
822
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
851
|
-
}, {
|
|
852
823
|
value: z.ZodString;
|
|
853
824
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
854
825
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -901,7 +872,7 @@ export declare const ticketContract: {
|
|
|
901
872
|
childCategoryList: any[];
|
|
902
873
|
}[];
|
|
903
874
|
}>, "many">;
|
|
904
|
-
}
|
|
875
|
+
}, "strip", z.ZodTypeAny, {
|
|
905
876
|
id: string;
|
|
906
877
|
value: string;
|
|
907
878
|
createdAt: Date;
|
|
@@ -955,14 +926,13 @@ export declare const ticketContract: {
|
|
|
955
926
|
notes: z.ZodNullable<z.ZodString>;
|
|
956
927
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
957
928
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
958
|
-
tags: z.ZodArray<z.ZodObject<
|
|
929
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
959
930
|
id: z.ZodString;
|
|
960
931
|
createdAt: z.ZodDate;
|
|
961
932
|
updatedAt: z.ZodDate;
|
|
962
933
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
963
|
-
}, {
|
|
964
934
|
name: z.ZodString;
|
|
965
|
-
}
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
966
936
|
name: string;
|
|
967
937
|
id: string;
|
|
968
938
|
createdAt: Date;
|
|
@@ -975,32 +945,29 @@ export declare const ticketContract: {
|
|
|
975
945
|
updatedAt: Date;
|
|
976
946
|
deletedAt: Date | null;
|
|
977
947
|
}>, "many">;
|
|
978
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
|
948
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
979
949
|
id: z.ZodString;
|
|
980
950
|
createdAt: z.ZodDate;
|
|
981
951
|
updatedAt: z.ZodDate;
|
|
982
952
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
983
|
-
}, {
|
|
984
953
|
name: z.ZodOptional<z.ZodString>;
|
|
985
954
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
986
955
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
956
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
957
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
989
958
|
id: z.ZodString;
|
|
990
959
|
createdAt: z.ZodDate;
|
|
991
960
|
updatedAt: z.ZodDate;
|
|
992
961
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
993
|
-
}, {
|
|
994
962
|
textValue: z.ZodNullable<z.ZodString>;
|
|
995
963
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
996
964
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
997
965
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
998
|
-
attribute: z.ZodObject<Omit<
|
|
966
|
+
attribute: z.ZodObject<Omit<{
|
|
999
967
|
id: z.ZodString;
|
|
1000
968
|
createdAt: z.ZodDate;
|
|
1001
969
|
updatedAt: z.ZodDate;
|
|
1002
970
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1003
|
-
}, {
|
|
1004
971
|
systemName: z.ZodString;
|
|
1005
972
|
displayName: z.ZodString;
|
|
1006
973
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -1009,14 +976,13 @@ export declare const ticketContract: {
|
|
|
1009
976
|
isArchived: z.ZodBoolean;
|
|
1010
977
|
isRequired: z.ZodBoolean;
|
|
1011
978
|
isUnique: z.ZodBoolean;
|
|
1012
|
-
options: z.ZodArray<z.ZodObject<
|
|
1013
|
-
|
|
979
|
+
options: z.ZodArray<z.ZodObject<{
|
|
980
|
+
position: z.ZodNumber;
|
|
1014
981
|
value: z.ZodString;
|
|
982
|
+
label: z.ZodString;
|
|
1015
983
|
isDefault: z.ZodBoolean;
|
|
1016
|
-
position: z.ZodNumber;
|
|
1017
|
-
}, {
|
|
1018
984
|
id: z.ZodString;
|
|
1019
|
-
}
|
|
985
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
986
|
id: string;
|
|
1021
987
|
position: number;
|
|
1022
988
|
value: string;
|
|
@@ -1029,15 +995,14 @@ export declare const ticketContract: {
|
|
|
1029
995
|
label: string;
|
|
1030
996
|
isDefault: boolean;
|
|
1031
997
|
}>, "many">;
|
|
1032
|
-
group: z.ZodObject<
|
|
998
|
+
group: z.ZodObject<{
|
|
1033
999
|
id: z.ZodString;
|
|
1034
1000
|
createdAt: z.ZodDate;
|
|
1035
1001
|
updatedAt: z.ZodDate;
|
|
1036
1002
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1037
|
-
}, {
|
|
1038
1003
|
systemName: z.ZodString;
|
|
1039
1004
|
displayName: z.ZodString;
|
|
1040
|
-
}
|
|
1005
|
+
}, "strip", z.ZodTypeAny, {
|
|
1041
1006
|
id: string;
|
|
1042
1007
|
createdAt: Date;
|
|
1043
1008
|
updatedAt: Date;
|
|
@@ -1052,7 +1017,7 @@ export declare const ticketContract: {
|
|
|
1052
1017
|
systemName: string;
|
|
1053
1018
|
displayName: string;
|
|
1054
1019
|
}>;
|
|
1055
|
-
}
|
|
1020
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1056
1021
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1057
1022
|
id: string;
|
|
1058
1023
|
position: number;
|
|
@@ -1079,7 +1044,7 @@ export declare const ticketContract: {
|
|
|
1079
1044
|
isRequired: boolean;
|
|
1080
1045
|
isUnique: boolean;
|
|
1081
1046
|
}>;
|
|
1082
|
-
}
|
|
1047
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
1048
|
id: string;
|
|
1084
1049
|
createdAt: Date;
|
|
1085
1050
|
updatedAt: Date;
|
|
@@ -1126,7 +1091,7 @@ export declare const ticketContract: {
|
|
|
1126
1091
|
numberValue: number | null;
|
|
1127
1092
|
dateValue: Date | null;
|
|
1128
1093
|
}>, "many">>;
|
|
1129
|
-
}
|
|
1094
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
|
1130
1095
|
id: string;
|
|
1131
1096
|
createdAt: Date;
|
|
1132
1097
|
updatedAt: Date;
|
|
@@ -1207,12 +1172,11 @@ export declare const ticketContract: {
|
|
|
1207
1172
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
1208
1173
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
1209
1174
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
1210
|
-
attribute: z.ZodObject<Omit<
|
|
1175
|
+
attribute: z.ZodObject<Omit<{
|
|
1211
1176
|
id: z.ZodString;
|
|
1212
1177
|
createdAt: z.ZodDate;
|
|
1213
1178
|
updatedAt: z.ZodDate;
|
|
1214
1179
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1215
|
-
}, {
|
|
1216
1180
|
systemName: z.ZodString;
|
|
1217
1181
|
displayName: z.ZodString;
|
|
1218
1182
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -1221,14 +1185,13 @@ export declare const ticketContract: {
|
|
|
1221
1185
|
isArchived: z.ZodBoolean;
|
|
1222
1186
|
isRequired: z.ZodBoolean;
|
|
1223
1187
|
isUnique: z.ZodBoolean;
|
|
1224
|
-
options: z.ZodArray<z.ZodObject<
|
|
1225
|
-
|
|
1188
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1189
|
+
position: z.ZodNumber;
|
|
1226
1190
|
value: z.ZodString;
|
|
1191
|
+
label: z.ZodString;
|
|
1227
1192
|
isDefault: z.ZodBoolean;
|
|
1228
|
-
position: z.ZodNumber;
|
|
1229
|
-
}, {
|
|
1230
1193
|
id: z.ZodString;
|
|
1231
|
-
}
|
|
1194
|
+
}, "strip", z.ZodTypeAny, {
|
|
1232
1195
|
id: string;
|
|
1233
1196
|
position: number;
|
|
1234
1197
|
value: string;
|
|
@@ -1241,15 +1204,14 @@ export declare const ticketContract: {
|
|
|
1241
1204
|
label: string;
|
|
1242
1205
|
isDefault: boolean;
|
|
1243
1206
|
}>, "many">;
|
|
1244
|
-
group: z.ZodObject<
|
|
1207
|
+
group: z.ZodObject<{
|
|
1245
1208
|
id: z.ZodString;
|
|
1246
1209
|
createdAt: z.ZodDate;
|
|
1247
1210
|
updatedAt: z.ZodDate;
|
|
1248
1211
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1249
|
-
}, {
|
|
1250
1212
|
systemName: z.ZodString;
|
|
1251
1213
|
displayName: z.ZodString;
|
|
1252
|
-
}
|
|
1214
|
+
}, "strip", z.ZodTypeAny, {
|
|
1253
1215
|
id: string;
|
|
1254
1216
|
createdAt: Date;
|
|
1255
1217
|
updatedAt: Date;
|
|
@@ -1264,7 +1226,7 @@ export declare const ticketContract: {
|
|
|
1264
1226
|
systemName: string;
|
|
1265
1227
|
displayName: string;
|
|
1266
1228
|
}>;
|
|
1267
|
-
}
|
|
1229
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1268
1230
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1269
1231
|
id: string;
|
|
1270
1232
|
position: number;
|
|
@@ -1291,19 +1253,18 @@ export declare const ticketContract: {
|
|
|
1291
1253
|
isRequired: boolean;
|
|
1292
1254
|
isUnique: boolean;
|
|
1293
1255
|
}>;
|
|
1294
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
1256
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
1295
1257
|
id: z.ZodString;
|
|
1296
1258
|
createdAt: z.ZodDate;
|
|
1297
1259
|
updatedAt: z.ZodDate;
|
|
1298
1260
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1299
|
-
}, {
|
|
1300
1261
|
bucketName: z.ZodString;
|
|
1301
1262
|
fileName: z.ZodString;
|
|
1302
1263
|
fileSize: z.ZodNumber;
|
|
1303
1264
|
fileKey: z.ZodString;
|
|
1304
1265
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
1305
1266
|
status: z.ZodNullable<z.ZodString>;
|
|
1306
|
-
}
|
|
1267
|
+
}, "strip", z.ZodTypeAny, {
|
|
1307
1268
|
id: string;
|
|
1308
1269
|
status: string | null;
|
|
1309
1270
|
createdAt: Date;
|
|
@@ -1729,19 +1690,18 @@ export declare const ticketContract: {
|
|
|
1729
1690
|
createdAt: z.ZodDate;
|
|
1730
1691
|
updatedAt: z.ZodDate;
|
|
1731
1692
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1732
|
-
actor: z.ZodObject<
|
|
1693
|
+
actor: z.ZodObject<{
|
|
1694
|
+
name: z.ZodString;
|
|
1733
1695
|
id: z.ZodString;
|
|
1696
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1697
|
+
email: z.ZodString;
|
|
1734
1698
|
createdAt: z.ZodDate;
|
|
1735
1699
|
updatedAt: z.ZodDate;
|
|
1736
1700
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1737
|
-
name: z.ZodString;
|
|
1738
|
-
email: z.ZodString;
|
|
1739
1701
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
1740
1702
|
password: z.ZodString;
|
|
1741
|
-
address: z.ZodNullable<z.ZodString>;
|
|
1742
1703
|
phone: z.ZodNullable<z.ZodString>;
|
|
1743
1704
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
1744
|
-
}, {
|
|
1745
1705
|
roles: z.ZodArray<z.ZodObject<{
|
|
1746
1706
|
id: z.ZodString;
|
|
1747
1707
|
createdAt: z.ZodDate;
|
|
@@ -1847,7 +1807,7 @@ export declare const ticketContract: {
|
|
|
1847
1807
|
extensionName: string;
|
|
1848
1808
|
telephonySignature: string | null;
|
|
1849
1809
|
}>;
|
|
1850
|
-
}
|
|
1810
|
+
}, "strip", z.ZodTypeAny, {
|
|
1851
1811
|
name: string;
|
|
1852
1812
|
id: string;
|
|
1853
1813
|
address: string | null;
|
|
@@ -2077,7 +2037,7 @@ export declare const ticketContract: {
|
|
|
2077
2037
|
entity: string;
|
|
2078
2038
|
};
|
|
2079
2039
|
}>, "many">;
|
|
2080
|
-
}
|
|
2040
|
+
}, "strip", z.ZodTypeAny, {
|
|
2081
2041
|
type: string;
|
|
2082
2042
|
id: string;
|
|
2083
2043
|
channel: string;
|
|
@@ -2329,7 +2289,7 @@ export declare const ticketContract: {
|
|
|
2329
2289
|
assigneeId: string;
|
|
2330
2290
|
creatorId: string;
|
|
2331
2291
|
reasonToAssign: string | null;
|
|
2332
|
-
|
|
2292
|
+
creator?: {
|
|
2333
2293
|
name: string;
|
|
2334
2294
|
id: string;
|
|
2335
2295
|
address: string | null;
|
|
@@ -2373,7 +2333,7 @@ export declare const ticketContract: {
|
|
|
2373
2333
|
telephonySignature: string | null;
|
|
2374
2334
|
};
|
|
2375
2335
|
} | null | undefined;
|
|
2376
|
-
|
|
2336
|
+
assignee?: {
|
|
2377
2337
|
name: string;
|
|
2378
2338
|
id: string;
|
|
2379
2339
|
address: string | null;
|
|
@@ -2670,7 +2630,7 @@ export declare const ticketContract: {
|
|
|
2670
2630
|
assigneeId: string;
|
|
2671
2631
|
creatorId: string;
|
|
2672
2632
|
reasonToAssign: string | null;
|
|
2673
|
-
|
|
2633
|
+
creator?: {
|
|
2674
2634
|
name: string;
|
|
2675
2635
|
id: string;
|
|
2676
2636
|
address: string | null;
|
|
@@ -2714,7 +2674,7 @@ export declare const ticketContract: {
|
|
|
2714
2674
|
telephonySignature: string | null;
|
|
2715
2675
|
};
|
|
2716
2676
|
} | null | undefined;
|
|
2717
|
-
|
|
2677
|
+
assignee?: {
|
|
2718
2678
|
name: string;
|
|
2719
2679
|
id: string;
|
|
2720
2680
|
address: string | null;
|
|
@@ -2760,7 +2720,7 @@ export declare const ticketContract: {
|
|
|
2760
2720
|
} | null | undefined;
|
|
2761
2721
|
ticketNumber?: number | undefined;
|
|
2762
2722
|
}>;
|
|
2763
|
-
}
|
|
2723
|
+
}, "strip", z.ZodTypeAny, {
|
|
2764
2724
|
data: {
|
|
2765
2725
|
type: string;
|
|
2766
2726
|
id: string;
|
|
@@ -3013,7 +2973,7 @@ export declare const ticketContract: {
|
|
|
3013
2973
|
assigneeId: string;
|
|
3014
2974
|
creatorId: string;
|
|
3015
2975
|
reasonToAssign: string | null;
|
|
3016
|
-
|
|
2976
|
+
creator?: {
|
|
3017
2977
|
name: string;
|
|
3018
2978
|
id: string;
|
|
3019
2979
|
address: string | null;
|
|
@@ -3057,7 +3017,7 @@ export declare const ticketContract: {
|
|
|
3057
3017
|
telephonySignature: string | null;
|
|
3058
3018
|
};
|
|
3059
3019
|
} | null | undefined;
|
|
3060
|
-
|
|
3020
|
+
assignee?: {
|
|
3061
3021
|
name: string;
|
|
3062
3022
|
id: string;
|
|
3063
3023
|
address: string | null;
|
|
@@ -3357,7 +3317,7 @@ export declare const ticketContract: {
|
|
|
3357
3317
|
assigneeId: string;
|
|
3358
3318
|
creatorId: string;
|
|
3359
3319
|
reasonToAssign: string | null;
|
|
3360
|
-
|
|
3320
|
+
creator?: {
|
|
3361
3321
|
name: string;
|
|
3362
3322
|
id: string;
|
|
3363
3323
|
address: string | null;
|
|
@@ -3401,7 +3361,7 @@ export declare const ticketContract: {
|
|
|
3401
3361
|
telephonySignature: string | null;
|
|
3402
3362
|
};
|
|
3403
3363
|
} | null | undefined;
|
|
3404
|
-
|
|
3364
|
+
assignee?: {
|
|
3405
3365
|
name: string;
|
|
3406
3366
|
id: string;
|
|
3407
3367
|
address: string | null;
|
|
@@ -3501,6 +3461,23 @@ export declare const ticketContract: {
|
|
|
3501
3461
|
error?: any;
|
|
3502
3462
|
}>;
|
|
3503
3463
|
};
|
|
3464
|
+
path: "ts/ticket";
|
|
3465
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3466
|
+
'x-tenant': z.ZodString;
|
|
3467
|
+
'x-service-token': z.ZodString;
|
|
3468
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
3469
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
3470
|
+
}, "strip", z.ZodTypeAny, {
|
|
3471
|
+
'x-tenant': string;
|
|
3472
|
+
'x-service-token': string;
|
|
3473
|
+
'x-client-timezone': string;
|
|
3474
|
+
'x-code'?: string | undefined;
|
|
3475
|
+
}, {
|
|
3476
|
+
'x-tenant': string;
|
|
3477
|
+
'x-service-token': string;
|
|
3478
|
+
'x-code'?: string | undefined;
|
|
3479
|
+
'x-client-timezone'?: string | undefined;
|
|
3480
|
+
}>>>;
|
|
3504
3481
|
};
|
|
3505
3482
|
getAllTickets: {
|
|
3506
3483
|
summary: "Get all tickets";
|
|
@@ -3528,85 +3505,66 @@ export declare const ticketContract: {
|
|
|
3528
3505
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3529
3506
|
}, "strip", z.ZodTypeAny, {
|
|
3530
3507
|
type: string;
|
|
3531
|
-
value: string | string[];
|
|
3508
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
3532
3509
|
attributeId: string;
|
|
3533
3510
|
}, {
|
|
3534
3511
|
type: string;
|
|
3535
|
-
value: string | string[];
|
|
3512
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
3536
3513
|
attributeId: string;
|
|
3537
3514
|
}>, "many">>;
|
|
3538
3515
|
}, "strip", z.ZodTypeAny, {
|
|
3539
|
-
type?: string[] | undefined;
|
|
3540
|
-
channel?: string[] | undefined;
|
|
3541
|
-
priority?: string[] | undefined;
|
|
3542
3516
|
page?: number | undefined;
|
|
3517
|
+
pageSize?: number | undefined;
|
|
3518
|
+
selectedDate?: string | undefined;
|
|
3519
|
+
ticketNumber?: string | undefined;
|
|
3520
|
+
keyword?: string | undefined;
|
|
3543
3521
|
title?: string | undefined;
|
|
3544
3522
|
description?: string | undefined;
|
|
3545
3523
|
status?: string[] | undefined;
|
|
3546
|
-
|
|
3524
|
+
priority?: string[] | undefined;
|
|
3525
|
+
channel?: string[] | undefined;
|
|
3526
|
+
type?: string[] | undefined;
|
|
3527
|
+
ticketType?: string[] | undefined;
|
|
3547
3528
|
contact?: string[] | undefined;
|
|
3529
|
+
tags?: string[] | undefined;
|
|
3530
|
+
categories?: string[] | undefined;
|
|
3531
|
+
assignee?: string[] | undefined;
|
|
3548
3532
|
customFields?: {
|
|
3549
3533
|
type: string;
|
|
3550
|
-
value: string | string[];
|
|
3534
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
3551
3535
|
attributeId: string;
|
|
3552
3536
|
}[] | undefined;
|
|
3553
|
-
tags?: string[] | undefined;
|
|
3554
|
-
categories?: string[] | undefined;
|
|
3555
|
-
assignee?: string[] | undefined;
|
|
3556
|
-
keyword?: string | undefined;
|
|
3557
|
-
selectedDate?: string | undefined;
|
|
3558
|
-
ticketNumber?: string | undefined;
|
|
3559
|
-
ticketType?: string[] | undefined;
|
|
3560
3537
|
}, {
|
|
3561
|
-
type?: string[] | undefined;
|
|
3562
|
-
channel?: string[] | undefined;
|
|
3563
|
-
priority?: string[] | undefined;
|
|
3564
3538
|
page?: string | undefined;
|
|
3539
|
+
pageSize?: string | undefined;
|
|
3540
|
+
selectedDate?: string | undefined;
|
|
3541
|
+
ticketNumber?: string | undefined;
|
|
3542
|
+
keyword?: string | undefined;
|
|
3565
3543
|
title?: string | undefined;
|
|
3566
3544
|
description?: string | undefined;
|
|
3567
3545
|
status?: string[] | undefined;
|
|
3568
|
-
|
|
3546
|
+
priority?: string[] | undefined;
|
|
3547
|
+
channel?: string[] | undefined;
|
|
3548
|
+
type?: string[] | undefined;
|
|
3549
|
+
ticketType?: string[] | undefined;
|
|
3569
3550
|
contact?: string[] | undefined;
|
|
3551
|
+
tags?: string[] | undefined;
|
|
3552
|
+
categories?: string[] | undefined;
|
|
3553
|
+
assignee?: string[] | undefined;
|
|
3570
3554
|
customFields?: {
|
|
3571
3555
|
type: string;
|
|
3572
|
-
value: string | string[];
|
|
3556
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
3573
3557
|
attributeId: string;
|
|
3574
3558
|
}[] | undefined;
|
|
3575
|
-
tags?: string[] | undefined;
|
|
3576
|
-
categories?: string[] | undefined;
|
|
3577
|
-
assignee?: string[] | undefined;
|
|
3578
|
-
keyword?: string | undefined;
|
|
3579
|
-
selectedDate?: string | undefined;
|
|
3580
|
-
ticketNumber?: string | undefined;
|
|
3581
|
-
ticketType?: string[] | undefined;
|
|
3582
3559
|
}>;
|
|
3583
|
-
path: "ts/ticket";
|
|
3584
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3585
|
-
'x-tenant': z.ZodString;
|
|
3586
|
-
'x-service-token': z.ZodString;
|
|
3587
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
3588
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
3589
|
-
}, "strip", z.ZodTypeAny, {
|
|
3590
|
-
'x-tenant': string;
|
|
3591
|
-
'x-service-token': string;
|
|
3592
|
-
'x-client-timezone': string;
|
|
3593
|
-
'x-code'?: string | undefined;
|
|
3594
|
-
}, {
|
|
3595
|
-
'x-tenant': string;
|
|
3596
|
-
'x-service-token': string;
|
|
3597
|
-
'x-code'?: string | undefined;
|
|
3598
|
-
'x-client-timezone'?: string | undefined;
|
|
3599
|
-
}>>>;
|
|
3600
3560
|
responses: {
|
|
3601
|
-
200: z.ZodObject<
|
|
3561
|
+
200: z.ZodObject<{
|
|
3602
3562
|
requestId: z.ZodString;
|
|
3603
|
-
|
|
3604
|
-
|
|
3563
|
+
data: z.ZodObject<{
|
|
3564
|
+
total: z.ZodNumber;
|
|
3605
3565
|
page: z.ZodDefault<z.ZodNumber>;
|
|
3606
3566
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
3607
|
-
total: z.ZodNumber;
|
|
3608
3567
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3609
|
-
}, {
|
|
3610
3568
|
data: z.ZodArray<z.ZodType<{
|
|
3611
3569
|
type: string;
|
|
3612
3570
|
id: string;
|
|
@@ -3859,7 +3817,7 @@ export declare const ticketContract: {
|
|
|
3859
3817
|
assigneeId: string;
|
|
3860
3818
|
creatorId: string;
|
|
3861
3819
|
reasonToAssign: string | null;
|
|
3862
|
-
|
|
3820
|
+
creator?: {
|
|
3863
3821
|
name: string;
|
|
3864
3822
|
id: string;
|
|
3865
3823
|
address: string | null;
|
|
@@ -3903,7 +3861,7 @@ export declare const ticketContract: {
|
|
|
3903
3861
|
telephonySignature: string | null;
|
|
3904
3862
|
};
|
|
3905
3863
|
} | null | undefined;
|
|
3906
|
-
|
|
3864
|
+
assignee?: {
|
|
3907
3865
|
name: string;
|
|
3908
3866
|
id: string;
|
|
3909
3867
|
address: string | null;
|
|
@@ -4200,7 +4158,7 @@ export declare const ticketContract: {
|
|
|
4200
4158
|
assigneeId: string;
|
|
4201
4159
|
creatorId: string;
|
|
4202
4160
|
reasonToAssign: string | null;
|
|
4203
|
-
|
|
4161
|
+
creator?: {
|
|
4204
4162
|
name: string;
|
|
4205
4163
|
id: string;
|
|
4206
4164
|
address: string | null;
|
|
@@ -4244,7 +4202,7 @@ export declare const ticketContract: {
|
|
|
4244
4202
|
telephonySignature: string | null;
|
|
4245
4203
|
};
|
|
4246
4204
|
} | null | undefined;
|
|
4247
|
-
|
|
4205
|
+
assignee?: {
|
|
4248
4206
|
name: string;
|
|
4249
4207
|
id: string;
|
|
4250
4208
|
address: string | null;
|
|
@@ -4290,7 +4248,7 @@ export declare const ticketContract: {
|
|
|
4290
4248
|
} | null | undefined;
|
|
4291
4249
|
ticketNumber?: number | undefined;
|
|
4292
4250
|
}>, "many">;
|
|
4293
|
-
}
|
|
4251
|
+
}, "strip", z.ZodTypeAny, {
|
|
4294
4252
|
data: {
|
|
4295
4253
|
type: string;
|
|
4296
4254
|
id: string;
|
|
@@ -4543,7 +4501,7 @@ export declare const ticketContract: {
|
|
|
4543
4501
|
assigneeId: string;
|
|
4544
4502
|
creatorId: string;
|
|
4545
4503
|
reasonToAssign: string | null;
|
|
4546
|
-
|
|
4504
|
+
creator?: {
|
|
4547
4505
|
name: string;
|
|
4548
4506
|
id: string;
|
|
4549
4507
|
address: string | null;
|
|
@@ -4587,7 +4545,7 @@ export declare const ticketContract: {
|
|
|
4587
4545
|
telephonySignature: string | null;
|
|
4588
4546
|
};
|
|
4589
4547
|
} | null | undefined;
|
|
4590
|
-
|
|
4548
|
+
assignee?: {
|
|
4591
4549
|
name: string;
|
|
4592
4550
|
id: string;
|
|
4593
4551
|
address: string | null;
|
|
@@ -4890,7 +4848,7 @@ export declare const ticketContract: {
|
|
|
4890
4848
|
assigneeId: string;
|
|
4891
4849
|
creatorId: string;
|
|
4892
4850
|
reasonToAssign: string | null;
|
|
4893
|
-
|
|
4851
|
+
creator?: {
|
|
4894
4852
|
name: string;
|
|
4895
4853
|
id: string;
|
|
4896
4854
|
address: string | null;
|
|
@@ -4934,7 +4892,7 @@ export declare const ticketContract: {
|
|
|
4934
4892
|
telephonySignature: string | null;
|
|
4935
4893
|
};
|
|
4936
4894
|
} | null | undefined;
|
|
4937
|
-
|
|
4895
|
+
assignee?: {
|
|
4938
4896
|
name: string;
|
|
4939
4897
|
id: string;
|
|
4940
4898
|
address: string | null;
|
|
@@ -4985,7 +4943,7 @@ export declare const ticketContract: {
|
|
|
4985
4943
|
pageSize?: number | undefined;
|
|
4986
4944
|
lastPage?: number | null | undefined;
|
|
4987
4945
|
}>;
|
|
4988
|
-
}
|
|
4946
|
+
}, "strip", z.ZodTypeAny, {
|
|
4989
4947
|
data: {
|
|
4990
4948
|
data: {
|
|
4991
4949
|
type: string;
|
|
@@ -5239,7 +5197,7 @@ export declare const ticketContract: {
|
|
|
5239
5197
|
assigneeId: string;
|
|
5240
5198
|
creatorId: string;
|
|
5241
5199
|
reasonToAssign: string | null;
|
|
5242
|
-
|
|
5200
|
+
creator?: {
|
|
5243
5201
|
name: string;
|
|
5244
5202
|
id: string;
|
|
5245
5203
|
address: string | null;
|
|
@@ -5283,7 +5241,7 @@ export declare const ticketContract: {
|
|
|
5283
5241
|
telephonySignature: string | null;
|
|
5284
5242
|
};
|
|
5285
5243
|
} | null | undefined;
|
|
5286
|
-
|
|
5244
|
+
assignee?: {
|
|
5287
5245
|
name: string;
|
|
5288
5246
|
id: string;
|
|
5289
5247
|
address: string | null;
|
|
@@ -5589,7 +5547,7 @@ export declare const ticketContract: {
|
|
|
5589
5547
|
assigneeId: string;
|
|
5590
5548
|
creatorId: string;
|
|
5591
5549
|
reasonToAssign: string | null;
|
|
5592
|
-
|
|
5550
|
+
creator?: {
|
|
5593
5551
|
name: string;
|
|
5594
5552
|
id: string;
|
|
5595
5553
|
address: string | null;
|
|
@@ -5633,7 +5591,7 @@ export declare const ticketContract: {
|
|
|
5633
5591
|
telephonySignature: string | null;
|
|
5634
5592
|
};
|
|
5635
5593
|
} | null | undefined;
|
|
5636
|
-
|
|
5594
|
+
assignee?: {
|
|
5637
5595
|
name: string;
|
|
5638
5596
|
id: string;
|
|
5639
5597
|
address: string | null;
|
|
@@ -5714,18 +5672,7 @@ export declare const ticketContract: {
|
|
|
5714
5672
|
error?: any;
|
|
5715
5673
|
}>;
|
|
5716
5674
|
};
|
|
5717
|
-
|
|
5718
|
-
getTicketById: {
|
|
5719
|
-
summary: "Get ticket by id";
|
|
5720
|
-
method: "GET";
|
|
5721
|
-
pathParams: z.ZodObject<{
|
|
5722
|
-
id: z.ZodString;
|
|
5723
|
-
}, "strip", z.ZodTypeAny, {
|
|
5724
|
-
id: string;
|
|
5725
|
-
}, {
|
|
5726
|
-
id: string;
|
|
5727
|
-
}>;
|
|
5728
|
-
path: "ts/ticket/:id";
|
|
5675
|
+
path: "ts/ticket";
|
|
5729
5676
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5730
5677
|
'x-tenant': z.ZodString;
|
|
5731
5678
|
'x-service-token': z.ZodString;
|
|
@@ -5742,16 +5689,25 @@ export declare const ticketContract: {
|
|
|
5742
5689
|
'x-code'?: string | undefined;
|
|
5743
5690
|
'x-client-timezone'?: string | undefined;
|
|
5744
5691
|
}>>>;
|
|
5692
|
+
};
|
|
5693
|
+
getTicketById: {
|
|
5694
|
+
summary: "Get ticket by id";
|
|
5695
|
+
method: "GET";
|
|
5696
|
+
pathParams: z.ZodObject<{
|
|
5697
|
+
id: z.ZodString;
|
|
5698
|
+
}, "strip", z.ZodTypeAny, {
|
|
5699
|
+
id: string;
|
|
5700
|
+
}, {
|
|
5701
|
+
id: string;
|
|
5702
|
+
}>;
|
|
5745
5703
|
responses: {
|
|
5746
|
-
200: z.ZodObject<
|
|
5704
|
+
200: z.ZodObject<{
|
|
5747
5705
|
requestId: z.ZodString;
|
|
5748
|
-
|
|
5749
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
5706
|
+
data: z.ZodObject<{
|
|
5750
5707
|
id: z.ZodString;
|
|
5751
5708
|
createdAt: z.ZodDate;
|
|
5752
5709
|
updatedAt: z.ZodDate;
|
|
5753
5710
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5754
|
-
}, {
|
|
5755
5711
|
title: z.ZodString;
|
|
5756
5712
|
description: z.ZodNullable<z.ZodString>;
|
|
5757
5713
|
type: z.ZodString;
|
|
@@ -5760,19 +5716,18 @@ export declare const ticketContract: {
|
|
|
5760
5716
|
status: z.ZodString;
|
|
5761
5717
|
contactId: z.ZodString;
|
|
5762
5718
|
creatorId: z.ZodString;
|
|
5763
|
-
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
5719
|
+
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5720
|
+
name: z.ZodString;
|
|
5764
5721
|
id: z.ZodString;
|
|
5722
|
+
address: z.ZodNullable<z.ZodString>;
|
|
5723
|
+
email: z.ZodString;
|
|
5765
5724
|
createdAt: z.ZodDate;
|
|
5766
5725
|
updatedAt: z.ZodDate;
|
|
5767
5726
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5768
|
-
name: z.ZodString;
|
|
5769
|
-
email: z.ZodString;
|
|
5770
5727
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
5771
5728
|
password: z.ZodString;
|
|
5772
|
-
address: z.ZodNullable<z.ZodString>;
|
|
5773
5729
|
phone: z.ZodNullable<z.ZodString>;
|
|
5774
5730
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
5775
|
-
}, {
|
|
5776
5731
|
roles: z.ZodArray<z.ZodObject<{
|
|
5777
5732
|
id: z.ZodString;
|
|
5778
5733
|
createdAt: z.ZodDate;
|
|
@@ -5878,7 +5833,7 @@ export declare const ticketContract: {
|
|
|
5878
5833
|
extensionName: string;
|
|
5879
5834
|
telephonySignature: string | null;
|
|
5880
5835
|
}>;
|
|
5881
|
-
}
|
|
5836
|
+
}, "strip", z.ZodTypeAny, {
|
|
5882
5837
|
name: string;
|
|
5883
5838
|
id: string;
|
|
5884
5839
|
address: string | null;
|
|
@@ -5966,19 +5921,18 @@ export declare const ticketContract: {
|
|
|
5966
5921
|
};
|
|
5967
5922
|
}>>>;
|
|
5968
5923
|
assigneeId: z.ZodString;
|
|
5969
|
-
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
5924
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5925
|
+
name: z.ZodString;
|
|
5970
5926
|
id: z.ZodString;
|
|
5927
|
+
address: z.ZodNullable<z.ZodString>;
|
|
5928
|
+
email: z.ZodString;
|
|
5971
5929
|
createdAt: z.ZodDate;
|
|
5972
5930
|
updatedAt: z.ZodDate;
|
|
5973
5931
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5974
|
-
name: z.ZodString;
|
|
5975
|
-
email: z.ZodString;
|
|
5976
5932
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
5977
5933
|
password: z.ZodString;
|
|
5978
|
-
address: z.ZodNullable<z.ZodString>;
|
|
5979
5934
|
phone: z.ZodNullable<z.ZodString>;
|
|
5980
5935
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
5981
|
-
}, {
|
|
5982
5936
|
roles: z.ZodArray<z.ZodObject<{
|
|
5983
5937
|
id: z.ZodString;
|
|
5984
5938
|
createdAt: z.ZodDate;
|
|
@@ -6084,7 +6038,7 @@ export declare const ticketContract: {
|
|
|
6084
6038
|
extensionName: string;
|
|
6085
6039
|
telephonySignature: string | null;
|
|
6086
6040
|
}>;
|
|
6087
|
-
}
|
|
6041
|
+
}, "strip", z.ZodTypeAny, {
|
|
6088
6042
|
name: string;
|
|
6089
6043
|
id: string;
|
|
6090
6044
|
address: string | null;
|
|
@@ -6173,22 +6127,20 @@ export declare const ticketContract: {
|
|
|
6173
6127
|
}>>>;
|
|
6174
6128
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
6175
6129
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
6176
|
-
customFields: z.ZodArray<z.ZodObject<
|
|
6130
|
+
customFields: z.ZodArray<z.ZodObject<{
|
|
6177
6131
|
id: z.ZodString;
|
|
6178
6132
|
createdAt: z.ZodDate;
|
|
6179
6133
|
updatedAt: z.ZodDate;
|
|
6180
6134
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6181
|
-
}, {
|
|
6182
6135
|
textValue: z.ZodNullable<z.ZodString>;
|
|
6183
6136
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
6184
6137
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
6185
6138
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
6186
|
-
attribute: z.ZodObject<Omit<
|
|
6139
|
+
attribute: z.ZodObject<Omit<{
|
|
6187
6140
|
id: z.ZodString;
|
|
6188
6141
|
createdAt: z.ZodDate;
|
|
6189
6142
|
updatedAt: z.ZodDate;
|
|
6190
6143
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6191
|
-
}, {
|
|
6192
6144
|
systemName: z.ZodString;
|
|
6193
6145
|
displayName: z.ZodString;
|
|
6194
6146
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -6197,14 +6149,13 @@ export declare const ticketContract: {
|
|
|
6197
6149
|
isArchived: z.ZodBoolean;
|
|
6198
6150
|
isRequired: z.ZodBoolean;
|
|
6199
6151
|
isUnique: z.ZodBoolean;
|
|
6200
|
-
options: z.ZodArray<z.ZodObject<
|
|
6201
|
-
|
|
6152
|
+
options: z.ZodArray<z.ZodObject<{
|
|
6153
|
+
position: z.ZodNumber;
|
|
6202
6154
|
value: z.ZodString;
|
|
6155
|
+
label: z.ZodString;
|
|
6203
6156
|
isDefault: z.ZodBoolean;
|
|
6204
|
-
position: z.ZodNumber;
|
|
6205
|
-
}, {
|
|
6206
6157
|
id: z.ZodString;
|
|
6207
|
-
}
|
|
6158
|
+
}, "strip", z.ZodTypeAny, {
|
|
6208
6159
|
id: string;
|
|
6209
6160
|
position: number;
|
|
6210
6161
|
value: string;
|
|
@@ -6217,15 +6168,14 @@ export declare const ticketContract: {
|
|
|
6217
6168
|
label: string;
|
|
6218
6169
|
isDefault: boolean;
|
|
6219
6170
|
}>, "many">;
|
|
6220
|
-
group: z.ZodObject<
|
|
6171
|
+
group: z.ZodObject<{
|
|
6221
6172
|
id: z.ZodString;
|
|
6222
6173
|
createdAt: z.ZodDate;
|
|
6223
6174
|
updatedAt: z.ZodDate;
|
|
6224
6175
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6225
|
-
}, {
|
|
6226
6176
|
systemName: z.ZodString;
|
|
6227
6177
|
displayName: z.ZodString;
|
|
6228
|
-
}
|
|
6178
|
+
}, "strip", z.ZodTypeAny, {
|
|
6229
6179
|
id: string;
|
|
6230
6180
|
createdAt: Date;
|
|
6231
6181
|
updatedAt: Date;
|
|
@@ -6240,7 +6190,7 @@ export declare const ticketContract: {
|
|
|
6240
6190
|
systemName: string;
|
|
6241
6191
|
displayName: string;
|
|
6242
6192
|
}>;
|
|
6243
|
-
}
|
|
6193
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
6244
6194
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
6245
6195
|
id: string;
|
|
6246
6196
|
position: number;
|
|
@@ -6267,19 +6217,18 @@ export declare const ticketContract: {
|
|
|
6267
6217
|
isRequired: boolean;
|
|
6268
6218
|
isUnique: boolean;
|
|
6269
6219
|
}>;
|
|
6270
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
6220
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
6271
6221
|
id: z.ZodString;
|
|
6272
6222
|
createdAt: z.ZodDate;
|
|
6273
6223
|
updatedAt: z.ZodDate;
|
|
6274
6224
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6275
|
-
}, {
|
|
6276
6225
|
bucketName: z.ZodString;
|
|
6277
6226
|
fileName: z.ZodString;
|
|
6278
6227
|
fileSize: z.ZodNumber;
|
|
6279
6228
|
fileKey: z.ZodString;
|
|
6280
6229
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
6281
6230
|
status: z.ZodNullable<z.ZodString>;
|
|
6282
|
-
}
|
|
6231
|
+
}, "strip", z.ZodTypeAny, {
|
|
6283
6232
|
id: string;
|
|
6284
6233
|
status: string | null;
|
|
6285
6234
|
createdAt: Date;
|
|
@@ -6302,7 +6251,7 @@ export declare const ticketContract: {
|
|
|
6302
6251
|
fileSize: number;
|
|
6303
6252
|
fileUrl: string | null;
|
|
6304
6253
|
}>, "many">;
|
|
6305
|
-
}
|
|
6254
|
+
}, "strip", z.ZodTypeAny, {
|
|
6306
6255
|
id: string;
|
|
6307
6256
|
createdAt: Date;
|
|
6308
6257
|
updatedAt: Date;
|
|
@@ -6373,14 +6322,13 @@ export declare const ticketContract: {
|
|
|
6373
6322
|
fileUrl: string | null;
|
|
6374
6323
|
}[];
|
|
6375
6324
|
}>, "many">;
|
|
6376
|
-
tags: z.ZodArray<z.ZodObject<
|
|
6325
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
6377
6326
|
id: z.ZodString;
|
|
6378
6327
|
createdAt: z.ZodDate;
|
|
6379
6328
|
updatedAt: z.ZodDate;
|
|
6380
6329
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6381
|
-
}, {
|
|
6382
6330
|
name: z.ZodString;
|
|
6383
|
-
}
|
|
6331
|
+
}, "strip", z.ZodTypeAny, {
|
|
6384
6332
|
name: string;
|
|
6385
6333
|
id: string;
|
|
6386
6334
|
createdAt: Date;
|
|
@@ -6393,12 +6341,11 @@ export declare const ticketContract: {
|
|
|
6393
6341
|
updatedAt: Date;
|
|
6394
6342
|
deletedAt: Date | null;
|
|
6395
6343
|
}>, "many">;
|
|
6396
|
-
categories: z.ZodArray<z.ZodObject<
|
|
6344
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
6397
6345
|
id: z.ZodString;
|
|
6398
6346
|
createdAt: z.ZodDate;
|
|
6399
6347
|
updatedAt: z.ZodDate;
|
|
6400
6348
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6401
|
-
}, {
|
|
6402
6349
|
value: z.ZodString;
|
|
6403
6350
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
6404
6351
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -6451,7 +6398,7 @@ export declare const ticketContract: {
|
|
|
6451
6398
|
childCategoryList: any[];
|
|
6452
6399
|
}[];
|
|
6453
6400
|
}>, "many">;
|
|
6454
|
-
}
|
|
6401
|
+
}, "strip", z.ZodTypeAny, {
|
|
6455
6402
|
id: string;
|
|
6456
6403
|
value: string;
|
|
6457
6404
|
createdAt: Date;
|
|
@@ -6505,14 +6452,13 @@ export declare const ticketContract: {
|
|
|
6505
6452
|
notes: z.ZodNullable<z.ZodString>;
|
|
6506
6453
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
6507
6454
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
6508
|
-
tags: z.ZodArray<z.ZodObject<
|
|
6455
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
6509
6456
|
id: z.ZodString;
|
|
6510
6457
|
createdAt: z.ZodDate;
|
|
6511
6458
|
updatedAt: z.ZodDate;
|
|
6512
6459
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6513
|
-
}, {
|
|
6514
6460
|
name: z.ZodString;
|
|
6515
|
-
}
|
|
6461
|
+
}, "strip", z.ZodTypeAny, {
|
|
6516
6462
|
name: string;
|
|
6517
6463
|
id: string;
|
|
6518
6464
|
createdAt: Date;
|
|
@@ -6525,32 +6471,29 @@ export declare const ticketContract: {
|
|
|
6525
6471
|
updatedAt: Date;
|
|
6526
6472
|
deletedAt: Date | null;
|
|
6527
6473
|
}>, "many">;
|
|
6528
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
|
6474
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
6529
6475
|
id: z.ZodString;
|
|
6530
6476
|
createdAt: z.ZodDate;
|
|
6531
6477
|
updatedAt: z.ZodDate;
|
|
6532
6478
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6533
|
-
}, {
|
|
6534
6479
|
name: z.ZodOptional<z.ZodString>;
|
|
6535
6480
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6536
6481
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6537
6482
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6538
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
6483
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6539
6484
|
id: z.ZodString;
|
|
6540
6485
|
createdAt: z.ZodDate;
|
|
6541
6486
|
updatedAt: z.ZodDate;
|
|
6542
6487
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6543
|
-
}, {
|
|
6544
6488
|
textValue: z.ZodNullable<z.ZodString>;
|
|
6545
6489
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
6546
6490
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
6547
6491
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
6548
|
-
attribute: z.ZodObject<Omit<
|
|
6492
|
+
attribute: z.ZodObject<Omit<{
|
|
6549
6493
|
id: z.ZodString;
|
|
6550
6494
|
createdAt: z.ZodDate;
|
|
6551
6495
|
updatedAt: z.ZodDate;
|
|
6552
6496
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6553
|
-
}, {
|
|
6554
6497
|
systemName: z.ZodString;
|
|
6555
6498
|
displayName: z.ZodString;
|
|
6556
6499
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -6559,14 +6502,13 @@ export declare const ticketContract: {
|
|
|
6559
6502
|
isArchived: z.ZodBoolean;
|
|
6560
6503
|
isRequired: z.ZodBoolean;
|
|
6561
6504
|
isUnique: z.ZodBoolean;
|
|
6562
|
-
options: z.ZodArray<z.ZodObject<
|
|
6563
|
-
|
|
6505
|
+
options: z.ZodArray<z.ZodObject<{
|
|
6506
|
+
position: z.ZodNumber;
|
|
6564
6507
|
value: z.ZodString;
|
|
6508
|
+
label: z.ZodString;
|
|
6565
6509
|
isDefault: z.ZodBoolean;
|
|
6566
|
-
position: z.ZodNumber;
|
|
6567
|
-
}, {
|
|
6568
6510
|
id: z.ZodString;
|
|
6569
|
-
}
|
|
6511
|
+
}, "strip", z.ZodTypeAny, {
|
|
6570
6512
|
id: string;
|
|
6571
6513
|
position: number;
|
|
6572
6514
|
value: string;
|
|
@@ -6579,15 +6521,14 @@ export declare const ticketContract: {
|
|
|
6579
6521
|
label: string;
|
|
6580
6522
|
isDefault: boolean;
|
|
6581
6523
|
}>, "many">;
|
|
6582
|
-
group: z.ZodObject<
|
|
6524
|
+
group: z.ZodObject<{
|
|
6583
6525
|
id: z.ZodString;
|
|
6584
6526
|
createdAt: z.ZodDate;
|
|
6585
6527
|
updatedAt: z.ZodDate;
|
|
6586
6528
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6587
|
-
}, {
|
|
6588
6529
|
systemName: z.ZodString;
|
|
6589
6530
|
displayName: z.ZodString;
|
|
6590
|
-
}
|
|
6531
|
+
}, "strip", z.ZodTypeAny, {
|
|
6591
6532
|
id: string;
|
|
6592
6533
|
createdAt: Date;
|
|
6593
6534
|
updatedAt: Date;
|
|
@@ -6602,7 +6543,7 @@ export declare const ticketContract: {
|
|
|
6602
6543
|
systemName: string;
|
|
6603
6544
|
displayName: string;
|
|
6604
6545
|
}>;
|
|
6605
|
-
}
|
|
6546
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
6606
6547
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
6607
6548
|
id: string;
|
|
6608
6549
|
position: number;
|
|
@@ -6629,7 +6570,7 @@ export declare const ticketContract: {
|
|
|
6629
6570
|
isRequired: boolean;
|
|
6630
6571
|
isUnique: boolean;
|
|
6631
6572
|
}>;
|
|
6632
|
-
}
|
|
6573
|
+
}, "strip", z.ZodTypeAny, {
|
|
6633
6574
|
id: string;
|
|
6634
6575
|
createdAt: Date;
|
|
6635
6576
|
updatedAt: Date;
|
|
@@ -6676,7 +6617,7 @@ export declare const ticketContract: {
|
|
|
6676
6617
|
numberValue: number | null;
|
|
6677
6618
|
dateValue: Date | null;
|
|
6678
6619
|
}>, "many">>;
|
|
6679
|
-
}
|
|
6620
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
|
6680
6621
|
id: string;
|
|
6681
6622
|
createdAt: Date;
|
|
6682
6623
|
updatedAt: Date;
|
|
@@ -6757,12 +6698,11 @@ export declare const ticketContract: {
|
|
|
6757
6698
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
6758
6699
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
6759
6700
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
6760
|
-
attribute: z.ZodObject<Omit<
|
|
6701
|
+
attribute: z.ZodObject<Omit<{
|
|
6761
6702
|
id: z.ZodString;
|
|
6762
6703
|
createdAt: z.ZodDate;
|
|
6763
6704
|
updatedAt: z.ZodDate;
|
|
6764
6705
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6765
|
-
}, {
|
|
6766
6706
|
systemName: z.ZodString;
|
|
6767
6707
|
displayName: z.ZodString;
|
|
6768
6708
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -6771,14 +6711,13 @@ export declare const ticketContract: {
|
|
|
6771
6711
|
isArchived: z.ZodBoolean;
|
|
6772
6712
|
isRequired: z.ZodBoolean;
|
|
6773
6713
|
isUnique: z.ZodBoolean;
|
|
6774
|
-
options: z.ZodArray<z.ZodObject<
|
|
6775
|
-
|
|
6714
|
+
options: z.ZodArray<z.ZodObject<{
|
|
6715
|
+
position: z.ZodNumber;
|
|
6776
6716
|
value: z.ZodString;
|
|
6717
|
+
label: z.ZodString;
|
|
6777
6718
|
isDefault: z.ZodBoolean;
|
|
6778
|
-
position: z.ZodNumber;
|
|
6779
|
-
}, {
|
|
6780
6719
|
id: z.ZodString;
|
|
6781
|
-
}
|
|
6720
|
+
}, "strip", z.ZodTypeAny, {
|
|
6782
6721
|
id: string;
|
|
6783
6722
|
position: number;
|
|
6784
6723
|
value: string;
|
|
@@ -6791,15 +6730,14 @@ export declare const ticketContract: {
|
|
|
6791
6730
|
label: string;
|
|
6792
6731
|
isDefault: boolean;
|
|
6793
6732
|
}>, "many">;
|
|
6794
|
-
group: z.ZodObject<
|
|
6733
|
+
group: z.ZodObject<{
|
|
6795
6734
|
id: z.ZodString;
|
|
6796
6735
|
createdAt: z.ZodDate;
|
|
6797
6736
|
updatedAt: z.ZodDate;
|
|
6798
6737
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6799
|
-
}, {
|
|
6800
6738
|
systemName: z.ZodString;
|
|
6801
6739
|
displayName: z.ZodString;
|
|
6802
|
-
}
|
|
6740
|
+
}, "strip", z.ZodTypeAny, {
|
|
6803
6741
|
id: string;
|
|
6804
6742
|
createdAt: Date;
|
|
6805
6743
|
updatedAt: Date;
|
|
@@ -6814,7 +6752,7 @@ export declare const ticketContract: {
|
|
|
6814
6752
|
systemName: string;
|
|
6815
6753
|
displayName: string;
|
|
6816
6754
|
}>;
|
|
6817
|
-
}
|
|
6755
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
6818
6756
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
6819
6757
|
id: string;
|
|
6820
6758
|
position: number;
|
|
@@ -6841,19 +6779,18 @@ export declare const ticketContract: {
|
|
|
6841
6779
|
isRequired: boolean;
|
|
6842
6780
|
isUnique: boolean;
|
|
6843
6781
|
}>;
|
|
6844
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
6782
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
6845
6783
|
id: z.ZodString;
|
|
6846
6784
|
createdAt: z.ZodDate;
|
|
6847
6785
|
updatedAt: z.ZodDate;
|
|
6848
6786
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6849
|
-
}, {
|
|
6850
6787
|
bucketName: z.ZodString;
|
|
6851
6788
|
fileName: z.ZodString;
|
|
6852
6789
|
fileSize: z.ZodNumber;
|
|
6853
6790
|
fileKey: z.ZodString;
|
|
6854
6791
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
6855
6792
|
status: z.ZodNullable<z.ZodString>;
|
|
6856
|
-
}
|
|
6793
|
+
}, "strip", z.ZodTypeAny, {
|
|
6857
6794
|
id: string;
|
|
6858
6795
|
status: string | null;
|
|
6859
6796
|
createdAt: Date;
|
|
@@ -7279,19 +7216,18 @@ export declare const ticketContract: {
|
|
|
7279
7216
|
createdAt: z.ZodDate;
|
|
7280
7217
|
updatedAt: z.ZodDate;
|
|
7281
7218
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7282
|
-
actor: z.ZodObject<
|
|
7219
|
+
actor: z.ZodObject<{
|
|
7220
|
+
name: z.ZodString;
|
|
7283
7221
|
id: z.ZodString;
|
|
7222
|
+
address: z.ZodNullable<z.ZodString>;
|
|
7223
|
+
email: z.ZodString;
|
|
7284
7224
|
createdAt: z.ZodDate;
|
|
7285
7225
|
updatedAt: z.ZodDate;
|
|
7286
7226
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7287
|
-
name: z.ZodString;
|
|
7288
|
-
email: z.ZodString;
|
|
7289
7227
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
7290
7228
|
password: z.ZodString;
|
|
7291
|
-
address: z.ZodNullable<z.ZodString>;
|
|
7292
7229
|
phone: z.ZodNullable<z.ZodString>;
|
|
7293
7230
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
7294
|
-
}, {
|
|
7295
7231
|
roles: z.ZodArray<z.ZodObject<{
|
|
7296
7232
|
id: z.ZodString;
|
|
7297
7233
|
createdAt: z.ZodDate;
|
|
@@ -7397,7 +7333,7 @@ export declare const ticketContract: {
|
|
|
7397
7333
|
extensionName: string;
|
|
7398
7334
|
telephonySignature: string | null;
|
|
7399
7335
|
}>;
|
|
7400
|
-
}
|
|
7336
|
+
}, "strip", z.ZodTypeAny, {
|
|
7401
7337
|
name: string;
|
|
7402
7338
|
id: string;
|
|
7403
7339
|
address: string | null;
|
|
@@ -7627,7 +7563,7 @@ export declare const ticketContract: {
|
|
|
7627
7563
|
entity: string;
|
|
7628
7564
|
};
|
|
7629
7565
|
}>, "many">;
|
|
7630
|
-
}
|
|
7566
|
+
}, "strip", z.ZodTypeAny, {
|
|
7631
7567
|
type: string;
|
|
7632
7568
|
id: string;
|
|
7633
7569
|
channel: string;
|
|
@@ -7879,7 +7815,7 @@ export declare const ticketContract: {
|
|
|
7879
7815
|
assigneeId: string;
|
|
7880
7816
|
creatorId: string;
|
|
7881
7817
|
reasonToAssign: string | null;
|
|
7882
|
-
|
|
7818
|
+
creator?: {
|
|
7883
7819
|
name: string;
|
|
7884
7820
|
id: string;
|
|
7885
7821
|
address: string | null;
|
|
@@ -7923,7 +7859,7 @@ export declare const ticketContract: {
|
|
|
7923
7859
|
telephonySignature: string | null;
|
|
7924
7860
|
};
|
|
7925
7861
|
} | null | undefined;
|
|
7926
|
-
|
|
7862
|
+
assignee?: {
|
|
7927
7863
|
name: string;
|
|
7928
7864
|
id: string;
|
|
7929
7865
|
address: string | null;
|
|
@@ -8220,7 +8156,7 @@ export declare const ticketContract: {
|
|
|
8220
8156
|
assigneeId: string;
|
|
8221
8157
|
creatorId: string;
|
|
8222
8158
|
reasonToAssign: string | null;
|
|
8223
|
-
|
|
8159
|
+
creator?: {
|
|
8224
8160
|
name: string;
|
|
8225
8161
|
id: string;
|
|
8226
8162
|
address: string | null;
|
|
@@ -8264,7 +8200,7 @@ export declare const ticketContract: {
|
|
|
8264
8200
|
telephonySignature: string | null;
|
|
8265
8201
|
};
|
|
8266
8202
|
} | null | undefined;
|
|
8267
|
-
|
|
8203
|
+
assignee?: {
|
|
8268
8204
|
name: string;
|
|
8269
8205
|
id: string;
|
|
8270
8206
|
address: string | null;
|
|
@@ -8310,7 +8246,7 @@ export declare const ticketContract: {
|
|
|
8310
8246
|
} | null | undefined;
|
|
8311
8247
|
ticketNumber?: number | undefined;
|
|
8312
8248
|
}>;
|
|
8313
|
-
}
|
|
8249
|
+
}, "strip", z.ZodTypeAny, {
|
|
8314
8250
|
data: {
|
|
8315
8251
|
type: string;
|
|
8316
8252
|
id: string;
|
|
@@ -8563,7 +8499,7 @@ export declare const ticketContract: {
|
|
|
8563
8499
|
assigneeId: string;
|
|
8564
8500
|
creatorId: string;
|
|
8565
8501
|
reasonToAssign: string | null;
|
|
8566
|
-
|
|
8502
|
+
creator?: {
|
|
8567
8503
|
name: string;
|
|
8568
8504
|
id: string;
|
|
8569
8505
|
address: string | null;
|
|
@@ -8607,7 +8543,7 @@ export declare const ticketContract: {
|
|
|
8607
8543
|
telephonySignature: string | null;
|
|
8608
8544
|
};
|
|
8609
8545
|
} | null | undefined;
|
|
8610
|
-
|
|
8546
|
+
assignee?: {
|
|
8611
8547
|
name: string;
|
|
8612
8548
|
id: string;
|
|
8613
8549
|
address: string | null;
|
|
@@ -8907,7 +8843,7 @@ export declare const ticketContract: {
|
|
|
8907
8843
|
assigneeId: string;
|
|
8908
8844
|
creatorId: string;
|
|
8909
8845
|
reasonToAssign: string | null;
|
|
8910
|
-
|
|
8846
|
+
creator?: {
|
|
8911
8847
|
name: string;
|
|
8912
8848
|
id: string;
|
|
8913
8849
|
address: string | null;
|
|
@@ -8951,7 +8887,7 @@ export declare const ticketContract: {
|
|
|
8951
8887
|
telephonySignature: string | null;
|
|
8952
8888
|
};
|
|
8953
8889
|
} | null | undefined;
|
|
8954
|
-
|
|
8890
|
+
assignee?: {
|
|
8955
8891
|
name: string;
|
|
8956
8892
|
id: string;
|
|
8957
8893
|
address: string | null;
|
|
@@ -9027,6 +8963,23 @@ export declare const ticketContract: {
|
|
|
9027
8963
|
error?: any;
|
|
9028
8964
|
}>;
|
|
9029
8965
|
};
|
|
8966
|
+
path: "ts/ticket/:id";
|
|
8967
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8968
|
+
'x-tenant': z.ZodString;
|
|
8969
|
+
'x-service-token': z.ZodString;
|
|
8970
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
8971
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
8972
|
+
}, "strip", z.ZodTypeAny, {
|
|
8973
|
+
'x-tenant': string;
|
|
8974
|
+
'x-service-token': string;
|
|
8975
|
+
'x-client-timezone': string;
|
|
8976
|
+
'x-code'?: string | undefined;
|
|
8977
|
+
}, {
|
|
8978
|
+
'x-tenant': string;
|
|
8979
|
+
'x-service-token': string;
|
|
8980
|
+
'x-code'?: string | undefined;
|
|
8981
|
+
'x-client-timezone'?: string | undefined;
|
|
8982
|
+
}>>>;
|
|
9030
8983
|
};
|
|
9031
8984
|
getTicketByContactId: {
|
|
9032
8985
|
summary: "Get ticket by contact id.";
|
|
@@ -9048,33 +9001,14 @@ export declare const ticketContract: {
|
|
|
9048
9001
|
page?: number | undefined;
|
|
9049
9002
|
pageSize?: number | undefined;
|
|
9050
9003
|
}>;
|
|
9051
|
-
path: "ts/ticket/contact/:id";
|
|
9052
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9053
|
-
'x-tenant': z.ZodString;
|
|
9054
|
-
'x-service-token': z.ZodString;
|
|
9055
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
9056
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
9057
|
-
}, "strip", z.ZodTypeAny, {
|
|
9058
|
-
'x-tenant': string;
|
|
9059
|
-
'x-service-token': string;
|
|
9060
|
-
'x-client-timezone': string;
|
|
9061
|
-
'x-code'?: string | undefined;
|
|
9062
|
-
}, {
|
|
9063
|
-
'x-tenant': string;
|
|
9064
|
-
'x-service-token': string;
|
|
9065
|
-
'x-code'?: string | undefined;
|
|
9066
|
-
'x-client-timezone'?: string | undefined;
|
|
9067
|
-
}>>>;
|
|
9068
9004
|
responses: {
|
|
9069
|
-
200: z.ZodObject<
|
|
9005
|
+
200: z.ZodObject<{
|
|
9070
9006
|
requestId: z.ZodString;
|
|
9071
|
-
|
|
9072
|
-
|
|
9007
|
+
data: z.ZodObject<{
|
|
9008
|
+
total: z.ZodNumber;
|
|
9073
9009
|
page: z.ZodDefault<z.ZodNumber>;
|
|
9074
9010
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
9075
|
-
total: z.ZodNumber;
|
|
9076
9011
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9077
|
-
}, {
|
|
9078
9012
|
data: z.ZodArray<z.ZodType<{
|
|
9079
9013
|
type: string;
|
|
9080
9014
|
id: string;
|
|
@@ -9327,7 +9261,7 @@ export declare const ticketContract: {
|
|
|
9327
9261
|
assigneeId: string;
|
|
9328
9262
|
creatorId: string;
|
|
9329
9263
|
reasonToAssign: string | null;
|
|
9330
|
-
|
|
9264
|
+
creator?: {
|
|
9331
9265
|
name: string;
|
|
9332
9266
|
id: string;
|
|
9333
9267
|
address: string | null;
|
|
@@ -9371,7 +9305,7 @@ export declare const ticketContract: {
|
|
|
9371
9305
|
telephonySignature: string | null;
|
|
9372
9306
|
};
|
|
9373
9307
|
} | null | undefined;
|
|
9374
|
-
|
|
9308
|
+
assignee?: {
|
|
9375
9309
|
name: string;
|
|
9376
9310
|
id: string;
|
|
9377
9311
|
address: string | null;
|
|
@@ -9668,7 +9602,7 @@ export declare const ticketContract: {
|
|
|
9668
9602
|
assigneeId: string;
|
|
9669
9603
|
creatorId: string;
|
|
9670
9604
|
reasonToAssign: string | null;
|
|
9671
|
-
|
|
9605
|
+
creator?: {
|
|
9672
9606
|
name: string;
|
|
9673
9607
|
id: string;
|
|
9674
9608
|
address: string | null;
|
|
@@ -9712,7 +9646,7 @@ export declare const ticketContract: {
|
|
|
9712
9646
|
telephonySignature: string | null;
|
|
9713
9647
|
};
|
|
9714
9648
|
} | null | undefined;
|
|
9715
|
-
|
|
9649
|
+
assignee?: {
|
|
9716
9650
|
name: string;
|
|
9717
9651
|
id: string;
|
|
9718
9652
|
address: string | null;
|
|
@@ -9758,7 +9692,7 @@ export declare const ticketContract: {
|
|
|
9758
9692
|
} | null | undefined;
|
|
9759
9693
|
ticketNumber?: number | undefined;
|
|
9760
9694
|
}>, "many">;
|
|
9761
|
-
}
|
|
9695
|
+
}, "strip", z.ZodTypeAny, {
|
|
9762
9696
|
data: {
|
|
9763
9697
|
type: string;
|
|
9764
9698
|
id: string;
|
|
@@ -10011,7 +9945,7 @@ export declare const ticketContract: {
|
|
|
10011
9945
|
assigneeId: string;
|
|
10012
9946
|
creatorId: string;
|
|
10013
9947
|
reasonToAssign: string | null;
|
|
10014
|
-
|
|
9948
|
+
creator?: {
|
|
10015
9949
|
name: string;
|
|
10016
9950
|
id: string;
|
|
10017
9951
|
address: string | null;
|
|
@@ -10055,7 +9989,7 @@ export declare const ticketContract: {
|
|
|
10055
9989
|
telephonySignature: string | null;
|
|
10056
9990
|
};
|
|
10057
9991
|
} | null | undefined;
|
|
10058
|
-
|
|
9992
|
+
assignee?: {
|
|
10059
9993
|
name: string;
|
|
10060
9994
|
id: string;
|
|
10061
9995
|
address: string | null;
|
|
@@ -10358,7 +10292,7 @@ export declare const ticketContract: {
|
|
|
10358
10292
|
assigneeId: string;
|
|
10359
10293
|
creatorId: string;
|
|
10360
10294
|
reasonToAssign: string | null;
|
|
10361
|
-
|
|
10295
|
+
creator?: {
|
|
10362
10296
|
name: string;
|
|
10363
10297
|
id: string;
|
|
10364
10298
|
address: string | null;
|
|
@@ -10402,7 +10336,7 @@ export declare const ticketContract: {
|
|
|
10402
10336
|
telephonySignature: string | null;
|
|
10403
10337
|
};
|
|
10404
10338
|
} | null | undefined;
|
|
10405
|
-
|
|
10339
|
+
assignee?: {
|
|
10406
10340
|
name: string;
|
|
10407
10341
|
id: string;
|
|
10408
10342
|
address: string | null;
|
|
@@ -10453,7 +10387,7 @@ export declare const ticketContract: {
|
|
|
10453
10387
|
pageSize?: number | undefined;
|
|
10454
10388
|
lastPage?: number | null | undefined;
|
|
10455
10389
|
}>;
|
|
10456
|
-
}
|
|
10390
|
+
}, "strip", z.ZodTypeAny, {
|
|
10457
10391
|
data: {
|
|
10458
10392
|
data: {
|
|
10459
10393
|
type: string;
|
|
@@ -10707,7 +10641,7 @@ export declare const ticketContract: {
|
|
|
10707
10641
|
assigneeId: string;
|
|
10708
10642
|
creatorId: string;
|
|
10709
10643
|
reasonToAssign: string | null;
|
|
10710
|
-
|
|
10644
|
+
creator?: {
|
|
10711
10645
|
name: string;
|
|
10712
10646
|
id: string;
|
|
10713
10647
|
address: string | null;
|
|
@@ -10751,7 +10685,7 @@ export declare const ticketContract: {
|
|
|
10751
10685
|
telephonySignature: string | null;
|
|
10752
10686
|
};
|
|
10753
10687
|
} | null | undefined;
|
|
10754
|
-
|
|
10688
|
+
assignee?: {
|
|
10755
10689
|
name: string;
|
|
10756
10690
|
id: string;
|
|
10757
10691
|
address: string | null;
|
|
@@ -11057,7 +10991,7 @@ export declare const ticketContract: {
|
|
|
11057
10991
|
assigneeId: string;
|
|
11058
10992
|
creatorId: string;
|
|
11059
10993
|
reasonToAssign: string | null;
|
|
11060
|
-
|
|
10994
|
+
creator?: {
|
|
11061
10995
|
name: string;
|
|
11062
10996
|
id: string;
|
|
11063
10997
|
address: string | null;
|
|
@@ -11101,7 +11035,7 @@ export declare const ticketContract: {
|
|
|
11101
11035
|
telephonySignature: string | null;
|
|
11102
11036
|
};
|
|
11103
11037
|
} | null | undefined;
|
|
11104
|
-
|
|
11038
|
+
assignee?: {
|
|
11105
11039
|
name: string;
|
|
11106
11040
|
id: string;
|
|
11107
11041
|
address: string | null;
|
|
@@ -11182,6 +11116,23 @@ export declare const ticketContract: {
|
|
|
11182
11116
|
error?: any;
|
|
11183
11117
|
}>;
|
|
11184
11118
|
};
|
|
11119
|
+
path: "ts/ticket/contact/:id";
|
|
11120
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11121
|
+
'x-tenant': z.ZodString;
|
|
11122
|
+
'x-service-token': z.ZodString;
|
|
11123
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
11124
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
11125
|
+
}, "strip", z.ZodTypeAny, {
|
|
11126
|
+
'x-tenant': string;
|
|
11127
|
+
'x-service-token': string;
|
|
11128
|
+
'x-client-timezone': string;
|
|
11129
|
+
'x-code'?: string | undefined;
|
|
11130
|
+
}, {
|
|
11131
|
+
'x-tenant': string;
|
|
11132
|
+
'x-service-token': string;
|
|
11133
|
+
'x-code'?: string | undefined;
|
|
11134
|
+
'x-client-timezone'?: string | undefined;
|
|
11135
|
+
}>>>;
|
|
11185
11136
|
};
|
|
11186
11137
|
updateTicket: {
|
|
11187
11138
|
body: z.ZodObject<{
|
|
@@ -11238,12 +11189,11 @@ export declare const ticketContract: {
|
|
|
11238
11189
|
}, {
|
|
11239
11190
|
[x: string]: any;
|
|
11240
11191
|
}>;
|
|
11241
|
-
categories: z.ZodObject<
|
|
11192
|
+
categories: z.ZodObject<{
|
|
11242
11193
|
isRequired: z.ZodBoolean;
|
|
11243
11194
|
attributeId: z.ZodString;
|
|
11244
|
-
}, {
|
|
11245
11195
|
value: z.ZodArray<z.ZodString, "many">;
|
|
11246
|
-
}
|
|
11196
|
+
}, "strip", z.ZodTypeAny, {
|
|
11247
11197
|
value: string[];
|
|
11248
11198
|
isRequired: boolean;
|
|
11249
11199
|
attributeId: string;
|
|
@@ -11356,33 +11306,14 @@ export declare const ticketContract: {
|
|
|
11356
11306
|
}, {
|
|
11357
11307
|
id: string;
|
|
11358
11308
|
}>;
|
|
11359
|
-
path: "ts/ticket/:id";
|
|
11360
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11361
|
-
'x-tenant': z.ZodString;
|
|
11362
|
-
'x-service-token': z.ZodString;
|
|
11363
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
11364
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
11365
|
-
}, "strip", z.ZodTypeAny, {
|
|
11366
|
-
'x-tenant': string;
|
|
11367
|
-
'x-service-token': string;
|
|
11368
|
-
'x-client-timezone': string;
|
|
11369
|
-
'x-code'?: string | undefined;
|
|
11370
|
-
}, {
|
|
11371
|
-
'x-tenant': string;
|
|
11372
|
-
'x-service-token': string;
|
|
11373
|
-
'x-code'?: string | undefined;
|
|
11374
|
-
'x-client-timezone'?: string | undefined;
|
|
11375
|
-
}>>>;
|
|
11376
11309
|
responses: {
|
|
11377
|
-
201: z.ZodObject<
|
|
11310
|
+
201: z.ZodObject<{
|
|
11378
11311
|
requestId: z.ZodString;
|
|
11379
|
-
|
|
11380
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
11312
|
+
data: z.ZodObject<{
|
|
11381
11313
|
id: z.ZodString;
|
|
11382
11314
|
createdAt: z.ZodDate;
|
|
11383
11315
|
updatedAt: z.ZodDate;
|
|
11384
11316
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11385
|
-
}, {
|
|
11386
11317
|
title: z.ZodString;
|
|
11387
11318
|
description: z.ZodNullable<z.ZodString>;
|
|
11388
11319
|
type: z.ZodString;
|
|
@@ -11391,19 +11322,18 @@ export declare const ticketContract: {
|
|
|
11391
11322
|
status: z.ZodString;
|
|
11392
11323
|
contactId: z.ZodString;
|
|
11393
11324
|
creatorId: z.ZodString;
|
|
11394
|
-
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
11325
|
+
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11326
|
+
name: z.ZodString;
|
|
11395
11327
|
id: z.ZodString;
|
|
11328
|
+
address: z.ZodNullable<z.ZodString>;
|
|
11329
|
+
email: z.ZodString;
|
|
11396
11330
|
createdAt: z.ZodDate;
|
|
11397
11331
|
updatedAt: z.ZodDate;
|
|
11398
11332
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11399
|
-
name: z.ZodString;
|
|
11400
|
-
email: z.ZodString;
|
|
11401
11333
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
11402
11334
|
password: z.ZodString;
|
|
11403
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11404
11335
|
phone: z.ZodNullable<z.ZodString>;
|
|
11405
11336
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
11406
|
-
}, {
|
|
11407
11337
|
roles: z.ZodArray<z.ZodObject<{
|
|
11408
11338
|
id: z.ZodString;
|
|
11409
11339
|
createdAt: z.ZodDate;
|
|
@@ -11509,7 +11439,7 @@ export declare const ticketContract: {
|
|
|
11509
11439
|
extensionName: string;
|
|
11510
11440
|
telephonySignature: string | null;
|
|
11511
11441
|
}>;
|
|
11512
|
-
}
|
|
11442
|
+
}, "strip", z.ZodTypeAny, {
|
|
11513
11443
|
name: string;
|
|
11514
11444
|
id: string;
|
|
11515
11445
|
address: string | null;
|
|
@@ -11597,19 +11527,18 @@ export declare const ticketContract: {
|
|
|
11597
11527
|
};
|
|
11598
11528
|
}>>>;
|
|
11599
11529
|
assigneeId: z.ZodString;
|
|
11600
|
-
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
11530
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11531
|
+
name: z.ZodString;
|
|
11601
11532
|
id: z.ZodString;
|
|
11533
|
+
address: z.ZodNullable<z.ZodString>;
|
|
11534
|
+
email: z.ZodString;
|
|
11602
11535
|
createdAt: z.ZodDate;
|
|
11603
11536
|
updatedAt: z.ZodDate;
|
|
11604
11537
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11605
|
-
name: z.ZodString;
|
|
11606
|
-
email: z.ZodString;
|
|
11607
11538
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
11608
11539
|
password: z.ZodString;
|
|
11609
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11610
11540
|
phone: z.ZodNullable<z.ZodString>;
|
|
11611
11541
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
11612
|
-
}, {
|
|
11613
11542
|
roles: z.ZodArray<z.ZodObject<{
|
|
11614
11543
|
id: z.ZodString;
|
|
11615
11544
|
createdAt: z.ZodDate;
|
|
@@ -11715,7 +11644,7 @@ export declare const ticketContract: {
|
|
|
11715
11644
|
extensionName: string;
|
|
11716
11645
|
telephonySignature: string | null;
|
|
11717
11646
|
}>;
|
|
11718
|
-
}
|
|
11647
|
+
}, "strip", z.ZodTypeAny, {
|
|
11719
11648
|
name: string;
|
|
11720
11649
|
id: string;
|
|
11721
11650
|
address: string | null;
|
|
@@ -11804,22 +11733,20 @@ export declare const ticketContract: {
|
|
|
11804
11733
|
}>>>;
|
|
11805
11734
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
11806
11735
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
11807
|
-
customFields: z.ZodArray<z.ZodObject<
|
|
11736
|
+
customFields: z.ZodArray<z.ZodObject<{
|
|
11808
11737
|
id: z.ZodString;
|
|
11809
11738
|
createdAt: z.ZodDate;
|
|
11810
11739
|
updatedAt: z.ZodDate;
|
|
11811
11740
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11812
|
-
}, {
|
|
11813
11741
|
textValue: z.ZodNullable<z.ZodString>;
|
|
11814
11742
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
11815
11743
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
11816
11744
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
11817
|
-
attribute: z.ZodObject<Omit<
|
|
11745
|
+
attribute: z.ZodObject<Omit<{
|
|
11818
11746
|
id: z.ZodString;
|
|
11819
11747
|
createdAt: z.ZodDate;
|
|
11820
11748
|
updatedAt: z.ZodDate;
|
|
11821
11749
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11822
|
-
}, {
|
|
11823
11750
|
systemName: z.ZodString;
|
|
11824
11751
|
displayName: z.ZodString;
|
|
11825
11752
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -11828,14 +11755,13 @@ export declare const ticketContract: {
|
|
|
11828
11755
|
isArchived: z.ZodBoolean;
|
|
11829
11756
|
isRequired: z.ZodBoolean;
|
|
11830
11757
|
isUnique: z.ZodBoolean;
|
|
11831
|
-
options: z.ZodArray<z.ZodObject<
|
|
11832
|
-
|
|
11758
|
+
options: z.ZodArray<z.ZodObject<{
|
|
11759
|
+
position: z.ZodNumber;
|
|
11833
11760
|
value: z.ZodString;
|
|
11761
|
+
label: z.ZodString;
|
|
11834
11762
|
isDefault: z.ZodBoolean;
|
|
11835
|
-
position: z.ZodNumber;
|
|
11836
|
-
}, {
|
|
11837
11763
|
id: z.ZodString;
|
|
11838
|
-
}
|
|
11764
|
+
}, "strip", z.ZodTypeAny, {
|
|
11839
11765
|
id: string;
|
|
11840
11766
|
position: number;
|
|
11841
11767
|
value: string;
|
|
@@ -11848,15 +11774,14 @@ export declare const ticketContract: {
|
|
|
11848
11774
|
label: string;
|
|
11849
11775
|
isDefault: boolean;
|
|
11850
11776
|
}>, "many">;
|
|
11851
|
-
group: z.ZodObject<
|
|
11777
|
+
group: z.ZodObject<{
|
|
11852
11778
|
id: z.ZodString;
|
|
11853
11779
|
createdAt: z.ZodDate;
|
|
11854
11780
|
updatedAt: z.ZodDate;
|
|
11855
11781
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11856
|
-
}, {
|
|
11857
11782
|
systemName: z.ZodString;
|
|
11858
11783
|
displayName: z.ZodString;
|
|
11859
|
-
}
|
|
11784
|
+
}, "strip", z.ZodTypeAny, {
|
|
11860
11785
|
id: string;
|
|
11861
11786
|
createdAt: Date;
|
|
11862
11787
|
updatedAt: Date;
|
|
@@ -11871,7 +11796,7 @@ export declare const ticketContract: {
|
|
|
11871
11796
|
systemName: string;
|
|
11872
11797
|
displayName: string;
|
|
11873
11798
|
}>;
|
|
11874
|
-
}
|
|
11799
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
11875
11800
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
11876
11801
|
id: string;
|
|
11877
11802
|
position: number;
|
|
@@ -11898,19 +11823,18 @@ export declare const ticketContract: {
|
|
|
11898
11823
|
isRequired: boolean;
|
|
11899
11824
|
isUnique: boolean;
|
|
11900
11825
|
}>;
|
|
11901
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
11826
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
11902
11827
|
id: z.ZodString;
|
|
11903
11828
|
createdAt: z.ZodDate;
|
|
11904
11829
|
updatedAt: z.ZodDate;
|
|
11905
11830
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11906
|
-
}, {
|
|
11907
11831
|
bucketName: z.ZodString;
|
|
11908
11832
|
fileName: z.ZodString;
|
|
11909
11833
|
fileSize: z.ZodNumber;
|
|
11910
11834
|
fileKey: z.ZodString;
|
|
11911
11835
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
11912
11836
|
status: z.ZodNullable<z.ZodString>;
|
|
11913
|
-
}
|
|
11837
|
+
}, "strip", z.ZodTypeAny, {
|
|
11914
11838
|
id: string;
|
|
11915
11839
|
status: string | null;
|
|
11916
11840
|
createdAt: Date;
|
|
@@ -11933,7 +11857,7 @@ export declare const ticketContract: {
|
|
|
11933
11857
|
fileSize: number;
|
|
11934
11858
|
fileUrl: string | null;
|
|
11935
11859
|
}>, "many">;
|
|
11936
|
-
}
|
|
11860
|
+
}, "strip", z.ZodTypeAny, {
|
|
11937
11861
|
id: string;
|
|
11938
11862
|
createdAt: Date;
|
|
11939
11863
|
updatedAt: Date;
|
|
@@ -12004,14 +11928,13 @@ export declare const ticketContract: {
|
|
|
12004
11928
|
fileUrl: string | null;
|
|
12005
11929
|
}[];
|
|
12006
11930
|
}>, "many">;
|
|
12007
|
-
tags: z.ZodArray<z.ZodObject<
|
|
11931
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
12008
11932
|
id: z.ZodString;
|
|
12009
11933
|
createdAt: z.ZodDate;
|
|
12010
11934
|
updatedAt: z.ZodDate;
|
|
12011
11935
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12012
|
-
}, {
|
|
12013
11936
|
name: z.ZodString;
|
|
12014
|
-
}
|
|
11937
|
+
}, "strip", z.ZodTypeAny, {
|
|
12015
11938
|
name: string;
|
|
12016
11939
|
id: string;
|
|
12017
11940
|
createdAt: Date;
|
|
@@ -12024,12 +11947,11 @@ export declare const ticketContract: {
|
|
|
12024
11947
|
updatedAt: Date;
|
|
12025
11948
|
deletedAt: Date | null;
|
|
12026
11949
|
}>, "many">;
|
|
12027
|
-
categories: z.ZodArray<z.ZodObject<
|
|
11950
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
12028
11951
|
id: z.ZodString;
|
|
12029
11952
|
createdAt: z.ZodDate;
|
|
12030
11953
|
updatedAt: z.ZodDate;
|
|
12031
11954
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12032
|
-
}, {
|
|
12033
11955
|
value: z.ZodString;
|
|
12034
11956
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
12035
11957
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -12082,7 +12004,7 @@ export declare const ticketContract: {
|
|
|
12082
12004
|
childCategoryList: any[];
|
|
12083
12005
|
}[];
|
|
12084
12006
|
}>, "many">;
|
|
12085
|
-
}
|
|
12007
|
+
}, "strip", z.ZodTypeAny, {
|
|
12086
12008
|
id: string;
|
|
12087
12009
|
value: string;
|
|
12088
12010
|
createdAt: Date;
|
|
@@ -12136,14 +12058,13 @@ export declare const ticketContract: {
|
|
|
12136
12058
|
notes: z.ZodNullable<z.ZodString>;
|
|
12137
12059
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
12138
12060
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
12139
|
-
tags: z.ZodArray<z.ZodObject<
|
|
12061
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
12140
12062
|
id: z.ZodString;
|
|
12141
12063
|
createdAt: z.ZodDate;
|
|
12142
12064
|
updatedAt: z.ZodDate;
|
|
12143
12065
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12144
|
-
}, {
|
|
12145
12066
|
name: z.ZodString;
|
|
12146
|
-
}
|
|
12067
|
+
}, "strip", z.ZodTypeAny, {
|
|
12147
12068
|
name: string;
|
|
12148
12069
|
id: string;
|
|
12149
12070
|
createdAt: Date;
|
|
@@ -12156,32 +12077,29 @@ export declare const ticketContract: {
|
|
|
12156
12077
|
updatedAt: Date;
|
|
12157
12078
|
deletedAt: Date | null;
|
|
12158
12079
|
}>, "many">;
|
|
12159
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
|
12080
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
12160
12081
|
id: z.ZodString;
|
|
12161
12082
|
createdAt: z.ZodDate;
|
|
12162
12083
|
updatedAt: z.ZodDate;
|
|
12163
12084
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12164
|
-
}, {
|
|
12165
12085
|
name: z.ZodOptional<z.ZodString>;
|
|
12166
12086
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12167
12087
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12168
12088
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12169
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
12089
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12170
12090
|
id: z.ZodString;
|
|
12171
12091
|
createdAt: z.ZodDate;
|
|
12172
12092
|
updatedAt: z.ZodDate;
|
|
12173
12093
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12174
|
-
}, {
|
|
12175
12094
|
textValue: z.ZodNullable<z.ZodString>;
|
|
12176
12095
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
12177
12096
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
12178
12097
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
12179
|
-
attribute: z.ZodObject<Omit<
|
|
12098
|
+
attribute: z.ZodObject<Omit<{
|
|
12180
12099
|
id: z.ZodString;
|
|
12181
12100
|
createdAt: z.ZodDate;
|
|
12182
12101
|
updatedAt: z.ZodDate;
|
|
12183
12102
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12184
|
-
}, {
|
|
12185
12103
|
systemName: z.ZodString;
|
|
12186
12104
|
displayName: z.ZodString;
|
|
12187
12105
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -12190,14 +12108,13 @@ export declare const ticketContract: {
|
|
|
12190
12108
|
isArchived: z.ZodBoolean;
|
|
12191
12109
|
isRequired: z.ZodBoolean;
|
|
12192
12110
|
isUnique: z.ZodBoolean;
|
|
12193
|
-
options: z.ZodArray<z.ZodObject<
|
|
12194
|
-
|
|
12111
|
+
options: z.ZodArray<z.ZodObject<{
|
|
12112
|
+
position: z.ZodNumber;
|
|
12195
12113
|
value: z.ZodString;
|
|
12114
|
+
label: z.ZodString;
|
|
12196
12115
|
isDefault: z.ZodBoolean;
|
|
12197
|
-
position: z.ZodNumber;
|
|
12198
|
-
}, {
|
|
12199
12116
|
id: z.ZodString;
|
|
12200
|
-
}
|
|
12117
|
+
}, "strip", z.ZodTypeAny, {
|
|
12201
12118
|
id: string;
|
|
12202
12119
|
position: number;
|
|
12203
12120
|
value: string;
|
|
@@ -12210,15 +12127,14 @@ export declare const ticketContract: {
|
|
|
12210
12127
|
label: string;
|
|
12211
12128
|
isDefault: boolean;
|
|
12212
12129
|
}>, "many">;
|
|
12213
|
-
group: z.ZodObject<
|
|
12130
|
+
group: z.ZodObject<{
|
|
12214
12131
|
id: z.ZodString;
|
|
12215
12132
|
createdAt: z.ZodDate;
|
|
12216
12133
|
updatedAt: z.ZodDate;
|
|
12217
12134
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12218
|
-
}, {
|
|
12219
12135
|
systemName: z.ZodString;
|
|
12220
12136
|
displayName: z.ZodString;
|
|
12221
|
-
}
|
|
12137
|
+
}, "strip", z.ZodTypeAny, {
|
|
12222
12138
|
id: string;
|
|
12223
12139
|
createdAt: Date;
|
|
12224
12140
|
updatedAt: Date;
|
|
@@ -12233,7 +12149,7 @@ export declare const ticketContract: {
|
|
|
12233
12149
|
systemName: string;
|
|
12234
12150
|
displayName: string;
|
|
12235
12151
|
}>;
|
|
12236
|
-
}
|
|
12152
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
12237
12153
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
12238
12154
|
id: string;
|
|
12239
12155
|
position: number;
|
|
@@ -12260,7 +12176,7 @@ export declare const ticketContract: {
|
|
|
12260
12176
|
isRequired: boolean;
|
|
12261
12177
|
isUnique: boolean;
|
|
12262
12178
|
}>;
|
|
12263
|
-
}
|
|
12179
|
+
}, "strip", z.ZodTypeAny, {
|
|
12264
12180
|
id: string;
|
|
12265
12181
|
createdAt: Date;
|
|
12266
12182
|
updatedAt: Date;
|
|
@@ -12307,7 +12223,7 @@ export declare const ticketContract: {
|
|
|
12307
12223
|
numberValue: number | null;
|
|
12308
12224
|
dateValue: Date | null;
|
|
12309
12225
|
}>, "many">>;
|
|
12310
|
-
}
|
|
12226
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
|
12311
12227
|
id: string;
|
|
12312
12228
|
createdAt: Date;
|
|
12313
12229
|
updatedAt: Date;
|
|
@@ -12388,12 +12304,11 @@ export declare const ticketContract: {
|
|
|
12388
12304
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
12389
12305
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
12390
12306
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
12391
|
-
attribute: z.ZodObject<Omit<
|
|
12307
|
+
attribute: z.ZodObject<Omit<{
|
|
12392
12308
|
id: z.ZodString;
|
|
12393
12309
|
createdAt: z.ZodDate;
|
|
12394
12310
|
updatedAt: z.ZodDate;
|
|
12395
12311
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12396
|
-
}, {
|
|
12397
12312
|
systemName: z.ZodString;
|
|
12398
12313
|
displayName: z.ZodString;
|
|
12399
12314
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -12402,14 +12317,13 @@ export declare const ticketContract: {
|
|
|
12402
12317
|
isArchived: z.ZodBoolean;
|
|
12403
12318
|
isRequired: z.ZodBoolean;
|
|
12404
12319
|
isUnique: z.ZodBoolean;
|
|
12405
|
-
options: z.ZodArray<z.ZodObject<
|
|
12406
|
-
|
|
12320
|
+
options: z.ZodArray<z.ZodObject<{
|
|
12321
|
+
position: z.ZodNumber;
|
|
12407
12322
|
value: z.ZodString;
|
|
12323
|
+
label: z.ZodString;
|
|
12408
12324
|
isDefault: z.ZodBoolean;
|
|
12409
|
-
position: z.ZodNumber;
|
|
12410
|
-
}, {
|
|
12411
12325
|
id: z.ZodString;
|
|
12412
|
-
}
|
|
12326
|
+
}, "strip", z.ZodTypeAny, {
|
|
12413
12327
|
id: string;
|
|
12414
12328
|
position: number;
|
|
12415
12329
|
value: string;
|
|
@@ -12422,15 +12336,14 @@ export declare const ticketContract: {
|
|
|
12422
12336
|
label: string;
|
|
12423
12337
|
isDefault: boolean;
|
|
12424
12338
|
}>, "many">;
|
|
12425
|
-
group: z.ZodObject<
|
|
12339
|
+
group: z.ZodObject<{
|
|
12426
12340
|
id: z.ZodString;
|
|
12427
12341
|
createdAt: z.ZodDate;
|
|
12428
12342
|
updatedAt: z.ZodDate;
|
|
12429
12343
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12430
|
-
}, {
|
|
12431
12344
|
systemName: z.ZodString;
|
|
12432
12345
|
displayName: z.ZodString;
|
|
12433
|
-
}
|
|
12346
|
+
}, "strip", z.ZodTypeAny, {
|
|
12434
12347
|
id: string;
|
|
12435
12348
|
createdAt: Date;
|
|
12436
12349
|
updatedAt: Date;
|
|
@@ -12445,7 +12358,7 @@ export declare const ticketContract: {
|
|
|
12445
12358
|
systemName: string;
|
|
12446
12359
|
displayName: string;
|
|
12447
12360
|
}>;
|
|
12448
|
-
}
|
|
12361
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
12449
12362
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
12450
12363
|
id: string;
|
|
12451
12364
|
position: number;
|
|
@@ -12472,19 +12385,18 @@ export declare const ticketContract: {
|
|
|
12472
12385
|
isRequired: boolean;
|
|
12473
12386
|
isUnique: boolean;
|
|
12474
12387
|
}>;
|
|
12475
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
12388
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
12476
12389
|
id: z.ZodString;
|
|
12477
12390
|
createdAt: z.ZodDate;
|
|
12478
12391
|
updatedAt: z.ZodDate;
|
|
12479
12392
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12480
|
-
}, {
|
|
12481
12393
|
bucketName: z.ZodString;
|
|
12482
12394
|
fileName: z.ZodString;
|
|
12483
12395
|
fileSize: z.ZodNumber;
|
|
12484
12396
|
fileKey: z.ZodString;
|
|
12485
12397
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
12486
12398
|
status: z.ZodNullable<z.ZodString>;
|
|
12487
|
-
}
|
|
12399
|
+
}, "strip", z.ZodTypeAny, {
|
|
12488
12400
|
id: string;
|
|
12489
12401
|
status: string | null;
|
|
12490
12402
|
createdAt: Date;
|
|
@@ -12910,19 +12822,18 @@ export declare const ticketContract: {
|
|
|
12910
12822
|
createdAt: z.ZodDate;
|
|
12911
12823
|
updatedAt: z.ZodDate;
|
|
12912
12824
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12913
|
-
actor: z.ZodObject<
|
|
12825
|
+
actor: z.ZodObject<{
|
|
12826
|
+
name: z.ZodString;
|
|
12914
12827
|
id: z.ZodString;
|
|
12828
|
+
address: z.ZodNullable<z.ZodString>;
|
|
12829
|
+
email: z.ZodString;
|
|
12915
12830
|
createdAt: z.ZodDate;
|
|
12916
12831
|
updatedAt: z.ZodDate;
|
|
12917
12832
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12918
|
-
name: z.ZodString;
|
|
12919
|
-
email: z.ZodString;
|
|
12920
12833
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
12921
12834
|
password: z.ZodString;
|
|
12922
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12923
12835
|
phone: z.ZodNullable<z.ZodString>;
|
|
12924
12836
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
12925
|
-
}, {
|
|
12926
12837
|
roles: z.ZodArray<z.ZodObject<{
|
|
12927
12838
|
id: z.ZodString;
|
|
12928
12839
|
createdAt: z.ZodDate;
|
|
@@ -13028,7 +12939,7 @@ export declare const ticketContract: {
|
|
|
13028
12939
|
extensionName: string;
|
|
13029
12940
|
telephonySignature: string | null;
|
|
13030
12941
|
}>;
|
|
13031
|
-
}
|
|
12942
|
+
}, "strip", z.ZodTypeAny, {
|
|
13032
12943
|
name: string;
|
|
13033
12944
|
id: string;
|
|
13034
12945
|
address: string | null;
|
|
@@ -13258,7 +13169,7 @@ export declare const ticketContract: {
|
|
|
13258
13169
|
entity: string;
|
|
13259
13170
|
};
|
|
13260
13171
|
}>, "many">;
|
|
13261
|
-
}
|
|
13172
|
+
}, "strip", z.ZodTypeAny, {
|
|
13262
13173
|
type: string;
|
|
13263
13174
|
id: string;
|
|
13264
13175
|
channel: string;
|
|
@@ -13510,7 +13421,7 @@ export declare const ticketContract: {
|
|
|
13510
13421
|
assigneeId: string;
|
|
13511
13422
|
creatorId: string;
|
|
13512
13423
|
reasonToAssign: string | null;
|
|
13513
|
-
|
|
13424
|
+
creator?: {
|
|
13514
13425
|
name: string;
|
|
13515
13426
|
id: string;
|
|
13516
13427
|
address: string | null;
|
|
@@ -13554,7 +13465,7 @@ export declare const ticketContract: {
|
|
|
13554
13465
|
telephonySignature: string | null;
|
|
13555
13466
|
};
|
|
13556
13467
|
} | null | undefined;
|
|
13557
|
-
|
|
13468
|
+
assignee?: {
|
|
13558
13469
|
name: string;
|
|
13559
13470
|
id: string;
|
|
13560
13471
|
address: string | null;
|
|
@@ -13851,7 +13762,7 @@ export declare const ticketContract: {
|
|
|
13851
13762
|
assigneeId: string;
|
|
13852
13763
|
creatorId: string;
|
|
13853
13764
|
reasonToAssign: string | null;
|
|
13854
|
-
|
|
13765
|
+
creator?: {
|
|
13855
13766
|
name: string;
|
|
13856
13767
|
id: string;
|
|
13857
13768
|
address: string | null;
|
|
@@ -13895,7 +13806,7 @@ export declare const ticketContract: {
|
|
|
13895
13806
|
telephonySignature: string | null;
|
|
13896
13807
|
};
|
|
13897
13808
|
} | null | undefined;
|
|
13898
|
-
|
|
13809
|
+
assignee?: {
|
|
13899
13810
|
name: string;
|
|
13900
13811
|
id: string;
|
|
13901
13812
|
address: string | null;
|
|
@@ -13941,7 +13852,7 @@ export declare const ticketContract: {
|
|
|
13941
13852
|
} | null | undefined;
|
|
13942
13853
|
ticketNumber?: number | undefined;
|
|
13943
13854
|
}>;
|
|
13944
|
-
}
|
|
13855
|
+
}, "strip", z.ZodTypeAny, {
|
|
13945
13856
|
data: {
|
|
13946
13857
|
type: string;
|
|
13947
13858
|
id: string;
|
|
@@ -14194,7 +14105,7 @@ export declare const ticketContract: {
|
|
|
14194
14105
|
assigneeId: string;
|
|
14195
14106
|
creatorId: string;
|
|
14196
14107
|
reasonToAssign: string | null;
|
|
14197
|
-
|
|
14108
|
+
creator?: {
|
|
14198
14109
|
name: string;
|
|
14199
14110
|
id: string;
|
|
14200
14111
|
address: string | null;
|
|
@@ -14238,7 +14149,7 @@ export declare const ticketContract: {
|
|
|
14238
14149
|
telephonySignature: string | null;
|
|
14239
14150
|
};
|
|
14240
14151
|
} | null | undefined;
|
|
14241
|
-
|
|
14152
|
+
assignee?: {
|
|
14242
14153
|
name: string;
|
|
14243
14154
|
id: string;
|
|
14244
14155
|
address: string | null;
|
|
@@ -14538,7 +14449,7 @@ export declare const ticketContract: {
|
|
|
14538
14449
|
assigneeId: string;
|
|
14539
14450
|
creatorId: string;
|
|
14540
14451
|
reasonToAssign: string | null;
|
|
14541
|
-
|
|
14452
|
+
creator?: {
|
|
14542
14453
|
name: string;
|
|
14543
14454
|
id: string;
|
|
14544
14455
|
address: string | null;
|
|
@@ -14582,7 +14493,7 @@ export declare const ticketContract: {
|
|
|
14582
14493
|
telephonySignature: string | null;
|
|
14583
14494
|
};
|
|
14584
14495
|
} | null | undefined;
|
|
14585
|
-
|
|
14496
|
+
assignee?: {
|
|
14586
14497
|
name: string;
|
|
14587
14498
|
id: string;
|
|
14588
14499
|
address: string | null;
|
|
@@ -14682,18 +14593,6 @@ export declare const ticketContract: {
|
|
|
14682
14593
|
error?: any;
|
|
14683
14594
|
}>;
|
|
14684
14595
|
};
|
|
14685
|
-
};
|
|
14686
|
-
deleteTicket: {
|
|
14687
|
-
body: null;
|
|
14688
|
-
summary: "Delete a extension.";
|
|
14689
|
-
method: "DELETE";
|
|
14690
|
-
pathParams: z.ZodObject<{
|
|
14691
|
-
id: z.ZodString;
|
|
14692
|
-
}, "strip", z.ZodTypeAny, {
|
|
14693
|
-
id: string;
|
|
14694
|
-
}, {
|
|
14695
|
-
id: string;
|
|
14696
|
-
}>;
|
|
14697
14596
|
path: "ts/ticket/:id";
|
|
14698
14597
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14699
14598
|
'x-tenant': z.ZodString;
|
|
@@ -14711,12 +14610,23 @@ export declare const ticketContract: {
|
|
|
14711
14610
|
'x-code'?: string | undefined;
|
|
14712
14611
|
'x-client-timezone'?: string | undefined;
|
|
14713
14612
|
}>>>;
|
|
14613
|
+
};
|
|
14614
|
+
deleteTicket: {
|
|
14615
|
+
body: null;
|
|
14616
|
+
summary: "Delete a extension.";
|
|
14617
|
+
method: "DELETE";
|
|
14618
|
+
pathParams: z.ZodObject<{
|
|
14619
|
+
id: z.ZodString;
|
|
14620
|
+
}, "strip", z.ZodTypeAny, {
|
|
14621
|
+
id: string;
|
|
14622
|
+
}, {
|
|
14623
|
+
id: string;
|
|
14624
|
+
}>;
|
|
14714
14625
|
responses: {
|
|
14715
|
-
200: z.ZodObject<
|
|
14626
|
+
200: z.ZodObject<{
|
|
14716
14627
|
requestId: z.ZodString;
|
|
14717
|
-
}, {
|
|
14718
14628
|
message: z.ZodString;
|
|
14719
|
-
}
|
|
14629
|
+
}, "strip", z.ZodTypeAny, {
|
|
14720
14630
|
message: string;
|
|
14721
14631
|
requestId: string;
|
|
14722
14632
|
}, {
|
|
@@ -14734,6 +14644,23 @@ export declare const ticketContract: {
|
|
|
14734
14644
|
error?: any;
|
|
14735
14645
|
}>;
|
|
14736
14646
|
};
|
|
14647
|
+
path: "ts/ticket/:id";
|
|
14648
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14649
|
+
'x-tenant': z.ZodString;
|
|
14650
|
+
'x-service-token': z.ZodString;
|
|
14651
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14652
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14653
|
+
}, "strip", z.ZodTypeAny, {
|
|
14654
|
+
'x-tenant': string;
|
|
14655
|
+
'x-service-token': string;
|
|
14656
|
+
'x-client-timezone': string;
|
|
14657
|
+
'x-code'?: string | undefined;
|
|
14658
|
+
}, {
|
|
14659
|
+
'x-tenant': string;
|
|
14660
|
+
'x-service-token': string;
|
|
14661
|
+
'x-code'?: string | undefined;
|
|
14662
|
+
'x-client-timezone'?: string | undefined;
|
|
14663
|
+
}>>>;
|
|
14737
14664
|
};
|
|
14738
14665
|
updateDescription: {
|
|
14739
14666
|
body: z.ZodObject<{
|
|
@@ -14752,29 +14679,11 @@ export declare const ticketContract: {
|
|
|
14752
14679
|
}, {
|
|
14753
14680
|
id: string;
|
|
14754
14681
|
}>;
|
|
14755
|
-
path: "ts/ticket/description/update/:id";
|
|
14756
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14757
|
-
'x-tenant': z.ZodString;
|
|
14758
|
-
'x-service-token': z.ZodString;
|
|
14759
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
14760
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14761
|
-
}, "strip", z.ZodTypeAny, {
|
|
14762
|
-
'x-tenant': string;
|
|
14763
|
-
'x-service-token': string;
|
|
14764
|
-
'x-client-timezone': string;
|
|
14765
|
-
'x-code'?: string | undefined;
|
|
14766
|
-
}, {
|
|
14767
|
-
'x-tenant': string;
|
|
14768
|
-
'x-service-token': string;
|
|
14769
|
-
'x-code'?: string | undefined;
|
|
14770
|
-
'x-client-timezone'?: string | undefined;
|
|
14771
|
-
}>>>;
|
|
14772
14682
|
responses: {
|
|
14773
|
-
201: z.ZodObject<
|
|
14683
|
+
201: z.ZodObject<{
|
|
14774
14684
|
requestId: z.ZodString;
|
|
14775
|
-
}, {
|
|
14776
14685
|
message: z.ZodString;
|
|
14777
|
-
}
|
|
14686
|
+
}, "strip", z.ZodTypeAny, {
|
|
14778
14687
|
message: string;
|
|
14779
14688
|
requestId: string;
|
|
14780
14689
|
}, {
|
|
@@ -14833,6 +14742,23 @@ export declare const ticketContract: {
|
|
|
14833
14742
|
error?: any;
|
|
14834
14743
|
}>;
|
|
14835
14744
|
};
|
|
14745
|
+
path: "ts/ticket/description/update/:id";
|
|
14746
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14747
|
+
'x-tenant': z.ZodString;
|
|
14748
|
+
'x-service-token': z.ZodString;
|
|
14749
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14750
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14751
|
+
}, "strip", z.ZodTypeAny, {
|
|
14752
|
+
'x-tenant': string;
|
|
14753
|
+
'x-service-token': string;
|
|
14754
|
+
'x-client-timezone': string;
|
|
14755
|
+
'x-code'?: string | undefined;
|
|
14756
|
+
}, {
|
|
14757
|
+
'x-tenant': string;
|
|
14758
|
+
'x-service-token': string;
|
|
14759
|
+
'x-code'?: string | undefined;
|
|
14760
|
+
'x-client-timezone'?: string | undefined;
|
|
14761
|
+
}>>>;
|
|
14836
14762
|
};
|
|
14837
14763
|
updateTitle: {
|
|
14838
14764
|
body: z.ZodObject<{
|
|
@@ -14851,29 +14777,11 @@ export declare const ticketContract: {
|
|
|
14851
14777
|
}, {
|
|
14852
14778
|
id: string;
|
|
14853
14779
|
}>;
|
|
14854
|
-
path: "ts/ticket/title/update/:id";
|
|
14855
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14856
|
-
'x-tenant': z.ZodString;
|
|
14857
|
-
'x-service-token': z.ZodString;
|
|
14858
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
14859
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14860
|
-
}, "strip", z.ZodTypeAny, {
|
|
14861
|
-
'x-tenant': string;
|
|
14862
|
-
'x-service-token': string;
|
|
14863
|
-
'x-client-timezone': string;
|
|
14864
|
-
'x-code'?: string | undefined;
|
|
14865
|
-
}, {
|
|
14866
|
-
'x-tenant': string;
|
|
14867
|
-
'x-service-token': string;
|
|
14868
|
-
'x-code'?: string | undefined;
|
|
14869
|
-
'x-client-timezone'?: string | undefined;
|
|
14870
|
-
}>>>;
|
|
14871
14780
|
responses: {
|
|
14872
|
-
200: z.ZodObject<
|
|
14781
|
+
200: z.ZodObject<{
|
|
14873
14782
|
requestId: z.ZodString;
|
|
14874
|
-
}, {
|
|
14875
14783
|
message: z.ZodString;
|
|
14876
|
-
}
|
|
14784
|
+
}, "strip", z.ZodTypeAny, {
|
|
14877
14785
|
message: string;
|
|
14878
14786
|
requestId: string;
|
|
14879
14787
|
}, {
|
|
@@ -14932,6 +14840,23 @@ export declare const ticketContract: {
|
|
|
14932
14840
|
error?: any;
|
|
14933
14841
|
}>;
|
|
14934
14842
|
};
|
|
14843
|
+
path: "ts/ticket/title/update/:id";
|
|
14844
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14845
|
+
'x-tenant': z.ZodString;
|
|
14846
|
+
'x-service-token': z.ZodString;
|
|
14847
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14848
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14849
|
+
}, "strip", z.ZodTypeAny, {
|
|
14850
|
+
'x-tenant': string;
|
|
14851
|
+
'x-service-token': string;
|
|
14852
|
+
'x-client-timezone': string;
|
|
14853
|
+
'x-code'?: string | undefined;
|
|
14854
|
+
}, {
|
|
14855
|
+
'x-tenant': string;
|
|
14856
|
+
'x-service-token': string;
|
|
14857
|
+
'x-code'?: string | undefined;
|
|
14858
|
+
'x-client-timezone'?: string | undefined;
|
|
14859
|
+
}>>>;
|
|
14935
14860
|
};
|
|
14936
14861
|
updateType: {
|
|
14937
14862
|
body: z.ZodObject<{
|
|
@@ -14950,29 +14875,11 @@ export declare const ticketContract: {
|
|
|
14950
14875
|
}, {
|
|
14951
14876
|
id: string;
|
|
14952
14877
|
}>;
|
|
14953
|
-
path: "ts/ticket/type/update/:id";
|
|
14954
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14955
|
-
'x-tenant': z.ZodString;
|
|
14956
|
-
'x-service-token': z.ZodString;
|
|
14957
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
14958
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14959
|
-
}, "strip", z.ZodTypeAny, {
|
|
14960
|
-
'x-tenant': string;
|
|
14961
|
-
'x-service-token': string;
|
|
14962
|
-
'x-client-timezone': string;
|
|
14963
|
-
'x-code'?: string | undefined;
|
|
14964
|
-
}, {
|
|
14965
|
-
'x-tenant': string;
|
|
14966
|
-
'x-service-token': string;
|
|
14967
|
-
'x-code'?: string | undefined;
|
|
14968
|
-
'x-client-timezone'?: string | undefined;
|
|
14969
|
-
}>>>;
|
|
14970
14878
|
responses: {
|
|
14971
|
-
200: z.ZodObject<
|
|
14879
|
+
200: z.ZodObject<{
|
|
14972
14880
|
requestId: z.ZodString;
|
|
14973
|
-
}, {
|
|
14974
14881
|
message: z.ZodString;
|
|
14975
|
-
}
|
|
14882
|
+
}, "strip", z.ZodTypeAny, {
|
|
14976
14883
|
message: string;
|
|
14977
14884
|
requestId: string;
|
|
14978
14885
|
}, {
|
|
@@ -15031,6 +14938,23 @@ export declare const ticketContract: {
|
|
|
15031
14938
|
error?: any;
|
|
15032
14939
|
}>;
|
|
15033
14940
|
};
|
|
14941
|
+
path: "ts/ticket/type/update/:id";
|
|
14942
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14943
|
+
'x-tenant': z.ZodString;
|
|
14944
|
+
'x-service-token': z.ZodString;
|
|
14945
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14946
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14947
|
+
}, "strip", z.ZodTypeAny, {
|
|
14948
|
+
'x-tenant': string;
|
|
14949
|
+
'x-service-token': string;
|
|
14950
|
+
'x-client-timezone': string;
|
|
14951
|
+
'x-code'?: string | undefined;
|
|
14952
|
+
}, {
|
|
14953
|
+
'x-tenant': string;
|
|
14954
|
+
'x-service-token': string;
|
|
14955
|
+
'x-code'?: string | undefined;
|
|
14956
|
+
'x-client-timezone'?: string | undefined;
|
|
14957
|
+
}>>>;
|
|
15034
14958
|
};
|
|
15035
14959
|
updateStatus: {
|
|
15036
14960
|
body: z.ZodObject<{
|
|
@@ -15049,29 +14973,11 @@ export declare const ticketContract: {
|
|
|
15049
14973
|
}, {
|
|
15050
14974
|
id: string;
|
|
15051
14975
|
}>;
|
|
15052
|
-
path: "ts/ticket/status/update/:id";
|
|
15053
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15054
|
-
'x-tenant': z.ZodString;
|
|
15055
|
-
'x-service-token': z.ZodString;
|
|
15056
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
15057
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15058
|
-
}, "strip", z.ZodTypeAny, {
|
|
15059
|
-
'x-tenant': string;
|
|
15060
|
-
'x-service-token': string;
|
|
15061
|
-
'x-client-timezone': string;
|
|
15062
|
-
'x-code'?: string | undefined;
|
|
15063
|
-
}, {
|
|
15064
|
-
'x-tenant': string;
|
|
15065
|
-
'x-service-token': string;
|
|
15066
|
-
'x-code'?: string | undefined;
|
|
15067
|
-
'x-client-timezone'?: string | undefined;
|
|
15068
|
-
}>>>;
|
|
15069
14976
|
responses: {
|
|
15070
|
-
200: z.ZodObject<
|
|
14977
|
+
200: z.ZodObject<{
|
|
15071
14978
|
requestId: z.ZodString;
|
|
15072
|
-
}, {
|
|
15073
14979
|
message: z.ZodString;
|
|
15074
|
-
}
|
|
14980
|
+
}, "strip", z.ZodTypeAny, {
|
|
15075
14981
|
message: string;
|
|
15076
14982
|
requestId: string;
|
|
15077
14983
|
}, {
|
|
@@ -15130,6 +15036,23 @@ export declare const ticketContract: {
|
|
|
15130
15036
|
error?: any;
|
|
15131
15037
|
}>;
|
|
15132
15038
|
};
|
|
15039
|
+
path: "ts/ticket/status/update/:id";
|
|
15040
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15041
|
+
'x-tenant': z.ZodString;
|
|
15042
|
+
'x-service-token': z.ZodString;
|
|
15043
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15044
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15045
|
+
}, "strip", z.ZodTypeAny, {
|
|
15046
|
+
'x-tenant': string;
|
|
15047
|
+
'x-service-token': string;
|
|
15048
|
+
'x-client-timezone': string;
|
|
15049
|
+
'x-code'?: string | undefined;
|
|
15050
|
+
}, {
|
|
15051
|
+
'x-tenant': string;
|
|
15052
|
+
'x-service-token': string;
|
|
15053
|
+
'x-code'?: string | undefined;
|
|
15054
|
+
'x-client-timezone'?: string | undefined;
|
|
15055
|
+
}>>>;
|
|
15133
15056
|
};
|
|
15134
15057
|
updatePriority: {
|
|
15135
15058
|
body: z.ZodObject<{
|
|
@@ -15148,29 +15071,11 @@ export declare const ticketContract: {
|
|
|
15148
15071
|
}, {
|
|
15149
15072
|
id: string;
|
|
15150
15073
|
}>;
|
|
15151
|
-
path: "ts/ticket/priority/update/:id";
|
|
15152
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15153
|
-
'x-tenant': z.ZodString;
|
|
15154
|
-
'x-service-token': z.ZodString;
|
|
15155
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
15156
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15157
|
-
}, "strip", z.ZodTypeAny, {
|
|
15158
|
-
'x-tenant': string;
|
|
15159
|
-
'x-service-token': string;
|
|
15160
|
-
'x-client-timezone': string;
|
|
15161
|
-
'x-code'?: string | undefined;
|
|
15162
|
-
}, {
|
|
15163
|
-
'x-tenant': string;
|
|
15164
|
-
'x-service-token': string;
|
|
15165
|
-
'x-code'?: string | undefined;
|
|
15166
|
-
'x-client-timezone'?: string | undefined;
|
|
15167
|
-
}>>>;
|
|
15168
15074
|
responses: {
|
|
15169
|
-
200: z.ZodObject<
|
|
15075
|
+
200: z.ZodObject<{
|
|
15170
15076
|
requestId: z.ZodString;
|
|
15171
|
-
}, {
|
|
15172
15077
|
message: z.ZodString;
|
|
15173
|
-
}
|
|
15078
|
+
}, "strip", z.ZodTypeAny, {
|
|
15174
15079
|
message: string;
|
|
15175
15080
|
requestId: string;
|
|
15176
15081
|
}, {
|
|
@@ -15229,6 +15134,23 @@ export declare const ticketContract: {
|
|
|
15229
15134
|
error?: any;
|
|
15230
15135
|
}>;
|
|
15231
15136
|
};
|
|
15137
|
+
path: "ts/ticket/priority/update/:id";
|
|
15138
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15139
|
+
'x-tenant': z.ZodString;
|
|
15140
|
+
'x-service-token': z.ZodString;
|
|
15141
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15142
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15143
|
+
}, "strip", z.ZodTypeAny, {
|
|
15144
|
+
'x-tenant': string;
|
|
15145
|
+
'x-service-token': string;
|
|
15146
|
+
'x-client-timezone': string;
|
|
15147
|
+
'x-code'?: string | undefined;
|
|
15148
|
+
}, {
|
|
15149
|
+
'x-tenant': string;
|
|
15150
|
+
'x-service-token': string;
|
|
15151
|
+
'x-code'?: string | undefined;
|
|
15152
|
+
'x-client-timezone'?: string | undefined;
|
|
15153
|
+
}>>>;
|
|
15232
15154
|
};
|
|
15233
15155
|
updateChannel: {
|
|
15234
15156
|
body: z.ZodObject<{
|
|
@@ -15247,29 +15169,11 @@ export declare const ticketContract: {
|
|
|
15247
15169
|
}, {
|
|
15248
15170
|
id: string;
|
|
15249
15171
|
}>;
|
|
15250
|
-
path: "ts/ticket/channel/update/:id";
|
|
15251
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15252
|
-
'x-tenant': z.ZodString;
|
|
15253
|
-
'x-service-token': z.ZodString;
|
|
15254
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
15255
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15256
|
-
}, "strip", z.ZodTypeAny, {
|
|
15257
|
-
'x-tenant': string;
|
|
15258
|
-
'x-service-token': string;
|
|
15259
|
-
'x-client-timezone': string;
|
|
15260
|
-
'x-code'?: string | undefined;
|
|
15261
|
-
}, {
|
|
15262
|
-
'x-tenant': string;
|
|
15263
|
-
'x-service-token': string;
|
|
15264
|
-
'x-code'?: string | undefined;
|
|
15265
|
-
'x-client-timezone'?: string | undefined;
|
|
15266
|
-
}>>>;
|
|
15267
15172
|
responses: {
|
|
15268
|
-
200: z.ZodObject<
|
|
15173
|
+
200: z.ZodObject<{
|
|
15269
15174
|
requestId: z.ZodString;
|
|
15270
|
-
}, {
|
|
15271
15175
|
message: z.ZodString;
|
|
15272
|
-
}
|
|
15176
|
+
}, "strip", z.ZodTypeAny, {
|
|
15273
15177
|
message: string;
|
|
15274
15178
|
requestId: string;
|
|
15275
15179
|
}, {
|
|
@@ -15328,6 +15232,23 @@ export declare const ticketContract: {
|
|
|
15328
15232
|
error?: any;
|
|
15329
15233
|
}>;
|
|
15330
15234
|
};
|
|
15235
|
+
path: "ts/ticket/channel/update/:id";
|
|
15236
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15237
|
+
'x-tenant': z.ZodString;
|
|
15238
|
+
'x-service-token': z.ZodString;
|
|
15239
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15240
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15241
|
+
}, "strip", z.ZodTypeAny, {
|
|
15242
|
+
'x-tenant': string;
|
|
15243
|
+
'x-service-token': string;
|
|
15244
|
+
'x-client-timezone': string;
|
|
15245
|
+
'x-code'?: string | undefined;
|
|
15246
|
+
}, {
|
|
15247
|
+
'x-tenant': string;
|
|
15248
|
+
'x-service-token': string;
|
|
15249
|
+
'x-code'?: string | undefined;
|
|
15250
|
+
'x-client-timezone'?: string | undefined;
|
|
15251
|
+
}>>>;
|
|
15331
15252
|
};
|
|
15332
15253
|
updateTags: {
|
|
15333
15254
|
body: z.ZodObject<{
|
|
@@ -15346,29 +15267,11 @@ export declare const ticketContract: {
|
|
|
15346
15267
|
}, {
|
|
15347
15268
|
id: string;
|
|
15348
15269
|
}>;
|
|
15349
|
-
path: "ts/ticket/tags/update/:id";
|
|
15350
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15351
|
-
'x-tenant': z.ZodString;
|
|
15352
|
-
'x-service-token': z.ZodString;
|
|
15353
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
15354
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15355
|
-
}, "strip", z.ZodTypeAny, {
|
|
15356
|
-
'x-tenant': string;
|
|
15357
|
-
'x-service-token': string;
|
|
15358
|
-
'x-client-timezone': string;
|
|
15359
|
-
'x-code'?: string | undefined;
|
|
15360
|
-
}, {
|
|
15361
|
-
'x-tenant': string;
|
|
15362
|
-
'x-service-token': string;
|
|
15363
|
-
'x-code'?: string | undefined;
|
|
15364
|
-
'x-client-timezone'?: string | undefined;
|
|
15365
|
-
}>>>;
|
|
15366
15270
|
responses: {
|
|
15367
|
-
200: z.ZodObject<
|
|
15271
|
+
200: z.ZodObject<{
|
|
15368
15272
|
requestId: z.ZodString;
|
|
15369
|
-
}, {
|
|
15370
15273
|
message: z.ZodString;
|
|
15371
|
-
}
|
|
15274
|
+
}, "strip", z.ZodTypeAny, {
|
|
15372
15275
|
message: string;
|
|
15373
15276
|
requestId: string;
|
|
15374
15277
|
}, {
|
|
@@ -15427,6 +15330,23 @@ export declare const ticketContract: {
|
|
|
15427
15330
|
error?: any;
|
|
15428
15331
|
}>;
|
|
15429
15332
|
};
|
|
15333
|
+
path: "ts/ticket/tags/update/:id";
|
|
15334
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15335
|
+
'x-tenant': z.ZodString;
|
|
15336
|
+
'x-service-token': z.ZodString;
|
|
15337
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15338
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15339
|
+
}, "strip", z.ZodTypeAny, {
|
|
15340
|
+
'x-tenant': string;
|
|
15341
|
+
'x-service-token': string;
|
|
15342
|
+
'x-client-timezone': string;
|
|
15343
|
+
'x-code'?: string | undefined;
|
|
15344
|
+
}, {
|
|
15345
|
+
'x-tenant': string;
|
|
15346
|
+
'x-service-token': string;
|
|
15347
|
+
'x-code'?: string | undefined;
|
|
15348
|
+
'x-client-timezone'?: string | undefined;
|
|
15349
|
+
}>>>;
|
|
15430
15350
|
};
|
|
15431
15351
|
changeAssignee: {
|
|
15432
15352
|
body: z.ZodObject<{
|
|
@@ -15451,33 +15371,14 @@ export declare const ticketContract: {
|
|
|
15451
15371
|
}, {
|
|
15452
15372
|
id: string;
|
|
15453
15373
|
}>;
|
|
15454
|
-
path: "ts/ticket/assignee/update/:id";
|
|
15455
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15456
|
-
'x-tenant': z.ZodString;
|
|
15457
|
-
'x-service-token': z.ZodString;
|
|
15458
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
15459
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15460
|
-
}, "strip", z.ZodTypeAny, {
|
|
15461
|
-
'x-tenant': string;
|
|
15462
|
-
'x-service-token': string;
|
|
15463
|
-
'x-client-timezone': string;
|
|
15464
|
-
'x-code'?: string | undefined;
|
|
15465
|
-
}, {
|
|
15466
|
-
'x-tenant': string;
|
|
15467
|
-
'x-service-token': string;
|
|
15468
|
-
'x-code'?: string | undefined;
|
|
15469
|
-
'x-client-timezone'?: string | undefined;
|
|
15470
|
-
}>>>;
|
|
15471
15374
|
responses: {
|
|
15472
|
-
200: z.ZodObject<
|
|
15375
|
+
200: z.ZodObject<{
|
|
15473
15376
|
requestId: z.ZodString;
|
|
15474
|
-
|
|
15475
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
15377
|
+
data: z.ZodObject<{
|
|
15476
15378
|
id: z.ZodString;
|
|
15477
15379
|
createdAt: z.ZodDate;
|
|
15478
15380
|
updatedAt: z.ZodDate;
|
|
15479
15381
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15480
|
-
}, {
|
|
15481
15382
|
title: z.ZodString;
|
|
15482
15383
|
description: z.ZodNullable<z.ZodString>;
|
|
15483
15384
|
type: z.ZodString;
|
|
@@ -15486,19 +15387,18 @@ export declare const ticketContract: {
|
|
|
15486
15387
|
status: z.ZodString;
|
|
15487
15388
|
contactId: z.ZodString;
|
|
15488
15389
|
creatorId: z.ZodString;
|
|
15489
|
-
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
15390
|
+
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15391
|
+
name: z.ZodString;
|
|
15490
15392
|
id: z.ZodString;
|
|
15393
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15394
|
+
email: z.ZodString;
|
|
15491
15395
|
createdAt: z.ZodDate;
|
|
15492
15396
|
updatedAt: z.ZodDate;
|
|
15493
15397
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15494
|
-
name: z.ZodString;
|
|
15495
|
-
email: z.ZodString;
|
|
15496
15398
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
15497
15399
|
password: z.ZodString;
|
|
15498
|
-
address: z.ZodNullable<z.ZodString>;
|
|
15499
15400
|
phone: z.ZodNullable<z.ZodString>;
|
|
15500
15401
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
15501
|
-
}, {
|
|
15502
15402
|
roles: z.ZodArray<z.ZodObject<{
|
|
15503
15403
|
id: z.ZodString;
|
|
15504
15404
|
createdAt: z.ZodDate;
|
|
@@ -15604,7 +15504,7 @@ export declare const ticketContract: {
|
|
|
15604
15504
|
extensionName: string;
|
|
15605
15505
|
telephonySignature: string | null;
|
|
15606
15506
|
}>;
|
|
15607
|
-
}
|
|
15507
|
+
}, "strip", z.ZodTypeAny, {
|
|
15608
15508
|
name: string;
|
|
15609
15509
|
id: string;
|
|
15610
15510
|
address: string | null;
|
|
@@ -15692,19 +15592,18 @@ export declare const ticketContract: {
|
|
|
15692
15592
|
};
|
|
15693
15593
|
}>>>;
|
|
15694
15594
|
assigneeId: z.ZodString;
|
|
15695
|
-
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
15595
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15596
|
+
name: z.ZodString;
|
|
15696
15597
|
id: z.ZodString;
|
|
15598
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15599
|
+
email: z.ZodString;
|
|
15697
15600
|
createdAt: z.ZodDate;
|
|
15698
15601
|
updatedAt: z.ZodDate;
|
|
15699
15602
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15700
|
-
name: z.ZodString;
|
|
15701
|
-
email: z.ZodString;
|
|
15702
15603
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
15703
15604
|
password: z.ZodString;
|
|
15704
|
-
address: z.ZodNullable<z.ZodString>;
|
|
15705
15605
|
phone: z.ZodNullable<z.ZodString>;
|
|
15706
15606
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
15707
|
-
}, {
|
|
15708
15607
|
roles: z.ZodArray<z.ZodObject<{
|
|
15709
15608
|
id: z.ZodString;
|
|
15710
15609
|
createdAt: z.ZodDate;
|
|
@@ -15810,7 +15709,7 @@ export declare const ticketContract: {
|
|
|
15810
15709
|
extensionName: string;
|
|
15811
15710
|
telephonySignature: string | null;
|
|
15812
15711
|
}>;
|
|
15813
|
-
}
|
|
15712
|
+
}, "strip", z.ZodTypeAny, {
|
|
15814
15713
|
name: string;
|
|
15815
15714
|
id: string;
|
|
15816
15715
|
address: string | null;
|
|
@@ -15899,22 +15798,20 @@ export declare const ticketContract: {
|
|
|
15899
15798
|
}>>>;
|
|
15900
15799
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
15901
15800
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
15902
|
-
customFields: z.ZodArray<z.ZodObject<
|
|
15801
|
+
customFields: z.ZodArray<z.ZodObject<{
|
|
15903
15802
|
id: z.ZodString;
|
|
15904
15803
|
createdAt: z.ZodDate;
|
|
15905
15804
|
updatedAt: z.ZodDate;
|
|
15906
15805
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15907
|
-
}, {
|
|
15908
15806
|
textValue: z.ZodNullable<z.ZodString>;
|
|
15909
15807
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
15910
15808
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
15911
15809
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
15912
|
-
attribute: z.ZodObject<Omit<
|
|
15810
|
+
attribute: z.ZodObject<Omit<{
|
|
15913
15811
|
id: z.ZodString;
|
|
15914
15812
|
createdAt: z.ZodDate;
|
|
15915
15813
|
updatedAt: z.ZodDate;
|
|
15916
15814
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15917
|
-
}, {
|
|
15918
15815
|
systemName: z.ZodString;
|
|
15919
15816
|
displayName: z.ZodString;
|
|
15920
15817
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -15923,14 +15820,13 @@ export declare const ticketContract: {
|
|
|
15923
15820
|
isArchived: z.ZodBoolean;
|
|
15924
15821
|
isRequired: z.ZodBoolean;
|
|
15925
15822
|
isUnique: z.ZodBoolean;
|
|
15926
|
-
options: z.ZodArray<z.ZodObject<
|
|
15927
|
-
|
|
15823
|
+
options: z.ZodArray<z.ZodObject<{
|
|
15824
|
+
position: z.ZodNumber;
|
|
15928
15825
|
value: z.ZodString;
|
|
15826
|
+
label: z.ZodString;
|
|
15929
15827
|
isDefault: z.ZodBoolean;
|
|
15930
|
-
position: z.ZodNumber;
|
|
15931
|
-
}, {
|
|
15932
15828
|
id: z.ZodString;
|
|
15933
|
-
}
|
|
15829
|
+
}, "strip", z.ZodTypeAny, {
|
|
15934
15830
|
id: string;
|
|
15935
15831
|
position: number;
|
|
15936
15832
|
value: string;
|
|
@@ -15943,15 +15839,14 @@ export declare const ticketContract: {
|
|
|
15943
15839
|
label: string;
|
|
15944
15840
|
isDefault: boolean;
|
|
15945
15841
|
}>, "many">;
|
|
15946
|
-
group: z.ZodObject<
|
|
15842
|
+
group: z.ZodObject<{
|
|
15947
15843
|
id: z.ZodString;
|
|
15948
15844
|
createdAt: z.ZodDate;
|
|
15949
15845
|
updatedAt: z.ZodDate;
|
|
15950
15846
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15951
|
-
}, {
|
|
15952
15847
|
systemName: z.ZodString;
|
|
15953
15848
|
displayName: z.ZodString;
|
|
15954
|
-
}
|
|
15849
|
+
}, "strip", z.ZodTypeAny, {
|
|
15955
15850
|
id: string;
|
|
15956
15851
|
createdAt: Date;
|
|
15957
15852
|
updatedAt: Date;
|
|
@@ -15966,7 +15861,7 @@ export declare const ticketContract: {
|
|
|
15966
15861
|
systemName: string;
|
|
15967
15862
|
displayName: string;
|
|
15968
15863
|
}>;
|
|
15969
|
-
}
|
|
15864
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
15970
15865
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
15971
15866
|
id: string;
|
|
15972
15867
|
position: number;
|
|
@@ -15993,19 +15888,18 @@ export declare const ticketContract: {
|
|
|
15993
15888
|
isRequired: boolean;
|
|
15994
15889
|
isUnique: boolean;
|
|
15995
15890
|
}>;
|
|
15996
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
15891
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
15997
15892
|
id: z.ZodString;
|
|
15998
15893
|
createdAt: z.ZodDate;
|
|
15999
15894
|
updatedAt: z.ZodDate;
|
|
16000
15895
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16001
|
-
}, {
|
|
16002
15896
|
bucketName: z.ZodString;
|
|
16003
15897
|
fileName: z.ZodString;
|
|
16004
15898
|
fileSize: z.ZodNumber;
|
|
16005
15899
|
fileKey: z.ZodString;
|
|
16006
15900
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
16007
15901
|
status: z.ZodNullable<z.ZodString>;
|
|
16008
|
-
}
|
|
15902
|
+
}, "strip", z.ZodTypeAny, {
|
|
16009
15903
|
id: string;
|
|
16010
15904
|
status: string | null;
|
|
16011
15905
|
createdAt: Date;
|
|
@@ -16028,7 +15922,7 @@ export declare const ticketContract: {
|
|
|
16028
15922
|
fileSize: number;
|
|
16029
15923
|
fileUrl: string | null;
|
|
16030
15924
|
}>, "many">;
|
|
16031
|
-
}
|
|
15925
|
+
}, "strip", z.ZodTypeAny, {
|
|
16032
15926
|
id: string;
|
|
16033
15927
|
createdAt: Date;
|
|
16034
15928
|
updatedAt: Date;
|
|
@@ -16099,14 +15993,13 @@ export declare const ticketContract: {
|
|
|
16099
15993
|
fileUrl: string | null;
|
|
16100
15994
|
}[];
|
|
16101
15995
|
}>, "many">;
|
|
16102
|
-
tags: z.ZodArray<z.ZodObject<
|
|
15996
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
16103
15997
|
id: z.ZodString;
|
|
16104
15998
|
createdAt: z.ZodDate;
|
|
16105
15999
|
updatedAt: z.ZodDate;
|
|
16106
16000
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16107
|
-
}, {
|
|
16108
16001
|
name: z.ZodString;
|
|
16109
|
-
}
|
|
16002
|
+
}, "strip", z.ZodTypeAny, {
|
|
16110
16003
|
name: string;
|
|
16111
16004
|
id: string;
|
|
16112
16005
|
createdAt: Date;
|
|
@@ -16119,12 +16012,11 @@ export declare const ticketContract: {
|
|
|
16119
16012
|
updatedAt: Date;
|
|
16120
16013
|
deletedAt: Date | null;
|
|
16121
16014
|
}>, "many">;
|
|
16122
|
-
categories: z.ZodArray<z.ZodObject<
|
|
16015
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
16123
16016
|
id: z.ZodString;
|
|
16124
16017
|
createdAt: z.ZodDate;
|
|
16125
16018
|
updatedAt: z.ZodDate;
|
|
16126
16019
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16127
|
-
}, {
|
|
16128
16020
|
value: z.ZodString;
|
|
16129
16021
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
16130
16022
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -16177,7 +16069,7 @@ export declare const ticketContract: {
|
|
|
16177
16069
|
childCategoryList: any[];
|
|
16178
16070
|
}[];
|
|
16179
16071
|
}>, "many">;
|
|
16180
|
-
}
|
|
16072
|
+
}, "strip", z.ZodTypeAny, {
|
|
16181
16073
|
id: string;
|
|
16182
16074
|
value: string;
|
|
16183
16075
|
createdAt: Date;
|
|
@@ -16231,14 +16123,13 @@ export declare const ticketContract: {
|
|
|
16231
16123
|
notes: z.ZodNullable<z.ZodString>;
|
|
16232
16124
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
16233
16125
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
16234
|
-
tags: z.ZodArray<z.ZodObject<
|
|
16126
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
16235
16127
|
id: z.ZodString;
|
|
16236
16128
|
createdAt: z.ZodDate;
|
|
16237
16129
|
updatedAt: z.ZodDate;
|
|
16238
16130
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16239
|
-
}, {
|
|
16240
16131
|
name: z.ZodString;
|
|
16241
|
-
}
|
|
16132
|
+
}, "strip", z.ZodTypeAny, {
|
|
16242
16133
|
name: string;
|
|
16243
16134
|
id: string;
|
|
16244
16135
|
createdAt: Date;
|
|
@@ -16251,32 +16142,29 @@ export declare const ticketContract: {
|
|
|
16251
16142
|
updatedAt: Date;
|
|
16252
16143
|
deletedAt: Date | null;
|
|
16253
16144
|
}>, "many">;
|
|
16254
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
|
16145
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
16255
16146
|
id: z.ZodString;
|
|
16256
16147
|
createdAt: z.ZodDate;
|
|
16257
16148
|
updatedAt: z.ZodDate;
|
|
16258
16149
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16259
|
-
}, {
|
|
16260
16150
|
name: z.ZodOptional<z.ZodString>;
|
|
16261
16151
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16262
16152
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16263
16153
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16264
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
16154
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16265
16155
|
id: z.ZodString;
|
|
16266
16156
|
createdAt: z.ZodDate;
|
|
16267
16157
|
updatedAt: z.ZodDate;
|
|
16268
16158
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16269
|
-
}, {
|
|
16270
16159
|
textValue: z.ZodNullable<z.ZodString>;
|
|
16271
16160
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
16272
16161
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
16273
16162
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
16274
|
-
attribute: z.ZodObject<Omit<
|
|
16163
|
+
attribute: z.ZodObject<Omit<{
|
|
16275
16164
|
id: z.ZodString;
|
|
16276
16165
|
createdAt: z.ZodDate;
|
|
16277
16166
|
updatedAt: z.ZodDate;
|
|
16278
16167
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16279
|
-
}, {
|
|
16280
16168
|
systemName: z.ZodString;
|
|
16281
16169
|
displayName: z.ZodString;
|
|
16282
16170
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -16285,14 +16173,13 @@ export declare const ticketContract: {
|
|
|
16285
16173
|
isArchived: z.ZodBoolean;
|
|
16286
16174
|
isRequired: z.ZodBoolean;
|
|
16287
16175
|
isUnique: z.ZodBoolean;
|
|
16288
|
-
options: z.ZodArray<z.ZodObject<
|
|
16289
|
-
|
|
16176
|
+
options: z.ZodArray<z.ZodObject<{
|
|
16177
|
+
position: z.ZodNumber;
|
|
16290
16178
|
value: z.ZodString;
|
|
16179
|
+
label: z.ZodString;
|
|
16291
16180
|
isDefault: z.ZodBoolean;
|
|
16292
|
-
position: z.ZodNumber;
|
|
16293
|
-
}, {
|
|
16294
16181
|
id: z.ZodString;
|
|
16295
|
-
}
|
|
16182
|
+
}, "strip", z.ZodTypeAny, {
|
|
16296
16183
|
id: string;
|
|
16297
16184
|
position: number;
|
|
16298
16185
|
value: string;
|
|
@@ -16305,15 +16192,14 @@ export declare const ticketContract: {
|
|
|
16305
16192
|
label: string;
|
|
16306
16193
|
isDefault: boolean;
|
|
16307
16194
|
}>, "many">;
|
|
16308
|
-
group: z.ZodObject<
|
|
16195
|
+
group: z.ZodObject<{
|
|
16309
16196
|
id: z.ZodString;
|
|
16310
16197
|
createdAt: z.ZodDate;
|
|
16311
16198
|
updatedAt: z.ZodDate;
|
|
16312
16199
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16313
|
-
}, {
|
|
16314
16200
|
systemName: z.ZodString;
|
|
16315
16201
|
displayName: z.ZodString;
|
|
16316
|
-
}
|
|
16202
|
+
}, "strip", z.ZodTypeAny, {
|
|
16317
16203
|
id: string;
|
|
16318
16204
|
createdAt: Date;
|
|
16319
16205
|
updatedAt: Date;
|
|
@@ -16328,7 +16214,7 @@ export declare const ticketContract: {
|
|
|
16328
16214
|
systemName: string;
|
|
16329
16215
|
displayName: string;
|
|
16330
16216
|
}>;
|
|
16331
|
-
}
|
|
16217
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
16332
16218
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
16333
16219
|
id: string;
|
|
16334
16220
|
position: number;
|
|
@@ -16355,7 +16241,7 @@ export declare const ticketContract: {
|
|
|
16355
16241
|
isRequired: boolean;
|
|
16356
16242
|
isUnique: boolean;
|
|
16357
16243
|
}>;
|
|
16358
|
-
}
|
|
16244
|
+
}, "strip", z.ZodTypeAny, {
|
|
16359
16245
|
id: string;
|
|
16360
16246
|
createdAt: Date;
|
|
16361
16247
|
updatedAt: Date;
|
|
@@ -16402,7 +16288,7 @@ export declare const ticketContract: {
|
|
|
16402
16288
|
numberValue: number | null;
|
|
16403
16289
|
dateValue: Date | null;
|
|
16404
16290
|
}>, "many">>;
|
|
16405
|
-
}
|
|
16291
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
|
16406
16292
|
id: string;
|
|
16407
16293
|
createdAt: Date;
|
|
16408
16294
|
updatedAt: Date;
|
|
@@ -16483,12 +16369,11 @@ export declare const ticketContract: {
|
|
|
16483
16369
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
16484
16370
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
16485
16371
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
16486
|
-
attribute: z.ZodObject<Omit<
|
|
16372
|
+
attribute: z.ZodObject<Omit<{
|
|
16487
16373
|
id: z.ZodString;
|
|
16488
16374
|
createdAt: z.ZodDate;
|
|
16489
16375
|
updatedAt: z.ZodDate;
|
|
16490
16376
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16491
|
-
}, {
|
|
16492
16377
|
systemName: z.ZodString;
|
|
16493
16378
|
displayName: z.ZodString;
|
|
16494
16379
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -16497,14 +16382,13 @@ export declare const ticketContract: {
|
|
|
16497
16382
|
isArchived: z.ZodBoolean;
|
|
16498
16383
|
isRequired: z.ZodBoolean;
|
|
16499
16384
|
isUnique: z.ZodBoolean;
|
|
16500
|
-
options: z.ZodArray<z.ZodObject<
|
|
16501
|
-
|
|
16385
|
+
options: z.ZodArray<z.ZodObject<{
|
|
16386
|
+
position: z.ZodNumber;
|
|
16502
16387
|
value: z.ZodString;
|
|
16388
|
+
label: z.ZodString;
|
|
16503
16389
|
isDefault: z.ZodBoolean;
|
|
16504
|
-
position: z.ZodNumber;
|
|
16505
|
-
}, {
|
|
16506
16390
|
id: z.ZodString;
|
|
16507
|
-
}
|
|
16391
|
+
}, "strip", z.ZodTypeAny, {
|
|
16508
16392
|
id: string;
|
|
16509
16393
|
position: number;
|
|
16510
16394
|
value: string;
|
|
@@ -16517,15 +16401,14 @@ export declare const ticketContract: {
|
|
|
16517
16401
|
label: string;
|
|
16518
16402
|
isDefault: boolean;
|
|
16519
16403
|
}>, "many">;
|
|
16520
|
-
group: z.ZodObject<
|
|
16404
|
+
group: z.ZodObject<{
|
|
16521
16405
|
id: z.ZodString;
|
|
16522
16406
|
createdAt: z.ZodDate;
|
|
16523
16407
|
updatedAt: z.ZodDate;
|
|
16524
16408
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16525
|
-
}, {
|
|
16526
16409
|
systemName: z.ZodString;
|
|
16527
16410
|
displayName: z.ZodString;
|
|
16528
|
-
}
|
|
16411
|
+
}, "strip", z.ZodTypeAny, {
|
|
16529
16412
|
id: string;
|
|
16530
16413
|
createdAt: Date;
|
|
16531
16414
|
updatedAt: Date;
|
|
@@ -16540,7 +16423,7 @@ export declare const ticketContract: {
|
|
|
16540
16423
|
systemName: string;
|
|
16541
16424
|
displayName: string;
|
|
16542
16425
|
}>;
|
|
16543
|
-
}
|
|
16426
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
16544
16427
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
16545
16428
|
id: string;
|
|
16546
16429
|
position: number;
|
|
@@ -16567,19 +16450,18 @@ export declare const ticketContract: {
|
|
|
16567
16450
|
isRequired: boolean;
|
|
16568
16451
|
isUnique: boolean;
|
|
16569
16452
|
}>;
|
|
16570
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
16453
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
16571
16454
|
id: z.ZodString;
|
|
16572
16455
|
createdAt: z.ZodDate;
|
|
16573
16456
|
updatedAt: z.ZodDate;
|
|
16574
16457
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16575
|
-
}, {
|
|
16576
16458
|
bucketName: z.ZodString;
|
|
16577
16459
|
fileName: z.ZodString;
|
|
16578
16460
|
fileSize: z.ZodNumber;
|
|
16579
16461
|
fileKey: z.ZodString;
|
|
16580
16462
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
16581
16463
|
status: z.ZodNullable<z.ZodString>;
|
|
16582
|
-
}
|
|
16464
|
+
}, "strip", z.ZodTypeAny, {
|
|
16583
16465
|
id: string;
|
|
16584
16466
|
status: string | null;
|
|
16585
16467
|
createdAt: Date;
|
|
@@ -17005,19 +16887,18 @@ export declare const ticketContract: {
|
|
|
17005
16887
|
createdAt: z.ZodDate;
|
|
17006
16888
|
updatedAt: z.ZodDate;
|
|
17007
16889
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
17008
|
-
actor: z.ZodObject<
|
|
16890
|
+
actor: z.ZodObject<{
|
|
16891
|
+
name: z.ZodString;
|
|
17009
16892
|
id: z.ZodString;
|
|
16893
|
+
address: z.ZodNullable<z.ZodString>;
|
|
16894
|
+
email: z.ZodString;
|
|
17010
16895
|
createdAt: z.ZodDate;
|
|
17011
16896
|
updatedAt: z.ZodDate;
|
|
17012
16897
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
17013
|
-
name: z.ZodString;
|
|
17014
|
-
email: z.ZodString;
|
|
17015
16898
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
17016
16899
|
password: z.ZodString;
|
|
17017
|
-
address: z.ZodNullable<z.ZodString>;
|
|
17018
16900
|
phone: z.ZodNullable<z.ZodString>;
|
|
17019
16901
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
17020
|
-
}, {
|
|
17021
16902
|
roles: z.ZodArray<z.ZodObject<{
|
|
17022
16903
|
id: z.ZodString;
|
|
17023
16904
|
createdAt: z.ZodDate;
|
|
@@ -17123,7 +17004,7 @@ export declare const ticketContract: {
|
|
|
17123
17004
|
extensionName: string;
|
|
17124
17005
|
telephonySignature: string | null;
|
|
17125
17006
|
}>;
|
|
17126
|
-
}
|
|
17007
|
+
}, "strip", z.ZodTypeAny, {
|
|
17127
17008
|
name: string;
|
|
17128
17009
|
id: string;
|
|
17129
17010
|
address: string | null;
|
|
@@ -17353,7 +17234,7 @@ export declare const ticketContract: {
|
|
|
17353
17234
|
entity: string;
|
|
17354
17235
|
};
|
|
17355
17236
|
}>, "many">;
|
|
17356
|
-
}
|
|
17237
|
+
}, "strip", z.ZodTypeAny, {
|
|
17357
17238
|
type: string;
|
|
17358
17239
|
id: string;
|
|
17359
17240
|
channel: string;
|
|
@@ -17605,7 +17486,7 @@ export declare const ticketContract: {
|
|
|
17605
17486
|
assigneeId: string;
|
|
17606
17487
|
creatorId: string;
|
|
17607
17488
|
reasonToAssign: string | null;
|
|
17608
|
-
|
|
17489
|
+
creator?: {
|
|
17609
17490
|
name: string;
|
|
17610
17491
|
id: string;
|
|
17611
17492
|
address: string | null;
|
|
@@ -17649,7 +17530,7 @@ export declare const ticketContract: {
|
|
|
17649
17530
|
telephonySignature: string | null;
|
|
17650
17531
|
};
|
|
17651
17532
|
} | null | undefined;
|
|
17652
|
-
|
|
17533
|
+
assignee?: {
|
|
17653
17534
|
name: string;
|
|
17654
17535
|
id: string;
|
|
17655
17536
|
address: string | null;
|
|
@@ -17946,7 +17827,7 @@ export declare const ticketContract: {
|
|
|
17946
17827
|
assigneeId: string;
|
|
17947
17828
|
creatorId: string;
|
|
17948
17829
|
reasonToAssign: string | null;
|
|
17949
|
-
|
|
17830
|
+
creator?: {
|
|
17950
17831
|
name: string;
|
|
17951
17832
|
id: string;
|
|
17952
17833
|
address: string | null;
|
|
@@ -17990,7 +17871,7 @@ export declare const ticketContract: {
|
|
|
17990
17871
|
telephonySignature: string | null;
|
|
17991
17872
|
};
|
|
17992
17873
|
} | null | undefined;
|
|
17993
|
-
|
|
17874
|
+
assignee?: {
|
|
17994
17875
|
name: string;
|
|
17995
17876
|
id: string;
|
|
17996
17877
|
address: string | null;
|
|
@@ -18036,7 +17917,7 @@ export declare const ticketContract: {
|
|
|
18036
17917
|
} | null | undefined;
|
|
18037
17918
|
ticketNumber?: number | undefined;
|
|
18038
17919
|
}>;
|
|
18039
|
-
}
|
|
17920
|
+
}, "strip", z.ZodTypeAny, {
|
|
18040
17921
|
data: {
|
|
18041
17922
|
type: string;
|
|
18042
17923
|
id: string;
|
|
@@ -18289,7 +18170,7 @@ export declare const ticketContract: {
|
|
|
18289
18170
|
assigneeId: string;
|
|
18290
18171
|
creatorId: string;
|
|
18291
18172
|
reasonToAssign: string | null;
|
|
18292
|
-
|
|
18173
|
+
creator?: {
|
|
18293
18174
|
name: string;
|
|
18294
18175
|
id: string;
|
|
18295
18176
|
address: string | null;
|
|
@@ -18333,7 +18214,7 @@ export declare const ticketContract: {
|
|
|
18333
18214
|
telephonySignature: string | null;
|
|
18334
18215
|
};
|
|
18335
18216
|
} | null | undefined;
|
|
18336
|
-
|
|
18217
|
+
assignee?: {
|
|
18337
18218
|
name: string;
|
|
18338
18219
|
id: string;
|
|
18339
18220
|
address: string | null;
|
|
@@ -18633,7 +18514,7 @@ export declare const ticketContract: {
|
|
|
18633
18514
|
assigneeId: string;
|
|
18634
18515
|
creatorId: string;
|
|
18635
18516
|
reasonToAssign: string | null;
|
|
18636
|
-
|
|
18517
|
+
creator?: {
|
|
18637
18518
|
name: string;
|
|
18638
18519
|
id: string;
|
|
18639
18520
|
address: string | null;
|
|
@@ -18677,7 +18558,7 @@ export declare const ticketContract: {
|
|
|
18677
18558
|
telephonySignature: string | null;
|
|
18678
18559
|
};
|
|
18679
18560
|
} | null | undefined;
|
|
18680
|
-
|
|
18561
|
+
assignee?: {
|
|
18681
18562
|
name: string;
|
|
18682
18563
|
id: string;
|
|
18683
18564
|
address: string | null;
|
|
@@ -18777,18 +18658,7 @@ export declare const ticketContract: {
|
|
|
18777
18658
|
error?: any;
|
|
18778
18659
|
}>;
|
|
18779
18660
|
};
|
|
18780
|
-
|
|
18781
|
-
getTicketCountByContact: {
|
|
18782
|
-
summary: "Get ticket count by contact";
|
|
18783
|
-
method: "GET";
|
|
18784
|
-
pathParams: z.ZodObject<{
|
|
18785
|
-
id: z.ZodString;
|
|
18786
|
-
}, "strip", z.ZodTypeAny, {
|
|
18787
|
-
id: string;
|
|
18788
|
-
}, {
|
|
18789
|
-
id: string;
|
|
18790
|
-
}>;
|
|
18791
|
-
path: "ts/ticket/ticket_count/contact/:id";
|
|
18661
|
+
path: "ts/ticket/assignee/update/:id";
|
|
18792
18662
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18793
18663
|
'x-tenant': z.ZodString;
|
|
18794
18664
|
'x-service-token': z.ZodString;
|
|
@@ -18805,10 +18675,20 @@ export declare const ticketContract: {
|
|
|
18805
18675
|
'x-code'?: string | undefined;
|
|
18806
18676
|
'x-client-timezone'?: string | undefined;
|
|
18807
18677
|
}>>>;
|
|
18678
|
+
};
|
|
18679
|
+
getTicketCountByContact: {
|
|
18680
|
+
summary: "Get ticket count by contact";
|
|
18681
|
+
method: "GET";
|
|
18682
|
+
pathParams: z.ZodObject<{
|
|
18683
|
+
id: z.ZodString;
|
|
18684
|
+
}, "strip", z.ZodTypeAny, {
|
|
18685
|
+
id: string;
|
|
18686
|
+
}, {
|
|
18687
|
+
id: string;
|
|
18688
|
+
}>;
|
|
18808
18689
|
responses: {
|
|
18809
|
-
200: z.ZodObject<
|
|
18690
|
+
200: z.ZodObject<{
|
|
18810
18691
|
requestId: z.ZodString;
|
|
18811
|
-
}, {
|
|
18812
18692
|
data: z.ZodObject<{
|
|
18813
18693
|
total: z.ZodNumber;
|
|
18814
18694
|
open: z.ZodNumber;
|
|
@@ -18828,7 +18708,7 @@ export declare const ticketContract: {
|
|
|
18828
18708
|
pending: number;
|
|
18829
18709
|
solved: number;
|
|
18830
18710
|
}>;
|
|
18831
|
-
}
|
|
18711
|
+
}, "strip", z.ZodTypeAny, {
|
|
18832
18712
|
data: {
|
|
18833
18713
|
total: number;
|
|
18834
18714
|
closed: number;
|
|
@@ -18875,6 +18755,23 @@ export declare const ticketContract: {
|
|
|
18875
18755
|
error?: any;
|
|
18876
18756
|
}>;
|
|
18877
18757
|
};
|
|
18758
|
+
path: "ts/ticket/ticket_count/contact/:id";
|
|
18759
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18760
|
+
'x-tenant': z.ZodString;
|
|
18761
|
+
'x-service-token': z.ZodString;
|
|
18762
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
18763
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
18764
|
+
}, "strip", z.ZodTypeAny, {
|
|
18765
|
+
'x-tenant': string;
|
|
18766
|
+
'x-service-token': string;
|
|
18767
|
+
'x-client-timezone': string;
|
|
18768
|
+
'x-code'?: string | undefined;
|
|
18769
|
+
}, {
|
|
18770
|
+
'x-tenant': string;
|
|
18771
|
+
'x-service-token': string;
|
|
18772
|
+
'x-code'?: string | undefined;
|
|
18773
|
+
'x-client-timezone'?: string | undefined;
|
|
18774
|
+
}>>>;
|
|
18878
18775
|
};
|
|
18879
18776
|
createTicketAttachmentRecords: {
|
|
18880
18777
|
body: z.ZodObject<{
|
|
@@ -18922,43 +18819,23 @@ export declare const ticketContract: {
|
|
|
18922
18819
|
}>;
|
|
18923
18820
|
summary: "Create a new ticket attachment";
|
|
18924
18821
|
method: "POST";
|
|
18925
|
-
path: "ts/ticket/attachment";
|
|
18926
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18927
|
-
'x-tenant': z.ZodString;
|
|
18928
|
-
'x-service-token': z.ZodString;
|
|
18929
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
18930
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
18931
|
-
}, "strip", z.ZodTypeAny, {
|
|
18932
|
-
'x-tenant': string;
|
|
18933
|
-
'x-service-token': string;
|
|
18934
|
-
'x-client-timezone': string;
|
|
18935
|
-
'x-code'?: string | undefined;
|
|
18936
|
-
}, {
|
|
18937
|
-
'x-tenant': string;
|
|
18938
|
-
'x-service-token': string;
|
|
18939
|
-
'x-code'?: string | undefined;
|
|
18940
|
-
'x-client-timezone'?: string | undefined;
|
|
18941
|
-
}>>>;
|
|
18942
18822
|
responses: {
|
|
18943
|
-
201: z.ZodObject<
|
|
18823
|
+
201: z.ZodObject<{
|
|
18944
18824
|
requestId: z.ZodString;
|
|
18945
|
-
|
|
18946
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
18825
|
+
data: z.ZodObject<{
|
|
18947
18826
|
id: z.ZodString;
|
|
18948
18827
|
createdAt: z.ZodDate;
|
|
18949
18828
|
updatedAt: z.ZodDate;
|
|
18950
18829
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
18951
|
-
}, {
|
|
18952
18830
|
textValue: z.ZodNullable<z.ZodString>;
|
|
18953
18831
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
18954
18832
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
18955
18833
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
18956
|
-
attribute: z.ZodObject<Omit<
|
|
18834
|
+
attribute: z.ZodObject<Omit<{
|
|
18957
18835
|
id: z.ZodString;
|
|
18958
18836
|
createdAt: z.ZodDate;
|
|
18959
18837
|
updatedAt: z.ZodDate;
|
|
18960
18838
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
18961
|
-
}, {
|
|
18962
18839
|
systemName: z.ZodString;
|
|
18963
18840
|
displayName: z.ZodString;
|
|
18964
18841
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -18967,14 +18844,13 @@ export declare const ticketContract: {
|
|
|
18967
18844
|
isArchived: z.ZodBoolean;
|
|
18968
18845
|
isRequired: z.ZodBoolean;
|
|
18969
18846
|
isUnique: z.ZodBoolean;
|
|
18970
|
-
options: z.ZodArray<z.ZodObject<
|
|
18971
|
-
|
|
18847
|
+
options: z.ZodArray<z.ZodObject<{
|
|
18848
|
+
position: z.ZodNumber;
|
|
18972
18849
|
value: z.ZodString;
|
|
18850
|
+
label: z.ZodString;
|
|
18973
18851
|
isDefault: z.ZodBoolean;
|
|
18974
|
-
position: z.ZodNumber;
|
|
18975
|
-
}, {
|
|
18976
18852
|
id: z.ZodString;
|
|
18977
|
-
}
|
|
18853
|
+
}, "strip", z.ZodTypeAny, {
|
|
18978
18854
|
id: string;
|
|
18979
18855
|
position: number;
|
|
18980
18856
|
value: string;
|
|
@@ -18987,15 +18863,14 @@ export declare const ticketContract: {
|
|
|
18987
18863
|
label: string;
|
|
18988
18864
|
isDefault: boolean;
|
|
18989
18865
|
}>, "many">;
|
|
18990
|
-
group: z.ZodObject<
|
|
18866
|
+
group: z.ZodObject<{
|
|
18991
18867
|
id: z.ZodString;
|
|
18992
18868
|
createdAt: z.ZodDate;
|
|
18993
18869
|
updatedAt: z.ZodDate;
|
|
18994
18870
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
18995
|
-
}, {
|
|
18996
18871
|
systemName: z.ZodString;
|
|
18997
18872
|
displayName: z.ZodString;
|
|
18998
|
-
}
|
|
18873
|
+
}, "strip", z.ZodTypeAny, {
|
|
18999
18874
|
id: string;
|
|
19000
18875
|
createdAt: Date;
|
|
19001
18876
|
updatedAt: Date;
|
|
@@ -19010,7 +18885,7 @@ export declare const ticketContract: {
|
|
|
19010
18885
|
systemName: string;
|
|
19011
18886
|
displayName: string;
|
|
19012
18887
|
}>;
|
|
19013
|
-
}
|
|
18888
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
19014
18889
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
19015
18890
|
id: string;
|
|
19016
18891
|
position: number;
|
|
@@ -19037,19 +18912,18 @@ export declare const ticketContract: {
|
|
|
19037
18912
|
isRequired: boolean;
|
|
19038
18913
|
isUnique: boolean;
|
|
19039
18914
|
}>;
|
|
19040
|
-
uploads: z.ZodArray<z.ZodObject<
|
|
18915
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
19041
18916
|
id: z.ZodString;
|
|
19042
18917
|
createdAt: z.ZodDate;
|
|
19043
18918
|
updatedAt: z.ZodDate;
|
|
19044
18919
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
19045
|
-
}, {
|
|
19046
18920
|
bucketName: z.ZodString;
|
|
19047
18921
|
fileName: z.ZodString;
|
|
19048
18922
|
fileSize: z.ZodNumber;
|
|
19049
18923
|
fileKey: z.ZodString;
|
|
19050
18924
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
19051
18925
|
status: z.ZodNullable<z.ZodString>;
|
|
19052
|
-
}
|
|
18926
|
+
}, "strip", z.ZodTypeAny, {
|
|
19053
18927
|
id: string;
|
|
19054
18928
|
status: string | null;
|
|
19055
18929
|
createdAt: Date;
|
|
@@ -19072,7 +18946,7 @@ export declare const ticketContract: {
|
|
|
19072
18946
|
fileSize: number;
|
|
19073
18947
|
fileUrl: string | null;
|
|
19074
18948
|
}>, "many">;
|
|
19075
|
-
}
|
|
18949
|
+
}, "strip", z.ZodTypeAny, {
|
|
19076
18950
|
id: string;
|
|
19077
18951
|
createdAt: Date;
|
|
19078
18952
|
updatedAt: Date;
|
|
@@ -19143,7 +19017,7 @@ export declare const ticketContract: {
|
|
|
19143
19017
|
fileUrl: string | null;
|
|
19144
19018
|
}[];
|
|
19145
19019
|
}>;
|
|
19146
|
-
}
|
|
19020
|
+
}, "strip", z.ZodTypeAny, {
|
|
19147
19021
|
data: {
|
|
19148
19022
|
id: string;
|
|
19149
19023
|
createdAt: Date;
|
|
@@ -19272,6 +19146,23 @@ export declare const ticketContract: {
|
|
|
19272
19146
|
error?: any;
|
|
19273
19147
|
}>;
|
|
19274
19148
|
};
|
|
19149
|
+
path: "ts/ticket/attachment";
|
|
19150
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19151
|
+
'x-tenant': z.ZodString;
|
|
19152
|
+
'x-service-token': z.ZodString;
|
|
19153
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
19154
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
19155
|
+
}, "strip", z.ZodTypeAny, {
|
|
19156
|
+
'x-tenant': string;
|
|
19157
|
+
'x-service-token': string;
|
|
19158
|
+
'x-client-timezone': string;
|
|
19159
|
+
'x-code'?: string | undefined;
|
|
19160
|
+
}, {
|
|
19161
|
+
'x-tenant': string;
|
|
19162
|
+
'x-service-token': string;
|
|
19163
|
+
'x-code'?: string | undefined;
|
|
19164
|
+
'x-client-timezone'?: string | undefined;
|
|
19165
|
+
}>>>;
|
|
19275
19166
|
};
|
|
19276
19167
|
exportTicket: {
|
|
19277
19168
|
summary: "Export tickets";
|
|
@@ -19297,71 +19188,54 @@ export declare const ticketContract: {
|
|
|
19297
19188
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
19298
19189
|
}, "strip", z.ZodTypeAny, {
|
|
19299
19190
|
type: string;
|
|
19300
|
-
value: string | string[];
|
|
19191
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
19301
19192
|
attributeId: string;
|
|
19302
19193
|
}, {
|
|
19303
19194
|
type: string;
|
|
19304
|
-
value: string | string[];
|
|
19195
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
19305
19196
|
attributeId: string;
|
|
19306
19197
|
}>, "many">>;
|
|
19307
19198
|
}, "strip", z.ZodTypeAny, {
|
|
19308
|
-
|
|
19309
|
-
|
|
19310
|
-
|
|
19199
|
+
agent?: string[] | undefined;
|
|
19200
|
+
selectedDate?: string | undefined;
|
|
19201
|
+
keyword?: string | undefined;
|
|
19311
19202
|
title?: string | undefined;
|
|
19312
19203
|
description?: string | undefined;
|
|
19313
19204
|
status?: string[] | undefined;
|
|
19205
|
+
priority?: string[] | undefined;
|
|
19206
|
+
assignee?: string[] | undefined;
|
|
19207
|
+
channel?: string[] | undefined;
|
|
19208
|
+
type?: string[] | undefined;
|
|
19209
|
+
ticketType?: string[] | undefined;
|
|
19314
19210
|
contact?: string[] | undefined;
|
|
19211
|
+
tags?: string[] | undefined;
|
|
19212
|
+
categories?: string[] | undefined;
|
|
19315
19213
|
customFields?: {
|
|
19316
19214
|
type: string;
|
|
19317
|
-
value: string | string[];
|
|
19215
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
19318
19216
|
attributeId: string;
|
|
19319
19217
|
}[] | undefined;
|
|
19320
|
-
|
|
19321
|
-
categories?: string[] | undefined;
|
|
19322
|
-
assignee?: string[] | undefined;
|
|
19218
|
+
}, {
|
|
19323
19219
|
agent?: string[] | undefined;
|
|
19324
|
-
keyword?: string | undefined;
|
|
19325
19220
|
selectedDate?: string | undefined;
|
|
19326
|
-
|
|
19327
|
-
}, {
|
|
19328
|
-
type?: string[] | undefined;
|
|
19329
|
-
channel?: string[] | undefined;
|
|
19330
|
-
priority?: string[] | undefined;
|
|
19221
|
+
keyword?: string | undefined;
|
|
19331
19222
|
title?: string | undefined;
|
|
19332
19223
|
description?: string | undefined;
|
|
19333
19224
|
status?: string[] | undefined;
|
|
19225
|
+
priority?: string[] | undefined;
|
|
19226
|
+
assignee?: string[] | undefined;
|
|
19227
|
+
channel?: string[] | undefined;
|
|
19228
|
+
type?: string[] | undefined;
|
|
19229
|
+
ticketType?: string[] | undefined;
|
|
19334
19230
|
contact?: string[] | undefined;
|
|
19231
|
+
tags?: string[] | undefined;
|
|
19232
|
+
categories?: string[] | undefined;
|
|
19335
19233
|
customFields?: {
|
|
19336
19234
|
type: string;
|
|
19337
|
-
value: string | string[];
|
|
19235
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
19338
19236
|
attributeId: string;
|
|
19339
19237
|
}[] | undefined;
|
|
19340
|
-
tags?: string[] | undefined;
|
|
19341
|
-
categories?: string[] | undefined;
|
|
19342
|
-
assignee?: string[] | undefined;
|
|
19343
|
-
agent?: string[] | undefined;
|
|
19344
|
-
keyword?: string | undefined;
|
|
19345
|
-
selectedDate?: string | undefined;
|
|
19346
|
-
ticketType?: string[] | undefined;
|
|
19347
19238
|
}>;
|
|
19348
|
-
path: "ts/ticket/export";
|
|
19349
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19350
|
-
'x-tenant': z.ZodString;
|
|
19351
|
-
'x-service-token': z.ZodString;
|
|
19352
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
19353
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
19354
|
-
}, "strip", z.ZodTypeAny, {
|
|
19355
|
-
'x-tenant': string;
|
|
19356
|
-
'x-service-token': string;
|
|
19357
|
-
'x-client-timezone': string;
|
|
19358
|
-
'x-code'?: string | undefined;
|
|
19359
|
-
}, {
|
|
19360
|
-
'x-tenant': string;
|
|
19361
|
-
'x-service-token': string;
|
|
19362
|
-
'x-code'?: string | undefined;
|
|
19363
|
-
'x-client-timezone'?: string | undefined;
|
|
19364
|
-
}>>>;
|
|
19365
19239
|
responses: {
|
|
19366
19240
|
200: null;
|
|
19367
19241
|
401: z.ZodObject<{
|
|
@@ -19375,10 +19249,7 @@ export declare const ticketContract: {
|
|
|
19375
19249
|
error?: any;
|
|
19376
19250
|
}>;
|
|
19377
19251
|
};
|
|
19378
|
-
|
|
19379
|
-
getTicketReasonRequired: {
|
|
19380
|
-
method: "GET";
|
|
19381
|
-
path: "ts/ticket/gs/ticket-reason-required";
|
|
19252
|
+
path: "ts/ticket/export";
|
|
19382
19253
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19383
19254
|
'x-tenant': z.ZodString;
|
|
19384
19255
|
'x-service-token': z.ZodString;
|
|
@@ -19395,12 +19266,14 @@ export declare const ticketContract: {
|
|
|
19395
19266
|
'x-code'?: string | undefined;
|
|
19396
19267
|
'x-client-timezone'?: string | undefined;
|
|
19397
19268
|
}>>>;
|
|
19269
|
+
};
|
|
19270
|
+
getTicketReasonRequired: {
|
|
19271
|
+
method: "GET";
|
|
19398
19272
|
responses: {
|
|
19399
|
-
200: z.ZodObject<
|
|
19273
|
+
200: z.ZodObject<{
|
|
19400
19274
|
requestId: z.ZodString;
|
|
19401
|
-
}, {
|
|
19402
19275
|
ticketReasonRequired: z.ZodString;
|
|
19403
|
-
}
|
|
19276
|
+
}, "strip", z.ZodTypeAny, {
|
|
19404
19277
|
requestId: string;
|
|
19405
19278
|
ticketReasonRequired: string;
|
|
19406
19279
|
}, {
|
|
@@ -19435,16 +19308,6 @@ export declare const ticketContract: {
|
|
|
19435
19308
|
error?: any;
|
|
19436
19309
|
}>;
|
|
19437
19310
|
};
|
|
19438
|
-
};
|
|
19439
|
-
updateTicketReasonRequired: {
|
|
19440
|
-
body: z.ZodObject<{
|
|
19441
|
-
ticketReasonRequired: z.ZodString;
|
|
19442
|
-
}, "strip", z.ZodTypeAny, {
|
|
19443
|
-
ticketReasonRequired: string;
|
|
19444
|
-
}, {
|
|
19445
|
-
ticketReasonRequired: string;
|
|
19446
|
-
}>;
|
|
19447
|
-
method: "PATCH";
|
|
19448
19311
|
path: "ts/ticket/gs/ticket-reason-required";
|
|
19449
19312
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19450
19313
|
'x-tenant': z.ZodString;
|
|
@@ -19462,12 +19325,21 @@ export declare const ticketContract: {
|
|
|
19462
19325
|
'x-code'?: string | undefined;
|
|
19463
19326
|
'x-client-timezone'?: string | undefined;
|
|
19464
19327
|
}>>>;
|
|
19328
|
+
};
|
|
19329
|
+
updateTicketReasonRequired: {
|
|
19330
|
+
body: z.ZodObject<{
|
|
19331
|
+
ticketReasonRequired: z.ZodString;
|
|
19332
|
+
}, "strip", z.ZodTypeAny, {
|
|
19333
|
+
ticketReasonRequired: string;
|
|
19334
|
+
}, {
|
|
19335
|
+
ticketReasonRequired: string;
|
|
19336
|
+
}>;
|
|
19337
|
+
method: "PATCH";
|
|
19465
19338
|
responses: {
|
|
19466
|
-
200: z.ZodObject<
|
|
19339
|
+
200: z.ZodObject<{
|
|
19467
19340
|
requestId: z.ZodString;
|
|
19468
|
-
}, {
|
|
19469
19341
|
ticketReasonRequired: z.ZodString;
|
|
19470
|
-
}
|
|
19342
|
+
}, "strip", z.ZodTypeAny, {
|
|
19471
19343
|
requestId: string;
|
|
19472
19344
|
ticketReasonRequired: string;
|
|
19473
19345
|
}, {
|
|
@@ -19502,6 +19374,23 @@ export declare const ticketContract: {
|
|
|
19502
19374
|
error?: any;
|
|
19503
19375
|
}>;
|
|
19504
19376
|
};
|
|
19377
|
+
path: "ts/ticket/gs/ticket-reason-required";
|
|
19378
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19379
|
+
'x-tenant': z.ZodString;
|
|
19380
|
+
'x-service-token': z.ZodString;
|
|
19381
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
19382
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
19383
|
+
}, "strip", z.ZodTypeAny, {
|
|
19384
|
+
'x-tenant': string;
|
|
19385
|
+
'x-service-token': string;
|
|
19386
|
+
'x-client-timezone': string;
|
|
19387
|
+
'x-code'?: string | undefined;
|
|
19388
|
+
}, {
|
|
19389
|
+
'x-tenant': string;
|
|
19390
|
+
'x-service-token': string;
|
|
19391
|
+
'x-code'?: string | undefined;
|
|
19392
|
+
'x-client-timezone'?: string | undefined;
|
|
19393
|
+
}>>>;
|
|
19505
19394
|
};
|
|
19506
19395
|
};
|
|
19507
19396
|
//# sourceMappingURL=index.d.ts.map
|