@kl1/contracts 1.4.62 → 1.4.64
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 +21 -20
- package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -3
- package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +132 -116
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +5 -2
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +1 -0
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +22 -20
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +148 -126
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +9 -6
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +4 -2
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +29 -22
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/validation.d.ts +20 -17
- package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +16 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +5 -0
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +100 -91
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +1 -0
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +3915 -1965
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +90 -82
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +178 -104
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +13716 -12748
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3111 -2895
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3523 -3254
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +227 -155
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +52 -29
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +162 -55
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +15 -6
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +86 -30
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +437 -318
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +28 -14
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +137 -56
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +66841 -98172
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +686 -627
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +464 -402
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +2 -1
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +106 -100
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +3335 -3151
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +100 -81
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -83
- 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 +1 -0
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +49 -30
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
- 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 +2116 -1968
- 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/invoice/index.d.ts +3 -1
- package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
- package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
- package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/index.d.ts +5930 -3695
- package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/schema.d.ts +8 -8
- package/dist/api-contracts/src/klink-chat/validation.d.ts +3 -3
- package/dist/api-contracts/src/line/index.d.ts +2077 -1937
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +10 -9
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +157 -148
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +223 -174
- 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 +2 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +426 -306
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +105 -46
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +27 -0
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -0
- package/dist/api-contracts/src/mail/schemas/account.schema.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 +34 -21
- 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 +18 -6
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +2109 -1960
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +99 -83
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +20 -13
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +12 -9
- package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/validation.d.ts +4 -3
- 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 +87 -83
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +80 -75
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +588 -542
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +32 -10
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +474 -6
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +65 -58
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2505 -2381
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +38 -463
- 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 +5 -6
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.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 +756 -702
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
- 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 +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +564 -452
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +32 -30
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +1 -0
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +137 -126
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +4 -3
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +3 -2
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -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 +5 -3
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +2494 -2370
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1754 -1630
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1848 -1705
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +15 -4
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +145 -132
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +1 -0
- 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 +2062 -1907
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
- 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 +3 -0
- 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 +19 -18
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +2 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +2 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1296 -1084
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1295 -1084
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -67,6 +67,7 @@ export declare const ticketContract: {
|
|
67
67
|
categories: z.ZodObject<{
|
68
68
|
isRequired: z.ZodBoolean;
|
69
69
|
attributeId: z.ZodString;
|
70
|
+
} & {
|
70
71
|
value: z.ZodArray<z.ZodString, "many">;
|
71
72
|
}, "strip", z.ZodTypeAny, {
|
72
73
|
value: string[];
|
@@ -174,14 +175,33 @@ export declare const ticketContract: {
|
|
174
175
|
}>;
|
175
176
|
summary: "Create a new ticket";
|
176
177
|
method: "POST";
|
178
|
+
path: "tcs/api/v1/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
|
+
}>>>;
|
177
195
|
responses: {
|
178
196
|
201: z.ZodObject<{
|
179
197
|
requestId: z.ZodString;
|
198
|
+
} & {
|
180
199
|
data: z.ZodObject<{
|
181
200
|
id: z.ZodString;
|
182
201
|
createdAt: z.ZodDate;
|
183
202
|
updatedAt: z.ZodDate;
|
184
203
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
204
|
+
} & {
|
185
205
|
title: z.ZodString;
|
186
206
|
description: z.ZodNullable<z.ZodString>;
|
187
207
|
type: z.ZodString;
|
@@ -191,17 +211,18 @@ export declare const ticketContract: {
|
|
191
211
|
contactId: z.ZodString;
|
192
212
|
creatorId: z.ZodString;
|
193
213
|
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
194
|
-
name: z.ZodString;
|
195
214
|
id: z.ZodString;
|
196
|
-
address: z.ZodNullable<z.ZodString>;
|
197
|
-
email: z.ZodString;
|
198
215
|
createdAt: z.ZodDate;
|
199
216
|
updatedAt: z.ZodDate;
|
200
217
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
218
|
+
name: z.ZodString;
|
219
|
+
email: z.ZodString;
|
201
220
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
202
221
|
password: z.ZodString;
|
222
|
+
address: z.ZodNullable<z.ZodString>;
|
203
223
|
phone: z.ZodNullable<z.ZodString>;
|
204
224
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
225
|
+
} & {
|
205
226
|
roles: z.ZodArray<z.ZodObject<{
|
206
227
|
id: z.ZodString;
|
207
228
|
createdAt: z.ZodDate;
|
@@ -396,17 +417,18 @@ export declare const ticketContract: {
|
|
396
417
|
}>>>;
|
397
418
|
assigneeId: z.ZodString;
|
398
419
|
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
399
|
-
name: z.ZodString;
|
400
420
|
id: z.ZodString;
|
401
|
-
address: z.ZodNullable<z.ZodString>;
|
402
|
-
email: z.ZodString;
|
403
421
|
createdAt: z.ZodDate;
|
404
422
|
updatedAt: z.ZodDate;
|
405
423
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
424
|
+
name: z.ZodString;
|
425
|
+
email: z.ZodString;
|
406
426
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
407
427
|
password: z.ZodString;
|
428
|
+
address: z.ZodNullable<z.ZodString>;
|
408
429
|
phone: z.ZodNullable<z.ZodString>;
|
409
430
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
431
|
+
} & {
|
410
432
|
roles: z.ZodArray<z.ZodObject<{
|
411
433
|
id: z.ZodString;
|
412
434
|
createdAt: z.ZodDate;
|
@@ -606,6 +628,7 @@ export declare const ticketContract: {
|
|
606
628
|
createdAt: z.ZodDate;
|
607
629
|
updatedAt: z.ZodDate;
|
608
630
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
631
|
+
} & {
|
609
632
|
textValue: z.ZodNullable<z.ZodString>;
|
610
633
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
611
634
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -615,6 +638,7 @@ export declare const ticketContract: {
|
|
615
638
|
createdAt: z.ZodDate;
|
616
639
|
updatedAt: z.ZodDate;
|
617
640
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
641
|
+
} & {
|
618
642
|
systemName: z.ZodString;
|
619
643
|
displayName: z.ZodString;
|
620
644
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -624,10 +648,11 @@ export declare const ticketContract: {
|
|
624
648
|
isRequired: z.ZodBoolean;
|
625
649
|
isUnique: z.ZodBoolean;
|
626
650
|
options: z.ZodArray<z.ZodObject<{
|
627
|
-
position: z.ZodNumber;
|
628
|
-
value: z.ZodString;
|
629
651
|
label: z.ZodString;
|
652
|
+
value: z.ZodString;
|
630
653
|
isDefault: z.ZodBoolean;
|
654
|
+
position: z.ZodNumber;
|
655
|
+
} & {
|
631
656
|
id: z.ZodString;
|
632
657
|
}, "strip", z.ZodTypeAny, {
|
633
658
|
id: string;
|
@@ -647,6 +672,7 @@ export declare const ticketContract: {
|
|
647
672
|
createdAt: z.ZodDate;
|
648
673
|
updatedAt: z.ZodDate;
|
649
674
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
675
|
+
} & {
|
650
676
|
systemName: z.ZodString;
|
651
677
|
displayName: z.ZodString;
|
652
678
|
}, "strip", z.ZodTypeAny, {
|
@@ -696,6 +722,7 @@ export declare const ticketContract: {
|
|
696
722
|
createdAt: z.ZodDate;
|
697
723
|
updatedAt: z.ZodDate;
|
698
724
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
725
|
+
} & {
|
699
726
|
bucketName: z.ZodString;
|
700
727
|
fileName: z.ZodString;
|
701
728
|
fileSize: z.ZodNumber;
|
@@ -801,6 +828,7 @@ export declare const ticketContract: {
|
|
801
828
|
createdAt: z.ZodDate;
|
802
829
|
updatedAt: z.ZodDate;
|
803
830
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
831
|
+
} & {
|
804
832
|
name: z.ZodString;
|
805
833
|
}, "strip", z.ZodTypeAny, {
|
806
834
|
name: string;
|
@@ -820,6 +848,7 @@ export declare const ticketContract: {
|
|
820
848
|
createdAt: z.ZodDate;
|
821
849
|
updatedAt: z.ZodDate;
|
822
850
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
851
|
+
} & {
|
823
852
|
value: z.ZodString;
|
824
853
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
825
854
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -931,6 +960,7 @@ export declare const ticketContract: {
|
|
931
960
|
createdAt: z.ZodDate;
|
932
961
|
updatedAt: z.ZodDate;
|
933
962
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
963
|
+
} & {
|
934
964
|
name: z.ZodString;
|
935
965
|
}, "strip", z.ZodTypeAny, {
|
936
966
|
name: string;
|
@@ -950,6 +980,7 @@ export declare const ticketContract: {
|
|
950
980
|
createdAt: z.ZodDate;
|
951
981
|
updatedAt: z.ZodDate;
|
952
982
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
983
|
+
} & {
|
953
984
|
name: z.ZodOptional<z.ZodString>;
|
954
985
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
955
986
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -959,6 +990,7 @@ export declare const ticketContract: {
|
|
959
990
|
createdAt: z.ZodDate;
|
960
991
|
updatedAt: z.ZodDate;
|
961
992
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
993
|
+
} & {
|
962
994
|
textValue: z.ZodNullable<z.ZodString>;
|
963
995
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
964
996
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -968,6 +1000,7 @@ export declare const ticketContract: {
|
|
968
1000
|
createdAt: z.ZodDate;
|
969
1001
|
updatedAt: z.ZodDate;
|
970
1002
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1003
|
+
} & {
|
971
1004
|
systemName: z.ZodString;
|
972
1005
|
displayName: z.ZodString;
|
973
1006
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -977,10 +1010,11 @@ export declare const ticketContract: {
|
|
977
1010
|
isRequired: z.ZodBoolean;
|
978
1011
|
isUnique: z.ZodBoolean;
|
979
1012
|
options: z.ZodArray<z.ZodObject<{
|
980
|
-
position: z.ZodNumber;
|
981
|
-
value: z.ZodString;
|
982
1013
|
label: z.ZodString;
|
1014
|
+
value: z.ZodString;
|
983
1015
|
isDefault: z.ZodBoolean;
|
1016
|
+
position: z.ZodNumber;
|
1017
|
+
} & {
|
984
1018
|
id: z.ZodString;
|
985
1019
|
}, "strip", z.ZodTypeAny, {
|
986
1020
|
id: string;
|
@@ -1000,6 +1034,7 @@ export declare const ticketContract: {
|
|
1000
1034
|
createdAt: z.ZodDate;
|
1001
1035
|
updatedAt: z.ZodDate;
|
1002
1036
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1037
|
+
} & {
|
1003
1038
|
systemName: z.ZodString;
|
1004
1039
|
displayName: z.ZodString;
|
1005
1040
|
}, "strip", z.ZodTypeAny, {
|
@@ -1177,6 +1212,7 @@ export declare const ticketContract: {
|
|
1177
1212
|
createdAt: z.ZodDate;
|
1178
1213
|
updatedAt: z.ZodDate;
|
1179
1214
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1215
|
+
} & {
|
1180
1216
|
systemName: z.ZodString;
|
1181
1217
|
displayName: z.ZodString;
|
1182
1218
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1186,10 +1222,11 @@ export declare const ticketContract: {
|
|
1186
1222
|
isRequired: z.ZodBoolean;
|
1187
1223
|
isUnique: z.ZodBoolean;
|
1188
1224
|
options: z.ZodArray<z.ZodObject<{
|
1189
|
-
position: z.ZodNumber;
|
1190
|
-
value: z.ZodString;
|
1191
1225
|
label: z.ZodString;
|
1226
|
+
value: z.ZodString;
|
1192
1227
|
isDefault: z.ZodBoolean;
|
1228
|
+
position: z.ZodNumber;
|
1229
|
+
} & {
|
1193
1230
|
id: z.ZodString;
|
1194
1231
|
}, "strip", z.ZodTypeAny, {
|
1195
1232
|
id: string;
|
@@ -1209,6 +1246,7 @@ export declare const ticketContract: {
|
|
1209
1246
|
createdAt: z.ZodDate;
|
1210
1247
|
updatedAt: z.ZodDate;
|
1211
1248
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1249
|
+
} & {
|
1212
1250
|
systemName: z.ZodString;
|
1213
1251
|
displayName: z.ZodString;
|
1214
1252
|
}, "strip", z.ZodTypeAny, {
|
@@ -1258,6 +1296,7 @@ export declare const ticketContract: {
|
|
1258
1296
|
createdAt: z.ZodDate;
|
1259
1297
|
updatedAt: z.ZodDate;
|
1260
1298
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1299
|
+
} & {
|
1261
1300
|
bucketName: z.ZodString;
|
1262
1301
|
fileName: z.ZodString;
|
1263
1302
|
fileSize: z.ZodNumber;
|
@@ -1691,17 +1730,18 @@ export declare const ticketContract: {
|
|
1691
1730
|
updatedAt: z.ZodDate;
|
1692
1731
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1693
1732
|
actor: z.ZodObject<{
|
1694
|
-
name: z.ZodString;
|
1695
1733
|
id: z.ZodString;
|
1696
|
-
address: z.ZodNullable<z.ZodString>;
|
1697
|
-
email: z.ZodString;
|
1698
1734
|
createdAt: z.ZodDate;
|
1699
1735
|
updatedAt: z.ZodDate;
|
1700
1736
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1737
|
+
name: z.ZodString;
|
1738
|
+
email: z.ZodString;
|
1701
1739
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
1702
1740
|
password: z.ZodString;
|
1741
|
+
address: z.ZodNullable<z.ZodString>;
|
1703
1742
|
phone: z.ZodNullable<z.ZodString>;
|
1704
1743
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1744
|
+
} & {
|
1705
1745
|
roles: z.ZodArray<z.ZodObject<{
|
1706
1746
|
id: z.ZodString;
|
1707
1747
|
createdAt: z.ZodDate;
|
@@ -2289,7 +2329,7 @@ export declare const ticketContract: {
|
|
2289
2329
|
assigneeId: string;
|
2290
2330
|
creatorId: string;
|
2291
2331
|
reasonToAssign: string | null;
|
2292
|
-
|
2332
|
+
assignee?: {
|
2293
2333
|
name: string;
|
2294
2334
|
id: string;
|
2295
2335
|
address: string | null;
|
@@ -2333,7 +2373,7 @@ export declare const ticketContract: {
|
|
2333
2373
|
telephonySignature: string | null;
|
2334
2374
|
};
|
2335
2375
|
} | null | undefined;
|
2336
|
-
|
2376
|
+
creator?: {
|
2337
2377
|
name: string;
|
2338
2378
|
id: string;
|
2339
2379
|
address: string | null;
|
@@ -2630,7 +2670,7 @@ export declare const ticketContract: {
|
|
2630
2670
|
assigneeId: string;
|
2631
2671
|
creatorId: string;
|
2632
2672
|
reasonToAssign: string | null;
|
2633
|
-
|
2673
|
+
assignee?: {
|
2634
2674
|
name: string;
|
2635
2675
|
id: string;
|
2636
2676
|
address: string | null;
|
@@ -2674,7 +2714,7 @@ export declare const ticketContract: {
|
|
2674
2714
|
telephonySignature: string | null;
|
2675
2715
|
};
|
2676
2716
|
} | null | undefined;
|
2677
|
-
|
2717
|
+
creator?: {
|
2678
2718
|
name: string;
|
2679
2719
|
id: string;
|
2680
2720
|
address: string | null;
|
@@ -2973,7 +3013,7 @@ export declare const ticketContract: {
|
|
2973
3013
|
assigneeId: string;
|
2974
3014
|
creatorId: string;
|
2975
3015
|
reasonToAssign: string | null;
|
2976
|
-
|
3016
|
+
assignee?: {
|
2977
3017
|
name: string;
|
2978
3018
|
id: string;
|
2979
3019
|
address: string | null;
|
@@ -3017,7 +3057,7 @@ export declare const ticketContract: {
|
|
3017
3057
|
telephonySignature: string | null;
|
3018
3058
|
};
|
3019
3059
|
} | null | undefined;
|
3020
|
-
|
3060
|
+
creator?: {
|
3021
3061
|
name: string;
|
3022
3062
|
id: string;
|
3023
3063
|
address: string | null;
|
@@ -3317,7 +3357,7 @@ export declare const ticketContract: {
|
|
3317
3357
|
assigneeId: string;
|
3318
3358
|
creatorId: string;
|
3319
3359
|
reasonToAssign: string | null;
|
3320
|
-
|
3360
|
+
assignee?: {
|
3321
3361
|
name: string;
|
3322
3362
|
id: string;
|
3323
3363
|
address: string | null;
|
@@ -3361,7 +3401,7 @@ export declare const ticketContract: {
|
|
3361
3401
|
telephonySignature: string | null;
|
3362
3402
|
};
|
3363
3403
|
} | null | undefined;
|
3364
|
-
|
3404
|
+
creator?: {
|
3365
3405
|
name: string;
|
3366
3406
|
id: string;
|
3367
3407
|
address: string | null;
|
@@ -3461,23 +3501,6 @@ export declare const ticketContract: {
|
|
3461
3501
|
error?: any;
|
3462
3502
|
}>;
|
3463
3503
|
};
|
3464
|
-
path: "tcs/api/v1/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
|
-
}>>>;
|
3481
3504
|
};
|
3482
3505
|
getAllTickets: {
|
3483
3506
|
summary: "Get all tickets";
|
@@ -3505,66 +3528,85 @@ export declare const ticketContract: {
|
|
3505
3528
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
3506
3529
|
}, "strip", z.ZodTypeAny, {
|
3507
3530
|
type: string;
|
3508
|
-
value:
|
3531
|
+
value: string | string[];
|
3509
3532
|
attributeId: string;
|
3510
3533
|
}, {
|
3511
3534
|
type: string;
|
3512
|
-
value:
|
3535
|
+
value: string | string[];
|
3513
3536
|
attributeId: string;
|
3514
3537
|
}>, "many">>;
|
3515
3538
|
}, "strip", z.ZodTypeAny, {
|
3539
|
+
type?: string[] | undefined;
|
3540
|
+
channel?: string[] | undefined;
|
3541
|
+
priority?: string[] | undefined;
|
3516
3542
|
page?: number | undefined;
|
3517
|
-
pageSize?: number | undefined;
|
3518
|
-
selectedDate?: string | undefined;
|
3519
|
-
ticketNumber?: string | undefined;
|
3520
|
-
keyword?: string | undefined;
|
3521
3543
|
title?: string | undefined;
|
3522
3544
|
description?: string | undefined;
|
3523
3545
|
status?: string[] | undefined;
|
3524
|
-
|
3525
|
-
channel?: string[] | undefined;
|
3526
|
-
type?: string[] | undefined;
|
3527
|
-
ticketType?: string[] | undefined;
|
3546
|
+
pageSize?: number | undefined;
|
3528
3547
|
contact?: string[] | undefined;
|
3529
|
-
tags?: string[] | undefined;
|
3530
|
-
categories?: string[] | undefined;
|
3531
|
-
assignee?: string[] | undefined;
|
3532
3548
|
customFields?: {
|
3533
3549
|
type: string;
|
3534
|
-
value:
|
3550
|
+
value: string | string[];
|
3535
3551
|
attributeId: string;
|
3536
3552
|
}[] | undefined;
|
3537
|
-
|
3538
|
-
|
3539
|
-
|
3553
|
+
tags?: string[] | undefined;
|
3554
|
+
categories?: string[] | undefined;
|
3555
|
+
assignee?: string[] | undefined;
|
3556
|
+
keyword?: string | undefined;
|
3540
3557
|
selectedDate?: string | undefined;
|
3541
3558
|
ticketNumber?: string | undefined;
|
3542
|
-
|
3559
|
+
ticketType?: string[] | undefined;
|
3560
|
+
}, {
|
3561
|
+
type?: string[] | undefined;
|
3562
|
+
channel?: string[] | undefined;
|
3563
|
+
priority?: string[] | undefined;
|
3564
|
+
page?: string | undefined;
|
3543
3565
|
title?: string | undefined;
|
3544
3566
|
description?: string | undefined;
|
3545
3567
|
status?: string[] | undefined;
|
3546
|
-
|
3547
|
-
channel?: string[] | undefined;
|
3548
|
-
type?: string[] | undefined;
|
3549
|
-
ticketType?: string[] | undefined;
|
3568
|
+
pageSize?: string | undefined;
|
3550
3569
|
contact?: string[] | undefined;
|
3551
|
-
tags?: string[] | undefined;
|
3552
|
-
categories?: string[] | undefined;
|
3553
|
-
assignee?: string[] | undefined;
|
3554
3570
|
customFields?: {
|
3555
3571
|
type: string;
|
3556
|
-
value:
|
3572
|
+
value: string | string[];
|
3557
3573
|
attributeId: string;
|
3558
3574
|
}[] | 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;
|
3559
3582
|
}>;
|
3583
|
+
path: "tcs/api/v1/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
|
+
}>>>;
|
3560
3600
|
responses: {
|
3561
3601
|
200: z.ZodObject<{
|
3562
3602
|
requestId: z.ZodString;
|
3603
|
+
} & {
|
3563
3604
|
data: z.ZodObject<{
|
3564
|
-
total: z.ZodNumber;
|
3565
3605
|
page: z.ZodDefault<z.ZodNumber>;
|
3566
3606
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
3607
|
+
total: z.ZodNumber;
|
3567
3608
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
3609
|
+
} & {
|
3568
3610
|
data: z.ZodArray<z.ZodType<{
|
3569
3611
|
type: string;
|
3570
3612
|
id: string;
|
@@ -3817,7 +3859,7 @@ export declare const ticketContract: {
|
|
3817
3859
|
assigneeId: string;
|
3818
3860
|
creatorId: string;
|
3819
3861
|
reasonToAssign: string | null;
|
3820
|
-
|
3862
|
+
assignee?: {
|
3821
3863
|
name: string;
|
3822
3864
|
id: string;
|
3823
3865
|
address: string | null;
|
@@ -3861,7 +3903,7 @@ export declare const ticketContract: {
|
|
3861
3903
|
telephonySignature: string | null;
|
3862
3904
|
};
|
3863
3905
|
} | null | undefined;
|
3864
|
-
|
3906
|
+
creator?: {
|
3865
3907
|
name: string;
|
3866
3908
|
id: string;
|
3867
3909
|
address: string | null;
|
@@ -4158,7 +4200,7 @@ export declare const ticketContract: {
|
|
4158
4200
|
assigneeId: string;
|
4159
4201
|
creatorId: string;
|
4160
4202
|
reasonToAssign: string | null;
|
4161
|
-
|
4203
|
+
assignee?: {
|
4162
4204
|
name: string;
|
4163
4205
|
id: string;
|
4164
4206
|
address: string | null;
|
@@ -4202,7 +4244,7 @@ export declare const ticketContract: {
|
|
4202
4244
|
telephonySignature: string | null;
|
4203
4245
|
};
|
4204
4246
|
} | null | undefined;
|
4205
|
-
|
4247
|
+
creator?: {
|
4206
4248
|
name: string;
|
4207
4249
|
id: string;
|
4208
4250
|
address: string | null;
|
@@ -4501,7 +4543,7 @@ export declare const ticketContract: {
|
|
4501
4543
|
assigneeId: string;
|
4502
4544
|
creatorId: string;
|
4503
4545
|
reasonToAssign: string | null;
|
4504
|
-
|
4546
|
+
assignee?: {
|
4505
4547
|
name: string;
|
4506
4548
|
id: string;
|
4507
4549
|
address: string | null;
|
@@ -4545,7 +4587,7 @@ export declare const ticketContract: {
|
|
4545
4587
|
telephonySignature: string | null;
|
4546
4588
|
};
|
4547
4589
|
} | null | undefined;
|
4548
|
-
|
4590
|
+
creator?: {
|
4549
4591
|
name: string;
|
4550
4592
|
id: string;
|
4551
4593
|
address: string | null;
|
@@ -4848,7 +4890,7 @@ export declare const ticketContract: {
|
|
4848
4890
|
assigneeId: string;
|
4849
4891
|
creatorId: string;
|
4850
4892
|
reasonToAssign: string | null;
|
4851
|
-
|
4893
|
+
assignee?: {
|
4852
4894
|
name: string;
|
4853
4895
|
id: string;
|
4854
4896
|
address: string | null;
|
@@ -4892,7 +4934,7 @@ export declare const ticketContract: {
|
|
4892
4934
|
telephonySignature: string | null;
|
4893
4935
|
};
|
4894
4936
|
} | null | undefined;
|
4895
|
-
|
4937
|
+
creator?: {
|
4896
4938
|
name: string;
|
4897
4939
|
id: string;
|
4898
4940
|
address: string | null;
|
@@ -5197,7 +5239,7 @@ export declare const ticketContract: {
|
|
5197
5239
|
assigneeId: string;
|
5198
5240
|
creatorId: string;
|
5199
5241
|
reasonToAssign: string | null;
|
5200
|
-
|
5242
|
+
assignee?: {
|
5201
5243
|
name: string;
|
5202
5244
|
id: string;
|
5203
5245
|
address: string | null;
|
@@ -5241,7 +5283,7 @@ export declare const ticketContract: {
|
|
5241
5283
|
telephonySignature: string | null;
|
5242
5284
|
};
|
5243
5285
|
} | null | undefined;
|
5244
|
-
|
5286
|
+
creator?: {
|
5245
5287
|
name: string;
|
5246
5288
|
id: string;
|
5247
5289
|
address: string | null;
|
@@ -5547,7 +5589,7 @@ export declare const ticketContract: {
|
|
5547
5589
|
assigneeId: string;
|
5548
5590
|
creatorId: string;
|
5549
5591
|
reasonToAssign: string | null;
|
5550
|
-
|
5592
|
+
assignee?: {
|
5551
5593
|
name: string;
|
5552
5594
|
id: string;
|
5553
5595
|
address: string | null;
|
@@ -5591,7 +5633,7 @@ export declare const ticketContract: {
|
|
5591
5633
|
telephonySignature: string | null;
|
5592
5634
|
};
|
5593
5635
|
} | null | undefined;
|
5594
|
-
|
5636
|
+
creator?: {
|
5595
5637
|
name: string;
|
5596
5638
|
id: string;
|
5597
5639
|
address: string | null;
|
@@ -5672,7 +5714,18 @@ export declare const ticketContract: {
|
|
5672
5714
|
error?: any;
|
5673
5715
|
}>;
|
5674
5716
|
};
|
5675
|
-
|
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: "tcs/api/v1/ticket/:id";
|
5676
5729
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5677
5730
|
'x-tenant': z.ZodString;
|
5678
5731
|
'x-service-token': z.ZodString;
|
@@ -5689,25 +5742,16 @@ export declare const ticketContract: {
|
|
5689
5742
|
'x-code'?: string | undefined;
|
5690
5743
|
'x-client-timezone'?: string | undefined;
|
5691
5744
|
}>>>;
|
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
|
-
}>;
|
5703
5745
|
responses: {
|
5704
5746
|
200: z.ZodObject<{
|
5705
5747
|
requestId: z.ZodString;
|
5748
|
+
} & {
|
5706
5749
|
data: z.ZodObject<{
|
5707
5750
|
id: z.ZodString;
|
5708
5751
|
createdAt: z.ZodDate;
|
5709
5752
|
updatedAt: z.ZodDate;
|
5710
5753
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5754
|
+
} & {
|
5711
5755
|
title: z.ZodString;
|
5712
5756
|
description: z.ZodNullable<z.ZodString>;
|
5713
5757
|
type: z.ZodString;
|
@@ -5717,17 +5761,18 @@ export declare const ticketContract: {
|
|
5717
5761
|
contactId: z.ZodString;
|
5718
5762
|
creatorId: z.ZodString;
|
5719
5763
|
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5720
|
-
name: z.ZodString;
|
5721
5764
|
id: z.ZodString;
|
5722
|
-
address: z.ZodNullable<z.ZodString>;
|
5723
|
-
email: z.ZodString;
|
5724
5765
|
createdAt: z.ZodDate;
|
5725
5766
|
updatedAt: z.ZodDate;
|
5726
5767
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5768
|
+
name: z.ZodString;
|
5769
|
+
email: z.ZodString;
|
5727
5770
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5728
5771
|
password: z.ZodString;
|
5772
|
+
address: z.ZodNullable<z.ZodString>;
|
5729
5773
|
phone: z.ZodNullable<z.ZodString>;
|
5730
5774
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5775
|
+
} & {
|
5731
5776
|
roles: z.ZodArray<z.ZodObject<{
|
5732
5777
|
id: z.ZodString;
|
5733
5778
|
createdAt: z.ZodDate;
|
@@ -5922,17 +5967,18 @@ export declare const ticketContract: {
|
|
5922
5967
|
}>>>;
|
5923
5968
|
assigneeId: z.ZodString;
|
5924
5969
|
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5925
|
-
name: z.ZodString;
|
5926
5970
|
id: z.ZodString;
|
5927
|
-
address: z.ZodNullable<z.ZodString>;
|
5928
|
-
email: z.ZodString;
|
5929
5971
|
createdAt: z.ZodDate;
|
5930
5972
|
updatedAt: z.ZodDate;
|
5931
5973
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5974
|
+
name: z.ZodString;
|
5975
|
+
email: z.ZodString;
|
5932
5976
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5933
5977
|
password: z.ZodString;
|
5978
|
+
address: z.ZodNullable<z.ZodString>;
|
5934
5979
|
phone: z.ZodNullable<z.ZodString>;
|
5935
5980
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5981
|
+
} & {
|
5936
5982
|
roles: z.ZodArray<z.ZodObject<{
|
5937
5983
|
id: z.ZodString;
|
5938
5984
|
createdAt: z.ZodDate;
|
@@ -6132,6 +6178,7 @@ export declare const ticketContract: {
|
|
6132
6178
|
createdAt: z.ZodDate;
|
6133
6179
|
updatedAt: z.ZodDate;
|
6134
6180
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6181
|
+
} & {
|
6135
6182
|
textValue: z.ZodNullable<z.ZodString>;
|
6136
6183
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6137
6184
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -6141,6 +6188,7 @@ export declare const ticketContract: {
|
|
6141
6188
|
createdAt: z.ZodDate;
|
6142
6189
|
updatedAt: z.ZodDate;
|
6143
6190
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6191
|
+
} & {
|
6144
6192
|
systemName: z.ZodString;
|
6145
6193
|
displayName: z.ZodString;
|
6146
6194
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6150,10 +6198,11 @@ export declare const ticketContract: {
|
|
6150
6198
|
isRequired: z.ZodBoolean;
|
6151
6199
|
isUnique: z.ZodBoolean;
|
6152
6200
|
options: z.ZodArray<z.ZodObject<{
|
6153
|
-
position: z.ZodNumber;
|
6154
|
-
value: z.ZodString;
|
6155
6201
|
label: z.ZodString;
|
6202
|
+
value: z.ZodString;
|
6156
6203
|
isDefault: z.ZodBoolean;
|
6204
|
+
position: z.ZodNumber;
|
6205
|
+
} & {
|
6157
6206
|
id: z.ZodString;
|
6158
6207
|
}, "strip", z.ZodTypeAny, {
|
6159
6208
|
id: string;
|
@@ -6173,6 +6222,7 @@ export declare const ticketContract: {
|
|
6173
6222
|
createdAt: z.ZodDate;
|
6174
6223
|
updatedAt: z.ZodDate;
|
6175
6224
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6225
|
+
} & {
|
6176
6226
|
systemName: z.ZodString;
|
6177
6227
|
displayName: z.ZodString;
|
6178
6228
|
}, "strip", z.ZodTypeAny, {
|
@@ -6222,6 +6272,7 @@ export declare const ticketContract: {
|
|
6222
6272
|
createdAt: z.ZodDate;
|
6223
6273
|
updatedAt: z.ZodDate;
|
6224
6274
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6275
|
+
} & {
|
6225
6276
|
bucketName: z.ZodString;
|
6226
6277
|
fileName: z.ZodString;
|
6227
6278
|
fileSize: z.ZodNumber;
|
@@ -6327,6 +6378,7 @@ export declare const ticketContract: {
|
|
6327
6378
|
createdAt: z.ZodDate;
|
6328
6379
|
updatedAt: z.ZodDate;
|
6329
6380
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6381
|
+
} & {
|
6330
6382
|
name: z.ZodString;
|
6331
6383
|
}, "strip", z.ZodTypeAny, {
|
6332
6384
|
name: string;
|
@@ -6346,6 +6398,7 @@ export declare const ticketContract: {
|
|
6346
6398
|
createdAt: z.ZodDate;
|
6347
6399
|
updatedAt: z.ZodDate;
|
6348
6400
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6401
|
+
} & {
|
6349
6402
|
value: z.ZodString;
|
6350
6403
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
6351
6404
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -6457,6 +6510,7 @@ export declare const ticketContract: {
|
|
6457
6510
|
createdAt: z.ZodDate;
|
6458
6511
|
updatedAt: z.ZodDate;
|
6459
6512
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6513
|
+
} & {
|
6460
6514
|
name: z.ZodString;
|
6461
6515
|
}, "strip", z.ZodTypeAny, {
|
6462
6516
|
name: string;
|
@@ -6476,6 +6530,7 @@ export declare const ticketContract: {
|
|
6476
6530
|
createdAt: z.ZodDate;
|
6477
6531
|
updatedAt: z.ZodDate;
|
6478
6532
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6533
|
+
} & {
|
6479
6534
|
name: z.ZodOptional<z.ZodString>;
|
6480
6535
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6481
6536
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -6485,6 +6540,7 @@ export declare const ticketContract: {
|
|
6485
6540
|
createdAt: z.ZodDate;
|
6486
6541
|
updatedAt: z.ZodDate;
|
6487
6542
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6543
|
+
} & {
|
6488
6544
|
textValue: z.ZodNullable<z.ZodString>;
|
6489
6545
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6490
6546
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -6494,6 +6550,7 @@ export declare const ticketContract: {
|
|
6494
6550
|
createdAt: z.ZodDate;
|
6495
6551
|
updatedAt: z.ZodDate;
|
6496
6552
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6553
|
+
} & {
|
6497
6554
|
systemName: z.ZodString;
|
6498
6555
|
displayName: z.ZodString;
|
6499
6556
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6503,10 +6560,11 @@ export declare const ticketContract: {
|
|
6503
6560
|
isRequired: z.ZodBoolean;
|
6504
6561
|
isUnique: z.ZodBoolean;
|
6505
6562
|
options: z.ZodArray<z.ZodObject<{
|
6506
|
-
position: z.ZodNumber;
|
6507
|
-
value: z.ZodString;
|
6508
6563
|
label: z.ZodString;
|
6564
|
+
value: z.ZodString;
|
6509
6565
|
isDefault: z.ZodBoolean;
|
6566
|
+
position: z.ZodNumber;
|
6567
|
+
} & {
|
6510
6568
|
id: z.ZodString;
|
6511
6569
|
}, "strip", z.ZodTypeAny, {
|
6512
6570
|
id: string;
|
@@ -6526,6 +6584,7 @@ export declare const ticketContract: {
|
|
6526
6584
|
createdAt: z.ZodDate;
|
6527
6585
|
updatedAt: z.ZodDate;
|
6528
6586
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6587
|
+
} & {
|
6529
6588
|
systemName: z.ZodString;
|
6530
6589
|
displayName: z.ZodString;
|
6531
6590
|
}, "strip", z.ZodTypeAny, {
|
@@ -6703,6 +6762,7 @@ export declare const ticketContract: {
|
|
6703
6762
|
createdAt: z.ZodDate;
|
6704
6763
|
updatedAt: z.ZodDate;
|
6705
6764
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6765
|
+
} & {
|
6706
6766
|
systemName: z.ZodString;
|
6707
6767
|
displayName: z.ZodString;
|
6708
6768
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6712,10 +6772,11 @@ export declare const ticketContract: {
|
|
6712
6772
|
isRequired: z.ZodBoolean;
|
6713
6773
|
isUnique: z.ZodBoolean;
|
6714
6774
|
options: z.ZodArray<z.ZodObject<{
|
6715
|
-
position: z.ZodNumber;
|
6716
|
-
value: z.ZodString;
|
6717
6775
|
label: z.ZodString;
|
6776
|
+
value: z.ZodString;
|
6718
6777
|
isDefault: z.ZodBoolean;
|
6778
|
+
position: z.ZodNumber;
|
6779
|
+
} & {
|
6719
6780
|
id: z.ZodString;
|
6720
6781
|
}, "strip", z.ZodTypeAny, {
|
6721
6782
|
id: string;
|
@@ -6735,6 +6796,7 @@ export declare const ticketContract: {
|
|
6735
6796
|
createdAt: z.ZodDate;
|
6736
6797
|
updatedAt: z.ZodDate;
|
6737
6798
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6799
|
+
} & {
|
6738
6800
|
systemName: z.ZodString;
|
6739
6801
|
displayName: z.ZodString;
|
6740
6802
|
}, "strip", z.ZodTypeAny, {
|
@@ -6784,6 +6846,7 @@ export declare const ticketContract: {
|
|
6784
6846
|
createdAt: z.ZodDate;
|
6785
6847
|
updatedAt: z.ZodDate;
|
6786
6848
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6849
|
+
} & {
|
6787
6850
|
bucketName: z.ZodString;
|
6788
6851
|
fileName: z.ZodString;
|
6789
6852
|
fileSize: z.ZodNumber;
|
@@ -7217,17 +7280,18 @@ export declare const ticketContract: {
|
|
7217
7280
|
updatedAt: z.ZodDate;
|
7218
7281
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7219
7282
|
actor: z.ZodObject<{
|
7220
|
-
name: z.ZodString;
|
7221
7283
|
id: z.ZodString;
|
7222
|
-
address: z.ZodNullable<z.ZodString>;
|
7223
|
-
email: z.ZodString;
|
7224
7284
|
createdAt: z.ZodDate;
|
7225
7285
|
updatedAt: z.ZodDate;
|
7226
7286
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7287
|
+
name: z.ZodString;
|
7288
|
+
email: z.ZodString;
|
7227
7289
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
7228
7290
|
password: z.ZodString;
|
7291
|
+
address: z.ZodNullable<z.ZodString>;
|
7229
7292
|
phone: z.ZodNullable<z.ZodString>;
|
7230
7293
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
7294
|
+
} & {
|
7231
7295
|
roles: z.ZodArray<z.ZodObject<{
|
7232
7296
|
id: z.ZodString;
|
7233
7297
|
createdAt: z.ZodDate;
|
@@ -7815,7 +7879,7 @@ export declare const ticketContract: {
|
|
7815
7879
|
assigneeId: string;
|
7816
7880
|
creatorId: string;
|
7817
7881
|
reasonToAssign: string | null;
|
7818
|
-
|
7882
|
+
assignee?: {
|
7819
7883
|
name: string;
|
7820
7884
|
id: string;
|
7821
7885
|
address: string | null;
|
@@ -7859,7 +7923,7 @@ export declare const ticketContract: {
|
|
7859
7923
|
telephonySignature: string | null;
|
7860
7924
|
};
|
7861
7925
|
} | null | undefined;
|
7862
|
-
|
7926
|
+
creator?: {
|
7863
7927
|
name: string;
|
7864
7928
|
id: string;
|
7865
7929
|
address: string | null;
|
@@ -8156,7 +8220,7 @@ export declare const ticketContract: {
|
|
8156
8220
|
assigneeId: string;
|
8157
8221
|
creatorId: string;
|
8158
8222
|
reasonToAssign: string | null;
|
8159
|
-
|
8223
|
+
assignee?: {
|
8160
8224
|
name: string;
|
8161
8225
|
id: string;
|
8162
8226
|
address: string | null;
|
@@ -8200,7 +8264,7 @@ export declare const ticketContract: {
|
|
8200
8264
|
telephonySignature: string | null;
|
8201
8265
|
};
|
8202
8266
|
} | null | undefined;
|
8203
|
-
|
8267
|
+
creator?: {
|
8204
8268
|
name: string;
|
8205
8269
|
id: string;
|
8206
8270
|
address: string | null;
|
@@ -8499,7 +8563,7 @@ export declare const ticketContract: {
|
|
8499
8563
|
assigneeId: string;
|
8500
8564
|
creatorId: string;
|
8501
8565
|
reasonToAssign: string | null;
|
8502
|
-
|
8566
|
+
assignee?: {
|
8503
8567
|
name: string;
|
8504
8568
|
id: string;
|
8505
8569
|
address: string | null;
|
@@ -8543,7 +8607,7 @@ export declare const ticketContract: {
|
|
8543
8607
|
telephonySignature: string | null;
|
8544
8608
|
};
|
8545
8609
|
} | null | undefined;
|
8546
|
-
|
8610
|
+
creator?: {
|
8547
8611
|
name: string;
|
8548
8612
|
id: string;
|
8549
8613
|
address: string | null;
|
@@ -8843,7 +8907,7 @@ export declare const ticketContract: {
|
|
8843
8907
|
assigneeId: string;
|
8844
8908
|
creatorId: string;
|
8845
8909
|
reasonToAssign: string | null;
|
8846
|
-
|
8910
|
+
assignee?: {
|
8847
8911
|
name: string;
|
8848
8912
|
id: string;
|
8849
8913
|
address: string | null;
|
@@ -8887,7 +8951,7 @@ export declare const ticketContract: {
|
|
8887
8951
|
telephonySignature: string | null;
|
8888
8952
|
};
|
8889
8953
|
} | null | undefined;
|
8890
|
-
|
8954
|
+
creator?: {
|
8891
8955
|
name: string;
|
8892
8956
|
id: string;
|
8893
8957
|
address: string | null;
|
@@ -8963,23 +9027,6 @@ export declare const ticketContract: {
|
|
8963
9027
|
error?: any;
|
8964
9028
|
}>;
|
8965
9029
|
};
|
8966
|
-
path: "tcs/api/v1/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
|
-
}>>>;
|
8983
9030
|
};
|
8984
9031
|
getTicketByContactId: {
|
8985
9032
|
summary: "Get ticket by contact id.";
|
@@ -9001,14 +9048,33 @@ export declare const ticketContract: {
|
|
9001
9048
|
page?: number | undefined;
|
9002
9049
|
pageSize?: number | undefined;
|
9003
9050
|
}>;
|
9004
|
-
|
9005
|
-
|
9051
|
+
path: "tcs/api/v1/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
|
+
responses: {
|
9069
|
+
200: z.ZodObject<{
|
9006
9070
|
requestId: z.ZodString;
|
9071
|
+
} & {
|
9007
9072
|
data: z.ZodObject<{
|
9008
|
-
total: z.ZodNumber;
|
9009
9073
|
page: z.ZodDefault<z.ZodNumber>;
|
9010
9074
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
9075
|
+
total: z.ZodNumber;
|
9011
9076
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
9077
|
+
} & {
|
9012
9078
|
data: z.ZodArray<z.ZodType<{
|
9013
9079
|
type: string;
|
9014
9080
|
id: string;
|
@@ -9261,7 +9327,7 @@ export declare const ticketContract: {
|
|
9261
9327
|
assigneeId: string;
|
9262
9328
|
creatorId: string;
|
9263
9329
|
reasonToAssign: string | null;
|
9264
|
-
|
9330
|
+
assignee?: {
|
9265
9331
|
name: string;
|
9266
9332
|
id: string;
|
9267
9333
|
address: string | null;
|
@@ -9305,7 +9371,7 @@ export declare const ticketContract: {
|
|
9305
9371
|
telephonySignature: string | null;
|
9306
9372
|
};
|
9307
9373
|
} | null | undefined;
|
9308
|
-
|
9374
|
+
creator?: {
|
9309
9375
|
name: string;
|
9310
9376
|
id: string;
|
9311
9377
|
address: string | null;
|
@@ -9602,7 +9668,7 @@ export declare const ticketContract: {
|
|
9602
9668
|
assigneeId: string;
|
9603
9669
|
creatorId: string;
|
9604
9670
|
reasonToAssign: string | null;
|
9605
|
-
|
9671
|
+
assignee?: {
|
9606
9672
|
name: string;
|
9607
9673
|
id: string;
|
9608
9674
|
address: string | null;
|
@@ -9646,7 +9712,7 @@ export declare const ticketContract: {
|
|
9646
9712
|
telephonySignature: string | null;
|
9647
9713
|
};
|
9648
9714
|
} | null | undefined;
|
9649
|
-
|
9715
|
+
creator?: {
|
9650
9716
|
name: string;
|
9651
9717
|
id: string;
|
9652
9718
|
address: string | null;
|
@@ -9945,7 +10011,7 @@ export declare const ticketContract: {
|
|
9945
10011
|
assigneeId: string;
|
9946
10012
|
creatorId: string;
|
9947
10013
|
reasonToAssign: string | null;
|
9948
|
-
|
10014
|
+
assignee?: {
|
9949
10015
|
name: string;
|
9950
10016
|
id: string;
|
9951
10017
|
address: string | null;
|
@@ -9989,7 +10055,7 @@ export declare const ticketContract: {
|
|
9989
10055
|
telephonySignature: string | null;
|
9990
10056
|
};
|
9991
10057
|
} | null | undefined;
|
9992
|
-
|
10058
|
+
creator?: {
|
9993
10059
|
name: string;
|
9994
10060
|
id: string;
|
9995
10061
|
address: string | null;
|
@@ -10292,7 +10358,7 @@ export declare const ticketContract: {
|
|
10292
10358
|
assigneeId: string;
|
10293
10359
|
creatorId: string;
|
10294
10360
|
reasonToAssign: string | null;
|
10295
|
-
|
10361
|
+
assignee?: {
|
10296
10362
|
name: string;
|
10297
10363
|
id: string;
|
10298
10364
|
address: string | null;
|
@@ -10336,7 +10402,7 @@ export declare const ticketContract: {
|
|
10336
10402
|
telephonySignature: string | null;
|
10337
10403
|
};
|
10338
10404
|
} | null | undefined;
|
10339
|
-
|
10405
|
+
creator?: {
|
10340
10406
|
name: string;
|
10341
10407
|
id: string;
|
10342
10408
|
address: string | null;
|
@@ -10641,7 +10707,7 @@ export declare const ticketContract: {
|
|
10641
10707
|
assigneeId: string;
|
10642
10708
|
creatorId: string;
|
10643
10709
|
reasonToAssign: string | null;
|
10644
|
-
|
10710
|
+
assignee?: {
|
10645
10711
|
name: string;
|
10646
10712
|
id: string;
|
10647
10713
|
address: string | null;
|
@@ -10685,7 +10751,7 @@ export declare const ticketContract: {
|
|
10685
10751
|
telephonySignature: string | null;
|
10686
10752
|
};
|
10687
10753
|
} | null | undefined;
|
10688
|
-
|
10754
|
+
creator?: {
|
10689
10755
|
name: string;
|
10690
10756
|
id: string;
|
10691
10757
|
address: string | null;
|
@@ -10991,7 +11057,7 @@ export declare const ticketContract: {
|
|
10991
11057
|
assigneeId: string;
|
10992
11058
|
creatorId: string;
|
10993
11059
|
reasonToAssign: string | null;
|
10994
|
-
|
11060
|
+
assignee?: {
|
10995
11061
|
name: string;
|
10996
11062
|
id: string;
|
10997
11063
|
address: string | null;
|
@@ -11035,7 +11101,7 @@ export declare const ticketContract: {
|
|
11035
11101
|
telephonySignature: string | null;
|
11036
11102
|
};
|
11037
11103
|
} | null | undefined;
|
11038
|
-
|
11104
|
+
creator?: {
|
11039
11105
|
name: string;
|
11040
11106
|
id: string;
|
11041
11107
|
address: string | null;
|
@@ -11116,23 +11182,6 @@ export declare const ticketContract: {
|
|
11116
11182
|
error?: any;
|
11117
11183
|
}>;
|
11118
11184
|
};
|
11119
|
-
path: "tcs/api/v1/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
|
-
}>>>;
|
11136
11185
|
};
|
11137
11186
|
updateTicket: {
|
11138
11187
|
body: z.ZodObject<{
|
@@ -11192,6 +11241,7 @@ export declare const ticketContract: {
|
|
11192
11241
|
categories: z.ZodObject<{
|
11193
11242
|
isRequired: z.ZodBoolean;
|
11194
11243
|
attributeId: z.ZodString;
|
11244
|
+
} & {
|
11195
11245
|
value: z.ZodArray<z.ZodString, "many">;
|
11196
11246
|
}, "strip", z.ZodTypeAny, {
|
11197
11247
|
value: string[];
|
@@ -11306,14 +11356,33 @@ export declare const ticketContract: {
|
|
11306
11356
|
}, {
|
11307
11357
|
id: string;
|
11308
11358
|
}>;
|
11359
|
+
path: "tcs/api/v1/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
|
+
}>>>;
|
11309
11376
|
responses: {
|
11310
11377
|
200: z.ZodObject<{
|
11311
11378
|
requestId: z.ZodString;
|
11379
|
+
} & {
|
11312
11380
|
data: z.ZodObject<{
|
11313
11381
|
id: z.ZodString;
|
11314
11382
|
createdAt: z.ZodDate;
|
11315
11383
|
updatedAt: z.ZodDate;
|
11316
11384
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11385
|
+
} & {
|
11317
11386
|
title: z.ZodString;
|
11318
11387
|
description: z.ZodNullable<z.ZodString>;
|
11319
11388
|
type: z.ZodString;
|
@@ -11323,17 +11392,18 @@ export declare const ticketContract: {
|
|
11323
11392
|
contactId: z.ZodString;
|
11324
11393
|
creatorId: z.ZodString;
|
11325
11394
|
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11326
|
-
name: z.ZodString;
|
11327
11395
|
id: z.ZodString;
|
11328
|
-
address: z.ZodNullable<z.ZodString>;
|
11329
|
-
email: z.ZodString;
|
11330
11396
|
createdAt: z.ZodDate;
|
11331
11397
|
updatedAt: z.ZodDate;
|
11332
11398
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11399
|
+
name: z.ZodString;
|
11400
|
+
email: z.ZodString;
|
11333
11401
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
11334
11402
|
password: z.ZodString;
|
11403
|
+
address: z.ZodNullable<z.ZodString>;
|
11335
11404
|
phone: z.ZodNullable<z.ZodString>;
|
11336
11405
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
11406
|
+
} & {
|
11337
11407
|
roles: z.ZodArray<z.ZodObject<{
|
11338
11408
|
id: z.ZodString;
|
11339
11409
|
createdAt: z.ZodDate;
|
@@ -11528,17 +11598,18 @@ export declare const ticketContract: {
|
|
11528
11598
|
}>>>;
|
11529
11599
|
assigneeId: z.ZodString;
|
11530
11600
|
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11531
|
-
name: z.ZodString;
|
11532
11601
|
id: z.ZodString;
|
11533
|
-
address: z.ZodNullable<z.ZodString>;
|
11534
|
-
email: z.ZodString;
|
11535
11602
|
createdAt: z.ZodDate;
|
11536
11603
|
updatedAt: z.ZodDate;
|
11537
11604
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11605
|
+
name: z.ZodString;
|
11606
|
+
email: z.ZodString;
|
11538
11607
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
11539
11608
|
password: z.ZodString;
|
11609
|
+
address: z.ZodNullable<z.ZodString>;
|
11540
11610
|
phone: z.ZodNullable<z.ZodString>;
|
11541
11611
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
11612
|
+
} & {
|
11542
11613
|
roles: z.ZodArray<z.ZodObject<{
|
11543
11614
|
id: z.ZodString;
|
11544
11615
|
createdAt: z.ZodDate;
|
@@ -11738,6 +11809,7 @@ export declare const ticketContract: {
|
|
11738
11809
|
createdAt: z.ZodDate;
|
11739
11810
|
updatedAt: z.ZodDate;
|
11740
11811
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11812
|
+
} & {
|
11741
11813
|
textValue: z.ZodNullable<z.ZodString>;
|
11742
11814
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
11743
11815
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -11747,6 +11819,7 @@ export declare const ticketContract: {
|
|
11747
11819
|
createdAt: z.ZodDate;
|
11748
11820
|
updatedAt: z.ZodDate;
|
11749
11821
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11822
|
+
} & {
|
11750
11823
|
systemName: z.ZodString;
|
11751
11824
|
displayName: z.ZodString;
|
11752
11825
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -11756,10 +11829,11 @@ export declare const ticketContract: {
|
|
11756
11829
|
isRequired: z.ZodBoolean;
|
11757
11830
|
isUnique: z.ZodBoolean;
|
11758
11831
|
options: z.ZodArray<z.ZodObject<{
|
11759
|
-
position: z.ZodNumber;
|
11760
|
-
value: z.ZodString;
|
11761
11832
|
label: z.ZodString;
|
11833
|
+
value: z.ZodString;
|
11762
11834
|
isDefault: z.ZodBoolean;
|
11835
|
+
position: z.ZodNumber;
|
11836
|
+
} & {
|
11763
11837
|
id: z.ZodString;
|
11764
11838
|
}, "strip", z.ZodTypeAny, {
|
11765
11839
|
id: string;
|
@@ -11779,6 +11853,7 @@ export declare const ticketContract: {
|
|
11779
11853
|
createdAt: z.ZodDate;
|
11780
11854
|
updatedAt: z.ZodDate;
|
11781
11855
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11856
|
+
} & {
|
11782
11857
|
systemName: z.ZodString;
|
11783
11858
|
displayName: z.ZodString;
|
11784
11859
|
}, "strip", z.ZodTypeAny, {
|
@@ -11828,6 +11903,7 @@ export declare const ticketContract: {
|
|
11828
11903
|
createdAt: z.ZodDate;
|
11829
11904
|
updatedAt: z.ZodDate;
|
11830
11905
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11906
|
+
} & {
|
11831
11907
|
bucketName: z.ZodString;
|
11832
11908
|
fileName: z.ZodString;
|
11833
11909
|
fileSize: z.ZodNumber;
|
@@ -11933,6 +12009,7 @@ export declare const ticketContract: {
|
|
11933
12009
|
createdAt: z.ZodDate;
|
11934
12010
|
updatedAt: z.ZodDate;
|
11935
12011
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12012
|
+
} & {
|
11936
12013
|
name: z.ZodString;
|
11937
12014
|
}, "strip", z.ZodTypeAny, {
|
11938
12015
|
name: string;
|
@@ -11952,6 +12029,7 @@ export declare const ticketContract: {
|
|
11952
12029
|
createdAt: z.ZodDate;
|
11953
12030
|
updatedAt: z.ZodDate;
|
11954
12031
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12032
|
+
} & {
|
11955
12033
|
value: z.ZodString;
|
11956
12034
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
11957
12035
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -12063,6 +12141,7 @@ export declare const ticketContract: {
|
|
12063
12141
|
createdAt: z.ZodDate;
|
12064
12142
|
updatedAt: z.ZodDate;
|
12065
12143
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12144
|
+
} & {
|
12066
12145
|
name: z.ZodString;
|
12067
12146
|
}, "strip", z.ZodTypeAny, {
|
12068
12147
|
name: string;
|
@@ -12082,6 +12161,7 @@ export declare const ticketContract: {
|
|
12082
12161
|
createdAt: z.ZodDate;
|
12083
12162
|
updatedAt: z.ZodDate;
|
12084
12163
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12164
|
+
} & {
|
12085
12165
|
name: z.ZodOptional<z.ZodString>;
|
12086
12166
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
12087
12167
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -12091,6 +12171,7 @@ export declare const ticketContract: {
|
|
12091
12171
|
createdAt: z.ZodDate;
|
12092
12172
|
updatedAt: z.ZodDate;
|
12093
12173
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12174
|
+
} & {
|
12094
12175
|
textValue: z.ZodNullable<z.ZodString>;
|
12095
12176
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
12096
12177
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -12100,6 +12181,7 @@ export declare const ticketContract: {
|
|
12100
12181
|
createdAt: z.ZodDate;
|
12101
12182
|
updatedAt: z.ZodDate;
|
12102
12183
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12184
|
+
} & {
|
12103
12185
|
systemName: z.ZodString;
|
12104
12186
|
displayName: z.ZodString;
|
12105
12187
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -12109,10 +12191,11 @@ export declare const ticketContract: {
|
|
12109
12191
|
isRequired: z.ZodBoolean;
|
12110
12192
|
isUnique: z.ZodBoolean;
|
12111
12193
|
options: z.ZodArray<z.ZodObject<{
|
12112
|
-
position: z.ZodNumber;
|
12113
|
-
value: z.ZodString;
|
12114
12194
|
label: z.ZodString;
|
12195
|
+
value: z.ZodString;
|
12115
12196
|
isDefault: z.ZodBoolean;
|
12197
|
+
position: z.ZodNumber;
|
12198
|
+
} & {
|
12116
12199
|
id: z.ZodString;
|
12117
12200
|
}, "strip", z.ZodTypeAny, {
|
12118
12201
|
id: string;
|
@@ -12132,6 +12215,7 @@ export declare const ticketContract: {
|
|
12132
12215
|
createdAt: z.ZodDate;
|
12133
12216
|
updatedAt: z.ZodDate;
|
12134
12217
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12218
|
+
} & {
|
12135
12219
|
systemName: z.ZodString;
|
12136
12220
|
displayName: z.ZodString;
|
12137
12221
|
}, "strip", z.ZodTypeAny, {
|
@@ -12309,6 +12393,7 @@ export declare const ticketContract: {
|
|
12309
12393
|
createdAt: z.ZodDate;
|
12310
12394
|
updatedAt: z.ZodDate;
|
12311
12395
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12396
|
+
} & {
|
12312
12397
|
systemName: z.ZodString;
|
12313
12398
|
displayName: z.ZodString;
|
12314
12399
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -12318,10 +12403,11 @@ export declare const ticketContract: {
|
|
12318
12403
|
isRequired: z.ZodBoolean;
|
12319
12404
|
isUnique: z.ZodBoolean;
|
12320
12405
|
options: z.ZodArray<z.ZodObject<{
|
12321
|
-
position: z.ZodNumber;
|
12322
|
-
value: z.ZodString;
|
12323
12406
|
label: z.ZodString;
|
12407
|
+
value: z.ZodString;
|
12324
12408
|
isDefault: z.ZodBoolean;
|
12409
|
+
position: z.ZodNumber;
|
12410
|
+
} & {
|
12325
12411
|
id: z.ZodString;
|
12326
12412
|
}, "strip", z.ZodTypeAny, {
|
12327
12413
|
id: string;
|
@@ -12341,6 +12427,7 @@ export declare const ticketContract: {
|
|
12341
12427
|
createdAt: z.ZodDate;
|
12342
12428
|
updatedAt: z.ZodDate;
|
12343
12429
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12430
|
+
} & {
|
12344
12431
|
systemName: z.ZodString;
|
12345
12432
|
displayName: z.ZodString;
|
12346
12433
|
}, "strip", z.ZodTypeAny, {
|
@@ -12390,6 +12477,7 @@ export declare const ticketContract: {
|
|
12390
12477
|
createdAt: z.ZodDate;
|
12391
12478
|
updatedAt: z.ZodDate;
|
12392
12479
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12480
|
+
} & {
|
12393
12481
|
bucketName: z.ZodString;
|
12394
12482
|
fileName: z.ZodString;
|
12395
12483
|
fileSize: z.ZodNumber;
|
@@ -12823,17 +12911,18 @@ export declare const ticketContract: {
|
|
12823
12911
|
updatedAt: z.ZodDate;
|
12824
12912
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12825
12913
|
actor: z.ZodObject<{
|
12826
|
-
name: z.ZodString;
|
12827
12914
|
id: z.ZodString;
|
12828
|
-
address: z.ZodNullable<z.ZodString>;
|
12829
|
-
email: z.ZodString;
|
12830
12915
|
createdAt: z.ZodDate;
|
12831
12916
|
updatedAt: z.ZodDate;
|
12832
12917
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12918
|
+
name: z.ZodString;
|
12919
|
+
email: z.ZodString;
|
12833
12920
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
12834
12921
|
password: z.ZodString;
|
12922
|
+
address: z.ZodNullable<z.ZodString>;
|
12835
12923
|
phone: z.ZodNullable<z.ZodString>;
|
12836
12924
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
12925
|
+
} & {
|
12837
12926
|
roles: z.ZodArray<z.ZodObject<{
|
12838
12927
|
id: z.ZodString;
|
12839
12928
|
createdAt: z.ZodDate;
|
@@ -13421,7 +13510,7 @@ export declare const ticketContract: {
|
|
13421
13510
|
assigneeId: string;
|
13422
13511
|
creatorId: string;
|
13423
13512
|
reasonToAssign: string | null;
|
13424
|
-
|
13513
|
+
assignee?: {
|
13425
13514
|
name: string;
|
13426
13515
|
id: string;
|
13427
13516
|
address: string | null;
|
@@ -13465,7 +13554,7 @@ export declare const ticketContract: {
|
|
13465
13554
|
telephonySignature: string | null;
|
13466
13555
|
};
|
13467
13556
|
} | null | undefined;
|
13468
|
-
|
13557
|
+
creator?: {
|
13469
13558
|
name: string;
|
13470
13559
|
id: string;
|
13471
13560
|
address: string | null;
|
@@ -13762,7 +13851,7 @@ export declare const ticketContract: {
|
|
13762
13851
|
assigneeId: string;
|
13763
13852
|
creatorId: string;
|
13764
13853
|
reasonToAssign: string | null;
|
13765
|
-
|
13854
|
+
assignee?: {
|
13766
13855
|
name: string;
|
13767
13856
|
id: string;
|
13768
13857
|
address: string | null;
|
@@ -13806,7 +13895,7 @@ export declare const ticketContract: {
|
|
13806
13895
|
telephonySignature: string | null;
|
13807
13896
|
};
|
13808
13897
|
} | null | undefined;
|
13809
|
-
|
13898
|
+
creator?: {
|
13810
13899
|
name: string;
|
13811
13900
|
id: string;
|
13812
13901
|
address: string | null;
|
@@ -14105,7 +14194,7 @@ export declare const ticketContract: {
|
|
14105
14194
|
assigneeId: string;
|
14106
14195
|
creatorId: string;
|
14107
14196
|
reasonToAssign: string | null;
|
14108
|
-
|
14197
|
+
assignee?: {
|
14109
14198
|
name: string;
|
14110
14199
|
id: string;
|
14111
14200
|
address: string | null;
|
@@ -14149,7 +14238,7 @@ export declare const ticketContract: {
|
|
14149
14238
|
telephonySignature: string | null;
|
14150
14239
|
};
|
14151
14240
|
} | null | undefined;
|
14152
|
-
|
14241
|
+
creator?: {
|
14153
14242
|
name: string;
|
14154
14243
|
id: string;
|
14155
14244
|
address: string | null;
|
@@ -14449,7 +14538,7 @@ export declare const ticketContract: {
|
|
14449
14538
|
assigneeId: string;
|
14450
14539
|
creatorId: string;
|
14451
14540
|
reasonToAssign: string | null;
|
14452
|
-
|
14541
|
+
assignee?: {
|
14453
14542
|
name: string;
|
14454
14543
|
id: string;
|
14455
14544
|
address: string | null;
|
@@ -14493,7 +14582,7 @@ export declare const ticketContract: {
|
|
14493
14582
|
telephonySignature: string | null;
|
14494
14583
|
};
|
14495
14584
|
} | null | undefined;
|
14496
|
-
|
14585
|
+
creator?: {
|
14497
14586
|
name: string;
|
14498
14587
|
id: string;
|
14499
14588
|
address: string | null;
|
@@ -14593,6 +14682,18 @@ export declare const ticketContract: {
|
|
14593
14682
|
error?: any;
|
14594
14683
|
}>;
|
14595
14684
|
};
|
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
|
+
}>;
|
14596
14697
|
path: "tcs/api/v1/ticket/:id";
|
14597
14698
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
14598
14699
|
'x-tenant': z.ZodString;
|
@@ -14610,21 +14711,10 @@ export declare const ticketContract: {
|
|
14610
14711
|
'x-code'?: string | undefined;
|
14611
14712
|
'x-client-timezone'?: string | undefined;
|
14612
14713
|
}>>>;
|
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
|
-
}>;
|
14625
14714
|
responses: {
|
14626
14715
|
200: z.ZodObject<{
|
14627
14716
|
requestId: z.ZodString;
|
14717
|
+
} & {
|
14628
14718
|
message: z.ZodString;
|
14629
14719
|
}, "strip", z.ZodTypeAny, {
|
14630
14720
|
message: string;
|
@@ -14644,23 +14734,6 @@ export declare const ticketContract: {
|
|
14644
14734
|
error?: any;
|
14645
14735
|
}>;
|
14646
14736
|
};
|
14647
|
-
path: "tcs/api/v1/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
|
-
}>>>;
|
14664
14737
|
};
|
14665
14738
|
updateDescription: {
|
14666
14739
|
body: z.ZodObject<{
|
@@ -14679,9 +14752,27 @@ export declare const ticketContract: {
|
|
14679
14752
|
}, {
|
14680
14753
|
id: string;
|
14681
14754
|
}>;
|
14755
|
+
path: "tcs/api/v1/ticket/:id/description";
|
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
|
+
}>>>;
|
14682
14772
|
responses: {
|
14683
14773
|
201: z.ZodObject<{
|
14684
14774
|
requestId: z.ZodString;
|
14775
|
+
} & {
|
14685
14776
|
message: z.ZodString;
|
14686
14777
|
}, "strip", z.ZodTypeAny, {
|
14687
14778
|
message: string;
|
@@ -14742,23 +14833,6 @@ export declare const ticketContract: {
|
|
14742
14833
|
error?: any;
|
14743
14834
|
}>;
|
14744
14835
|
};
|
14745
|
-
path: "tcs/api/v1/ticket/:id/description";
|
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
|
-
}>>>;
|
14762
14836
|
};
|
14763
14837
|
updateTitle: {
|
14764
14838
|
body: z.ZodObject<{
|
@@ -14777,9 +14851,27 @@ export declare const ticketContract: {
|
|
14777
14851
|
}, {
|
14778
14852
|
id: string;
|
14779
14853
|
}>;
|
14854
|
+
path: "tcs/api/v1/ticket/:id/title";
|
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
|
+
}>>>;
|
14780
14871
|
responses: {
|
14781
14872
|
200: z.ZodObject<{
|
14782
14873
|
requestId: z.ZodString;
|
14874
|
+
} & {
|
14783
14875
|
message: z.ZodString;
|
14784
14876
|
}, "strip", z.ZodTypeAny, {
|
14785
14877
|
message: string;
|
@@ -14840,23 +14932,6 @@ export declare const ticketContract: {
|
|
14840
14932
|
error?: any;
|
14841
14933
|
}>;
|
14842
14934
|
};
|
14843
|
-
path: "tcs/api/v1/ticket/:id/title";
|
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
|
-
}>>>;
|
14860
14935
|
};
|
14861
14936
|
updateType: {
|
14862
14937
|
body: z.ZodObject<{
|
@@ -14875,9 +14950,27 @@ export declare const ticketContract: {
|
|
14875
14950
|
}, {
|
14876
14951
|
id: string;
|
14877
14952
|
}>;
|
14953
|
+
path: "tcs/api/v1/ticket/:id/type";
|
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
|
+
}>>>;
|
14878
14970
|
responses: {
|
14879
14971
|
200: z.ZodObject<{
|
14880
14972
|
requestId: z.ZodString;
|
14973
|
+
} & {
|
14881
14974
|
message: z.ZodString;
|
14882
14975
|
}, "strip", z.ZodTypeAny, {
|
14883
14976
|
message: string;
|
@@ -14938,23 +15031,6 @@ export declare const ticketContract: {
|
|
14938
15031
|
error?: any;
|
14939
15032
|
}>;
|
14940
15033
|
};
|
14941
|
-
path: "tcs/api/v1/ticket/:id/type";
|
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
|
-
}>>>;
|
14958
15034
|
};
|
14959
15035
|
updateStatus: {
|
14960
15036
|
body: z.ZodObject<{
|
@@ -14973,9 +15049,27 @@ export declare const ticketContract: {
|
|
14973
15049
|
}, {
|
14974
15050
|
id: string;
|
14975
15051
|
}>;
|
15052
|
+
path: "tcs/api/v1/ticket/:id/status";
|
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
|
+
}>>>;
|
14976
15069
|
responses: {
|
14977
15070
|
200: z.ZodObject<{
|
14978
15071
|
requestId: z.ZodString;
|
15072
|
+
} & {
|
14979
15073
|
message: z.ZodString;
|
14980
15074
|
}, "strip", z.ZodTypeAny, {
|
14981
15075
|
message: string;
|
@@ -15036,23 +15130,6 @@ export declare const ticketContract: {
|
|
15036
15130
|
error?: any;
|
15037
15131
|
}>;
|
15038
15132
|
};
|
15039
|
-
path: "tcs/api/v1/ticket/:id/status";
|
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
|
-
}>>>;
|
15056
15133
|
};
|
15057
15134
|
updatePriority: {
|
15058
15135
|
body: z.ZodObject<{
|
@@ -15071,9 +15148,27 @@ export declare const ticketContract: {
|
|
15071
15148
|
}, {
|
15072
15149
|
id: string;
|
15073
15150
|
}>;
|
15151
|
+
path: "tcs/api/v1/ticket/:id/priority";
|
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
|
+
}>>>;
|
15074
15168
|
responses: {
|
15075
15169
|
200: z.ZodObject<{
|
15076
15170
|
requestId: z.ZodString;
|
15171
|
+
} & {
|
15077
15172
|
message: z.ZodString;
|
15078
15173
|
}, "strip", z.ZodTypeAny, {
|
15079
15174
|
message: string;
|
@@ -15134,23 +15229,6 @@ export declare const ticketContract: {
|
|
15134
15229
|
error?: any;
|
15135
15230
|
}>;
|
15136
15231
|
};
|
15137
|
-
path: "tcs/api/v1/ticket/:id/priority";
|
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
|
-
}>>>;
|
15154
15232
|
};
|
15155
15233
|
updateChannel: {
|
15156
15234
|
body: z.ZodObject<{
|
@@ -15169,9 +15247,27 @@ export declare const ticketContract: {
|
|
15169
15247
|
}, {
|
15170
15248
|
id: string;
|
15171
15249
|
}>;
|
15250
|
+
path: "tcs/api/v1/ticket/:id/channel";
|
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
|
+
}>>>;
|
15172
15267
|
responses: {
|
15173
15268
|
200: z.ZodObject<{
|
15174
15269
|
requestId: z.ZodString;
|
15270
|
+
} & {
|
15175
15271
|
message: z.ZodString;
|
15176
15272
|
}, "strip", z.ZodTypeAny, {
|
15177
15273
|
message: string;
|
@@ -15232,23 +15328,6 @@ export declare const ticketContract: {
|
|
15232
15328
|
error?: any;
|
15233
15329
|
}>;
|
15234
15330
|
};
|
15235
|
-
path: "tcs/api/v1/ticket/:id/channel";
|
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
|
-
}>>>;
|
15252
15331
|
};
|
15253
15332
|
updateTags: {
|
15254
15333
|
body: z.ZodObject<{
|
@@ -15267,9 +15346,27 @@ export declare const ticketContract: {
|
|
15267
15346
|
}, {
|
15268
15347
|
id: string;
|
15269
15348
|
}>;
|
15349
|
+
path: "tcs/api/v1/ticket/:id/tags";
|
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
|
+
}>>>;
|
15270
15366
|
responses: {
|
15271
15367
|
200: z.ZodObject<{
|
15272
15368
|
requestId: z.ZodString;
|
15369
|
+
} & {
|
15273
15370
|
message: z.ZodString;
|
15274
15371
|
}, "strip", z.ZodTypeAny, {
|
15275
15372
|
message: string;
|
@@ -15330,23 +15427,6 @@ export declare const ticketContract: {
|
|
15330
15427
|
error?: any;
|
15331
15428
|
}>;
|
15332
15429
|
};
|
15333
|
-
path: "tcs/api/v1/ticket/:id/tags";
|
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
|
-
}>>>;
|
15350
15430
|
};
|
15351
15431
|
changeAssignee: {
|
15352
15432
|
body: z.ZodObject<{
|
@@ -15368,14 +15448,33 @@ export declare const ticketContract: {
|
|
15368
15448
|
}, {
|
15369
15449
|
id: string;
|
15370
15450
|
}>;
|
15451
|
+
path: "tcs/api/v1/ticket/:id/assignee";
|
15452
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
15453
|
+
'x-tenant': z.ZodString;
|
15454
|
+
'x-service-token': z.ZodString;
|
15455
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
15456
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
15457
|
+
}, "strip", z.ZodTypeAny, {
|
15458
|
+
'x-tenant': string;
|
15459
|
+
'x-service-token': string;
|
15460
|
+
'x-client-timezone': string;
|
15461
|
+
'x-code'?: string | undefined;
|
15462
|
+
}, {
|
15463
|
+
'x-tenant': string;
|
15464
|
+
'x-service-token': string;
|
15465
|
+
'x-code'?: string | undefined;
|
15466
|
+
'x-client-timezone'?: string | undefined;
|
15467
|
+
}>>>;
|
15371
15468
|
responses: {
|
15372
15469
|
200: z.ZodObject<{
|
15373
15470
|
requestId: z.ZodString;
|
15471
|
+
} & {
|
15374
15472
|
data: z.ZodObject<{
|
15375
15473
|
id: z.ZodString;
|
15376
15474
|
createdAt: z.ZodDate;
|
15377
15475
|
updatedAt: z.ZodDate;
|
15378
15476
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15477
|
+
} & {
|
15379
15478
|
title: z.ZodString;
|
15380
15479
|
description: z.ZodNullable<z.ZodString>;
|
15381
15480
|
type: z.ZodString;
|
@@ -15385,17 +15484,18 @@ export declare const ticketContract: {
|
|
15385
15484
|
contactId: z.ZodString;
|
15386
15485
|
creatorId: z.ZodString;
|
15387
15486
|
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
15388
|
-
name: z.ZodString;
|
15389
15487
|
id: z.ZodString;
|
15390
|
-
address: z.ZodNullable<z.ZodString>;
|
15391
|
-
email: z.ZodString;
|
15392
15488
|
createdAt: z.ZodDate;
|
15393
15489
|
updatedAt: z.ZodDate;
|
15394
15490
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15491
|
+
name: z.ZodString;
|
15492
|
+
email: z.ZodString;
|
15395
15493
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
15396
15494
|
password: z.ZodString;
|
15495
|
+
address: z.ZodNullable<z.ZodString>;
|
15397
15496
|
phone: z.ZodNullable<z.ZodString>;
|
15398
15497
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
15498
|
+
} & {
|
15399
15499
|
roles: z.ZodArray<z.ZodObject<{
|
15400
15500
|
id: z.ZodString;
|
15401
15501
|
createdAt: z.ZodDate;
|
@@ -15590,17 +15690,18 @@ export declare const ticketContract: {
|
|
15590
15690
|
}>>>;
|
15591
15691
|
assigneeId: z.ZodString;
|
15592
15692
|
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
15593
|
-
name: z.ZodString;
|
15594
15693
|
id: z.ZodString;
|
15595
|
-
address: z.ZodNullable<z.ZodString>;
|
15596
|
-
email: z.ZodString;
|
15597
15694
|
createdAt: z.ZodDate;
|
15598
15695
|
updatedAt: z.ZodDate;
|
15599
15696
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15697
|
+
name: z.ZodString;
|
15698
|
+
email: z.ZodString;
|
15600
15699
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
15601
15700
|
password: z.ZodString;
|
15701
|
+
address: z.ZodNullable<z.ZodString>;
|
15602
15702
|
phone: z.ZodNullable<z.ZodString>;
|
15603
15703
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
15704
|
+
} & {
|
15604
15705
|
roles: z.ZodArray<z.ZodObject<{
|
15605
15706
|
id: z.ZodString;
|
15606
15707
|
createdAt: z.ZodDate;
|
@@ -15800,6 +15901,7 @@ export declare const ticketContract: {
|
|
15800
15901
|
createdAt: z.ZodDate;
|
15801
15902
|
updatedAt: z.ZodDate;
|
15802
15903
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15904
|
+
} & {
|
15803
15905
|
textValue: z.ZodNullable<z.ZodString>;
|
15804
15906
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
15805
15907
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -15809,6 +15911,7 @@ export declare const ticketContract: {
|
|
15809
15911
|
createdAt: z.ZodDate;
|
15810
15912
|
updatedAt: z.ZodDate;
|
15811
15913
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15914
|
+
} & {
|
15812
15915
|
systemName: z.ZodString;
|
15813
15916
|
displayName: z.ZodString;
|
15814
15917
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -15818,10 +15921,11 @@ export declare const ticketContract: {
|
|
15818
15921
|
isRequired: z.ZodBoolean;
|
15819
15922
|
isUnique: z.ZodBoolean;
|
15820
15923
|
options: z.ZodArray<z.ZodObject<{
|
15821
|
-
position: z.ZodNumber;
|
15822
|
-
value: z.ZodString;
|
15823
15924
|
label: z.ZodString;
|
15925
|
+
value: z.ZodString;
|
15824
15926
|
isDefault: z.ZodBoolean;
|
15927
|
+
position: z.ZodNumber;
|
15928
|
+
} & {
|
15825
15929
|
id: z.ZodString;
|
15826
15930
|
}, "strip", z.ZodTypeAny, {
|
15827
15931
|
id: string;
|
@@ -15841,6 +15945,7 @@ export declare const ticketContract: {
|
|
15841
15945
|
createdAt: z.ZodDate;
|
15842
15946
|
updatedAt: z.ZodDate;
|
15843
15947
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15948
|
+
} & {
|
15844
15949
|
systemName: z.ZodString;
|
15845
15950
|
displayName: z.ZodString;
|
15846
15951
|
}, "strip", z.ZodTypeAny, {
|
@@ -15890,6 +15995,7 @@ export declare const ticketContract: {
|
|
15890
15995
|
createdAt: z.ZodDate;
|
15891
15996
|
updatedAt: z.ZodDate;
|
15892
15997
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15998
|
+
} & {
|
15893
15999
|
bucketName: z.ZodString;
|
15894
16000
|
fileName: z.ZodString;
|
15895
16001
|
fileSize: z.ZodNumber;
|
@@ -15995,6 +16101,7 @@ export declare const ticketContract: {
|
|
15995
16101
|
createdAt: z.ZodDate;
|
15996
16102
|
updatedAt: z.ZodDate;
|
15997
16103
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16104
|
+
} & {
|
15998
16105
|
name: z.ZodString;
|
15999
16106
|
}, "strip", z.ZodTypeAny, {
|
16000
16107
|
name: string;
|
@@ -16014,6 +16121,7 @@ export declare const ticketContract: {
|
|
16014
16121
|
createdAt: z.ZodDate;
|
16015
16122
|
updatedAt: z.ZodDate;
|
16016
16123
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16124
|
+
} & {
|
16017
16125
|
value: z.ZodString;
|
16018
16126
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
16019
16127
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -16125,6 +16233,7 @@ export declare const ticketContract: {
|
|
16125
16233
|
createdAt: z.ZodDate;
|
16126
16234
|
updatedAt: z.ZodDate;
|
16127
16235
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16236
|
+
} & {
|
16128
16237
|
name: z.ZodString;
|
16129
16238
|
}, "strip", z.ZodTypeAny, {
|
16130
16239
|
name: string;
|
@@ -16144,6 +16253,7 @@ export declare const ticketContract: {
|
|
16144
16253
|
createdAt: z.ZodDate;
|
16145
16254
|
updatedAt: z.ZodDate;
|
16146
16255
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16256
|
+
} & {
|
16147
16257
|
name: z.ZodOptional<z.ZodString>;
|
16148
16258
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
16149
16259
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -16153,6 +16263,7 @@ export declare const ticketContract: {
|
|
16153
16263
|
createdAt: z.ZodDate;
|
16154
16264
|
updatedAt: z.ZodDate;
|
16155
16265
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16266
|
+
} & {
|
16156
16267
|
textValue: z.ZodNullable<z.ZodString>;
|
16157
16268
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
16158
16269
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -16162,6 +16273,7 @@ export declare const ticketContract: {
|
|
16162
16273
|
createdAt: z.ZodDate;
|
16163
16274
|
updatedAt: z.ZodDate;
|
16164
16275
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16276
|
+
} & {
|
16165
16277
|
systemName: z.ZodString;
|
16166
16278
|
displayName: z.ZodString;
|
16167
16279
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -16171,10 +16283,11 @@ export declare const ticketContract: {
|
|
16171
16283
|
isRequired: z.ZodBoolean;
|
16172
16284
|
isUnique: z.ZodBoolean;
|
16173
16285
|
options: z.ZodArray<z.ZodObject<{
|
16174
|
-
position: z.ZodNumber;
|
16175
|
-
value: z.ZodString;
|
16176
16286
|
label: z.ZodString;
|
16287
|
+
value: z.ZodString;
|
16177
16288
|
isDefault: z.ZodBoolean;
|
16289
|
+
position: z.ZodNumber;
|
16290
|
+
} & {
|
16178
16291
|
id: z.ZodString;
|
16179
16292
|
}, "strip", z.ZodTypeAny, {
|
16180
16293
|
id: string;
|
@@ -16194,6 +16307,7 @@ export declare const ticketContract: {
|
|
16194
16307
|
createdAt: z.ZodDate;
|
16195
16308
|
updatedAt: z.ZodDate;
|
16196
16309
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16310
|
+
} & {
|
16197
16311
|
systemName: z.ZodString;
|
16198
16312
|
displayName: z.ZodString;
|
16199
16313
|
}, "strip", z.ZodTypeAny, {
|
@@ -16371,6 +16485,7 @@ export declare const ticketContract: {
|
|
16371
16485
|
createdAt: z.ZodDate;
|
16372
16486
|
updatedAt: z.ZodDate;
|
16373
16487
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16488
|
+
} & {
|
16374
16489
|
systemName: z.ZodString;
|
16375
16490
|
displayName: z.ZodString;
|
16376
16491
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -16380,10 +16495,11 @@ export declare const ticketContract: {
|
|
16380
16495
|
isRequired: z.ZodBoolean;
|
16381
16496
|
isUnique: z.ZodBoolean;
|
16382
16497
|
options: z.ZodArray<z.ZodObject<{
|
16383
|
-
position: z.ZodNumber;
|
16384
|
-
value: z.ZodString;
|
16385
16498
|
label: z.ZodString;
|
16499
|
+
value: z.ZodString;
|
16386
16500
|
isDefault: z.ZodBoolean;
|
16501
|
+
position: z.ZodNumber;
|
16502
|
+
} & {
|
16387
16503
|
id: z.ZodString;
|
16388
16504
|
}, "strip", z.ZodTypeAny, {
|
16389
16505
|
id: string;
|
@@ -16403,6 +16519,7 @@ export declare const ticketContract: {
|
|
16403
16519
|
createdAt: z.ZodDate;
|
16404
16520
|
updatedAt: z.ZodDate;
|
16405
16521
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16522
|
+
} & {
|
16406
16523
|
systemName: z.ZodString;
|
16407
16524
|
displayName: z.ZodString;
|
16408
16525
|
}, "strip", z.ZodTypeAny, {
|
@@ -16452,6 +16569,7 @@ export declare const ticketContract: {
|
|
16452
16569
|
createdAt: z.ZodDate;
|
16453
16570
|
updatedAt: z.ZodDate;
|
16454
16571
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16572
|
+
} & {
|
16455
16573
|
bucketName: z.ZodString;
|
16456
16574
|
fileName: z.ZodString;
|
16457
16575
|
fileSize: z.ZodNumber;
|
@@ -16885,17 +17003,18 @@ export declare const ticketContract: {
|
|
16885
17003
|
updatedAt: z.ZodDate;
|
16886
17004
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16887
17005
|
actor: z.ZodObject<{
|
16888
|
-
name: z.ZodString;
|
16889
17006
|
id: z.ZodString;
|
16890
|
-
address: z.ZodNullable<z.ZodString>;
|
16891
|
-
email: z.ZodString;
|
16892
17007
|
createdAt: z.ZodDate;
|
16893
17008
|
updatedAt: z.ZodDate;
|
16894
17009
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
17010
|
+
name: z.ZodString;
|
17011
|
+
email: z.ZodString;
|
16895
17012
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
16896
17013
|
password: z.ZodString;
|
17014
|
+
address: z.ZodNullable<z.ZodString>;
|
16897
17015
|
phone: z.ZodNullable<z.ZodString>;
|
16898
17016
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
17017
|
+
} & {
|
16899
17018
|
roles: z.ZodArray<z.ZodObject<{
|
16900
17019
|
id: z.ZodString;
|
16901
17020
|
createdAt: z.ZodDate;
|
@@ -17483,7 +17602,7 @@ export declare const ticketContract: {
|
|
17483
17602
|
assigneeId: string;
|
17484
17603
|
creatorId: string;
|
17485
17604
|
reasonToAssign: string | null;
|
17486
|
-
|
17605
|
+
assignee?: {
|
17487
17606
|
name: string;
|
17488
17607
|
id: string;
|
17489
17608
|
address: string | null;
|
@@ -17527,7 +17646,7 @@ export declare const ticketContract: {
|
|
17527
17646
|
telephonySignature: string | null;
|
17528
17647
|
};
|
17529
17648
|
} | null | undefined;
|
17530
|
-
|
17649
|
+
creator?: {
|
17531
17650
|
name: string;
|
17532
17651
|
id: string;
|
17533
17652
|
address: string | null;
|
@@ -17824,7 +17943,7 @@ export declare const ticketContract: {
|
|
17824
17943
|
assigneeId: string;
|
17825
17944
|
creatorId: string;
|
17826
17945
|
reasonToAssign: string | null;
|
17827
|
-
|
17946
|
+
assignee?: {
|
17828
17947
|
name: string;
|
17829
17948
|
id: string;
|
17830
17949
|
address: string | null;
|
@@ -17868,7 +17987,7 @@ export declare const ticketContract: {
|
|
17868
17987
|
telephonySignature: string | null;
|
17869
17988
|
};
|
17870
17989
|
} | null | undefined;
|
17871
|
-
|
17990
|
+
creator?: {
|
17872
17991
|
name: string;
|
17873
17992
|
id: string;
|
17874
17993
|
address: string | null;
|
@@ -18167,7 +18286,7 @@ export declare const ticketContract: {
|
|
18167
18286
|
assigneeId: string;
|
18168
18287
|
creatorId: string;
|
18169
18288
|
reasonToAssign: string | null;
|
18170
|
-
|
18289
|
+
assignee?: {
|
18171
18290
|
name: string;
|
18172
18291
|
id: string;
|
18173
18292
|
address: string | null;
|
@@ -18211,7 +18330,7 @@ export declare const ticketContract: {
|
|
18211
18330
|
telephonySignature: string | null;
|
18212
18331
|
};
|
18213
18332
|
} | null | undefined;
|
18214
|
-
|
18333
|
+
creator?: {
|
18215
18334
|
name: string;
|
18216
18335
|
id: string;
|
18217
18336
|
address: string | null;
|
@@ -18511,7 +18630,7 @@ export declare const ticketContract: {
|
|
18511
18630
|
assigneeId: string;
|
18512
18631
|
creatorId: string;
|
18513
18632
|
reasonToAssign: string | null;
|
18514
|
-
|
18633
|
+
assignee?: {
|
18515
18634
|
name: string;
|
18516
18635
|
id: string;
|
18517
18636
|
address: string | null;
|
@@ -18555,7 +18674,7 @@ export declare const ticketContract: {
|
|
18555
18674
|
telephonySignature: string | null;
|
18556
18675
|
};
|
18557
18676
|
} | null | undefined;
|
18558
|
-
|
18677
|
+
creator?: {
|
18559
18678
|
name: string;
|
18560
18679
|
id: string;
|
18561
18680
|
address: string | null;
|
@@ -18655,7 +18774,18 @@ export declare const ticketContract: {
|
|
18655
18774
|
error?: any;
|
18656
18775
|
}>;
|
18657
18776
|
};
|
18658
|
-
|
18777
|
+
};
|
18778
|
+
getTicketCountByContact: {
|
18779
|
+
summary: "Get ticket count by contact";
|
18780
|
+
method: "GET";
|
18781
|
+
pathParams: z.ZodObject<{
|
18782
|
+
contactId: z.ZodString;
|
18783
|
+
}, "strip", z.ZodTypeAny, {
|
18784
|
+
contactId: string;
|
18785
|
+
}, {
|
18786
|
+
contactId: string;
|
18787
|
+
}>;
|
18788
|
+
path: "tcs/api/v1/ticket/count/contact/:contactId";
|
18659
18789
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
18660
18790
|
'x-tenant': z.ZodString;
|
18661
18791
|
'x-service-token': z.ZodString;
|
@@ -18672,20 +18802,10 @@ export declare const ticketContract: {
|
|
18672
18802
|
'x-code'?: string | undefined;
|
18673
18803
|
'x-client-timezone'?: string | undefined;
|
18674
18804
|
}>>>;
|
18675
|
-
};
|
18676
|
-
getTicketCountByContact: {
|
18677
|
-
summary: "Get ticket count by contact";
|
18678
|
-
method: "GET";
|
18679
|
-
pathParams: z.ZodObject<{
|
18680
|
-
contactId: z.ZodString;
|
18681
|
-
}, "strip", z.ZodTypeAny, {
|
18682
|
-
contactId: string;
|
18683
|
-
}, {
|
18684
|
-
contactId: string;
|
18685
|
-
}>;
|
18686
18805
|
responses: {
|
18687
18806
|
200: z.ZodObject<{
|
18688
18807
|
requestId: z.ZodString;
|
18808
|
+
} & {
|
18689
18809
|
data: z.ZodObject<{
|
18690
18810
|
total: z.ZodNumber;
|
18691
18811
|
open: z.ZodNumber;
|
@@ -18752,23 +18872,6 @@ export declare const ticketContract: {
|
|
18752
18872
|
error?: any;
|
18753
18873
|
}>;
|
18754
18874
|
};
|
18755
|
-
path: "tcs/api/v1/ticket/count/contact/:contactId";
|
18756
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
18757
|
-
'x-tenant': z.ZodString;
|
18758
|
-
'x-service-token': z.ZodString;
|
18759
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
18760
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
18761
|
-
}, "strip", z.ZodTypeAny, {
|
18762
|
-
'x-tenant': string;
|
18763
|
-
'x-service-token': string;
|
18764
|
-
'x-client-timezone': string;
|
18765
|
-
'x-code'?: string | undefined;
|
18766
|
-
}, {
|
18767
|
-
'x-tenant': string;
|
18768
|
-
'x-service-token': string;
|
18769
|
-
'x-code'?: string | undefined;
|
18770
|
-
'x-client-timezone'?: string | undefined;
|
18771
|
-
}>>>;
|
18772
18875
|
};
|
18773
18876
|
addTicketAttachments: {
|
18774
18877
|
body: z.ZodObject<{
|
@@ -18820,14 +18923,33 @@ export declare const ticketContract: {
|
|
18820
18923
|
}, {
|
18821
18924
|
id: string;
|
18822
18925
|
}>;
|
18926
|
+
path: "tcs/api/v1/ticket/:id/attachment";
|
18927
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
18928
|
+
'x-tenant': z.ZodString;
|
18929
|
+
'x-service-token': z.ZodString;
|
18930
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
18931
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
18932
|
+
}, "strip", z.ZodTypeAny, {
|
18933
|
+
'x-tenant': string;
|
18934
|
+
'x-service-token': string;
|
18935
|
+
'x-client-timezone': string;
|
18936
|
+
'x-code'?: string | undefined;
|
18937
|
+
}, {
|
18938
|
+
'x-tenant': string;
|
18939
|
+
'x-service-token': string;
|
18940
|
+
'x-code'?: string | undefined;
|
18941
|
+
'x-client-timezone'?: string | undefined;
|
18942
|
+
}>>>;
|
18823
18943
|
responses: {
|
18824
18944
|
201: z.ZodObject<{
|
18825
18945
|
requestId: z.ZodString;
|
18946
|
+
} & {
|
18826
18947
|
data: z.ZodObject<{
|
18827
18948
|
id: z.ZodString;
|
18828
18949
|
createdAt: z.ZodDate;
|
18829
18950
|
updatedAt: z.ZodDate;
|
18830
18951
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18952
|
+
} & {
|
18831
18953
|
textValue: z.ZodNullable<z.ZodString>;
|
18832
18954
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
18833
18955
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -18837,6 +18959,7 @@ export declare const ticketContract: {
|
|
18837
18959
|
createdAt: z.ZodDate;
|
18838
18960
|
updatedAt: z.ZodDate;
|
18839
18961
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18962
|
+
} & {
|
18840
18963
|
systemName: z.ZodString;
|
18841
18964
|
displayName: z.ZodString;
|
18842
18965
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -18846,10 +18969,11 @@ export declare const ticketContract: {
|
|
18846
18969
|
isRequired: z.ZodBoolean;
|
18847
18970
|
isUnique: z.ZodBoolean;
|
18848
18971
|
options: z.ZodArray<z.ZodObject<{
|
18849
|
-
position: z.ZodNumber;
|
18850
|
-
value: z.ZodString;
|
18851
18972
|
label: z.ZodString;
|
18973
|
+
value: z.ZodString;
|
18852
18974
|
isDefault: z.ZodBoolean;
|
18975
|
+
position: z.ZodNumber;
|
18976
|
+
} & {
|
18853
18977
|
id: z.ZodString;
|
18854
18978
|
}, "strip", z.ZodTypeAny, {
|
18855
18979
|
id: string;
|
@@ -18869,6 +18993,7 @@ export declare const ticketContract: {
|
|
18869
18993
|
createdAt: z.ZodDate;
|
18870
18994
|
updatedAt: z.ZodDate;
|
18871
18995
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18996
|
+
} & {
|
18872
18997
|
systemName: z.ZodString;
|
18873
18998
|
displayName: z.ZodString;
|
18874
18999
|
}, "strip", z.ZodTypeAny, {
|
@@ -18918,6 +19043,7 @@ export declare const ticketContract: {
|
|
18918
19043
|
createdAt: z.ZodDate;
|
18919
19044
|
updatedAt: z.ZodDate;
|
18920
19045
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
19046
|
+
} & {
|
18921
19047
|
bucketName: z.ZodString;
|
18922
19048
|
fileName: z.ZodString;
|
18923
19049
|
fileSize: z.ZodNumber;
|
@@ -19147,55 +19273,39 @@ export declare const ticketContract: {
|
|
19147
19273
|
error?: any;
|
19148
19274
|
}>;
|
19149
19275
|
};
|
19150
|
-
path: "tcs/api/v1/ticket/:id/attachment";
|
19151
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
19152
|
-
'x-tenant': z.ZodString;
|
19153
|
-
'x-service-token': z.ZodString;
|
19154
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
19155
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
19156
|
-
}, "strip", z.ZodTypeAny, {
|
19157
|
-
'x-tenant': string;
|
19158
|
-
'x-service-token': string;
|
19159
|
-
'x-client-timezone': string;
|
19160
|
-
'x-code'?: string | undefined;
|
19161
|
-
}, {
|
19162
|
-
'x-tenant': string;
|
19163
|
-
'x-service-token': string;
|
19164
|
-
'x-code'?: string | undefined;
|
19165
|
-
'x-client-timezone'?: string | undefined;
|
19166
|
-
}>>>;
|
19167
19276
|
};
|
19168
19277
|
exportTicket: {
|
19169
19278
|
summary: "Export tickets";
|
19170
19279
|
method: "GET";
|
19171
19280
|
query: z.ZodObject<{
|
19172
|
-
|
19173
|
-
|
19174
|
-
|
19281
|
+
agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19282
|
+
selectedDate: z.ZodOptional<z.ZodString>;
|
19283
|
+
keyword: z.ZodOptional<z.ZodString>;
|
19175
19284
|
title: z.ZodOptional<z.ZodString>;
|
19176
19285
|
description: z.ZodOptional<z.ZodString>;
|
19177
19286
|
status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19287
|
+
priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19288
|
+
assignee: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19289
|
+
channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19290
|
+
type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19291
|
+
ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19178
19292
|
contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19293
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19294
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19179
19295
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
19180
19296
|
attributeId: z.ZodString;
|
19181
19297
|
type: z.ZodString;
|
19182
19298
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
19183
19299
|
}, "strip", z.ZodTypeAny, {
|
19184
19300
|
type: string;
|
19185
|
-
value:
|
19301
|
+
value: string | string[];
|
19186
19302
|
attributeId: string;
|
19187
19303
|
}, {
|
19188
19304
|
type: string;
|
19189
|
-
value:
|
19305
|
+
value: string | string[];
|
19190
19306
|
attributeId: string;
|
19191
19307
|
}>, "many">>;
|
19192
|
-
|
19193
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19194
|
-
assignee: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19195
|
-
agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19196
|
-
keyword: z.ZodOptional<z.ZodString>;
|
19197
|
-
selectedDate: z.ZodOptional<z.ZodString>;
|
19198
|
-
ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19308
|
+
} & {
|
19199
19309
|
fileExtension: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>>>;
|
19200
19310
|
}, "strip", z.ZodTypeAny, {
|
19201
19311
|
type?: string[] | undefined;
|
@@ -19207,7 +19317,7 @@ export declare const ticketContract: {
|
|
19207
19317
|
contact?: string[] | undefined;
|
19208
19318
|
customFields?: {
|
19209
19319
|
type: string;
|
19210
|
-
value:
|
19320
|
+
value: string | string[];
|
19211
19321
|
attributeId: string;
|
19212
19322
|
}[] | undefined;
|
19213
19323
|
tags?: string[] | undefined;
|
@@ -19216,8 +19326,8 @@ export declare const ticketContract: {
|
|
19216
19326
|
agent?: string[] | undefined;
|
19217
19327
|
keyword?: string | undefined;
|
19218
19328
|
selectedDate?: string | undefined;
|
19219
|
-
ticketType?: string[] | undefined;
|
19220
19329
|
fileExtension?: "csv" | "xlsx" | undefined;
|
19330
|
+
ticketType?: string[] | undefined;
|
19221
19331
|
}, {
|
19222
19332
|
type?: string[] | undefined;
|
19223
19333
|
channel?: string[] | undefined;
|
@@ -19228,7 +19338,7 @@ export declare const ticketContract: {
|
|
19228
19338
|
contact?: string[] | undefined;
|
19229
19339
|
customFields?: {
|
19230
19340
|
type: string;
|
19231
|
-
value:
|
19341
|
+
value: string | string[];
|
19232
19342
|
attributeId: string;
|
19233
19343
|
}[] | undefined;
|
19234
19344
|
tags?: string[] | undefined;
|
@@ -19237,9 +19347,26 @@ export declare const ticketContract: {
|
|
19237
19347
|
agent?: string[] | undefined;
|
19238
19348
|
keyword?: string | undefined;
|
19239
19349
|
selectedDate?: string | undefined;
|
19240
|
-
ticketType?: string[] | undefined;
|
19241
19350
|
fileExtension?: "csv" | "xlsx" | undefined;
|
19351
|
+
ticketType?: string[] | undefined;
|
19242
19352
|
}>;
|
19353
|
+
path: "ts/ticket/export";
|
19354
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
19355
|
+
'x-tenant': z.ZodString;
|
19356
|
+
'x-service-token': z.ZodString;
|
19357
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
19358
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
19359
|
+
}, "strip", z.ZodTypeAny, {
|
19360
|
+
'x-tenant': string;
|
19361
|
+
'x-service-token': string;
|
19362
|
+
'x-client-timezone': string;
|
19363
|
+
'x-code'?: string | undefined;
|
19364
|
+
}, {
|
19365
|
+
'x-tenant': string;
|
19366
|
+
'x-service-token': string;
|
19367
|
+
'x-code'?: string | undefined;
|
19368
|
+
'x-client-timezone'?: string | undefined;
|
19369
|
+
}>>>;
|
19243
19370
|
responses: {
|
19244
19371
|
200: null;
|
19245
19372
|
401: z.ZodObject<{
|
@@ -19253,7 +19380,10 @@ export declare const ticketContract: {
|
|
19253
19380
|
error?: any;
|
19254
19381
|
}>;
|
19255
19382
|
};
|
19256
|
-
|
19383
|
+
};
|
19384
|
+
getTicketReasonRequired: {
|
19385
|
+
method: "GET";
|
19386
|
+
path: "tcs/api/v1/ticket/gs/ticket-reason-required";
|
19257
19387
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
19258
19388
|
'x-tenant': z.ZodString;
|
19259
19389
|
'x-service-token': z.ZodString;
|
@@ -19270,12 +19400,10 @@ export declare const ticketContract: {
|
|
19270
19400
|
'x-code'?: string | undefined;
|
19271
19401
|
'x-client-timezone'?: string | undefined;
|
19272
19402
|
}>>>;
|
19273
|
-
};
|
19274
|
-
getTicketReasonRequired: {
|
19275
|
-
method: "GET";
|
19276
19403
|
responses: {
|
19277
19404
|
200: z.ZodObject<{
|
19278
19405
|
requestId: z.ZodString;
|
19406
|
+
} & {
|
19279
19407
|
ticketReasonRequired: z.ZodString;
|
19280
19408
|
}, "strip", z.ZodTypeAny, {
|
19281
19409
|
requestId: string;
|
@@ -19312,6 +19440,16 @@ export declare const ticketContract: {
|
|
19312
19440
|
error?: any;
|
19313
19441
|
}>;
|
19314
19442
|
};
|
19443
|
+
};
|
19444
|
+
updateTicketReasonRequired: {
|
19445
|
+
body: z.ZodObject<{
|
19446
|
+
ticketReasonRequired: z.ZodString;
|
19447
|
+
}, "strip", z.ZodTypeAny, {
|
19448
|
+
ticketReasonRequired: string;
|
19449
|
+
}, {
|
19450
|
+
ticketReasonRequired: string;
|
19451
|
+
}>;
|
19452
|
+
method: "PUT";
|
19315
19453
|
path: "tcs/api/v1/ticket/gs/ticket-reason-required";
|
19316
19454
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
19317
19455
|
'x-tenant': z.ZodString;
|
@@ -19329,19 +19467,10 @@ export declare const ticketContract: {
|
|
19329
19467
|
'x-code'?: string | undefined;
|
19330
19468
|
'x-client-timezone'?: string | undefined;
|
19331
19469
|
}>>>;
|
19332
|
-
};
|
19333
|
-
updateTicketReasonRequired: {
|
19334
|
-
body: z.ZodObject<{
|
19335
|
-
ticketReasonRequired: z.ZodString;
|
19336
|
-
}, "strip", z.ZodTypeAny, {
|
19337
|
-
ticketReasonRequired: string;
|
19338
|
-
}, {
|
19339
|
-
ticketReasonRequired: string;
|
19340
|
-
}>;
|
19341
|
-
method: "PUT";
|
19342
19470
|
responses: {
|
19343
19471
|
200: z.ZodObject<{
|
19344
19472
|
requestId: z.ZodString;
|
19473
|
+
} & {
|
19345
19474
|
ticketReasonRequired: z.ZodString;
|
19346
19475
|
}, "strip", z.ZodTypeAny, {
|
19347
19476
|
requestId: string;
|
@@ -19378,23 +19507,6 @@ export declare const ticketContract: {
|
|
19378
19507
|
error?: any;
|
19379
19508
|
}>;
|
19380
19509
|
};
|
19381
|
-
path: "tcs/api/v1/ticket/gs/ticket-reason-required";
|
19382
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
19383
|
-
'x-tenant': z.ZodString;
|
19384
|
-
'x-service-token': z.ZodString;
|
19385
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
19386
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
19387
|
-
}, "strip", z.ZodTypeAny, {
|
19388
|
-
'x-tenant': string;
|
19389
|
-
'x-service-token': string;
|
19390
|
-
'x-client-timezone': string;
|
19391
|
-
'x-code'?: string | undefined;
|
19392
|
-
}, {
|
19393
|
-
'x-tenant': string;
|
19394
|
-
'x-service-token': string;
|
19395
|
-
'x-code'?: string | undefined;
|
19396
|
-
'x-client-timezone'?: string | undefined;
|
19397
|
-
}>>>;
|
19398
19510
|
};
|
19399
19511
|
};
|
19400
19512
|
//# sourceMappingURL=index.d.ts.map
|