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