@kl1/contracts 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/index.js +1474 -1068
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1470 -1067
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/auth/index.d.ts +34 -24
  6. package/dist/src/auth/index.d.ts.map +1 -1
  7. package/dist/src/aws/index.d.ts +4 -4
  8. package/dist/src/aws/validation.d.ts +2 -2
  9. package/dist/src/channel/index.d.ts +1357 -0
  10. package/dist/src/channel/index.d.ts.map +1 -0
  11. package/dist/src/channel/schema.d.ts +385 -0
  12. package/dist/src/channel/schema.d.ts.map +1 -0
  13. package/dist/src/channel/validation.d.ts +337 -0
  14. package/dist/src/channel/validation.d.ts.map +1 -0
  15. package/dist/src/chat/index.d.ts +25911 -10496
  16. package/dist/src/chat/index.d.ts.map +1 -1
  17. package/dist/src/chat/schema.d.ts +6196 -1168
  18. package/dist/src/chat/schema.d.ts.map +1 -1
  19. package/dist/src/chat/validation.d.ts +7755 -479
  20. package/dist/src/chat/validation.d.ts.map +1 -1
  21. package/dist/src/company/schema.d.ts +197 -12
  22. package/dist/src/company/schema.d.ts.map +1 -1
  23. package/dist/src/contact/index.d.ts +2667 -0
  24. package/dist/src/contact/index.d.ts.map +1 -0
  25. package/dist/src/contact/schema.d.ts +1070 -6
  26. package/dist/src/contact/schema.d.ts.map +1 -1
  27. package/dist/src/contact/validation.d.ts +1029 -0
  28. package/dist/src/contact/validation.d.ts.map +1 -0
  29. package/dist/src/contract.d.ts +51287 -23157
  30. package/dist/src/contract.d.ts.map +1 -1
  31. package/dist/src/custom-field-upload/schema.d.ts +2 -2
  32. package/dist/src/cx-log/index.d.ts +4 -4
  33. package/dist/src/cx-log/schema.d.ts +2 -2
  34. package/dist/src/extension/index.d.ts +220 -54
  35. package/dist/src/extension/index.d.ts.map +1 -1
  36. package/dist/src/extension/schema.d.ts +6 -6
  37. package/dist/src/extension/schema.d.ts.map +1 -1
  38. package/dist/src/extension/validation.d.ts +6 -12
  39. package/dist/src/extension/validation.d.ts.map +1 -1
  40. package/dist/src/index.d.ts +1 -0
  41. package/dist/src/index.d.ts.map +1 -1
  42. package/dist/src/mail/account-contract.d.ts +2 -2
  43. package/dist/src/mail/mail-contract.d.ts +2865 -3701
  44. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  45. package/dist/src/mail/message-contract.d.ts +18 -18
  46. package/dist/src/mail/room-contract.d.ts +2854 -3690
  47. package/dist/src/mail/room-contract.d.ts.map +1 -1
  48. package/dist/src/mail/schemas/account-validation.schema.d.ts +2 -2
  49. package/dist/src/mail/schemas/message-validation.schema.d.ts +12 -12
  50. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  51. package/dist/src/mail/schemas/room-validation.schema.d.ts +64 -64
  52. package/dist/src/mail/schemas/room.schema.d.ts +50 -50
  53. package/dist/src/messenger/index.d.ts +7617 -0
  54. package/dist/src/messenger/index.d.ts.map +1 -0
  55. package/dist/src/messenger/schema.d.ts +2 -0
  56. package/dist/src/messenger/schema.d.ts.map +1 -0
  57. package/dist/src/messenger/validation.d.ts +2 -0
  58. package/dist/src/messenger/validation.d.ts.map +1 -0
  59. package/dist/src/permission/index.d.ts +2 -0
  60. package/dist/src/permission/index.d.ts.map +1 -1
  61. package/dist/src/permission/schema.d.ts.map +1 -1
  62. package/dist/src/role/schema.d.ts.map +1 -1
  63. package/dist/src/telephony-agent-presence-status/index.d.ts +1376 -0
  64. package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -0
  65. package/dist/src/telephony-agent-presence-status/schema.d.ts +366 -0
  66. package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -0
  67. package/dist/src/telephony-agent-presence-status/validation.d.ts +18 -0
  68. package/dist/src/telephony-agent-presence-status/validation.d.ts.map +1 -0
  69. package/dist/src/telephony-extension/index.d.ts +5 -5
  70. package/dist/src/telephony-extension/schema.d.ts +5 -5
  71. package/dist/src/tenant/schema.d.ts +36 -0
  72. package/dist/src/tenant/schema.d.ts.map +1 -0
  73. package/dist/src/upload/schema.d.ts +4 -4
  74. package/dist/src/user/index.d.ts +119 -85
  75. package/dist/src/user/index.d.ts.map +1 -1
  76. package/dist/src/user/schema.d.ts +22 -16
  77. package/dist/src/user/schema.d.ts.map +1 -1
  78. package/dist/src/user/validation.d.ts +5 -5
  79. package/dist/src/user-presence-status-log/index.d.ts +342 -0
  80. package/dist/src/user-presence-status-log/index.d.ts.map +1 -0
  81. package/dist/src/user-presence-status-log/schema.d.ts +382 -0
  82. package/dist/src/user-presence-status-log/schema.d.ts.map +1 -0
  83. package/dist/src/user-presence-status-log/validation.d.ts +15 -0
  84. package/dist/src/user-presence-status-log/validation.d.ts.map +1 -0
  85. package/dist/src/widget/index.d.ts +28 -26
  86. package/dist/src/widget/index.d.ts.map +1 -1
  87. package/dist/src/widget/schema.d.ts +3 -3
  88. package/dist/src/wrap-up-form/index.d.ts +3 -3
  89. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  90. package/package.json +46 -46
  91. package/dist/src/app/index.d.ts +0 -17
  92. package/dist/src/app/index.d.ts.map +0 -1
  93. package/dist/src/mail/mail-server.d.ts +0 -216
  94. package/dist/src/mail/mail-server.d.ts.map +0 -1
