@kl1/contracts 1.2.26-uat → 1.2.27-uat
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 +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +136 -109
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +686 -568
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +299 -218
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +23919 -22617
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- 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 +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- 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 +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1469 -1419
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +98 -98
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +184 -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 +4 -3
- 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 +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- 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 +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.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 +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +71 -49
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- 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 +3 -2
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- 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 +3 -2
- 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 +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +722 -623
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- 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 +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- 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 +9 -6
- 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 +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +4242 -4219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4239 -4217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -64,11 +64,12 @@ export declare const ticketContract: {
|
|
|
64
64
|
}, {
|
|
65
65
|
[x: string]: any;
|
|
66
66
|
}>;
|
|
67
|
-
categories: z.ZodObject<{
|
|
67
|
+
categories: z.ZodObject<z.objectUtil.extendShape<{
|
|
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[];
|
|
73
74
|
isRequired: boolean;
|
|
74
75
|
attributeId: string;
|
|
@@ -174,14 +175,33 @@ export declare const ticketContract: {
|
|
|
174
175
|
}>;
|
|
175
176
|
summary: "Create a new ticket";
|
|
176
177
|
method: "POST";
|
|
178
|
+
path: "ticket-service/ticket";
|
|
179
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
180
|
+
'x-tenant': z.ZodString;
|
|
181
|
+
authorization: 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
|
+
authorization: string;
|
|
187
|
+
'x-client-timezone': string;
|
|
188
|
+
'x-code'?: string | undefined;
|
|
189
|
+
}, {
|
|
190
|
+
'x-tenant': string;
|
|
191
|
+
authorization: string;
|
|
192
|
+
'x-code'?: string | undefined;
|
|
193
|
+
'x-client-timezone'?: string | undefined;
|
|
194
|
+
}>>>;
|
|
177
195
|
responses: {
|
|
178
|
-
201: z.ZodObject<{
|
|
196
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
179
197
|
requestId: z.ZodString;
|
|
180
|
-
|
|
198
|
+
}, {
|
|
199
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
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;
|
|
@@ -601,20 +621,22 @@ export declare const ticketContract: {
|
|
|
601
621
|
}>>>;
|
|
602
622
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
603
623
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
604
|
-
customFields: z.ZodArray<z.ZodObject<{
|
|
624
|
+
customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
605
625
|
id: z.ZodString;
|
|
606
626
|
createdAt: z.ZodDate;
|
|
607
627
|
updatedAt: z.ZodDate;
|
|
608
628
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
629
|
+
}, {
|
|
609
630
|
textValue: z.ZodNullable<z.ZodString>;
|
|
610
631
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
611
632
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
612
633
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
613
|
-
attribute: z.ZodObject<Omit<{
|
|
634
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
614
635
|
id: z.ZodString;
|
|
615
636
|
createdAt: z.ZodDate;
|
|
616
637
|
updatedAt: z.ZodDate;
|
|
617
638
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
639
|
+
}, {
|
|
618
640
|
systemName: z.ZodString;
|
|
619
641
|
displayName: z.ZodString;
|
|
620
642
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -623,13 +645,14 @@ export declare const ticketContract: {
|
|
|
623
645
|
isArchived: z.ZodBoolean;
|
|
624
646
|
isRequired: z.ZodBoolean;
|
|
625
647
|
isUnique: z.ZodBoolean;
|
|
626
|
-
options: z.ZodArray<z.ZodObject<{
|
|
627
|
-
position: z.ZodNumber;
|
|
628
|
-
value: z.ZodString;
|
|
648
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
629
649
|
label: z.ZodString;
|
|
650
|
+
value: z.ZodString;
|
|
630
651
|
isDefault: z.ZodBoolean;
|
|
652
|
+
position: z.ZodNumber;
|
|
653
|
+
}, {
|
|
631
654
|
id: z.ZodString;
|
|
632
|
-
}
|
|
655
|
+
}>, "strip", z.ZodTypeAny, {
|
|
633
656
|
id: string;
|
|
634
657
|
position: number;
|
|
635
658
|
value: string;
|
|
@@ -642,14 +665,15 @@ export declare const ticketContract: {
|
|
|
642
665
|
label: string;
|
|
643
666
|
isDefault: boolean;
|
|
644
667
|
}>, "many">;
|
|
645
|
-
group: z.ZodObject<{
|
|
668
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
646
669
|
id: z.ZodString;
|
|
647
670
|
createdAt: z.ZodDate;
|
|
648
671
|
updatedAt: z.ZodDate;
|
|
649
672
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
673
|
+
}, {
|
|
650
674
|
systemName: z.ZodString;
|
|
651
675
|
displayName: z.ZodString;
|
|
652
|
-
}
|
|
676
|
+
}>, "strip", z.ZodTypeAny, {
|
|
653
677
|
id: string;
|
|
654
678
|
createdAt: Date;
|
|
655
679
|
updatedAt: Date;
|
|
@@ -664,7 +688,7 @@ export declare const ticketContract: {
|
|
|
664
688
|
systemName: string;
|
|
665
689
|
displayName: string;
|
|
666
690
|
}>;
|
|
667
|
-
}
|
|
691
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
668
692
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
669
693
|
id: string;
|
|
670
694
|
position: number;
|
|
@@ -691,18 +715,19 @@ export declare const ticketContract: {
|
|
|
691
715
|
isRequired: boolean;
|
|
692
716
|
isUnique: boolean;
|
|
693
717
|
}>;
|
|
694
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
718
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
695
719
|
id: z.ZodString;
|
|
696
720
|
createdAt: z.ZodDate;
|
|
697
721
|
updatedAt: z.ZodDate;
|
|
698
722
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
723
|
+
}, {
|
|
699
724
|
bucketName: z.ZodString;
|
|
700
725
|
fileName: z.ZodString;
|
|
701
726
|
fileSize: z.ZodNumber;
|
|
702
727
|
fileKey: z.ZodString;
|
|
703
728
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
704
729
|
status: z.ZodNullable<z.ZodString>;
|
|
705
|
-
}
|
|
730
|
+
}>, "strip", z.ZodTypeAny, {
|
|
706
731
|
id: string;
|
|
707
732
|
status: string | null;
|
|
708
733
|
createdAt: Date;
|
|
@@ -725,7 +750,7 @@ export declare const ticketContract: {
|
|
|
725
750
|
fileSize: number;
|
|
726
751
|
fileUrl: string | null;
|
|
727
752
|
}>, "many">;
|
|
728
|
-
}
|
|
753
|
+
}>, "strip", z.ZodTypeAny, {
|
|
729
754
|
id: string;
|
|
730
755
|
createdAt: Date;
|
|
731
756
|
updatedAt: Date;
|
|
@@ -796,13 +821,14 @@ export declare const ticketContract: {
|
|
|
796
821
|
fileUrl: string | null;
|
|
797
822
|
}[];
|
|
798
823
|
}>, "many">;
|
|
799
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
824
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
800
825
|
id: z.ZodString;
|
|
801
826
|
createdAt: z.ZodDate;
|
|
802
827
|
updatedAt: z.ZodDate;
|
|
803
828
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
829
|
+
}, {
|
|
804
830
|
name: z.ZodString;
|
|
805
|
-
}
|
|
831
|
+
}>, "strip", z.ZodTypeAny, {
|
|
806
832
|
name: string;
|
|
807
833
|
id: string;
|
|
808
834
|
createdAt: Date;
|
|
@@ -815,11 +841,12 @@ export declare const ticketContract: {
|
|
|
815
841
|
updatedAt: Date;
|
|
816
842
|
deletedAt: Date | null;
|
|
817
843
|
}>, "many">;
|
|
818
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
844
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
819
845
|
id: z.ZodString;
|
|
820
846
|
createdAt: z.ZodDate;
|
|
821
847
|
updatedAt: z.ZodDate;
|
|
822
848
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
849
|
+
}, {
|
|
823
850
|
value: z.ZodString;
|
|
824
851
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
825
852
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -872,7 +899,7 @@ export declare const ticketContract: {
|
|
|
872
899
|
childCategoryList: any[];
|
|
873
900
|
}[];
|
|
874
901
|
}>, "many">;
|
|
875
|
-
}
|
|
902
|
+
}>, "strip", z.ZodTypeAny, {
|
|
876
903
|
id: string;
|
|
877
904
|
value: string;
|
|
878
905
|
createdAt: Date;
|
|
@@ -926,13 +953,14 @@ export declare const ticketContract: {
|
|
|
926
953
|
notes: z.ZodNullable<z.ZodString>;
|
|
927
954
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
928
955
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
929
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
956
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
930
957
|
id: z.ZodString;
|
|
931
958
|
createdAt: z.ZodDate;
|
|
932
959
|
updatedAt: z.ZodDate;
|
|
933
960
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
961
|
+
}, {
|
|
934
962
|
name: z.ZodString;
|
|
935
|
-
}
|
|
963
|
+
}>, "strip", z.ZodTypeAny, {
|
|
936
964
|
name: string;
|
|
937
965
|
id: string;
|
|
938
966
|
createdAt: Date;
|
|
@@ -945,29 +973,32 @@ export declare const ticketContract: {
|
|
|
945
973
|
updatedAt: Date;
|
|
946
974
|
deletedAt: Date | null;
|
|
947
975
|
}>, "many">;
|
|
948
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
976
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
949
977
|
id: z.ZodString;
|
|
950
978
|
createdAt: z.ZodDate;
|
|
951
979
|
updatedAt: z.ZodDate;
|
|
952
980
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
981
|
+
}, {
|
|
953
982
|
name: z.ZodOptional<z.ZodString>;
|
|
954
983
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
955
984
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
956
985
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
957
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
986
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
958
987
|
id: z.ZodString;
|
|
959
988
|
createdAt: z.ZodDate;
|
|
960
989
|
updatedAt: z.ZodDate;
|
|
961
990
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
991
|
+
}, {
|
|
962
992
|
textValue: z.ZodNullable<z.ZodString>;
|
|
963
993
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
964
994
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
965
995
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
966
|
-
attribute: z.ZodObject<Omit<{
|
|
996
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
967
997
|
id: z.ZodString;
|
|
968
998
|
createdAt: z.ZodDate;
|
|
969
999
|
updatedAt: z.ZodDate;
|
|
970
1000
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1001
|
+
}, {
|
|
971
1002
|
systemName: z.ZodString;
|
|
972
1003
|
displayName: z.ZodString;
|
|
973
1004
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -976,13 +1007,14 @@ export declare const ticketContract: {
|
|
|
976
1007
|
isArchived: z.ZodBoolean;
|
|
977
1008
|
isRequired: z.ZodBoolean;
|
|
978
1009
|
isUnique: z.ZodBoolean;
|
|
979
|
-
options: z.ZodArray<z.ZodObject<{
|
|
980
|
-
position: z.ZodNumber;
|
|
981
|
-
value: z.ZodString;
|
|
1010
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
982
1011
|
label: z.ZodString;
|
|
1012
|
+
value: z.ZodString;
|
|
983
1013
|
isDefault: z.ZodBoolean;
|
|
1014
|
+
position: z.ZodNumber;
|
|
1015
|
+
}, {
|
|
984
1016
|
id: z.ZodString;
|
|
985
|
-
}
|
|
1017
|
+
}>, "strip", z.ZodTypeAny, {
|
|
986
1018
|
id: string;
|
|
987
1019
|
position: number;
|
|
988
1020
|
value: string;
|
|
@@ -995,14 +1027,15 @@ export declare const ticketContract: {
|
|
|
995
1027
|
label: string;
|
|
996
1028
|
isDefault: boolean;
|
|
997
1029
|
}>, "many">;
|
|
998
|
-
group: z.ZodObject<{
|
|
1030
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
999
1031
|
id: z.ZodString;
|
|
1000
1032
|
createdAt: z.ZodDate;
|
|
1001
1033
|
updatedAt: z.ZodDate;
|
|
1002
1034
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1035
|
+
}, {
|
|
1003
1036
|
systemName: z.ZodString;
|
|
1004
1037
|
displayName: z.ZodString;
|
|
1005
|
-
}
|
|
1038
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1006
1039
|
id: string;
|
|
1007
1040
|
createdAt: Date;
|
|
1008
1041
|
updatedAt: Date;
|
|
@@ -1017,7 +1050,7 @@ export declare const ticketContract: {
|
|
|
1017
1050
|
systemName: string;
|
|
1018
1051
|
displayName: string;
|
|
1019
1052
|
}>;
|
|
1020
|
-
}
|
|
1053
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1021
1054
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1022
1055
|
id: string;
|
|
1023
1056
|
position: number;
|
|
@@ -1044,7 +1077,7 @@ export declare const ticketContract: {
|
|
|
1044
1077
|
isRequired: boolean;
|
|
1045
1078
|
isUnique: boolean;
|
|
1046
1079
|
}>;
|
|
1047
|
-
}
|
|
1080
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1048
1081
|
id: string;
|
|
1049
1082
|
createdAt: Date;
|
|
1050
1083
|
updatedAt: Date;
|
|
@@ -1091,7 +1124,7 @@ export declare const ticketContract: {
|
|
|
1091
1124
|
numberValue: number | null;
|
|
1092
1125
|
dateValue: Date | null;
|
|
1093
1126
|
}>, "many">>;
|
|
1094
|
-
}
|
|
1127
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
1095
1128
|
id: string;
|
|
1096
1129
|
createdAt: Date;
|
|
1097
1130
|
updatedAt: Date;
|
|
@@ -1172,11 +1205,12 @@ export declare const ticketContract: {
|
|
|
1172
1205
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
1173
1206
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
1174
1207
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
1175
|
-
attribute: z.ZodObject<Omit<{
|
|
1208
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1176
1209
|
id: z.ZodString;
|
|
1177
1210
|
createdAt: z.ZodDate;
|
|
1178
1211
|
updatedAt: z.ZodDate;
|
|
1179
1212
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1213
|
+
}, {
|
|
1180
1214
|
systemName: z.ZodString;
|
|
1181
1215
|
displayName: z.ZodString;
|
|
1182
1216
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -1185,13 +1219,14 @@ export declare const ticketContract: {
|
|
|
1185
1219
|
isArchived: z.ZodBoolean;
|
|
1186
1220
|
isRequired: z.ZodBoolean;
|
|
1187
1221
|
isUnique: z.ZodBoolean;
|
|
1188
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1189
|
-
position: z.ZodNumber;
|
|
1190
|
-
value: z.ZodString;
|
|
1222
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1191
1223
|
label: z.ZodString;
|
|
1224
|
+
value: z.ZodString;
|
|
1192
1225
|
isDefault: z.ZodBoolean;
|
|
1226
|
+
position: z.ZodNumber;
|
|
1227
|
+
}, {
|
|
1193
1228
|
id: z.ZodString;
|
|
1194
|
-
}
|
|
1229
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1195
1230
|
id: string;
|
|
1196
1231
|
position: number;
|
|
1197
1232
|
value: string;
|
|
@@ -1204,14 +1239,15 @@ export declare const ticketContract: {
|
|
|
1204
1239
|
label: string;
|
|
1205
1240
|
isDefault: boolean;
|
|
1206
1241
|
}>, "many">;
|
|
1207
|
-
group: z.ZodObject<{
|
|
1242
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
1208
1243
|
id: z.ZodString;
|
|
1209
1244
|
createdAt: z.ZodDate;
|
|
1210
1245
|
updatedAt: z.ZodDate;
|
|
1211
1246
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1247
|
+
}, {
|
|
1212
1248
|
systemName: z.ZodString;
|
|
1213
1249
|
displayName: z.ZodString;
|
|
1214
|
-
}
|
|
1250
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1215
1251
|
id: string;
|
|
1216
1252
|
createdAt: Date;
|
|
1217
1253
|
updatedAt: Date;
|
|
@@ -1226,7 +1262,7 @@ export declare const ticketContract: {
|
|
|
1226
1262
|
systemName: string;
|
|
1227
1263
|
displayName: string;
|
|
1228
1264
|
}>;
|
|
1229
|
-
}
|
|
1265
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1230
1266
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1231
1267
|
id: string;
|
|
1232
1268
|
position: number;
|
|
@@ -1253,18 +1289,19 @@ export declare const ticketContract: {
|
|
|
1253
1289
|
isRequired: boolean;
|
|
1254
1290
|
isUnique: boolean;
|
|
1255
1291
|
}>;
|
|
1256
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
1292
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1257
1293
|
id: z.ZodString;
|
|
1258
1294
|
createdAt: z.ZodDate;
|
|
1259
1295
|
updatedAt: z.ZodDate;
|
|
1260
1296
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1297
|
+
}, {
|
|
1261
1298
|
bucketName: z.ZodString;
|
|
1262
1299
|
fileName: z.ZodString;
|
|
1263
1300
|
fileSize: z.ZodNumber;
|
|
1264
1301
|
fileKey: z.ZodString;
|
|
1265
1302
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
1266
1303
|
status: z.ZodNullable<z.ZodString>;
|
|
1267
|
-
}
|
|
1304
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1268
1305
|
id: string;
|
|
1269
1306
|
status: string | null;
|
|
1270
1307
|
createdAt: Date;
|
|
@@ -2037,7 +2074,7 @@ export declare const ticketContract: {
|
|
|
2037
2074
|
entity: string;
|
|
2038
2075
|
};
|
|
2039
2076
|
}>, "many">;
|
|
2040
|
-
}
|
|
2077
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2041
2078
|
type: string;
|
|
2042
2079
|
id: string;
|
|
2043
2080
|
channel: string;
|
|
@@ -2289,7 +2326,7 @@ export declare const ticketContract: {
|
|
|
2289
2326
|
assigneeId: string;
|
|
2290
2327
|
creatorId: string;
|
|
2291
2328
|
reasonToAssign: string | null;
|
|
2292
|
-
|
|
2329
|
+
assignee?: {
|
|
2293
2330
|
name: string;
|
|
2294
2331
|
id: string;
|
|
2295
2332
|
address: string | null;
|
|
@@ -2333,7 +2370,7 @@ export declare const ticketContract: {
|
|
|
2333
2370
|
telephonySignature: string | null;
|
|
2334
2371
|
};
|
|
2335
2372
|
} | null | undefined;
|
|
2336
|
-
|
|
2373
|
+
creator?: {
|
|
2337
2374
|
name: string;
|
|
2338
2375
|
id: string;
|
|
2339
2376
|
address: string | null;
|
|
@@ -2630,7 +2667,7 @@ export declare const ticketContract: {
|
|
|
2630
2667
|
assigneeId: string;
|
|
2631
2668
|
creatorId: string;
|
|
2632
2669
|
reasonToAssign: string | null;
|
|
2633
|
-
|
|
2670
|
+
assignee?: {
|
|
2634
2671
|
name: string;
|
|
2635
2672
|
id: string;
|
|
2636
2673
|
address: string | null;
|
|
@@ -2674,7 +2711,7 @@ export declare const ticketContract: {
|
|
|
2674
2711
|
telephonySignature: string | null;
|
|
2675
2712
|
};
|
|
2676
2713
|
} | null | undefined;
|
|
2677
|
-
|
|
2714
|
+
creator?: {
|
|
2678
2715
|
name: string;
|
|
2679
2716
|
id: string;
|
|
2680
2717
|
address: string | null;
|
|
@@ -2720,7 +2757,7 @@ export declare const ticketContract: {
|
|
|
2720
2757
|
} | null | undefined;
|
|
2721
2758
|
ticketNumber?: number | undefined;
|
|
2722
2759
|
}>;
|
|
2723
|
-
}
|
|
2760
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2724
2761
|
data: {
|
|
2725
2762
|
type: string;
|
|
2726
2763
|
id: string;
|
|
@@ -2973,7 +3010,7 @@ export declare const ticketContract: {
|
|
|
2973
3010
|
assigneeId: string;
|
|
2974
3011
|
creatorId: string;
|
|
2975
3012
|
reasonToAssign: string | null;
|
|
2976
|
-
|
|
3013
|
+
assignee?: {
|
|
2977
3014
|
name: string;
|
|
2978
3015
|
id: string;
|
|
2979
3016
|
address: string | null;
|
|
@@ -3017,7 +3054,7 @@ export declare const ticketContract: {
|
|
|
3017
3054
|
telephonySignature: string | null;
|
|
3018
3055
|
};
|
|
3019
3056
|
} | null | undefined;
|
|
3020
|
-
|
|
3057
|
+
creator?: {
|
|
3021
3058
|
name: string;
|
|
3022
3059
|
id: string;
|
|
3023
3060
|
address: string | null;
|
|
@@ -3317,7 +3354,7 @@ export declare const ticketContract: {
|
|
|
3317
3354
|
assigneeId: string;
|
|
3318
3355
|
creatorId: string;
|
|
3319
3356
|
reasonToAssign: string | null;
|
|
3320
|
-
|
|
3357
|
+
assignee?: {
|
|
3321
3358
|
name: string;
|
|
3322
3359
|
id: string;
|
|
3323
3360
|
address: string | null;
|
|
@@ -3361,7 +3398,7 @@ export declare const ticketContract: {
|
|
|
3361
3398
|
telephonySignature: string | null;
|
|
3362
3399
|
};
|
|
3363
3400
|
} | null | undefined;
|
|
3364
|
-
|
|
3401
|
+
creator?: {
|
|
3365
3402
|
name: string;
|
|
3366
3403
|
id: string;
|
|
3367
3404
|
address: string | null;
|
|
@@ -3461,23 +3498,6 @@ export declare const ticketContract: {
|
|
|
3461
3498
|
error?: any;
|
|
3462
3499
|
}>;
|
|
3463
3500
|
};
|
|
3464
|
-
path: "ticket-service/ticket";
|
|
3465
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3466
|
-
'x-tenant': z.ZodString;
|
|
3467
|
-
authorization: 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
|
-
authorization: string;
|
|
3473
|
-
'x-client-timezone': string;
|
|
3474
|
-
'x-code'?: string | undefined;
|
|
3475
|
-
}, {
|
|
3476
|
-
'x-tenant': string;
|
|
3477
|
-
authorization: string;
|
|
3478
|
-
'x-code'?: string | undefined;
|
|
3479
|
-
'x-client-timezone'?: string | undefined;
|
|
3480
|
-
}>>>;
|
|
3481
3501
|
};
|
|
3482
3502
|
getAllTickets: {
|
|
3483
3503
|
summary: "Get all tickets";
|
|
@@ -3505,66 +3525,85 @@ export declare const ticketContract: {
|
|
|
3505
3525
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3506
3526
|
}, "strip", z.ZodTypeAny, {
|
|
3507
3527
|
type: string;
|
|
3508
|
-
value:
|
|
3528
|
+
value: string | string[];
|
|
3509
3529
|
attributeId: string;
|
|
3510
3530
|
}, {
|
|
3511
3531
|
type: string;
|
|
3512
|
-
value:
|
|
3532
|
+
value: string | string[];
|
|
3513
3533
|
attributeId: string;
|
|
3514
3534
|
}>, "many">>;
|
|
3515
3535
|
}, "strip", z.ZodTypeAny, {
|
|
3536
|
+
type?: string[] | undefined;
|
|
3537
|
+
channel?: string[] | undefined;
|
|
3538
|
+
priority?: string[] | undefined;
|
|
3516
3539
|
page?: number | undefined;
|
|
3517
|
-
pageSize?: number | undefined;
|
|
3518
|
-
selectedDate?: string | undefined;
|
|
3519
|
-
ticketNumber?: string | undefined;
|
|
3520
|
-
keyword?: string | undefined;
|
|
3521
3540
|
title?: string | undefined;
|
|
3522
3541
|
description?: string | undefined;
|
|
3523
3542
|
status?: string[] | undefined;
|
|
3524
|
-
|
|
3525
|
-
channel?: string[] | undefined;
|
|
3526
|
-
type?: string[] | undefined;
|
|
3527
|
-
ticketType?: string[] | undefined;
|
|
3528
|
-
contact?: string[] | undefined;
|
|
3529
|
-
tags?: string[] | undefined;
|
|
3543
|
+
pageSize?: number | undefined;
|
|
3530
3544
|
categories?: string[] | undefined;
|
|
3531
|
-
|
|
3545
|
+
contact?: string[] | undefined;
|
|
3532
3546
|
customFields?: {
|
|
3533
3547
|
type: string;
|
|
3534
|
-
value:
|
|
3548
|
+
value: string | string[];
|
|
3535
3549
|
attributeId: string;
|
|
3536
3550
|
}[] | undefined;
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3551
|
+
tags?: string[] | undefined;
|
|
3552
|
+
assignee?: string[] | undefined;
|
|
3553
|
+
keyword?: string | undefined;
|
|
3540
3554
|
selectedDate?: string | undefined;
|
|
3541
3555
|
ticketNumber?: string | undefined;
|
|
3542
|
-
|
|
3556
|
+
ticketType?: string[] | undefined;
|
|
3557
|
+
}, {
|
|
3558
|
+
type?: string[] | undefined;
|
|
3559
|
+
channel?: string[] | undefined;
|
|
3560
|
+
priority?: string[] | undefined;
|
|
3561
|
+
page?: string | undefined;
|
|
3543
3562
|
title?: string | undefined;
|
|
3544
3563
|
description?: string | undefined;
|
|
3545
3564
|
status?: string[] | undefined;
|
|
3546
|
-
|
|
3547
|
-
channel?: string[] | undefined;
|
|
3548
|
-
type?: string[] | undefined;
|
|
3549
|
-
ticketType?: string[] | undefined;
|
|
3550
|
-
contact?: string[] | undefined;
|
|
3551
|
-
tags?: string[] | undefined;
|
|
3565
|
+
pageSize?: string | undefined;
|
|
3552
3566
|
categories?: string[] | undefined;
|
|
3553
|
-
|
|
3567
|
+
contact?: string[] | undefined;
|
|
3554
3568
|
customFields?: {
|
|
3555
3569
|
type: string;
|
|
3556
|
-
value:
|
|
3570
|
+
value: string | string[];
|
|
3557
3571
|
attributeId: string;
|
|
3558
3572
|
}[] | undefined;
|
|
3573
|
+
tags?: string[] | undefined;
|
|
3574
|
+
assignee?: string[] | undefined;
|
|
3575
|
+
keyword?: string | undefined;
|
|
3576
|
+
selectedDate?: string | undefined;
|
|
3577
|
+
ticketNumber?: string | undefined;
|
|
3578
|
+
ticketType?: string[] | undefined;
|
|
3559
3579
|
}>;
|
|
3580
|
+
path: "ticket-service/ticket";
|
|
3581
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3582
|
+
'x-tenant': z.ZodString;
|
|
3583
|
+
authorization: z.ZodString;
|
|
3584
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
3585
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
3586
|
+
}, "strip", z.ZodTypeAny, {
|
|
3587
|
+
'x-tenant': string;
|
|
3588
|
+
authorization: string;
|
|
3589
|
+
'x-client-timezone': string;
|
|
3590
|
+
'x-code'?: string | undefined;
|
|
3591
|
+
}, {
|
|
3592
|
+
'x-tenant': string;
|
|
3593
|
+
authorization: string;
|
|
3594
|
+
'x-code'?: string | undefined;
|
|
3595
|
+
'x-client-timezone'?: string | undefined;
|
|
3596
|
+
}>>>;
|
|
3560
3597
|
responses: {
|
|
3561
|
-
200: z.ZodObject<{
|
|
3598
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
3562
3599
|
requestId: z.ZodString;
|
|
3563
|
-
|
|
3564
|
-
|
|
3600
|
+
}, {
|
|
3601
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
3565
3602
|
page: z.ZodDefault<z.ZodNumber>;
|
|
3566
3603
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
3604
|
+
total: z.ZodNumber;
|
|
3567
3605
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3606
|
+
}, {
|
|
3568
3607
|
data: z.ZodArray<z.ZodType<{
|
|
3569
3608
|
type: string;
|
|
3570
3609
|
id: string;
|
|
@@ -3817,7 +3856,7 @@ export declare const ticketContract: {
|
|
|
3817
3856
|
assigneeId: string;
|
|
3818
3857
|
creatorId: string;
|
|
3819
3858
|
reasonToAssign: string | null;
|
|
3820
|
-
|
|
3859
|
+
assignee?: {
|
|
3821
3860
|
name: string;
|
|
3822
3861
|
id: string;
|
|
3823
3862
|
address: string | null;
|
|
@@ -3861,7 +3900,7 @@ export declare const ticketContract: {
|
|
|
3861
3900
|
telephonySignature: string | null;
|
|
3862
3901
|
};
|
|
3863
3902
|
} | null | undefined;
|
|
3864
|
-
|
|
3903
|
+
creator?: {
|
|
3865
3904
|
name: string;
|
|
3866
3905
|
id: string;
|
|
3867
3906
|
address: string | null;
|
|
@@ -4158,7 +4197,7 @@ export declare const ticketContract: {
|
|
|
4158
4197
|
assigneeId: string;
|
|
4159
4198
|
creatorId: string;
|
|
4160
4199
|
reasonToAssign: string | null;
|
|
4161
|
-
|
|
4200
|
+
assignee?: {
|
|
4162
4201
|
name: string;
|
|
4163
4202
|
id: string;
|
|
4164
4203
|
address: string | null;
|
|
@@ -4202,7 +4241,7 @@ export declare const ticketContract: {
|
|
|
4202
4241
|
telephonySignature: string | null;
|
|
4203
4242
|
};
|
|
4204
4243
|
} | null | undefined;
|
|
4205
|
-
|
|
4244
|
+
creator?: {
|
|
4206
4245
|
name: string;
|
|
4207
4246
|
id: string;
|
|
4208
4247
|
address: string | null;
|
|
@@ -4248,7 +4287,7 @@ export declare const ticketContract: {
|
|
|
4248
4287
|
} | null | undefined;
|
|
4249
4288
|
ticketNumber?: number | undefined;
|
|
4250
4289
|
}>, "many">;
|
|
4251
|
-
}
|
|
4290
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4252
4291
|
data: {
|
|
4253
4292
|
type: string;
|
|
4254
4293
|
id: string;
|
|
@@ -4501,7 +4540,7 @@ export declare const ticketContract: {
|
|
|
4501
4540
|
assigneeId: string;
|
|
4502
4541
|
creatorId: string;
|
|
4503
4542
|
reasonToAssign: string | null;
|
|
4504
|
-
|
|
4543
|
+
assignee?: {
|
|
4505
4544
|
name: string;
|
|
4506
4545
|
id: string;
|
|
4507
4546
|
address: string | null;
|
|
@@ -4545,7 +4584,7 @@ export declare const ticketContract: {
|
|
|
4545
4584
|
telephonySignature: string | null;
|
|
4546
4585
|
};
|
|
4547
4586
|
} | null | undefined;
|
|
4548
|
-
|
|
4587
|
+
creator?: {
|
|
4549
4588
|
name: string;
|
|
4550
4589
|
id: string;
|
|
4551
4590
|
address: string | null;
|
|
@@ -4848,7 +4887,7 @@ export declare const ticketContract: {
|
|
|
4848
4887
|
assigneeId: string;
|
|
4849
4888
|
creatorId: string;
|
|
4850
4889
|
reasonToAssign: string | null;
|
|
4851
|
-
|
|
4890
|
+
assignee?: {
|
|
4852
4891
|
name: string;
|
|
4853
4892
|
id: string;
|
|
4854
4893
|
address: string | null;
|
|
@@ -4892,7 +4931,7 @@ export declare const ticketContract: {
|
|
|
4892
4931
|
telephonySignature: string | null;
|
|
4893
4932
|
};
|
|
4894
4933
|
} | null | undefined;
|
|
4895
|
-
|
|
4934
|
+
creator?: {
|
|
4896
4935
|
name: string;
|
|
4897
4936
|
id: string;
|
|
4898
4937
|
address: string | null;
|
|
@@ -4943,7 +4982,7 @@ export declare const ticketContract: {
|
|
|
4943
4982
|
pageSize?: number | undefined;
|
|
4944
4983
|
lastPage?: number | null | undefined;
|
|
4945
4984
|
}>;
|
|
4946
|
-
}
|
|
4985
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4947
4986
|
data: {
|
|
4948
4987
|
data: {
|
|
4949
4988
|
type: string;
|
|
@@ -5197,7 +5236,7 @@ export declare const ticketContract: {
|
|
|
5197
5236
|
assigneeId: string;
|
|
5198
5237
|
creatorId: string;
|
|
5199
5238
|
reasonToAssign: string | null;
|
|
5200
|
-
|
|
5239
|
+
assignee?: {
|
|
5201
5240
|
name: string;
|
|
5202
5241
|
id: string;
|
|
5203
5242
|
address: string | null;
|
|
@@ -5241,7 +5280,7 @@ export declare const ticketContract: {
|
|
|
5241
5280
|
telephonySignature: string | null;
|
|
5242
5281
|
};
|
|
5243
5282
|
} | null | undefined;
|
|
5244
|
-
|
|
5283
|
+
creator?: {
|
|
5245
5284
|
name: string;
|
|
5246
5285
|
id: string;
|
|
5247
5286
|
address: string | null;
|
|
@@ -5547,7 +5586,7 @@ export declare const ticketContract: {
|
|
|
5547
5586
|
assigneeId: string;
|
|
5548
5587
|
creatorId: string;
|
|
5549
5588
|
reasonToAssign: string | null;
|
|
5550
|
-
|
|
5589
|
+
assignee?: {
|
|
5551
5590
|
name: string;
|
|
5552
5591
|
id: string;
|
|
5553
5592
|
address: string | null;
|
|
@@ -5591,7 +5630,7 @@ export declare const ticketContract: {
|
|
|
5591
5630
|
telephonySignature: string | null;
|
|
5592
5631
|
};
|
|
5593
5632
|
} | null | undefined;
|
|
5594
|
-
|
|
5633
|
+
creator?: {
|
|
5595
5634
|
name: string;
|
|
5596
5635
|
id: string;
|
|
5597
5636
|
address: string | null;
|
|
@@ -5672,7 +5711,18 @@ export declare const ticketContract: {
|
|
|
5672
5711
|
error?: any;
|
|
5673
5712
|
}>;
|
|
5674
5713
|
};
|
|
5675
|
-
|
|
5714
|
+
};
|
|
5715
|
+
getTicketById: {
|
|
5716
|
+
summary: "Get ticket by id";
|
|
5717
|
+
method: "GET";
|
|
5718
|
+
pathParams: z.ZodObject<{
|
|
5719
|
+
id: z.ZodString;
|
|
5720
|
+
}, "strip", z.ZodTypeAny, {
|
|
5721
|
+
id: string;
|
|
5722
|
+
}, {
|
|
5723
|
+
id: string;
|
|
5724
|
+
}>;
|
|
5725
|
+
path: "ticket-service/ticket/:id";
|
|
5676
5726
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5677
5727
|
'x-tenant': z.ZodString;
|
|
5678
5728
|
authorization: z.ZodString;
|
|
@@ -5689,25 +5739,16 @@ export declare const ticketContract: {
|
|
|
5689
5739
|
'x-code'?: string | undefined;
|
|
5690
5740
|
'x-client-timezone'?: string | undefined;
|
|
5691
5741
|
}>>>;
|
|
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
5742
|
responses: {
|
|
5704
|
-
200: z.ZodObject<{
|
|
5743
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
5705
5744
|
requestId: z.ZodString;
|
|
5706
|
-
|
|
5745
|
+
}, {
|
|
5746
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
5707
5747
|
id: z.ZodString;
|
|
5708
5748
|
createdAt: z.ZodDate;
|
|
5709
5749
|
updatedAt: z.ZodDate;
|
|
5710
5750
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5751
|
+
}, {
|
|
5711
5752
|
title: z.ZodString;
|
|
5712
5753
|
description: z.ZodNullable<z.ZodString>;
|
|
5713
5754
|
type: z.ZodString;
|
|
@@ -6127,20 +6168,22 @@ export declare const ticketContract: {
|
|
|
6127
6168
|
}>>>;
|
|
6128
6169
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
6129
6170
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
6130
|
-
customFields: z.ZodArray<z.ZodObject<{
|
|
6171
|
+
customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6131
6172
|
id: z.ZodString;
|
|
6132
6173
|
createdAt: z.ZodDate;
|
|
6133
6174
|
updatedAt: z.ZodDate;
|
|
6134
6175
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6176
|
+
}, {
|
|
6135
6177
|
textValue: z.ZodNullable<z.ZodString>;
|
|
6136
6178
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
6137
6179
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
6138
6180
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
6139
|
-
attribute: z.ZodObject<Omit<{
|
|
6181
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
6140
6182
|
id: z.ZodString;
|
|
6141
6183
|
createdAt: z.ZodDate;
|
|
6142
6184
|
updatedAt: z.ZodDate;
|
|
6143
6185
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6186
|
+
}, {
|
|
6144
6187
|
systemName: z.ZodString;
|
|
6145
6188
|
displayName: z.ZodString;
|
|
6146
6189
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -6149,13 +6192,14 @@ export declare const ticketContract: {
|
|
|
6149
6192
|
isArchived: z.ZodBoolean;
|
|
6150
6193
|
isRequired: z.ZodBoolean;
|
|
6151
6194
|
isUnique: z.ZodBoolean;
|
|
6152
|
-
options: z.ZodArray<z.ZodObject<{
|
|
6153
|
-
position: z.ZodNumber;
|
|
6154
|
-
value: z.ZodString;
|
|
6195
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6155
6196
|
label: z.ZodString;
|
|
6197
|
+
value: z.ZodString;
|
|
6156
6198
|
isDefault: z.ZodBoolean;
|
|
6199
|
+
position: z.ZodNumber;
|
|
6200
|
+
}, {
|
|
6157
6201
|
id: z.ZodString;
|
|
6158
|
-
}
|
|
6202
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6159
6203
|
id: string;
|
|
6160
6204
|
position: number;
|
|
6161
6205
|
value: string;
|
|
@@ -6168,14 +6212,15 @@ export declare const ticketContract: {
|
|
|
6168
6212
|
label: string;
|
|
6169
6213
|
isDefault: boolean;
|
|
6170
6214
|
}>, "many">;
|
|
6171
|
-
group: z.ZodObject<{
|
|
6215
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
6172
6216
|
id: z.ZodString;
|
|
6173
6217
|
createdAt: z.ZodDate;
|
|
6174
6218
|
updatedAt: z.ZodDate;
|
|
6175
6219
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6220
|
+
}, {
|
|
6176
6221
|
systemName: z.ZodString;
|
|
6177
6222
|
displayName: z.ZodString;
|
|
6178
|
-
}
|
|
6223
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6179
6224
|
id: string;
|
|
6180
6225
|
createdAt: Date;
|
|
6181
6226
|
updatedAt: Date;
|
|
@@ -6190,7 +6235,7 @@ export declare const ticketContract: {
|
|
|
6190
6235
|
systemName: string;
|
|
6191
6236
|
displayName: string;
|
|
6192
6237
|
}>;
|
|
6193
|
-
}
|
|
6238
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
6194
6239
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
6195
6240
|
id: string;
|
|
6196
6241
|
position: number;
|
|
@@ -6217,18 +6262,19 @@ export declare const ticketContract: {
|
|
|
6217
6262
|
isRequired: boolean;
|
|
6218
6263
|
isUnique: boolean;
|
|
6219
6264
|
}>;
|
|
6220
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
6265
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6221
6266
|
id: z.ZodString;
|
|
6222
6267
|
createdAt: z.ZodDate;
|
|
6223
6268
|
updatedAt: z.ZodDate;
|
|
6224
6269
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6270
|
+
}, {
|
|
6225
6271
|
bucketName: z.ZodString;
|
|
6226
6272
|
fileName: z.ZodString;
|
|
6227
6273
|
fileSize: z.ZodNumber;
|
|
6228
6274
|
fileKey: z.ZodString;
|
|
6229
6275
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
6230
6276
|
status: z.ZodNullable<z.ZodString>;
|
|
6231
|
-
}
|
|
6277
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6232
6278
|
id: string;
|
|
6233
6279
|
status: string | null;
|
|
6234
6280
|
createdAt: Date;
|
|
@@ -6251,7 +6297,7 @@ export declare const ticketContract: {
|
|
|
6251
6297
|
fileSize: number;
|
|
6252
6298
|
fileUrl: string | null;
|
|
6253
6299
|
}>, "many">;
|
|
6254
|
-
}
|
|
6300
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6255
6301
|
id: string;
|
|
6256
6302
|
createdAt: Date;
|
|
6257
6303
|
updatedAt: Date;
|
|
@@ -6322,13 +6368,14 @@ export declare const ticketContract: {
|
|
|
6322
6368
|
fileUrl: string | null;
|
|
6323
6369
|
}[];
|
|
6324
6370
|
}>, "many">;
|
|
6325
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
6371
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6326
6372
|
id: z.ZodString;
|
|
6327
6373
|
createdAt: z.ZodDate;
|
|
6328
6374
|
updatedAt: z.ZodDate;
|
|
6329
6375
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6376
|
+
}, {
|
|
6330
6377
|
name: z.ZodString;
|
|
6331
|
-
}
|
|
6378
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6332
6379
|
name: string;
|
|
6333
6380
|
id: string;
|
|
6334
6381
|
createdAt: Date;
|
|
@@ -6341,11 +6388,12 @@ export declare const ticketContract: {
|
|
|
6341
6388
|
updatedAt: Date;
|
|
6342
6389
|
deletedAt: Date | null;
|
|
6343
6390
|
}>, "many">;
|
|
6344
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
6391
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6345
6392
|
id: z.ZodString;
|
|
6346
6393
|
createdAt: z.ZodDate;
|
|
6347
6394
|
updatedAt: z.ZodDate;
|
|
6348
6395
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6396
|
+
}, {
|
|
6349
6397
|
value: z.ZodString;
|
|
6350
6398
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
6351
6399
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -6398,7 +6446,7 @@ export declare const ticketContract: {
|
|
|
6398
6446
|
childCategoryList: any[];
|
|
6399
6447
|
}[];
|
|
6400
6448
|
}>, "many">;
|
|
6401
|
-
}
|
|
6449
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6402
6450
|
id: string;
|
|
6403
6451
|
value: string;
|
|
6404
6452
|
createdAt: Date;
|
|
@@ -6452,13 +6500,14 @@ export declare const ticketContract: {
|
|
|
6452
6500
|
notes: z.ZodNullable<z.ZodString>;
|
|
6453
6501
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
6454
6502
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
6455
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
6503
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6456
6504
|
id: z.ZodString;
|
|
6457
6505
|
createdAt: z.ZodDate;
|
|
6458
6506
|
updatedAt: z.ZodDate;
|
|
6459
6507
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6508
|
+
}, {
|
|
6460
6509
|
name: z.ZodString;
|
|
6461
|
-
}
|
|
6510
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6462
6511
|
name: string;
|
|
6463
6512
|
id: string;
|
|
6464
6513
|
createdAt: Date;
|
|
@@ -6471,29 +6520,32 @@ export declare const ticketContract: {
|
|
|
6471
6520
|
updatedAt: Date;
|
|
6472
6521
|
deletedAt: Date | null;
|
|
6473
6522
|
}>, "many">;
|
|
6474
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
6523
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
6475
6524
|
id: z.ZodString;
|
|
6476
6525
|
createdAt: z.ZodDate;
|
|
6477
6526
|
updatedAt: z.ZodDate;
|
|
6478
6527
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6528
|
+
}, {
|
|
6479
6529
|
name: z.ZodOptional<z.ZodString>;
|
|
6480
6530
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6481
6531
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6482
6532
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6483
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6533
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6484
6534
|
id: z.ZodString;
|
|
6485
6535
|
createdAt: z.ZodDate;
|
|
6486
6536
|
updatedAt: z.ZodDate;
|
|
6487
6537
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6538
|
+
}, {
|
|
6488
6539
|
textValue: z.ZodNullable<z.ZodString>;
|
|
6489
6540
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
6490
6541
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
6491
6542
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
6492
|
-
attribute: z.ZodObject<Omit<{
|
|
6543
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
6493
6544
|
id: z.ZodString;
|
|
6494
6545
|
createdAt: z.ZodDate;
|
|
6495
6546
|
updatedAt: z.ZodDate;
|
|
6496
6547
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6548
|
+
}, {
|
|
6497
6549
|
systemName: z.ZodString;
|
|
6498
6550
|
displayName: z.ZodString;
|
|
6499
6551
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -6502,13 +6554,14 @@ export declare const ticketContract: {
|
|
|
6502
6554
|
isArchived: z.ZodBoolean;
|
|
6503
6555
|
isRequired: z.ZodBoolean;
|
|
6504
6556
|
isUnique: z.ZodBoolean;
|
|
6505
|
-
options: z.ZodArray<z.ZodObject<{
|
|
6506
|
-
position: z.ZodNumber;
|
|
6507
|
-
value: z.ZodString;
|
|
6557
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6508
6558
|
label: z.ZodString;
|
|
6559
|
+
value: z.ZodString;
|
|
6509
6560
|
isDefault: z.ZodBoolean;
|
|
6561
|
+
position: z.ZodNumber;
|
|
6562
|
+
}, {
|
|
6510
6563
|
id: z.ZodString;
|
|
6511
|
-
}
|
|
6564
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6512
6565
|
id: string;
|
|
6513
6566
|
position: number;
|
|
6514
6567
|
value: string;
|
|
@@ -6521,14 +6574,15 @@ export declare const ticketContract: {
|
|
|
6521
6574
|
label: string;
|
|
6522
6575
|
isDefault: boolean;
|
|
6523
6576
|
}>, "many">;
|
|
6524
|
-
group: z.ZodObject<{
|
|
6577
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
6525
6578
|
id: z.ZodString;
|
|
6526
6579
|
createdAt: z.ZodDate;
|
|
6527
6580
|
updatedAt: z.ZodDate;
|
|
6528
6581
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6582
|
+
}, {
|
|
6529
6583
|
systemName: z.ZodString;
|
|
6530
6584
|
displayName: z.ZodString;
|
|
6531
|
-
}
|
|
6585
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6532
6586
|
id: string;
|
|
6533
6587
|
createdAt: Date;
|
|
6534
6588
|
updatedAt: Date;
|
|
@@ -6543,7 +6597,7 @@ export declare const ticketContract: {
|
|
|
6543
6597
|
systemName: string;
|
|
6544
6598
|
displayName: string;
|
|
6545
6599
|
}>;
|
|
6546
|
-
}
|
|
6600
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
6547
6601
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
6548
6602
|
id: string;
|
|
6549
6603
|
position: number;
|
|
@@ -6570,7 +6624,7 @@ export declare const ticketContract: {
|
|
|
6570
6624
|
isRequired: boolean;
|
|
6571
6625
|
isUnique: boolean;
|
|
6572
6626
|
}>;
|
|
6573
|
-
}
|
|
6627
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6574
6628
|
id: string;
|
|
6575
6629
|
createdAt: Date;
|
|
6576
6630
|
updatedAt: Date;
|
|
@@ -6617,7 +6671,7 @@ export declare const ticketContract: {
|
|
|
6617
6671
|
numberValue: number | null;
|
|
6618
6672
|
dateValue: Date | null;
|
|
6619
6673
|
}>, "many">>;
|
|
6620
|
-
}
|
|
6674
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
6621
6675
|
id: string;
|
|
6622
6676
|
createdAt: Date;
|
|
6623
6677
|
updatedAt: Date;
|
|
@@ -6698,11 +6752,12 @@ export declare const ticketContract: {
|
|
|
6698
6752
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
6699
6753
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
6700
6754
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
6701
|
-
attribute: z.ZodObject<Omit<{
|
|
6755
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
6702
6756
|
id: z.ZodString;
|
|
6703
6757
|
createdAt: z.ZodDate;
|
|
6704
6758
|
updatedAt: z.ZodDate;
|
|
6705
6759
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6760
|
+
}, {
|
|
6706
6761
|
systemName: z.ZodString;
|
|
6707
6762
|
displayName: z.ZodString;
|
|
6708
6763
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -6711,13 +6766,14 @@ export declare const ticketContract: {
|
|
|
6711
6766
|
isArchived: z.ZodBoolean;
|
|
6712
6767
|
isRequired: z.ZodBoolean;
|
|
6713
6768
|
isUnique: z.ZodBoolean;
|
|
6714
|
-
options: z.ZodArray<z.ZodObject<{
|
|
6715
|
-
position: z.ZodNumber;
|
|
6716
|
-
value: z.ZodString;
|
|
6769
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6717
6770
|
label: z.ZodString;
|
|
6771
|
+
value: z.ZodString;
|
|
6718
6772
|
isDefault: z.ZodBoolean;
|
|
6773
|
+
position: z.ZodNumber;
|
|
6774
|
+
}, {
|
|
6719
6775
|
id: z.ZodString;
|
|
6720
|
-
}
|
|
6776
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6721
6777
|
id: string;
|
|
6722
6778
|
position: number;
|
|
6723
6779
|
value: string;
|
|
@@ -6730,14 +6786,15 @@ export declare const ticketContract: {
|
|
|
6730
6786
|
label: string;
|
|
6731
6787
|
isDefault: boolean;
|
|
6732
6788
|
}>, "many">;
|
|
6733
|
-
group: z.ZodObject<{
|
|
6789
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
6734
6790
|
id: z.ZodString;
|
|
6735
6791
|
createdAt: z.ZodDate;
|
|
6736
6792
|
updatedAt: z.ZodDate;
|
|
6737
6793
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6794
|
+
}, {
|
|
6738
6795
|
systemName: z.ZodString;
|
|
6739
6796
|
displayName: z.ZodString;
|
|
6740
|
-
}
|
|
6797
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6741
6798
|
id: string;
|
|
6742
6799
|
createdAt: Date;
|
|
6743
6800
|
updatedAt: Date;
|
|
@@ -6752,7 +6809,7 @@ export declare const ticketContract: {
|
|
|
6752
6809
|
systemName: string;
|
|
6753
6810
|
displayName: string;
|
|
6754
6811
|
}>;
|
|
6755
|
-
}
|
|
6812
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
6756
6813
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
6757
6814
|
id: string;
|
|
6758
6815
|
position: number;
|
|
@@ -6779,18 +6836,19 @@ export declare const ticketContract: {
|
|
|
6779
6836
|
isRequired: boolean;
|
|
6780
6837
|
isUnique: boolean;
|
|
6781
6838
|
}>;
|
|
6782
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
6839
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
6783
6840
|
id: z.ZodString;
|
|
6784
6841
|
createdAt: z.ZodDate;
|
|
6785
6842
|
updatedAt: z.ZodDate;
|
|
6786
6843
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6844
|
+
}, {
|
|
6787
6845
|
bucketName: z.ZodString;
|
|
6788
6846
|
fileName: z.ZodString;
|
|
6789
6847
|
fileSize: z.ZodNumber;
|
|
6790
6848
|
fileKey: z.ZodString;
|
|
6791
6849
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
6792
6850
|
status: z.ZodNullable<z.ZodString>;
|
|
6793
|
-
}
|
|
6851
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6794
6852
|
id: string;
|
|
6795
6853
|
status: string | null;
|
|
6796
6854
|
createdAt: Date;
|
|
@@ -7563,7 +7621,7 @@ export declare const ticketContract: {
|
|
|
7563
7621
|
entity: string;
|
|
7564
7622
|
};
|
|
7565
7623
|
}>, "many">;
|
|
7566
|
-
}
|
|
7624
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7567
7625
|
type: string;
|
|
7568
7626
|
id: string;
|
|
7569
7627
|
channel: string;
|
|
@@ -7815,7 +7873,7 @@ export declare const ticketContract: {
|
|
|
7815
7873
|
assigneeId: string;
|
|
7816
7874
|
creatorId: string;
|
|
7817
7875
|
reasonToAssign: string | null;
|
|
7818
|
-
|
|
7876
|
+
assignee?: {
|
|
7819
7877
|
name: string;
|
|
7820
7878
|
id: string;
|
|
7821
7879
|
address: string | null;
|
|
@@ -7859,7 +7917,7 @@ export declare const ticketContract: {
|
|
|
7859
7917
|
telephonySignature: string | null;
|
|
7860
7918
|
};
|
|
7861
7919
|
} | null | undefined;
|
|
7862
|
-
|
|
7920
|
+
creator?: {
|
|
7863
7921
|
name: string;
|
|
7864
7922
|
id: string;
|
|
7865
7923
|
address: string | null;
|
|
@@ -8156,7 +8214,7 @@ export declare const ticketContract: {
|
|
|
8156
8214
|
assigneeId: string;
|
|
8157
8215
|
creatorId: string;
|
|
8158
8216
|
reasonToAssign: string | null;
|
|
8159
|
-
|
|
8217
|
+
assignee?: {
|
|
8160
8218
|
name: string;
|
|
8161
8219
|
id: string;
|
|
8162
8220
|
address: string | null;
|
|
@@ -8200,7 +8258,7 @@ export declare const ticketContract: {
|
|
|
8200
8258
|
telephonySignature: string | null;
|
|
8201
8259
|
};
|
|
8202
8260
|
} | null | undefined;
|
|
8203
|
-
|
|
8261
|
+
creator?: {
|
|
8204
8262
|
name: string;
|
|
8205
8263
|
id: string;
|
|
8206
8264
|
address: string | null;
|
|
@@ -8246,7 +8304,7 @@ export declare const ticketContract: {
|
|
|
8246
8304
|
} | null | undefined;
|
|
8247
8305
|
ticketNumber?: number | undefined;
|
|
8248
8306
|
}>;
|
|
8249
|
-
}
|
|
8307
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8250
8308
|
data: {
|
|
8251
8309
|
type: string;
|
|
8252
8310
|
id: string;
|
|
@@ -8499,7 +8557,7 @@ export declare const ticketContract: {
|
|
|
8499
8557
|
assigneeId: string;
|
|
8500
8558
|
creatorId: string;
|
|
8501
8559
|
reasonToAssign: string | null;
|
|
8502
|
-
|
|
8560
|
+
assignee?: {
|
|
8503
8561
|
name: string;
|
|
8504
8562
|
id: string;
|
|
8505
8563
|
address: string | null;
|
|
@@ -8543,7 +8601,7 @@ export declare const ticketContract: {
|
|
|
8543
8601
|
telephonySignature: string | null;
|
|
8544
8602
|
};
|
|
8545
8603
|
} | null | undefined;
|
|
8546
|
-
|
|
8604
|
+
creator?: {
|
|
8547
8605
|
name: string;
|
|
8548
8606
|
id: string;
|
|
8549
8607
|
address: string | null;
|
|
@@ -8843,7 +8901,7 @@ export declare const ticketContract: {
|
|
|
8843
8901
|
assigneeId: string;
|
|
8844
8902
|
creatorId: string;
|
|
8845
8903
|
reasonToAssign: string | null;
|
|
8846
|
-
|
|
8904
|
+
assignee?: {
|
|
8847
8905
|
name: string;
|
|
8848
8906
|
id: string;
|
|
8849
8907
|
address: string | null;
|
|
@@ -8887,7 +8945,7 @@ export declare const ticketContract: {
|
|
|
8887
8945
|
telephonySignature: string | null;
|
|
8888
8946
|
};
|
|
8889
8947
|
} | null | undefined;
|
|
8890
|
-
|
|
8948
|
+
creator?: {
|
|
8891
8949
|
name: string;
|
|
8892
8950
|
id: string;
|
|
8893
8951
|
address: string | null;
|
|
@@ -8963,23 +9021,6 @@ export declare const ticketContract: {
|
|
|
8963
9021
|
error?: any;
|
|
8964
9022
|
}>;
|
|
8965
9023
|
};
|
|
8966
|
-
path: "ticket-service/ticket/:id";
|
|
8967
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8968
|
-
'x-tenant': z.ZodString;
|
|
8969
|
-
authorization: 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
|
-
authorization: string;
|
|
8975
|
-
'x-client-timezone': string;
|
|
8976
|
-
'x-code'?: string | undefined;
|
|
8977
|
-
}, {
|
|
8978
|
-
'x-tenant': string;
|
|
8979
|
-
authorization: string;
|
|
8980
|
-
'x-code'?: string | undefined;
|
|
8981
|
-
'x-client-timezone'?: string | undefined;
|
|
8982
|
-
}>>>;
|
|
8983
9024
|
};
|
|
8984
9025
|
getTicketByContactId: {
|
|
8985
9026
|
summary: "Get ticket by contact id.";
|
|
@@ -9001,14 +9042,33 @@ export declare const ticketContract: {
|
|
|
9001
9042
|
page?: number | undefined;
|
|
9002
9043
|
pageSize?: number | undefined;
|
|
9003
9044
|
}>;
|
|
9045
|
+
path: "ticket-service/ticket/contact/:id";
|
|
9046
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9047
|
+
'x-tenant': z.ZodString;
|
|
9048
|
+
authorization: z.ZodString;
|
|
9049
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
9050
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
9051
|
+
}, "strip", z.ZodTypeAny, {
|
|
9052
|
+
'x-tenant': string;
|
|
9053
|
+
authorization: string;
|
|
9054
|
+
'x-client-timezone': string;
|
|
9055
|
+
'x-code'?: string | undefined;
|
|
9056
|
+
}, {
|
|
9057
|
+
'x-tenant': string;
|
|
9058
|
+
authorization: string;
|
|
9059
|
+
'x-code'?: string | undefined;
|
|
9060
|
+
'x-client-timezone'?: string | undefined;
|
|
9061
|
+
}>>>;
|
|
9004
9062
|
responses: {
|
|
9005
|
-
200: z.ZodObject<{
|
|
9063
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
9006
9064
|
requestId: z.ZodString;
|
|
9007
|
-
|
|
9008
|
-
|
|
9065
|
+
}, {
|
|
9066
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
9009
9067
|
page: z.ZodDefault<z.ZodNumber>;
|
|
9010
9068
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
9069
|
+
total: z.ZodNumber;
|
|
9011
9070
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9071
|
+
}, {
|
|
9012
9072
|
data: z.ZodArray<z.ZodType<{
|
|
9013
9073
|
type: string;
|
|
9014
9074
|
id: string;
|
|
@@ -9261,7 +9321,7 @@ export declare const ticketContract: {
|
|
|
9261
9321
|
assigneeId: string;
|
|
9262
9322
|
creatorId: string;
|
|
9263
9323
|
reasonToAssign: string | null;
|
|
9264
|
-
|
|
9324
|
+
assignee?: {
|
|
9265
9325
|
name: string;
|
|
9266
9326
|
id: string;
|
|
9267
9327
|
address: string | null;
|
|
@@ -9305,7 +9365,7 @@ export declare const ticketContract: {
|
|
|
9305
9365
|
telephonySignature: string | null;
|
|
9306
9366
|
};
|
|
9307
9367
|
} | null | undefined;
|
|
9308
|
-
|
|
9368
|
+
creator?: {
|
|
9309
9369
|
name: string;
|
|
9310
9370
|
id: string;
|
|
9311
9371
|
address: string | null;
|
|
@@ -9602,7 +9662,7 @@ export declare const ticketContract: {
|
|
|
9602
9662
|
assigneeId: string;
|
|
9603
9663
|
creatorId: string;
|
|
9604
9664
|
reasonToAssign: string | null;
|
|
9605
|
-
|
|
9665
|
+
assignee?: {
|
|
9606
9666
|
name: string;
|
|
9607
9667
|
id: string;
|
|
9608
9668
|
address: string | null;
|
|
@@ -9646,7 +9706,7 @@ export declare const ticketContract: {
|
|
|
9646
9706
|
telephonySignature: string | null;
|
|
9647
9707
|
};
|
|
9648
9708
|
} | null | undefined;
|
|
9649
|
-
|
|
9709
|
+
creator?: {
|
|
9650
9710
|
name: string;
|
|
9651
9711
|
id: string;
|
|
9652
9712
|
address: string | null;
|
|
@@ -9692,7 +9752,7 @@ export declare const ticketContract: {
|
|
|
9692
9752
|
} | null | undefined;
|
|
9693
9753
|
ticketNumber?: number | undefined;
|
|
9694
9754
|
}>, "many">;
|
|
9695
|
-
}
|
|
9755
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9696
9756
|
data: {
|
|
9697
9757
|
type: string;
|
|
9698
9758
|
id: string;
|
|
@@ -9945,7 +10005,7 @@ export declare const ticketContract: {
|
|
|
9945
10005
|
assigneeId: string;
|
|
9946
10006
|
creatorId: string;
|
|
9947
10007
|
reasonToAssign: string | null;
|
|
9948
|
-
|
|
10008
|
+
assignee?: {
|
|
9949
10009
|
name: string;
|
|
9950
10010
|
id: string;
|
|
9951
10011
|
address: string | null;
|
|
@@ -9989,7 +10049,7 @@ export declare const ticketContract: {
|
|
|
9989
10049
|
telephonySignature: string | null;
|
|
9990
10050
|
};
|
|
9991
10051
|
} | null | undefined;
|
|
9992
|
-
|
|
10052
|
+
creator?: {
|
|
9993
10053
|
name: string;
|
|
9994
10054
|
id: string;
|
|
9995
10055
|
address: string | null;
|
|
@@ -10292,7 +10352,7 @@ export declare const ticketContract: {
|
|
|
10292
10352
|
assigneeId: string;
|
|
10293
10353
|
creatorId: string;
|
|
10294
10354
|
reasonToAssign: string | null;
|
|
10295
|
-
|
|
10355
|
+
assignee?: {
|
|
10296
10356
|
name: string;
|
|
10297
10357
|
id: string;
|
|
10298
10358
|
address: string | null;
|
|
@@ -10336,7 +10396,7 @@ export declare const ticketContract: {
|
|
|
10336
10396
|
telephonySignature: string | null;
|
|
10337
10397
|
};
|
|
10338
10398
|
} | null | undefined;
|
|
10339
|
-
|
|
10399
|
+
creator?: {
|
|
10340
10400
|
name: string;
|
|
10341
10401
|
id: string;
|
|
10342
10402
|
address: string | null;
|
|
@@ -10387,7 +10447,7 @@ export declare const ticketContract: {
|
|
|
10387
10447
|
pageSize?: number | undefined;
|
|
10388
10448
|
lastPage?: number | null | undefined;
|
|
10389
10449
|
}>;
|
|
10390
|
-
}
|
|
10450
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10391
10451
|
data: {
|
|
10392
10452
|
data: {
|
|
10393
10453
|
type: string;
|
|
@@ -10641,7 +10701,7 @@ export declare const ticketContract: {
|
|
|
10641
10701
|
assigneeId: string;
|
|
10642
10702
|
creatorId: string;
|
|
10643
10703
|
reasonToAssign: string | null;
|
|
10644
|
-
|
|
10704
|
+
assignee?: {
|
|
10645
10705
|
name: string;
|
|
10646
10706
|
id: string;
|
|
10647
10707
|
address: string | null;
|
|
@@ -10685,7 +10745,7 @@ export declare const ticketContract: {
|
|
|
10685
10745
|
telephonySignature: string | null;
|
|
10686
10746
|
};
|
|
10687
10747
|
} | null | undefined;
|
|
10688
|
-
|
|
10748
|
+
creator?: {
|
|
10689
10749
|
name: string;
|
|
10690
10750
|
id: string;
|
|
10691
10751
|
address: string | null;
|
|
@@ -10991,7 +11051,7 @@ export declare const ticketContract: {
|
|
|
10991
11051
|
assigneeId: string;
|
|
10992
11052
|
creatorId: string;
|
|
10993
11053
|
reasonToAssign: string | null;
|
|
10994
|
-
|
|
11054
|
+
assignee?: {
|
|
10995
11055
|
name: string;
|
|
10996
11056
|
id: string;
|
|
10997
11057
|
address: string | null;
|
|
@@ -11035,7 +11095,7 @@ export declare const ticketContract: {
|
|
|
11035
11095
|
telephonySignature: string | null;
|
|
11036
11096
|
};
|
|
11037
11097
|
} | null | undefined;
|
|
11038
|
-
|
|
11098
|
+
creator?: {
|
|
11039
11099
|
name: string;
|
|
11040
11100
|
id: string;
|
|
11041
11101
|
address: string | null;
|
|
@@ -11116,23 +11176,6 @@ export declare const ticketContract: {
|
|
|
11116
11176
|
error?: any;
|
|
11117
11177
|
}>;
|
|
11118
11178
|
};
|
|
11119
|
-
path: "ticket-service/ticket/contact/:id";
|
|
11120
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11121
|
-
'x-tenant': z.ZodString;
|
|
11122
|
-
authorization: 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
|
-
authorization: string;
|
|
11128
|
-
'x-client-timezone': string;
|
|
11129
|
-
'x-code'?: string | undefined;
|
|
11130
|
-
}, {
|
|
11131
|
-
'x-tenant': string;
|
|
11132
|
-
authorization: string;
|
|
11133
|
-
'x-code'?: string | undefined;
|
|
11134
|
-
'x-client-timezone'?: string | undefined;
|
|
11135
|
-
}>>>;
|
|
11136
11179
|
};
|
|
11137
11180
|
updateTicket: {
|
|
11138
11181
|
body: z.ZodObject<{
|
|
@@ -11189,11 +11232,12 @@ export declare const ticketContract: {
|
|
|
11189
11232
|
}, {
|
|
11190
11233
|
[x: string]: any;
|
|
11191
11234
|
}>;
|
|
11192
|
-
categories: z.ZodObject<{
|
|
11235
|
+
categories: z.ZodObject<z.objectUtil.extendShape<{
|
|
11193
11236
|
isRequired: z.ZodBoolean;
|
|
11194
11237
|
attributeId: z.ZodString;
|
|
11238
|
+
}, {
|
|
11195
11239
|
value: z.ZodArray<z.ZodString, "many">;
|
|
11196
|
-
}
|
|
11240
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11197
11241
|
value: string[];
|
|
11198
11242
|
isRequired: boolean;
|
|
11199
11243
|
attributeId: string;
|
|
@@ -11306,14 +11350,33 @@ export declare const ticketContract: {
|
|
|
11306
11350
|
}, {
|
|
11307
11351
|
id: string;
|
|
11308
11352
|
}>;
|
|
11353
|
+
path: "ticket-service/ticket/:id";
|
|
11354
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11355
|
+
'x-tenant': z.ZodString;
|
|
11356
|
+
authorization: z.ZodString;
|
|
11357
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
11358
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
11359
|
+
}, "strip", z.ZodTypeAny, {
|
|
11360
|
+
'x-tenant': string;
|
|
11361
|
+
authorization: string;
|
|
11362
|
+
'x-client-timezone': string;
|
|
11363
|
+
'x-code'?: string | undefined;
|
|
11364
|
+
}, {
|
|
11365
|
+
'x-tenant': string;
|
|
11366
|
+
authorization: string;
|
|
11367
|
+
'x-code'?: string | undefined;
|
|
11368
|
+
'x-client-timezone'?: string | undefined;
|
|
11369
|
+
}>>>;
|
|
11309
11370
|
responses: {
|
|
11310
|
-
201: z.ZodObject<{
|
|
11371
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
11311
11372
|
requestId: z.ZodString;
|
|
11312
|
-
|
|
11373
|
+
}, {
|
|
11374
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
11313
11375
|
id: z.ZodString;
|
|
11314
11376
|
createdAt: z.ZodDate;
|
|
11315
11377
|
updatedAt: z.ZodDate;
|
|
11316
11378
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11379
|
+
}, {
|
|
11317
11380
|
title: z.ZodString;
|
|
11318
11381
|
description: z.ZodNullable<z.ZodString>;
|
|
11319
11382
|
type: z.ZodString;
|
|
@@ -11733,20 +11796,22 @@ export declare const ticketContract: {
|
|
|
11733
11796
|
}>>>;
|
|
11734
11797
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
11735
11798
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
11736
|
-
customFields: z.ZodArray<z.ZodObject<{
|
|
11799
|
+
customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
11737
11800
|
id: z.ZodString;
|
|
11738
11801
|
createdAt: z.ZodDate;
|
|
11739
11802
|
updatedAt: z.ZodDate;
|
|
11740
11803
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11804
|
+
}, {
|
|
11741
11805
|
textValue: z.ZodNullable<z.ZodString>;
|
|
11742
11806
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
11743
11807
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
11744
11808
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
11745
|
-
attribute: z.ZodObject<Omit<{
|
|
11809
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
11746
11810
|
id: z.ZodString;
|
|
11747
11811
|
createdAt: z.ZodDate;
|
|
11748
11812
|
updatedAt: z.ZodDate;
|
|
11749
11813
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11814
|
+
}, {
|
|
11750
11815
|
systemName: z.ZodString;
|
|
11751
11816
|
displayName: z.ZodString;
|
|
11752
11817
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -11755,13 +11820,14 @@ export declare const ticketContract: {
|
|
|
11755
11820
|
isArchived: z.ZodBoolean;
|
|
11756
11821
|
isRequired: z.ZodBoolean;
|
|
11757
11822
|
isUnique: z.ZodBoolean;
|
|
11758
|
-
options: z.ZodArray<z.ZodObject<{
|
|
11759
|
-
position: z.ZodNumber;
|
|
11760
|
-
value: z.ZodString;
|
|
11823
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
11761
11824
|
label: z.ZodString;
|
|
11825
|
+
value: z.ZodString;
|
|
11762
11826
|
isDefault: z.ZodBoolean;
|
|
11827
|
+
position: z.ZodNumber;
|
|
11828
|
+
}, {
|
|
11763
11829
|
id: z.ZodString;
|
|
11764
|
-
}
|
|
11830
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11765
11831
|
id: string;
|
|
11766
11832
|
position: number;
|
|
11767
11833
|
value: string;
|
|
@@ -11774,14 +11840,15 @@ export declare const ticketContract: {
|
|
|
11774
11840
|
label: string;
|
|
11775
11841
|
isDefault: boolean;
|
|
11776
11842
|
}>, "many">;
|
|
11777
|
-
group: z.ZodObject<{
|
|
11843
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
11778
11844
|
id: z.ZodString;
|
|
11779
11845
|
createdAt: z.ZodDate;
|
|
11780
11846
|
updatedAt: z.ZodDate;
|
|
11781
11847
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11848
|
+
}, {
|
|
11782
11849
|
systemName: z.ZodString;
|
|
11783
11850
|
displayName: z.ZodString;
|
|
11784
|
-
}
|
|
11851
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11785
11852
|
id: string;
|
|
11786
11853
|
createdAt: Date;
|
|
11787
11854
|
updatedAt: Date;
|
|
@@ -11796,7 +11863,7 @@ export declare const ticketContract: {
|
|
|
11796
11863
|
systemName: string;
|
|
11797
11864
|
displayName: string;
|
|
11798
11865
|
}>;
|
|
11799
|
-
}
|
|
11866
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
11800
11867
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
11801
11868
|
id: string;
|
|
11802
11869
|
position: number;
|
|
@@ -11823,18 +11890,19 @@ export declare const ticketContract: {
|
|
|
11823
11890
|
isRequired: boolean;
|
|
11824
11891
|
isUnique: boolean;
|
|
11825
11892
|
}>;
|
|
11826
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
11893
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
11827
11894
|
id: z.ZodString;
|
|
11828
11895
|
createdAt: z.ZodDate;
|
|
11829
11896
|
updatedAt: z.ZodDate;
|
|
11830
11897
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
11898
|
+
}, {
|
|
11831
11899
|
bucketName: z.ZodString;
|
|
11832
11900
|
fileName: z.ZodString;
|
|
11833
11901
|
fileSize: z.ZodNumber;
|
|
11834
11902
|
fileKey: z.ZodString;
|
|
11835
11903
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
11836
11904
|
status: z.ZodNullable<z.ZodString>;
|
|
11837
|
-
}
|
|
11905
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11838
11906
|
id: string;
|
|
11839
11907
|
status: string | null;
|
|
11840
11908
|
createdAt: Date;
|
|
@@ -11857,7 +11925,7 @@ export declare const ticketContract: {
|
|
|
11857
11925
|
fileSize: number;
|
|
11858
11926
|
fileUrl: string | null;
|
|
11859
11927
|
}>, "many">;
|
|
11860
|
-
}
|
|
11928
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11861
11929
|
id: string;
|
|
11862
11930
|
createdAt: Date;
|
|
11863
11931
|
updatedAt: Date;
|
|
@@ -11928,13 +11996,14 @@ export declare const ticketContract: {
|
|
|
11928
11996
|
fileUrl: string | null;
|
|
11929
11997
|
}[];
|
|
11930
11998
|
}>, "many">;
|
|
11931
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
11999
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
11932
12000
|
id: z.ZodString;
|
|
11933
12001
|
createdAt: z.ZodDate;
|
|
11934
12002
|
updatedAt: z.ZodDate;
|
|
11935
12003
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12004
|
+
}, {
|
|
11936
12005
|
name: z.ZodString;
|
|
11937
|
-
}
|
|
12006
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11938
12007
|
name: string;
|
|
11939
12008
|
id: string;
|
|
11940
12009
|
createdAt: Date;
|
|
@@ -11947,11 +12016,12 @@ export declare const ticketContract: {
|
|
|
11947
12016
|
updatedAt: Date;
|
|
11948
12017
|
deletedAt: Date | null;
|
|
11949
12018
|
}>, "many">;
|
|
11950
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
12019
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
11951
12020
|
id: z.ZodString;
|
|
11952
12021
|
createdAt: z.ZodDate;
|
|
11953
12022
|
updatedAt: z.ZodDate;
|
|
11954
12023
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12024
|
+
}, {
|
|
11955
12025
|
value: z.ZodString;
|
|
11956
12026
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
11957
12027
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -12004,7 +12074,7 @@ export declare const ticketContract: {
|
|
|
12004
12074
|
childCategoryList: any[];
|
|
12005
12075
|
}[];
|
|
12006
12076
|
}>, "many">;
|
|
12007
|
-
}
|
|
12077
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12008
12078
|
id: string;
|
|
12009
12079
|
value: string;
|
|
12010
12080
|
createdAt: Date;
|
|
@@ -12058,13 +12128,14 @@ export declare const ticketContract: {
|
|
|
12058
12128
|
notes: z.ZodNullable<z.ZodString>;
|
|
12059
12129
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
12060
12130
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
12061
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
12131
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
12062
12132
|
id: z.ZodString;
|
|
12063
12133
|
createdAt: z.ZodDate;
|
|
12064
12134
|
updatedAt: z.ZodDate;
|
|
12065
12135
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12136
|
+
}, {
|
|
12066
12137
|
name: z.ZodString;
|
|
12067
|
-
}
|
|
12138
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12068
12139
|
name: string;
|
|
12069
12140
|
id: string;
|
|
12070
12141
|
createdAt: Date;
|
|
@@ -12077,29 +12148,32 @@ export declare const ticketContract: {
|
|
|
12077
12148
|
updatedAt: Date;
|
|
12078
12149
|
deletedAt: Date | null;
|
|
12079
12150
|
}>, "many">;
|
|
12080
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
12151
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
12081
12152
|
id: z.ZodString;
|
|
12082
12153
|
createdAt: z.ZodDate;
|
|
12083
12154
|
updatedAt: z.ZodDate;
|
|
12084
12155
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12156
|
+
}, {
|
|
12085
12157
|
name: z.ZodOptional<z.ZodString>;
|
|
12086
12158
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12087
12159
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12088
12160
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12089
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12161
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
12090
12162
|
id: z.ZodString;
|
|
12091
12163
|
createdAt: z.ZodDate;
|
|
12092
12164
|
updatedAt: z.ZodDate;
|
|
12093
12165
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12166
|
+
}, {
|
|
12094
12167
|
textValue: z.ZodNullable<z.ZodString>;
|
|
12095
12168
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
12096
12169
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
12097
12170
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
12098
|
-
attribute: z.ZodObject<Omit<{
|
|
12171
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
12099
12172
|
id: z.ZodString;
|
|
12100
12173
|
createdAt: z.ZodDate;
|
|
12101
12174
|
updatedAt: z.ZodDate;
|
|
12102
12175
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12176
|
+
}, {
|
|
12103
12177
|
systemName: z.ZodString;
|
|
12104
12178
|
displayName: z.ZodString;
|
|
12105
12179
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -12108,13 +12182,14 @@ export declare const ticketContract: {
|
|
|
12108
12182
|
isArchived: z.ZodBoolean;
|
|
12109
12183
|
isRequired: z.ZodBoolean;
|
|
12110
12184
|
isUnique: z.ZodBoolean;
|
|
12111
|
-
options: z.ZodArray<z.ZodObject<{
|
|
12112
|
-
position: z.ZodNumber;
|
|
12113
|
-
value: z.ZodString;
|
|
12185
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
12114
12186
|
label: z.ZodString;
|
|
12187
|
+
value: z.ZodString;
|
|
12115
12188
|
isDefault: z.ZodBoolean;
|
|
12189
|
+
position: z.ZodNumber;
|
|
12190
|
+
}, {
|
|
12116
12191
|
id: z.ZodString;
|
|
12117
|
-
}
|
|
12192
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12118
12193
|
id: string;
|
|
12119
12194
|
position: number;
|
|
12120
12195
|
value: string;
|
|
@@ -12127,14 +12202,15 @@ export declare const ticketContract: {
|
|
|
12127
12202
|
label: string;
|
|
12128
12203
|
isDefault: boolean;
|
|
12129
12204
|
}>, "many">;
|
|
12130
|
-
group: z.ZodObject<{
|
|
12205
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
12131
12206
|
id: z.ZodString;
|
|
12132
12207
|
createdAt: z.ZodDate;
|
|
12133
12208
|
updatedAt: z.ZodDate;
|
|
12134
12209
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12210
|
+
}, {
|
|
12135
12211
|
systemName: z.ZodString;
|
|
12136
12212
|
displayName: z.ZodString;
|
|
12137
|
-
}
|
|
12213
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12138
12214
|
id: string;
|
|
12139
12215
|
createdAt: Date;
|
|
12140
12216
|
updatedAt: Date;
|
|
@@ -12149,7 +12225,7 @@ export declare const ticketContract: {
|
|
|
12149
12225
|
systemName: string;
|
|
12150
12226
|
displayName: string;
|
|
12151
12227
|
}>;
|
|
12152
|
-
}
|
|
12228
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
12153
12229
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
12154
12230
|
id: string;
|
|
12155
12231
|
position: number;
|
|
@@ -12176,7 +12252,7 @@ export declare const ticketContract: {
|
|
|
12176
12252
|
isRequired: boolean;
|
|
12177
12253
|
isUnique: boolean;
|
|
12178
12254
|
}>;
|
|
12179
|
-
}
|
|
12255
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12180
12256
|
id: string;
|
|
12181
12257
|
createdAt: Date;
|
|
12182
12258
|
updatedAt: Date;
|
|
@@ -12223,7 +12299,7 @@ export declare const ticketContract: {
|
|
|
12223
12299
|
numberValue: number | null;
|
|
12224
12300
|
dateValue: Date | null;
|
|
12225
12301
|
}>, "many">>;
|
|
12226
|
-
}
|
|
12302
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
12227
12303
|
id: string;
|
|
12228
12304
|
createdAt: Date;
|
|
12229
12305
|
updatedAt: Date;
|
|
@@ -12304,11 +12380,12 @@ export declare const ticketContract: {
|
|
|
12304
12380
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
12305
12381
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
12306
12382
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
12307
|
-
attribute: z.ZodObject<Omit<{
|
|
12383
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
12308
12384
|
id: z.ZodString;
|
|
12309
12385
|
createdAt: z.ZodDate;
|
|
12310
12386
|
updatedAt: z.ZodDate;
|
|
12311
12387
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12388
|
+
}, {
|
|
12312
12389
|
systemName: z.ZodString;
|
|
12313
12390
|
displayName: z.ZodString;
|
|
12314
12391
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -12317,13 +12394,14 @@ export declare const ticketContract: {
|
|
|
12317
12394
|
isArchived: z.ZodBoolean;
|
|
12318
12395
|
isRequired: z.ZodBoolean;
|
|
12319
12396
|
isUnique: z.ZodBoolean;
|
|
12320
|
-
options: z.ZodArray<z.ZodObject<{
|
|
12321
|
-
position: z.ZodNumber;
|
|
12322
|
-
value: z.ZodString;
|
|
12397
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
12323
12398
|
label: z.ZodString;
|
|
12399
|
+
value: z.ZodString;
|
|
12324
12400
|
isDefault: z.ZodBoolean;
|
|
12401
|
+
position: z.ZodNumber;
|
|
12402
|
+
}, {
|
|
12325
12403
|
id: z.ZodString;
|
|
12326
|
-
}
|
|
12404
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12327
12405
|
id: string;
|
|
12328
12406
|
position: number;
|
|
12329
12407
|
value: string;
|
|
@@ -12336,14 +12414,15 @@ export declare const ticketContract: {
|
|
|
12336
12414
|
label: string;
|
|
12337
12415
|
isDefault: boolean;
|
|
12338
12416
|
}>, "many">;
|
|
12339
|
-
group: z.ZodObject<{
|
|
12417
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
12340
12418
|
id: z.ZodString;
|
|
12341
12419
|
createdAt: z.ZodDate;
|
|
12342
12420
|
updatedAt: z.ZodDate;
|
|
12343
12421
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12422
|
+
}, {
|
|
12344
12423
|
systemName: z.ZodString;
|
|
12345
12424
|
displayName: z.ZodString;
|
|
12346
|
-
}
|
|
12425
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12347
12426
|
id: string;
|
|
12348
12427
|
createdAt: Date;
|
|
12349
12428
|
updatedAt: Date;
|
|
@@ -12358,7 +12437,7 @@ export declare const ticketContract: {
|
|
|
12358
12437
|
systemName: string;
|
|
12359
12438
|
displayName: string;
|
|
12360
12439
|
}>;
|
|
12361
|
-
}
|
|
12440
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
12362
12441
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
12363
12442
|
id: string;
|
|
12364
12443
|
position: number;
|
|
@@ -12385,18 +12464,19 @@ export declare const ticketContract: {
|
|
|
12385
12464
|
isRequired: boolean;
|
|
12386
12465
|
isUnique: boolean;
|
|
12387
12466
|
}>;
|
|
12388
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
12467
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
12389
12468
|
id: z.ZodString;
|
|
12390
12469
|
createdAt: z.ZodDate;
|
|
12391
12470
|
updatedAt: z.ZodDate;
|
|
12392
12471
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12472
|
+
}, {
|
|
12393
12473
|
bucketName: z.ZodString;
|
|
12394
12474
|
fileName: z.ZodString;
|
|
12395
12475
|
fileSize: z.ZodNumber;
|
|
12396
12476
|
fileKey: z.ZodString;
|
|
12397
12477
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
12398
12478
|
status: z.ZodNullable<z.ZodString>;
|
|
12399
|
-
}
|
|
12479
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12400
12480
|
id: string;
|
|
12401
12481
|
status: string | null;
|
|
12402
12482
|
createdAt: Date;
|
|
@@ -13169,7 +13249,7 @@ export declare const ticketContract: {
|
|
|
13169
13249
|
entity: string;
|
|
13170
13250
|
};
|
|
13171
13251
|
}>, "many">;
|
|
13172
|
-
}
|
|
13252
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13173
13253
|
type: string;
|
|
13174
13254
|
id: string;
|
|
13175
13255
|
channel: string;
|
|
@@ -13421,7 +13501,7 @@ export declare const ticketContract: {
|
|
|
13421
13501
|
assigneeId: string;
|
|
13422
13502
|
creatorId: string;
|
|
13423
13503
|
reasonToAssign: string | null;
|
|
13424
|
-
|
|
13504
|
+
assignee?: {
|
|
13425
13505
|
name: string;
|
|
13426
13506
|
id: string;
|
|
13427
13507
|
address: string | null;
|
|
@@ -13465,7 +13545,7 @@ export declare const ticketContract: {
|
|
|
13465
13545
|
telephonySignature: string | null;
|
|
13466
13546
|
};
|
|
13467
13547
|
} | null | undefined;
|
|
13468
|
-
|
|
13548
|
+
creator?: {
|
|
13469
13549
|
name: string;
|
|
13470
13550
|
id: string;
|
|
13471
13551
|
address: string | null;
|
|
@@ -13762,7 +13842,7 @@ export declare const ticketContract: {
|
|
|
13762
13842
|
assigneeId: string;
|
|
13763
13843
|
creatorId: string;
|
|
13764
13844
|
reasonToAssign: string | null;
|
|
13765
|
-
|
|
13845
|
+
assignee?: {
|
|
13766
13846
|
name: string;
|
|
13767
13847
|
id: string;
|
|
13768
13848
|
address: string | null;
|
|
@@ -13806,7 +13886,7 @@ export declare const ticketContract: {
|
|
|
13806
13886
|
telephonySignature: string | null;
|
|
13807
13887
|
};
|
|
13808
13888
|
} | null | undefined;
|
|
13809
|
-
|
|
13889
|
+
creator?: {
|
|
13810
13890
|
name: string;
|
|
13811
13891
|
id: string;
|
|
13812
13892
|
address: string | null;
|
|
@@ -13852,7 +13932,7 @@ export declare const ticketContract: {
|
|
|
13852
13932
|
} | null | undefined;
|
|
13853
13933
|
ticketNumber?: number | undefined;
|
|
13854
13934
|
}>;
|
|
13855
|
-
}
|
|
13935
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13856
13936
|
data: {
|
|
13857
13937
|
type: string;
|
|
13858
13938
|
id: string;
|
|
@@ -14105,7 +14185,7 @@ export declare const ticketContract: {
|
|
|
14105
14185
|
assigneeId: string;
|
|
14106
14186
|
creatorId: string;
|
|
14107
14187
|
reasonToAssign: string | null;
|
|
14108
|
-
|
|
14188
|
+
assignee?: {
|
|
14109
14189
|
name: string;
|
|
14110
14190
|
id: string;
|
|
14111
14191
|
address: string | null;
|
|
@@ -14149,7 +14229,7 @@ export declare const ticketContract: {
|
|
|
14149
14229
|
telephonySignature: string | null;
|
|
14150
14230
|
};
|
|
14151
14231
|
} | null | undefined;
|
|
14152
|
-
|
|
14232
|
+
creator?: {
|
|
14153
14233
|
name: string;
|
|
14154
14234
|
id: string;
|
|
14155
14235
|
address: string | null;
|
|
@@ -14449,7 +14529,7 @@ export declare const ticketContract: {
|
|
|
14449
14529
|
assigneeId: string;
|
|
14450
14530
|
creatorId: string;
|
|
14451
14531
|
reasonToAssign: string | null;
|
|
14452
|
-
|
|
14532
|
+
assignee?: {
|
|
14453
14533
|
name: string;
|
|
14454
14534
|
id: string;
|
|
14455
14535
|
address: string | null;
|
|
@@ -14493,7 +14573,7 @@ export declare const ticketContract: {
|
|
|
14493
14573
|
telephonySignature: string | null;
|
|
14494
14574
|
};
|
|
14495
14575
|
} | null | undefined;
|
|
14496
|
-
|
|
14576
|
+
creator?: {
|
|
14497
14577
|
name: string;
|
|
14498
14578
|
id: string;
|
|
14499
14579
|
address: string | null;
|
|
@@ -14593,6 +14673,18 @@ export declare const ticketContract: {
|
|
|
14593
14673
|
error?: any;
|
|
14594
14674
|
}>;
|
|
14595
14675
|
};
|
|
14676
|
+
};
|
|
14677
|
+
deleteTicket: {
|
|
14678
|
+
body: null;
|
|
14679
|
+
summary: "Delete a extension.";
|
|
14680
|
+
method: "DELETE";
|
|
14681
|
+
pathParams: z.ZodObject<{
|
|
14682
|
+
id: z.ZodString;
|
|
14683
|
+
}, "strip", z.ZodTypeAny, {
|
|
14684
|
+
id: string;
|
|
14685
|
+
}, {
|
|
14686
|
+
id: string;
|
|
14687
|
+
}>;
|
|
14596
14688
|
path: "ticket-service/ticket/:id";
|
|
14597
14689
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14598
14690
|
'x-tenant': z.ZodString;
|
|
@@ -14610,23 +14702,12 @@ export declare const ticketContract: {
|
|
|
14610
14702
|
'x-code'?: string | undefined;
|
|
14611
14703
|
'x-client-timezone'?: string | undefined;
|
|
14612
14704
|
}>>>;
|
|
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
14705
|
responses: {
|
|
14626
|
-
200: z.ZodObject<{
|
|
14706
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
14627
14707
|
requestId: z.ZodString;
|
|
14708
|
+
}, {
|
|
14628
14709
|
message: z.ZodString;
|
|
14629
|
-
}
|
|
14710
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14630
14711
|
message: string;
|
|
14631
14712
|
requestId: string;
|
|
14632
14713
|
}, {
|
|
@@ -14644,23 +14725,6 @@ export declare const ticketContract: {
|
|
|
14644
14725
|
error?: any;
|
|
14645
14726
|
}>;
|
|
14646
14727
|
};
|
|
14647
|
-
path: "ticket-service/ticket/:id";
|
|
14648
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14649
|
-
'x-tenant': z.ZodString;
|
|
14650
|
-
authorization: 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
|
-
authorization: string;
|
|
14656
|
-
'x-client-timezone': string;
|
|
14657
|
-
'x-code'?: string | undefined;
|
|
14658
|
-
}, {
|
|
14659
|
-
'x-tenant': string;
|
|
14660
|
-
authorization: string;
|
|
14661
|
-
'x-code'?: string | undefined;
|
|
14662
|
-
'x-client-timezone'?: string | undefined;
|
|
14663
|
-
}>>>;
|
|
14664
14728
|
};
|
|
14665
14729
|
updateDescription: {
|
|
14666
14730
|
body: z.ZodObject<{
|
|
@@ -14679,11 +14743,29 @@ export declare const ticketContract: {
|
|
|
14679
14743
|
}, {
|
|
14680
14744
|
id: string;
|
|
14681
14745
|
}>;
|
|
14746
|
+
path: "ticket-service/ticket/description/update/:id";
|
|
14747
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14748
|
+
'x-tenant': z.ZodString;
|
|
14749
|
+
authorization: z.ZodString;
|
|
14750
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14751
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14752
|
+
}, "strip", z.ZodTypeAny, {
|
|
14753
|
+
'x-tenant': string;
|
|
14754
|
+
authorization: string;
|
|
14755
|
+
'x-client-timezone': string;
|
|
14756
|
+
'x-code'?: string | undefined;
|
|
14757
|
+
}, {
|
|
14758
|
+
'x-tenant': string;
|
|
14759
|
+
authorization: string;
|
|
14760
|
+
'x-code'?: string | undefined;
|
|
14761
|
+
'x-client-timezone'?: string | undefined;
|
|
14762
|
+
}>>>;
|
|
14682
14763
|
responses: {
|
|
14683
|
-
201: z.ZodObject<{
|
|
14764
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
14684
14765
|
requestId: z.ZodString;
|
|
14766
|
+
}, {
|
|
14685
14767
|
message: z.ZodString;
|
|
14686
|
-
}
|
|
14768
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14687
14769
|
message: string;
|
|
14688
14770
|
requestId: string;
|
|
14689
14771
|
}, {
|
|
@@ -14742,27 +14824,10 @@ export declare const ticketContract: {
|
|
|
14742
14824
|
error?: any;
|
|
14743
14825
|
}>;
|
|
14744
14826
|
};
|
|
14745
|
-
|
|
14746
|
-
|
|
14747
|
-
|
|
14748
|
-
|
|
14749
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
14750
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14751
|
-
}, "strip", z.ZodTypeAny, {
|
|
14752
|
-
'x-tenant': string;
|
|
14753
|
-
authorization: string;
|
|
14754
|
-
'x-client-timezone': string;
|
|
14755
|
-
'x-code'?: string | undefined;
|
|
14756
|
-
}, {
|
|
14757
|
-
'x-tenant': string;
|
|
14758
|
-
authorization: string;
|
|
14759
|
-
'x-code'?: string | undefined;
|
|
14760
|
-
'x-client-timezone'?: string | undefined;
|
|
14761
|
-
}>>>;
|
|
14762
|
-
};
|
|
14763
|
-
updateTitle: {
|
|
14764
|
-
body: z.ZodObject<{
|
|
14765
|
-
title: z.ZodString;
|
|
14827
|
+
};
|
|
14828
|
+
updateTitle: {
|
|
14829
|
+
body: z.ZodObject<{
|
|
14830
|
+
title: z.ZodString;
|
|
14766
14831
|
}, "strip", z.ZodTypeAny, {
|
|
14767
14832
|
title: string;
|
|
14768
14833
|
}, {
|
|
@@ -14777,11 +14842,29 @@ export declare const ticketContract: {
|
|
|
14777
14842
|
}, {
|
|
14778
14843
|
id: string;
|
|
14779
14844
|
}>;
|
|
14845
|
+
path: "ticket-service/ticket/title/update/:id";
|
|
14846
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14847
|
+
'x-tenant': z.ZodString;
|
|
14848
|
+
authorization: z.ZodString;
|
|
14849
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14850
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14851
|
+
}, "strip", z.ZodTypeAny, {
|
|
14852
|
+
'x-tenant': string;
|
|
14853
|
+
authorization: string;
|
|
14854
|
+
'x-client-timezone': string;
|
|
14855
|
+
'x-code'?: string | undefined;
|
|
14856
|
+
}, {
|
|
14857
|
+
'x-tenant': string;
|
|
14858
|
+
authorization: string;
|
|
14859
|
+
'x-code'?: string | undefined;
|
|
14860
|
+
'x-client-timezone'?: string | undefined;
|
|
14861
|
+
}>>>;
|
|
14780
14862
|
responses: {
|
|
14781
|
-
200: z.ZodObject<{
|
|
14863
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
14782
14864
|
requestId: z.ZodString;
|
|
14865
|
+
}, {
|
|
14783
14866
|
message: z.ZodString;
|
|
14784
|
-
}
|
|
14867
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14785
14868
|
message: string;
|
|
14786
14869
|
requestId: string;
|
|
14787
14870
|
}, {
|
|
@@ -14840,23 +14923,6 @@ export declare const ticketContract: {
|
|
|
14840
14923
|
error?: any;
|
|
14841
14924
|
}>;
|
|
14842
14925
|
};
|
|
14843
|
-
path: "ticket-service/ticket/title/update/:id";
|
|
14844
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14845
|
-
'x-tenant': z.ZodString;
|
|
14846
|
-
authorization: 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
|
-
authorization: string;
|
|
14852
|
-
'x-client-timezone': string;
|
|
14853
|
-
'x-code'?: string | undefined;
|
|
14854
|
-
}, {
|
|
14855
|
-
'x-tenant': string;
|
|
14856
|
-
authorization: string;
|
|
14857
|
-
'x-code'?: string | undefined;
|
|
14858
|
-
'x-client-timezone'?: string | undefined;
|
|
14859
|
-
}>>>;
|
|
14860
14926
|
};
|
|
14861
14927
|
updateType: {
|
|
14862
14928
|
body: z.ZodObject<{
|
|
@@ -14875,11 +14941,29 @@ export declare const ticketContract: {
|
|
|
14875
14941
|
}, {
|
|
14876
14942
|
id: string;
|
|
14877
14943
|
}>;
|
|
14944
|
+
path: "ticket-service/ticket/type/update/:id";
|
|
14945
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14946
|
+
'x-tenant': z.ZodString;
|
|
14947
|
+
authorization: z.ZodString;
|
|
14948
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
14949
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
14950
|
+
}, "strip", z.ZodTypeAny, {
|
|
14951
|
+
'x-tenant': string;
|
|
14952
|
+
authorization: string;
|
|
14953
|
+
'x-client-timezone': string;
|
|
14954
|
+
'x-code'?: string | undefined;
|
|
14955
|
+
}, {
|
|
14956
|
+
'x-tenant': string;
|
|
14957
|
+
authorization: string;
|
|
14958
|
+
'x-code'?: string | undefined;
|
|
14959
|
+
'x-client-timezone'?: string | undefined;
|
|
14960
|
+
}>>>;
|
|
14878
14961
|
responses: {
|
|
14879
|
-
200: z.ZodObject<{
|
|
14962
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
14880
14963
|
requestId: z.ZodString;
|
|
14964
|
+
}, {
|
|
14881
14965
|
message: z.ZodString;
|
|
14882
|
-
}
|
|
14966
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14883
14967
|
message: string;
|
|
14884
14968
|
requestId: string;
|
|
14885
14969
|
}, {
|
|
@@ -14938,23 +15022,6 @@ export declare const ticketContract: {
|
|
|
14938
15022
|
error?: any;
|
|
14939
15023
|
}>;
|
|
14940
15024
|
};
|
|
14941
|
-
path: "ticket-service/ticket/type/update/:id";
|
|
14942
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14943
|
-
'x-tenant': z.ZodString;
|
|
14944
|
-
authorization: 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
|
-
authorization: string;
|
|
14950
|
-
'x-client-timezone': string;
|
|
14951
|
-
'x-code'?: string | undefined;
|
|
14952
|
-
}, {
|
|
14953
|
-
'x-tenant': string;
|
|
14954
|
-
authorization: string;
|
|
14955
|
-
'x-code'?: string | undefined;
|
|
14956
|
-
'x-client-timezone'?: string | undefined;
|
|
14957
|
-
}>>>;
|
|
14958
15025
|
};
|
|
14959
15026
|
updateStatus: {
|
|
14960
15027
|
body: z.ZodObject<{
|
|
@@ -14973,11 +15040,29 @@ export declare const ticketContract: {
|
|
|
14973
15040
|
}, {
|
|
14974
15041
|
id: string;
|
|
14975
15042
|
}>;
|
|
15043
|
+
path: "ticket-service/ticket/status/update/:id";
|
|
15044
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15045
|
+
'x-tenant': z.ZodString;
|
|
15046
|
+
authorization: z.ZodString;
|
|
15047
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15048
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15049
|
+
}, "strip", z.ZodTypeAny, {
|
|
15050
|
+
'x-tenant': string;
|
|
15051
|
+
authorization: string;
|
|
15052
|
+
'x-client-timezone': string;
|
|
15053
|
+
'x-code'?: string | undefined;
|
|
15054
|
+
}, {
|
|
15055
|
+
'x-tenant': string;
|
|
15056
|
+
authorization: string;
|
|
15057
|
+
'x-code'?: string | undefined;
|
|
15058
|
+
'x-client-timezone'?: string | undefined;
|
|
15059
|
+
}>>>;
|
|
14976
15060
|
responses: {
|
|
14977
|
-
200: z.ZodObject<{
|
|
15061
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
14978
15062
|
requestId: z.ZodString;
|
|
15063
|
+
}, {
|
|
14979
15064
|
message: z.ZodString;
|
|
14980
|
-
}
|
|
15065
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14981
15066
|
message: string;
|
|
14982
15067
|
requestId: string;
|
|
14983
15068
|
}, {
|
|
@@ -15036,23 +15121,6 @@ export declare const ticketContract: {
|
|
|
15036
15121
|
error?: any;
|
|
15037
15122
|
}>;
|
|
15038
15123
|
};
|
|
15039
|
-
path: "ticket-service/ticket/status/update/:id";
|
|
15040
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15041
|
-
'x-tenant': z.ZodString;
|
|
15042
|
-
authorization: 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
|
-
authorization: string;
|
|
15048
|
-
'x-client-timezone': string;
|
|
15049
|
-
'x-code'?: string | undefined;
|
|
15050
|
-
}, {
|
|
15051
|
-
'x-tenant': string;
|
|
15052
|
-
authorization: string;
|
|
15053
|
-
'x-code'?: string | undefined;
|
|
15054
|
-
'x-client-timezone'?: string | undefined;
|
|
15055
|
-
}>>>;
|
|
15056
15124
|
};
|
|
15057
15125
|
updatePriority: {
|
|
15058
15126
|
body: z.ZodObject<{
|
|
@@ -15071,11 +15139,29 @@ export declare const ticketContract: {
|
|
|
15071
15139
|
}, {
|
|
15072
15140
|
id: string;
|
|
15073
15141
|
}>;
|
|
15142
|
+
path: "ticket-service/ticket/priority/update/:id";
|
|
15143
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15144
|
+
'x-tenant': z.ZodString;
|
|
15145
|
+
authorization: z.ZodString;
|
|
15146
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15147
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15148
|
+
}, "strip", z.ZodTypeAny, {
|
|
15149
|
+
'x-tenant': string;
|
|
15150
|
+
authorization: string;
|
|
15151
|
+
'x-client-timezone': string;
|
|
15152
|
+
'x-code'?: string | undefined;
|
|
15153
|
+
}, {
|
|
15154
|
+
'x-tenant': string;
|
|
15155
|
+
authorization: string;
|
|
15156
|
+
'x-code'?: string | undefined;
|
|
15157
|
+
'x-client-timezone'?: string | undefined;
|
|
15158
|
+
}>>>;
|
|
15074
15159
|
responses: {
|
|
15075
|
-
200: z.ZodObject<{
|
|
15160
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
15076
15161
|
requestId: z.ZodString;
|
|
15162
|
+
}, {
|
|
15077
15163
|
message: z.ZodString;
|
|
15078
|
-
}
|
|
15164
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15079
15165
|
message: string;
|
|
15080
15166
|
requestId: string;
|
|
15081
15167
|
}, {
|
|
@@ -15134,23 +15220,6 @@ export declare const ticketContract: {
|
|
|
15134
15220
|
error?: any;
|
|
15135
15221
|
}>;
|
|
15136
15222
|
};
|
|
15137
|
-
path: "ticket-service/ticket/priority/update/:id";
|
|
15138
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15139
|
-
'x-tenant': z.ZodString;
|
|
15140
|
-
authorization: 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
|
-
authorization: string;
|
|
15146
|
-
'x-client-timezone': string;
|
|
15147
|
-
'x-code'?: string | undefined;
|
|
15148
|
-
}, {
|
|
15149
|
-
'x-tenant': string;
|
|
15150
|
-
authorization: string;
|
|
15151
|
-
'x-code'?: string | undefined;
|
|
15152
|
-
'x-client-timezone'?: string | undefined;
|
|
15153
|
-
}>>>;
|
|
15154
15223
|
};
|
|
15155
15224
|
updateChannel: {
|
|
15156
15225
|
body: z.ZodObject<{
|
|
@@ -15169,11 +15238,29 @@ export declare const ticketContract: {
|
|
|
15169
15238
|
}, {
|
|
15170
15239
|
id: string;
|
|
15171
15240
|
}>;
|
|
15241
|
+
path: "ticket-service/ticket/channel/update/:id";
|
|
15242
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15243
|
+
'x-tenant': z.ZodString;
|
|
15244
|
+
authorization: z.ZodString;
|
|
15245
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15246
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15247
|
+
}, "strip", z.ZodTypeAny, {
|
|
15248
|
+
'x-tenant': string;
|
|
15249
|
+
authorization: string;
|
|
15250
|
+
'x-client-timezone': string;
|
|
15251
|
+
'x-code'?: string | undefined;
|
|
15252
|
+
}, {
|
|
15253
|
+
'x-tenant': string;
|
|
15254
|
+
authorization: string;
|
|
15255
|
+
'x-code'?: string | undefined;
|
|
15256
|
+
'x-client-timezone'?: string | undefined;
|
|
15257
|
+
}>>>;
|
|
15172
15258
|
responses: {
|
|
15173
|
-
200: z.ZodObject<{
|
|
15259
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
15174
15260
|
requestId: z.ZodString;
|
|
15261
|
+
}, {
|
|
15175
15262
|
message: z.ZodString;
|
|
15176
|
-
}
|
|
15263
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15177
15264
|
message: string;
|
|
15178
15265
|
requestId: string;
|
|
15179
15266
|
}, {
|
|
@@ -15232,23 +15319,6 @@ export declare const ticketContract: {
|
|
|
15232
15319
|
error?: any;
|
|
15233
15320
|
}>;
|
|
15234
15321
|
};
|
|
15235
|
-
path: "ticket-service/ticket/channel/update/:id";
|
|
15236
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15237
|
-
'x-tenant': z.ZodString;
|
|
15238
|
-
authorization: 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
|
-
authorization: string;
|
|
15244
|
-
'x-client-timezone': string;
|
|
15245
|
-
'x-code'?: string | undefined;
|
|
15246
|
-
}, {
|
|
15247
|
-
'x-tenant': string;
|
|
15248
|
-
authorization: string;
|
|
15249
|
-
'x-code'?: string | undefined;
|
|
15250
|
-
'x-client-timezone'?: string | undefined;
|
|
15251
|
-
}>>>;
|
|
15252
15322
|
};
|
|
15253
15323
|
updateTags: {
|
|
15254
15324
|
body: z.ZodObject<{
|
|
@@ -15267,11 +15337,29 @@ export declare const ticketContract: {
|
|
|
15267
15337
|
}, {
|
|
15268
15338
|
id: string;
|
|
15269
15339
|
}>;
|
|
15340
|
+
path: "ticket-service/ticket/tags/update/:id";
|
|
15341
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15342
|
+
'x-tenant': z.ZodString;
|
|
15343
|
+
authorization: z.ZodString;
|
|
15344
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15345
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15346
|
+
}, "strip", z.ZodTypeAny, {
|
|
15347
|
+
'x-tenant': string;
|
|
15348
|
+
authorization: string;
|
|
15349
|
+
'x-client-timezone': string;
|
|
15350
|
+
'x-code'?: string | undefined;
|
|
15351
|
+
}, {
|
|
15352
|
+
'x-tenant': string;
|
|
15353
|
+
authorization: string;
|
|
15354
|
+
'x-code'?: string | undefined;
|
|
15355
|
+
'x-client-timezone'?: string | undefined;
|
|
15356
|
+
}>>>;
|
|
15270
15357
|
responses: {
|
|
15271
|
-
200: z.ZodObject<{
|
|
15358
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
15272
15359
|
requestId: z.ZodString;
|
|
15360
|
+
}, {
|
|
15273
15361
|
message: z.ZodString;
|
|
15274
|
-
}
|
|
15362
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15275
15363
|
message: string;
|
|
15276
15364
|
requestId: string;
|
|
15277
15365
|
}, {
|
|
@@ -15330,23 +15418,6 @@ export declare const ticketContract: {
|
|
|
15330
15418
|
error?: any;
|
|
15331
15419
|
}>;
|
|
15332
15420
|
};
|
|
15333
|
-
path: "ticket-service/ticket/tags/update/:id";
|
|
15334
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15335
|
-
'x-tenant': z.ZodString;
|
|
15336
|
-
authorization: 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
|
-
authorization: string;
|
|
15342
|
-
'x-client-timezone': string;
|
|
15343
|
-
'x-code'?: string | undefined;
|
|
15344
|
-
}, {
|
|
15345
|
-
'x-tenant': string;
|
|
15346
|
-
authorization: string;
|
|
15347
|
-
'x-code'?: string | undefined;
|
|
15348
|
-
'x-client-timezone'?: string | undefined;
|
|
15349
|
-
}>>>;
|
|
15350
15421
|
};
|
|
15351
15422
|
changeAssignee: {
|
|
15352
15423
|
body: z.ZodObject<{
|
|
@@ -15371,14 +15442,33 @@ export declare const ticketContract: {
|
|
|
15371
15442
|
}, {
|
|
15372
15443
|
id: string;
|
|
15373
15444
|
}>;
|
|
15445
|
+
path: "ticket-service/ticket/assignee/update/:id";
|
|
15446
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15447
|
+
'x-tenant': z.ZodString;
|
|
15448
|
+
authorization: z.ZodString;
|
|
15449
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
15450
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
15451
|
+
}, "strip", z.ZodTypeAny, {
|
|
15452
|
+
'x-tenant': string;
|
|
15453
|
+
authorization: string;
|
|
15454
|
+
'x-client-timezone': string;
|
|
15455
|
+
'x-code'?: string | undefined;
|
|
15456
|
+
}, {
|
|
15457
|
+
'x-tenant': string;
|
|
15458
|
+
authorization: string;
|
|
15459
|
+
'x-code'?: string | undefined;
|
|
15460
|
+
'x-client-timezone'?: string | undefined;
|
|
15461
|
+
}>>>;
|
|
15374
15462
|
responses: {
|
|
15375
|
-
200: z.ZodObject<{
|
|
15463
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
15376
15464
|
requestId: z.ZodString;
|
|
15377
|
-
|
|
15465
|
+
}, {
|
|
15466
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
15378
15467
|
id: z.ZodString;
|
|
15379
15468
|
createdAt: z.ZodDate;
|
|
15380
15469
|
updatedAt: z.ZodDate;
|
|
15381
15470
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15471
|
+
}, {
|
|
15382
15472
|
title: z.ZodString;
|
|
15383
15473
|
description: z.ZodNullable<z.ZodString>;
|
|
15384
15474
|
type: z.ZodString;
|
|
@@ -15798,20 +15888,22 @@ export declare const ticketContract: {
|
|
|
15798
15888
|
}>>>;
|
|
15799
15889
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
|
15800
15890
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
|
15801
|
-
customFields: z.ZodArray<z.ZodObject<{
|
|
15891
|
+
customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
15802
15892
|
id: z.ZodString;
|
|
15803
15893
|
createdAt: z.ZodDate;
|
|
15804
15894
|
updatedAt: z.ZodDate;
|
|
15805
15895
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15896
|
+
}, {
|
|
15806
15897
|
textValue: z.ZodNullable<z.ZodString>;
|
|
15807
15898
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
15808
15899
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
15809
15900
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
15810
|
-
attribute: z.ZodObject<Omit<{
|
|
15901
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
15811
15902
|
id: z.ZodString;
|
|
15812
15903
|
createdAt: z.ZodDate;
|
|
15813
15904
|
updatedAt: z.ZodDate;
|
|
15814
15905
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15906
|
+
}, {
|
|
15815
15907
|
systemName: z.ZodString;
|
|
15816
15908
|
displayName: z.ZodString;
|
|
15817
15909
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -15820,13 +15912,14 @@ export declare const ticketContract: {
|
|
|
15820
15912
|
isArchived: z.ZodBoolean;
|
|
15821
15913
|
isRequired: z.ZodBoolean;
|
|
15822
15914
|
isUnique: z.ZodBoolean;
|
|
15823
|
-
options: z.ZodArray<z.ZodObject<{
|
|
15824
|
-
position: z.ZodNumber;
|
|
15825
|
-
value: z.ZodString;
|
|
15915
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
15826
15916
|
label: z.ZodString;
|
|
15917
|
+
value: z.ZodString;
|
|
15827
15918
|
isDefault: z.ZodBoolean;
|
|
15919
|
+
position: z.ZodNumber;
|
|
15920
|
+
}, {
|
|
15828
15921
|
id: z.ZodString;
|
|
15829
|
-
}
|
|
15922
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15830
15923
|
id: string;
|
|
15831
15924
|
position: number;
|
|
15832
15925
|
value: string;
|
|
@@ -15839,14 +15932,15 @@ export declare const ticketContract: {
|
|
|
15839
15932
|
label: string;
|
|
15840
15933
|
isDefault: boolean;
|
|
15841
15934
|
}>, "many">;
|
|
15842
|
-
group: z.ZodObject<{
|
|
15935
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
15843
15936
|
id: z.ZodString;
|
|
15844
15937
|
createdAt: z.ZodDate;
|
|
15845
15938
|
updatedAt: z.ZodDate;
|
|
15846
15939
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15940
|
+
}, {
|
|
15847
15941
|
systemName: z.ZodString;
|
|
15848
15942
|
displayName: z.ZodString;
|
|
15849
|
-
}
|
|
15943
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15850
15944
|
id: string;
|
|
15851
15945
|
createdAt: Date;
|
|
15852
15946
|
updatedAt: Date;
|
|
@@ -15861,7 +15955,7 @@ export declare const ticketContract: {
|
|
|
15861
15955
|
systemName: string;
|
|
15862
15956
|
displayName: string;
|
|
15863
15957
|
}>;
|
|
15864
|
-
}
|
|
15958
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
15865
15959
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
15866
15960
|
id: string;
|
|
15867
15961
|
position: number;
|
|
@@ -15888,18 +15982,19 @@ export declare const ticketContract: {
|
|
|
15888
15982
|
isRequired: boolean;
|
|
15889
15983
|
isUnique: boolean;
|
|
15890
15984
|
}>;
|
|
15891
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
15985
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
15892
15986
|
id: z.ZodString;
|
|
15893
15987
|
createdAt: z.ZodDate;
|
|
15894
15988
|
updatedAt: z.ZodDate;
|
|
15895
15989
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15990
|
+
}, {
|
|
15896
15991
|
bucketName: z.ZodString;
|
|
15897
15992
|
fileName: z.ZodString;
|
|
15898
15993
|
fileSize: z.ZodNumber;
|
|
15899
15994
|
fileKey: z.ZodString;
|
|
15900
15995
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
15901
15996
|
status: z.ZodNullable<z.ZodString>;
|
|
15902
|
-
}
|
|
15997
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15903
15998
|
id: string;
|
|
15904
15999
|
status: string | null;
|
|
15905
16000
|
createdAt: Date;
|
|
@@ -15922,7 +16017,7 @@ export declare const ticketContract: {
|
|
|
15922
16017
|
fileSize: number;
|
|
15923
16018
|
fileUrl: string | null;
|
|
15924
16019
|
}>, "many">;
|
|
15925
|
-
}
|
|
16020
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15926
16021
|
id: string;
|
|
15927
16022
|
createdAt: Date;
|
|
15928
16023
|
updatedAt: Date;
|
|
@@ -15993,13 +16088,14 @@ export declare const ticketContract: {
|
|
|
15993
16088
|
fileUrl: string | null;
|
|
15994
16089
|
}[];
|
|
15995
16090
|
}>, "many">;
|
|
15996
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
16091
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
15997
16092
|
id: z.ZodString;
|
|
15998
16093
|
createdAt: z.ZodDate;
|
|
15999
16094
|
updatedAt: z.ZodDate;
|
|
16000
16095
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16096
|
+
}, {
|
|
16001
16097
|
name: z.ZodString;
|
|
16002
|
-
}
|
|
16098
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16003
16099
|
name: string;
|
|
16004
16100
|
id: string;
|
|
16005
16101
|
createdAt: Date;
|
|
@@ -16012,11 +16108,12 @@ export declare const ticketContract: {
|
|
|
16012
16108
|
updatedAt: Date;
|
|
16013
16109
|
deletedAt: Date | null;
|
|
16014
16110
|
}>, "many">;
|
|
16015
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
16111
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16016
16112
|
id: z.ZodString;
|
|
16017
16113
|
createdAt: z.ZodDate;
|
|
16018
16114
|
updatedAt: z.ZodDate;
|
|
16019
16115
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16116
|
+
}, {
|
|
16020
16117
|
value: z.ZodString;
|
|
16021
16118
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
16022
16119
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -16069,7 +16166,7 @@ export declare const ticketContract: {
|
|
|
16069
16166
|
childCategoryList: any[];
|
|
16070
16167
|
}[];
|
|
16071
16168
|
}>, "many">;
|
|
16072
|
-
}
|
|
16169
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16073
16170
|
id: string;
|
|
16074
16171
|
value: string;
|
|
16075
16172
|
createdAt: Date;
|
|
@@ -16123,13 +16220,14 @@ export declare const ticketContract: {
|
|
|
16123
16220
|
notes: z.ZodNullable<z.ZodString>;
|
|
16124
16221
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
16125
16222
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
16126
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
16223
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16127
16224
|
id: z.ZodString;
|
|
16128
16225
|
createdAt: z.ZodDate;
|
|
16129
16226
|
updatedAt: z.ZodDate;
|
|
16130
16227
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16228
|
+
}, {
|
|
16131
16229
|
name: z.ZodString;
|
|
16132
|
-
}
|
|
16230
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16133
16231
|
name: string;
|
|
16134
16232
|
id: string;
|
|
16135
16233
|
createdAt: Date;
|
|
@@ -16142,29 +16240,32 @@ export declare const ticketContract: {
|
|
|
16142
16240
|
updatedAt: Date;
|
|
16143
16241
|
deletedAt: Date | null;
|
|
16144
16242
|
}>, "many">;
|
|
16145
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
16243
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
16146
16244
|
id: z.ZodString;
|
|
16147
16245
|
createdAt: z.ZodDate;
|
|
16148
16246
|
updatedAt: z.ZodDate;
|
|
16149
16247
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16248
|
+
}, {
|
|
16150
16249
|
name: z.ZodOptional<z.ZodString>;
|
|
16151
16250
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16152
16251
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16153
16252
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16154
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16253
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16155
16254
|
id: z.ZodString;
|
|
16156
16255
|
createdAt: z.ZodDate;
|
|
16157
16256
|
updatedAt: z.ZodDate;
|
|
16158
16257
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16258
|
+
}, {
|
|
16159
16259
|
textValue: z.ZodNullable<z.ZodString>;
|
|
16160
16260
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
16161
16261
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
16162
16262
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
16163
|
-
attribute: z.ZodObject<Omit<{
|
|
16263
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
16164
16264
|
id: z.ZodString;
|
|
16165
16265
|
createdAt: z.ZodDate;
|
|
16166
16266
|
updatedAt: z.ZodDate;
|
|
16167
16267
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16268
|
+
}, {
|
|
16168
16269
|
systemName: z.ZodString;
|
|
16169
16270
|
displayName: z.ZodString;
|
|
16170
16271
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -16173,13 +16274,14 @@ export declare const ticketContract: {
|
|
|
16173
16274
|
isArchived: z.ZodBoolean;
|
|
16174
16275
|
isRequired: z.ZodBoolean;
|
|
16175
16276
|
isUnique: z.ZodBoolean;
|
|
16176
|
-
options: z.ZodArray<z.ZodObject<{
|
|
16177
|
-
position: z.ZodNumber;
|
|
16178
|
-
value: z.ZodString;
|
|
16277
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16179
16278
|
label: z.ZodString;
|
|
16279
|
+
value: z.ZodString;
|
|
16180
16280
|
isDefault: z.ZodBoolean;
|
|
16281
|
+
position: z.ZodNumber;
|
|
16282
|
+
}, {
|
|
16181
16283
|
id: z.ZodString;
|
|
16182
|
-
}
|
|
16284
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16183
16285
|
id: string;
|
|
16184
16286
|
position: number;
|
|
16185
16287
|
value: string;
|
|
@@ -16192,14 +16294,15 @@ export declare const ticketContract: {
|
|
|
16192
16294
|
label: string;
|
|
16193
16295
|
isDefault: boolean;
|
|
16194
16296
|
}>, "many">;
|
|
16195
|
-
group: z.ZodObject<{
|
|
16297
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
16196
16298
|
id: z.ZodString;
|
|
16197
16299
|
createdAt: z.ZodDate;
|
|
16198
16300
|
updatedAt: z.ZodDate;
|
|
16199
16301
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16302
|
+
}, {
|
|
16200
16303
|
systemName: z.ZodString;
|
|
16201
16304
|
displayName: z.ZodString;
|
|
16202
|
-
}
|
|
16305
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16203
16306
|
id: string;
|
|
16204
16307
|
createdAt: Date;
|
|
16205
16308
|
updatedAt: Date;
|
|
@@ -16214,7 +16317,7 @@ export declare const ticketContract: {
|
|
|
16214
16317
|
systemName: string;
|
|
16215
16318
|
displayName: string;
|
|
16216
16319
|
}>;
|
|
16217
|
-
}
|
|
16320
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
16218
16321
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
16219
16322
|
id: string;
|
|
16220
16323
|
position: number;
|
|
@@ -16241,7 +16344,7 @@ export declare const ticketContract: {
|
|
|
16241
16344
|
isRequired: boolean;
|
|
16242
16345
|
isUnique: boolean;
|
|
16243
16346
|
}>;
|
|
16244
|
-
}
|
|
16347
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16245
16348
|
id: string;
|
|
16246
16349
|
createdAt: Date;
|
|
16247
16350
|
updatedAt: Date;
|
|
@@ -16288,7 +16391,7 @@ export declare const ticketContract: {
|
|
|
16288
16391
|
numberValue: number | null;
|
|
16289
16392
|
dateValue: Date | null;
|
|
16290
16393
|
}>, "many">>;
|
|
16291
|
-
}
|
|
16394
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
16292
16395
|
id: string;
|
|
16293
16396
|
createdAt: Date;
|
|
16294
16397
|
updatedAt: Date;
|
|
@@ -16369,11 +16472,12 @@ export declare const ticketContract: {
|
|
|
16369
16472
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
16370
16473
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
16371
16474
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
16372
|
-
attribute: z.ZodObject<Omit<{
|
|
16475
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
16373
16476
|
id: z.ZodString;
|
|
16374
16477
|
createdAt: z.ZodDate;
|
|
16375
16478
|
updatedAt: z.ZodDate;
|
|
16376
16479
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16480
|
+
}, {
|
|
16377
16481
|
systemName: z.ZodString;
|
|
16378
16482
|
displayName: z.ZodString;
|
|
16379
16483
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -16382,13 +16486,14 @@ export declare const ticketContract: {
|
|
|
16382
16486
|
isArchived: z.ZodBoolean;
|
|
16383
16487
|
isRequired: z.ZodBoolean;
|
|
16384
16488
|
isUnique: z.ZodBoolean;
|
|
16385
|
-
options: z.ZodArray<z.ZodObject<{
|
|
16386
|
-
position: z.ZodNumber;
|
|
16387
|
-
value: z.ZodString;
|
|
16489
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16388
16490
|
label: z.ZodString;
|
|
16491
|
+
value: z.ZodString;
|
|
16389
16492
|
isDefault: z.ZodBoolean;
|
|
16493
|
+
position: z.ZodNumber;
|
|
16494
|
+
}, {
|
|
16390
16495
|
id: z.ZodString;
|
|
16391
|
-
}
|
|
16496
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16392
16497
|
id: string;
|
|
16393
16498
|
position: number;
|
|
16394
16499
|
value: string;
|
|
@@ -16401,14 +16506,15 @@ export declare const ticketContract: {
|
|
|
16401
16506
|
label: string;
|
|
16402
16507
|
isDefault: boolean;
|
|
16403
16508
|
}>, "many">;
|
|
16404
|
-
group: z.ZodObject<{
|
|
16509
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
16405
16510
|
id: z.ZodString;
|
|
16406
16511
|
createdAt: z.ZodDate;
|
|
16407
16512
|
updatedAt: z.ZodDate;
|
|
16408
16513
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16514
|
+
}, {
|
|
16409
16515
|
systemName: z.ZodString;
|
|
16410
16516
|
displayName: z.ZodString;
|
|
16411
|
-
}
|
|
16517
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16412
16518
|
id: string;
|
|
16413
16519
|
createdAt: Date;
|
|
16414
16520
|
updatedAt: Date;
|
|
@@ -16423,7 +16529,7 @@ export declare const ticketContract: {
|
|
|
16423
16529
|
systemName: string;
|
|
16424
16530
|
displayName: string;
|
|
16425
16531
|
}>;
|
|
16426
|
-
}
|
|
16532
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
16427
16533
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
16428
16534
|
id: string;
|
|
16429
16535
|
position: number;
|
|
@@ -16450,18 +16556,19 @@ export declare const ticketContract: {
|
|
|
16450
16556
|
isRequired: boolean;
|
|
16451
16557
|
isUnique: boolean;
|
|
16452
16558
|
}>;
|
|
16453
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
16559
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16454
16560
|
id: z.ZodString;
|
|
16455
16561
|
createdAt: z.ZodDate;
|
|
16456
16562
|
updatedAt: z.ZodDate;
|
|
16457
16563
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16564
|
+
}, {
|
|
16458
16565
|
bucketName: z.ZodString;
|
|
16459
16566
|
fileName: z.ZodString;
|
|
16460
16567
|
fileSize: z.ZodNumber;
|
|
16461
16568
|
fileKey: z.ZodString;
|
|
16462
16569
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
16463
16570
|
status: z.ZodNullable<z.ZodString>;
|
|
16464
|
-
}
|
|
16571
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16465
16572
|
id: string;
|
|
16466
16573
|
status: string | null;
|
|
16467
16574
|
createdAt: Date;
|
|
@@ -17234,7 +17341,7 @@ export declare const ticketContract: {
|
|
|
17234
17341
|
entity: string;
|
|
17235
17342
|
};
|
|
17236
17343
|
}>, "many">;
|
|
17237
|
-
}
|
|
17344
|
+
}>, "strip", z.ZodTypeAny, {
|
|
17238
17345
|
type: string;
|
|
17239
17346
|
id: string;
|
|
17240
17347
|
channel: string;
|
|
@@ -17486,7 +17593,7 @@ export declare const ticketContract: {
|
|
|
17486
17593
|
assigneeId: string;
|
|
17487
17594
|
creatorId: string;
|
|
17488
17595
|
reasonToAssign: string | null;
|
|
17489
|
-
|
|
17596
|
+
assignee?: {
|
|
17490
17597
|
name: string;
|
|
17491
17598
|
id: string;
|
|
17492
17599
|
address: string | null;
|
|
@@ -17530,7 +17637,7 @@ export declare const ticketContract: {
|
|
|
17530
17637
|
telephonySignature: string | null;
|
|
17531
17638
|
};
|
|
17532
17639
|
} | null | undefined;
|
|
17533
|
-
|
|
17640
|
+
creator?: {
|
|
17534
17641
|
name: string;
|
|
17535
17642
|
id: string;
|
|
17536
17643
|
address: string | null;
|
|
@@ -17827,7 +17934,7 @@ export declare const ticketContract: {
|
|
|
17827
17934
|
assigneeId: string;
|
|
17828
17935
|
creatorId: string;
|
|
17829
17936
|
reasonToAssign: string | null;
|
|
17830
|
-
|
|
17937
|
+
assignee?: {
|
|
17831
17938
|
name: string;
|
|
17832
17939
|
id: string;
|
|
17833
17940
|
address: string | null;
|
|
@@ -17871,7 +17978,7 @@ export declare const ticketContract: {
|
|
|
17871
17978
|
telephonySignature: string | null;
|
|
17872
17979
|
};
|
|
17873
17980
|
} | null | undefined;
|
|
17874
|
-
|
|
17981
|
+
creator?: {
|
|
17875
17982
|
name: string;
|
|
17876
17983
|
id: string;
|
|
17877
17984
|
address: string | null;
|
|
@@ -17917,7 +18024,7 @@ export declare const ticketContract: {
|
|
|
17917
18024
|
} | null | undefined;
|
|
17918
18025
|
ticketNumber?: number | undefined;
|
|
17919
18026
|
}>;
|
|
17920
|
-
}
|
|
18027
|
+
}>, "strip", z.ZodTypeAny, {
|
|
17921
18028
|
data: {
|
|
17922
18029
|
type: string;
|
|
17923
18030
|
id: string;
|
|
@@ -18170,7 +18277,7 @@ export declare const ticketContract: {
|
|
|
18170
18277
|
assigneeId: string;
|
|
18171
18278
|
creatorId: string;
|
|
18172
18279
|
reasonToAssign: string | null;
|
|
18173
|
-
|
|
18280
|
+
assignee?: {
|
|
18174
18281
|
name: string;
|
|
18175
18282
|
id: string;
|
|
18176
18283
|
address: string | null;
|
|
@@ -18214,7 +18321,7 @@ export declare const ticketContract: {
|
|
|
18214
18321
|
telephonySignature: string | null;
|
|
18215
18322
|
};
|
|
18216
18323
|
} | null | undefined;
|
|
18217
|
-
|
|
18324
|
+
creator?: {
|
|
18218
18325
|
name: string;
|
|
18219
18326
|
id: string;
|
|
18220
18327
|
address: string | null;
|
|
@@ -18514,7 +18621,7 @@ export declare const ticketContract: {
|
|
|
18514
18621
|
assigneeId: string;
|
|
18515
18622
|
creatorId: string;
|
|
18516
18623
|
reasonToAssign: string | null;
|
|
18517
|
-
|
|
18624
|
+
assignee?: {
|
|
18518
18625
|
name: string;
|
|
18519
18626
|
id: string;
|
|
18520
18627
|
address: string | null;
|
|
@@ -18558,7 +18665,7 @@ export declare const ticketContract: {
|
|
|
18558
18665
|
telephonySignature: string | null;
|
|
18559
18666
|
};
|
|
18560
18667
|
} | null | undefined;
|
|
18561
|
-
|
|
18668
|
+
creator?: {
|
|
18562
18669
|
name: string;
|
|
18563
18670
|
id: string;
|
|
18564
18671
|
address: string | null;
|
|
@@ -18658,7 +18765,18 @@ export declare const ticketContract: {
|
|
|
18658
18765
|
error?: any;
|
|
18659
18766
|
}>;
|
|
18660
18767
|
};
|
|
18661
|
-
|
|
18768
|
+
};
|
|
18769
|
+
getTicketCountByContact: {
|
|
18770
|
+
summary: "Get ticket count by contact";
|
|
18771
|
+
method: "GET";
|
|
18772
|
+
pathParams: z.ZodObject<{
|
|
18773
|
+
id: z.ZodString;
|
|
18774
|
+
}, "strip", z.ZodTypeAny, {
|
|
18775
|
+
id: string;
|
|
18776
|
+
}, {
|
|
18777
|
+
id: string;
|
|
18778
|
+
}>;
|
|
18779
|
+
path: "ticket-service/ticket/ticket_count/contact/:id";
|
|
18662
18780
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18663
18781
|
'x-tenant': z.ZodString;
|
|
18664
18782
|
authorization: z.ZodString;
|
|
@@ -18675,20 +18793,10 @@ export declare const ticketContract: {
|
|
|
18675
18793
|
'x-code'?: string | undefined;
|
|
18676
18794
|
'x-client-timezone'?: string | undefined;
|
|
18677
18795
|
}>>>;
|
|
18678
|
-
};
|
|
18679
|
-
getTicketCountByContact: {
|
|
18680
|
-
summary: "Get ticket count by contact";
|
|
18681
|
-
method: "GET";
|
|
18682
|
-
pathParams: z.ZodObject<{
|
|
18683
|
-
id: z.ZodString;
|
|
18684
|
-
}, "strip", z.ZodTypeAny, {
|
|
18685
|
-
id: string;
|
|
18686
|
-
}, {
|
|
18687
|
-
id: string;
|
|
18688
|
-
}>;
|
|
18689
18796
|
responses: {
|
|
18690
|
-
200: z.ZodObject<{
|
|
18797
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
18691
18798
|
requestId: z.ZodString;
|
|
18799
|
+
}, {
|
|
18692
18800
|
data: z.ZodObject<{
|
|
18693
18801
|
total: z.ZodNumber;
|
|
18694
18802
|
open: z.ZodNumber;
|
|
@@ -18708,7 +18816,7 @@ export declare const ticketContract: {
|
|
|
18708
18816
|
pending: number;
|
|
18709
18817
|
solved: number;
|
|
18710
18818
|
}>;
|
|
18711
|
-
}
|
|
18819
|
+
}>, "strip", z.ZodTypeAny, {
|
|
18712
18820
|
data: {
|
|
18713
18821
|
total: number;
|
|
18714
18822
|
closed: number;
|
|
@@ -18755,23 +18863,6 @@ export declare const ticketContract: {
|
|
|
18755
18863
|
error?: any;
|
|
18756
18864
|
}>;
|
|
18757
18865
|
};
|
|
18758
|
-
path: "ticket-service/ticket/ticket_count/contact/:id";
|
|
18759
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18760
|
-
'x-tenant': z.ZodString;
|
|
18761
|
-
authorization: z.ZodString;
|
|
18762
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
18763
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
18764
|
-
}, "strip", z.ZodTypeAny, {
|
|
18765
|
-
'x-tenant': string;
|
|
18766
|
-
authorization: string;
|
|
18767
|
-
'x-client-timezone': string;
|
|
18768
|
-
'x-code'?: string | undefined;
|
|
18769
|
-
}, {
|
|
18770
|
-
'x-tenant': string;
|
|
18771
|
-
authorization: string;
|
|
18772
|
-
'x-code'?: string | undefined;
|
|
18773
|
-
'x-client-timezone'?: string | undefined;
|
|
18774
|
-
}>>>;
|
|
18775
18866
|
};
|
|
18776
18867
|
createTicketAttachmentRecords: {
|
|
18777
18868
|
body: z.ZodObject<{
|
|
@@ -18819,23 +18910,43 @@ export declare const ticketContract: {
|
|
|
18819
18910
|
}>;
|
|
18820
18911
|
summary: "Create a new ticket attachment";
|
|
18821
18912
|
method: "POST";
|
|
18913
|
+
path: "ticket-service/ticket/attachment";
|
|
18914
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18915
|
+
'x-tenant': z.ZodString;
|
|
18916
|
+
authorization: z.ZodString;
|
|
18917
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
18918
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
18919
|
+
}, "strip", z.ZodTypeAny, {
|
|
18920
|
+
'x-tenant': string;
|
|
18921
|
+
authorization: string;
|
|
18922
|
+
'x-client-timezone': string;
|
|
18923
|
+
'x-code'?: string | undefined;
|
|
18924
|
+
}, {
|
|
18925
|
+
'x-tenant': string;
|
|
18926
|
+
authorization: string;
|
|
18927
|
+
'x-code'?: string | undefined;
|
|
18928
|
+
'x-client-timezone'?: string | undefined;
|
|
18929
|
+
}>>>;
|
|
18822
18930
|
responses: {
|
|
18823
|
-
201: z.ZodObject<{
|
|
18931
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
18824
18932
|
requestId: z.ZodString;
|
|
18825
|
-
|
|
18933
|
+
}, {
|
|
18934
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
18826
18935
|
id: z.ZodString;
|
|
18827
18936
|
createdAt: z.ZodDate;
|
|
18828
18937
|
updatedAt: z.ZodDate;
|
|
18829
18938
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
18939
|
+
}, {
|
|
18830
18940
|
textValue: z.ZodNullable<z.ZodString>;
|
|
18831
18941
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
18832
18942
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
18833
18943
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
18834
|
-
attribute: z.ZodObject<Omit<{
|
|
18944
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
18835
18945
|
id: z.ZodString;
|
|
18836
18946
|
createdAt: z.ZodDate;
|
|
18837
18947
|
updatedAt: z.ZodDate;
|
|
18838
18948
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
18949
|
+
}, {
|
|
18839
18950
|
systemName: z.ZodString;
|
|
18840
18951
|
displayName: z.ZodString;
|
|
18841
18952
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -18844,13 +18955,14 @@ export declare const ticketContract: {
|
|
|
18844
18955
|
isArchived: z.ZodBoolean;
|
|
18845
18956
|
isRequired: z.ZodBoolean;
|
|
18846
18957
|
isUnique: z.ZodBoolean;
|
|
18847
|
-
options: z.ZodArray<z.ZodObject<{
|
|
18848
|
-
position: z.ZodNumber;
|
|
18849
|
-
value: z.ZodString;
|
|
18958
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
18850
18959
|
label: z.ZodString;
|
|
18960
|
+
value: z.ZodString;
|
|
18851
18961
|
isDefault: z.ZodBoolean;
|
|
18962
|
+
position: z.ZodNumber;
|
|
18963
|
+
}, {
|
|
18852
18964
|
id: z.ZodString;
|
|
18853
|
-
}
|
|
18965
|
+
}>, "strip", z.ZodTypeAny, {
|
|
18854
18966
|
id: string;
|
|
18855
18967
|
position: number;
|
|
18856
18968
|
value: string;
|
|
@@ -18863,14 +18975,15 @@ export declare const ticketContract: {
|
|
|
18863
18975
|
label: string;
|
|
18864
18976
|
isDefault: boolean;
|
|
18865
18977
|
}>, "many">;
|
|
18866
|
-
group: z.ZodObject<{
|
|
18978
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
18867
18979
|
id: z.ZodString;
|
|
18868
18980
|
createdAt: z.ZodDate;
|
|
18869
18981
|
updatedAt: z.ZodDate;
|
|
18870
18982
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
18983
|
+
}, {
|
|
18871
18984
|
systemName: z.ZodString;
|
|
18872
18985
|
displayName: z.ZodString;
|
|
18873
|
-
}
|
|
18986
|
+
}>, "strip", z.ZodTypeAny, {
|
|
18874
18987
|
id: string;
|
|
18875
18988
|
createdAt: Date;
|
|
18876
18989
|
updatedAt: Date;
|
|
@@ -18885,7 +18998,7 @@ export declare const ticketContract: {
|
|
|
18885
18998
|
systemName: string;
|
|
18886
18999
|
displayName: string;
|
|
18887
19000
|
}>;
|
|
18888
|
-
}
|
|
19001
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
18889
19002
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
18890
19003
|
id: string;
|
|
18891
19004
|
position: number;
|
|
@@ -18912,18 +19025,19 @@ export declare const ticketContract: {
|
|
|
18912
19025
|
isRequired: boolean;
|
|
18913
19026
|
isUnique: boolean;
|
|
18914
19027
|
}>;
|
|
18915
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
19028
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
18916
19029
|
id: z.ZodString;
|
|
18917
19030
|
createdAt: z.ZodDate;
|
|
18918
19031
|
updatedAt: z.ZodDate;
|
|
18919
19032
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
19033
|
+
}, {
|
|
18920
19034
|
bucketName: z.ZodString;
|
|
18921
19035
|
fileName: z.ZodString;
|
|
18922
19036
|
fileSize: z.ZodNumber;
|
|
18923
19037
|
fileKey: z.ZodString;
|
|
18924
19038
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
18925
19039
|
status: z.ZodNullable<z.ZodString>;
|
|
18926
|
-
}
|
|
19040
|
+
}>, "strip", z.ZodTypeAny, {
|
|
18927
19041
|
id: string;
|
|
18928
19042
|
status: string | null;
|
|
18929
19043
|
createdAt: Date;
|
|
@@ -18946,7 +19060,7 @@ export declare const ticketContract: {
|
|
|
18946
19060
|
fileSize: number;
|
|
18947
19061
|
fileUrl: string | null;
|
|
18948
19062
|
}>, "many">;
|
|
18949
|
-
}
|
|
19063
|
+
}>, "strip", z.ZodTypeAny, {
|
|
18950
19064
|
id: string;
|
|
18951
19065
|
createdAt: Date;
|
|
18952
19066
|
updatedAt: Date;
|
|
@@ -19017,7 +19131,7 @@ export declare const ticketContract: {
|
|
|
19017
19131
|
fileUrl: string | null;
|
|
19018
19132
|
}[];
|
|
19019
19133
|
}>;
|
|
19020
|
-
}
|
|
19134
|
+
}>, "strip", z.ZodTypeAny, {
|
|
19021
19135
|
data: {
|
|
19022
19136
|
id: string;
|
|
19023
19137
|
createdAt: Date;
|
|
@@ -19146,23 +19260,6 @@ export declare const ticketContract: {
|
|
|
19146
19260
|
error?: any;
|
|
19147
19261
|
}>;
|
|
19148
19262
|
};
|
|
19149
|
-
path: "ticket-service/ticket/attachment";
|
|
19150
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19151
|
-
'x-tenant': z.ZodString;
|
|
19152
|
-
authorization: z.ZodString;
|
|
19153
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
19154
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
19155
|
-
}, "strip", z.ZodTypeAny, {
|
|
19156
|
-
'x-tenant': string;
|
|
19157
|
-
authorization: string;
|
|
19158
|
-
'x-client-timezone': string;
|
|
19159
|
-
'x-code'?: string | undefined;
|
|
19160
|
-
}, {
|
|
19161
|
-
'x-tenant': string;
|
|
19162
|
-
authorization: string;
|
|
19163
|
-
'x-code'?: string | undefined;
|
|
19164
|
-
'x-client-timezone'?: string | undefined;
|
|
19165
|
-
}>>>;
|
|
19166
19263
|
};
|
|
19167
19264
|
exportTicket: {
|
|
19168
19265
|
summary: "Export tickets";
|
|
@@ -19188,54 +19285,71 @@ export declare const ticketContract: {
|
|
|
19188
19285
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
19189
19286
|
}, "strip", z.ZodTypeAny, {
|
|
19190
19287
|
type: string;
|
|
19191
|
-
value:
|
|
19288
|
+
value: string | string[];
|
|
19192
19289
|
attributeId: string;
|
|
19193
19290
|
}, {
|
|
19194
19291
|
type: string;
|
|
19195
|
-
value:
|
|
19292
|
+
value: string | string[];
|
|
19196
19293
|
attributeId: string;
|
|
19197
19294
|
}>, "many">>;
|
|
19198
19295
|
}, "strip", z.ZodTypeAny, {
|
|
19199
|
-
|
|
19200
|
-
|
|
19201
|
-
|
|
19296
|
+
type?: string[] | undefined;
|
|
19297
|
+
channel?: string[] | undefined;
|
|
19298
|
+
priority?: string[] | undefined;
|
|
19202
19299
|
title?: string | undefined;
|
|
19203
19300
|
description?: string | undefined;
|
|
19204
19301
|
status?: string[] | undefined;
|
|
19205
|
-
priority?: string[] | undefined;
|
|
19206
|
-
assignee?: string[] | undefined;
|
|
19207
|
-
channel?: string[] | undefined;
|
|
19208
|
-
type?: string[] | undefined;
|
|
19209
|
-
ticketType?: string[] | undefined;
|
|
19210
|
-
contact?: string[] | undefined;
|
|
19211
|
-
tags?: string[] | undefined;
|
|
19212
19302
|
categories?: string[] | undefined;
|
|
19303
|
+
contact?: string[] | undefined;
|
|
19213
19304
|
customFields?: {
|
|
19214
19305
|
type: string;
|
|
19215
|
-
value:
|
|
19306
|
+
value: string | string[];
|
|
19216
19307
|
attributeId: string;
|
|
19217
19308
|
}[] | undefined;
|
|
19218
|
-
|
|
19309
|
+
tags?: string[] | undefined;
|
|
19310
|
+
assignee?: string[] | undefined;
|
|
19219
19311
|
agent?: string[] | undefined;
|
|
19220
|
-
selectedDate?: string | undefined;
|
|
19221
19312
|
keyword?: string | undefined;
|
|
19313
|
+
selectedDate?: string | undefined;
|
|
19314
|
+
ticketType?: string[] | undefined;
|
|
19315
|
+
}, {
|
|
19316
|
+
type?: string[] | undefined;
|
|
19317
|
+
channel?: string[] | undefined;
|
|
19318
|
+
priority?: string[] | undefined;
|
|
19222
19319
|
title?: string | undefined;
|
|
19223
19320
|
description?: string | undefined;
|
|
19224
19321
|
status?: string[] | undefined;
|
|
19225
|
-
priority?: string[] | undefined;
|
|
19226
|
-
assignee?: string[] | undefined;
|
|
19227
|
-
channel?: string[] | undefined;
|
|
19228
|
-
type?: string[] | undefined;
|
|
19229
|
-
ticketType?: string[] | undefined;
|
|
19230
|
-
contact?: string[] | undefined;
|
|
19231
|
-
tags?: string[] | undefined;
|
|
19232
19322
|
categories?: string[] | undefined;
|
|
19323
|
+
contact?: string[] | undefined;
|
|
19233
19324
|
customFields?: {
|
|
19234
19325
|
type: string;
|
|
19235
|
-
value:
|
|
19326
|
+
value: string | string[];
|
|
19236
19327
|
attributeId: string;
|
|
19237
19328
|
}[] | undefined;
|
|
19329
|
+
tags?: string[] | undefined;
|
|
19330
|
+
assignee?: string[] | undefined;
|
|
19331
|
+
agent?: string[] | undefined;
|
|
19332
|
+
keyword?: string | undefined;
|
|
19333
|
+
selectedDate?: string | undefined;
|
|
19334
|
+
ticketType?: string[] | undefined;
|
|
19238
19335
|
}>;
|
|
19336
|
+
path: "ticket-service/ticket/export";
|
|
19337
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19338
|
+
'x-tenant': z.ZodString;
|
|
19339
|
+
authorization: z.ZodString;
|
|
19340
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
19341
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
19342
|
+
}, "strip", z.ZodTypeAny, {
|
|
19343
|
+
'x-tenant': string;
|
|
19344
|
+
authorization: string;
|
|
19345
|
+
'x-client-timezone': string;
|
|
19346
|
+
'x-code'?: string | undefined;
|
|
19347
|
+
}, {
|
|
19348
|
+
'x-tenant': string;
|
|
19349
|
+
authorization: string;
|
|
19350
|
+
'x-code'?: string | undefined;
|
|
19351
|
+
'x-client-timezone'?: string | undefined;
|
|
19352
|
+
}>>>;
|
|
19239
19353
|
responses: {
|
|
19240
19354
|
200: null;
|
|
19241
19355
|
401: z.ZodObject<{
|
|
@@ -19249,7 +19363,10 @@ export declare const ticketContract: {
|
|
|
19249
19363
|
error?: any;
|
|
19250
19364
|
}>;
|
|
19251
19365
|
};
|
|
19252
|
-
|
|
19366
|
+
};
|
|
19367
|
+
getTicketReasonRequired: {
|
|
19368
|
+
method: "GET";
|
|
19369
|
+
path: "ticket-service/ticket/gs/ticket-reason-required";
|
|
19253
19370
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19254
19371
|
'x-tenant': z.ZodString;
|
|
19255
19372
|
authorization: z.ZodString;
|
|
@@ -19266,14 +19383,12 @@ export declare const ticketContract: {
|
|
|
19266
19383
|
'x-code'?: string | undefined;
|
|
19267
19384
|
'x-client-timezone'?: string | undefined;
|
|
19268
19385
|
}>>>;
|
|
19269
|
-
};
|
|
19270
|
-
getTicketReasonRequired: {
|
|
19271
|
-
method: "GET";
|
|
19272
19386
|
responses: {
|
|
19273
|
-
200: z.ZodObject<{
|
|
19387
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
19274
19388
|
requestId: z.ZodString;
|
|
19389
|
+
}, {
|
|
19275
19390
|
ticketReasonRequired: z.ZodString;
|
|
19276
|
-
}
|
|
19391
|
+
}>, "strip", z.ZodTypeAny, {
|
|
19277
19392
|
requestId: string;
|
|
19278
19393
|
ticketReasonRequired: string;
|
|
19279
19394
|
}, {
|
|
@@ -19308,6 +19423,16 @@ export declare const ticketContract: {
|
|
|
19308
19423
|
error?: any;
|
|
19309
19424
|
}>;
|
|
19310
19425
|
};
|
|
19426
|
+
};
|
|
19427
|
+
updateTicketReasonRequired: {
|
|
19428
|
+
body: z.ZodObject<{
|
|
19429
|
+
ticketReasonRequired: z.ZodString;
|
|
19430
|
+
}, "strip", z.ZodTypeAny, {
|
|
19431
|
+
ticketReasonRequired: string;
|
|
19432
|
+
}, {
|
|
19433
|
+
ticketReasonRequired: string;
|
|
19434
|
+
}>;
|
|
19435
|
+
method: "PATCH";
|
|
19311
19436
|
path: "ticket-service/ticket/gs/ticket-reason-required";
|
|
19312
19437
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19313
19438
|
'x-tenant': z.ZodString;
|
|
@@ -19325,21 +19450,12 @@ export declare const ticketContract: {
|
|
|
19325
19450
|
'x-code'?: string | undefined;
|
|
19326
19451
|
'x-client-timezone'?: string | undefined;
|
|
19327
19452
|
}>>>;
|
|
19328
|
-
};
|
|
19329
|
-
updateTicketReasonRequired: {
|
|
19330
|
-
body: z.ZodObject<{
|
|
19331
|
-
ticketReasonRequired: z.ZodString;
|
|
19332
|
-
}, "strip", z.ZodTypeAny, {
|
|
19333
|
-
ticketReasonRequired: string;
|
|
19334
|
-
}, {
|
|
19335
|
-
ticketReasonRequired: string;
|
|
19336
|
-
}>;
|
|
19337
|
-
method: "PATCH";
|
|
19338
19453
|
responses: {
|
|
19339
|
-
200: z.ZodObject<{
|
|
19454
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
19340
19455
|
requestId: z.ZodString;
|
|
19456
|
+
}, {
|
|
19341
19457
|
ticketReasonRequired: z.ZodString;
|
|
19342
|
-
}
|
|
19458
|
+
}>, "strip", z.ZodTypeAny, {
|
|
19343
19459
|
requestId: string;
|
|
19344
19460
|
ticketReasonRequired: string;
|
|
19345
19461
|
}, {
|
|
@@ -19374,23 +19490,6 @@ export declare const ticketContract: {
|
|
|
19374
19490
|
error?: any;
|
|
19375
19491
|
}>;
|
|
19376
19492
|
};
|
|
19377
|
-
path: "ticket-service/ticket/gs/ticket-reason-required";
|
|
19378
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19379
|
-
'x-tenant': z.ZodString;
|
|
19380
|
-
authorization: z.ZodString;
|
|
19381
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
19382
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
19383
|
-
}, "strip", z.ZodTypeAny, {
|
|
19384
|
-
'x-tenant': string;
|
|
19385
|
-
authorization: string;
|
|
19386
|
-
'x-client-timezone': string;
|
|
19387
|
-
'x-code'?: string | undefined;
|
|
19388
|
-
}, {
|
|
19389
|
-
'x-tenant': string;
|
|
19390
|
-
authorization: string;
|
|
19391
|
-
'x-code'?: string | undefined;
|
|
19392
|
-
'x-client-timezone'?: string | undefined;
|
|
19393
|
-
}>>>;
|
|
19394
19493
|
};
|
|
19395
19494
|
};
|
|
19396
19495
|
//# sourceMappingURL=index.d.ts.map
|