@kl1/contracts 1.2.26-uat → 1.2.27-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 +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +136 -109
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +686 -568
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +299 -218
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +23919 -22617
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1469 -1419
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +98 -98
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +71 -49
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +722 -623
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +4242 -4219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4239 -4217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -133,9 +133,27 @@ export declare const contactContract: {
|
|
133
133
|
}>;
|
134
134
|
summary: "Create a new contact";
|
135
135
|
method: "POST";
|
136
|
+
path: "contact-service/contact";
|
137
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
138
|
+
'x-tenant': z.ZodString;
|
139
|
+
authorization: z.ZodString;
|
140
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
141
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
143
|
+
'x-tenant': string;
|
144
|
+
authorization: string;
|
145
|
+
'x-client-timezone': string;
|
146
|
+
'x-code'?: string | undefined;
|
147
|
+
}, {
|
148
|
+
'x-tenant': string;
|
149
|
+
authorization: string;
|
150
|
+
'x-code'?: string | undefined;
|
151
|
+
'x-client-timezone'?: string | undefined;
|
152
|
+
}>>>;
|
136
153
|
responses: {
|
137
|
-
201: z.ZodObject<{
|
154
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
138
155
|
requestId: z.ZodString;
|
156
|
+
}, {
|
139
157
|
data: z.ZodObject<{
|
140
158
|
id: z.ZodString;
|
141
159
|
createdAt: z.ZodDate;
|
@@ -147,13 +165,14 @@ export declare const contactContract: {
|
|
147
165
|
notes: z.ZodNullable<z.ZodString>;
|
148
166
|
contactProfile: z.ZodNullable<z.ZodString>;
|
149
167
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
150
|
-
tags: z.ZodArray<z.ZodObject<{
|
168
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
151
169
|
id: z.ZodString;
|
152
170
|
createdAt: z.ZodDate;
|
153
171
|
updatedAt: z.ZodDate;
|
154
172
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
173
|
+
}, {
|
155
174
|
name: z.ZodString;
|
156
|
-
}
|
175
|
+
}>, "strip", z.ZodTypeAny, {
|
157
176
|
name: string;
|
158
177
|
id: string;
|
159
178
|
createdAt: Date;
|
@@ -166,29 +185,32 @@ export declare const contactContract: {
|
|
166
185
|
updatedAt: Date;
|
167
186
|
deletedAt: Date | null;
|
168
187
|
}>, "many">;
|
169
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
188
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
170
189
|
id: z.ZodString;
|
171
190
|
createdAt: z.ZodDate;
|
172
191
|
updatedAt: z.ZodDate;
|
173
192
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
193
|
+
}, {
|
174
194
|
name: z.ZodOptional<z.ZodString>;
|
175
195
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
176
196
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
177
197
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
178
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
198
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
179
199
|
id: z.ZodString;
|
180
200
|
createdAt: z.ZodDate;
|
181
201
|
updatedAt: z.ZodDate;
|
182
202
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
203
|
+
}, {
|
183
204
|
textValue: z.ZodNullable<z.ZodString>;
|
184
205
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
185
206
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
186
207
|
dateValue: z.ZodNullable<z.ZodDate>;
|
187
|
-
attribute: z.ZodObject<Omit<{
|
208
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
188
209
|
id: z.ZodString;
|
189
210
|
createdAt: z.ZodDate;
|
190
211
|
updatedAt: z.ZodDate;
|
191
212
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
213
|
+
}, {
|
192
214
|
systemName: z.ZodString;
|
193
215
|
displayName: z.ZodString;
|
194
216
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -197,13 +219,14 @@ export declare const contactContract: {
|
|
197
219
|
isArchived: z.ZodBoolean;
|
198
220
|
isRequired: z.ZodBoolean;
|
199
221
|
isUnique: z.ZodBoolean;
|
200
|
-
options: z.ZodArray<z.ZodObject<{
|
201
|
-
position: z.ZodNumber;
|
202
|
-
value: z.ZodString;
|
222
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
203
223
|
label: z.ZodString;
|
224
|
+
value: z.ZodString;
|
204
225
|
isDefault: z.ZodBoolean;
|
226
|
+
position: z.ZodNumber;
|
227
|
+
}, {
|
205
228
|
id: z.ZodString;
|
206
|
-
}
|
229
|
+
}>, "strip", z.ZodTypeAny, {
|
207
230
|
id: string;
|
208
231
|
position: number;
|
209
232
|
value: string;
|
@@ -216,14 +239,15 @@ export declare const contactContract: {
|
|
216
239
|
label: string;
|
217
240
|
isDefault: boolean;
|
218
241
|
}>, "many">;
|
219
|
-
group: z.ZodObject<{
|
242
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
220
243
|
id: z.ZodString;
|
221
244
|
createdAt: z.ZodDate;
|
222
245
|
updatedAt: z.ZodDate;
|
223
246
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
247
|
+
}, {
|
224
248
|
systemName: z.ZodString;
|
225
249
|
displayName: z.ZodString;
|
226
|
-
}
|
250
|
+
}>, "strip", z.ZodTypeAny, {
|
227
251
|
id: string;
|
228
252
|
createdAt: Date;
|
229
253
|
updatedAt: Date;
|
@@ -238,7 +262,7 @@ export declare const contactContract: {
|
|
238
262
|
systemName: string;
|
239
263
|
displayName: string;
|
240
264
|
}>;
|
241
|
-
}
|
265
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
242
266
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
243
267
|
id: string;
|
244
268
|
position: number;
|
@@ -265,7 +289,7 @@ export declare const contactContract: {
|
|
265
289
|
isRequired: boolean;
|
266
290
|
isUnique: boolean;
|
267
291
|
}>;
|
268
|
-
}
|
292
|
+
}>, "strip", z.ZodTypeAny, {
|
269
293
|
id: string;
|
270
294
|
createdAt: Date;
|
271
295
|
updatedAt: Date;
|
@@ -312,7 +336,7 @@ export declare const contactContract: {
|
|
312
336
|
numberValue: number | null;
|
313
337
|
dateValue: Date | null;
|
314
338
|
}>, "many">>;
|
315
|
-
}
|
339
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
316
340
|
id: string;
|
317
341
|
createdAt: Date;
|
318
342
|
updatedAt: Date;
|
@@ -393,11 +417,12 @@ export declare const contactContract: {
|
|
393
417
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
394
418
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
395
419
|
dateValue: z.ZodNullable<z.ZodDate>;
|
396
|
-
attribute: z.ZodObject<Omit<{
|
420
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
397
421
|
id: z.ZodString;
|
398
422
|
createdAt: z.ZodDate;
|
399
423
|
updatedAt: z.ZodDate;
|
400
424
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
425
|
+
}, {
|
401
426
|
systemName: z.ZodString;
|
402
427
|
displayName: z.ZodString;
|
403
428
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -406,13 +431,14 @@ export declare const contactContract: {
|
|
406
431
|
isArchived: z.ZodBoolean;
|
407
432
|
isRequired: z.ZodBoolean;
|
408
433
|
isUnique: z.ZodBoolean;
|
409
|
-
options: z.ZodArray<z.ZodObject<{
|
410
|
-
position: z.ZodNumber;
|
411
|
-
value: z.ZodString;
|
434
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
412
435
|
label: z.ZodString;
|
436
|
+
value: z.ZodString;
|
413
437
|
isDefault: z.ZodBoolean;
|
438
|
+
position: z.ZodNumber;
|
439
|
+
}, {
|
414
440
|
id: z.ZodString;
|
415
|
-
}
|
441
|
+
}>, "strip", z.ZodTypeAny, {
|
416
442
|
id: string;
|
417
443
|
position: number;
|
418
444
|
value: string;
|
@@ -425,14 +451,15 @@ export declare const contactContract: {
|
|
425
451
|
label: string;
|
426
452
|
isDefault: boolean;
|
427
453
|
}>, "many">;
|
428
|
-
group: z.ZodObject<{
|
454
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
429
455
|
id: z.ZodString;
|
430
456
|
createdAt: z.ZodDate;
|
431
457
|
updatedAt: z.ZodDate;
|
432
458
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
459
|
+
}, {
|
433
460
|
systemName: z.ZodString;
|
434
461
|
displayName: z.ZodString;
|
435
|
-
}
|
462
|
+
}>, "strip", z.ZodTypeAny, {
|
436
463
|
id: string;
|
437
464
|
createdAt: Date;
|
438
465
|
updatedAt: Date;
|
@@ -447,7 +474,7 @@ export declare const contactContract: {
|
|
447
474
|
systemName: string;
|
448
475
|
displayName: string;
|
449
476
|
}>;
|
450
|
-
}
|
477
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
451
478
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
452
479
|
id: string;
|
453
480
|
position: number;
|
@@ -474,18 +501,19 @@ export declare const contactContract: {
|
|
474
501
|
isRequired: boolean;
|
475
502
|
isUnique: boolean;
|
476
503
|
}>;
|
477
|
-
uploads: z.ZodArray<z.ZodObject<{
|
504
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
478
505
|
id: z.ZodString;
|
479
506
|
createdAt: z.ZodDate;
|
480
507
|
updatedAt: z.ZodDate;
|
481
508
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
509
|
+
}, {
|
482
510
|
bucketName: z.ZodString;
|
483
511
|
fileName: z.ZodString;
|
484
512
|
fileSize: z.ZodNumber;
|
485
513
|
fileKey: z.ZodString;
|
486
514
|
fileUrl: z.ZodNullable<z.ZodString>;
|
487
515
|
status: z.ZodNullable<z.ZodString>;
|
488
|
-
}
|
516
|
+
}>, "strip", z.ZodTypeAny, {
|
489
517
|
id: string;
|
490
518
|
status: string | null;
|
491
519
|
createdAt: Date;
|
@@ -906,7 +934,7 @@ export declare const contactContract: {
|
|
906
934
|
};
|
907
935
|
}[] | undefined;
|
908
936
|
}>;
|
909
|
-
}
|
937
|
+
}>, "strip", z.ZodTypeAny, {
|
910
938
|
data: {
|
911
939
|
name: string;
|
912
940
|
id: string;
|
@@ -1187,23 +1215,6 @@ export declare const contactContract: {
|
|
1187
1215
|
error?: any;
|
1188
1216
|
}>;
|
1189
1217
|
};
|
1190
|
-
path: "contact-service/contact";
|
1191
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1192
|
-
'x-tenant': z.ZodString;
|
1193
|
-
authorization: z.ZodString;
|
1194
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
1195
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1196
|
-
}, "strip", z.ZodTypeAny, {
|
1197
|
-
'x-tenant': string;
|
1198
|
-
authorization: string;
|
1199
|
-
'x-client-timezone': string;
|
1200
|
-
'x-code'?: string | undefined;
|
1201
|
-
}, {
|
1202
|
-
'x-tenant': string;
|
1203
|
-
authorization: string;
|
1204
|
-
'x-code'?: string | undefined;
|
1205
|
-
'x-client-timezone'?: string | undefined;
|
1206
|
-
}>>>;
|
1207
1218
|
};
|
1208
1219
|
getAll: {
|
1209
1220
|
summary: "Get all contacts";
|
@@ -1223,11 +1234,11 @@ export declare const contactContract: {
|
|
1223
1234
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
1224
1235
|
}, "strip", z.ZodTypeAny, {
|
1225
1236
|
type: string;
|
1226
|
-
value:
|
1237
|
+
value: string | string[];
|
1227
1238
|
attributeId: string;
|
1228
1239
|
}, {
|
1229
1240
|
type: string;
|
1230
|
-
value:
|
1241
|
+
value: string | string[];
|
1231
1242
|
attributeId: string;
|
1232
1243
|
}>, "many">>;
|
1233
1244
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1235,45 +1246,63 @@ export declare const contactContract: {
|
|
1235
1246
|
email: z.ZodOptional<z.ZodString>;
|
1236
1247
|
notes: z.ZodOptional<z.ZodString>;
|
1237
1248
|
}, "strip", z.ZodTypeAny, {
|
1238
|
-
page?: number | undefined;
|
1239
|
-
pageSize?: number | undefined;
|
1240
|
-
keyword?: string | undefined;
|
1241
|
-
company?: string[] | undefined;
|
1242
1249
|
name?: string | undefined;
|
1243
|
-
address?: string | undefined;
|
1244
1250
|
channel?: string[] | undefined;
|
1245
|
-
|
1251
|
+
address?: string | undefined;
|
1252
|
+
page?: number | undefined;
|
1253
|
+
email?: string | undefined;
|
1254
|
+
pageSize?: number | undefined;
|
1255
|
+
phone?: string | undefined;
|
1246
1256
|
customFields?: {
|
1247
1257
|
type: string;
|
1248
|
-
value:
|
1258
|
+
value: string | string[];
|
1249
1259
|
attributeId: string;
|
1250
1260
|
}[] | undefined;
|
1251
|
-
|
1252
|
-
phone?: string | undefined;
|
1253
|
-
email?: string | undefined;
|
1261
|
+
company?: string[] | undefined;
|
1254
1262
|
notes?: string | undefined;
|
1255
|
-
|
1256
|
-
page?: number | undefined;
|
1257
|
-
pageSize?: number | undefined;
|
1263
|
+
tags?: string[] | undefined;
|
1258
1264
|
keyword?: string | undefined;
|
1259
|
-
|
1265
|
+
selectedDate?: string | undefined;
|
1266
|
+
}, {
|
1260
1267
|
name?: string | undefined;
|
1261
|
-
address?: string | undefined;
|
1262
1268
|
channel?: string[] | undefined;
|
1263
|
-
|
1269
|
+
address?: string | undefined;
|
1270
|
+
page?: number | undefined;
|
1271
|
+
email?: string | undefined;
|
1272
|
+
pageSize?: number | undefined;
|
1273
|
+
phone?: string | undefined;
|
1264
1274
|
customFields?: {
|
1265
1275
|
type: string;
|
1266
|
-
value:
|
1276
|
+
value: string | string[];
|
1267
1277
|
attributeId: string;
|
1268
1278
|
}[] | undefined;
|
1269
|
-
|
1270
|
-
phone?: string | undefined;
|
1271
|
-
email?: string | undefined;
|
1279
|
+
company?: string[] | undefined;
|
1272
1280
|
notes?: string | undefined;
|
1281
|
+
tags?: string[] | undefined;
|
1282
|
+
keyword?: string | undefined;
|
1283
|
+
selectedDate?: string | undefined;
|
1273
1284
|
}>;
|
1285
|
+
path: "contact-service/contact";
|
1286
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1287
|
+
'x-tenant': z.ZodString;
|
1288
|
+
authorization: z.ZodString;
|
1289
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1290
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
1292
|
+
'x-tenant': string;
|
1293
|
+
authorization: string;
|
1294
|
+
'x-client-timezone': string;
|
1295
|
+
'x-code'?: string | undefined;
|
1296
|
+
}, {
|
1297
|
+
'x-tenant': string;
|
1298
|
+
authorization: string;
|
1299
|
+
'x-code'?: string | undefined;
|
1300
|
+
'x-client-timezone'?: string | undefined;
|
1301
|
+
}>>>;
|
1274
1302
|
responses: {
|
1275
|
-
200: z.ZodObject<{
|
1303
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
1276
1304
|
requestId: z.ZodString;
|
1305
|
+
}, {
|
1277
1306
|
page: z.ZodNumber;
|
1278
1307
|
pageSize: z.ZodNumber;
|
1279
1308
|
total: z.ZodNumber;
|
@@ -1289,13 +1318,14 @@ export declare const contactContract: {
|
|
1289
1318
|
notes: z.ZodNullable<z.ZodString>;
|
1290
1319
|
contactProfile: z.ZodNullable<z.ZodString>;
|
1291
1320
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
1292
|
-
tags: z.ZodArray<z.ZodObject<{
|
1321
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1293
1322
|
id: z.ZodString;
|
1294
1323
|
createdAt: z.ZodDate;
|
1295
1324
|
updatedAt: z.ZodDate;
|
1296
1325
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1326
|
+
}, {
|
1297
1327
|
name: z.ZodString;
|
1298
|
-
}
|
1328
|
+
}>, "strip", z.ZodTypeAny, {
|
1299
1329
|
name: string;
|
1300
1330
|
id: string;
|
1301
1331
|
createdAt: Date;
|
@@ -1308,29 +1338,32 @@ export declare const contactContract: {
|
|
1308
1338
|
updatedAt: Date;
|
1309
1339
|
deletedAt: Date | null;
|
1310
1340
|
}>, "many">;
|
1311
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
1341
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1312
1342
|
id: z.ZodString;
|
1313
1343
|
createdAt: z.ZodDate;
|
1314
1344
|
updatedAt: z.ZodDate;
|
1315
1345
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1346
|
+
}, {
|
1316
1347
|
name: z.ZodOptional<z.ZodString>;
|
1317
1348
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1318
1349
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1319
1350
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1320
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1351
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1321
1352
|
id: z.ZodString;
|
1322
1353
|
createdAt: z.ZodDate;
|
1323
1354
|
updatedAt: z.ZodDate;
|
1324
1355
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1356
|
+
}, {
|
1325
1357
|
textValue: z.ZodNullable<z.ZodString>;
|
1326
1358
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1327
1359
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1328
1360
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1329
|
-
attribute: z.ZodObject<Omit<{
|
1361
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1330
1362
|
id: z.ZodString;
|
1331
1363
|
createdAt: z.ZodDate;
|
1332
1364
|
updatedAt: z.ZodDate;
|
1333
1365
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1366
|
+
}, {
|
1334
1367
|
systemName: z.ZodString;
|
1335
1368
|
displayName: z.ZodString;
|
1336
1369
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1339,13 +1372,14 @@ export declare const contactContract: {
|
|
1339
1372
|
isArchived: z.ZodBoolean;
|
1340
1373
|
isRequired: z.ZodBoolean;
|
1341
1374
|
isUnique: z.ZodBoolean;
|
1342
|
-
options: z.ZodArray<z.ZodObject<{
|
1343
|
-
position: z.ZodNumber;
|
1344
|
-
value: z.ZodString;
|
1375
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1345
1376
|
label: z.ZodString;
|
1377
|
+
value: z.ZodString;
|
1346
1378
|
isDefault: z.ZodBoolean;
|
1379
|
+
position: z.ZodNumber;
|
1380
|
+
}, {
|
1347
1381
|
id: z.ZodString;
|
1348
|
-
}
|
1382
|
+
}>, "strip", z.ZodTypeAny, {
|
1349
1383
|
id: string;
|
1350
1384
|
position: number;
|
1351
1385
|
value: string;
|
@@ -1358,14 +1392,15 @@ export declare const contactContract: {
|
|
1358
1392
|
label: string;
|
1359
1393
|
isDefault: boolean;
|
1360
1394
|
}>, "many">;
|
1361
|
-
group: z.ZodObject<{
|
1395
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
1362
1396
|
id: z.ZodString;
|
1363
1397
|
createdAt: z.ZodDate;
|
1364
1398
|
updatedAt: z.ZodDate;
|
1365
1399
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1400
|
+
}, {
|
1366
1401
|
systemName: z.ZodString;
|
1367
1402
|
displayName: z.ZodString;
|
1368
|
-
}
|
1403
|
+
}>, "strip", z.ZodTypeAny, {
|
1369
1404
|
id: string;
|
1370
1405
|
createdAt: Date;
|
1371
1406
|
updatedAt: Date;
|
@@ -1380,7 +1415,7 @@ export declare const contactContract: {
|
|
1380
1415
|
systemName: string;
|
1381
1416
|
displayName: string;
|
1382
1417
|
}>;
|
1383
|
-
}
|
1418
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
1384
1419
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1385
1420
|
id: string;
|
1386
1421
|
position: number;
|
@@ -1407,7 +1442,7 @@ export declare const contactContract: {
|
|
1407
1442
|
isRequired: boolean;
|
1408
1443
|
isUnique: boolean;
|
1409
1444
|
}>;
|
1410
|
-
}
|
1445
|
+
}>, "strip", z.ZodTypeAny, {
|
1411
1446
|
id: string;
|
1412
1447
|
createdAt: Date;
|
1413
1448
|
updatedAt: Date;
|
@@ -1454,7 +1489,7 @@ export declare const contactContract: {
|
|
1454
1489
|
numberValue: number | null;
|
1455
1490
|
dateValue: Date | null;
|
1456
1491
|
}>, "many">>;
|
1457
|
-
}
|
1492
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
1458
1493
|
id: string;
|
1459
1494
|
createdAt: Date;
|
1460
1495
|
updatedAt: Date;
|
@@ -1535,11 +1570,12 @@ export declare const contactContract: {
|
|
1535
1570
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1536
1571
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1537
1572
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1538
|
-
attribute: z.ZodObject<Omit<{
|
1573
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1539
1574
|
id: z.ZodString;
|
1540
1575
|
createdAt: z.ZodDate;
|
1541
1576
|
updatedAt: z.ZodDate;
|
1542
1577
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1578
|
+
}, {
|
1543
1579
|
systemName: z.ZodString;
|
1544
1580
|
displayName: z.ZodString;
|
1545
1581
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1548,13 +1584,14 @@ export declare const contactContract: {
|
|
1548
1584
|
isArchived: z.ZodBoolean;
|
1549
1585
|
isRequired: z.ZodBoolean;
|
1550
1586
|
isUnique: z.ZodBoolean;
|
1551
|
-
options: z.ZodArray<z.ZodObject<{
|
1552
|
-
position: z.ZodNumber;
|
1553
|
-
value: z.ZodString;
|
1587
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1554
1588
|
label: z.ZodString;
|
1589
|
+
value: z.ZodString;
|
1555
1590
|
isDefault: z.ZodBoolean;
|
1591
|
+
position: z.ZodNumber;
|
1592
|
+
}, {
|
1556
1593
|
id: z.ZodString;
|
1557
|
-
}
|
1594
|
+
}>, "strip", z.ZodTypeAny, {
|
1558
1595
|
id: string;
|
1559
1596
|
position: number;
|
1560
1597
|
value: string;
|
@@ -1567,14 +1604,15 @@ export declare const contactContract: {
|
|
1567
1604
|
label: string;
|
1568
1605
|
isDefault: boolean;
|
1569
1606
|
}>, "many">;
|
1570
|
-
group: z.ZodObject<{
|
1607
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
1571
1608
|
id: z.ZodString;
|
1572
1609
|
createdAt: z.ZodDate;
|
1573
1610
|
updatedAt: z.ZodDate;
|
1574
1611
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1612
|
+
}, {
|
1575
1613
|
systemName: z.ZodString;
|
1576
1614
|
displayName: z.ZodString;
|
1577
|
-
}
|
1615
|
+
}>, "strip", z.ZodTypeAny, {
|
1578
1616
|
id: string;
|
1579
1617
|
createdAt: Date;
|
1580
1618
|
updatedAt: Date;
|
@@ -1589,7 +1627,7 @@ export declare const contactContract: {
|
|
1589
1627
|
systemName: string;
|
1590
1628
|
displayName: string;
|
1591
1629
|
}>;
|
1592
|
-
}
|
1630
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
1593
1631
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1594
1632
|
id: string;
|
1595
1633
|
position: number;
|
@@ -1616,18 +1654,19 @@ export declare const contactContract: {
|
|
1616
1654
|
isRequired: boolean;
|
1617
1655
|
isUnique: boolean;
|
1618
1656
|
}>;
|
1619
|
-
uploads: z.ZodArray<z.ZodObject<{
|
1657
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1620
1658
|
id: z.ZodString;
|
1621
1659
|
createdAt: z.ZodDate;
|
1622
1660
|
updatedAt: z.ZodDate;
|
1623
1661
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1662
|
+
}, {
|
1624
1663
|
bucketName: z.ZodString;
|
1625
1664
|
fileName: z.ZodString;
|
1626
1665
|
fileSize: z.ZodNumber;
|
1627
1666
|
fileKey: z.ZodString;
|
1628
1667
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1629
1668
|
status: z.ZodNullable<z.ZodString>;
|
1630
|
-
}
|
1669
|
+
}>, "strip", z.ZodTypeAny, {
|
1631
1670
|
id: string;
|
1632
1671
|
status: string | null;
|
1633
1672
|
createdAt: Date;
|
@@ -2048,7 +2087,7 @@ export declare const contactContract: {
|
|
2048
2087
|
};
|
2049
2088
|
}[] | undefined;
|
2050
2089
|
}>, "many">;
|
2051
|
-
}
|
2090
|
+
}>, "strip", z.ZodTypeAny, {
|
2052
2091
|
data: {
|
2053
2092
|
name: string;
|
2054
2093
|
id: string;
|
@@ -2337,23 +2376,6 @@ export declare const contactContract: {
|
|
2337
2376
|
error?: any;
|
2338
2377
|
}>;
|
2339
2378
|
};
|
2340
|
-
path: "contact-service/contact";
|
2341
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2342
|
-
'x-tenant': z.ZodString;
|
2343
|
-
authorization: z.ZodString;
|
2344
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
2345
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2346
|
-
}, "strip", z.ZodTypeAny, {
|
2347
|
-
'x-tenant': string;
|
2348
|
-
authorization: string;
|
2349
|
-
'x-client-timezone': string;
|
2350
|
-
'x-code'?: string | undefined;
|
2351
|
-
}, {
|
2352
|
-
'x-tenant': string;
|
2353
|
-
authorization: string;
|
2354
|
-
'x-code'?: string | undefined;
|
2355
|
-
'x-client-timezone'?: string | undefined;
|
2356
|
-
}>>>;
|
2357
2379
|
};
|
2358
2380
|
filterContacts: {
|
2359
2381
|
summary: "Get all contacts by filtering with only keyword";
|
@@ -2369,23 +2391,41 @@ export declare const contactContract: {
|
|
2369
2391
|
}, "strip", z.ZodTypeAny, {
|
2370
2392
|
page?: number | undefined;
|
2371
2393
|
pageSize?: number | undefined;
|
2372
|
-
keyword?: string | undefined;
|
2373
2394
|
channelType?: string | undefined;
|
2395
|
+
keyword?: string | undefined;
|
2374
2396
|
channelIds?: string[] | undefined;
|
2375
2397
|
withEmail?: boolean | undefined;
|
2376
2398
|
relations?: ("company" | "platformContacts" | "contactEmails" | "contactPhones")[] | undefined;
|
2377
2399
|
}, {
|
2378
2400
|
page?: number | undefined;
|
2379
2401
|
pageSize?: number | undefined;
|
2380
|
-
keyword?: string | undefined;
|
2381
2402
|
channelType?: string | undefined;
|
2403
|
+
keyword?: string | undefined;
|
2382
2404
|
channelIds?: string[] | undefined;
|
2383
2405
|
withEmail?: boolean | undefined;
|
2384
2406
|
relations?: ("company" | "platformContacts" | "contactEmails" | "contactPhones")[] | undefined;
|
2385
2407
|
}>;
|
2408
|
+
path: "contact-service/contact/filter/list";
|
2409
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2410
|
+
'x-tenant': z.ZodString;
|
2411
|
+
authorization: z.ZodString;
|
2412
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2413
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2414
|
+
}, "strip", z.ZodTypeAny, {
|
2415
|
+
'x-tenant': string;
|
2416
|
+
authorization: string;
|
2417
|
+
'x-client-timezone': string;
|
2418
|
+
'x-code'?: string | undefined;
|
2419
|
+
}, {
|
2420
|
+
'x-tenant': string;
|
2421
|
+
authorization: string;
|
2422
|
+
'x-code'?: string | undefined;
|
2423
|
+
'x-client-timezone'?: string | undefined;
|
2424
|
+
}>>>;
|
2386
2425
|
responses: {
|
2387
|
-
200: z.ZodObject<{
|
2426
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
2388
2427
|
requestId: z.ZodString;
|
2428
|
+
}, {
|
2389
2429
|
page: z.ZodNumber;
|
2390
2430
|
pageSize: z.ZodNumber;
|
2391
2431
|
total: z.ZodNumber;
|
@@ -2401,13 +2441,14 @@ export declare const contactContract: {
|
|
2401
2441
|
notes: z.ZodNullable<z.ZodString>;
|
2402
2442
|
contactProfile: z.ZodNullable<z.ZodString>;
|
2403
2443
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
2404
|
-
tags: z.ZodArray<z.ZodObject<{
|
2444
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2405
2445
|
id: z.ZodString;
|
2406
2446
|
createdAt: z.ZodDate;
|
2407
2447
|
updatedAt: z.ZodDate;
|
2408
2448
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2449
|
+
}, {
|
2409
2450
|
name: z.ZodString;
|
2410
|
-
}
|
2451
|
+
}>, "strip", z.ZodTypeAny, {
|
2411
2452
|
name: string;
|
2412
2453
|
id: string;
|
2413
2454
|
createdAt: Date;
|
@@ -2420,29 +2461,32 @@ export declare const contactContract: {
|
|
2420
2461
|
updatedAt: Date;
|
2421
2462
|
deletedAt: Date | null;
|
2422
2463
|
}>, "many">;
|
2423
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
2464
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2424
2465
|
id: z.ZodString;
|
2425
2466
|
createdAt: z.ZodDate;
|
2426
2467
|
updatedAt: z.ZodDate;
|
2427
2468
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2469
|
+
}, {
|
2428
2470
|
name: z.ZodOptional<z.ZodString>;
|
2429
2471
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2430
2472
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2431
2473
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2432
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2474
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2433
2475
|
id: z.ZodString;
|
2434
2476
|
createdAt: z.ZodDate;
|
2435
2477
|
updatedAt: z.ZodDate;
|
2436
2478
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2479
|
+
}, {
|
2437
2480
|
textValue: z.ZodNullable<z.ZodString>;
|
2438
2481
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2439
2482
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2440
2483
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2441
|
-
attribute: z.ZodObject<Omit<{
|
2484
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2442
2485
|
id: z.ZodString;
|
2443
2486
|
createdAt: z.ZodDate;
|
2444
2487
|
updatedAt: z.ZodDate;
|
2445
2488
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2489
|
+
}, {
|
2446
2490
|
systemName: z.ZodString;
|
2447
2491
|
displayName: z.ZodString;
|
2448
2492
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2451,13 +2495,14 @@ export declare const contactContract: {
|
|
2451
2495
|
isArchived: z.ZodBoolean;
|
2452
2496
|
isRequired: z.ZodBoolean;
|
2453
2497
|
isUnique: z.ZodBoolean;
|
2454
|
-
options: z.ZodArray<z.ZodObject<{
|
2455
|
-
position: z.ZodNumber;
|
2456
|
-
value: z.ZodString;
|
2498
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2457
2499
|
label: z.ZodString;
|
2500
|
+
value: z.ZodString;
|
2458
2501
|
isDefault: z.ZodBoolean;
|
2502
|
+
position: z.ZodNumber;
|
2503
|
+
}, {
|
2459
2504
|
id: z.ZodString;
|
2460
|
-
}
|
2505
|
+
}>, "strip", z.ZodTypeAny, {
|
2461
2506
|
id: string;
|
2462
2507
|
position: number;
|
2463
2508
|
value: string;
|
@@ -2470,14 +2515,15 @@ export declare const contactContract: {
|
|
2470
2515
|
label: string;
|
2471
2516
|
isDefault: boolean;
|
2472
2517
|
}>, "many">;
|
2473
|
-
group: z.ZodObject<{
|
2518
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2474
2519
|
id: z.ZodString;
|
2475
2520
|
createdAt: z.ZodDate;
|
2476
2521
|
updatedAt: z.ZodDate;
|
2477
2522
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2523
|
+
}, {
|
2478
2524
|
systemName: z.ZodString;
|
2479
2525
|
displayName: z.ZodString;
|
2480
|
-
}
|
2526
|
+
}>, "strip", z.ZodTypeAny, {
|
2481
2527
|
id: string;
|
2482
2528
|
createdAt: Date;
|
2483
2529
|
updatedAt: Date;
|
@@ -2492,7 +2538,7 @@ export declare const contactContract: {
|
|
2492
2538
|
systemName: string;
|
2493
2539
|
displayName: string;
|
2494
2540
|
}>;
|
2495
|
-
}
|
2541
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2496
2542
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2497
2543
|
id: string;
|
2498
2544
|
position: number;
|
@@ -2519,7 +2565,7 @@ export declare const contactContract: {
|
|
2519
2565
|
isRequired: boolean;
|
2520
2566
|
isUnique: boolean;
|
2521
2567
|
}>;
|
2522
|
-
}
|
2568
|
+
}>, "strip", z.ZodTypeAny, {
|
2523
2569
|
id: string;
|
2524
2570
|
createdAt: Date;
|
2525
2571
|
updatedAt: Date;
|
@@ -2566,7 +2612,7 @@ export declare const contactContract: {
|
|
2566
2612
|
numberValue: number | null;
|
2567
2613
|
dateValue: Date | null;
|
2568
2614
|
}>, "many">>;
|
2569
|
-
}
|
2615
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
2570
2616
|
id: string;
|
2571
2617
|
createdAt: Date;
|
2572
2618
|
updatedAt: Date;
|
@@ -2647,11 +2693,12 @@ export declare const contactContract: {
|
|
2647
2693
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2648
2694
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2649
2695
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2650
|
-
attribute: z.ZodObject<Omit<{
|
2696
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2651
2697
|
id: z.ZodString;
|
2652
2698
|
createdAt: z.ZodDate;
|
2653
2699
|
updatedAt: z.ZodDate;
|
2654
2700
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2701
|
+
}, {
|
2655
2702
|
systemName: z.ZodString;
|
2656
2703
|
displayName: z.ZodString;
|
2657
2704
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2660,13 +2707,14 @@ export declare const contactContract: {
|
|
2660
2707
|
isArchived: z.ZodBoolean;
|
2661
2708
|
isRequired: z.ZodBoolean;
|
2662
2709
|
isUnique: z.ZodBoolean;
|
2663
|
-
options: z.ZodArray<z.ZodObject<{
|
2664
|
-
position: z.ZodNumber;
|
2665
|
-
value: z.ZodString;
|
2710
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2666
2711
|
label: z.ZodString;
|
2712
|
+
value: z.ZodString;
|
2667
2713
|
isDefault: z.ZodBoolean;
|
2714
|
+
position: z.ZodNumber;
|
2715
|
+
}, {
|
2668
2716
|
id: z.ZodString;
|
2669
|
-
}
|
2717
|
+
}>, "strip", z.ZodTypeAny, {
|
2670
2718
|
id: string;
|
2671
2719
|
position: number;
|
2672
2720
|
value: string;
|
@@ -2679,14 +2727,15 @@ export declare const contactContract: {
|
|
2679
2727
|
label: string;
|
2680
2728
|
isDefault: boolean;
|
2681
2729
|
}>, "many">;
|
2682
|
-
group: z.ZodObject<{
|
2730
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2683
2731
|
id: z.ZodString;
|
2684
2732
|
createdAt: z.ZodDate;
|
2685
2733
|
updatedAt: z.ZodDate;
|
2686
2734
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2735
|
+
}, {
|
2687
2736
|
systemName: z.ZodString;
|
2688
2737
|
displayName: z.ZodString;
|
2689
|
-
}
|
2738
|
+
}>, "strip", z.ZodTypeAny, {
|
2690
2739
|
id: string;
|
2691
2740
|
createdAt: Date;
|
2692
2741
|
updatedAt: Date;
|
@@ -2701,7 +2750,7 @@ export declare const contactContract: {
|
|
2701
2750
|
systemName: string;
|
2702
2751
|
displayName: string;
|
2703
2752
|
}>;
|
2704
|
-
}
|
2753
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2705
2754
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2706
2755
|
id: string;
|
2707
2756
|
position: number;
|
@@ -2728,18 +2777,19 @@ export declare const contactContract: {
|
|
2728
2777
|
isRequired: boolean;
|
2729
2778
|
isUnique: boolean;
|
2730
2779
|
}>;
|
2731
|
-
uploads: z.ZodArray<z.ZodObject<{
|
2780
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2732
2781
|
id: z.ZodString;
|
2733
2782
|
createdAt: z.ZodDate;
|
2734
2783
|
updatedAt: z.ZodDate;
|
2735
2784
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2785
|
+
}, {
|
2736
2786
|
bucketName: z.ZodString;
|
2737
2787
|
fileName: z.ZodString;
|
2738
2788
|
fileSize: z.ZodNumber;
|
2739
2789
|
fileKey: z.ZodString;
|
2740
2790
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2741
2791
|
status: z.ZodNullable<z.ZodString>;
|
2742
|
-
}
|
2792
|
+
}>, "strip", z.ZodTypeAny, {
|
2743
2793
|
id: string;
|
2744
2794
|
status: string | null;
|
2745
2795
|
createdAt: Date;
|
@@ -3160,7 +3210,7 @@ export declare const contactContract: {
|
|
3160
3210
|
};
|
3161
3211
|
}[] | undefined;
|
3162
3212
|
}>, "many">;
|
3163
|
-
}
|
3213
|
+
}>, "strip", z.ZodTypeAny, {
|
3164
3214
|
data: {
|
3165
3215
|
name: string;
|
3166
3216
|
id: string;
|
@@ -3449,23 +3499,6 @@ export declare const contactContract: {
|
|
3449
3499
|
error?: any;
|
3450
3500
|
}>;
|
3451
3501
|
};
|
3452
|
-
path: "contact-service/contact/filter/list";
|
3453
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3454
|
-
'x-tenant': z.ZodString;
|
3455
|
-
authorization: z.ZodString;
|
3456
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
3457
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3458
|
-
}, "strip", z.ZodTypeAny, {
|
3459
|
-
'x-tenant': string;
|
3460
|
-
authorization: string;
|
3461
|
-
'x-client-timezone': string;
|
3462
|
-
'x-code'?: string | undefined;
|
3463
|
-
}, {
|
3464
|
-
'x-tenant': string;
|
3465
|
-
authorization: string;
|
3466
|
-
'x-code'?: string | undefined;
|
3467
|
-
'x-client-timezone'?: string | undefined;
|
3468
|
-
}>>>;
|
3469
3502
|
};
|
3470
3503
|
update: {
|
3471
3504
|
body: z.ZodObject<{
|
@@ -3520,60 +3553,60 @@ export declare const contactContract: {
|
|
3520
3553
|
name?: {
|
3521
3554
|
[x: string]: any;
|
3522
3555
|
} | undefined;
|
3523
|
-
email?: {
|
3524
|
-
[x: string]: any;
|
3525
|
-
} | undefined;
|
3526
3556
|
channel?: {
|
3527
3557
|
[x: string]: any;
|
3528
3558
|
} | undefined;
|
3529
3559
|
address?: {
|
3530
3560
|
[x: string]: any;
|
3531
3561
|
} | undefined;
|
3532
|
-
|
3562
|
+
email?: {
|
3533
3563
|
[x: string]: any;
|
3534
3564
|
} | undefined;
|
3535
|
-
|
3565
|
+
phone?: {
|
3536
3566
|
[x: string]: any;
|
3537
3567
|
} | undefined;
|
3538
|
-
|
3568
|
+
customFields?: {
|
3539
3569
|
[x: string]: any;
|
3540
|
-
} | undefined;
|
3570
|
+
}[] | undefined;
|
3541
3571
|
company?: {
|
3542
3572
|
[x: string]: any;
|
3543
3573
|
} | undefined;
|
3544
|
-
|
3574
|
+
notes?: {
|
3545
3575
|
[x: string]: any;
|
3546
|
-
}
|
3576
|
+
} | undefined;
|
3577
|
+
tags?: {
|
3578
|
+
[x: string]: any;
|
3579
|
+
} | undefined;
|
3547
3580
|
mailRoomId?: string | undefined;
|
3548
3581
|
isTheMailRoomOwner?: boolean | undefined;
|
3549
3582
|
}, {
|
3550
3583
|
name?: {
|
3551
3584
|
[x: string]: any;
|
3552
3585
|
} | undefined;
|
3553
|
-
email?: {
|
3554
|
-
[x: string]: any;
|
3555
|
-
} | undefined;
|
3556
3586
|
channel?: {
|
3557
3587
|
[x: string]: any;
|
3558
3588
|
} | undefined;
|
3559
3589
|
address?: {
|
3560
3590
|
[x: string]: any;
|
3561
3591
|
} | undefined;
|
3562
|
-
|
3592
|
+
email?: {
|
3563
3593
|
[x: string]: any;
|
3564
3594
|
} | undefined;
|
3565
|
-
|
3595
|
+
phone?: {
|
3566
3596
|
[x: string]: any;
|
3567
3597
|
} | undefined;
|
3568
|
-
|
3598
|
+
customFields?: {
|
3569
3599
|
[x: string]: any;
|
3570
|
-
} | undefined;
|
3600
|
+
}[] | undefined;
|
3571
3601
|
company?: {
|
3572
3602
|
[x: string]: any;
|
3573
3603
|
} | undefined;
|
3574
|
-
|
3604
|
+
notes?: {
|
3575
3605
|
[x: string]: any;
|
3576
|
-
}
|
3606
|
+
} | undefined;
|
3607
|
+
tags?: {
|
3608
|
+
[x: string]: any;
|
3609
|
+
} | undefined;
|
3577
3610
|
mailRoomId?: string | undefined;
|
3578
3611
|
isTheMailRoomOwner?: boolean | undefined;
|
3579
3612
|
}>;
|
@@ -3586,27 +3619,46 @@ export declare const contactContract: {
|
|
3586
3619
|
}, {
|
3587
3620
|
id: string;
|
3588
3621
|
}>;
|
3589
|
-
|
3590
|
-
|
3591
|
-
|
3592
|
-
|
3593
|
-
|
3594
|
-
|
3595
|
-
|
3596
|
-
|
3597
|
-
|
3598
|
-
|
3622
|
+
path: "contact-service/contact/:id";
|
3623
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3624
|
+
'x-tenant': z.ZodString;
|
3625
|
+
authorization: z.ZodString;
|
3626
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
3627
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
3629
|
+
'x-tenant': string;
|
3630
|
+
authorization: string;
|
3631
|
+
'x-client-timezone': string;
|
3632
|
+
'x-code'?: string | undefined;
|
3633
|
+
}, {
|
3634
|
+
'x-tenant': string;
|
3635
|
+
authorization: string;
|
3636
|
+
'x-code'?: string | undefined;
|
3637
|
+
'x-client-timezone'?: string | undefined;
|
3638
|
+
}>>>;
|
3639
|
+
responses: {
|
3640
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
3641
|
+
requestId: z.ZodString;
|
3642
|
+
}, {
|
3643
|
+
data: z.ZodObject<{
|
3644
|
+
id: z.ZodString;
|
3645
|
+
createdAt: z.ZodDate;
|
3646
|
+
updatedAt: z.ZodDate;
|
3647
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3648
|
+
name: z.ZodString;
|
3649
|
+
address: z.ZodNullable<z.ZodString>;
|
3599
3650
|
channel: z.ZodNullable<z.ZodString>;
|
3600
3651
|
notes: z.ZodNullable<z.ZodString>;
|
3601
3652
|
contactProfile: z.ZodNullable<z.ZodString>;
|
3602
3653
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3603
|
-
tags: z.ZodArray<z.ZodObject<{
|
3654
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3604
3655
|
id: z.ZodString;
|
3605
3656
|
createdAt: z.ZodDate;
|
3606
3657
|
updatedAt: z.ZodDate;
|
3607
3658
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3659
|
+
}, {
|
3608
3660
|
name: z.ZodString;
|
3609
|
-
}
|
3661
|
+
}>, "strip", z.ZodTypeAny, {
|
3610
3662
|
name: string;
|
3611
3663
|
id: string;
|
3612
3664
|
createdAt: Date;
|
@@ -3619,29 +3671,32 @@ export declare const contactContract: {
|
|
3619
3671
|
updatedAt: Date;
|
3620
3672
|
deletedAt: Date | null;
|
3621
3673
|
}>, "many">;
|
3622
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
3674
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3623
3675
|
id: z.ZodString;
|
3624
3676
|
createdAt: z.ZodDate;
|
3625
3677
|
updatedAt: z.ZodDate;
|
3626
3678
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3679
|
+
}, {
|
3627
3680
|
name: z.ZodOptional<z.ZodString>;
|
3628
3681
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3629
3682
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3630
3683
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3631
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3684
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3632
3685
|
id: z.ZodString;
|
3633
3686
|
createdAt: z.ZodDate;
|
3634
3687
|
updatedAt: z.ZodDate;
|
3635
3688
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3689
|
+
}, {
|
3636
3690
|
textValue: z.ZodNullable<z.ZodString>;
|
3637
3691
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3638
3692
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3639
3693
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3640
|
-
attribute: z.ZodObject<Omit<{
|
3694
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3641
3695
|
id: z.ZodString;
|
3642
3696
|
createdAt: z.ZodDate;
|
3643
3697
|
updatedAt: z.ZodDate;
|
3644
3698
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3699
|
+
}, {
|
3645
3700
|
systemName: z.ZodString;
|
3646
3701
|
displayName: z.ZodString;
|
3647
3702
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3650,13 +3705,14 @@ export declare const contactContract: {
|
|
3650
3705
|
isArchived: z.ZodBoolean;
|
3651
3706
|
isRequired: z.ZodBoolean;
|
3652
3707
|
isUnique: z.ZodBoolean;
|
3653
|
-
options: z.ZodArray<z.ZodObject<{
|
3654
|
-
position: z.ZodNumber;
|
3655
|
-
value: z.ZodString;
|
3708
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3656
3709
|
label: z.ZodString;
|
3710
|
+
value: z.ZodString;
|
3657
3711
|
isDefault: z.ZodBoolean;
|
3712
|
+
position: z.ZodNumber;
|
3713
|
+
}, {
|
3658
3714
|
id: z.ZodString;
|
3659
|
-
}
|
3715
|
+
}>, "strip", z.ZodTypeAny, {
|
3660
3716
|
id: string;
|
3661
3717
|
position: number;
|
3662
3718
|
value: string;
|
@@ -3669,14 +3725,15 @@ export declare const contactContract: {
|
|
3669
3725
|
label: string;
|
3670
3726
|
isDefault: boolean;
|
3671
3727
|
}>, "many">;
|
3672
|
-
group: z.ZodObject<{
|
3728
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
3673
3729
|
id: z.ZodString;
|
3674
3730
|
createdAt: z.ZodDate;
|
3675
3731
|
updatedAt: z.ZodDate;
|
3676
3732
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3733
|
+
}, {
|
3677
3734
|
systemName: z.ZodString;
|
3678
3735
|
displayName: z.ZodString;
|
3679
|
-
}
|
3736
|
+
}>, "strip", z.ZodTypeAny, {
|
3680
3737
|
id: string;
|
3681
3738
|
createdAt: Date;
|
3682
3739
|
updatedAt: Date;
|
@@ -3691,7 +3748,7 @@ export declare const contactContract: {
|
|
3691
3748
|
systemName: string;
|
3692
3749
|
displayName: string;
|
3693
3750
|
}>;
|
3694
|
-
}
|
3751
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
3695
3752
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3696
3753
|
id: string;
|
3697
3754
|
position: number;
|
@@ -3718,7 +3775,7 @@ export declare const contactContract: {
|
|
3718
3775
|
isRequired: boolean;
|
3719
3776
|
isUnique: boolean;
|
3720
3777
|
}>;
|
3721
|
-
}
|
3778
|
+
}>, "strip", z.ZodTypeAny, {
|
3722
3779
|
id: string;
|
3723
3780
|
createdAt: Date;
|
3724
3781
|
updatedAt: Date;
|
@@ -3765,7 +3822,7 @@ export declare const contactContract: {
|
|
3765
3822
|
numberValue: number | null;
|
3766
3823
|
dateValue: Date | null;
|
3767
3824
|
}>, "many">>;
|
3768
|
-
}
|
3825
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
3769
3826
|
id: string;
|
3770
3827
|
createdAt: Date;
|
3771
3828
|
updatedAt: Date;
|
@@ -3846,11 +3903,12 @@ export declare const contactContract: {
|
|
3846
3903
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3847
3904
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3848
3905
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3849
|
-
attribute: z.ZodObject<Omit<{
|
3906
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3850
3907
|
id: z.ZodString;
|
3851
3908
|
createdAt: z.ZodDate;
|
3852
3909
|
updatedAt: z.ZodDate;
|
3853
3910
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3911
|
+
}, {
|
3854
3912
|
systemName: z.ZodString;
|
3855
3913
|
displayName: z.ZodString;
|
3856
3914
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3859,13 +3917,14 @@ export declare const contactContract: {
|
|
3859
3917
|
isArchived: z.ZodBoolean;
|
3860
3918
|
isRequired: z.ZodBoolean;
|
3861
3919
|
isUnique: z.ZodBoolean;
|
3862
|
-
options: z.ZodArray<z.ZodObject<{
|
3863
|
-
position: z.ZodNumber;
|
3864
|
-
value: z.ZodString;
|
3920
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3865
3921
|
label: z.ZodString;
|
3922
|
+
value: z.ZodString;
|
3866
3923
|
isDefault: z.ZodBoolean;
|
3924
|
+
position: z.ZodNumber;
|
3925
|
+
}, {
|
3867
3926
|
id: z.ZodString;
|
3868
|
-
}
|
3927
|
+
}>, "strip", z.ZodTypeAny, {
|
3869
3928
|
id: string;
|
3870
3929
|
position: number;
|
3871
3930
|
value: string;
|
@@ -3878,14 +3937,15 @@ export declare const contactContract: {
|
|
3878
3937
|
label: string;
|
3879
3938
|
isDefault: boolean;
|
3880
3939
|
}>, "many">;
|
3881
|
-
group: z.ZodObject<{
|
3940
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
3882
3941
|
id: z.ZodString;
|
3883
3942
|
createdAt: z.ZodDate;
|
3884
3943
|
updatedAt: z.ZodDate;
|
3885
3944
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3945
|
+
}, {
|
3886
3946
|
systemName: z.ZodString;
|
3887
3947
|
displayName: z.ZodString;
|
3888
|
-
}
|
3948
|
+
}>, "strip", z.ZodTypeAny, {
|
3889
3949
|
id: string;
|
3890
3950
|
createdAt: Date;
|
3891
3951
|
updatedAt: Date;
|
@@ -3900,7 +3960,7 @@ export declare const contactContract: {
|
|
3900
3960
|
systemName: string;
|
3901
3961
|
displayName: string;
|
3902
3962
|
}>;
|
3903
|
-
}
|
3963
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
3904
3964
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3905
3965
|
id: string;
|
3906
3966
|
position: number;
|
@@ -3927,18 +3987,19 @@ export declare const contactContract: {
|
|
3927
3987
|
isRequired: boolean;
|
3928
3988
|
isUnique: boolean;
|
3929
3989
|
}>;
|
3930
|
-
uploads: z.ZodArray<z.ZodObject<{
|
3990
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3931
3991
|
id: z.ZodString;
|
3932
3992
|
createdAt: z.ZodDate;
|
3933
3993
|
updatedAt: z.ZodDate;
|
3934
3994
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3995
|
+
}, {
|
3935
3996
|
bucketName: z.ZodString;
|
3936
3997
|
fileName: z.ZodString;
|
3937
3998
|
fileSize: z.ZodNumber;
|
3938
3999
|
fileKey: z.ZodString;
|
3939
4000
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3940
4001
|
status: z.ZodNullable<z.ZodString>;
|
3941
|
-
}
|
4002
|
+
}>, "strip", z.ZodTypeAny, {
|
3942
4003
|
id: string;
|
3943
4004
|
status: string | null;
|
3944
4005
|
createdAt: Date;
|
@@ -4359,7 +4420,7 @@ export declare const contactContract: {
|
|
4359
4420
|
};
|
4360
4421
|
}[] | undefined;
|
4361
4422
|
}>;
|
4362
|
-
}
|
4423
|
+
}>, "strip", z.ZodTypeAny, {
|
4363
4424
|
data: {
|
4364
4425
|
name: string;
|
4365
4426
|
id: string;
|
@@ -4640,6 +4701,18 @@ export declare const contactContract: {
|
|
4640
4701
|
error?: any;
|
4641
4702
|
}>;
|
4642
4703
|
};
|
4704
|
+
};
|
4705
|
+
delete: {
|
4706
|
+
body: null;
|
4707
|
+
summary: "Delete a contact";
|
4708
|
+
method: "DELETE";
|
4709
|
+
pathParams: z.ZodObject<{
|
4710
|
+
id: z.ZodString;
|
4711
|
+
}, "strip", z.ZodTypeAny, {
|
4712
|
+
id: string;
|
4713
|
+
}, {
|
4714
|
+
id: string;
|
4715
|
+
}>;
|
4643
4716
|
path: "contact-service/contact/:id";
|
4644
4717
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4645
4718
|
'x-tenant': z.ZodString;
|
@@ -4657,23 +4730,12 @@ export declare const contactContract: {
|
|
4657
4730
|
'x-code'?: string | undefined;
|
4658
4731
|
'x-client-timezone'?: string | undefined;
|
4659
4732
|
}>>>;
|
4660
|
-
};
|
4661
|
-
delete: {
|
4662
|
-
body: null;
|
4663
|
-
summary: "Delete a contact";
|
4664
|
-
method: "DELETE";
|
4665
|
-
pathParams: z.ZodObject<{
|
4666
|
-
id: z.ZodString;
|
4667
|
-
}, "strip", z.ZodTypeAny, {
|
4668
|
-
id: string;
|
4669
|
-
}, {
|
4670
|
-
id: string;
|
4671
|
-
}>;
|
4672
4733
|
responses: {
|
4673
|
-
200: z.ZodObject<{
|
4734
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
4674
4735
|
requestId: z.ZodString;
|
4736
|
+
}, {
|
4675
4737
|
message: z.ZodString;
|
4676
|
-
}
|
4738
|
+
}>, "strip", z.ZodTypeAny, {
|
4677
4739
|
message: string;
|
4678
4740
|
requestId: string;
|
4679
4741
|
}, {
|
@@ -4732,7 +4794,18 @@ export declare const contactContract: {
|
|
4732
4794
|
error?: any;
|
4733
4795
|
}>;
|
4734
4796
|
};
|
4735
|
-
|
4797
|
+
};
|
4798
|
+
createContactByPhone: {
|
4799
|
+
body: z.ZodObject<{
|
4800
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
4801
|
+
}, "strip", z.ZodTypeAny, {
|
4802
|
+
phoneNumber: string;
|
4803
|
+
}, {
|
4804
|
+
phoneNumber: string;
|
4805
|
+
}>;
|
4806
|
+
summary: "Create a new contact using phone number";
|
4807
|
+
method: "POST";
|
4808
|
+
path: "contact-service/contact/phone";
|
4736
4809
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4737
4810
|
'x-tenant': z.ZodString;
|
4738
4811
|
authorization: z.ZodString;
|
@@ -4749,20 +4822,10 @@ export declare const contactContract: {
|
|
4749
4822
|
'x-code'?: string | undefined;
|
4750
4823
|
'x-client-timezone'?: string | undefined;
|
4751
4824
|
}>>>;
|
4752
|
-
};
|
4753
|
-
createContactByPhone: {
|
4754
|
-
body: z.ZodObject<{
|
4755
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
4756
|
-
}, "strip", z.ZodTypeAny, {
|
4757
|
-
phoneNumber: string;
|
4758
|
-
}, {
|
4759
|
-
phoneNumber: string;
|
4760
|
-
}>;
|
4761
|
-
summary: "Create a new contact using phone number";
|
4762
|
-
method: "POST";
|
4763
4825
|
responses: {
|
4764
|
-
201: z.ZodObject<{
|
4826
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
4765
4827
|
requestId: z.ZodString;
|
4828
|
+
}, {
|
4766
4829
|
data: z.ZodObject<{
|
4767
4830
|
id: z.ZodString;
|
4768
4831
|
createdAt: z.ZodDate;
|
@@ -4774,13 +4837,14 @@ export declare const contactContract: {
|
|
4774
4837
|
notes: z.ZodNullable<z.ZodString>;
|
4775
4838
|
contactProfile: z.ZodNullable<z.ZodString>;
|
4776
4839
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
4777
|
-
tags: z.ZodArray<z.ZodObject<{
|
4840
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4778
4841
|
id: z.ZodString;
|
4779
4842
|
createdAt: z.ZodDate;
|
4780
4843
|
updatedAt: z.ZodDate;
|
4781
4844
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4845
|
+
}, {
|
4782
4846
|
name: z.ZodString;
|
4783
|
-
}
|
4847
|
+
}>, "strip", z.ZodTypeAny, {
|
4784
4848
|
name: string;
|
4785
4849
|
id: string;
|
4786
4850
|
createdAt: Date;
|
@@ -4793,29 +4857,32 @@ export declare const contactContract: {
|
|
4793
4857
|
updatedAt: Date;
|
4794
4858
|
deletedAt: Date | null;
|
4795
4859
|
}>, "many">;
|
4796
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
4860
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4797
4861
|
id: z.ZodString;
|
4798
4862
|
createdAt: z.ZodDate;
|
4799
4863
|
updatedAt: z.ZodDate;
|
4800
4864
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4865
|
+
}, {
|
4801
4866
|
name: z.ZodOptional<z.ZodString>;
|
4802
4867
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4803
4868
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4804
4869
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4805
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4870
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4806
4871
|
id: z.ZodString;
|
4807
4872
|
createdAt: z.ZodDate;
|
4808
4873
|
updatedAt: z.ZodDate;
|
4809
4874
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4875
|
+
}, {
|
4810
4876
|
textValue: z.ZodNullable<z.ZodString>;
|
4811
4877
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4812
4878
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4813
4879
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4814
|
-
attribute: z.ZodObject<Omit<{
|
4880
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4815
4881
|
id: z.ZodString;
|
4816
4882
|
createdAt: z.ZodDate;
|
4817
4883
|
updatedAt: z.ZodDate;
|
4818
4884
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4885
|
+
}, {
|
4819
4886
|
systemName: z.ZodString;
|
4820
4887
|
displayName: z.ZodString;
|
4821
4888
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4824,13 +4891,14 @@ export declare const contactContract: {
|
|
4824
4891
|
isArchived: z.ZodBoolean;
|
4825
4892
|
isRequired: z.ZodBoolean;
|
4826
4893
|
isUnique: z.ZodBoolean;
|
4827
|
-
options: z.ZodArray<z.ZodObject<{
|
4828
|
-
position: z.ZodNumber;
|
4829
|
-
value: z.ZodString;
|
4894
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4830
4895
|
label: z.ZodString;
|
4896
|
+
value: z.ZodString;
|
4831
4897
|
isDefault: z.ZodBoolean;
|
4898
|
+
position: z.ZodNumber;
|
4899
|
+
}, {
|
4832
4900
|
id: z.ZodString;
|
4833
|
-
}
|
4901
|
+
}>, "strip", z.ZodTypeAny, {
|
4834
4902
|
id: string;
|
4835
4903
|
position: number;
|
4836
4904
|
value: string;
|
@@ -4843,14 +4911,15 @@ export declare const contactContract: {
|
|
4843
4911
|
label: string;
|
4844
4912
|
isDefault: boolean;
|
4845
4913
|
}>, "many">;
|
4846
|
-
group: z.ZodObject<{
|
4914
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
4847
4915
|
id: z.ZodString;
|
4848
4916
|
createdAt: z.ZodDate;
|
4849
4917
|
updatedAt: z.ZodDate;
|
4850
4918
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4919
|
+
}, {
|
4851
4920
|
systemName: z.ZodString;
|
4852
4921
|
displayName: z.ZodString;
|
4853
|
-
}
|
4922
|
+
}>, "strip", z.ZodTypeAny, {
|
4854
4923
|
id: string;
|
4855
4924
|
createdAt: Date;
|
4856
4925
|
updatedAt: Date;
|
@@ -4865,7 +4934,7 @@ export declare const contactContract: {
|
|
4865
4934
|
systemName: string;
|
4866
4935
|
displayName: string;
|
4867
4936
|
}>;
|
4868
|
-
}
|
4937
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
4869
4938
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4870
4939
|
id: string;
|
4871
4940
|
position: number;
|
@@ -4892,7 +4961,7 @@ export declare const contactContract: {
|
|
4892
4961
|
isRequired: boolean;
|
4893
4962
|
isUnique: boolean;
|
4894
4963
|
}>;
|
4895
|
-
}
|
4964
|
+
}>, "strip", z.ZodTypeAny, {
|
4896
4965
|
id: string;
|
4897
4966
|
createdAt: Date;
|
4898
4967
|
updatedAt: Date;
|
@@ -4939,7 +5008,7 @@ export declare const contactContract: {
|
|
4939
5008
|
numberValue: number | null;
|
4940
5009
|
dateValue: Date | null;
|
4941
5010
|
}>, "many">>;
|
4942
|
-
}
|
5011
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
4943
5012
|
id: string;
|
4944
5013
|
createdAt: Date;
|
4945
5014
|
updatedAt: Date;
|
@@ -5020,11 +5089,12 @@ export declare const contactContract: {
|
|
5020
5089
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5021
5090
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5022
5091
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5023
|
-
attribute: z.ZodObject<Omit<{
|
5092
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5024
5093
|
id: z.ZodString;
|
5025
5094
|
createdAt: z.ZodDate;
|
5026
5095
|
updatedAt: z.ZodDate;
|
5027
5096
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5097
|
+
}, {
|
5028
5098
|
systemName: z.ZodString;
|
5029
5099
|
displayName: z.ZodString;
|
5030
5100
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5033,13 +5103,14 @@ export declare const contactContract: {
|
|
5033
5103
|
isArchived: z.ZodBoolean;
|
5034
5104
|
isRequired: z.ZodBoolean;
|
5035
5105
|
isUnique: z.ZodBoolean;
|
5036
|
-
options: z.ZodArray<z.ZodObject<{
|
5037
|
-
position: z.ZodNumber;
|
5038
|
-
value: z.ZodString;
|
5106
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5039
5107
|
label: z.ZodString;
|
5108
|
+
value: z.ZodString;
|
5040
5109
|
isDefault: z.ZodBoolean;
|
5110
|
+
position: z.ZodNumber;
|
5111
|
+
}, {
|
5041
5112
|
id: z.ZodString;
|
5042
|
-
}
|
5113
|
+
}>, "strip", z.ZodTypeAny, {
|
5043
5114
|
id: string;
|
5044
5115
|
position: number;
|
5045
5116
|
value: string;
|
@@ -5052,14 +5123,15 @@ export declare const contactContract: {
|
|
5052
5123
|
label: string;
|
5053
5124
|
isDefault: boolean;
|
5054
5125
|
}>, "many">;
|
5055
|
-
group: z.ZodObject<{
|
5126
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
5056
5127
|
id: z.ZodString;
|
5057
5128
|
createdAt: z.ZodDate;
|
5058
5129
|
updatedAt: z.ZodDate;
|
5059
5130
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5131
|
+
}, {
|
5060
5132
|
systemName: z.ZodString;
|
5061
5133
|
displayName: z.ZodString;
|
5062
|
-
}
|
5134
|
+
}>, "strip", z.ZodTypeAny, {
|
5063
5135
|
id: string;
|
5064
5136
|
createdAt: Date;
|
5065
5137
|
updatedAt: Date;
|
@@ -5074,7 +5146,7 @@ export declare const contactContract: {
|
|
5074
5146
|
systemName: string;
|
5075
5147
|
displayName: string;
|
5076
5148
|
}>;
|
5077
|
-
}
|
5149
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
5078
5150
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5079
5151
|
id: string;
|
5080
5152
|
position: number;
|
@@ -5101,18 +5173,19 @@ export declare const contactContract: {
|
|
5101
5173
|
isRequired: boolean;
|
5102
5174
|
isUnique: boolean;
|
5103
5175
|
}>;
|
5104
|
-
uploads: z.ZodArray<z.ZodObject<{
|
5176
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5105
5177
|
id: z.ZodString;
|
5106
5178
|
createdAt: z.ZodDate;
|
5107
5179
|
updatedAt: z.ZodDate;
|
5108
5180
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5181
|
+
}, {
|
5109
5182
|
bucketName: z.ZodString;
|
5110
5183
|
fileName: z.ZodString;
|
5111
5184
|
fileSize: z.ZodNumber;
|
5112
5185
|
fileKey: z.ZodString;
|
5113
5186
|
fileUrl: z.ZodNullable<z.ZodString>;
|
5114
5187
|
status: z.ZodNullable<z.ZodString>;
|
5115
|
-
}
|
5188
|
+
}>, "strip", z.ZodTypeAny, {
|
5116
5189
|
id: string;
|
5117
5190
|
status: string | null;
|
5118
5191
|
createdAt: Date;
|
@@ -5533,7 +5606,7 @@ export declare const contactContract: {
|
|
5533
5606
|
};
|
5534
5607
|
}[] | undefined;
|
5535
5608
|
}>;
|
5536
|
-
}
|
5609
|
+
}>, "strip", z.ZodTypeAny, {
|
5537
5610
|
data: {
|
5538
5611
|
name: string;
|
5539
5612
|
id: string;
|
@@ -5814,23 +5887,6 @@ export declare const contactContract: {
|
|
5814
5887
|
error?: any;
|
5815
5888
|
}>;
|
5816
5889
|
};
|
5817
|
-
path: "contact-service/contact/phone";
|
5818
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5819
|
-
'x-tenant': z.ZodString;
|
5820
|
-
authorization: z.ZodString;
|
5821
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
5822
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5823
|
-
}, "strip", z.ZodTypeAny, {
|
5824
|
-
'x-tenant': string;
|
5825
|
-
authorization: string;
|
5826
|
-
'x-client-timezone': string;
|
5827
|
-
'x-code'?: string | undefined;
|
5828
|
-
}, {
|
5829
|
-
'x-tenant': string;
|
5830
|
-
authorization: string;
|
5831
|
-
'x-code'?: string | undefined;
|
5832
|
-
'x-client-timezone'?: string | undefined;
|
5833
|
-
}>>>;
|
5834
5890
|
};
|
5835
5891
|
createContactPlatform: {
|
5836
5892
|
body: z.ZodObject<{
|
@@ -5851,9 +5907,27 @@ export declare const contactContract: {
|
|
5851
5907
|
}>;
|
5852
5908
|
summary: "Create a new contact and platform contact for sms ";
|
5853
5909
|
method: "POST";
|
5910
|
+
path: "contact-service/contact/platform-contact";
|
5911
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5912
|
+
'x-tenant': z.ZodString;
|
5913
|
+
authorization: z.ZodString;
|
5914
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5915
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5916
|
+
}, "strip", z.ZodTypeAny, {
|
5917
|
+
'x-tenant': string;
|
5918
|
+
authorization: string;
|
5919
|
+
'x-client-timezone': string;
|
5920
|
+
'x-code'?: string | undefined;
|
5921
|
+
}, {
|
5922
|
+
'x-tenant': string;
|
5923
|
+
authorization: string;
|
5924
|
+
'x-code'?: string | undefined;
|
5925
|
+
'x-client-timezone'?: string | undefined;
|
5926
|
+
}>>>;
|
5854
5927
|
responses: {
|
5855
|
-
200: z.ZodObject<{
|
5928
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
5856
5929
|
requestId: z.ZodString;
|
5930
|
+
}, {
|
5857
5931
|
data: z.ZodObject<{
|
5858
5932
|
id: z.ZodString;
|
5859
5933
|
createdAt: z.ZodDate;
|
@@ -5865,13 +5939,14 @@ export declare const contactContract: {
|
|
5865
5939
|
notes: z.ZodNullable<z.ZodString>;
|
5866
5940
|
contactProfile: z.ZodNullable<z.ZodString>;
|
5867
5941
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
5868
|
-
tags: z.ZodArray<z.ZodObject<{
|
5942
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5869
5943
|
id: z.ZodString;
|
5870
5944
|
createdAt: z.ZodDate;
|
5871
5945
|
updatedAt: z.ZodDate;
|
5872
5946
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5947
|
+
}, {
|
5873
5948
|
name: z.ZodString;
|
5874
|
-
}
|
5949
|
+
}>, "strip", z.ZodTypeAny, {
|
5875
5950
|
name: string;
|
5876
5951
|
id: string;
|
5877
5952
|
createdAt: Date;
|
@@ -5884,29 +5959,32 @@ export declare const contactContract: {
|
|
5884
5959
|
updatedAt: Date;
|
5885
5960
|
deletedAt: Date | null;
|
5886
5961
|
}>, "many">;
|
5887
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
5962
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5888
5963
|
id: z.ZodString;
|
5889
5964
|
createdAt: z.ZodDate;
|
5890
5965
|
updatedAt: z.ZodDate;
|
5891
5966
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5967
|
+
}, {
|
5892
5968
|
name: z.ZodOptional<z.ZodString>;
|
5893
5969
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5894
5970
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5895
5971
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5896
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5972
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5897
5973
|
id: z.ZodString;
|
5898
5974
|
createdAt: z.ZodDate;
|
5899
5975
|
updatedAt: z.ZodDate;
|
5900
5976
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5977
|
+
}, {
|
5901
5978
|
textValue: z.ZodNullable<z.ZodString>;
|
5902
5979
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5903
5980
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5904
5981
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5905
|
-
attribute: z.ZodObject<Omit<{
|
5982
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5906
5983
|
id: z.ZodString;
|
5907
5984
|
createdAt: z.ZodDate;
|
5908
5985
|
updatedAt: z.ZodDate;
|
5909
5986
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5987
|
+
}, {
|
5910
5988
|
systemName: z.ZodString;
|
5911
5989
|
displayName: z.ZodString;
|
5912
5990
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5915,13 +5993,14 @@ export declare const contactContract: {
|
|
5915
5993
|
isArchived: z.ZodBoolean;
|
5916
5994
|
isRequired: z.ZodBoolean;
|
5917
5995
|
isUnique: z.ZodBoolean;
|
5918
|
-
options: z.ZodArray<z.ZodObject<{
|
5919
|
-
position: z.ZodNumber;
|
5920
|
-
value: z.ZodString;
|
5996
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5921
5997
|
label: z.ZodString;
|
5998
|
+
value: z.ZodString;
|
5922
5999
|
isDefault: z.ZodBoolean;
|
6000
|
+
position: z.ZodNumber;
|
6001
|
+
}, {
|
5923
6002
|
id: z.ZodString;
|
5924
|
-
}
|
6003
|
+
}>, "strip", z.ZodTypeAny, {
|
5925
6004
|
id: string;
|
5926
6005
|
position: number;
|
5927
6006
|
value: string;
|
@@ -5934,14 +6013,15 @@ export declare const contactContract: {
|
|
5934
6013
|
label: string;
|
5935
6014
|
isDefault: boolean;
|
5936
6015
|
}>, "many">;
|
5937
|
-
group: z.ZodObject<{
|
6016
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
5938
6017
|
id: z.ZodString;
|
5939
6018
|
createdAt: z.ZodDate;
|
5940
6019
|
updatedAt: z.ZodDate;
|
5941
6020
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6021
|
+
}, {
|
5942
6022
|
systemName: z.ZodString;
|
5943
6023
|
displayName: z.ZodString;
|
5944
|
-
}
|
6024
|
+
}>, "strip", z.ZodTypeAny, {
|
5945
6025
|
id: string;
|
5946
6026
|
createdAt: Date;
|
5947
6027
|
updatedAt: Date;
|
@@ -5956,7 +6036,7 @@ export declare const contactContract: {
|
|
5956
6036
|
systemName: string;
|
5957
6037
|
displayName: string;
|
5958
6038
|
}>;
|
5959
|
-
}
|
6039
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
5960
6040
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5961
6041
|
id: string;
|
5962
6042
|
position: number;
|
@@ -5983,7 +6063,7 @@ export declare const contactContract: {
|
|
5983
6063
|
isRequired: boolean;
|
5984
6064
|
isUnique: boolean;
|
5985
6065
|
}>;
|
5986
|
-
}
|
6066
|
+
}>, "strip", z.ZodTypeAny, {
|
5987
6067
|
id: string;
|
5988
6068
|
createdAt: Date;
|
5989
6069
|
updatedAt: Date;
|
@@ -6030,7 +6110,7 @@ export declare const contactContract: {
|
|
6030
6110
|
numberValue: number | null;
|
6031
6111
|
dateValue: Date | null;
|
6032
6112
|
}>, "many">>;
|
6033
|
-
}
|
6113
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
6034
6114
|
id: string;
|
6035
6115
|
createdAt: Date;
|
6036
6116
|
updatedAt: Date;
|
@@ -6111,11 +6191,12 @@ export declare const contactContract: {
|
|
6111
6191
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6112
6192
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
6113
6193
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6114
|
-
attribute: z.ZodObject<Omit<{
|
6194
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
6115
6195
|
id: z.ZodString;
|
6116
6196
|
createdAt: z.ZodDate;
|
6117
6197
|
updatedAt: z.ZodDate;
|
6118
6198
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6199
|
+
}, {
|
6119
6200
|
systemName: z.ZodString;
|
6120
6201
|
displayName: z.ZodString;
|
6121
6202
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6124,13 +6205,14 @@ export declare const contactContract: {
|
|
6124
6205
|
isArchived: z.ZodBoolean;
|
6125
6206
|
isRequired: z.ZodBoolean;
|
6126
6207
|
isUnique: z.ZodBoolean;
|
6127
|
-
options: z.ZodArray<z.ZodObject<{
|
6128
|
-
position: z.ZodNumber;
|
6129
|
-
value: z.ZodString;
|
6208
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6130
6209
|
label: z.ZodString;
|
6210
|
+
value: z.ZodString;
|
6131
6211
|
isDefault: z.ZodBoolean;
|
6212
|
+
position: z.ZodNumber;
|
6213
|
+
}, {
|
6132
6214
|
id: z.ZodString;
|
6133
|
-
}
|
6215
|
+
}>, "strip", z.ZodTypeAny, {
|
6134
6216
|
id: string;
|
6135
6217
|
position: number;
|
6136
6218
|
value: string;
|
@@ -6143,14 +6225,15 @@ export declare const contactContract: {
|
|
6143
6225
|
label: string;
|
6144
6226
|
isDefault: boolean;
|
6145
6227
|
}>, "many">;
|
6146
|
-
group: z.ZodObject<{
|
6228
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
6147
6229
|
id: z.ZodString;
|
6148
6230
|
createdAt: z.ZodDate;
|
6149
6231
|
updatedAt: z.ZodDate;
|
6150
6232
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6233
|
+
}, {
|
6151
6234
|
systemName: z.ZodString;
|
6152
6235
|
displayName: z.ZodString;
|
6153
|
-
}
|
6236
|
+
}>, "strip", z.ZodTypeAny, {
|
6154
6237
|
id: string;
|
6155
6238
|
createdAt: Date;
|
6156
6239
|
updatedAt: Date;
|
@@ -6165,7 +6248,7 @@ export declare const contactContract: {
|
|
6165
6248
|
systemName: string;
|
6166
6249
|
displayName: string;
|
6167
6250
|
}>;
|
6168
|
-
}
|
6251
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
6169
6252
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6170
6253
|
id: string;
|
6171
6254
|
position: number;
|
@@ -6192,18 +6275,19 @@ export declare const contactContract: {
|
|
6192
6275
|
isRequired: boolean;
|
6193
6276
|
isUnique: boolean;
|
6194
6277
|
}>;
|
6195
|
-
uploads: z.ZodArray<z.ZodObject<{
|
6278
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6196
6279
|
id: z.ZodString;
|
6197
6280
|
createdAt: z.ZodDate;
|
6198
6281
|
updatedAt: z.ZodDate;
|
6199
6282
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6283
|
+
}, {
|
6200
6284
|
bucketName: z.ZodString;
|
6201
6285
|
fileName: z.ZodString;
|
6202
6286
|
fileSize: z.ZodNumber;
|
6203
6287
|
fileKey: z.ZodString;
|
6204
6288
|
fileUrl: z.ZodNullable<z.ZodString>;
|
6205
6289
|
status: z.ZodNullable<z.ZodString>;
|
6206
|
-
}
|
6290
|
+
}>, "strip", z.ZodTypeAny, {
|
6207
6291
|
id: string;
|
6208
6292
|
status: string | null;
|
6209
6293
|
createdAt: Date;
|
@@ -6624,7 +6708,7 @@ export declare const contactContract: {
|
|
6624
6708
|
};
|
6625
6709
|
}[] | undefined;
|
6626
6710
|
}>;
|
6627
|
-
}
|
6711
|
+
}>, "strip", z.ZodTypeAny, {
|
6628
6712
|
data: {
|
6629
6713
|
name: string;
|
6630
6714
|
id: string;
|
@@ -6853,8 +6937,9 @@ export declare const contactContract: {
|
|
6853
6937
|
};
|
6854
6938
|
requestId: string;
|
6855
6939
|
}>;
|
6856
|
-
201: z.ZodObject<{
|
6940
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
6857
6941
|
requestId: z.ZodString;
|
6942
|
+
}, {
|
6858
6943
|
data: z.ZodObject<{
|
6859
6944
|
id: z.ZodString;
|
6860
6945
|
createdAt: z.ZodDate;
|
@@ -6866,13 +6951,14 @@ export declare const contactContract: {
|
|
6866
6951
|
notes: z.ZodNullable<z.ZodString>;
|
6867
6952
|
contactProfile: z.ZodNullable<z.ZodString>;
|
6868
6953
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
6869
|
-
tags: z.ZodArray<z.ZodObject<{
|
6954
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6870
6955
|
id: z.ZodString;
|
6871
6956
|
createdAt: z.ZodDate;
|
6872
6957
|
updatedAt: z.ZodDate;
|
6873
6958
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6959
|
+
}, {
|
6874
6960
|
name: z.ZodString;
|
6875
|
-
}
|
6961
|
+
}>, "strip", z.ZodTypeAny, {
|
6876
6962
|
name: string;
|
6877
6963
|
id: string;
|
6878
6964
|
createdAt: Date;
|
@@ -6885,29 +6971,32 @@ export declare const contactContract: {
|
|
6885
6971
|
updatedAt: Date;
|
6886
6972
|
deletedAt: Date | null;
|
6887
6973
|
}>, "many">;
|
6888
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
6974
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
6889
6975
|
id: z.ZodString;
|
6890
6976
|
createdAt: z.ZodDate;
|
6891
6977
|
updatedAt: z.ZodDate;
|
6892
6978
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6979
|
+
}, {
|
6893
6980
|
name: z.ZodOptional<z.ZodString>;
|
6894
6981
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6895
6982
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6896
6983
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6897
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6984
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6898
6985
|
id: z.ZodString;
|
6899
6986
|
createdAt: z.ZodDate;
|
6900
6987
|
updatedAt: z.ZodDate;
|
6901
6988
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6989
|
+
}, {
|
6902
6990
|
textValue: z.ZodNullable<z.ZodString>;
|
6903
6991
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6904
6992
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
6905
6993
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6906
|
-
attribute: z.ZodObject<Omit<{
|
6994
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
6907
6995
|
id: z.ZodString;
|
6908
6996
|
createdAt: z.ZodDate;
|
6909
6997
|
updatedAt: z.ZodDate;
|
6910
6998
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6999
|
+
}, {
|
6911
7000
|
systemName: z.ZodString;
|
6912
7001
|
displayName: z.ZodString;
|
6913
7002
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6916,13 +7005,14 @@ export declare const contactContract: {
|
|
6916
7005
|
isArchived: z.ZodBoolean;
|
6917
7006
|
isRequired: z.ZodBoolean;
|
6918
7007
|
isUnique: z.ZodBoolean;
|
6919
|
-
options: z.ZodArray<z.ZodObject<{
|
6920
|
-
position: z.ZodNumber;
|
6921
|
-
value: z.ZodString;
|
7008
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6922
7009
|
label: z.ZodString;
|
7010
|
+
value: z.ZodString;
|
6923
7011
|
isDefault: z.ZodBoolean;
|
7012
|
+
position: z.ZodNumber;
|
7013
|
+
}, {
|
6924
7014
|
id: z.ZodString;
|
6925
|
-
}
|
7015
|
+
}>, "strip", z.ZodTypeAny, {
|
6926
7016
|
id: string;
|
6927
7017
|
position: number;
|
6928
7018
|
value: string;
|
@@ -6935,14 +7025,15 @@ export declare const contactContract: {
|
|
6935
7025
|
label: string;
|
6936
7026
|
isDefault: boolean;
|
6937
7027
|
}>, "many">;
|
6938
|
-
group: z.ZodObject<{
|
7028
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
6939
7029
|
id: z.ZodString;
|
6940
7030
|
createdAt: z.ZodDate;
|
6941
7031
|
updatedAt: z.ZodDate;
|
6942
7032
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7033
|
+
}, {
|
6943
7034
|
systemName: z.ZodString;
|
6944
7035
|
displayName: z.ZodString;
|
6945
|
-
}
|
7036
|
+
}>, "strip", z.ZodTypeAny, {
|
6946
7037
|
id: string;
|
6947
7038
|
createdAt: Date;
|
6948
7039
|
updatedAt: Date;
|
@@ -6957,7 +7048,7 @@ export declare const contactContract: {
|
|
6957
7048
|
systemName: string;
|
6958
7049
|
displayName: string;
|
6959
7050
|
}>;
|
6960
|
-
}
|
7051
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
6961
7052
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6962
7053
|
id: string;
|
6963
7054
|
position: number;
|
@@ -6984,7 +7075,7 @@ export declare const contactContract: {
|
|
6984
7075
|
isRequired: boolean;
|
6985
7076
|
isUnique: boolean;
|
6986
7077
|
}>;
|
6987
|
-
}
|
7078
|
+
}>, "strip", z.ZodTypeAny, {
|
6988
7079
|
id: string;
|
6989
7080
|
createdAt: Date;
|
6990
7081
|
updatedAt: Date;
|
@@ -7031,7 +7122,7 @@ export declare const contactContract: {
|
|
7031
7122
|
numberValue: number | null;
|
7032
7123
|
dateValue: Date | null;
|
7033
7124
|
}>, "many">>;
|
7034
|
-
}
|
7125
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
7035
7126
|
id: string;
|
7036
7127
|
createdAt: Date;
|
7037
7128
|
updatedAt: Date;
|
@@ -7112,11 +7203,12 @@ export declare const contactContract: {
|
|
7112
7203
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
7113
7204
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
7114
7205
|
dateValue: z.ZodNullable<z.ZodDate>;
|
7115
|
-
attribute: z.ZodObject<Omit<{
|
7206
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
7116
7207
|
id: z.ZodString;
|
7117
7208
|
createdAt: z.ZodDate;
|
7118
7209
|
updatedAt: z.ZodDate;
|
7119
7210
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7211
|
+
}, {
|
7120
7212
|
systemName: z.ZodString;
|
7121
7213
|
displayName: z.ZodString;
|
7122
7214
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -7125,13 +7217,14 @@ export declare const contactContract: {
|
|
7125
7217
|
isArchived: z.ZodBoolean;
|
7126
7218
|
isRequired: z.ZodBoolean;
|
7127
7219
|
isUnique: z.ZodBoolean;
|
7128
|
-
options: z.ZodArray<z.ZodObject<{
|
7129
|
-
position: z.ZodNumber;
|
7130
|
-
value: z.ZodString;
|
7220
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7131
7221
|
label: z.ZodString;
|
7222
|
+
value: z.ZodString;
|
7132
7223
|
isDefault: z.ZodBoolean;
|
7224
|
+
position: z.ZodNumber;
|
7225
|
+
}, {
|
7133
7226
|
id: z.ZodString;
|
7134
|
-
}
|
7227
|
+
}>, "strip", z.ZodTypeAny, {
|
7135
7228
|
id: string;
|
7136
7229
|
position: number;
|
7137
7230
|
value: string;
|
@@ -7144,14 +7237,15 @@ export declare const contactContract: {
|
|
7144
7237
|
label: string;
|
7145
7238
|
isDefault: boolean;
|
7146
7239
|
}>, "many">;
|
7147
|
-
group: z.ZodObject<{
|
7240
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
7148
7241
|
id: z.ZodString;
|
7149
7242
|
createdAt: z.ZodDate;
|
7150
7243
|
updatedAt: z.ZodDate;
|
7151
7244
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7245
|
+
}, {
|
7152
7246
|
systemName: z.ZodString;
|
7153
7247
|
displayName: z.ZodString;
|
7154
|
-
}
|
7248
|
+
}>, "strip", z.ZodTypeAny, {
|
7155
7249
|
id: string;
|
7156
7250
|
createdAt: Date;
|
7157
7251
|
updatedAt: Date;
|
@@ -7166,7 +7260,7 @@ export declare const contactContract: {
|
|
7166
7260
|
systemName: string;
|
7167
7261
|
displayName: string;
|
7168
7262
|
}>;
|
7169
|
-
}
|
7263
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
7170
7264
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7171
7265
|
id: string;
|
7172
7266
|
position: number;
|
@@ -7193,18 +7287,19 @@ export declare const contactContract: {
|
|
7193
7287
|
isRequired: boolean;
|
7194
7288
|
isUnique: boolean;
|
7195
7289
|
}>;
|
7196
|
-
uploads: z.ZodArray<z.ZodObject<{
|
7290
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7197
7291
|
id: z.ZodString;
|
7198
7292
|
createdAt: z.ZodDate;
|
7199
7293
|
updatedAt: z.ZodDate;
|
7200
7294
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7295
|
+
}, {
|
7201
7296
|
bucketName: z.ZodString;
|
7202
7297
|
fileName: z.ZodString;
|
7203
7298
|
fileSize: z.ZodNumber;
|
7204
7299
|
fileKey: z.ZodString;
|
7205
7300
|
fileUrl: z.ZodNullable<z.ZodString>;
|
7206
7301
|
status: z.ZodNullable<z.ZodString>;
|
7207
|
-
}
|
7302
|
+
}>, "strip", z.ZodTypeAny, {
|
7208
7303
|
id: string;
|
7209
7304
|
status: string | null;
|
7210
7305
|
createdAt: Date;
|
@@ -7625,7 +7720,7 @@ export declare const contactContract: {
|
|
7625
7720
|
};
|
7626
7721
|
}[] | undefined;
|
7627
7722
|
}>;
|
7628
|
-
}
|
7723
|
+
}>, "strip", z.ZodTypeAny, {
|
7629
7724
|
data: {
|
7630
7725
|
name: string;
|
7631
7726
|
id: string;
|
@@ -7906,7 +8001,21 @@ export declare const contactContract: {
|
|
7906
8001
|
error?: any;
|
7907
8002
|
}>;
|
7908
8003
|
};
|
7909
|
-
|
8004
|
+
};
|
8005
|
+
updateFromOngoingCall: {
|
8006
|
+
body: z.ZodObject<{
|
8007
|
+
name: z.ZodOptional<z.ZodString>;
|
8008
|
+
companyId: z.ZodOptional<z.ZodString>;
|
8009
|
+
}, "strip", z.ZodTypeAny, {
|
8010
|
+
name?: string | undefined;
|
8011
|
+
companyId?: string | undefined;
|
8012
|
+
}, {
|
8013
|
+
name?: string | undefined;
|
8014
|
+
companyId?: string | undefined;
|
8015
|
+
}>;
|
8016
|
+
summary: "Update a contact with name and company while making ongoing call";
|
8017
|
+
method: "PATCH";
|
8018
|
+
path: "contact-service/contact/:id/ongoing";
|
7910
8019
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
7911
8020
|
'x-tenant': z.ZodString;
|
7912
8021
|
authorization: z.ZodString;
|
@@ -7923,23 +8032,10 @@ export declare const contactContract: {
|
|
7923
8032
|
'x-code'?: string | undefined;
|
7924
8033
|
'x-client-timezone'?: string | undefined;
|
7925
8034
|
}>>>;
|
7926
|
-
};
|
7927
|
-
updateFromOngoingCall: {
|
7928
|
-
body: z.ZodObject<{
|
7929
|
-
name: z.ZodOptional<z.ZodString>;
|
7930
|
-
companyId: z.ZodOptional<z.ZodString>;
|
7931
|
-
}, "strip", z.ZodTypeAny, {
|
7932
|
-
name?: string | undefined;
|
7933
|
-
companyId?: string | undefined;
|
7934
|
-
}, {
|
7935
|
-
name?: string | undefined;
|
7936
|
-
companyId?: string | undefined;
|
7937
|
-
}>;
|
7938
|
-
summary: "Update a contact with name and company while making ongoing call";
|
7939
|
-
method: "PATCH";
|
7940
8035
|
responses: {
|
7941
|
-
201: z.ZodObject<{
|
8036
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
7942
8037
|
requestId: z.ZodString;
|
8038
|
+
}, {
|
7943
8039
|
data: z.ZodObject<{
|
7944
8040
|
id: z.ZodString;
|
7945
8041
|
createdAt: z.ZodDate;
|
@@ -7951,13 +8047,14 @@ export declare const contactContract: {
|
|
7951
8047
|
notes: z.ZodNullable<z.ZodString>;
|
7952
8048
|
contactProfile: z.ZodNullable<z.ZodString>;
|
7953
8049
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
7954
|
-
tags: z.ZodArray<z.ZodObject<{
|
8050
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7955
8051
|
id: z.ZodString;
|
7956
8052
|
createdAt: z.ZodDate;
|
7957
8053
|
updatedAt: z.ZodDate;
|
7958
8054
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8055
|
+
}, {
|
7959
8056
|
name: z.ZodString;
|
7960
|
-
}
|
8057
|
+
}>, "strip", z.ZodTypeAny, {
|
7961
8058
|
name: string;
|
7962
8059
|
id: string;
|
7963
8060
|
createdAt: Date;
|
@@ -7970,29 +8067,32 @@ export declare const contactContract: {
|
|
7970
8067
|
updatedAt: Date;
|
7971
8068
|
deletedAt: Date | null;
|
7972
8069
|
}>, "many">;
|
7973
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
8070
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
7974
8071
|
id: z.ZodString;
|
7975
8072
|
createdAt: z.ZodDate;
|
7976
8073
|
updatedAt: z.ZodDate;
|
7977
8074
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8075
|
+
}, {
|
7978
8076
|
name: z.ZodOptional<z.ZodString>;
|
7979
8077
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7980
8078
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7981
8079
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7982
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
8080
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7983
8081
|
id: z.ZodString;
|
7984
8082
|
createdAt: z.ZodDate;
|
7985
8083
|
updatedAt: z.ZodDate;
|
7986
8084
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8085
|
+
}, {
|
7987
8086
|
textValue: z.ZodNullable<z.ZodString>;
|
7988
8087
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
7989
8088
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
7990
8089
|
dateValue: z.ZodNullable<z.ZodDate>;
|
7991
|
-
attribute: z.ZodObject<Omit<{
|
8090
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
7992
8091
|
id: z.ZodString;
|
7993
8092
|
createdAt: z.ZodDate;
|
7994
8093
|
updatedAt: z.ZodDate;
|
7995
8094
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8095
|
+
}, {
|
7996
8096
|
systemName: z.ZodString;
|
7997
8097
|
displayName: z.ZodString;
|
7998
8098
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -8001,13 +8101,14 @@ export declare const contactContract: {
|
|
8001
8101
|
isArchived: z.ZodBoolean;
|
8002
8102
|
isRequired: z.ZodBoolean;
|
8003
8103
|
isUnique: z.ZodBoolean;
|
8004
|
-
options: z.ZodArray<z.ZodObject<{
|
8005
|
-
position: z.ZodNumber;
|
8006
|
-
value: z.ZodString;
|
8104
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
8007
8105
|
label: z.ZodString;
|
8106
|
+
value: z.ZodString;
|
8008
8107
|
isDefault: z.ZodBoolean;
|
8108
|
+
position: z.ZodNumber;
|
8109
|
+
}, {
|
8009
8110
|
id: z.ZodString;
|
8010
|
-
}
|
8111
|
+
}>, "strip", z.ZodTypeAny, {
|
8011
8112
|
id: string;
|
8012
8113
|
position: number;
|
8013
8114
|
value: string;
|
@@ -8020,14 +8121,15 @@ export declare const contactContract: {
|
|
8020
8121
|
label: string;
|
8021
8122
|
isDefault: boolean;
|
8022
8123
|
}>, "many">;
|
8023
|
-
group: z.ZodObject<{
|
8124
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
8024
8125
|
id: z.ZodString;
|
8025
8126
|
createdAt: z.ZodDate;
|
8026
8127
|
updatedAt: z.ZodDate;
|
8027
8128
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8129
|
+
}, {
|
8028
8130
|
systemName: z.ZodString;
|
8029
8131
|
displayName: z.ZodString;
|
8030
|
-
}
|
8132
|
+
}>, "strip", z.ZodTypeAny, {
|
8031
8133
|
id: string;
|
8032
8134
|
createdAt: Date;
|
8033
8135
|
updatedAt: Date;
|
@@ -8042,7 +8144,7 @@ export declare const contactContract: {
|
|
8042
8144
|
systemName: string;
|
8043
8145
|
displayName: string;
|
8044
8146
|
}>;
|
8045
|
-
}
|
8147
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
8046
8148
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
8047
8149
|
id: string;
|
8048
8150
|
position: number;
|
@@ -8069,7 +8171,7 @@ export declare const contactContract: {
|
|
8069
8171
|
isRequired: boolean;
|
8070
8172
|
isUnique: boolean;
|
8071
8173
|
}>;
|
8072
|
-
}
|
8174
|
+
}>, "strip", z.ZodTypeAny, {
|
8073
8175
|
id: string;
|
8074
8176
|
createdAt: Date;
|
8075
8177
|
updatedAt: Date;
|
@@ -8116,7 +8218,7 @@ export declare const contactContract: {
|
|
8116
8218
|
numberValue: number | null;
|
8117
8219
|
dateValue: Date | null;
|
8118
8220
|
}>, "many">>;
|
8119
|
-
}
|
8221
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
8120
8222
|
id: string;
|
8121
8223
|
createdAt: Date;
|
8122
8224
|
updatedAt: Date;
|
@@ -8197,11 +8299,12 @@ export declare const contactContract: {
|
|
8197
8299
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
8198
8300
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
8199
8301
|
dateValue: z.ZodNullable<z.ZodDate>;
|
8200
|
-
attribute: z.ZodObject<Omit<{
|
8302
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
8201
8303
|
id: z.ZodString;
|
8202
8304
|
createdAt: z.ZodDate;
|
8203
8305
|
updatedAt: z.ZodDate;
|
8204
8306
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8307
|
+
}, {
|
8205
8308
|
systemName: z.ZodString;
|
8206
8309
|
displayName: z.ZodString;
|
8207
8310
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -8210,13 +8313,14 @@ export declare const contactContract: {
|
|
8210
8313
|
isArchived: z.ZodBoolean;
|
8211
8314
|
isRequired: z.ZodBoolean;
|
8212
8315
|
isUnique: z.ZodBoolean;
|
8213
|
-
options: z.ZodArray<z.ZodObject<{
|
8214
|
-
position: z.ZodNumber;
|
8215
|
-
value: z.ZodString;
|
8316
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
8216
8317
|
label: z.ZodString;
|
8318
|
+
value: z.ZodString;
|
8217
8319
|
isDefault: z.ZodBoolean;
|
8320
|
+
position: z.ZodNumber;
|
8321
|
+
}, {
|
8218
8322
|
id: z.ZodString;
|
8219
|
-
}
|
8323
|
+
}>, "strip", z.ZodTypeAny, {
|
8220
8324
|
id: string;
|
8221
8325
|
position: number;
|
8222
8326
|
value: string;
|
@@ -8229,14 +8333,15 @@ export declare const contactContract: {
|
|
8229
8333
|
label: string;
|
8230
8334
|
isDefault: boolean;
|
8231
8335
|
}>, "many">;
|
8232
|
-
group: z.ZodObject<{
|
8336
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
8233
8337
|
id: z.ZodString;
|
8234
8338
|
createdAt: z.ZodDate;
|
8235
8339
|
updatedAt: z.ZodDate;
|
8236
8340
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8341
|
+
}, {
|
8237
8342
|
systemName: z.ZodString;
|
8238
8343
|
displayName: z.ZodString;
|
8239
|
-
}
|
8344
|
+
}>, "strip", z.ZodTypeAny, {
|
8240
8345
|
id: string;
|
8241
8346
|
createdAt: Date;
|
8242
8347
|
updatedAt: Date;
|
@@ -8251,7 +8356,7 @@ export declare const contactContract: {
|
|
8251
8356
|
systemName: string;
|
8252
8357
|
displayName: string;
|
8253
8358
|
}>;
|
8254
|
-
}
|
8359
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
8255
8360
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
8256
8361
|
id: string;
|
8257
8362
|
position: number;
|
@@ -8278,18 +8383,19 @@ export declare const contactContract: {
|
|
8278
8383
|
isRequired: boolean;
|
8279
8384
|
isUnique: boolean;
|
8280
8385
|
}>;
|
8281
|
-
uploads: z.ZodArray<z.ZodObject<{
|
8386
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
8282
8387
|
id: z.ZodString;
|
8283
8388
|
createdAt: z.ZodDate;
|
8284
8389
|
updatedAt: z.ZodDate;
|
8285
8390
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8391
|
+
}, {
|
8286
8392
|
bucketName: z.ZodString;
|
8287
8393
|
fileName: z.ZodString;
|
8288
8394
|
fileSize: z.ZodNumber;
|
8289
8395
|
fileKey: z.ZodString;
|
8290
8396
|
fileUrl: z.ZodNullable<z.ZodString>;
|
8291
8397
|
status: z.ZodNullable<z.ZodString>;
|
8292
|
-
}
|
8398
|
+
}>, "strip", z.ZodTypeAny, {
|
8293
8399
|
id: string;
|
8294
8400
|
status: string | null;
|
8295
8401
|
createdAt: Date;
|
@@ -8710,7 +8816,7 @@ export declare const contactContract: {
|
|
8710
8816
|
};
|
8711
8817
|
}[] | undefined;
|
8712
8818
|
}>;
|
8713
|
-
}
|
8819
|
+
}>, "strip", z.ZodTypeAny, {
|
8714
8820
|
data: {
|
8715
8821
|
name: string;
|
8716
8822
|
id: string;
|
@@ -8991,23 +9097,6 @@ export declare const contactContract: {
|
|
8991
9097
|
error?: any;
|
8992
9098
|
}>;
|
8993
9099
|
};
|
8994
|
-
path: "contact-service/contact/:id/ongoing";
|
8995
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8996
|
-
'x-tenant': z.ZodString;
|
8997
|
-
authorization: z.ZodString;
|
8998
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
8999
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
9000
|
-
}, "strip", z.ZodTypeAny, {
|
9001
|
-
'x-tenant': string;
|
9002
|
-
authorization: string;
|
9003
|
-
'x-client-timezone': string;
|
9004
|
-
'x-code'?: string | undefined;
|
9005
|
-
}, {
|
9006
|
-
'x-tenant': string;
|
9007
|
-
authorization: string;
|
9008
|
-
'x-code'?: string | undefined;
|
9009
|
-
'x-client-timezone'?: string | undefined;
|
9010
|
-
}>>>;
|
9011
9100
|
};
|
9012
9101
|
merge: {
|
9013
9102
|
body: z.ZodObject<{
|
@@ -9084,9 +9173,27 @@ export declare const contactContract: {
|
|
9084
9173
|
}>;
|
9085
9174
|
summary: "Merge contacts into a single contact.";
|
9086
9175
|
method: "POST";
|
9176
|
+
path: "contact-service/contact/merge";
|
9177
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9178
|
+
'x-tenant': z.ZodString;
|
9179
|
+
authorization: z.ZodString;
|
9180
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
9181
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
9182
|
+
}, "strip", z.ZodTypeAny, {
|
9183
|
+
'x-tenant': string;
|
9184
|
+
authorization: string;
|
9185
|
+
'x-client-timezone': string;
|
9186
|
+
'x-code'?: string | undefined;
|
9187
|
+
}, {
|
9188
|
+
'x-tenant': string;
|
9189
|
+
authorization: string;
|
9190
|
+
'x-code'?: string | undefined;
|
9191
|
+
'x-client-timezone'?: string | undefined;
|
9192
|
+
}>>>;
|
9087
9193
|
responses: {
|
9088
|
-
200: z.ZodObject<{
|
9194
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
9089
9195
|
requestId: z.ZodString;
|
9196
|
+
}, {
|
9090
9197
|
data: z.ZodObject<{
|
9091
9198
|
id: z.ZodString;
|
9092
9199
|
createdAt: z.ZodDate;
|
@@ -9098,13 +9205,14 @@ export declare const contactContract: {
|
|
9098
9205
|
notes: z.ZodNullable<z.ZodString>;
|
9099
9206
|
contactProfile: z.ZodNullable<z.ZodString>;
|
9100
9207
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
9101
|
-
tags: z.ZodArray<z.ZodObject<{
|
9208
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9102
9209
|
id: z.ZodString;
|
9103
9210
|
createdAt: z.ZodDate;
|
9104
9211
|
updatedAt: z.ZodDate;
|
9105
9212
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9213
|
+
}, {
|
9106
9214
|
name: z.ZodString;
|
9107
|
-
}
|
9215
|
+
}>, "strip", z.ZodTypeAny, {
|
9108
9216
|
name: string;
|
9109
9217
|
id: string;
|
9110
9218
|
createdAt: Date;
|
@@ -9117,29 +9225,32 @@ export declare const contactContract: {
|
|
9117
9225
|
updatedAt: Date;
|
9118
9226
|
deletedAt: Date | null;
|
9119
9227
|
}>, "many">;
|
9120
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
9228
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
9121
9229
|
id: z.ZodString;
|
9122
9230
|
createdAt: z.ZodDate;
|
9123
9231
|
updatedAt: z.ZodDate;
|
9124
9232
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9233
|
+
}, {
|
9125
9234
|
name: z.ZodOptional<z.ZodString>;
|
9126
9235
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9127
9236
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9128
9237
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9129
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
9238
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9130
9239
|
id: z.ZodString;
|
9131
9240
|
createdAt: z.ZodDate;
|
9132
9241
|
updatedAt: z.ZodDate;
|
9133
9242
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9243
|
+
}, {
|
9134
9244
|
textValue: z.ZodNullable<z.ZodString>;
|
9135
9245
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
9136
9246
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
9137
9247
|
dateValue: z.ZodNullable<z.ZodDate>;
|
9138
|
-
attribute: z.ZodObject<Omit<{
|
9248
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
9139
9249
|
id: z.ZodString;
|
9140
9250
|
createdAt: z.ZodDate;
|
9141
9251
|
updatedAt: z.ZodDate;
|
9142
9252
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9253
|
+
}, {
|
9143
9254
|
systemName: z.ZodString;
|
9144
9255
|
displayName: z.ZodString;
|
9145
9256
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -9148,13 +9259,14 @@ export declare const contactContract: {
|
|
9148
9259
|
isArchived: z.ZodBoolean;
|
9149
9260
|
isRequired: z.ZodBoolean;
|
9150
9261
|
isUnique: z.ZodBoolean;
|
9151
|
-
options: z.ZodArray<z.ZodObject<{
|
9152
|
-
position: z.ZodNumber;
|
9153
|
-
value: z.ZodString;
|
9262
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9154
9263
|
label: z.ZodString;
|
9264
|
+
value: z.ZodString;
|
9155
9265
|
isDefault: z.ZodBoolean;
|
9266
|
+
position: z.ZodNumber;
|
9267
|
+
}, {
|
9156
9268
|
id: z.ZodString;
|
9157
|
-
}
|
9269
|
+
}>, "strip", z.ZodTypeAny, {
|
9158
9270
|
id: string;
|
9159
9271
|
position: number;
|
9160
9272
|
value: string;
|
@@ -9167,14 +9279,15 @@ export declare const contactContract: {
|
|
9167
9279
|
label: string;
|
9168
9280
|
isDefault: boolean;
|
9169
9281
|
}>, "many">;
|
9170
|
-
group: z.ZodObject<{
|
9282
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
9171
9283
|
id: z.ZodString;
|
9172
9284
|
createdAt: z.ZodDate;
|
9173
9285
|
updatedAt: z.ZodDate;
|
9174
9286
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9287
|
+
}, {
|
9175
9288
|
systemName: z.ZodString;
|
9176
9289
|
displayName: z.ZodString;
|
9177
|
-
}
|
9290
|
+
}>, "strip", z.ZodTypeAny, {
|
9178
9291
|
id: string;
|
9179
9292
|
createdAt: Date;
|
9180
9293
|
updatedAt: Date;
|
@@ -9189,7 +9302,7 @@ export declare const contactContract: {
|
|
9189
9302
|
systemName: string;
|
9190
9303
|
displayName: string;
|
9191
9304
|
}>;
|
9192
|
-
}
|
9305
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
9193
9306
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
9194
9307
|
id: string;
|
9195
9308
|
position: number;
|
@@ -9216,7 +9329,7 @@ export declare const contactContract: {
|
|
9216
9329
|
isRequired: boolean;
|
9217
9330
|
isUnique: boolean;
|
9218
9331
|
}>;
|
9219
|
-
}
|
9332
|
+
}>, "strip", z.ZodTypeAny, {
|
9220
9333
|
id: string;
|
9221
9334
|
createdAt: Date;
|
9222
9335
|
updatedAt: Date;
|
@@ -9263,7 +9376,7 @@ export declare const contactContract: {
|
|
9263
9376
|
numberValue: number | null;
|
9264
9377
|
dateValue: Date | null;
|
9265
9378
|
}>, "many">>;
|
9266
|
-
}
|
9379
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
9267
9380
|
id: string;
|
9268
9381
|
createdAt: Date;
|
9269
9382
|
updatedAt: Date;
|
@@ -9344,11 +9457,12 @@ export declare const contactContract: {
|
|
9344
9457
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
9345
9458
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
9346
9459
|
dateValue: z.ZodNullable<z.ZodDate>;
|
9347
|
-
attribute: z.ZodObject<Omit<{
|
9460
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
9348
9461
|
id: z.ZodString;
|
9349
9462
|
createdAt: z.ZodDate;
|
9350
9463
|
updatedAt: z.ZodDate;
|
9351
9464
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9465
|
+
}, {
|
9352
9466
|
systemName: z.ZodString;
|
9353
9467
|
displayName: z.ZodString;
|
9354
9468
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -9357,13 +9471,14 @@ export declare const contactContract: {
|
|
9357
9471
|
isArchived: z.ZodBoolean;
|
9358
9472
|
isRequired: z.ZodBoolean;
|
9359
9473
|
isUnique: z.ZodBoolean;
|
9360
|
-
options: z.ZodArray<z.ZodObject<{
|
9361
|
-
position: z.ZodNumber;
|
9362
|
-
value: z.ZodString;
|
9474
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9363
9475
|
label: z.ZodString;
|
9476
|
+
value: z.ZodString;
|
9364
9477
|
isDefault: z.ZodBoolean;
|
9478
|
+
position: z.ZodNumber;
|
9479
|
+
}, {
|
9365
9480
|
id: z.ZodString;
|
9366
|
-
}
|
9481
|
+
}>, "strip", z.ZodTypeAny, {
|
9367
9482
|
id: string;
|
9368
9483
|
position: number;
|
9369
9484
|
value: string;
|
@@ -9376,14 +9491,15 @@ export declare const contactContract: {
|
|
9376
9491
|
label: string;
|
9377
9492
|
isDefault: boolean;
|
9378
9493
|
}>, "many">;
|
9379
|
-
group: z.ZodObject<{
|
9494
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
9380
9495
|
id: z.ZodString;
|
9381
9496
|
createdAt: z.ZodDate;
|
9382
9497
|
updatedAt: z.ZodDate;
|
9383
9498
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9499
|
+
}, {
|
9384
9500
|
systemName: z.ZodString;
|
9385
9501
|
displayName: z.ZodString;
|
9386
|
-
}
|
9502
|
+
}>, "strip", z.ZodTypeAny, {
|
9387
9503
|
id: string;
|
9388
9504
|
createdAt: Date;
|
9389
9505
|
updatedAt: Date;
|
@@ -9398,7 +9514,7 @@ export declare const contactContract: {
|
|
9398
9514
|
systemName: string;
|
9399
9515
|
displayName: string;
|
9400
9516
|
}>;
|
9401
|
-
}
|
9517
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
9402
9518
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
9403
9519
|
id: string;
|
9404
9520
|
position: number;
|
@@ -9425,18 +9541,19 @@ export declare const contactContract: {
|
|
9425
9541
|
isRequired: boolean;
|
9426
9542
|
isUnique: boolean;
|
9427
9543
|
}>;
|
9428
|
-
uploads: z.ZodArray<z.ZodObject<{
|
9544
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9429
9545
|
id: z.ZodString;
|
9430
9546
|
createdAt: z.ZodDate;
|
9431
9547
|
updatedAt: z.ZodDate;
|
9432
9548
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9549
|
+
}, {
|
9433
9550
|
bucketName: z.ZodString;
|
9434
9551
|
fileName: z.ZodString;
|
9435
9552
|
fileSize: z.ZodNumber;
|
9436
9553
|
fileKey: z.ZodString;
|
9437
9554
|
fileUrl: z.ZodNullable<z.ZodString>;
|
9438
9555
|
status: z.ZodNullable<z.ZodString>;
|
9439
|
-
}
|
9556
|
+
}>, "strip", z.ZodTypeAny, {
|
9440
9557
|
id: string;
|
9441
9558
|
status: string | null;
|
9442
9559
|
createdAt: Date;
|
@@ -9857,7 +9974,7 @@ export declare const contactContract: {
|
|
9857
9974
|
};
|
9858
9975
|
}[] | undefined;
|
9859
9976
|
}>;
|
9860
|
-
}
|
9977
|
+
}>, "strip", z.ZodTypeAny, {
|
9861
9978
|
data: {
|
9862
9979
|
name: string;
|
9863
9980
|
id: string;
|
@@ -10138,7 +10255,21 @@ export declare const contactContract: {
|
|
10138
10255
|
error?: any;
|
10139
10256
|
}>;
|
10140
10257
|
};
|
10141
|
-
|
10258
|
+
};
|
10259
|
+
checkContactPhone: {
|
10260
|
+
body: z.ZodObject<{
|
10261
|
+
contactId: z.ZodOptional<z.ZodString>;
|
10262
|
+
phoneNumber: z.ZodString;
|
10263
|
+
}, "strip", z.ZodTypeAny, {
|
10264
|
+
phoneNumber: string;
|
10265
|
+
contactId?: string | undefined;
|
10266
|
+
}, {
|
10267
|
+
phoneNumber: string;
|
10268
|
+
contactId?: string | undefined;
|
10269
|
+
}>;
|
10270
|
+
summary: "Check whether a contact owns a phone number";
|
10271
|
+
method: "POST";
|
10272
|
+
path: "contact-service/contact/check/phone";
|
10142
10273
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10143
10274
|
'x-tenant': z.ZodString;
|
10144
10275
|
authorization: z.ZodString;
|
@@ -10155,25 +10286,12 @@ export declare const contactContract: {
|
|
10155
10286
|
'x-code'?: string | undefined;
|
10156
10287
|
'x-client-timezone'?: string | undefined;
|
10157
10288
|
}>>>;
|
10158
|
-
};
|
10159
|
-
checkContactPhone: {
|
10160
|
-
body: z.ZodObject<{
|
10161
|
-
contactId: z.ZodOptional<z.ZodString>;
|
10162
|
-
phoneNumber: z.ZodString;
|
10163
|
-
}, "strip", z.ZodTypeAny, {
|
10164
|
-
phoneNumber: string;
|
10165
|
-
contactId?: string | undefined;
|
10166
|
-
}, {
|
10167
|
-
phoneNumber: string;
|
10168
|
-
contactId?: string | undefined;
|
10169
|
-
}>;
|
10170
|
-
summary: "Check whether a contact owns a phone number";
|
10171
|
-
method: "POST";
|
10172
10289
|
responses: {
|
10173
|
-
200: z.ZodObject<{
|
10290
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
10174
10291
|
requestId: z.ZodString;
|
10292
|
+
}, {
|
10175
10293
|
existed: z.ZodBoolean;
|
10176
|
-
}
|
10294
|
+
}>, "strip", z.ZodTypeAny, {
|
10177
10295
|
requestId: string;
|
10178
10296
|
existed: boolean;
|
10179
10297
|
}, {
|
@@ -10232,7 +10350,21 @@ export declare const contactContract: {
|
|
10232
10350
|
error?: any;
|
10233
10351
|
}>;
|
10234
10352
|
};
|
10235
|
-
|
10353
|
+
};
|
10354
|
+
checkContactEmail: {
|
10355
|
+
body: z.ZodObject<{
|
10356
|
+
contactId: z.ZodOptional<z.ZodString>;
|
10357
|
+
email: z.ZodString;
|
10358
|
+
}, "strip", z.ZodTypeAny, {
|
10359
|
+
email: string;
|
10360
|
+
contactId?: string | undefined;
|
10361
|
+
}, {
|
10362
|
+
email: string;
|
10363
|
+
contactId?: string | undefined;
|
10364
|
+
}>;
|
10365
|
+
summary: "Check whether a contact owns a email";
|
10366
|
+
method: "POST";
|
10367
|
+
path: "contact-service/contact/check/email";
|
10236
10368
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10237
10369
|
'x-tenant': z.ZodString;
|
10238
10370
|
authorization: z.ZodString;
|
@@ -10249,25 +10381,12 @@ export declare const contactContract: {
|
|
10249
10381
|
'x-code'?: string | undefined;
|
10250
10382
|
'x-client-timezone'?: string | undefined;
|
10251
10383
|
}>>>;
|
10252
|
-
};
|
10253
|
-
checkContactEmail: {
|
10254
|
-
body: z.ZodObject<{
|
10255
|
-
contactId: z.ZodOptional<z.ZodString>;
|
10256
|
-
email: z.ZodString;
|
10257
|
-
}, "strip", z.ZodTypeAny, {
|
10258
|
-
email: string;
|
10259
|
-
contactId?: string | undefined;
|
10260
|
-
}, {
|
10261
|
-
email: string;
|
10262
|
-
contactId?: string | undefined;
|
10263
|
-
}>;
|
10264
|
-
summary: "Check whether a contact owns a email";
|
10265
|
-
method: "POST";
|
10266
10384
|
responses: {
|
10267
|
-
200: z.ZodObject<{
|
10385
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
10268
10386
|
requestId: z.ZodString;
|
10387
|
+
}, {
|
10269
10388
|
existed: z.ZodBoolean;
|
10270
|
-
}
|
10389
|
+
}>, "strip", z.ZodTypeAny, {
|
10271
10390
|
requestId: string;
|
10272
10391
|
existed: boolean;
|
10273
10392
|
}, {
|
@@ -10326,23 +10445,6 @@ export declare const contactContract: {
|
|
10326
10445
|
error?: any;
|
10327
10446
|
}>;
|
10328
10447
|
};
|
10329
|
-
path: "contact-service/contact/check/email";
|
10330
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10331
|
-
'x-tenant': z.ZodString;
|
10332
|
-
authorization: z.ZodString;
|
10333
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
10334
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
10335
|
-
}, "strip", z.ZodTypeAny, {
|
10336
|
-
'x-tenant': string;
|
10337
|
-
authorization: string;
|
10338
|
-
'x-client-timezone': string;
|
10339
|
-
'x-code'?: string | undefined;
|
10340
|
-
}, {
|
10341
|
-
'x-tenant': string;
|
10342
|
-
authorization: string;
|
10343
|
-
'x-code'?: string | undefined;
|
10344
|
-
'x-client-timezone'?: string | undefined;
|
10345
|
-
}>>>;
|
10346
10448
|
};
|
10347
10449
|
createContactAttachmentRecords: {
|
10348
10450
|
body: z.ZodObject<{
|
@@ -10390,9 +10492,27 @@ export declare const contactContract: {
|
|
10390
10492
|
}>;
|
10391
10493
|
summary: "Create a new contact attachment";
|
10392
10494
|
method: "POST";
|
10495
|
+
path: "contact-service/contact/attachments";
|
10496
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10497
|
+
'x-tenant': z.ZodString;
|
10498
|
+
authorization: z.ZodString;
|
10499
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
10500
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
10501
|
+
}, "strip", z.ZodTypeAny, {
|
10502
|
+
'x-tenant': string;
|
10503
|
+
authorization: string;
|
10504
|
+
'x-client-timezone': string;
|
10505
|
+
'x-code'?: string | undefined;
|
10506
|
+
}, {
|
10507
|
+
'x-tenant': string;
|
10508
|
+
authorization: string;
|
10509
|
+
'x-code'?: string | undefined;
|
10510
|
+
'x-client-timezone'?: string | undefined;
|
10511
|
+
}>>>;
|
10393
10512
|
responses: {
|
10394
|
-
201: z.ZodObject<{
|
10513
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
10395
10514
|
requestId: z.ZodString;
|
10515
|
+
}, {
|
10396
10516
|
message: z.ZodObject<{
|
10397
10517
|
id: z.ZodString;
|
10398
10518
|
createdAt: z.ZodDate;
|
@@ -10402,11 +10522,12 @@ export declare const contactContract: {
|
|
10402
10522
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
10403
10523
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
10404
10524
|
dateValue: z.ZodNullable<z.ZodDate>;
|
10405
|
-
attribute: z.ZodObject<Omit<{
|
10525
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
10406
10526
|
id: z.ZodString;
|
10407
10527
|
createdAt: z.ZodDate;
|
10408
10528
|
updatedAt: z.ZodDate;
|
10409
10529
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10530
|
+
}, {
|
10410
10531
|
systemName: z.ZodString;
|
10411
10532
|
displayName: z.ZodString;
|
10412
10533
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -10415,13 +10536,14 @@ export declare const contactContract: {
|
|
10415
10536
|
isArchived: z.ZodBoolean;
|
10416
10537
|
isRequired: z.ZodBoolean;
|
10417
10538
|
isUnique: z.ZodBoolean;
|
10418
|
-
options: z.ZodArray<z.ZodObject<{
|
10419
|
-
position: z.ZodNumber;
|
10420
|
-
value: z.ZodString;
|
10539
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
10421
10540
|
label: z.ZodString;
|
10541
|
+
value: z.ZodString;
|
10422
10542
|
isDefault: z.ZodBoolean;
|
10543
|
+
position: z.ZodNumber;
|
10544
|
+
}, {
|
10423
10545
|
id: z.ZodString;
|
10424
|
-
}
|
10546
|
+
}>, "strip", z.ZodTypeAny, {
|
10425
10547
|
id: string;
|
10426
10548
|
position: number;
|
10427
10549
|
value: string;
|
@@ -10434,14 +10556,15 @@ export declare const contactContract: {
|
|
10434
10556
|
label: string;
|
10435
10557
|
isDefault: boolean;
|
10436
10558
|
}>, "many">;
|
10437
|
-
group: z.ZodObject<{
|
10559
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
10438
10560
|
id: z.ZodString;
|
10439
10561
|
createdAt: z.ZodDate;
|
10440
10562
|
updatedAt: z.ZodDate;
|
10441
10563
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10564
|
+
}, {
|
10442
10565
|
systemName: z.ZodString;
|
10443
10566
|
displayName: z.ZodString;
|
10444
|
-
}
|
10567
|
+
}>, "strip", z.ZodTypeAny, {
|
10445
10568
|
id: string;
|
10446
10569
|
createdAt: Date;
|
10447
10570
|
updatedAt: Date;
|
@@ -10456,7 +10579,7 @@ export declare const contactContract: {
|
|
10456
10579
|
systemName: string;
|
10457
10580
|
displayName: string;
|
10458
10581
|
}>;
|
10459
|
-
}
|
10582
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
10460
10583
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
10461
10584
|
id: string;
|
10462
10585
|
position: number;
|
@@ -10483,18 +10606,19 @@ export declare const contactContract: {
|
|
10483
10606
|
isRequired: boolean;
|
10484
10607
|
isUnique: boolean;
|
10485
10608
|
}>;
|
10486
|
-
uploads: z.ZodArray<z.ZodObject<{
|
10609
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
10487
10610
|
id: z.ZodString;
|
10488
10611
|
createdAt: z.ZodDate;
|
10489
10612
|
updatedAt: z.ZodDate;
|
10490
10613
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10614
|
+
}, {
|
10491
10615
|
bucketName: z.ZodString;
|
10492
10616
|
fileName: z.ZodString;
|
10493
10617
|
fileSize: z.ZodNumber;
|
10494
10618
|
fileKey: z.ZodString;
|
10495
10619
|
fileUrl: z.ZodNullable<z.ZodString>;
|
10496
10620
|
status: z.ZodNullable<z.ZodString>;
|
10497
|
-
}
|
10621
|
+
}>, "strip", z.ZodTypeAny, {
|
10498
10622
|
id: string;
|
10499
10623
|
status: string | null;
|
10500
10624
|
createdAt: Date;
|
@@ -10588,7 +10712,7 @@ export declare const contactContract: {
|
|
10588
10712
|
fileUrl: string | null;
|
10589
10713
|
}[];
|
10590
10714
|
}>;
|
10591
|
-
}
|
10715
|
+
}>, "strip", z.ZodTypeAny, {
|
10592
10716
|
message: {
|
10593
10717
|
id: string;
|
10594
10718
|
createdAt: Date;
|
@@ -10717,7 +10841,18 @@ export declare const contactContract: {
|
|
10717
10841
|
error?: any;
|
10718
10842
|
}>;
|
10719
10843
|
};
|
10720
|
-
|
10844
|
+
};
|
10845
|
+
getById: {
|
10846
|
+
summary: "Get a contact by id";
|
10847
|
+
method: "GET";
|
10848
|
+
pathParams: z.ZodObject<{
|
10849
|
+
id: z.ZodString;
|
10850
|
+
}, "strip", z.ZodTypeAny, {
|
10851
|
+
id: string;
|
10852
|
+
}, {
|
10853
|
+
id: string;
|
10854
|
+
}>;
|
10855
|
+
path: "contact-service/contact/:id";
|
10721
10856
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10722
10857
|
'x-tenant': z.ZodString;
|
10723
10858
|
authorization: z.ZodString;
|
@@ -10734,20 +10869,10 @@ export declare const contactContract: {
|
|
10734
10869
|
'x-code'?: string | undefined;
|
10735
10870
|
'x-client-timezone'?: string | undefined;
|
10736
10871
|
}>>>;
|
10737
|
-
};
|
10738
|
-
getById: {
|
10739
|
-
summary: "Get a contact by id";
|
10740
|
-
method: "GET";
|
10741
|
-
pathParams: z.ZodObject<{
|
10742
|
-
id: z.ZodString;
|
10743
|
-
}, "strip", z.ZodTypeAny, {
|
10744
|
-
id: string;
|
10745
|
-
}, {
|
10746
|
-
id: string;
|
10747
|
-
}>;
|
10748
10872
|
responses: {
|
10749
|
-
200: z.ZodObject<{
|
10873
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
10750
10874
|
requestId: z.ZodString;
|
10875
|
+
}, {
|
10751
10876
|
data: z.ZodObject<{
|
10752
10877
|
id: z.ZodString;
|
10753
10878
|
createdAt: z.ZodDate;
|
@@ -10759,13 +10884,14 @@ export declare const contactContract: {
|
|
10759
10884
|
notes: z.ZodNullable<z.ZodString>;
|
10760
10885
|
contactProfile: z.ZodNullable<z.ZodString>;
|
10761
10886
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
10762
|
-
tags: z.ZodArray<z.ZodObject<{
|
10887
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
10763
10888
|
id: z.ZodString;
|
10764
10889
|
createdAt: z.ZodDate;
|
10765
10890
|
updatedAt: z.ZodDate;
|
10766
10891
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10892
|
+
}, {
|
10767
10893
|
name: z.ZodString;
|
10768
|
-
}
|
10894
|
+
}>, "strip", z.ZodTypeAny, {
|
10769
10895
|
name: string;
|
10770
10896
|
id: string;
|
10771
10897
|
createdAt: Date;
|
@@ -10778,29 +10904,32 @@ export declare const contactContract: {
|
|
10778
10904
|
updatedAt: Date;
|
10779
10905
|
deletedAt: Date | null;
|
10780
10906
|
}>, "many">;
|
10781
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
10907
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
10782
10908
|
id: z.ZodString;
|
10783
10909
|
createdAt: z.ZodDate;
|
10784
10910
|
updatedAt: z.ZodDate;
|
10785
10911
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10912
|
+
}, {
|
10786
10913
|
name: z.ZodOptional<z.ZodString>;
|
10787
10914
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
10788
10915
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
10789
10916
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
10790
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
10917
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
10791
10918
|
id: z.ZodString;
|
10792
10919
|
createdAt: z.ZodDate;
|
10793
10920
|
updatedAt: z.ZodDate;
|
10794
10921
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10922
|
+
}, {
|
10795
10923
|
textValue: z.ZodNullable<z.ZodString>;
|
10796
10924
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
10797
10925
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
10798
10926
|
dateValue: z.ZodNullable<z.ZodDate>;
|
10799
|
-
attribute: z.ZodObject<Omit<{
|
10927
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
10800
10928
|
id: z.ZodString;
|
10801
10929
|
createdAt: z.ZodDate;
|
10802
10930
|
updatedAt: z.ZodDate;
|
10803
10931
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10932
|
+
}, {
|
10804
10933
|
systemName: z.ZodString;
|
10805
10934
|
displayName: z.ZodString;
|
10806
10935
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -10809,13 +10938,14 @@ export declare const contactContract: {
|
|
10809
10938
|
isArchived: z.ZodBoolean;
|
10810
10939
|
isRequired: z.ZodBoolean;
|
10811
10940
|
isUnique: z.ZodBoolean;
|
10812
|
-
options: z.ZodArray<z.ZodObject<{
|
10813
|
-
position: z.ZodNumber;
|
10814
|
-
value: z.ZodString;
|
10941
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
10815
10942
|
label: z.ZodString;
|
10943
|
+
value: z.ZodString;
|
10816
10944
|
isDefault: z.ZodBoolean;
|
10945
|
+
position: z.ZodNumber;
|
10946
|
+
}, {
|
10817
10947
|
id: z.ZodString;
|
10818
|
-
}
|
10948
|
+
}>, "strip", z.ZodTypeAny, {
|
10819
10949
|
id: string;
|
10820
10950
|
position: number;
|
10821
10951
|
value: string;
|
@@ -10828,14 +10958,15 @@ export declare const contactContract: {
|
|
10828
10958
|
label: string;
|
10829
10959
|
isDefault: boolean;
|
10830
10960
|
}>, "many">;
|
10831
|
-
group: z.ZodObject<{
|
10961
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
10832
10962
|
id: z.ZodString;
|
10833
10963
|
createdAt: z.ZodDate;
|
10834
10964
|
updatedAt: z.ZodDate;
|
10835
10965
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10966
|
+
}, {
|
10836
10967
|
systemName: z.ZodString;
|
10837
10968
|
displayName: z.ZodString;
|
10838
|
-
}
|
10969
|
+
}>, "strip", z.ZodTypeAny, {
|
10839
10970
|
id: string;
|
10840
10971
|
createdAt: Date;
|
10841
10972
|
updatedAt: Date;
|
@@ -10850,7 +10981,7 @@ export declare const contactContract: {
|
|
10850
10981
|
systemName: string;
|
10851
10982
|
displayName: string;
|
10852
10983
|
}>;
|
10853
|
-
}
|
10984
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
10854
10985
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
10855
10986
|
id: string;
|
10856
10987
|
position: number;
|
@@ -10877,7 +11008,7 @@ export declare const contactContract: {
|
|
10877
11008
|
isRequired: boolean;
|
10878
11009
|
isUnique: boolean;
|
10879
11010
|
}>;
|
10880
|
-
}
|
11011
|
+
}>, "strip", z.ZodTypeAny, {
|
10881
11012
|
id: string;
|
10882
11013
|
createdAt: Date;
|
10883
11014
|
updatedAt: Date;
|
@@ -10924,7 +11055,7 @@ export declare const contactContract: {
|
|
10924
11055
|
numberValue: number | null;
|
10925
11056
|
dateValue: Date | null;
|
10926
11057
|
}>, "many">>;
|
10927
|
-
}
|
11058
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
10928
11059
|
id: string;
|
10929
11060
|
createdAt: Date;
|
10930
11061
|
updatedAt: Date;
|
@@ -11005,11 +11136,12 @@ export declare const contactContract: {
|
|
11005
11136
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
11006
11137
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
11007
11138
|
dateValue: z.ZodNullable<z.ZodDate>;
|
11008
|
-
attribute: z.ZodObject<Omit<{
|
11139
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
11009
11140
|
id: z.ZodString;
|
11010
11141
|
createdAt: z.ZodDate;
|
11011
11142
|
updatedAt: z.ZodDate;
|
11012
11143
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11144
|
+
}, {
|
11013
11145
|
systemName: z.ZodString;
|
11014
11146
|
displayName: z.ZodString;
|
11015
11147
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -11018,13 +11150,14 @@ export declare const contactContract: {
|
|
11018
11150
|
isArchived: z.ZodBoolean;
|
11019
11151
|
isRequired: z.ZodBoolean;
|
11020
11152
|
isUnique: z.ZodBoolean;
|
11021
|
-
options: z.ZodArray<z.ZodObject<{
|
11022
|
-
position: z.ZodNumber;
|
11023
|
-
value: z.ZodString;
|
11153
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
11024
11154
|
label: z.ZodString;
|
11155
|
+
value: z.ZodString;
|
11025
11156
|
isDefault: z.ZodBoolean;
|
11157
|
+
position: z.ZodNumber;
|
11158
|
+
}, {
|
11026
11159
|
id: z.ZodString;
|
11027
|
-
}
|
11160
|
+
}>, "strip", z.ZodTypeAny, {
|
11028
11161
|
id: string;
|
11029
11162
|
position: number;
|
11030
11163
|
value: string;
|
@@ -11037,14 +11170,15 @@ export declare const contactContract: {
|
|
11037
11170
|
label: string;
|
11038
11171
|
isDefault: boolean;
|
11039
11172
|
}>, "many">;
|
11040
|
-
group: z.ZodObject<{
|
11173
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
11041
11174
|
id: z.ZodString;
|
11042
11175
|
createdAt: z.ZodDate;
|
11043
11176
|
updatedAt: z.ZodDate;
|
11044
11177
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11178
|
+
}, {
|
11045
11179
|
systemName: z.ZodString;
|
11046
11180
|
displayName: z.ZodString;
|
11047
|
-
}
|
11181
|
+
}>, "strip", z.ZodTypeAny, {
|
11048
11182
|
id: string;
|
11049
11183
|
createdAt: Date;
|
11050
11184
|
updatedAt: Date;
|
@@ -11059,7 +11193,7 @@ export declare const contactContract: {
|
|
11059
11193
|
systemName: string;
|
11060
11194
|
displayName: string;
|
11061
11195
|
}>;
|
11062
|
-
}
|
11196
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
11063
11197
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
11064
11198
|
id: string;
|
11065
11199
|
position: number;
|
@@ -11086,18 +11220,19 @@ export declare const contactContract: {
|
|
11086
11220
|
isRequired: boolean;
|
11087
11221
|
isUnique: boolean;
|
11088
11222
|
}>;
|
11089
|
-
uploads: z.ZodArray<z.ZodObject<{
|
11223
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
11090
11224
|
id: z.ZodString;
|
11091
11225
|
createdAt: z.ZodDate;
|
11092
11226
|
updatedAt: z.ZodDate;
|
11093
11227
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11228
|
+
}, {
|
11094
11229
|
bucketName: z.ZodString;
|
11095
11230
|
fileName: z.ZodString;
|
11096
11231
|
fileSize: z.ZodNumber;
|
11097
11232
|
fileKey: z.ZodString;
|
11098
11233
|
fileUrl: z.ZodNullable<z.ZodString>;
|
11099
11234
|
status: z.ZodNullable<z.ZodString>;
|
11100
|
-
}
|
11235
|
+
}>, "strip", z.ZodTypeAny, {
|
11101
11236
|
id: string;
|
11102
11237
|
status: string | null;
|
11103
11238
|
createdAt: Date;
|
@@ -11518,7 +11653,7 @@ export declare const contactContract: {
|
|
11518
11653
|
};
|
11519
11654
|
}[] | undefined;
|
11520
11655
|
}>;
|
11521
|
-
}
|
11656
|
+
}>, "strip", z.ZodTypeAny, {
|
11522
11657
|
data: {
|
11523
11658
|
name: string;
|
11524
11659
|
id: string;
|
@@ -11799,23 +11934,6 @@ export declare const contactContract: {
|
|
11799
11934
|
error?: any;
|
11800
11935
|
}>;
|
11801
11936
|
};
|
11802
|
-
path: "contact-service/contact/:id";
|
11803
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11804
|
-
'x-tenant': z.ZodString;
|
11805
|
-
authorization: z.ZodString;
|
11806
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
11807
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
11808
|
-
}, "strip", z.ZodTypeAny, {
|
11809
|
-
'x-tenant': string;
|
11810
|
-
authorization: string;
|
11811
|
-
'x-client-timezone': string;
|
11812
|
-
'x-code'?: string | undefined;
|
11813
|
-
}, {
|
11814
|
-
'x-tenant': string;
|
11815
|
-
authorization: string;
|
11816
|
-
'x-code'?: string | undefined;
|
11817
|
-
'x-client-timezone'?: string | undefined;
|
11818
|
-
}>>>;
|
11819
11937
|
};
|
11820
11938
|
getExportContacts: {
|
11821
11939
|
method: "GET";
|
@@ -11834,11 +11952,11 @@ export declare const contactContract: {
|
|
11834
11952
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
11835
11953
|
}, "strip", z.ZodTypeAny, {
|
11836
11954
|
type: string;
|
11837
|
-
value:
|
11955
|
+
value: string | string[];
|
11838
11956
|
attributeId: string;
|
11839
11957
|
}, {
|
11840
11958
|
type: string;
|
11841
|
-
value:
|
11959
|
+
value: string | string[];
|
11842
11960
|
attributeId: string;
|
11843
11961
|
}>, "many">>;
|
11844
11962
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -11846,42 +11964,59 @@ export declare const contactContract: {
|
|
11846
11964
|
email: z.ZodOptional<z.ZodString>;
|
11847
11965
|
notes: z.ZodOptional<z.ZodString>;
|
11848
11966
|
}, "strip", z.ZodTypeAny, {
|
11849
|
-
page?: number | undefined;
|
11850
|
-
pageSize?: number | undefined;
|
11851
|
-
keyword?: string | undefined;
|
11852
|
-
company?: string[] | undefined;
|
11853
11967
|
name?: string | undefined;
|
11854
|
-
address?: string | undefined;
|
11855
11968
|
channel?: string[] | undefined;
|
11856
|
-
|
11969
|
+
address?: string | undefined;
|
11970
|
+
page?: number | undefined;
|
11971
|
+
email?: string | undefined;
|
11972
|
+
pageSize?: number | undefined;
|
11973
|
+
phone?: string | undefined;
|
11857
11974
|
customFields?: {
|
11858
11975
|
type: string;
|
11859
|
-
value:
|
11976
|
+
value: string | string[];
|
11860
11977
|
attributeId: string;
|
11861
11978
|
}[] | undefined;
|
11862
|
-
|
11863
|
-
phone?: string | undefined;
|
11864
|
-
email?: string | undefined;
|
11979
|
+
company?: string[] | undefined;
|
11865
11980
|
notes?: string | undefined;
|
11866
|
-
|
11867
|
-
page?: number | undefined;
|
11868
|
-
pageSize?: number | undefined;
|
11981
|
+
tags?: string[] | undefined;
|
11869
11982
|
keyword?: string | undefined;
|
11870
|
-
|
11983
|
+
selectedDate?: string | undefined;
|
11984
|
+
}, {
|
11871
11985
|
name?: string | undefined;
|
11872
|
-
address?: string | undefined;
|
11873
11986
|
channel?: string[] | undefined;
|
11874
|
-
|
11987
|
+
address?: string | undefined;
|
11988
|
+
page?: number | undefined;
|
11989
|
+
email?: string | undefined;
|
11990
|
+
pageSize?: number | undefined;
|
11991
|
+
phone?: string | undefined;
|
11875
11992
|
customFields?: {
|
11876
11993
|
type: string;
|
11877
|
-
value:
|
11994
|
+
value: string | string[];
|
11878
11995
|
attributeId: string;
|
11879
11996
|
}[] | undefined;
|
11880
|
-
|
11881
|
-
phone?: string | undefined;
|
11882
|
-
email?: string | undefined;
|
11997
|
+
company?: string[] | undefined;
|
11883
11998
|
notes?: string | undefined;
|
11999
|
+
tags?: string[] | undefined;
|
12000
|
+
keyword?: string | undefined;
|
12001
|
+
selectedDate?: string | undefined;
|
11884
12002
|
}>;
|
12003
|
+
path: "contact-service/contact/export";
|
12004
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
12005
|
+
'x-tenant': z.ZodString;
|
12006
|
+
authorization: z.ZodString;
|
12007
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
12008
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
12009
|
+
}, "strip", z.ZodTypeAny, {
|
12010
|
+
'x-tenant': string;
|
12011
|
+
authorization: string;
|
12012
|
+
'x-client-timezone': string;
|
12013
|
+
'x-code'?: string | undefined;
|
12014
|
+
}, {
|
12015
|
+
'x-tenant': string;
|
12016
|
+
authorization: string;
|
12017
|
+
'x-code'?: string | undefined;
|
12018
|
+
'x-client-timezone'?: string | undefined;
|
12019
|
+
}>>>;
|
11885
12020
|
responses: {
|
11886
12021
|
200: null;
|
11887
12022
|
400: z.ZodObject<{
|
@@ -11912,23 +12047,6 @@ export declare const contactContract: {
|
|
11912
12047
|
error?: any;
|
11913
12048
|
}>;
|
11914
12049
|
};
|
11915
|
-
path: "contact-service/contact/export";
|
11916
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11917
|
-
'x-tenant': z.ZodString;
|
11918
|
-
authorization: z.ZodString;
|
11919
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
11920
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
11921
|
-
}, "strip", z.ZodTypeAny, {
|
11922
|
-
'x-tenant': string;
|
11923
|
-
authorization: string;
|
11924
|
-
'x-client-timezone': string;
|
11925
|
-
'x-code'?: string | undefined;
|
11926
|
-
}, {
|
11927
|
-
'x-tenant': string;
|
11928
|
-
authorization: string;
|
11929
|
-
'x-code'?: string | undefined;
|
11930
|
-
'x-client-timezone'?: string | undefined;
|
11931
|
-
}>>>;
|
11932
12050
|
};
|
11933
12051
|
};
|
11934
12052
|
//# sourceMappingURL=index.d.ts.map
|