@@ -0,0 +1,2667 @@
1
+ import z from 'zod';
2
+ import { ContactContractValidationSchema } from './validation';
3
+ import { ContactSchema } from './schema';
4
+ export type CreateContactRequest = z.infer<typeof ContactContractValidationSchema.create.request>;
5
+ export type CreateContactResponse = z.infer<typeof ContactContractValidationSchema.create.response>;
6
+ export type UpdateContactRequest = Partial<CreateContactRequest>;
7
+ export type UpdateContactResponse = CreateContactResponse;
8
+ export type Contact = z.infer<typeof ContactSchema>;
9
+ export declare const contactContract: {
10
+ create: {
11
+ body: z.ZodObject<{
12
+ name: z.ZodObject<{
13
+ isRequired: z.ZodBoolean;
14
+ attributeId: z.ZodString;
15
+ value: z.ZodString;
16
+ }, "strip", z.ZodTypeAny, {
17
+ value: string;
18
+ isRequired: boolean;
19
+ attributeId: string;
20
+ }, {
21
+ value: string;
22
+ isRequired: boolean;
23
+ attributeId: string;
24
+ }>;
25
+ email: z.ZodObject<{
26
+ isRequired: z.ZodBoolean;
27
+ attributeId: z.ZodString;
28
+ value: z.ZodArray<z.ZodObject<{
29
+ email: z.ZodString;
30
+ isPrimary: z.ZodBoolean;
31
+ }, "strip", z.ZodTypeAny, {
32
+ isPrimary: boolean;
33
+ email: string;
34
+ }, {
35
+ isPrimary: boolean;
36
+ email: string;
37
+ }>, "many">;
38
+ }, "strip", z.ZodTypeAny, {
39
+ value: {
40
+ isPrimary: boolean;
41
+ email: string;
42
+ }[];
43
+ isRequired: boolean;
44
+ attributeId: string;
45
+ }, {
46
+ value: {
47
+ isPrimary: boolean;
48
+ email: string;
49
+ }[];
50
+ isRequired: boolean;
51
+ attributeId: string;
52
+ }>;
53
+ channel: z.ZodObject<{
54
+ isRequired: z.ZodBoolean;
55
+ attributeId: z.ZodString;
56
+ value: z.ZodString;
57
+ }, "strip", z.ZodTypeAny, {
58
+ value: string;
59
+ isRequired: boolean;
60
+ attributeId: string;
61
+ }, {
62
+ value: string;
63
+ isRequired: boolean;
64
+ attributeId: string;
65
+ }>;
66
+ address: z.ZodObject<{
67
+ isRequired: z.ZodBoolean;
68
+ attributeId: z.ZodString;
69
+ value: z.ZodString;
70
+ }, "strip", z.ZodTypeAny, {
71
+ value: string;
72
+ isRequired: boolean;
73
+ attributeId: string;
74
+ }, {
75
+ value: string;
76
+ isRequired: boolean;
77
+ attributeId: string;
78
+ }>;
79
+ phone: z.ZodOptional<z.ZodObject<{
80
+ isRequired: z.ZodBoolean;
81
+ attributeId: z.ZodString;
82
+ value: z.ZodArray<z.ZodObject<{
83
+ phone: z.ZodString;
84
+ isPrimary: z.ZodBoolean;
85
+ }, "strip", z.ZodTypeAny, {
86
+ isPrimary: boolean;
87
+ phone: string;
88
+ }, {
89
+ isPrimary: boolean;
90
+ phone: string;
91
+ }>, "many">;
92
+ }, "strip", z.ZodTypeAny, {
93
+ value: {
94
+ isPrimary: boolean;
95
+ phone: string;
96
+ }[];
97
+ isRequired: boolean;
98
+ attributeId: string;
99
+ }, {
100
+ value: {
101
+ isPrimary: boolean;
102
+ phone: string;
103
+ }[];
104
+ isRequired: boolean;
105
+ attributeId: string;
106
+ }>>;
107
+ notes: z.ZodObject<{
108
+ isRequired: z.ZodBoolean;
109
+ attributeId: z.ZodString;
110
+ value: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ value: string;
113
+ isRequired: boolean;
114
+ attributeId: string;
115
+ }, {
116
+ value: string;
117
+ isRequired: boolean;
118
+ attributeId: string;
119
+ }>;
120
+ tags: z.ZodObject<{
121
+ isRequired: z.ZodBoolean;
122
+ attributeId: z.ZodString;
123
+ value: z.ZodArray<z.ZodString, "many">;
124
+ }, "strip", z.ZodTypeAny, {
125
+ value: string[];
126
+ isRequired: boolean;
127
+ attributeId: string;
128
+ }, {
129
+ value: string[];
130
+ isRequired: boolean;
131
+ attributeId: string;
132
+ }>;
133
+ company: z.ZodObject<{
134
+ isRequired: z.ZodBoolean;
135
+ attributeId: z.ZodString;
136
+ value: z.ZodString;
137
+ }, "strip", z.ZodTypeAny, {
138
+ value: string;
139
+ isRequired: boolean;
140
+ attributeId: string;
141
+ }, {
142
+ value: string;
143
+ isRequired: boolean;
144
+ attributeId: string;
145
+ }>;
146
+ customFields: z.ZodArray<z.ZodObject<{
147
+ isRequired: z.ZodBoolean;
148
+ attributeId: z.ZodString;
149
+ value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
150
+ type: z.ZodString;
151
+ isDefaultAttribute: z.ZodBoolean;
152
+ }, "strip", z.ZodTypeAny, {
153
+ type: string;
154
+ value: (string | string[]) & (string | string[] | undefined);
155
+ isRequired: boolean;
156
+ attributeId: string;
157
+ isDefaultAttribute: boolean;
158
+ }, {
159
+ type: string;
160
+ value: (string | string[]) & (string | string[] | undefined);
161
+ isRequired: boolean;
162
+ attributeId: string;
163
+ isDefaultAttribute: boolean;
164
+ }>, "many">;
165
+ }, "strip", z.ZodTypeAny, {
166
+ channel: {
167
+ value: string;
168
+ isRequired: boolean;
169
+ attributeId: string;
170
+ };
171
+ address: {
172
+ value: string;
173
+ isRequired: boolean;
174
+ attributeId: string;
175
+ };
176
+ name: {
177
+ value: string;
178
+ isRequired: boolean;
179
+ attributeId: string;
180
+ };
181
+ email: {
182
+ value: {
183
+ isPrimary: boolean;
184
+ email: string;
185
+ }[];
186
+ isRequired: boolean;
187
+ attributeId: string;
188
+ };
189
+ customFields: {
190
+ type: string;
191
+ value: (string | string[]) & (string | string[] | undefined);
192
+ isRequired: boolean;
193
+ attributeId: string;
194
+ isDefaultAttribute: boolean;
195
+ }[];
196
+ notes: {
197
+ value: string;
198
+ isRequired: boolean;
199
+ attributeId: string;
200
+ };
201
+ tags: {
202
+ value: string[];
203
+ isRequired: boolean;
204
+ attributeId: string;
205
+ };
206
+ company: {
207
+ value: string;
208
+ isRequired: boolean;
209
+ attributeId: string;
210
+ };
211
+ phone?: {
212
+ value: {
213
+ isPrimary: boolean;
214
+ phone: string;
215
+ }[];
216
+ isRequired: boolean;
217
+ attributeId: string;
218
+ } | undefined;
219
+ }, {
220
+ channel: {
221
+ value: string;
222
+ isRequired: boolean;
223
+ attributeId: string;
224
+ };
225
+ address: {
226
+ value: string;
227
+ isRequired: boolean;
228
+ attributeId: string;
229
+ };
230
+ name: {
231
+ value: string;
232
+ isRequired: boolean;
233
+ attributeId: string;
234
+ };
235
+ email: {
236
+ value: {
237
+ isPrimary: boolean;
238
+ email: string;
239
+ }[];
240
+ isRequired: boolean;
241
+ attributeId: string;
242
+ };
243
+ customFields: {
244
+ type: string;
245
+ value: (string | string[]) & (string | string[] | undefined);
246
+ isRequired: boolean;
247
+ attributeId: string;
248
+ isDefaultAttribute: boolean;
249
+ }[];
250
+ notes: {
251
+ value: string;
252
+ isRequired: boolean;
253
+ attributeId: string;
254
+ };
255
+ tags: {
256
+ value: string[];
257
+ isRequired: boolean;
258
+ attributeId: string;
259
+ };
260
+ company: {
261
+ value: string;
262
+ isRequired: boolean;
263
+ attributeId: string;
264
+ };
265
+ phone?: {
266
+ value: {
267
+ isPrimary: boolean;
268
+ phone: string;
269
+ }[];
270
+ isRequired: boolean;
271
+ attributeId: string;
272
+ } | undefined;
273
+ }>;
274
+ summary: "Create a new contact";
275
+ method: "POST";
276
+ responses: {
277
+ 201: z.ZodObject<{
278
+ requestId: z.ZodString;
279
+ message: z.ZodString;
280
+ }, "strip", z.ZodTypeAny, {
281
+ message: string;
282
+ requestId: string;
283
+ }, {
284
+ message: string;
285
+ requestId: string;
286
+ }>;
287
+ 400: z.ZodObject<{
288
+ message: z.ZodString;
289
+ }, "strip", z.ZodTypeAny, {
290
+ message: string;
291
+ }, {
292
+ message: string;
293
+ }>;
294
+ 409: z.ZodObject<{
295
+ message: z.ZodString;
296
+ }, "strip", z.ZodTypeAny, {
297
+ message: string;
298
+ }, {
299
+ message: string;
300
+ }>;
301
+ 500: z.ZodObject<{
302
+ message: z.ZodString;
303
+ }, "strip", z.ZodTypeAny, {
304
+ message: string;
305
+ }, {
306
+ message: string;
307
+ }>;
308
+ 401: z.ZodObject<{
309
+ message: z.ZodString;
310
+ error: z.ZodAny;
311
+ }, "strip", z.ZodTypeAny, {
312
+ message: string;
313
+ error?: any;
314
+ }, {
315
+ message: string;
316
+ error?: any;
317
+ }>;
318
+ 404: z.ZodObject<{
319
+ message: z.ZodString;
320
+ error: z.ZodAny;
321
+ }, "strip", z.ZodTypeAny, {
322
+ message: string;
323
+ error?: any;
324
+ }, {
325
+ message: string;
326
+ error?: any;
327
+ }>;
328
+ 422: z.ZodObject<{
329
+ message: z.ZodString;
330
+ error: z.ZodAny;
331
+ }, "strip", z.ZodTypeAny, {
332
+ message: string;
333
+ error?: any;
334
+ }, {
335
+ message: string;
336
+ error?: any;
337
+ }>;
338
+ };
339
+ path: "contact";
340
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
341
+ 'x-tenant': z.ZodString;
342
+ authorization: z.ZodString;
343
+ }, "strip", z.ZodTypeAny, {
344
+ 'x-tenant': string;
345
+ authorization: string;
346
+ }, {
347
+ 'x-tenant': string;
348
+ authorization: string;
349
+ }>>>;
350
+ };
351
+ getById: {
352
+ summary: "Get a contact by id";
353
+ method: "GET";
354
+ pathParams: z.ZodObject<{
355
+ id: z.ZodString;
356
+ }, "strip", z.ZodTypeAny, {
357
+ id: string;
358
+ }, {
359
+ id: string;
360
+ }>;
361
+ responses: {
362
+ 200: z.ZodObject<{
363
+ requestId: z.ZodString;
364
+ data: z.ZodObject<{
365
+ id: z.ZodString;
366
+ createdAt: z.ZodDate;
367
+ updatedAt: z.ZodDate;
368
+ deletedAt: z.ZodNullable<z.ZodDate>;
369
+ name: z.ZodString;
370
+ address: z.ZodNullable<z.ZodString>;
371
+ channel: z.ZodNullable<z.ZodString>;
372
+ notes: z.ZodNullable<z.ZodString>;
373
+ contactProfile: z.ZodNullable<z.ZodString>;
374
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
375
+ tags: z.ZodArray<z.ZodObject<{
376
+ id: z.ZodString;
377
+ createdAt: z.ZodDate;
378
+ updatedAt: z.ZodDate;
379
+ deletedAt: z.ZodNullable<z.ZodDate>;
380
+ name: z.ZodString;
381
+ }, "strip", z.ZodTypeAny, {
382
+ id: string;
383
+ name: string;
384
+ createdAt: Date;
385
+ updatedAt: Date;
386
+ deletedAt: Date | null;
387
+ }, {
388
+ id: string;
389
+ name: string;
390
+ createdAt: Date;
391
+ updatedAt: Date;
392
+ deletedAt: Date | null;
393
+ }>, "many">;
394
+ company: z.ZodNullable<z.ZodObject<Omit<{
395
+ id: z.ZodString;
396
+ createdAt: z.ZodDate;
397
+ updatedAt: z.ZodDate;
398
+ deletedAt: z.ZodNullable<z.ZodDate>;
399
+ name: z.ZodOptional<z.ZodString>;
400
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
404
+ id: z.ZodString;
405
+ createdAt: z.ZodDate;
406
+ updatedAt: z.ZodDate;
407
+ deletedAt: z.ZodNullable<z.ZodDate>;
408
+ textValue: z.ZodNullable<z.ZodString>;
409
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
410
+ numberValue: z.ZodNullable<z.ZodNumber>;
411
+ dateValue: z.ZodNullable<z.ZodString>;
412
+ attribute: z.ZodObject<Omit<{
413
+ id: z.ZodString;
414
+ createdAt: z.ZodDate;
415
+ updatedAt: z.ZodDate;
416
+ deletedAt: z.ZodNullable<z.ZodDate>;
417
+ systemName: z.ZodString;
418
+ displayName: z.ZodString;
419
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
420
+ position: z.ZodNumber;
421
+ isDefault: z.ZodBoolean;
422
+ isArchived: z.ZodBoolean;
423
+ isRequired: z.ZodBoolean;
424
+ isUnique: z.ZodBoolean;
425
+ options: z.ZodArray<z.ZodObject<{
426
+ position: z.ZodNumber;
427
+ value: z.ZodString;
428
+ label: z.ZodString;
429
+ isDefault: z.ZodBoolean;
430
+ id: z.ZodString;
431
+ }, "strip", z.ZodTypeAny, {
432
+ id: string;
433
+ position: number;
434
+ value: string;
435
+ label: string;
436
+ isDefault: boolean;
437
+ }, {
438
+ id: string;
439
+ position: number;
440
+ value: string;
441
+ label: string;
442
+ isDefault: boolean;
443
+ }>, "many">;
444
+ group: z.ZodObject<{
445
+ id: z.ZodString;
446
+ createdAt: z.ZodDate;
447
+ updatedAt: z.ZodDate;
448
+ deletedAt: z.ZodNullable<z.ZodDate>;
449
+ systemName: z.ZodString;
450
+ displayName: z.ZodString;
451
+ }, "strip", z.ZodTypeAny, {
452
+ id: string;
453
+ createdAt: Date;
454
+ updatedAt: Date;
455
+ deletedAt: Date | null;
456
+ systemName: string;
457
+ displayName: string;
458
+ }, {
459
+ id: string;
460
+ createdAt: Date;
461
+ updatedAt: Date;
462
+ deletedAt: Date | null;
463
+ systemName: string;
464
+ displayName: string;
465
+ }>;
466
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
467
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
468
+ id: string;
469
+ position: number;
470
+ createdAt: Date;
471
+ updatedAt: Date;
472
+ deletedAt: Date | null;
473
+ isDefault: boolean;
474
+ systemName: string;
475
+ displayName: string;
476
+ isArchived: boolean;
477
+ isRequired: boolean;
478
+ isUnique: boolean;
479
+ }, {
480
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
481
+ id: string;
482
+ position: number;
483
+ createdAt: Date;
484
+ updatedAt: Date;
485
+ deletedAt: Date | null;
486
+ isDefault: boolean;
487
+ systemName: string;
488
+ displayName: string;
489
+ isArchived: boolean;
490
+ isRequired: boolean;
491
+ isUnique: boolean;
492
+ }>;
493
+ }, "strip", z.ZodTypeAny, {
494
+ id: string;
495
+ createdAt: Date;
496
+ updatedAt: Date;
497
+ deletedAt: Date | null;
498
+ attribute: {
499
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
500
+ id: string;
501
+ position: number;
502
+ createdAt: Date;
503
+ updatedAt: Date;
504
+ deletedAt: Date | null;
505
+ isDefault: boolean;
506
+ systemName: string;
507
+ displayName: string;
508
+ isArchived: boolean;
509
+ isRequired: boolean;
510
+ isUnique: boolean;
511
+ };
512
+ textValue: string | null;
513
+ booleanValue: boolean | null;
514
+ numberValue: number | null;
515
+ dateValue: string | null;
516
+ }, {
517
+ id: string;
518
+ createdAt: Date;
519
+ updatedAt: Date;
520
+ deletedAt: Date | null;
521
+ attribute: {
522
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
523
+ id: string;
524
+ position: number;
525
+ createdAt: Date;
526
+ updatedAt: Date;
527
+ deletedAt: Date | null;
528
+ isDefault: boolean;
529
+ systemName: string;
530
+ displayName: string;
531
+ isArchived: boolean;
532
+ isRequired: boolean;
533
+ isUnique: boolean;
534
+ };
535
+ textValue: string | null;
536
+ booleanValue: boolean | null;
537
+ numberValue: number | null;
538
+ dateValue: string | null;
539
+ }>, "many">>;
540
+ }, "customFields">, "strip", z.ZodTypeAny, {
541
+ id: string;
542
+ createdAt: Date;
543
+ updatedAt: Date;
544
+ deletedAt: Date | null;
545
+ address?: string | null | undefined;
546
+ name?: string | undefined;
547
+ phone?: string | null | undefined;
548
+ industry?: string | null | undefined;
549
+ }, {
550
+ id: string;
551
+ createdAt: Date;
552
+ updatedAt: Date;
553
+ deletedAt: Date | null;
554
+ address?: string | null | undefined;
555
+ name?: string | undefined;
556
+ phone?: string | null | undefined;
557
+ industry?: string | null | undefined;
558
+ }>>;
559
+ customFields: z.ZodArray<z.ZodObject<{
560
+ id: z.ZodString;
561
+ createdAt: z.ZodDate;
562
+ updatedAt: z.ZodDate;
563
+ deletedAt: z.ZodNullable<z.ZodDate>;
564
+ textValue: z.ZodNullable<z.ZodString>;
565
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
566
+ numberValue: z.ZodNullable<z.ZodNumber>;
567
+ dateValue: z.ZodNullable<z.ZodDate>;
568
+ attribute: z.ZodObject<Omit<{
569
+ id: z.ZodString;
570
+ createdAt: z.ZodDate;
571
+ updatedAt: z.ZodDate;
572
+ deletedAt: z.ZodNullable<z.ZodDate>;
573
+ systemName: z.ZodString;
574
+ displayName: z.ZodString;
575
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
576
+ position: z.ZodNumber;
577
+ isDefault: z.ZodBoolean;
578
+ isArchived: z.ZodBoolean;
579
+ isRequired: z.ZodBoolean;
580
+ isUnique: z.ZodBoolean;
581
+ options: z.ZodArray<z.ZodObject<{
582
+ position: z.ZodNumber;
583
+ value: z.ZodString;
584
+ label: z.ZodString;
585
+ isDefault: z.ZodBoolean;
586
+ id: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ id: string;
589
+ position: number;
590
+ value: string;
591
+ label: string;
592
+ isDefault: boolean;
593
+ }, {
594
+ id: string;
595
+ position: number;
596
+ value: string;
597
+ label: string;
598
+ isDefault: boolean;
599
+ }>, "many">;
600
+ group: z.ZodObject<{
601
+ id: z.ZodString;
602
+ createdAt: z.ZodDate;
603
+ updatedAt: z.ZodDate;
604
+ deletedAt: z.ZodNullable<z.ZodDate>;
605
+ systemName: z.ZodString;
606
+ displayName: z.ZodString;
607
+ }, "strip", z.ZodTypeAny, {
608
+ id: string;
609
+ createdAt: Date;
610
+ updatedAt: Date;
611
+ deletedAt: Date | null;
612
+ systemName: string;
613
+ displayName: string;
614
+ }, {
615
+ id: string;
616
+ createdAt: Date;
617
+ updatedAt: Date;
618
+ deletedAt: Date | null;
619
+ systemName: string;
620
+ displayName: string;
621
+ }>;
622
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
623
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
624
+ id: string;
625
+ position: number;
626
+ createdAt: Date;
627
+ updatedAt: Date;
628
+ deletedAt: Date | null;
629
+ isDefault: boolean;
630
+ systemName: string;
631
+ displayName: string;
632
+ isArchived: boolean;
633
+ isRequired: boolean;
634
+ isUnique: boolean;
635
+ }, {
636
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
637
+ id: string;
638
+ position: number;
639
+ createdAt: Date;
640
+ updatedAt: Date;
641
+ deletedAt: Date | null;
642
+ isDefault: boolean;
643
+ systemName: string;
644
+ displayName: string;
645
+ isArchived: boolean;
646
+ isRequired: boolean;
647
+ isUnique: boolean;
648
+ }>;
649
+ uploads: z.ZodArray<z.ZodObject<{
650
+ id: z.ZodString;
651
+ createdAt: z.ZodDate;
652
+ updatedAt: z.ZodDate;
653
+ deletedAt: z.ZodNullable<z.ZodDate>;
654
+ customFieldId: z.ZodString;
655
+ upload: z.ZodObject<{
656
+ id: z.ZodString;
657
+ createdAt: z.ZodDate;
658
+ updatedAt: z.ZodDate;
659
+ deletedAt: z.ZodNullable<z.ZodDate>;
660
+ bucketName: z.ZodString;
661
+ fileName: z.ZodString;
662
+ fileSize: z.ZodNumber;
663
+ fileKey: z.ZodString;
664
+ }, "strip", z.ZodTypeAny, {
665
+ id: string;
666
+ createdAt: Date;
667
+ updatedAt: Date;
668
+ deletedAt: Date | null;
669
+ fileName: string;
670
+ fileKey: string;
671
+ bucketName: string;
672
+ fileSize: number;
673
+ }, {
674
+ id: string;
675
+ createdAt: Date;
676
+ updatedAt: Date;
677
+ deletedAt: Date | null;
678
+ fileName: string;
679
+ fileKey: string;
680
+ bucketName: string;
681
+ fileSize: number;
682
+ }>;
683
+ }, "strip", z.ZodTypeAny, {
684
+ id: string;
685
+ createdAt: Date;
686
+ updatedAt: Date;
687
+ deletedAt: Date | null;
688
+ customFieldId: string;
689
+ upload: {
690
+ id: string;
691
+ createdAt: Date;
692
+ updatedAt: Date;
693
+ deletedAt: Date | null;
694
+ fileName: string;
695
+ fileKey: string;
696
+ bucketName: string;
697
+ fileSize: number;
698
+ };
699
+ }, {
700
+ id: string;
701
+ createdAt: Date;
702
+ updatedAt: Date;
703
+ deletedAt: Date | null;
704
+ customFieldId: string;
705
+ upload: {
706
+ id: string;
707
+ createdAt: Date;
708
+ updatedAt: Date;
709
+ deletedAt: Date | null;
710
+ fileName: string;
711
+ fileKey: string;
712
+ bucketName: string;
713
+ fileSize: number;
714
+ };
715
+ }>, "many">;
716
+ }, "strip", z.ZodTypeAny, {
717
+ id: string;
718
+ createdAt: Date;
719
+ updatedAt: Date;
720
+ deletedAt: Date | null;
721
+ attribute: {
722
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
723
+ id: string;
724
+ position: number;
725
+ createdAt: Date;
726
+ updatedAt: Date;
727
+ deletedAt: Date | null;
728
+ isDefault: boolean;
729
+ systemName: string;
730
+ displayName: string;
731
+ isArchived: boolean;
732
+ isRequired: boolean;
733
+ isUnique: boolean;
734
+ };
735
+ textValue: string | null;
736
+ booleanValue: boolean | null;
737
+ numberValue: number | null;
738
+ dateValue: Date | null;
739
+ uploads: {
740
+ id: string;
741
+ createdAt: Date;
742
+ updatedAt: Date;
743
+ deletedAt: Date | null;
744
+ customFieldId: string;
745
+ upload: {
746
+ id: string;
747
+ createdAt: Date;
748
+ updatedAt: Date;
749
+ deletedAt: Date | null;
750
+ fileName: string;
751
+ fileKey: string;
752
+ bucketName: string;
753
+ fileSize: number;
754
+ };
755
+ }[];
756
+ }, {
757
+ id: string;
758
+ createdAt: Date;
759
+ updatedAt: Date;
760
+ deletedAt: Date | null;
761
+ attribute: {
762
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
763
+ id: string;
764
+ position: number;
765
+ createdAt: Date;
766
+ updatedAt: Date;
767
+ deletedAt: Date | null;
768
+ isDefault: boolean;
769
+ systemName: string;
770
+ displayName: string;
771
+ isArchived: boolean;
772
+ isRequired: boolean;
773
+ isUnique: boolean;
774
+ };
775
+ textValue: string | null;
776
+ booleanValue: boolean | null;
777
+ numberValue: number | null;
778
+ dateValue: Date | null;
779
+ uploads: {
780
+ id: string;
781
+ createdAt: Date;
782
+ updatedAt: Date;
783
+ deletedAt: Date | null;
784
+ customFieldId: string;
785
+ upload: {
786
+ id: string;
787
+ createdAt: Date;
788
+ updatedAt: Date;
789
+ deletedAt: Date | null;
790
+ fileName: string;
791
+ fileKey: string;
792
+ bucketName: string;
793
+ fileSize: number;
794
+ };
795
+ }[];
796
+ }>, "many">;
797
+ contactEmails: z.ZodArray<z.ZodObject<{
798
+ id: z.ZodString;
799
+ createdAt: z.ZodDate;
800
+ updatedAt: z.ZodDate;
801
+ deletedAt: z.ZodNullable<z.ZodDate>;
802
+ email: z.ZodString;
803
+ isPrimary: z.ZodBoolean;
804
+ }, "strip", z.ZodTypeAny, {
805
+ id: string;
806
+ isPrimary: boolean;
807
+ email: string;
808
+ createdAt: Date;
809
+ updatedAt: Date;
810
+ deletedAt: Date | null;
811
+ }, {
812
+ id: string;
813
+ isPrimary: boolean;
814
+ email: string;
815
+ createdAt: Date;
816
+ updatedAt: Date;
817
+ deletedAt: Date | null;
818
+ }>, "many">;
819
+ contactPhones: z.ZodArray<z.ZodObject<{
820
+ id: z.ZodString;
821
+ createdAt: z.ZodDate;
822
+ updatedAt: z.ZodDate;
823
+ deletedAt: z.ZodNullable<z.ZodDate>;
824
+ phone: z.ZodString;
825
+ isPrimary: z.ZodBoolean;
826
+ }, "strip", z.ZodTypeAny, {
827
+ id: string;
828
+ isPrimary: boolean;
829
+ createdAt: Date;
830
+ updatedAt: Date;
831
+ deletedAt: Date | null;
832
+ phone: string;
833
+ }, {
834
+ id: string;
835
+ isPrimary: boolean;
836
+ createdAt: Date;
837
+ updatedAt: Date;
838
+ deletedAt: Date | null;
839
+ phone: string;
840
+ }>, "many">;
841
+ activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
842
+ id: z.ZodString;
843
+ createdAt: z.ZodDate;
844
+ updatedAt: z.ZodDate;
845
+ deletedAt: z.ZodNullable<z.ZodDate>;
846
+ entityId: z.ZodString;
847
+ description: z.ZodString;
848
+ entityType: z.ZodObject<{
849
+ id: z.ZodString;
850
+ createdAt: z.ZodDate;
851
+ updatedAt: z.ZodDate;
852
+ deletedAt: z.ZodNullable<z.ZodDate>;
853
+ entity: z.ZodString;
854
+ description: z.ZodNullable<z.ZodString>;
855
+ }, "strip", z.ZodTypeAny, {
856
+ id: string;
857
+ description: string | null;
858
+ createdAt: Date;
859
+ updatedAt: Date;
860
+ deletedAt: Date | null;
861
+ entity: string;
862
+ }, {
863
+ id: string;
864
+ description: string | null;
865
+ createdAt: Date;
866
+ updatedAt: Date;
867
+ deletedAt: Date | null;
868
+ entity: string;
869
+ }>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ id: string;
872
+ description: string;
873
+ createdAt: Date;
874
+ updatedAt: Date;
875
+ deletedAt: Date | null;
876
+ entityId: string;
877
+ entityType: {
878
+ id: string;
879
+ description: string | null;
880
+ createdAt: Date;
881
+ updatedAt: Date;
882
+ deletedAt: Date | null;
883
+ entity: string;
884
+ };
885
+ }, {
886
+ id: string;
887
+ description: string;
888
+ createdAt: Date;
889
+ updatedAt: Date;
890
+ deletedAt: Date | null;
891
+ entityId: string;
892
+ entityType: {
893
+ id: string;
894
+ description: string | null;
895
+ createdAt: Date;
896
+ updatedAt: Date;
897
+ deletedAt: Date | null;
898
+ entity: string;
899
+ };
900
+ }>, "many">>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ id: string;
903
+ channel: string | null;
904
+ address: string | null;
905
+ name: string;
906
+ createdAt: Date;
907
+ updatedAt: Date;
908
+ deletedAt: Date | null;
909
+ customFields: {
910
+ id: string;
911
+ createdAt: Date;
912
+ updatedAt: Date;
913
+ deletedAt: Date | null;
914
+ attribute: {
915
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
916
+ id: string;
917
+ position: number;
918
+ createdAt: Date;
919
+ updatedAt: Date;
920
+ deletedAt: Date | null;
921
+ isDefault: boolean;
922
+ systemName: string;
923
+ displayName: string;
924
+ isArchived: boolean;
925
+ isRequired: boolean;
926
+ isUnique: boolean;
927
+ };
928
+ textValue: string | null;
929
+ booleanValue: boolean | null;
930
+ numberValue: number | null;
931
+ dateValue: Date | null;
932
+ uploads: {
933
+ id: string;
934
+ createdAt: Date;
935
+ updatedAt: Date;
936
+ deletedAt: Date | null;
937
+ customFieldId: string;
938
+ upload: {
939
+ id: string;
940
+ createdAt: Date;
941
+ updatedAt: Date;
942
+ deletedAt: Date | null;
943
+ fileName: string;
944
+ fileKey: string;
945
+ bucketName: string;
946
+ fileSize: number;
947
+ };
948
+ }[];
949
+ }[];
950
+ notes: string | null;
951
+ contactProfile: string | null;
952
+ socialProfileUrl: string | null;
953
+ tags: {
954
+ id: string;
955
+ name: string;
956
+ createdAt: Date;
957
+ updatedAt: Date;
958
+ deletedAt: Date | null;
959
+ }[];
960
+ company: {
961
+ id: string;
962
+ createdAt: Date;
963
+ updatedAt: Date;
964
+ deletedAt: Date | null;
965
+ address?: string | null | undefined;
966
+ name?: string | undefined;
967
+ phone?: string | null | undefined;
968
+ industry?: string | null | undefined;
969
+ } | null;
970
+ contactEmails: {
971
+ id: string;
972
+ isPrimary: boolean;
973
+ email: string;
974
+ createdAt: Date;
975
+ updatedAt: Date;
976
+ deletedAt: Date | null;
977
+ }[];
978
+ contactPhones: {
979
+ id: string;
980
+ isPrimary: boolean;
981
+ createdAt: Date;
982
+ updatedAt: Date;
983
+ deletedAt: Date | null;
984
+ phone: string;
985
+ }[];
986
+ activityLogs?: {
987
+ id: string;
988
+ description: string;
989
+ createdAt: Date;
990
+ updatedAt: Date;
991
+ deletedAt: Date | null;
992
+ entityId: string;
993
+ entityType: {
994
+ id: string;
995
+ description: string | null;
996
+ createdAt: Date;
997
+ updatedAt: Date;
998
+ deletedAt: Date | null;
999
+ entity: string;
1000
+ };
1001
+ }[] | undefined;
1002
+ }, {
1003
+ id: string;
1004
+ channel: string | null;
1005
+ address: string | null;
1006
+ name: string;
1007
+ createdAt: Date;
1008
+ updatedAt: Date;
1009
+ deletedAt: Date | null;
1010
+ customFields: {
1011
+ id: string;
1012
+ createdAt: Date;
1013
+ updatedAt: Date;
1014
+ deletedAt: Date | null;
1015
+ attribute: {
1016
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1017
+ id: string;
1018
+ position: number;
1019
+ createdAt: Date;
1020
+ updatedAt: Date;
1021
+ deletedAt: Date | null;
1022
+ isDefault: boolean;
1023
+ systemName: string;
1024
+ displayName: string;
1025
+ isArchived: boolean;
1026
+ isRequired: boolean;
1027
+ isUnique: boolean;
1028
+ };
1029
+ textValue: string | null;
1030
+ booleanValue: boolean | null;
1031
+ numberValue: number | null;
1032
+ dateValue: Date | null;
1033
+ uploads: {
1034
+ id: string;
1035
+ createdAt: Date;
1036
+ updatedAt: Date;
1037
+ deletedAt: Date | null;
1038
+ customFieldId: string;
1039
+ upload: {
1040
+ id: string;
1041
+ createdAt: Date;
1042
+ updatedAt: Date;
1043
+ deletedAt: Date | null;
1044
+ fileName: string;
1045
+ fileKey: string;
1046
+ bucketName: string;
1047
+ fileSize: number;
1048
+ };
1049
+ }[];
1050
+ }[];
1051
+ notes: string | null;
1052
+ contactProfile: string | null;
1053
+ socialProfileUrl: string | null;
1054
+ tags: {
1055
+ id: string;
1056
+ name: string;
1057
+ createdAt: Date;
1058
+ updatedAt: Date;
1059
+ deletedAt: Date | null;
1060
+ }[];
1061
+ company: {
1062
+ id: string;
1063
+ createdAt: Date;
1064
+ updatedAt: Date;
1065
+ deletedAt: Date | null;
1066
+ address?: string | null | undefined;
1067
+ name?: string | undefined;
1068
+ phone?: string | null | undefined;
1069
+ industry?: string | null | undefined;
1070
+ } | null;
1071
+ contactEmails: {
1072
+ id: string;
1073
+ isPrimary: boolean;
1074
+ email: string;
1075
+ createdAt: Date;
1076
+ updatedAt: Date;
1077
+ deletedAt: Date | null;
1078
+ }[];
1079
+ contactPhones: {
1080
+ id: string;
1081
+ isPrimary: boolean;
1082
+ createdAt: Date;
1083
+ updatedAt: Date;
1084
+ deletedAt: Date | null;
1085
+ phone: string;
1086
+ }[];
1087
+ activityLogs?: {
1088
+ id: string;
1089
+ description: string;
1090
+ createdAt: Date;
1091
+ updatedAt: Date;
1092
+ deletedAt: Date | null;
1093
+ entityId: string;
1094
+ entityType: {
1095
+ id: string;
1096
+ description: string | null;
1097
+ createdAt: Date;
1098
+ updatedAt: Date;
1099
+ deletedAt: Date | null;
1100
+ entity: string;
1101
+ };
1102
+ }[] | undefined;
1103
+ }>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ data: {
1106
+ id: string;
1107
+ channel: string | null;
1108
+ address: string | null;
1109
+ name: string;
1110
+ createdAt: Date;
1111
+ updatedAt: Date;
1112
+ deletedAt: Date | null;
1113
+ customFields: {
1114
+ id: string;
1115
+ createdAt: Date;
1116
+ updatedAt: Date;
1117
+ deletedAt: Date | null;
1118
+ attribute: {
1119
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1120
+ id: string;
1121
+ position: number;
1122
+ createdAt: Date;
1123
+ updatedAt: Date;
1124
+ deletedAt: Date | null;
1125
+ isDefault: boolean;
1126
+ systemName: string;
1127
+ displayName: string;
1128
+ isArchived: boolean;
1129
+ isRequired: boolean;
1130
+ isUnique: boolean;
1131
+ };
1132
+ textValue: string | null;
1133
+ booleanValue: boolean | null;
1134
+ numberValue: number | null;
1135
+ dateValue: Date | null;
1136
+ uploads: {
1137
+ id: string;
1138
+ createdAt: Date;
1139
+ updatedAt: Date;
1140
+ deletedAt: Date | null;
1141
+ customFieldId: string;
1142
+ upload: {
1143
+ id: string;
1144
+ createdAt: Date;
1145
+ updatedAt: Date;
1146
+ deletedAt: Date | null;
1147
+ fileName: string;
1148
+ fileKey: string;
1149
+ bucketName: string;
1150
+ fileSize: number;
1151
+ };
1152
+ }[];
1153
+ }[];
1154
+ notes: string | null;
1155
+ contactProfile: string | null;
1156
+ socialProfileUrl: string | null;
1157
+ tags: {
1158
+ id: string;
1159
+ name: string;
1160
+ createdAt: Date;
1161
+ updatedAt: Date;
1162
+ deletedAt: Date | null;
1163
+ }[];
1164
+ company: {
1165
+ id: string;
1166
+ createdAt: Date;
1167
+ updatedAt: Date;
1168
+ deletedAt: Date | null;
1169
+ address?: string | null | undefined;
1170
+ name?: string | undefined;
1171
+ phone?: string | null | undefined;
1172
+ industry?: string | null | undefined;
1173
+ } | null;
1174
+ contactEmails: {
1175
+ id: string;
1176
+ isPrimary: boolean;
1177
+ email: string;
1178
+ createdAt: Date;
1179
+ updatedAt: Date;
1180
+ deletedAt: Date | null;
1181
+ }[];
1182
+ contactPhones: {
1183
+ id: string;
1184
+ isPrimary: boolean;
1185
+ createdAt: Date;
1186
+ updatedAt: Date;
1187
+ deletedAt: Date | null;
1188
+ phone: string;
1189
+ }[];
1190
+ activityLogs?: {
1191
+ id: string;
1192
+ description: string;
1193
+ createdAt: Date;
1194
+ updatedAt: Date;
1195
+ deletedAt: Date | null;
1196
+ entityId: string;
1197
+ entityType: {
1198
+ id: string;
1199
+ description: string | null;
1200
+ createdAt: Date;
1201
+ updatedAt: Date;
1202
+ deletedAt: Date | null;
1203
+ entity: string;
1204
+ };
1205
+ }[] | undefined;
1206
+ };
1207
+ requestId: string;
1208
+ }, {
1209
+ data: {
1210
+ id: string;
1211
+ channel: string | null;
1212
+ address: string | null;
1213
+ name: string;
1214
+ createdAt: Date;
1215
+ updatedAt: Date;
1216
+ deletedAt: Date | null;
1217
+ customFields: {
1218
+ id: string;
1219
+ createdAt: Date;
1220
+ updatedAt: Date;
1221
+ deletedAt: Date | null;
1222
+ attribute: {
1223
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1224
+ id: string;
1225
+ position: number;
1226
+ createdAt: Date;
1227
+ updatedAt: Date;
1228
+ deletedAt: Date | null;
1229
+ isDefault: boolean;
1230
+ systemName: string;
1231
+ displayName: string;
1232
+ isArchived: boolean;
1233
+ isRequired: boolean;
1234
+ isUnique: boolean;
1235
+ };
1236
+ textValue: string | null;
1237
+ booleanValue: boolean | null;
1238
+ numberValue: number | null;
1239
+ dateValue: Date | null;
1240
+ uploads: {
1241
+ id: string;
1242
+ createdAt: Date;
1243
+ updatedAt: Date;
1244
+ deletedAt: Date | null;
1245
+ customFieldId: string;
1246
+ upload: {
1247
+ id: string;
1248
+ createdAt: Date;
1249
+ updatedAt: Date;
1250
+ deletedAt: Date | null;
1251
+ fileName: string;
1252
+ fileKey: string;
1253
+ bucketName: string;
1254
+ fileSize: number;
1255
+ };
1256
+ }[];
1257
+ }[];
1258
+ notes: string | null;
1259
+ contactProfile: string | null;
1260
+ socialProfileUrl: string | null;
1261
+ tags: {
1262
+ id: string;
1263
+ name: string;
1264
+ createdAt: Date;
1265
+ updatedAt: Date;
1266
+ deletedAt: Date | null;
1267
+ }[];
1268
+ company: {
1269
+ id: string;
1270
+ createdAt: Date;
1271
+ updatedAt: Date;
1272
+ deletedAt: Date | null;
1273
+ address?: string | null | undefined;
1274
+ name?: string | undefined;
1275
+ phone?: string | null | undefined;
1276
+ industry?: string | null | undefined;
1277
+ } | null;
1278
+ contactEmails: {
1279
+ id: string;
1280
+ isPrimary: boolean;
1281
+ email: string;
1282
+ createdAt: Date;
1283
+ updatedAt: Date;
1284
+ deletedAt: Date | null;
1285
+ }[];
1286
+ contactPhones: {
1287
+ id: string;
1288
+ isPrimary: boolean;
1289
+ createdAt: Date;
1290
+ updatedAt: Date;
1291
+ deletedAt: Date | null;
1292
+ phone: string;
1293
+ }[];
1294
+ activityLogs?: {
1295
+ id: string;
1296
+ description: string;
1297
+ createdAt: Date;
1298
+ updatedAt: Date;
1299
+ deletedAt: Date | null;
1300
+ entityId: string;
1301
+ entityType: {
1302
+ id: string;
1303
+ description: string | null;
1304
+ createdAt: Date;
1305
+ updatedAt: Date;
1306
+ deletedAt: Date | null;
1307
+ entity: string;
1308
+ };
1309
+ }[] | undefined;
1310
+ };
1311
+ requestId: string;
1312
+ }>;
1313
+ 400: z.ZodObject<{
1314
+ message: z.ZodString;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ message: string;
1317
+ }, {
1318
+ message: string;
1319
+ }>;
1320
+ 409: z.ZodObject<{
1321
+ message: z.ZodString;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ message: string;
1324
+ }, {
1325
+ message: string;
1326
+ }>;
1327
+ 500: z.ZodObject<{
1328
+ message: z.ZodString;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ message: string;
1331
+ }, {
1332
+ message: string;
1333
+ }>;
1334
+ 401: z.ZodObject<{
1335
+ message: z.ZodString;
1336
+ error: z.ZodAny;
1337
+ }, "strip", z.ZodTypeAny, {
1338
+ message: string;
1339
+ error?: any;
1340
+ }, {
1341
+ message: string;
1342
+ error?: any;
1343
+ }>;
1344
+ 404: z.ZodObject<{
1345
+ message: z.ZodString;
1346
+ error: z.ZodAny;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ message: string;
1349
+ error?: any;
1350
+ }, {
1351
+ message: string;
1352
+ error?: any;
1353
+ }>;
1354
+ 422: z.ZodObject<{
1355
+ message: z.ZodString;
1356
+ error: z.ZodAny;
1357
+ }, "strip", z.ZodTypeAny, {
1358
+ message: string;
1359
+ error?: any;
1360
+ }, {
1361
+ message: string;
1362
+ error?: any;
1363
+ }>;
1364
+ };
1365
+ path: "contact/:id";
1366
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1367
+ 'x-tenant': z.ZodString;
1368
+ authorization: z.ZodString;
1369
+ }, "strip", z.ZodTypeAny, {
1370
+ 'x-tenant': string;
1371
+ authorization: string;
1372
+ }, {
1373
+ 'x-tenant': string;
1374
+ authorization: string;
1375
+ }>>>;
1376
+ };
1377
+ update: {
1378
+ body: z.ZodObject<{
1379
+ name: z.ZodOptional<z.ZodObject<{
1380
+ isRequired: z.ZodBoolean;
1381
+ attributeId: z.ZodString;
1382
+ value: z.ZodString;
1383
+ }, "strip", z.ZodTypeAny, {
1384
+ value: string;
1385
+ isRequired: boolean;
1386
+ attributeId: string;
1387
+ }, {
1388
+ value: string;
1389
+ isRequired: boolean;
1390
+ attributeId: string;
1391
+ }>>;
1392
+ email: z.ZodOptional<z.ZodObject<{
1393
+ isRequired: z.ZodBoolean;
1394
+ attributeId: z.ZodString;
1395
+ value: z.ZodArray<z.ZodObject<{
1396
+ email: z.ZodString;
1397
+ isPrimary: z.ZodBoolean;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ isPrimary: boolean;
1400
+ email: string;
1401
+ }, {
1402
+ isPrimary: boolean;
1403
+ email: string;
1404
+ }>, "many">;
1405
+ }, "strip", z.ZodTypeAny, {
1406
+ value: {
1407
+ isPrimary: boolean;
1408
+ email: string;
1409
+ }[];
1410
+ isRequired: boolean;
1411
+ attributeId: string;
1412
+ }, {
1413
+ value: {
1414
+ isPrimary: boolean;
1415
+ email: string;
1416
+ }[];
1417
+ isRequired: boolean;
1418
+ attributeId: string;
1419
+ }>>;
1420
+ channel: z.ZodOptional<z.ZodObject<{
1421
+ isRequired: z.ZodBoolean;
1422
+ attributeId: z.ZodString;
1423
+ value: z.ZodString;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ value: string;
1426
+ isRequired: boolean;
1427
+ attributeId: string;
1428
+ }, {
1429
+ value: string;
1430
+ isRequired: boolean;
1431
+ attributeId: string;
1432
+ }>>;
1433
+ address: z.ZodOptional<z.ZodObject<{
1434
+ isRequired: z.ZodBoolean;
1435
+ attributeId: z.ZodString;
1436
+ value: z.ZodString;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ value: string;
1439
+ isRequired: boolean;
1440
+ attributeId: string;
1441
+ }, {
1442
+ value: string;
1443
+ isRequired: boolean;
1444
+ attributeId: string;
1445
+ }>>;
1446
+ phone: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1447
+ isRequired: z.ZodBoolean;
1448
+ attributeId: z.ZodString;
1449
+ value: z.ZodArray<z.ZodObject<{
1450
+ phone: z.ZodString;
1451
+ isPrimary: z.ZodBoolean;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ isPrimary: boolean;
1454
+ phone: string;
1455
+ }, {
1456
+ isPrimary: boolean;
1457
+ phone: string;
1458
+ }>, "many">;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ value: {
1461
+ isPrimary: boolean;
1462
+ phone: string;
1463
+ }[];
1464
+ isRequired: boolean;
1465
+ attributeId: string;
1466
+ }, {
1467
+ value: {
1468
+ isPrimary: boolean;
1469
+ phone: string;
1470
+ }[];
1471
+ isRequired: boolean;
1472
+ attributeId: string;
1473
+ }>>>;
1474
+ notes: z.ZodOptional<z.ZodObject<{
1475
+ isRequired: z.ZodBoolean;
1476
+ attributeId: z.ZodString;
1477
+ value: z.ZodString;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ value: string;
1480
+ isRequired: boolean;
1481
+ attributeId: string;
1482
+ }, {
1483
+ value: string;
1484
+ isRequired: boolean;
1485
+ attributeId: string;
1486
+ }>>;
1487
+ tags: z.ZodOptional<z.ZodObject<{
1488
+ isRequired: z.ZodBoolean;
1489
+ attributeId: z.ZodString;
1490
+ value: z.ZodArray<z.ZodString, "many">;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ value: string[];
1493
+ isRequired: boolean;
1494
+ attributeId: string;
1495
+ }, {
1496
+ value: string[];
1497
+ isRequired: boolean;
1498
+ attributeId: string;
1499
+ }>>;
1500
+ company: z.ZodOptional<z.ZodObject<{
1501
+ isRequired: z.ZodBoolean;
1502
+ attributeId: z.ZodString;
1503
+ value: z.ZodString;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ value: string;
1506
+ isRequired: boolean;
1507
+ attributeId: string;
1508
+ }, {
1509
+ value: string;
1510
+ isRequired: boolean;
1511
+ attributeId: string;
1512
+ }>>;
1513
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1514
+ isRequired: z.ZodBoolean;
1515
+ attributeId: z.ZodString;
1516
+ value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1517
+ type: z.ZodString;
1518
+ isDefaultAttribute: z.ZodBoolean;
1519
+ }, "strip", z.ZodTypeAny, {
1520
+ type: string;
1521
+ value: (string | string[]) & (string | string[] | undefined);
1522
+ isRequired: boolean;
1523
+ attributeId: string;
1524
+ isDefaultAttribute: boolean;
1525
+ }, {
1526
+ type: string;
1527
+ value: (string | string[]) & (string | string[] | undefined);
1528
+ isRequired: boolean;
1529
+ attributeId: string;
1530
+ isDefaultAttribute: boolean;
1531
+ }>, "many">>;
1532
+ }, "strip", z.ZodTypeAny, {
1533
+ name?: {
1534
+ value: string;
1535
+ isRequired: boolean;
1536
+ attributeId: string;
1537
+ } | undefined;
1538
+ email?: {
1539
+ value: {
1540
+ isPrimary: boolean;
1541
+ email: string;
1542
+ }[];
1543
+ isRequired: boolean;
1544
+ attributeId: string;
1545
+ } | undefined;
1546
+ channel?: {
1547
+ value: string;
1548
+ isRequired: boolean;
1549
+ attributeId: string;
1550
+ } | undefined;
1551
+ address?: {
1552
+ value: string;
1553
+ isRequired: boolean;
1554
+ attributeId: string;
1555
+ } | undefined;
1556
+ phone?: {
1557
+ value: {
1558
+ isPrimary: boolean;
1559
+ phone: string;
1560
+ }[];
1561
+ isRequired: boolean;
1562
+ attributeId: string;
1563
+ } | undefined;
1564
+ notes?: {
1565
+ value: string;
1566
+ isRequired: boolean;
1567
+ attributeId: string;
1568
+ } | undefined;
1569
+ tags?: {
1570
+ value: string[];
1571
+ isRequired: boolean;
1572
+ attributeId: string;
1573
+ } | undefined;
1574
+ company?: {
1575
+ value: string;
1576
+ isRequired: boolean;
1577
+ attributeId: string;
1578
+ } | undefined;
1579
+ customFields?: {
1580
+ type: string;
1581
+ value: (string | string[]) & (string | string[] | undefined);
1582
+ isRequired: boolean;
1583
+ attributeId: string;
1584
+ isDefaultAttribute: boolean;
1585
+ }[] | undefined;
1586
+ }, {
1587
+ name?: {
1588
+ value: string;
1589
+ isRequired: boolean;
1590
+ attributeId: string;
1591
+ } | undefined;
1592
+ email?: {
1593
+ value: {
1594
+ isPrimary: boolean;
1595
+ email: string;
1596
+ }[];
1597
+ isRequired: boolean;
1598
+ attributeId: string;
1599
+ } | undefined;
1600
+ channel?: {
1601
+ value: string;
1602
+ isRequired: boolean;
1603
+ attributeId: string;
1604
+ } | undefined;
1605
+ address?: {
1606
+ value: string;
1607
+ isRequired: boolean;
1608
+ attributeId: string;
1609
+ } | undefined;
1610
+ phone?: {
1611
+ value: {
1612
+ isPrimary: boolean;
1613
+ phone: string;
1614
+ }[];
1615
+ isRequired: boolean;
1616
+ attributeId: string;
1617
+ } | undefined;
1618
+ notes?: {
1619
+ value: string;
1620
+ isRequired: boolean;
1621
+ attributeId: string;
1622
+ } | undefined;
1623
+ tags?: {
1624
+ value: string[];
1625
+ isRequired: boolean;
1626
+ attributeId: string;
1627
+ } | undefined;
1628
+ company?: {
1629
+ value: string;
1630
+ isRequired: boolean;
1631
+ attributeId: string;
1632
+ } | undefined;
1633
+ customFields?: {
1634
+ type: string;
1635
+ value: (string | string[]) & (string | string[] | undefined);
1636
+ isRequired: boolean;
1637
+ attributeId: string;
1638
+ isDefaultAttribute: boolean;
1639
+ }[] | undefined;
1640
+ }>;
1641
+ summary: "Update a contact";
1642
+ method: "PATCH";
1643
+ pathParams: z.ZodObject<{
1644
+ id: z.ZodString;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ id: string;
1647
+ }, {
1648
+ id: string;
1649
+ }>;
1650
+ responses: {
1651
+ 200: z.ZodObject<{
1652
+ requestId: z.ZodString;
1653
+ data: z.ZodObject<{
1654
+ id: z.ZodString;
1655
+ createdAt: z.ZodDate;
1656
+ updatedAt: z.ZodDate;
1657
+ deletedAt: z.ZodNullable<z.ZodDate>;
1658
+ name: z.ZodString;
1659
+ address: z.ZodNullable<z.ZodString>;
1660
+ channel: z.ZodNullable<z.ZodString>;
1661
+ notes: z.ZodNullable<z.ZodString>;
1662
+ contactProfile: z.ZodNullable<z.ZodString>;
1663
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
1664
+ tags: z.ZodArray<z.ZodObject<{
1665
+ id: z.ZodString;
1666
+ createdAt: z.ZodDate;
1667
+ updatedAt: z.ZodDate;
1668
+ deletedAt: z.ZodNullable<z.ZodDate>;
1669
+ name: z.ZodString;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ id: string;
1672
+ name: string;
1673
+ createdAt: Date;
1674
+ updatedAt: Date;
1675
+ deletedAt: Date | null;
1676
+ }, {
1677
+ id: string;
1678
+ name: string;
1679
+ createdAt: Date;
1680
+ updatedAt: Date;
1681
+ deletedAt: Date | null;
1682
+ }>, "many">;
1683
+ company: z.ZodNullable<z.ZodObject<Omit<{
1684
+ id: z.ZodString;
1685
+ createdAt: z.ZodDate;
1686
+ updatedAt: z.ZodDate;
1687
+ deletedAt: z.ZodNullable<z.ZodDate>;
1688
+ name: z.ZodOptional<z.ZodString>;
1689
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1690
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1691
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1692
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1693
+ id: z.ZodString;
1694
+ createdAt: z.ZodDate;
1695
+ updatedAt: z.ZodDate;
1696
+ deletedAt: z.ZodNullable<z.ZodDate>;
1697
+ textValue: z.ZodNullable<z.ZodString>;
1698
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1699
+ numberValue: z.ZodNullable<z.ZodNumber>;
1700
+ dateValue: z.ZodNullable<z.ZodString>;
1701
+ attribute: z.ZodObject<Omit<{
1702
+ id: z.ZodString;
1703
+ createdAt: z.ZodDate;
1704
+ updatedAt: z.ZodDate;
1705
+ deletedAt: z.ZodNullable<z.ZodDate>;
1706
+ systemName: z.ZodString;
1707
+ displayName: z.ZodString;
1708
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
1709
+ position: z.ZodNumber;
1710
+ isDefault: z.ZodBoolean;
1711
+ isArchived: z.ZodBoolean;
1712
+ isRequired: z.ZodBoolean;
1713
+ isUnique: z.ZodBoolean;
1714
+ options: z.ZodArray<z.ZodObject<{
1715
+ position: z.ZodNumber;
1716
+ value: z.ZodString;
1717
+ label: z.ZodString;
1718
+ isDefault: z.ZodBoolean;
1719
+ id: z.ZodString;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ id: string;
1722
+ position: number;
1723
+ value: string;
1724
+ label: string;
1725
+ isDefault: boolean;
1726
+ }, {
1727
+ id: string;
1728
+ position: number;
1729
+ value: string;
1730
+ label: string;
1731
+ isDefault: boolean;
1732
+ }>, "many">;
1733
+ group: z.ZodObject<{
1734
+ id: z.ZodString;
1735
+ createdAt: z.ZodDate;
1736
+ updatedAt: z.ZodDate;
1737
+ deletedAt: z.ZodNullable<z.ZodDate>;
1738
+ systemName: z.ZodString;
1739
+ displayName: z.ZodString;
1740
+ }, "strip", z.ZodTypeAny, {
1741
+ id: string;
1742
+ createdAt: Date;
1743
+ updatedAt: Date;
1744
+ deletedAt: Date | null;
1745
+ systemName: string;
1746
+ displayName: string;
1747
+ }, {
1748
+ id: string;
1749
+ createdAt: Date;
1750
+ updatedAt: Date;
1751
+ deletedAt: Date | null;
1752
+ systemName: string;
1753
+ displayName: string;
1754
+ }>;
1755
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1756
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1757
+ id: string;
1758
+ position: number;
1759
+ createdAt: Date;
1760
+ updatedAt: Date;
1761
+ deletedAt: Date | null;
1762
+ isDefault: boolean;
1763
+ systemName: string;
1764
+ displayName: string;
1765
+ isArchived: boolean;
1766
+ isRequired: boolean;
1767
+ isUnique: boolean;
1768
+ }, {
1769
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1770
+ id: string;
1771
+ position: number;
1772
+ createdAt: Date;
1773
+ updatedAt: Date;
1774
+ deletedAt: Date | null;
1775
+ isDefault: boolean;
1776
+ systemName: string;
1777
+ displayName: string;
1778
+ isArchived: boolean;
1779
+ isRequired: boolean;
1780
+ isUnique: boolean;
1781
+ }>;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ id: string;
1784
+ createdAt: Date;
1785
+ updatedAt: Date;
1786
+ deletedAt: Date | null;
1787
+ attribute: {
1788
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1789
+ id: string;
1790
+ position: number;
1791
+ createdAt: Date;
1792
+ updatedAt: Date;
1793
+ deletedAt: Date | null;
1794
+ isDefault: boolean;
1795
+ systemName: string;
1796
+ displayName: string;
1797
+ isArchived: boolean;
1798
+ isRequired: boolean;
1799
+ isUnique: boolean;
1800
+ };
1801
+ textValue: string | null;
1802
+ booleanValue: boolean | null;
1803
+ numberValue: number | null;
1804
+ dateValue: string | null;
1805
+ }, {
1806
+ id: string;
1807
+ createdAt: Date;
1808
+ updatedAt: Date;
1809
+ deletedAt: Date | null;
1810
+ attribute: {
1811
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1812
+ id: string;
1813
+ position: number;
1814
+ createdAt: Date;
1815
+ updatedAt: Date;
1816
+ deletedAt: Date | null;
1817
+ isDefault: boolean;
1818
+ systemName: string;
1819
+ displayName: string;
1820
+ isArchived: boolean;
1821
+ isRequired: boolean;
1822
+ isUnique: boolean;
1823
+ };
1824
+ textValue: string | null;
1825
+ booleanValue: boolean | null;
1826
+ numberValue: number | null;
1827
+ dateValue: string | null;
1828
+ }>, "many">>;
1829
+ }, "customFields">, "strip", z.ZodTypeAny, {
1830
+ id: string;
1831
+ createdAt: Date;
1832
+ updatedAt: Date;
1833
+ deletedAt: Date | null;
1834
+ address?: string | null | undefined;
1835
+ name?: string | undefined;
1836
+ phone?: string | null | undefined;
1837
+ industry?: string | null | undefined;
1838
+ }, {
1839
+ id: string;
1840
+ createdAt: Date;
1841
+ updatedAt: Date;
1842
+ deletedAt: Date | null;
1843
+ address?: string | null | undefined;
1844
+ name?: string | undefined;
1845
+ phone?: string | null | undefined;
1846
+ industry?: string | null | undefined;
1847
+ }>>;
1848
+ customFields: z.ZodArray<z.ZodObject<{
1849
+ id: z.ZodString;
1850
+ createdAt: z.ZodDate;
1851
+ updatedAt: z.ZodDate;
1852
+ deletedAt: z.ZodNullable<z.ZodDate>;
1853
+ textValue: z.ZodNullable<z.ZodString>;
1854
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1855
+ numberValue: z.ZodNullable<z.ZodNumber>;
1856
+ dateValue: z.ZodNullable<z.ZodDate>;
1857
+ attribute: z.ZodObject<Omit<{
1858
+ id: z.ZodString;
1859
+ createdAt: z.ZodDate;
1860
+ updatedAt: z.ZodDate;
1861
+ deletedAt: z.ZodNullable<z.ZodDate>;
1862
+ systemName: z.ZodString;
1863
+ displayName: z.ZodString;
1864
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
1865
+ position: z.ZodNumber;
1866
+ isDefault: z.ZodBoolean;
1867
+ isArchived: z.ZodBoolean;
1868
+ isRequired: z.ZodBoolean;
1869
+ isUnique: z.ZodBoolean;
1870
+ options: z.ZodArray<z.ZodObject<{
1871
+ position: z.ZodNumber;
1872
+ value: z.ZodString;
1873
+ label: z.ZodString;
1874
+ isDefault: z.ZodBoolean;
1875
+ id: z.ZodString;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ id: string;
1878
+ position: number;
1879
+ value: string;
1880
+ label: string;
1881
+ isDefault: boolean;
1882
+ }, {
1883
+ id: string;
1884
+ position: number;
1885
+ value: string;
1886
+ label: string;
1887
+ isDefault: boolean;
1888
+ }>, "many">;
1889
+ group: z.ZodObject<{
1890
+ id: z.ZodString;
1891
+ createdAt: z.ZodDate;
1892
+ updatedAt: z.ZodDate;
1893
+ deletedAt: z.ZodNullable<z.ZodDate>;
1894
+ systemName: z.ZodString;
1895
+ displayName: z.ZodString;
1896
+ }, "strip", z.ZodTypeAny, {
1897
+ id: string;
1898
+ createdAt: Date;
1899
+ updatedAt: Date;
1900
+ deletedAt: Date | null;
1901
+ systemName: string;
1902
+ displayName: string;
1903
+ }, {
1904
+ id: string;
1905
+ createdAt: Date;
1906
+ updatedAt: Date;
1907
+ deletedAt: Date | null;
1908
+ systemName: string;
1909
+ displayName: string;
1910
+ }>;
1911
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1912
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1913
+ id: string;
1914
+ position: number;
1915
+ createdAt: Date;
1916
+ updatedAt: Date;
1917
+ deletedAt: Date | null;
1918
+ isDefault: boolean;
1919
+ systemName: string;
1920
+ displayName: string;
1921
+ isArchived: boolean;
1922
+ isRequired: boolean;
1923
+ isUnique: boolean;
1924
+ }, {
1925
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1926
+ id: string;
1927
+ position: number;
1928
+ createdAt: Date;
1929
+ updatedAt: Date;
1930
+ deletedAt: Date | null;
1931
+ isDefault: boolean;
1932
+ systemName: string;
1933
+ displayName: string;
1934
+ isArchived: boolean;
1935
+ isRequired: boolean;
1936
+ isUnique: boolean;
1937
+ }>;
1938
+ uploads: z.ZodArray<z.ZodObject<{
1939
+ id: z.ZodString;
1940
+ createdAt: z.ZodDate;
1941
+ updatedAt: z.ZodDate;
1942
+ deletedAt: z.ZodNullable<z.ZodDate>;
1943
+ customFieldId: z.ZodString;
1944
+ upload: z.ZodObject<{
1945
+ id: z.ZodString;
1946
+ createdAt: z.ZodDate;
1947
+ updatedAt: z.ZodDate;
1948
+ deletedAt: z.ZodNullable<z.ZodDate>;
1949
+ bucketName: z.ZodString;
1950
+ fileName: z.ZodString;
1951
+ fileSize: z.ZodNumber;
1952
+ fileKey: z.ZodString;
1953
+ }, "strip", z.ZodTypeAny, {
1954
+ id: string;
1955
+ createdAt: Date;
1956
+ updatedAt: Date;
1957
+ deletedAt: Date | null;
1958
+ fileName: string;
1959
+ fileKey: string;
1960
+ bucketName: string;
1961
+ fileSize: number;
1962
+ }, {
1963
+ id: string;
1964
+ createdAt: Date;
1965
+ updatedAt: Date;
1966
+ deletedAt: Date | null;
1967
+ fileName: string;
1968
+ fileKey: string;
1969
+ bucketName: string;
1970
+ fileSize: number;
1971
+ }>;
1972
+ }, "strip", z.ZodTypeAny, {
1973
+ id: string;
1974
+ createdAt: Date;
1975
+ updatedAt: Date;
1976
+ deletedAt: Date | null;
1977
+ customFieldId: string;
1978
+ upload: {
1979
+ id: string;
1980
+ createdAt: Date;
1981
+ updatedAt: Date;
1982
+ deletedAt: Date | null;
1983
+ fileName: string;
1984
+ fileKey: string;
1985
+ bucketName: string;
1986
+ fileSize: number;
1987
+ };
1988
+ }, {
1989
+ id: string;
1990
+ createdAt: Date;
1991
+ updatedAt: Date;
1992
+ deletedAt: Date | null;
1993
+ customFieldId: string;
1994
+ upload: {
1995
+ id: string;
1996
+ createdAt: Date;
1997
+ updatedAt: Date;
1998
+ deletedAt: Date | null;
1999
+ fileName: string;
2000
+ fileKey: string;
2001
+ bucketName: string;
2002
+ fileSize: number;
2003
+ };
2004
+ }>, "many">;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ id: string;
2007
+ createdAt: Date;
2008
+ updatedAt: Date;
2009
+ deletedAt: Date | null;
2010
+ attribute: {
2011
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2012
+ id: string;
2013
+ position: number;
2014
+ createdAt: Date;
2015
+ updatedAt: Date;
2016
+ deletedAt: Date | null;
2017
+ isDefault: boolean;
2018
+ systemName: string;
2019
+ displayName: string;
2020
+ isArchived: boolean;
2021
+ isRequired: boolean;
2022
+ isUnique: boolean;
2023
+ };
2024
+ textValue: string | null;
2025
+ booleanValue: boolean | null;
2026
+ numberValue: number | null;
2027
+ dateValue: Date | null;
2028
+ uploads: {
2029
+ id: string;
2030
+ createdAt: Date;
2031
+ updatedAt: Date;
2032
+ deletedAt: Date | null;
2033
+ customFieldId: string;
2034
+ upload: {
2035
+ id: string;
2036
+ createdAt: Date;
2037
+ updatedAt: Date;
2038
+ deletedAt: Date | null;
2039
+ fileName: string;
2040
+ fileKey: string;
2041
+ bucketName: string;
2042
+ fileSize: number;
2043
+ };
2044
+ }[];
2045
+ }, {
2046
+ id: string;
2047
+ createdAt: Date;
2048
+ updatedAt: Date;
2049
+ deletedAt: Date | null;
2050
+ attribute: {
2051
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2052
+ id: string;
2053
+ position: number;
2054
+ createdAt: Date;
2055
+ updatedAt: Date;
2056
+ deletedAt: Date | null;
2057
+ isDefault: boolean;
2058
+ systemName: string;
2059
+ displayName: string;
2060
+ isArchived: boolean;
2061
+ isRequired: boolean;
2062
+ isUnique: boolean;
2063
+ };
2064
+ textValue: string | null;
2065
+ booleanValue: boolean | null;
2066
+ numberValue: number | null;
2067
+ dateValue: Date | null;
2068
+ uploads: {
2069
+ id: string;
2070
+ createdAt: Date;
2071
+ updatedAt: Date;
2072
+ deletedAt: Date | null;
2073
+ customFieldId: string;
2074
+ upload: {
2075
+ id: string;
2076
+ createdAt: Date;
2077
+ updatedAt: Date;
2078
+ deletedAt: Date | null;
2079
+ fileName: string;
2080
+ fileKey: string;
2081
+ bucketName: string;
2082
+ fileSize: number;
2083
+ };
2084
+ }[];
2085
+ }>, "many">;
2086
+ contactEmails: z.ZodArray<z.ZodObject<{
2087
+ id: z.ZodString;
2088
+ createdAt: z.ZodDate;
2089
+ updatedAt: z.ZodDate;
2090
+ deletedAt: z.ZodNullable<z.ZodDate>;
2091
+ email: z.ZodString;
2092
+ isPrimary: z.ZodBoolean;
2093
+ }, "strip", z.ZodTypeAny, {
2094
+ id: string;
2095
+ isPrimary: boolean;
2096
+ email: string;
2097
+ createdAt: Date;
2098
+ updatedAt: Date;
2099
+ deletedAt: Date | null;
2100
+ }, {
2101
+ id: string;
2102
+ isPrimary: boolean;
2103
+ email: string;
2104
+ createdAt: Date;
2105
+ updatedAt: Date;
2106
+ deletedAt: Date | null;
2107
+ }>, "many">;
2108
+ contactPhones: z.ZodArray<z.ZodObject<{
2109
+ id: z.ZodString;
2110
+ createdAt: z.ZodDate;
2111
+ updatedAt: z.ZodDate;
2112
+ deletedAt: z.ZodNullable<z.ZodDate>;
2113
+ phone: z.ZodString;
2114
+ isPrimary: z.ZodBoolean;
2115
+ }, "strip", z.ZodTypeAny, {
2116
+ id: string;
2117
+ isPrimary: boolean;
2118
+ createdAt: Date;
2119
+ updatedAt: Date;
2120
+ deletedAt: Date | null;
2121
+ phone: string;
2122
+ }, {
2123
+ id: string;
2124
+ isPrimary: boolean;
2125
+ createdAt: Date;
2126
+ updatedAt: Date;
2127
+ deletedAt: Date | null;
2128
+ phone: string;
2129
+ }>, "many">;
2130
+ activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2131
+ id: z.ZodString;
2132
+ createdAt: z.ZodDate;
2133
+ updatedAt: z.ZodDate;
2134
+ deletedAt: z.ZodNullable<z.ZodDate>;
2135
+ entityId: z.ZodString;
2136
+ description: z.ZodString;
2137
+ entityType: z.ZodObject<{
2138
+ id: z.ZodString;
2139
+ createdAt: z.ZodDate;
2140
+ updatedAt: z.ZodDate;
2141
+ deletedAt: z.ZodNullable<z.ZodDate>;
2142
+ entity: z.ZodString;
2143
+ description: z.ZodNullable<z.ZodString>;
2144
+ }, "strip", z.ZodTypeAny, {
2145
+ id: string;
2146
+ description: string | null;
2147
+ createdAt: Date;
2148
+ updatedAt: Date;
2149
+ deletedAt: Date | null;
2150
+ entity: string;
2151
+ }, {
2152
+ id: string;
2153
+ description: string | null;
2154
+ createdAt: Date;
2155
+ updatedAt: Date;
2156
+ deletedAt: Date | null;
2157
+ entity: string;
2158
+ }>;
2159
+ }, "strip", z.ZodTypeAny, {
2160
+ id: string;
2161
+ description: string;
2162
+ createdAt: Date;
2163
+ updatedAt: Date;
2164
+ deletedAt: Date | null;
2165
+ entityId: string;
2166
+ entityType: {
2167
+ id: string;
2168
+ description: string | null;
2169
+ createdAt: Date;
2170
+ updatedAt: Date;
2171
+ deletedAt: Date | null;
2172
+ entity: string;
2173
+ };
2174
+ }, {
2175
+ id: string;
2176
+ description: string;
2177
+ createdAt: Date;
2178
+ updatedAt: Date;
2179
+ deletedAt: Date | null;
2180
+ entityId: string;
2181
+ entityType: {
2182
+ id: string;
2183
+ description: string | null;
2184
+ createdAt: Date;
2185
+ updatedAt: Date;
2186
+ deletedAt: Date | null;
2187
+ entity: string;
2188
+ };
2189
+ }>, "many">>;
2190
+ }, "strip", z.ZodTypeAny, {
2191
+ id: string;
2192
+ channel: string | null;
2193
+ address: string | null;
2194
+ name: string;
2195
+ createdAt: Date;
2196
+ updatedAt: Date;
2197
+ deletedAt: Date | null;
2198
+ customFields: {
2199
+ id: string;
2200
+ createdAt: Date;
2201
+ updatedAt: Date;
2202
+ deletedAt: Date | null;
2203
+ attribute: {
2204
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2205
+ id: string;
2206
+ position: number;
2207
+ createdAt: Date;
2208
+ updatedAt: Date;
2209
+ deletedAt: Date | null;
2210
+ isDefault: boolean;
2211
+ systemName: string;
2212
+ displayName: string;
2213
+ isArchived: boolean;
2214
+ isRequired: boolean;
2215
+ isUnique: boolean;
2216
+ };
2217
+ textValue: string | null;
2218
+ booleanValue: boolean | null;
2219
+ numberValue: number | null;
2220
+ dateValue: Date | null;
2221
+ uploads: {
2222
+ id: string;
2223
+ createdAt: Date;
2224
+ updatedAt: Date;
2225
+ deletedAt: Date | null;
2226
+ customFieldId: string;
2227
+ upload: {
2228
+ id: string;
2229
+ createdAt: Date;
2230
+ updatedAt: Date;
2231
+ deletedAt: Date | null;
2232
+ fileName: string;
2233
+ fileKey: string;
2234
+ bucketName: string;
2235
+ fileSize: number;
2236
+ };
2237
+ }[];
2238
+ }[];
2239
+ notes: string | null;
2240
+ contactProfile: string | null;
2241
+ socialProfileUrl: string | null;
2242
+ tags: {
2243
+ id: string;
2244
+ name: string;
2245
+ createdAt: Date;
2246
+ updatedAt: Date;
2247
+ deletedAt: Date | null;
2248
+ }[];
2249
+ company: {
2250
+ id: string;
2251
+ createdAt: Date;
2252
+ updatedAt: Date;
2253
+ deletedAt: Date | null;
2254
+ address?: string | null | undefined;
2255
+ name?: string | undefined;
2256
+ phone?: string | null | undefined;
2257
+ industry?: string | null | undefined;
2258
+ } | null;
2259
+ contactEmails: {
2260
+ id: string;
2261
+ isPrimary: boolean;
2262
+ email: string;
2263
+ createdAt: Date;
2264
+ updatedAt: Date;
2265
+ deletedAt: Date | null;
2266
+ }[];
2267
+ contactPhones: {
2268
+ id: string;
2269
+ isPrimary: boolean;
2270
+ createdAt: Date;
2271
+ updatedAt: Date;
2272
+ deletedAt: Date | null;
2273
+ phone: string;
2274
+ }[];
2275
+ activityLogs?: {
2276
+ id: string;
2277
+ description: string;
2278
+ createdAt: Date;
2279
+ updatedAt: Date;
2280
+ deletedAt: Date | null;
2281
+ entityId: string;
2282
+ entityType: {
2283
+ id: string;
2284
+ description: string | null;
2285
+ createdAt: Date;
2286
+ updatedAt: Date;
2287
+ deletedAt: Date | null;
2288
+ entity: string;
2289
+ };
2290
+ }[] | undefined;
2291
+ }, {
2292
+ id: string;
2293
+ channel: string | null;
2294
+ address: string | null;
2295
+ name: string;
2296
+ createdAt: Date;
2297
+ updatedAt: Date;
2298
+ deletedAt: Date | null;
2299
+ customFields: {
2300
+ id: string;
2301
+ createdAt: Date;
2302
+ updatedAt: Date;
2303
+ deletedAt: Date | null;
2304
+ attribute: {
2305
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2306
+ id: string;
2307
+ position: number;
2308
+ createdAt: Date;
2309
+ updatedAt: Date;
2310
+ deletedAt: Date | null;
2311
+ isDefault: boolean;
2312
+ systemName: string;
2313
+ displayName: string;
2314
+ isArchived: boolean;
2315
+ isRequired: boolean;
2316
+ isUnique: boolean;
2317
+ };
2318
+ textValue: string | null;
2319
+ booleanValue: boolean | null;
2320
+ numberValue: number | null;
2321
+ dateValue: Date | null;
2322
+ uploads: {
2323
+ id: string;
2324
+ createdAt: Date;
2325
+ updatedAt: Date;
2326
+ deletedAt: Date | null;
2327
+ customFieldId: string;
2328
+ upload: {
2329
+ id: string;
2330
+ createdAt: Date;
2331
+ updatedAt: Date;
2332
+ deletedAt: Date | null;
2333
+ fileName: string;
2334
+ fileKey: string;
2335
+ bucketName: string;
2336
+ fileSize: number;
2337
+ };
2338
+ }[];
2339
+ }[];
2340
+ notes: string | null;
2341
+ contactProfile: string | null;
2342
+ socialProfileUrl: string | null;
2343
+ tags: {
2344
+ id: string;
2345
+ name: string;
2346
+ createdAt: Date;
2347
+ updatedAt: Date;
2348
+ deletedAt: Date | null;
2349
+ }[];
2350
+ company: {
2351
+ id: string;
2352
+ createdAt: Date;
2353
+ updatedAt: Date;
2354
+ deletedAt: Date | null;
2355
+ address?: string | null | undefined;
2356
+ name?: string | undefined;
2357
+ phone?: string | null | undefined;
2358
+ industry?: string | null | undefined;
2359
+ } | null;
2360
+ contactEmails: {
2361
+ id: string;
2362
+ isPrimary: boolean;
2363
+ email: string;
2364
+ createdAt: Date;
2365
+ updatedAt: Date;
2366
+ deletedAt: Date | null;
2367
+ }[];
2368
+ contactPhones: {
2369
+ id: string;
2370
+ isPrimary: boolean;
2371
+ createdAt: Date;
2372
+ updatedAt: Date;
2373
+ deletedAt: Date | null;
2374
+ phone: string;
2375
+ }[];
2376
+ activityLogs?: {
2377
+ id: string;
2378
+ description: string;
2379
+ createdAt: Date;
2380
+ updatedAt: Date;
2381
+ deletedAt: Date | null;
2382
+ entityId: string;
2383
+ entityType: {
2384
+ id: string;
2385
+ description: string | null;
2386
+ createdAt: Date;
2387
+ updatedAt: Date;
2388
+ deletedAt: Date | null;
2389
+ entity: string;
2390
+ };
2391
+ }[] | undefined;
2392
+ }>;
2393
+ }, "strip", z.ZodTypeAny, {
2394
+ data: {
2395
+ id: string;
2396
+ channel: string | null;
2397
+ address: string | null;
2398
+ name: string;
2399
+ createdAt: Date;
2400
+ updatedAt: Date;
2401
+ deletedAt: Date | null;
2402
+ customFields: {
2403
+ id: string;
2404
+ createdAt: Date;
2405
+ updatedAt: Date;
2406
+ deletedAt: Date | null;
2407
+ attribute: {
2408
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2409
+ id: string;
2410
+ position: number;
2411
+ createdAt: Date;
2412
+ updatedAt: Date;
2413
+ deletedAt: Date | null;
2414
+ isDefault: boolean;
2415
+ systemName: string;
2416
+ displayName: string;
2417
+ isArchived: boolean;
2418
+ isRequired: boolean;
2419
+ isUnique: boolean;
2420
+ };
2421
+ textValue: string | null;
2422
+ booleanValue: boolean | null;
2423
+ numberValue: number | null;
2424
+ dateValue: Date | null;
2425
+ uploads: {
2426
+ id: string;
2427
+ createdAt: Date;
2428
+ updatedAt: Date;
2429
+ deletedAt: Date | null;
2430
+ customFieldId: string;
2431
+ upload: {
2432
+ id: string;
2433
+ createdAt: Date;
2434
+ updatedAt: Date;
2435
+ deletedAt: Date | null;
2436
+ fileName: string;
2437
+ fileKey: string;
2438
+ bucketName: string;
2439
+ fileSize: number;
2440
+ };
2441
+ }[];
2442
+ }[];
2443
+ notes: string | null;
2444
+ contactProfile: string | null;
2445
+ socialProfileUrl: string | null;
2446
+ tags: {
2447
+ id: string;
2448
+ name: string;
2449
+ createdAt: Date;
2450
+ updatedAt: Date;
2451
+ deletedAt: Date | null;
2452
+ }[];
2453
+ company: {
2454
+ id: string;
2455
+ createdAt: Date;
2456
+ updatedAt: Date;
2457
+ deletedAt: Date | null;
2458
+ address?: string | null | undefined;
2459
+ name?: string | undefined;
2460
+ phone?: string | null | undefined;
2461
+ industry?: string | null | undefined;
2462
+ } | null;
2463
+ contactEmails: {
2464
+ id: string;
2465
+ isPrimary: boolean;
2466
+ email: string;
2467
+ createdAt: Date;
2468
+ updatedAt: Date;
2469
+ deletedAt: Date | null;
2470
+ }[];
2471
+ contactPhones: {
2472
+ id: string;
2473
+ isPrimary: boolean;
2474
+ createdAt: Date;
2475
+ updatedAt: Date;
2476
+ deletedAt: Date | null;
2477
+ phone: string;
2478
+ }[];
2479
+ activityLogs?: {
2480
+ id: string;
2481
+ description: string;
2482
+ createdAt: Date;
2483
+ updatedAt: Date;
2484
+ deletedAt: Date | null;
2485
+ entityId: string;
2486
+ entityType: {
2487
+ id: string;
2488
+ description: string | null;
2489
+ createdAt: Date;
2490
+ updatedAt: Date;
2491
+ deletedAt: Date | null;
2492
+ entity: string;
2493
+ };
2494
+ }[] | undefined;
2495
+ };
2496
+ requestId: string;
2497
+ }, {
2498
+ data: {
2499
+ id: string;
2500
+ channel: string | null;
2501
+ address: string | null;
2502
+ name: string;
2503
+ createdAt: Date;
2504
+ updatedAt: Date;
2505
+ deletedAt: Date | null;
2506
+ customFields: {
2507
+ id: string;
2508
+ createdAt: Date;
2509
+ updatedAt: Date;
2510
+ deletedAt: Date | null;
2511
+ attribute: {
2512
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2513
+ id: string;
2514
+ position: number;
2515
+ createdAt: Date;
2516
+ updatedAt: Date;
2517
+ deletedAt: Date | null;
2518
+ isDefault: boolean;
2519
+ systemName: string;
2520
+ displayName: string;
2521
+ isArchived: boolean;
2522
+ isRequired: boolean;
2523
+ isUnique: boolean;
2524
+ };
2525
+ textValue: string | null;
2526
+ booleanValue: boolean | null;
2527
+ numberValue: number | null;
2528
+ dateValue: Date | null;
2529
+ uploads: {
2530
+ id: string;
2531
+ createdAt: Date;
2532
+ updatedAt: Date;
2533
+ deletedAt: Date | null;
2534
+ customFieldId: string;
2535
+ upload: {
2536
+ id: string;
2537
+ createdAt: Date;
2538
+ updatedAt: Date;
2539
+ deletedAt: Date | null;
2540
+ fileName: string;
2541
+ fileKey: string;
2542
+ bucketName: string;
2543
+ fileSize: number;
2544
+ };
2545
+ }[];
2546
+ }[];
2547
+ notes: string | null;
2548
+ contactProfile: string | null;
2549
+ socialProfileUrl: string | null;
2550
+ tags: {
2551
+ id: string;
2552
+ name: string;
2553
+ createdAt: Date;
2554
+ updatedAt: Date;
2555
+ deletedAt: Date | null;
2556
+ }[];
2557
+ company: {
2558
+ id: string;
2559
+ createdAt: Date;
2560
+ updatedAt: Date;
2561
+ deletedAt: Date | null;
2562
+ address?: string | null | undefined;
2563
+ name?: string | undefined;
2564
+ phone?: string | null | undefined;
2565
+ industry?: string | null | undefined;
2566
+ } | null;
2567
+ contactEmails: {
2568
+ id: string;
2569
+ isPrimary: boolean;
2570
+ email: string;
2571
+ createdAt: Date;
2572
+ updatedAt: Date;
2573
+ deletedAt: Date | null;
2574
+ }[];
2575
+ contactPhones: {
2576
+ id: string;
2577
+ isPrimary: boolean;
2578
+ createdAt: Date;
2579
+ updatedAt: Date;
2580
+ deletedAt: Date | null;
2581
+ phone: string;
2582
+ }[];
2583
+ activityLogs?: {
2584
+ id: string;
2585
+ description: string;
2586
+ createdAt: Date;
2587
+ updatedAt: Date;
2588
+ deletedAt: Date | null;
2589
+ entityId: string;
2590
+ entityType: {
2591
+ id: string;
2592
+ description: string | null;
2593
+ createdAt: Date;
2594
+ updatedAt: Date;
2595
+ deletedAt: Date | null;
2596
+ entity: string;
2597
+ };
2598
+ }[] | undefined;
2599
+ };
2600
+ requestId: string;
2601
+ }>;
2602
+ 400: z.ZodObject<{
2603
+ message: z.ZodString;
2604
+ }, "strip", z.ZodTypeAny, {
2605
+ message: string;
2606
+ }, {
2607
+ message: string;
2608
+ }>;
2609
+ 409: z.ZodObject<{
2610
+ message: z.ZodString;
2611
+ }, "strip", z.ZodTypeAny, {
2612
+ message: string;
2613
+ }, {
2614
+ message: string;
2615
+ }>;
2616
+ 500: z.ZodObject<{
2617
+ message: z.ZodString;
2618
+ }, "strip", z.ZodTypeAny, {
2619
+ message: string;
2620
+ }, {
2621
+ message: string;
2622
+ }>;
2623
+ 401: z.ZodObject<{
2624
+ message: z.ZodString;
2625
+ error: z.ZodAny;
2626
+ }, "strip", z.ZodTypeAny, {
2627
+ message: string;
2628
+ error?: any;
2629
+ }, {
2630
+ message: string;
2631
+ error?: any;
2632
+ }>;
2633
+ 404: z.ZodObject<{
2634
+ message: z.ZodString;
2635
+ error: z.ZodAny;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ message: string;
2638
+ error?: any;
2639
+ }, {
2640
+ message: string;
2641
+ error?: any;
2642
+ }>;
2643
+ 422: z.ZodObject<{
2644
+ message: z.ZodString;
2645
+ error: z.ZodAny;
2646
+ }, "strip", z.ZodTypeAny, {
2647
+ message: string;
2648
+ error?: any;
2649
+ }, {
2650
+ message: string;
2651
+ error?: any;
2652
+ }>;
2653
+ };
2654
+ path: "contact/:id";
2655
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2656
+ 'x-tenant': z.ZodString;
2657
+ authorization: z.ZodString;
2658
+ }, "strip", z.ZodTypeAny, {
2659
+ 'x-tenant': string;
2660
+ authorization: string;
2661
+ }, {
2662
+ 'x-tenant': string;
2663
+ authorization: string;
2664
+ }>>>;
2665
+ };
2666
+ };
2667
+ //# sourceMappingURL=index.d.ts.map