@unified-api/typescript-sdk 2.78.1 → 2.80.0

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 (57) hide show
  1. package/README.md +1 -1
  2. package/examples/package-lock.json +1 -1
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/package.json +1 -1
  7. package/sdk/models/shared/calendareventrecurrence.d.ts +7 -2
  8. package/sdk/models/shared/calendareventrecurrence.d.ts.map +1 -1
  9. package/sdk/models/shared/calendareventrecurrence.js +6 -2
  10. package/sdk/models/shared/calendareventrecurrence.js.map +1 -1
  11. package/sdk/models/shared/index.d.ts +5 -0
  12. package/sdk/models/shared/index.d.ts.map +1 -1
  13. package/sdk/models/shared/index.js +5 -0
  14. package/sdk/models/shared/index.js.map +1 -1
  15. package/sdk/models/shared/integration.d.ts +3 -2
  16. package/sdk/models/shared/integration.d.ts.map +1 -1
  17. package/sdk/models/shared/integration.js +3 -2
  18. package/sdk/models/shared/integration.js.map +1 -1
  19. package/sdk/models/shared/integrationsupport.d.ts +2410 -0
  20. package/sdk/models/shared/integrationsupport.d.ts.map +1 -0
  21. package/sdk/models/shared/integrationsupport.js +3440 -0
  22. package/sdk/models/shared/integrationsupport.js.map +1 -0
  23. package/sdk/models/shared/kmspagemetadata.d.ts +5 -0
  24. package/sdk/models/shared/kmspagemetadata.d.ts.map +1 -1
  25. package/sdk/models/shared/kmspagemetadata.js +5 -0
  26. package/sdk/models/shared/kmspagemetadata.js.map +1 -1
  27. package/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts +36 -0
  28. package/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts.map +1 -0
  29. package/sdk/models/shared/propertyintegrationsupportwebhookevents.js +79 -0
  30. package/sdk/models/shared/propertyintegrationsupportwebhookevents.js.map +1 -0
  31. package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.d.ts +22 -0
  32. package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.d.ts.map +1 -0
  33. package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.js +68 -0
  34. package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.js.map +1 -0
  35. package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.d.ts +22 -0
  36. package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.d.ts.map +1 -0
  37. package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.js +68 -0
  38. package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.js.map +1 -0
  39. package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.d.ts +22 -0
  40. package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.d.ts.map +1 -0
  41. package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.js +68 -0
  42. package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.js.map +1 -0
  43. package/sdk/models/shared/webhook.d.ts +2 -2
  44. package/sdk/models/shared/webhook.d.ts.map +1 -1
  45. package/sdk/models/shared/webhook.js +2 -2
  46. package/sdk/models/shared/webhook.js.map +1 -1
  47. package/src/lib/config.ts +3 -3
  48. package/src/sdk/models/shared/calendareventrecurrence.ts +13 -4
  49. package/src/sdk/models/shared/index.ts +5 -0
  50. package/src/sdk/models/shared/integration.ts +10 -4
  51. package/src/sdk/models/shared/integrationsupport.ts +4969 -0
  52. package/src/sdk/models/shared/kmspagemetadata.ts +5 -0
  53. package/src/sdk/models/shared/propertyintegrationsupportwebhookevents.ts +109 -0
  54. package/src/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.ts +54 -0
  55. package/src/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.ts +54 -0
  56. package/src/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.ts +54 -0
  57. package/src/sdk/models/shared/webhook.ts +4 -4
@@ -0,0 +1,4969 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import {
9
+ catchUnrecognizedEnum,
10
+ OpenEnum,
11
+ Unrecognized,
12
+ } from "../../types/enums.js";
13
+ import { Result as SafeParseResult } from "../../types/fp.js";
14
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
15
+ import {
16
+ PropertyIntegrationSupportWebhookEvents,
17
+ PropertyIntegrationSupportWebhookEvents$inboundSchema,
18
+ PropertyIntegrationSupportWebhookEvents$Outbound,
19
+ PropertyIntegrationSupportWebhookEvents$outboundSchema,
20
+ } from "./propertyintegrationsupportwebhookevents.js";
21
+
22
+ export const FromWebhook = {
23
+ SupportedRequired: "supported-required",
24
+ Supported: "supported",
25
+ NotSupported: "not-supported",
26
+ } as const;
27
+ export type FromWebhook = OpenEnum<typeof FromWebhook>;
28
+
29
+ export const ListAccountId = {
30
+ SupportedRequired: "supported-required",
31
+ Supported: "supported",
32
+ NotSupported: "not-supported",
33
+ } as const;
34
+ export type ListAccountId = OpenEnum<typeof ListAccountId>;
35
+
36
+ export const ListApplicationId = {
37
+ SupportedRequired: "supported-required",
38
+ Supported: "supported",
39
+ NotSupported: "not-supported",
40
+ } as const;
41
+ export type ListApplicationId = OpenEnum<typeof ListApplicationId>;
42
+
43
+ export const ListBranchId = {
44
+ SupportedRequired: "supported-required",
45
+ Supported: "supported",
46
+ NotSupported: "not-supported",
47
+ } as const;
48
+ export type ListBranchId = OpenEnum<typeof ListBranchId>;
49
+
50
+ export const ListCalendarId = {
51
+ SupportedRequired: "supported-required",
52
+ Supported: "supported",
53
+ NotSupported: "not-supported",
54
+ } as const;
55
+ export type ListCalendarId = OpenEnum<typeof ListCalendarId>;
56
+
57
+ export const ListCallId = {
58
+ SupportedRequired: "supported-required",
59
+ Supported: "supported",
60
+ NotSupported: "not-supported",
61
+ } as const;
62
+ export type ListCallId = OpenEnum<typeof ListCallId>;
63
+
64
+ export const ListCandidateId = {
65
+ SupportedRequired: "supported-required",
66
+ Supported: "supported",
67
+ NotSupported: "not-supported",
68
+ } as const;
69
+ export type ListCandidateId = OpenEnum<typeof ListCandidateId>;
70
+
71
+ export const ListCategoryId = {
72
+ SupportedRequired: "supported-required",
73
+ Supported: "supported",
74
+ NotSupported: "not-supported",
75
+ } as const;
76
+ export type ListCategoryId = OpenEnum<typeof ListCategoryId>;
77
+
78
+ export const ListChannelId = {
79
+ SupportedRequired: "supported-required",
80
+ Supported: "supported",
81
+ NotSupported: "not-supported",
82
+ } as const;
83
+ export type ListChannelId = OpenEnum<typeof ListChannelId>;
84
+
85
+ export const ListClassId = {
86
+ SupportedRequired: "supported-required",
87
+ Supported: "supported",
88
+ NotSupported: "not-supported",
89
+ } as const;
90
+ export type ListClassId = OpenEnum<typeof ListClassId>;
91
+
92
+ export const ListCollectionId = {
93
+ SupportedRequired: "supported-required",
94
+ Supported: "supported",
95
+ NotSupported: "not-supported",
96
+ } as const;
97
+ export type ListCollectionId = OpenEnum<typeof ListCollectionId>;
98
+
99
+ export const ListCompanyId = {
100
+ SupportedRequired: "supported-required",
101
+ Supported: "supported",
102
+ NotSupported: "not-supported",
103
+ } as const;
104
+ export type ListCompanyId = OpenEnum<typeof ListCompanyId>;
105
+
106
+ export const ListContactId = {
107
+ SupportedRequired: "supported-required",
108
+ Supported: "supported",
109
+ NotSupported: "not-supported",
110
+ } as const;
111
+ export type ListContactId = OpenEnum<typeof ListContactId>;
112
+
113
+ export const ListCourseId = {
114
+ SupportedRequired: "supported-required",
115
+ Supported: "supported",
116
+ NotSupported: "not-supported",
117
+ } as const;
118
+ export type ListCourseId = OpenEnum<typeof ListCourseId>;
119
+
120
+ export const ListCustomerId = {
121
+ SupportedRequired: "supported-required",
122
+ Supported: "supported",
123
+ NotSupported: "not-supported",
124
+ } as const;
125
+ export type ListCustomerId = OpenEnum<typeof ListCustomerId>;
126
+
127
+ export const ListDealId = {
128
+ SupportedRequired: "supported-required",
129
+ Supported: "supported",
130
+ NotSupported: "not-supported",
131
+ } as const;
132
+ export type ListDealId = OpenEnum<typeof ListDealId>;
133
+
134
+ export const ListDocumentId = {
135
+ SupportedRequired: "supported-required",
136
+ Supported: "supported",
137
+ NotSupported: "not-supported",
138
+ } as const;
139
+ export type ListDocumentId = OpenEnum<typeof ListDocumentId>;
140
+
141
+ export const ListEndLe = {
142
+ SupportedRequired: "supported-required",
143
+ Supported: "supported",
144
+ NotSupported: "not-supported",
145
+ } as const;
146
+ export type ListEndLe = OpenEnum<typeof ListEndLe>;
147
+
148
+ export const ListEndLt = {
149
+ SupportedRequired: "supported-required",
150
+ Supported: "supported",
151
+ NotSupported: "not-supported",
152
+ } as const;
153
+ export type ListEndLt = OpenEnum<typeof ListEndLt>;
154
+
155
+ export const ListEventId = {
156
+ SupportedRequired: "supported-required",
157
+ Supported: "supported",
158
+ NotSupported: "not-supported",
159
+ } as const;
160
+ export type ListEventId = OpenEnum<typeof ListEventId>;
161
+
162
+ export const ListExpand = {
163
+ SupportedRequired: "supported-required",
164
+ Supported: "supported",
165
+ NotSupported: "not-supported",
166
+ } as const;
167
+ export type ListExpand = OpenEnum<typeof ListExpand>;
168
+
169
+ export const ListExpandRecurringEvents = {
170
+ SupportedRequired: "supported-required",
171
+ Supported: "supported",
172
+ NotSupported: "not-supported",
173
+ } as const;
174
+ export type ListExpandRecurringEvents = OpenEnum<
175
+ typeof ListExpandRecurringEvents
176
+ >;
177
+
178
+ export const ListInstructorId = {
179
+ SupportedRequired: "supported-required",
180
+ Supported: "supported",
181
+ NotSupported: "not-supported",
182
+ } as const;
183
+ export type ListInstructorId = OpenEnum<typeof ListInstructorId>;
184
+
185
+ export const ListInterviewId = {
186
+ SupportedRequired: "supported-required",
187
+ Supported: "supported",
188
+ NotSupported: "not-supported",
189
+ } as const;
190
+ export type ListInterviewId = OpenEnum<typeof ListInterviewId>;
191
+
192
+ export const ListInvoiceId = {
193
+ SupportedRequired: "supported-required",
194
+ Supported: "supported",
195
+ NotSupported: "not-supported",
196
+ } as const;
197
+ export type ListInvoiceId = OpenEnum<typeof ListInvoiceId>;
198
+
199
+ export const ListItemId = {
200
+ SupportedRequired: "supported-required",
201
+ Supported: "supported",
202
+ NotSupported: "not-supported",
203
+ } as const;
204
+ export type ListItemId = OpenEnum<typeof ListItemId>;
205
+
206
+ export const ListItemVariantId = {
207
+ SupportedRequired: "supported-required",
208
+ Supported: "supported",
209
+ NotSupported: "not-supported",
210
+ } as const;
211
+ export type ListItemVariantId = OpenEnum<typeof ListItemVariantId>;
212
+
213
+ export const ListJobId = {
214
+ SupportedRequired: "supported-required",
215
+ Supported: "supported",
216
+ NotSupported: "not-supported",
217
+ } as const;
218
+ export type ListJobId = OpenEnum<typeof ListJobId>;
219
+
220
+ export const ListLeadId = {
221
+ SupportedRequired: "supported-required",
222
+ Supported: "supported",
223
+ NotSupported: "not-supported",
224
+ } as const;
225
+ export type ListLeadId = OpenEnum<typeof ListLeadId>;
226
+
227
+ export const ListLimit = {
228
+ SupportedRequired: "supported-required",
229
+ Supported: "supported",
230
+ NotSupported: "not-supported",
231
+ } as const;
232
+ export type ListLimit = OpenEnum<typeof ListLimit>;
233
+
234
+ export const ListLinkId = {
235
+ SupportedRequired: "supported-required",
236
+ Supported: "supported",
237
+ NotSupported: "not-supported",
238
+ } as const;
239
+ export type ListLinkId = OpenEnum<typeof ListLinkId>;
240
+
241
+ export const ListListId = {
242
+ SupportedRequired: "supported-required",
243
+ Supported: "supported",
244
+ NotSupported: "not-supported",
245
+ } as const;
246
+ export type ListListId = OpenEnum<typeof ListListId>;
247
+
248
+ export const ListLocationId = {
249
+ SupportedRequired: "supported-required",
250
+ Supported: "supported",
251
+ NotSupported: "not-supported",
252
+ } as const;
253
+ export type ListLocationId = OpenEnum<typeof ListLocationId>;
254
+
255
+ export const ListOffset = {
256
+ SupportedRequired: "supported-required",
257
+ Supported: "supported",
258
+ NotSupported: "not-supported",
259
+ } as const;
260
+ export type ListOffset = OpenEnum<typeof ListOffset>;
261
+
262
+ export const ListOrder = {
263
+ SupportedRequired: "supported-required",
264
+ Supported: "supported",
265
+ NotSupported: "not-supported",
266
+ } as const;
267
+ export type ListOrder = OpenEnum<typeof ListOrder>;
268
+
269
+ export const ListOrgId = {
270
+ SupportedRequired: "supported-required",
271
+ Supported: "supported",
272
+ NotSupported: "not-supported",
273
+ } as const;
274
+ export type ListOrgId = OpenEnum<typeof ListOrgId>;
275
+
276
+ export const ListPackageId = {
277
+ SupportedRequired: "supported-required",
278
+ Supported: "supported",
279
+ NotSupported: "not-supported",
280
+ } as const;
281
+ export type ListPackageId = OpenEnum<typeof ListPackageId>;
282
+
283
+ export const ListPageId = {
284
+ SupportedRequired: "supported-required",
285
+ Supported: "supported",
286
+ NotSupported: "not-supported",
287
+ } as const;
288
+ export type ListPageId = OpenEnum<typeof ListPageId>;
289
+
290
+ export const ListParentId = {
291
+ SupportedRequired: "supported-required",
292
+ Supported: "supported",
293
+ NotSupported: "not-supported",
294
+ } as const;
295
+ export type ListParentId = OpenEnum<typeof ListParentId>;
296
+
297
+ export const ListPaymentId = {
298
+ SupportedRequired: "supported-required",
299
+ Supported: "supported",
300
+ NotSupported: "not-supported",
301
+ } as const;
302
+ export type ListPaymentId = OpenEnum<typeof ListPaymentId>;
303
+
304
+ export const ListPipelineId = {
305
+ SupportedRequired: "supported-required",
306
+ Supported: "supported",
307
+ NotSupported: "not-supported",
308
+ } as const;
309
+ export type ListPipelineId = OpenEnum<typeof ListPipelineId>;
310
+
311
+ export const ListProjectId = {
312
+ SupportedRequired: "supported-required",
313
+ Supported: "supported",
314
+ NotSupported: "not-supported",
315
+ } as const;
316
+ export type ListProjectId = OpenEnum<typeof ListProjectId>;
317
+
318
+ export const ListQuery = {
319
+ SupportedRequired: "supported-required",
320
+ Supported: "supported",
321
+ NotSupported: "not-supported",
322
+ } as const;
323
+ export type ListQuery = OpenEnum<typeof ListQuery>;
324
+
325
+ export const ListRawFields = {
326
+ SupportedRequired: "supported-required",
327
+ Supported: "supported",
328
+ NotSupported: "not-supported",
329
+ } as const;
330
+ export type ListRawFields = OpenEnum<typeof ListRawFields>;
331
+
332
+ export const ListRepoId = {
333
+ SupportedRequired: "supported-required",
334
+ Supported: "supported",
335
+ NotSupported: "not-supported",
336
+ } as const;
337
+ export type ListRepoId = OpenEnum<typeof ListRepoId>;
338
+
339
+ export const ListRootId = {
340
+ SupportedRequired: "supported-required",
341
+ Supported: "supported",
342
+ NotSupported: "not-supported",
343
+ } as const;
344
+ export type ListRootId = OpenEnum<typeof ListRootId>;
345
+
346
+ export const ListSortByCreatedAt = {
347
+ SupportedRequired: "supported-required",
348
+ Supported: "supported",
349
+ NotSupported: "not-supported",
350
+ } as const;
351
+ export type ListSortByCreatedAt = OpenEnum<typeof ListSortByCreatedAt>;
352
+
353
+ export const ListSortByName = {
354
+ SupportedRequired: "supported-required",
355
+ Supported: "supported",
356
+ NotSupported: "not-supported",
357
+ } as const;
358
+ export type ListSortByName = OpenEnum<typeof ListSortByName>;
359
+
360
+ export const ListSortByUpdatedAt = {
361
+ SupportedRequired: "supported-required",
362
+ Supported: "supported",
363
+ NotSupported: "not-supported",
364
+ } as const;
365
+ export type ListSortByUpdatedAt = OpenEnum<typeof ListSortByUpdatedAt>;
366
+
367
+ export const ListSpaceId = {
368
+ SupportedRequired: "supported-required",
369
+ Supported: "supported",
370
+ NotSupported: "not-supported",
371
+ } as const;
372
+ export type ListSpaceId = OpenEnum<typeof ListSpaceId>;
373
+
374
+ export const ListStartGte = {
375
+ SupportedRequired: "supported-required",
376
+ Supported: "supported",
377
+ NotSupported: "not-supported",
378
+ } as const;
379
+ export type ListStartGte = OpenEnum<typeof ListStartGte>;
380
+
381
+ export const ListStatus = {
382
+ SupportedRequired: "supported-required",
383
+ Supported: "supported",
384
+ NotSupported: "not-supported",
385
+ } as const;
386
+ export type ListStatus = OpenEnum<typeof ListStatus>;
387
+
388
+ export const ListStudentId = {
389
+ SupportedRequired: "supported-required",
390
+ Supported: "supported",
391
+ NotSupported: "not-supported",
392
+ } as const;
393
+ export type ListStudentId = OpenEnum<typeof ListStudentId>;
394
+
395
+ export const ListTaskId = {
396
+ SupportedRequired: "supported-required",
397
+ Supported: "supported",
398
+ NotSupported: "not-supported",
399
+ } as const;
400
+ export type ListTaskId = OpenEnum<typeof ListTaskId>;
401
+
402
+ export const ListTeacherId = {
403
+ SupportedRequired: "supported-required",
404
+ Supported: "supported",
405
+ NotSupported: "not-supported",
406
+ } as const;
407
+ export type ListTeacherId = OpenEnum<typeof ListTeacherId>;
408
+
409
+ export const ListTicketId = {
410
+ SupportedRequired: "supported-required",
411
+ Supported: "supported",
412
+ NotSupported: "not-supported",
413
+ } as const;
414
+ export type ListTicketId = OpenEnum<typeof ListTicketId>;
415
+
416
+ export const ListType = {
417
+ SupportedRequired: "supported-required",
418
+ Supported: "supported",
419
+ NotSupported: "not-supported",
420
+ } as const;
421
+ export type ListType = OpenEnum<typeof ListType>;
422
+
423
+ export const ListUpdatedGte = {
424
+ SupportedRequired: "supported-required",
425
+ Supported: "supported",
426
+ NotSupported: "not-supported",
427
+ } as const;
428
+ export type ListUpdatedGte = OpenEnum<typeof ListUpdatedGte>;
429
+
430
+ export const ListUserId = {
431
+ SupportedRequired: "supported-required",
432
+ Supported: "supported",
433
+ NotSupported: "not-supported",
434
+ } as const;
435
+ export type ListUserId = OpenEnum<typeof ListUserId>;
436
+
437
+ export const NativeWebhookCalendarId = {
438
+ SupportedRequired: "supported-required",
439
+ Supported: "supported",
440
+ NotSupported: "not-supported",
441
+ } as const;
442
+ export type NativeWebhookCalendarId = OpenEnum<typeof NativeWebhookCalendarId>;
443
+
444
+ export const NativeWebhookChannelId = {
445
+ SupportedRequired: "supported-required",
446
+ Supported: "supported",
447
+ NotSupported: "not-supported",
448
+ } as const;
449
+ export type NativeWebhookChannelId = OpenEnum<typeof NativeWebhookChannelId>;
450
+
451
+ export const NativeWebhookCompanyId = {
452
+ SupportedRequired: "supported-required",
453
+ Supported: "supported",
454
+ NotSupported: "not-supported",
455
+ } as const;
456
+ export type NativeWebhookCompanyId = OpenEnum<typeof NativeWebhookCompanyId>;
457
+
458
+ export const NativeWebhookEventId = {
459
+ SupportedRequired: "supported-required",
460
+ Supported: "supported",
461
+ NotSupported: "not-supported",
462
+ } as const;
463
+ export type NativeWebhookEventId = OpenEnum<typeof NativeWebhookEventId>;
464
+
465
+ export const NativeWebhookParentId = {
466
+ SupportedRequired: "supported-required",
467
+ Supported: "supported",
468
+ NotSupported: "not-supported",
469
+ } as const;
470
+ export type NativeWebhookParentId = OpenEnum<typeof NativeWebhookParentId>;
471
+
472
+ export const NativeWebhookProjectId = {
473
+ SupportedRequired: "supported-required",
474
+ Supported: "supported",
475
+ NotSupported: "not-supported",
476
+ } as const;
477
+ export type NativeWebhookProjectId = OpenEnum<typeof NativeWebhookProjectId>;
478
+
479
+ export const NativeWebhookTaskId = {
480
+ SupportedRequired: "supported-required",
481
+ Supported: "supported",
482
+ NotSupported: "not-supported",
483
+ } as const;
484
+ export type NativeWebhookTaskId = OpenEnum<typeof NativeWebhookTaskId>;
485
+
486
+ export const SearchDomain = {
487
+ SupportedRequired: "supported-required",
488
+ Supported: "supported",
489
+ NotSupported: "not-supported",
490
+ } as const;
491
+ export type SearchDomain = OpenEnum<typeof SearchDomain>;
492
+
493
+ export const SearchEmail = {
494
+ SupportedRequired: "supported-required",
495
+ Supported: "supported",
496
+ NotSupported: "not-supported",
497
+ } as const;
498
+ export type SearchEmail = OpenEnum<typeof SearchEmail>;
499
+
500
+ export const SearchLinkedinurl = {
501
+ SupportedRequired: "supported-required",
502
+ Supported: "supported",
503
+ NotSupported: "not-supported",
504
+ } as const;
505
+ export type SearchLinkedinurl = OpenEnum<typeof SearchLinkedinurl>;
506
+
507
+ export const SearchName = {
508
+ SupportedRequired: "supported-required",
509
+ Supported: "supported",
510
+ NotSupported: "not-supported",
511
+ } as const;
512
+ export type SearchName = OpenEnum<typeof SearchName>;
513
+
514
+ export const SearchTwitter = {
515
+ SupportedRequired: "supported-required",
516
+ Supported: "supported",
517
+ NotSupported: "not-supported",
518
+ } as const;
519
+ export type SearchTwitter = OpenEnum<typeof SearchTwitter>;
520
+
521
+ export const VirtualWebhookApplicationId = {
522
+ SupportedRequired: "supported-required",
523
+ Supported: "supported",
524
+ NotSupported: "not-supported",
525
+ } as const;
526
+ export type VirtualWebhookApplicationId = OpenEnum<
527
+ typeof VirtualWebhookApplicationId
528
+ >;
529
+
530
+ export const VirtualWebhookBranchId = {
531
+ SupportedRequired: "supported-required",
532
+ Supported: "supported",
533
+ NotSupported: "not-supported",
534
+ } as const;
535
+ export type VirtualWebhookBranchId = OpenEnum<typeof VirtualWebhookBranchId>;
536
+
537
+ export const VirtualWebhookCalendarId = {
538
+ SupportedRequired: "supported-required",
539
+ Supported: "supported",
540
+ NotSupported: "not-supported",
541
+ } as const;
542
+ export type VirtualWebhookCalendarId = OpenEnum<
543
+ typeof VirtualWebhookCalendarId
544
+ >;
545
+
546
+ export const VirtualWebhookCallId = {
547
+ SupportedRequired: "supported-required",
548
+ Supported: "supported",
549
+ NotSupported: "not-supported",
550
+ } as const;
551
+ export type VirtualWebhookCallId = OpenEnum<typeof VirtualWebhookCallId>;
552
+
553
+ export const VirtualWebhookCandidateId = {
554
+ SupportedRequired: "supported-required",
555
+ Supported: "supported",
556
+ NotSupported: "not-supported",
557
+ } as const;
558
+ export type VirtualWebhookCandidateId = OpenEnum<
559
+ typeof VirtualWebhookCandidateId
560
+ >;
561
+
562
+ export const VirtualWebhookChannelId = {
563
+ SupportedRequired: "supported-required",
564
+ Supported: "supported",
565
+ NotSupported: "not-supported",
566
+ } as const;
567
+ export type VirtualWebhookChannelId = OpenEnum<typeof VirtualWebhookChannelId>;
568
+
569
+ export const VirtualWebhookCollectionId = {
570
+ SupportedRequired: "supported-required",
571
+ Supported: "supported",
572
+ NotSupported: "not-supported",
573
+ } as const;
574
+ export type VirtualWebhookCollectionId = OpenEnum<
575
+ typeof VirtualWebhookCollectionId
576
+ >;
577
+
578
+ export const VirtualWebhookCompanyId = {
579
+ SupportedRequired: "supported-required",
580
+ Supported: "supported",
581
+ NotSupported: "not-supported",
582
+ } as const;
583
+ export type VirtualWebhookCompanyId = OpenEnum<typeof VirtualWebhookCompanyId>;
584
+
585
+ export const VirtualWebhookContactId = {
586
+ SupportedRequired: "supported-required",
587
+ Supported: "supported",
588
+ NotSupported: "not-supported",
589
+ } as const;
590
+ export type VirtualWebhookContactId = OpenEnum<typeof VirtualWebhookContactId>;
591
+
592
+ export const VirtualWebhookCustomerId = {
593
+ SupportedRequired: "supported-required",
594
+ Supported: "supported",
595
+ NotSupported: "not-supported",
596
+ } as const;
597
+ export type VirtualWebhookCustomerId = OpenEnum<
598
+ typeof VirtualWebhookCustomerId
599
+ >;
600
+
601
+ export const VirtualWebhookDealId = {
602
+ SupportedRequired: "supported-required",
603
+ Supported: "supported",
604
+ NotSupported: "not-supported",
605
+ } as const;
606
+ export type VirtualWebhookDealId = OpenEnum<typeof VirtualWebhookDealId>;
607
+
608
+ export const VirtualWebhookEndLe = {
609
+ SupportedRequired: "supported-required",
610
+ Supported: "supported",
611
+ NotSupported: "not-supported",
612
+ } as const;
613
+ export type VirtualWebhookEndLe = OpenEnum<typeof VirtualWebhookEndLe>;
614
+
615
+ export const VirtualWebhookEndLt = {
616
+ SupportedRequired: "supported-required",
617
+ Supported: "supported",
618
+ NotSupported: "not-supported",
619
+ } as const;
620
+ export type VirtualWebhookEndLt = OpenEnum<typeof VirtualWebhookEndLt>;
621
+
622
+ export const VirtualWebhookEventId = {
623
+ SupportedRequired: "supported-required",
624
+ Supported: "supported",
625
+ NotSupported: "not-supported",
626
+ } as const;
627
+ export type VirtualWebhookEventId = OpenEnum<typeof VirtualWebhookEventId>;
628
+
629
+ export const VirtualWebhookExpand = {
630
+ SupportedRequired: "supported-required",
631
+ Supported: "supported",
632
+ NotSupported: "not-supported",
633
+ } as const;
634
+ export type VirtualWebhookExpand = OpenEnum<typeof VirtualWebhookExpand>;
635
+
636
+ export const VirtualWebhookFields = {
637
+ SupportedRequired: "supported-required",
638
+ Supported: "supported",
639
+ NotSupported: "not-supported",
640
+ } as const;
641
+ export type VirtualWebhookFields = OpenEnum<typeof VirtualWebhookFields>;
642
+
643
+ export const VirtualWebhookItemId = {
644
+ SupportedRequired: "supported-required",
645
+ Supported: "supported",
646
+ NotSupported: "not-supported",
647
+ } as const;
648
+ export type VirtualWebhookItemId = OpenEnum<typeof VirtualWebhookItemId>;
649
+
650
+ export const VirtualWebhookItemVariantId = {
651
+ SupportedRequired: "supported-required",
652
+ Supported: "supported",
653
+ NotSupported: "not-supported",
654
+ } as const;
655
+ export type VirtualWebhookItemVariantId = OpenEnum<
656
+ typeof VirtualWebhookItemVariantId
657
+ >;
658
+
659
+ export const VirtualWebhookJobId = {
660
+ SupportedRequired: "supported-required",
661
+ Supported: "supported",
662
+ NotSupported: "not-supported",
663
+ } as const;
664
+ export type VirtualWebhookJobId = OpenEnum<typeof VirtualWebhookJobId>;
665
+
666
+ export const VirtualWebhookLimit = {
667
+ SupportedRequired: "supported-required",
668
+ Supported: "supported",
669
+ NotSupported: "not-supported",
670
+ } as const;
671
+ export type VirtualWebhookLimit = OpenEnum<typeof VirtualWebhookLimit>;
672
+
673
+ export const VirtualWebhookListId = {
674
+ SupportedRequired: "supported-required",
675
+ Supported: "supported",
676
+ NotSupported: "not-supported",
677
+ } as const;
678
+ export type VirtualWebhookListId = OpenEnum<typeof VirtualWebhookListId>;
679
+
680
+ export const VirtualWebhookLocationId = {
681
+ SupportedRequired: "supported-required",
682
+ Supported: "supported",
683
+ NotSupported: "not-supported",
684
+ } as const;
685
+ export type VirtualWebhookLocationId = OpenEnum<
686
+ typeof VirtualWebhookLocationId
687
+ >;
688
+
689
+ export const VirtualWebhookOrgId = {
690
+ SupportedRequired: "supported-required",
691
+ Supported: "supported",
692
+ NotSupported: "not-supported",
693
+ } as const;
694
+ export type VirtualWebhookOrgId = OpenEnum<typeof VirtualWebhookOrgId>;
695
+
696
+ export const VirtualWebhookPageId = {
697
+ SupportedRequired: "supported-required",
698
+ Supported: "supported",
699
+ NotSupported: "not-supported",
700
+ } as const;
701
+ export type VirtualWebhookPageId = OpenEnum<typeof VirtualWebhookPageId>;
702
+
703
+ export const VirtualWebhookParentId = {
704
+ SupportedRequired: "supported-required",
705
+ Supported: "supported",
706
+ NotSupported: "not-supported",
707
+ } as const;
708
+ export type VirtualWebhookParentId = OpenEnum<typeof VirtualWebhookParentId>;
709
+
710
+ export const VirtualWebhookPipelineId = {
711
+ SupportedRequired: "supported-required",
712
+ Supported: "supported",
713
+ NotSupported: "not-supported",
714
+ } as const;
715
+ export type VirtualWebhookPipelineId = OpenEnum<
716
+ typeof VirtualWebhookPipelineId
717
+ >;
718
+
719
+ export const VirtualWebhookProjectId = {
720
+ SupportedRequired: "supported-required",
721
+ Supported: "supported",
722
+ NotSupported: "not-supported",
723
+ } as const;
724
+ export type VirtualWebhookProjectId = OpenEnum<typeof VirtualWebhookProjectId>;
725
+
726
+ export const VirtualWebhookRepoId = {
727
+ SupportedRequired: "supported-required",
728
+ Supported: "supported",
729
+ NotSupported: "not-supported",
730
+ } as const;
731
+ export type VirtualWebhookRepoId = OpenEnum<typeof VirtualWebhookRepoId>;
732
+
733
+ export const VirtualWebhookSpaceId = {
734
+ SupportedRequired: "supported-required",
735
+ Supported: "supported",
736
+ NotSupported: "not-supported",
737
+ } as const;
738
+ export type VirtualWebhookSpaceId = OpenEnum<typeof VirtualWebhookSpaceId>;
739
+
740
+ export const VirtualWebhookStartGte = {
741
+ SupportedRequired: "supported-required",
742
+ Supported: "supported",
743
+ NotSupported: "not-supported",
744
+ } as const;
745
+ export type VirtualWebhookStartGte = OpenEnum<typeof VirtualWebhookStartGte>;
746
+
747
+ export const VirtualWebhookStatus = {
748
+ SupportedRequired: "supported-required",
749
+ Supported: "supported",
750
+ NotSupported: "not-supported",
751
+ } as const;
752
+ export type VirtualWebhookStatus = OpenEnum<typeof VirtualWebhookStatus>;
753
+
754
+ export const VirtualWebhookTaskId = {
755
+ SupportedRequired: "supported-required",
756
+ Supported: "supported",
757
+ NotSupported: "not-supported",
758
+ } as const;
759
+ export type VirtualWebhookTaskId = OpenEnum<typeof VirtualWebhookTaskId>;
760
+
761
+ export const VirtualWebhookTicketId = {
762
+ SupportedRequired: "supported-required",
763
+ Supported: "supported",
764
+ NotSupported: "not-supported",
765
+ } as const;
766
+ export type VirtualWebhookTicketId = OpenEnum<typeof VirtualWebhookTicketId>;
767
+
768
+ export const VirtualWebhookType = {
769
+ SupportedRequired: "supported-required",
770
+ Supported: "supported",
771
+ NotSupported: "not-supported",
772
+ } as const;
773
+ export type VirtualWebhookType = OpenEnum<typeof VirtualWebhookType>;
774
+
775
+ export const VirtualWebhookUpdatedGte = {
776
+ SupportedRequired: "supported-required",
777
+ Supported: "supported",
778
+ NotSupported: "not-supported",
779
+ } as const;
780
+ export type VirtualWebhookUpdatedGte = OpenEnum<
781
+ typeof VirtualWebhookUpdatedGte
782
+ >;
783
+
784
+ export const VirtualWebhookUserId = {
785
+ SupportedRequired: "supported-required",
786
+ Supported: "supported",
787
+ NotSupported: "not-supported",
788
+ } as const;
789
+ export type VirtualWebhookUserId = OpenEnum<typeof VirtualWebhookUserId>;
790
+
791
+ export type IntegrationSupport = {
792
+ fromWebhook?: FromWebhook | undefined;
793
+ inboundFields?: { [k: string]: string } | undefined;
794
+ listAccountId?: ListAccountId | undefined;
795
+ listApplicationId?: ListApplicationId | undefined;
796
+ listBranchId?: ListBranchId | undefined;
797
+ listCalendarId?: ListCalendarId | undefined;
798
+ listCallId?: ListCallId | undefined;
799
+ listCandidateId?: ListCandidateId | undefined;
800
+ listCategoryId?: ListCategoryId | undefined;
801
+ listChannelId?: ListChannelId | undefined;
802
+ listClassId?: ListClassId | undefined;
803
+ listCollectionId?: ListCollectionId | undefined;
804
+ listCompanyId?: ListCompanyId | undefined;
805
+ listContactId?: ListContactId | undefined;
806
+ listCourseId?: ListCourseId | undefined;
807
+ listCustomerId?: ListCustomerId | undefined;
808
+ listDealId?: ListDealId | undefined;
809
+ listDocumentId?: ListDocumentId | undefined;
810
+ listEndLe?: ListEndLe | undefined;
811
+ listEndLt?: ListEndLt | undefined;
812
+ listEventId?: ListEventId | undefined;
813
+ listExpand?: ListExpand | undefined;
814
+ listExpandRecurringEvents?: ListExpandRecurringEvents | undefined;
815
+ listInstructorId?: ListInstructorId | undefined;
816
+ listInterviewId?: ListInterviewId | undefined;
817
+ listInvoiceId?: ListInvoiceId | undefined;
818
+ listItemId?: ListItemId | undefined;
819
+ listItemVariantId?: ListItemVariantId | undefined;
820
+ listJobId?: ListJobId | undefined;
821
+ listLeadId?: ListLeadId | undefined;
822
+ listLimit?: ListLimit | undefined;
823
+ listLinkId?: ListLinkId | undefined;
824
+ listListId?: ListListId | undefined;
825
+ listLocationId?: ListLocationId | undefined;
826
+ listOffset?: ListOffset | undefined;
827
+ listOrder?: ListOrder | undefined;
828
+ listOrgId?: ListOrgId | undefined;
829
+ listPackageId?: ListPackageId | undefined;
830
+ listPageId?: ListPageId | undefined;
831
+ listParentId?: ListParentId | undefined;
832
+ listPaymentId?: ListPaymentId | undefined;
833
+ listPipelineId?: ListPipelineId | undefined;
834
+ listProjectId?: ListProjectId | undefined;
835
+ listQuery?: ListQuery | undefined;
836
+ listRawFields?: ListRawFields | undefined;
837
+ listRepoId?: ListRepoId | undefined;
838
+ listRootId?: ListRootId | undefined;
839
+ listSortByCreatedAt?: ListSortByCreatedAt | undefined;
840
+ listSortByName?: ListSortByName | undefined;
841
+ listSortByUpdatedAt?: ListSortByUpdatedAt | undefined;
842
+ listSpaceId?: ListSpaceId | undefined;
843
+ listStartGte?: ListStartGte | undefined;
844
+ listStatus?: ListStatus | undefined;
845
+ listStudentId?: ListStudentId | undefined;
846
+ listTaskId?: ListTaskId | undefined;
847
+ listTeacherId?: ListTeacherId | undefined;
848
+ listTicketId?: ListTicketId | undefined;
849
+ listType?: ListType | undefined;
850
+ listUpdatedGte?: ListUpdatedGte | undefined;
851
+ listUserId?: ListUserId | undefined;
852
+ methods?: { [k: string]: boolean } | undefined;
853
+ nativeWebhookCalendarId?: NativeWebhookCalendarId | undefined;
854
+ nativeWebhookChannelId?: NativeWebhookChannelId | undefined;
855
+ nativeWebhookCompanyId?: NativeWebhookCompanyId | undefined;
856
+ nativeWebhookEventId?: NativeWebhookEventId | undefined;
857
+ nativeWebhookParentId?: NativeWebhookParentId | undefined;
858
+ nativeWebhookProjectId?: NativeWebhookProjectId | undefined;
859
+ nativeWebhookTaskId?: NativeWebhookTaskId | undefined;
860
+ outboundFields?: { [k: string]: string } | undefined;
861
+ /**
862
+ * objects that we map from in the integration
863
+ */
864
+ rawObjects?: Array<string> | undefined;
865
+ searchDomain?: SearchDomain | undefined;
866
+ searchEmail?: SearchEmail | undefined;
867
+ searchLinkedinurl?: SearchLinkedinurl | undefined;
868
+ searchName?: SearchName | undefined;
869
+ searchTwitter?: SearchTwitter | undefined;
870
+ slowFields?: Array<string> | undefined;
871
+ virtualWebhookApplicationId?: VirtualWebhookApplicationId | undefined;
872
+ virtualWebhookBranchId?: VirtualWebhookBranchId | undefined;
873
+ virtualWebhookCalendarId?: VirtualWebhookCalendarId | undefined;
874
+ virtualWebhookCallId?: VirtualWebhookCallId | undefined;
875
+ virtualWebhookCandidateId?: VirtualWebhookCandidateId | undefined;
876
+ virtualWebhookChannelId?: VirtualWebhookChannelId | undefined;
877
+ virtualWebhookCollectionId?: VirtualWebhookCollectionId | undefined;
878
+ virtualWebhookCompanyId?: VirtualWebhookCompanyId | undefined;
879
+ virtualWebhookContactId?: VirtualWebhookContactId | undefined;
880
+ virtualWebhookCustomerId?: VirtualWebhookCustomerId | undefined;
881
+ virtualWebhookDealId?: VirtualWebhookDealId | undefined;
882
+ virtualWebhookEndLe?: VirtualWebhookEndLe | undefined;
883
+ virtualWebhookEndLt?: VirtualWebhookEndLt | undefined;
884
+ virtualWebhookEventId?: VirtualWebhookEventId | undefined;
885
+ virtualWebhookExpand?: VirtualWebhookExpand | undefined;
886
+ virtualWebhookFields?: VirtualWebhookFields | undefined;
887
+ virtualWebhookItemId?: VirtualWebhookItemId | undefined;
888
+ virtualWebhookItemVariantId?: VirtualWebhookItemVariantId | undefined;
889
+ virtualWebhookJobId?: VirtualWebhookJobId | undefined;
890
+ virtualWebhookLimit?: VirtualWebhookLimit | undefined;
891
+ virtualWebhookListId?: VirtualWebhookListId | undefined;
892
+ virtualWebhookLocationId?: VirtualWebhookLocationId | undefined;
893
+ virtualWebhookOrgId?: VirtualWebhookOrgId | undefined;
894
+ virtualWebhookPageId?: VirtualWebhookPageId | undefined;
895
+ virtualWebhookParentId?: VirtualWebhookParentId | undefined;
896
+ virtualWebhookPipelineId?: VirtualWebhookPipelineId | undefined;
897
+ virtualWebhookProjectId?: VirtualWebhookProjectId | undefined;
898
+ virtualWebhookRepoId?: VirtualWebhookRepoId | undefined;
899
+ virtualWebhookSpaceId?: VirtualWebhookSpaceId | undefined;
900
+ virtualWebhookStartGte?: VirtualWebhookStartGte | undefined;
901
+ virtualWebhookStatus?: VirtualWebhookStatus | undefined;
902
+ virtualWebhookTaskId?: VirtualWebhookTaskId | undefined;
903
+ virtualWebhookTicketId?: VirtualWebhookTicketId | undefined;
904
+ virtualWebhookType?: VirtualWebhookType | undefined;
905
+ virtualWebhookUpdatedGte?: VirtualWebhookUpdatedGte | undefined;
906
+ virtualWebhookUserId?: VirtualWebhookUserId | undefined;
907
+ webhookEvents?: PropertyIntegrationSupportWebhookEvents | undefined;
908
+ };
909
+
910
+ /** @internal */
911
+ export const FromWebhook$inboundSchema: z.ZodType<
912
+ FromWebhook,
913
+ z.ZodTypeDef,
914
+ unknown
915
+ > = z
916
+ .union([
917
+ z.nativeEnum(FromWebhook),
918
+ z.string().transform(catchUnrecognizedEnum),
919
+ ]);
920
+
921
+ /** @internal */
922
+ export const FromWebhook$outboundSchema: z.ZodType<
923
+ FromWebhook,
924
+ z.ZodTypeDef,
925
+ FromWebhook
926
+ > = z.union([
927
+ z.nativeEnum(FromWebhook),
928
+ z.string().and(z.custom<Unrecognized<string>>()),
929
+ ]);
930
+
931
+ /**
932
+ * @internal
933
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
934
+ */
935
+ export namespace FromWebhook$ {
936
+ /** @deprecated use `FromWebhook$inboundSchema` instead. */
937
+ export const inboundSchema = FromWebhook$inboundSchema;
938
+ /** @deprecated use `FromWebhook$outboundSchema` instead. */
939
+ export const outboundSchema = FromWebhook$outboundSchema;
940
+ }
941
+
942
+ /** @internal */
943
+ export const ListAccountId$inboundSchema: z.ZodType<
944
+ ListAccountId,
945
+ z.ZodTypeDef,
946
+ unknown
947
+ > = z
948
+ .union([
949
+ z.nativeEnum(ListAccountId),
950
+ z.string().transform(catchUnrecognizedEnum),
951
+ ]);
952
+
953
+ /** @internal */
954
+ export const ListAccountId$outboundSchema: z.ZodType<
955
+ ListAccountId,
956
+ z.ZodTypeDef,
957
+ ListAccountId
958
+ > = z.union([
959
+ z.nativeEnum(ListAccountId),
960
+ z.string().and(z.custom<Unrecognized<string>>()),
961
+ ]);
962
+
963
+ /**
964
+ * @internal
965
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
966
+ */
967
+ export namespace ListAccountId$ {
968
+ /** @deprecated use `ListAccountId$inboundSchema` instead. */
969
+ export const inboundSchema = ListAccountId$inboundSchema;
970
+ /** @deprecated use `ListAccountId$outboundSchema` instead. */
971
+ export const outboundSchema = ListAccountId$outboundSchema;
972
+ }
973
+
974
+ /** @internal */
975
+ export const ListApplicationId$inboundSchema: z.ZodType<
976
+ ListApplicationId,
977
+ z.ZodTypeDef,
978
+ unknown
979
+ > = z
980
+ .union([
981
+ z.nativeEnum(ListApplicationId),
982
+ z.string().transform(catchUnrecognizedEnum),
983
+ ]);
984
+
985
+ /** @internal */
986
+ export const ListApplicationId$outboundSchema: z.ZodType<
987
+ ListApplicationId,
988
+ z.ZodTypeDef,
989
+ ListApplicationId
990
+ > = z.union([
991
+ z.nativeEnum(ListApplicationId),
992
+ z.string().and(z.custom<Unrecognized<string>>()),
993
+ ]);
994
+
995
+ /**
996
+ * @internal
997
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
998
+ */
999
+ export namespace ListApplicationId$ {
1000
+ /** @deprecated use `ListApplicationId$inboundSchema` instead. */
1001
+ export const inboundSchema = ListApplicationId$inboundSchema;
1002
+ /** @deprecated use `ListApplicationId$outboundSchema` instead. */
1003
+ export const outboundSchema = ListApplicationId$outboundSchema;
1004
+ }
1005
+
1006
+ /** @internal */
1007
+ export const ListBranchId$inboundSchema: z.ZodType<
1008
+ ListBranchId,
1009
+ z.ZodTypeDef,
1010
+ unknown
1011
+ > = z
1012
+ .union([
1013
+ z.nativeEnum(ListBranchId),
1014
+ z.string().transform(catchUnrecognizedEnum),
1015
+ ]);
1016
+
1017
+ /** @internal */
1018
+ export const ListBranchId$outboundSchema: z.ZodType<
1019
+ ListBranchId,
1020
+ z.ZodTypeDef,
1021
+ ListBranchId
1022
+ > = z.union([
1023
+ z.nativeEnum(ListBranchId),
1024
+ z.string().and(z.custom<Unrecognized<string>>()),
1025
+ ]);
1026
+
1027
+ /**
1028
+ * @internal
1029
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1030
+ */
1031
+ export namespace ListBranchId$ {
1032
+ /** @deprecated use `ListBranchId$inboundSchema` instead. */
1033
+ export const inboundSchema = ListBranchId$inboundSchema;
1034
+ /** @deprecated use `ListBranchId$outboundSchema` instead. */
1035
+ export const outboundSchema = ListBranchId$outboundSchema;
1036
+ }
1037
+
1038
+ /** @internal */
1039
+ export const ListCalendarId$inboundSchema: z.ZodType<
1040
+ ListCalendarId,
1041
+ z.ZodTypeDef,
1042
+ unknown
1043
+ > = z
1044
+ .union([
1045
+ z.nativeEnum(ListCalendarId),
1046
+ z.string().transform(catchUnrecognizedEnum),
1047
+ ]);
1048
+
1049
+ /** @internal */
1050
+ export const ListCalendarId$outboundSchema: z.ZodType<
1051
+ ListCalendarId,
1052
+ z.ZodTypeDef,
1053
+ ListCalendarId
1054
+ > = z.union([
1055
+ z.nativeEnum(ListCalendarId),
1056
+ z.string().and(z.custom<Unrecognized<string>>()),
1057
+ ]);
1058
+
1059
+ /**
1060
+ * @internal
1061
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1062
+ */
1063
+ export namespace ListCalendarId$ {
1064
+ /** @deprecated use `ListCalendarId$inboundSchema` instead. */
1065
+ export const inboundSchema = ListCalendarId$inboundSchema;
1066
+ /** @deprecated use `ListCalendarId$outboundSchema` instead. */
1067
+ export const outboundSchema = ListCalendarId$outboundSchema;
1068
+ }
1069
+
1070
+ /** @internal */
1071
+ export const ListCallId$inboundSchema: z.ZodType<
1072
+ ListCallId,
1073
+ z.ZodTypeDef,
1074
+ unknown
1075
+ > = z
1076
+ .union([
1077
+ z.nativeEnum(ListCallId),
1078
+ z.string().transform(catchUnrecognizedEnum),
1079
+ ]);
1080
+
1081
+ /** @internal */
1082
+ export const ListCallId$outboundSchema: z.ZodType<
1083
+ ListCallId,
1084
+ z.ZodTypeDef,
1085
+ ListCallId
1086
+ > = z.union([
1087
+ z.nativeEnum(ListCallId),
1088
+ z.string().and(z.custom<Unrecognized<string>>()),
1089
+ ]);
1090
+
1091
+ /**
1092
+ * @internal
1093
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1094
+ */
1095
+ export namespace ListCallId$ {
1096
+ /** @deprecated use `ListCallId$inboundSchema` instead. */
1097
+ export const inboundSchema = ListCallId$inboundSchema;
1098
+ /** @deprecated use `ListCallId$outboundSchema` instead. */
1099
+ export const outboundSchema = ListCallId$outboundSchema;
1100
+ }
1101
+
1102
+ /** @internal */
1103
+ export const ListCandidateId$inboundSchema: z.ZodType<
1104
+ ListCandidateId,
1105
+ z.ZodTypeDef,
1106
+ unknown
1107
+ > = z
1108
+ .union([
1109
+ z.nativeEnum(ListCandidateId),
1110
+ z.string().transform(catchUnrecognizedEnum),
1111
+ ]);
1112
+
1113
+ /** @internal */
1114
+ export const ListCandidateId$outboundSchema: z.ZodType<
1115
+ ListCandidateId,
1116
+ z.ZodTypeDef,
1117
+ ListCandidateId
1118
+ > = z.union([
1119
+ z.nativeEnum(ListCandidateId),
1120
+ z.string().and(z.custom<Unrecognized<string>>()),
1121
+ ]);
1122
+
1123
+ /**
1124
+ * @internal
1125
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1126
+ */
1127
+ export namespace ListCandidateId$ {
1128
+ /** @deprecated use `ListCandidateId$inboundSchema` instead. */
1129
+ export const inboundSchema = ListCandidateId$inboundSchema;
1130
+ /** @deprecated use `ListCandidateId$outboundSchema` instead. */
1131
+ export const outboundSchema = ListCandidateId$outboundSchema;
1132
+ }
1133
+
1134
+ /** @internal */
1135
+ export const ListCategoryId$inboundSchema: z.ZodType<
1136
+ ListCategoryId,
1137
+ z.ZodTypeDef,
1138
+ unknown
1139
+ > = z
1140
+ .union([
1141
+ z.nativeEnum(ListCategoryId),
1142
+ z.string().transform(catchUnrecognizedEnum),
1143
+ ]);
1144
+
1145
+ /** @internal */
1146
+ export const ListCategoryId$outboundSchema: z.ZodType<
1147
+ ListCategoryId,
1148
+ z.ZodTypeDef,
1149
+ ListCategoryId
1150
+ > = z.union([
1151
+ z.nativeEnum(ListCategoryId),
1152
+ z.string().and(z.custom<Unrecognized<string>>()),
1153
+ ]);
1154
+
1155
+ /**
1156
+ * @internal
1157
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1158
+ */
1159
+ export namespace ListCategoryId$ {
1160
+ /** @deprecated use `ListCategoryId$inboundSchema` instead. */
1161
+ export const inboundSchema = ListCategoryId$inboundSchema;
1162
+ /** @deprecated use `ListCategoryId$outboundSchema` instead. */
1163
+ export const outboundSchema = ListCategoryId$outboundSchema;
1164
+ }
1165
+
1166
+ /** @internal */
1167
+ export const ListChannelId$inboundSchema: z.ZodType<
1168
+ ListChannelId,
1169
+ z.ZodTypeDef,
1170
+ unknown
1171
+ > = z
1172
+ .union([
1173
+ z.nativeEnum(ListChannelId),
1174
+ z.string().transform(catchUnrecognizedEnum),
1175
+ ]);
1176
+
1177
+ /** @internal */
1178
+ export const ListChannelId$outboundSchema: z.ZodType<
1179
+ ListChannelId,
1180
+ z.ZodTypeDef,
1181
+ ListChannelId
1182
+ > = z.union([
1183
+ z.nativeEnum(ListChannelId),
1184
+ z.string().and(z.custom<Unrecognized<string>>()),
1185
+ ]);
1186
+
1187
+ /**
1188
+ * @internal
1189
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1190
+ */
1191
+ export namespace ListChannelId$ {
1192
+ /** @deprecated use `ListChannelId$inboundSchema` instead. */
1193
+ export const inboundSchema = ListChannelId$inboundSchema;
1194
+ /** @deprecated use `ListChannelId$outboundSchema` instead. */
1195
+ export const outboundSchema = ListChannelId$outboundSchema;
1196
+ }
1197
+
1198
+ /** @internal */
1199
+ export const ListClassId$inboundSchema: z.ZodType<
1200
+ ListClassId,
1201
+ z.ZodTypeDef,
1202
+ unknown
1203
+ > = z
1204
+ .union([
1205
+ z.nativeEnum(ListClassId),
1206
+ z.string().transform(catchUnrecognizedEnum),
1207
+ ]);
1208
+
1209
+ /** @internal */
1210
+ export const ListClassId$outboundSchema: z.ZodType<
1211
+ ListClassId,
1212
+ z.ZodTypeDef,
1213
+ ListClassId
1214
+ > = z.union([
1215
+ z.nativeEnum(ListClassId),
1216
+ z.string().and(z.custom<Unrecognized<string>>()),
1217
+ ]);
1218
+
1219
+ /**
1220
+ * @internal
1221
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1222
+ */
1223
+ export namespace ListClassId$ {
1224
+ /** @deprecated use `ListClassId$inboundSchema` instead. */
1225
+ export const inboundSchema = ListClassId$inboundSchema;
1226
+ /** @deprecated use `ListClassId$outboundSchema` instead. */
1227
+ export const outboundSchema = ListClassId$outboundSchema;
1228
+ }
1229
+
1230
+ /** @internal */
1231
+ export const ListCollectionId$inboundSchema: z.ZodType<
1232
+ ListCollectionId,
1233
+ z.ZodTypeDef,
1234
+ unknown
1235
+ > = z
1236
+ .union([
1237
+ z.nativeEnum(ListCollectionId),
1238
+ z.string().transform(catchUnrecognizedEnum),
1239
+ ]);
1240
+
1241
+ /** @internal */
1242
+ export const ListCollectionId$outboundSchema: z.ZodType<
1243
+ ListCollectionId,
1244
+ z.ZodTypeDef,
1245
+ ListCollectionId
1246
+ > = z.union([
1247
+ z.nativeEnum(ListCollectionId),
1248
+ z.string().and(z.custom<Unrecognized<string>>()),
1249
+ ]);
1250
+
1251
+ /**
1252
+ * @internal
1253
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1254
+ */
1255
+ export namespace ListCollectionId$ {
1256
+ /** @deprecated use `ListCollectionId$inboundSchema` instead. */
1257
+ export const inboundSchema = ListCollectionId$inboundSchema;
1258
+ /** @deprecated use `ListCollectionId$outboundSchema` instead. */
1259
+ export const outboundSchema = ListCollectionId$outboundSchema;
1260
+ }
1261
+
1262
+ /** @internal */
1263
+ export const ListCompanyId$inboundSchema: z.ZodType<
1264
+ ListCompanyId,
1265
+ z.ZodTypeDef,
1266
+ unknown
1267
+ > = z
1268
+ .union([
1269
+ z.nativeEnum(ListCompanyId),
1270
+ z.string().transform(catchUnrecognizedEnum),
1271
+ ]);
1272
+
1273
+ /** @internal */
1274
+ export const ListCompanyId$outboundSchema: z.ZodType<
1275
+ ListCompanyId,
1276
+ z.ZodTypeDef,
1277
+ ListCompanyId
1278
+ > = z.union([
1279
+ z.nativeEnum(ListCompanyId),
1280
+ z.string().and(z.custom<Unrecognized<string>>()),
1281
+ ]);
1282
+
1283
+ /**
1284
+ * @internal
1285
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1286
+ */
1287
+ export namespace ListCompanyId$ {
1288
+ /** @deprecated use `ListCompanyId$inboundSchema` instead. */
1289
+ export const inboundSchema = ListCompanyId$inboundSchema;
1290
+ /** @deprecated use `ListCompanyId$outboundSchema` instead. */
1291
+ export const outboundSchema = ListCompanyId$outboundSchema;
1292
+ }
1293
+
1294
+ /** @internal */
1295
+ export const ListContactId$inboundSchema: z.ZodType<
1296
+ ListContactId,
1297
+ z.ZodTypeDef,
1298
+ unknown
1299
+ > = z
1300
+ .union([
1301
+ z.nativeEnum(ListContactId),
1302
+ z.string().transform(catchUnrecognizedEnum),
1303
+ ]);
1304
+
1305
+ /** @internal */
1306
+ export const ListContactId$outboundSchema: z.ZodType<
1307
+ ListContactId,
1308
+ z.ZodTypeDef,
1309
+ ListContactId
1310
+ > = z.union([
1311
+ z.nativeEnum(ListContactId),
1312
+ z.string().and(z.custom<Unrecognized<string>>()),
1313
+ ]);
1314
+
1315
+ /**
1316
+ * @internal
1317
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1318
+ */
1319
+ export namespace ListContactId$ {
1320
+ /** @deprecated use `ListContactId$inboundSchema` instead. */
1321
+ export const inboundSchema = ListContactId$inboundSchema;
1322
+ /** @deprecated use `ListContactId$outboundSchema` instead. */
1323
+ export const outboundSchema = ListContactId$outboundSchema;
1324
+ }
1325
+
1326
+ /** @internal */
1327
+ export const ListCourseId$inboundSchema: z.ZodType<
1328
+ ListCourseId,
1329
+ z.ZodTypeDef,
1330
+ unknown
1331
+ > = z
1332
+ .union([
1333
+ z.nativeEnum(ListCourseId),
1334
+ z.string().transform(catchUnrecognizedEnum),
1335
+ ]);
1336
+
1337
+ /** @internal */
1338
+ export const ListCourseId$outboundSchema: z.ZodType<
1339
+ ListCourseId,
1340
+ z.ZodTypeDef,
1341
+ ListCourseId
1342
+ > = z.union([
1343
+ z.nativeEnum(ListCourseId),
1344
+ z.string().and(z.custom<Unrecognized<string>>()),
1345
+ ]);
1346
+
1347
+ /**
1348
+ * @internal
1349
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1350
+ */
1351
+ export namespace ListCourseId$ {
1352
+ /** @deprecated use `ListCourseId$inboundSchema` instead. */
1353
+ export const inboundSchema = ListCourseId$inboundSchema;
1354
+ /** @deprecated use `ListCourseId$outboundSchema` instead. */
1355
+ export const outboundSchema = ListCourseId$outboundSchema;
1356
+ }
1357
+
1358
+ /** @internal */
1359
+ export const ListCustomerId$inboundSchema: z.ZodType<
1360
+ ListCustomerId,
1361
+ z.ZodTypeDef,
1362
+ unknown
1363
+ > = z
1364
+ .union([
1365
+ z.nativeEnum(ListCustomerId),
1366
+ z.string().transform(catchUnrecognizedEnum),
1367
+ ]);
1368
+
1369
+ /** @internal */
1370
+ export const ListCustomerId$outboundSchema: z.ZodType<
1371
+ ListCustomerId,
1372
+ z.ZodTypeDef,
1373
+ ListCustomerId
1374
+ > = z.union([
1375
+ z.nativeEnum(ListCustomerId),
1376
+ z.string().and(z.custom<Unrecognized<string>>()),
1377
+ ]);
1378
+
1379
+ /**
1380
+ * @internal
1381
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1382
+ */
1383
+ export namespace ListCustomerId$ {
1384
+ /** @deprecated use `ListCustomerId$inboundSchema` instead. */
1385
+ export const inboundSchema = ListCustomerId$inboundSchema;
1386
+ /** @deprecated use `ListCustomerId$outboundSchema` instead. */
1387
+ export const outboundSchema = ListCustomerId$outboundSchema;
1388
+ }
1389
+
1390
+ /** @internal */
1391
+ export const ListDealId$inboundSchema: z.ZodType<
1392
+ ListDealId,
1393
+ z.ZodTypeDef,
1394
+ unknown
1395
+ > = z
1396
+ .union([
1397
+ z.nativeEnum(ListDealId),
1398
+ z.string().transform(catchUnrecognizedEnum),
1399
+ ]);
1400
+
1401
+ /** @internal */
1402
+ export const ListDealId$outboundSchema: z.ZodType<
1403
+ ListDealId,
1404
+ z.ZodTypeDef,
1405
+ ListDealId
1406
+ > = z.union([
1407
+ z.nativeEnum(ListDealId),
1408
+ z.string().and(z.custom<Unrecognized<string>>()),
1409
+ ]);
1410
+
1411
+ /**
1412
+ * @internal
1413
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1414
+ */
1415
+ export namespace ListDealId$ {
1416
+ /** @deprecated use `ListDealId$inboundSchema` instead. */
1417
+ export const inboundSchema = ListDealId$inboundSchema;
1418
+ /** @deprecated use `ListDealId$outboundSchema` instead. */
1419
+ export const outboundSchema = ListDealId$outboundSchema;
1420
+ }
1421
+
1422
+ /** @internal */
1423
+ export const ListDocumentId$inboundSchema: z.ZodType<
1424
+ ListDocumentId,
1425
+ z.ZodTypeDef,
1426
+ unknown
1427
+ > = z
1428
+ .union([
1429
+ z.nativeEnum(ListDocumentId),
1430
+ z.string().transform(catchUnrecognizedEnum),
1431
+ ]);
1432
+
1433
+ /** @internal */
1434
+ export const ListDocumentId$outboundSchema: z.ZodType<
1435
+ ListDocumentId,
1436
+ z.ZodTypeDef,
1437
+ ListDocumentId
1438
+ > = z.union([
1439
+ z.nativeEnum(ListDocumentId),
1440
+ z.string().and(z.custom<Unrecognized<string>>()),
1441
+ ]);
1442
+
1443
+ /**
1444
+ * @internal
1445
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1446
+ */
1447
+ export namespace ListDocumentId$ {
1448
+ /** @deprecated use `ListDocumentId$inboundSchema` instead. */
1449
+ export const inboundSchema = ListDocumentId$inboundSchema;
1450
+ /** @deprecated use `ListDocumentId$outboundSchema` instead. */
1451
+ export const outboundSchema = ListDocumentId$outboundSchema;
1452
+ }
1453
+
1454
+ /** @internal */
1455
+ export const ListEndLe$inboundSchema: z.ZodType<
1456
+ ListEndLe,
1457
+ z.ZodTypeDef,
1458
+ unknown
1459
+ > = z
1460
+ .union([
1461
+ z.nativeEnum(ListEndLe),
1462
+ z.string().transform(catchUnrecognizedEnum),
1463
+ ]);
1464
+
1465
+ /** @internal */
1466
+ export const ListEndLe$outboundSchema: z.ZodType<
1467
+ ListEndLe,
1468
+ z.ZodTypeDef,
1469
+ ListEndLe
1470
+ > = z.union([
1471
+ z.nativeEnum(ListEndLe),
1472
+ z.string().and(z.custom<Unrecognized<string>>()),
1473
+ ]);
1474
+
1475
+ /**
1476
+ * @internal
1477
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1478
+ */
1479
+ export namespace ListEndLe$ {
1480
+ /** @deprecated use `ListEndLe$inboundSchema` instead. */
1481
+ export const inboundSchema = ListEndLe$inboundSchema;
1482
+ /** @deprecated use `ListEndLe$outboundSchema` instead. */
1483
+ export const outboundSchema = ListEndLe$outboundSchema;
1484
+ }
1485
+
1486
+ /** @internal */
1487
+ export const ListEndLt$inboundSchema: z.ZodType<
1488
+ ListEndLt,
1489
+ z.ZodTypeDef,
1490
+ unknown
1491
+ > = z
1492
+ .union([
1493
+ z.nativeEnum(ListEndLt),
1494
+ z.string().transform(catchUnrecognizedEnum),
1495
+ ]);
1496
+
1497
+ /** @internal */
1498
+ export const ListEndLt$outboundSchema: z.ZodType<
1499
+ ListEndLt,
1500
+ z.ZodTypeDef,
1501
+ ListEndLt
1502
+ > = z.union([
1503
+ z.nativeEnum(ListEndLt),
1504
+ z.string().and(z.custom<Unrecognized<string>>()),
1505
+ ]);
1506
+
1507
+ /**
1508
+ * @internal
1509
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1510
+ */
1511
+ export namespace ListEndLt$ {
1512
+ /** @deprecated use `ListEndLt$inboundSchema` instead. */
1513
+ export const inboundSchema = ListEndLt$inboundSchema;
1514
+ /** @deprecated use `ListEndLt$outboundSchema` instead. */
1515
+ export const outboundSchema = ListEndLt$outboundSchema;
1516
+ }
1517
+
1518
+ /** @internal */
1519
+ export const ListEventId$inboundSchema: z.ZodType<
1520
+ ListEventId,
1521
+ z.ZodTypeDef,
1522
+ unknown
1523
+ > = z
1524
+ .union([
1525
+ z.nativeEnum(ListEventId),
1526
+ z.string().transform(catchUnrecognizedEnum),
1527
+ ]);
1528
+
1529
+ /** @internal */
1530
+ export const ListEventId$outboundSchema: z.ZodType<
1531
+ ListEventId,
1532
+ z.ZodTypeDef,
1533
+ ListEventId
1534
+ > = z.union([
1535
+ z.nativeEnum(ListEventId),
1536
+ z.string().and(z.custom<Unrecognized<string>>()),
1537
+ ]);
1538
+
1539
+ /**
1540
+ * @internal
1541
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1542
+ */
1543
+ export namespace ListEventId$ {
1544
+ /** @deprecated use `ListEventId$inboundSchema` instead. */
1545
+ export const inboundSchema = ListEventId$inboundSchema;
1546
+ /** @deprecated use `ListEventId$outboundSchema` instead. */
1547
+ export const outboundSchema = ListEventId$outboundSchema;
1548
+ }
1549
+
1550
+ /** @internal */
1551
+ export const ListExpand$inboundSchema: z.ZodType<
1552
+ ListExpand,
1553
+ z.ZodTypeDef,
1554
+ unknown
1555
+ > = z
1556
+ .union([
1557
+ z.nativeEnum(ListExpand),
1558
+ z.string().transform(catchUnrecognizedEnum),
1559
+ ]);
1560
+
1561
+ /** @internal */
1562
+ export const ListExpand$outboundSchema: z.ZodType<
1563
+ ListExpand,
1564
+ z.ZodTypeDef,
1565
+ ListExpand
1566
+ > = z.union([
1567
+ z.nativeEnum(ListExpand),
1568
+ z.string().and(z.custom<Unrecognized<string>>()),
1569
+ ]);
1570
+
1571
+ /**
1572
+ * @internal
1573
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1574
+ */
1575
+ export namespace ListExpand$ {
1576
+ /** @deprecated use `ListExpand$inboundSchema` instead. */
1577
+ export const inboundSchema = ListExpand$inboundSchema;
1578
+ /** @deprecated use `ListExpand$outboundSchema` instead. */
1579
+ export const outboundSchema = ListExpand$outboundSchema;
1580
+ }
1581
+
1582
+ /** @internal */
1583
+ export const ListExpandRecurringEvents$inboundSchema: z.ZodType<
1584
+ ListExpandRecurringEvents,
1585
+ z.ZodTypeDef,
1586
+ unknown
1587
+ > = z
1588
+ .union([
1589
+ z.nativeEnum(ListExpandRecurringEvents),
1590
+ z.string().transform(catchUnrecognizedEnum),
1591
+ ]);
1592
+
1593
+ /** @internal */
1594
+ export const ListExpandRecurringEvents$outboundSchema: z.ZodType<
1595
+ ListExpandRecurringEvents,
1596
+ z.ZodTypeDef,
1597
+ ListExpandRecurringEvents
1598
+ > = z.union([
1599
+ z.nativeEnum(ListExpandRecurringEvents),
1600
+ z.string().and(z.custom<Unrecognized<string>>()),
1601
+ ]);
1602
+
1603
+ /**
1604
+ * @internal
1605
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1606
+ */
1607
+ export namespace ListExpandRecurringEvents$ {
1608
+ /** @deprecated use `ListExpandRecurringEvents$inboundSchema` instead. */
1609
+ export const inboundSchema = ListExpandRecurringEvents$inboundSchema;
1610
+ /** @deprecated use `ListExpandRecurringEvents$outboundSchema` instead. */
1611
+ export const outboundSchema = ListExpandRecurringEvents$outboundSchema;
1612
+ }
1613
+
1614
+ /** @internal */
1615
+ export const ListInstructorId$inboundSchema: z.ZodType<
1616
+ ListInstructorId,
1617
+ z.ZodTypeDef,
1618
+ unknown
1619
+ > = z
1620
+ .union([
1621
+ z.nativeEnum(ListInstructorId),
1622
+ z.string().transform(catchUnrecognizedEnum),
1623
+ ]);
1624
+
1625
+ /** @internal */
1626
+ export const ListInstructorId$outboundSchema: z.ZodType<
1627
+ ListInstructorId,
1628
+ z.ZodTypeDef,
1629
+ ListInstructorId
1630
+ > = z.union([
1631
+ z.nativeEnum(ListInstructorId),
1632
+ z.string().and(z.custom<Unrecognized<string>>()),
1633
+ ]);
1634
+
1635
+ /**
1636
+ * @internal
1637
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1638
+ */
1639
+ export namespace ListInstructorId$ {
1640
+ /** @deprecated use `ListInstructorId$inboundSchema` instead. */
1641
+ export const inboundSchema = ListInstructorId$inboundSchema;
1642
+ /** @deprecated use `ListInstructorId$outboundSchema` instead. */
1643
+ export const outboundSchema = ListInstructorId$outboundSchema;
1644
+ }
1645
+
1646
+ /** @internal */
1647
+ export const ListInterviewId$inboundSchema: z.ZodType<
1648
+ ListInterviewId,
1649
+ z.ZodTypeDef,
1650
+ unknown
1651
+ > = z
1652
+ .union([
1653
+ z.nativeEnum(ListInterviewId),
1654
+ z.string().transform(catchUnrecognizedEnum),
1655
+ ]);
1656
+
1657
+ /** @internal */
1658
+ export const ListInterviewId$outboundSchema: z.ZodType<
1659
+ ListInterviewId,
1660
+ z.ZodTypeDef,
1661
+ ListInterviewId
1662
+ > = z.union([
1663
+ z.nativeEnum(ListInterviewId),
1664
+ z.string().and(z.custom<Unrecognized<string>>()),
1665
+ ]);
1666
+
1667
+ /**
1668
+ * @internal
1669
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1670
+ */
1671
+ export namespace ListInterviewId$ {
1672
+ /** @deprecated use `ListInterviewId$inboundSchema` instead. */
1673
+ export const inboundSchema = ListInterviewId$inboundSchema;
1674
+ /** @deprecated use `ListInterviewId$outboundSchema` instead. */
1675
+ export const outboundSchema = ListInterviewId$outboundSchema;
1676
+ }
1677
+
1678
+ /** @internal */
1679
+ export const ListInvoiceId$inboundSchema: z.ZodType<
1680
+ ListInvoiceId,
1681
+ z.ZodTypeDef,
1682
+ unknown
1683
+ > = z
1684
+ .union([
1685
+ z.nativeEnum(ListInvoiceId),
1686
+ z.string().transform(catchUnrecognizedEnum),
1687
+ ]);
1688
+
1689
+ /** @internal */
1690
+ export const ListInvoiceId$outboundSchema: z.ZodType<
1691
+ ListInvoiceId,
1692
+ z.ZodTypeDef,
1693
+ ListInvoiceId
1694
+ > = z.union([
1695
+ z.nativeEnum(ListInvoiceId),
1696
+ z.string().and(z.custom<Unrecognized<string>>()),
1697
+ ]);
1698
+
1699
+ /**
1700
+ * @internal
1701
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1702
+ */
1703
+ export namespace ListInvoiceId$ {
1704
+ /** @deprecated use `ListInvoiceId$inboundSchema` instead. */
1705
+ export const inboundSchema = ListInvoiceId$inboundSchema;
1706
+ /** @deprecated use `ListInvoiceId$outboundSchema` instead. */
1707
+ export const outboundSchema = ListInvoiceId$outboundSchema;
1708
+ }
1709
+
1710
+ /** @internal */
1711
+ export const ListItemId$inboundSchema: z.ZodType<
1712
+ ListItemId,
1713
+ z.ZodTypeDef,
1714
+ unknown
1715
+ > = z
1716
+ .union([
1717
+ z.nativeEnum(ListItemId),
1718
+ z.string().transform(catchUnrecognizedEnum),
1719
+ ]);
1720
+
1721
+ /** @internal */
1722
+ export const ListItemId$outboundSchema: z.ZodType<
1723
+ ListItemId,
1724
+ z.ZodTypeDef,
1725
+ ListItemId
1726
+ > = z.union([
1727
+ z.nativeEnum(ListItemId),
1728
+ z.string().and(z.custom<Unrecognized<string>>()),
1729
+ ]);
1730
+
1731
+ /**
1732
+ * @internal
1733
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1734
+ */
1735
+ export namespace ListItemId$ {
1736
+ /** @deprecated use `ListItemId$inboundSchema` instead. */
1737
+ export const inboundSchema = ListItemId$inboundSchema;
1738
+ /** @deprecated use `ListItemId$outboundSchema` instead. */
1739
+ export const outboundSchema = ListItemId$outboundSchema;
1740
+ }
1741
+
1742
+ /** @internal */
1743
+ export const ListItemVariantId$inboundSchema: z.ZodType<
1744
+ ListItemVariantId,
1745
+ z.ZodTypeDef,
1746
+ unknown
1747
+ > = z
1748
+ .union([
1749
+ z.nativeEnum(ListItemVariantId),
1750
+ z.string().transform(catchUnrecognizedEnum),
1751
+ ]);
1752
+
1753
+ /** @internal */
1754
+ export const ListItemVariantId$outboundSchema: z.ZodType<
1755
+ ListItemVariantId,
1756
+ z.ZodTypeDef,
1757
+ ListItemVariantId
1758
+ > = z.union([
1759
+ z.nativeEnum(ListItemVariantId),
1760
+ z.string().and(z.custom<Unrecognized<string>>()),
1761
+ ]);
1762
+
1763
+ /**
1764
+ * @internal
1765
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1766
+ */
1767
+ export namespace ListItemVariantId$ {
1768
+ /** @deprecated use `ListItemVariantId$inboundSchema` instead. */
1769
+ export const inboundSchema = ListItemVariantId$inboundSchema;
1770
+ /** @deprecated use `ListItemVariantId$outboundSchema` instead. */
1771
+ export const outboundSchema = ListItemVariantId$outboundSchema;
1772
+ }
1773
+
1774
+ /** @internal */
1775
+ export const ListJobId$inboundSchema: z.ZodType<
1776
+ ListJobId,
1777
+ z.ZodTypeDef,
1778
+ unknown
1779
+ > = z
1780
+ .union([
1781
+ z.nativeEnum(ListJobId),
1782
+ z.string().transform(catchUnrecognizedEnum),
1783
+ ]);
1784
+
1785
+ /** @internal */
1786
+ export const ListJobId$outboundSchema: z.ZodType<
1787
+ ListJobId,
1788
+ z.ZodTypeDef,
1789
+ ListJobId
1790
+ > = z.union([
1791
+ z.nativeEnum(ListJobId),
1792
+ z.string().and(z.custom<Unrecognized<string>>()),
1793
+ ]);
1794
+
1795
+ /**
1796
+ * @internal
1797
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1798
+ */
1799
+ export namespace ListJobId$ {
1800
+ /** @deprecated use `ListJobId$inboundSchema` instead. */
1801
+ export const inboundSchema = ListJobId$inboundSchema;
1802
+ /** @deprecated use `ListJobId$outboundSchema` instead. */
1803
+ export const outboundSchema = ListJobId$outboundSchema;
1804
+ }
1805
+
1806
+ /** @internal */
1807
+ export const ListLeadId$inboundSchema: z.ZodType<
1808
+ ListLeadId,
1809
+ z.ZodTypeDef,
1810
+ unknown
1811
+ > = z
1812
+ .union([
1813
+ z.nativeEnum(ListLeadId),
1814
+ z.string().transform(catchUnrecognizedEnum),
1815
+ ]);
1816
+
1817
+ /** @internal */
1818
+ export const ListLeadId$outboundSchema: z.ZodType<
1819
+ ListLeadId,
1820
+ z.ZodTypeDef,
1821
+ ListLeadId
1822
+ > = z.union([
1823
+ z.nativeEnum(ListLeadId),
1824
+ z.string().and(z.custom<Unrecognized<string>>()),
1825
+ ]);
1826
+
1827
+ /**
1828
+ * @internal
1829
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1830
+ */
1831
+ export namespace ListLeadId$ {
1832
+ /** @deprecated use `ListLeadId$inboundSchema` instead. */
1833
+ export const inboundSchema = ListLeadId$inboundSchema;
1834
+ /** @deprecated use `ListLeadId$outboundSchema` instead. */
1835
+ export const outboundSchema = ListLeadId$outboundSchema;
1836
+ }
1837
+
1838
+ /** @internal */
1839
+ export const ListLimit$inboundSchema: z.ZodType<
1840
+ ListLimit,
1841
+ z.ZodTypeDef,
1842
+ unknown
1843
+ > = z
1844
+ .union([
1845
+ z.nativeEnum(ListLimit),
1846
+ z.string().transform(catchUnrecognizedEnum),
1847
+ ]);
1848
+
1849
+ /** @internal */
1850
+ export const ListLimit$outboundSchema: z.ZodType<
1851
+ ListLimit,
1852
+ z.ZodTypeDef,
1853
+ ListLimit
1854
+ > = z.union([
1855
+ z.nativeEnum(ListLimit),
1856
+ z.string().and(z.custom<Unrecognized<string>>()),
1857
+ ]);
1858
+
1859
+ /**
1860
+ * @internal
1861
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1862
+ */
1863
+ export namespace ListLimit$ {
1864
+ /** @deprecated use `ListLimit$inboundSchema` instead. */
1865
+ export const inboundSchema = ListLimit$inboundSchema;
1866
+ /** @deprecated use `ListLimit$outboundSchema` instead. */
1867
+ export const outboundSchema = ListLimit$outboundSchema;
1868
+ }
1869
+
1870
+ /** @internal */
1871
+ export const ListLinkId$inboundSchema: z.ZodType<
1872
+ ListLinkId,
1873
+ z.ZodTypeDef,
1874
+ unknown
1875
+ > = z
1876
+ .union([
1877
+ z.nativeEnum(ListLinkId),
1878
+ z.string().transform(catchUnrecognizedEnum),
1879
+ ]);
1880
+
1881
+ /** @internal */
1882
+ export const ListLinkId$outboundSchema: z.ZodType<
1883
+ ListLinkId,
1884
+ z.ZodTypeDef,
1885
+ ListLinkId
1886
+ > = z.union([
1887
+ z.nativeEnum(ListLinkId),
1888
+ z.string().and(z.custom<Unrecognized<string>>()),
1889
+ ]);
1890
+
1891
+ /**
1892
+ * @internal
1893
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1894
+ */
1895
+ export namespace ListLinkId$ {
1896
+ /** @deprecated use `ListLinkId$inboundSchema` instead. */
1897
+ export const inboundSchema = ListLinkId$inboundSchema;
1898
+ /** @deprecated use `ListLinkId$outboundSchema` instead. */
1899
+ export const outboundSchema = ListLinkId$outboundSchema;
1900
+ }
1901
+
1902
+ /** @internal */
1903
+ export const ListListId$inboundSchema: z.ZodType<
1904
+ ListListId,
1905
+ z.ZodTypeDef,
1906
+ unknown
1907
+ > = z
1908
+ .union([
1909
+ z.nativeEnum(ListListId),
1910
+ z.string().transform(catchUnrecognizedEnum),
1911
+ ]);
1912
+
1913
+ /** @internal */
1914
+ export const ListListId$outboundSchema: z.ZodType<
1915
+ ListListId,
1916
+ z.ZodTypeDef,
1917
+ ListListId
1918
+ > = z.union([
1919
+ z.nativeEnum(ListListId),
1920
+ z.string().and(z.custom<Unrecognized<string>>()),
1921
+ ]);
1922
+
1923
+ /**
1924
+ * @internal
1925
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1926
+ */
1927
+ export namespace ListListId$ {
1928
+ /** @deprecated use `ListListId$inboundSchema` instead. */
1929
+ export const inboundSchema = ListListId$inboundSchema;
1930
+ /** @deprecated use `ListListId$outboundSchema` instead. */
1931
+ export const outboundSchema = ListListId$outboundSchema;
1932
+ }
1933
+
1934
+ /** @internal */
1935
+ export const ListLocationId$inboundSchema: z.ZodType<
1936
+ ListLocationId,
1937
+ z.ZodTypeDef,
1938
+ unknown
1939
+ > = z
1940
+ .union([
1941
+ z.nativeEnum(ListLocationId),
1942
+ z.string().transform(catchUnrecognizedEnum),
1943
+ ]);
1944
+
1945
+ /** @internal */
1946
+ export const ListLocationId$outboundSchema: z.ZodType<
1947
+ ListLocationId,
1948
+ z.ZodTypeDef,
1949
+ ListLocationId
1950
+ > = z.union([
1951
+ z.nativeEnum(ListLocationId),
1952
+ z.string().and(z.custom<Unrecognized<string>>()),
1953
+ ]);
1954
+
1955
+ /**
1956
+ * @internal
1957
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1958
+ */
1959
+ export namespace ListLocationId$ {
1960
+ /** @deprecated use `ListLocationId$inboundSchema` instead. */
1961
+ export const inboundSchema = ListLocationId$inboundSchema;
1962
+ /** @deprecated use `ListLocationId$outboundSchema` instead. */
1963
+ export const outboundSchema = ListLocationId$outboundSchema;
1964
+ }
1965
+
1966
+ /** @internal */
1967
+ export const ListOffset$inboundSchema: z.ZodType<
1968
+ ListOffset,
1969
+ z.ZodTypeDef,
1970
+ unknown
1971
+ > = z
1972
+ .union([
1973
+ z.nativeEnum(ListOffset),
1974
+ z.string().transform(catchUnrecognizedEnum),
1975
+ ]);
1976
+
1977
+ /** @internal */
1978
+ export const ListOffset$outboundSchema: z.ZodType<
1979
+ ListOffset,
1980
+ z.ZodTypeDef,
1981
+ ListOffset
1982
+ > = z.union([
1983
+ z.nativeEnum(ListOffset),
1984
+ z.string().and(z.custom<Unrecognized<string>>()),
1985
+ ]);
1986
+
1987
+ /**
1988
+ * @internal
1989
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1990
+ */
1991
+ export namespace ListOffset$ {
1992
+ /** @deprecated use `ListOffset$inboundSchema` instead. */
1993
+ export const inboundSchema = ListOffset$inboundSchema;
1994
+ /** @deprecated use `ListOffset$outboundSchema` instead. */
1995
+ export const outboundSchema = ListOffset$outboundSchema;
1996
+ }
1997
+
1998
+ /** @internal */
1999
+ export const ListOrder$inboundSchema: z.ZodType<
2000
+ ListOrder,
2001
+ z.ZodTypeDef,
2002
+ unknown
2003
+ > = z
2004
+ .union([
2005
+ z.nativeEnum(ListOrder),
2006
+ z.string().transform(catchUnrecognizedEnum),
2007
+ ]);
2008
+
2009
+ /** @internal */
2010
+ export const ListOrder$outboundSchema: z.ZodType<
2011
+ ListOrder,
2012
+ z.ZodTypeDef,
2013
+ ListOrder
2014
+ > = z.union([
2015
+ z.nativeEnum(ListOrder),
2016
+ z.string().and(z.custom<Unrecognized<string>>()),
2017
+ ]);
2018
+
2019
+ /**
2020
+ * @internal
2021
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2022
+ */
2023
+ export namespace ListOrder$ {
2024
+ /** @deprecated use `ListOrder$inboundSchema` instead. */
2025
+ export const inboundSchema = ListOrder$inboundSchema;
2026
+ /** @deprecated use `ListOrder$outboundSchema` instead. */
2027
+ export const outboundSchema = ListOrder$outboundSchema;
2028
+ }
2029
+
2030
+ /** @internal */
2031
+ export const ListOrgId$inboundSchema: z.ZodType<
2032
+ ListOrgId,
2033
+ z.ZodTypeDef,
2034
+ unknown
2035
+ > = z
2036
+ .union([
2037
+ z.nativeEnum(ListOrgId),
2038
+ z.string().transform(catchUnrecognizedEnum),
2039
+ ]);
2040
+
2041
+ /** @internal */
2042
+ export const ListOrgId$outboundSchema: z.ZodType<
2043
+ ListOrgId,
2044
+ z.ZodTypeDef,
2045
+ ListOrgId
2046
+ > = z.union([
2047
+ z.nativeEnum(ListOrgId),
2048
+ z.string().and(z.custom<Unrecognized<string>>()),
2049
+ ]);
2050
+
2051
+ /**
2052
+ * @internal
2053
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2054
+ */
2055
+ export namespace ListOrgId$ {
2056
+ /** @deprecated use `ListOrgId$inboundSchema` instead. */
2057
+ export const inboundSchema = ListOrgId$inboundSchema;
2058
+ /** @deprecated use `ListOrgId$outboundSchema` instead. */
2059
+ export const outboundSchema = ListOrgId$outboundSchema;
2060
+ }
2061
+
2062
+ /** @internal */
2063
+ export const ListPackageId$inboundSchema: z.ZodType<
2064
+ ListPackageId,
2065
+ z.ZodTypeDef,
2066
+ unknown
2067
+ > = z
2068
+ .union([
2069
+ z.nativeEnum(ListPackageId),
2070
+ z.string().transform(catchUnrecognizedEnum),
2071
+ ]);
2072
+
2073
+ /** @internal */
2074
+ export const ListPackageId$outboundSchema: z.ZodType<
2075
+ ListPackageId,
2076
+ z.ZodTypeDef,
2077
+ ListPackageId
2078
+ > = z.union([
2079
+ z.nativeEnum(ListPackageId),
2080
+ z.string().and(z.custom<Unrecognized<string>>()),
2081
+ ]);
2082
+
2083
+ /**
2084
+ * @internal
2085
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2086
+ */
2087
+ export namespace ListPackageId$ {
2088
+ /** @deprecated use `ListPackageId$inboundSchema` instead. */
2089
+ export const inboundSchema = ListPackageId$inboundSchema;
2090
+ /** @deprecated use `ListPackageId$outboundSchema` instead. */
2091
+ export const outboundSchema = ListPackageId$outboundSchema;
2092
+ }
2093
+
2094
+ /** @internal */
2095
+ export const ListPageId$inboundSchema: z.ZodType<
2096
+ ListPageId,
2097
+ z.ZodTypeDef,
2098
+ unknown
2099
+ > = z
2100
+ .union([
2101
+ z.nativeEnum(ListPageId),
2102
+ z.string().transform(catchUnrecognizedEnum),
2103
+ ]);
2104
+
2105
+ /** @internal */
2106
+ export const ListPageId$outboundSchema: z.ZodType<
2107
+ ListPageId,
2108
+ z.ZodTypeDef,
2109
+ ListPageId
2110
+ > = z.union([
2111
+ z.nativeEnum(ListPageId),
2112
+ z.string().and(z.custom<Unrecognized<string>>()),
2113
+ ]);
2114
+
2115
+ /**
2116
+ * @internal
2117
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2118
+ */
2119
+ export namespace ListPageId$ {
2120
+ /** @deprecated use `ListPageId$inboundSchema` instead. */
2121
+ export const inboundSchema = ListPageId$inboundSchema;
2122
+ /** @deprecated use `ListPageId$outboundSchema` instead. */
2123
+ export const outboundSchema = ListPageId$outboundSchema;
2124
+ }
2125
+
2126
+ /** @internal */
2127
+ export const ListParentId$inboundSchema: z.ZodType<
2128
+ ListParentId,
2129
+ z.ZodTypeDef,
2130
+ unknown
2131
+ > = z
2132
+ .union([
2133
+ z.nativeEnum(ListParentId),
2134
+ z.string().transform(catchUnrecognizedEnum),
2135
+ ]);
2136
+
2137
+ /** @internal */
2138
+ export const ListParentId$outboundSchema: z.ZodType<
2139
+ ListParentId,
2140
+ z.ZodTypeDef,
2141
+ ListParentId
2142
+ > = z.union([
2143
+ z.nativeEnum(ListParentId),
2144
+ z.string().and(z.custom<Unrecognized<string>>()),
2145
+ ]);
2146
+
2147
+ /**
2148
+ * @internal
2149
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2150
+ */
2151
+ export namespace ListParentId$ {
2152
+ /** @deprecated use `ListParentId$inboundSchema` instead. */
2153
+ export const inboundSchema = ListParentId$inboundSchema;
2154
+ /** @deprecated use `ListParentId$outboundSchema` instead. */
2155
+ export const outboundSchema = ListParentId$outboundSchema;
2156
+ }
2157
+
2158
+ /** @internal */
2159
+ export const ListPaymentId$inboundSchema: z.ZodType<
2160
+ ListPaymentId,
2161
+ z.ZodTypeDef,
2162
+ unknown
2163
+ > = z
2164
+ .union([
2165
+ z.nativeEnum(ListPaymentId),
2166
+ z.string().transform(catchUnrecognizedEnum),
2167
+ ]);
2168
+
2169
+ /** @internal */
2170
+ export const ListPaymentId$outboundSchema: z.ZodType<
2171
+ ListPaymentId,
2172
+ z.ZodTypeDef,
2173
+ ListPaymentId
2174
+ > = z.union([
2175
+ z.nativeEnum(ListPaymentId),
2176
+ z.string().and(z.custom<Unrecognized<string>>()),
2177
+ ]);
2178
+
2179
+ /**
2180
+ * @internal
2181
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2182
+ */
2183
+ export namespace ListPaymentId$ {
2184
+ /** @deprecated use `ListPaymentId$inboundSchema` instead. */
2185
+ export const inboundSchema = ListPaymentId$inboundSchema;
2186
+ /** @deprecated use `ListPaymentId$outboundSchema` instead. */
2187
+ export const outboundSchema = ListPaymentId$outboundSchema;
2188
+ }
2189
+
2190
+ /** @internal */
2191
+ export const ListPipelineId$inboundSchema: z.ZodType<
2192
+ ListPipelineId,
2193
+ z.ZodTypeDef,
2194
+ unknown
2195
+ > = z
2196
+ .union([
2197
+ z.nativeEnum(ListPipelineId),
2198
+ z.string().transform(catchUnrecognizedEnum),
2199
+ ]);
2200
+
2201
+ /** @internal */
2202
+ export const ListPipelineId$outboundSchema: z.ZodType<
2203
+ ListPipelineId,
2204
+ z.ZodTypeDef,
2205
+ ListPipelineId
2206
+ > = z.union([
2207
+ z.nativeEnum(ListPipelineId),
2208
+ z.string().and(z.custom<Unrecognized<string>>()),
2209
+ ]);
2210
+
2211
+ /**
2212
+ * @internal
2213
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2214
+ */
2215
+ export namespace ListPipelineId$ {
2216
+ /** @deprecated use `ListPipelineId$inboundSchema` instead. */
2217
+ export const inboundSchema = ListPipelineId$inboundSchema;
2218
+ /** @deprecated use `ListPipelineId$outboundSchema` instead. */
2219
+ export const outboundSchema = ListPipelineId$outboundSchema;
2220
+ }
2221
+
2222
+ /** @internal */
2223
+ export const ListProjectId$inboundSchema: z.ZodType<
2224
+ ListProjectId,
2225
+ z.ZodTypeDef,
2226
+ unknown
2227
+ > = z
2228
+ .union([
2229
+ z.nativeEnum(ListProjectId),
2230
+ z.string().transform(catchUnrecognizedEnum),
2231
+ ]);
2232
+
2233
+ /** @internal */
2234
+ export const ListProjectId$outboundSchema: z.ZodType<
2235
+ ListProjectId,
2236
+ z.ZodTypeDef,
2237
+ ListProjectId
2238
+ > = z.union([
2239
+ z.nativeEnum(ListProjectId),
2240
+ z.string().and(z.custom<Unrecognized<string>>()),
2241
+ ]);
2242
+
2243
+ /**
2244
+ * @internal
2245
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2246
+ */
2247
+ export namespace ListProjectId$ {
2248
+ /** @deprecated use `ListProjectId$inboundSchema` instead. */
2249
+ export const inboundSchema = ListProjectId$inboundSchema;
2250
+ /** @deprecated use `ListProjectId$outboundSchema` instead. */
2251
+ export const outboundSchema = ListProjectId$outboundSchema;
2252
+ }
2253
+
2254
+ /** @internal */
2255
+ export const ListQuery$inboundSchema: z.ZodType<
2256
+ ListQuery,
2257
+ z.ZodTypeDef,
2258
+ unknown
2259
+ > = z
2260
+ .union([
2261
+ z.nativeEnum(ListQuery),
2262
+ z.string().transform(catchUnrecognizedEnum),
2263
+ ]);
2264
+
2265
+ /** @internal */
2266
+ export const ListQuery$outboundSchema: z.ZodType<
2267
+ ListQuery,
2268
+ z.ZodTypeDef,
2269
+ ListQuery
2270
+ > = z.union([
2271
+ z.nativeEnum(ListQuery),
2272
+ z.string().and(z.custom<Unrecognized<string>>()),
2273
+ ]);
2274
+
2275
+ /**
2276
+ * @internal
2277
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2278
+ */
2279
+ export namespace ListQuery$ {
2280
+ /** @deprecated use `ListQuery$inboundSchema` instead. */
2281
+ export const inboundSchema = ListQuery$inboundSchema;
2282
+ /** @deprecated use `ListQuery$outboundSchema` instead. */
2283
+ export const outboundSchema = ListQuery$outboundSchema;
2284
+ }
2285
+
2286
+ /** @internal */
2287
+ export const ListRawFields$inboundSchema: z.ZodType<
2288
+ ListRawFields,
2289
+ z.ZodTypeDef,
2290
+ unknown
2291
+ > = z
2292
+ .union([
2293
+ z.nativeEnum(ListRawFields),
2294
+ z.string().transform(catchUnrecognizedEnum),
2295
+ ]);
2296
+
2297
+ /** @internal */
2298
+ export const ListRawFields$outboundSchema: z.ZodType<
2299
+ ListRawFields,
2300
+ z.ZodTypeDef,
2301
+ ListRawFields
2302
+ > = z.union([
2303
+ z.nativeEnum(ListRawFields),
2304
+ z.string().and(z.custom<Unrecognized<string>>()),
2305
+ ]);
2306
+
2307
+ /**
2308
+ * @internal
2309
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2310
+ */
2311
+ export namespace ListRawFields$ {
2312
+ /** @deprecated use `ListRawFields$inboundSchema` instead. */
2313
+ export const inboundSchema = ListRawFields$inboundSchema;
2314
+ /** @deprecated use `ListRawFields$outboundSchema` instead. */
2315
+ export const outboundSchema = ListRawFields$outboundSchema;
2316
+ }
2317
+
2318
+ /** @internal */
2319
+ export const ListRepoId$inboundSchema: z.ZodType<
2320
+ ListRepoId,
2321
+ z.ZodTypeDef,
2322
+ unknown
2323
+ > = z
2324
+ .union([
2325
+ z.nativeEnum(ListRepoId),
2326
+ z.string().transform(catchUnrecognizedEnum),
2327
+ ]);
2328
+
2329
+ /** @internal */
2330
+ export const ListRepoId$outboundSchema: z.ZodType<
2331
+ ListRepoId,
2332
+ z.ZodTypeDef,
2333
+ ListRepoId
2334
+ > = z.union([
2335
+ z.nativeEnum(ListRepoId),
2336
+ z.string().and(z.custom<Unrecognized<string>>()),
2337
+ ]);
2338
+
2339
+ /**
2340
+ * @internal
2341
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2342
+ */
2343
+ export namespace ListRepoId$ {
2344
+ /** @deprecated use `ListRepoId$inboundSchema` instead. */
2345
+ export const inboundSchema = ListRepoId$inboundSchema;
2346
+ /** @deprecated use `ListRepoId$outboundSchema` instead. */
2347
+ export const outboundSchema = ListRepoId$outboundSchema;
2348
+ }
2349
+
2350
+ /** @internal */
2351
+ export const ListRootId$inboundSchema: z.ZodType<
2352
+ ListRootId,
2353
+ z.ZodTypeDef,
2354
+ unknown
2355
+ > = z
2356
+ .union([
2357
+ z.nativeEnum(ListRootId),
2358
+ z.string().transform(catchUnrecognizedEnum),
2359
+ ]);
2360
+
2361
+ /** @internal */
2362
+ export const ListRootId$outboundSchema: z.ZodType<
2363
+ ListRootId,
2364
+ z.ZodTypeDef,
2365
+ ListRootId
2366
+ > = z.union([
2367
+ z.nativeEnum(ListRootId),
2368
+ z.string().and(z.custom<Unrecognized<string>>()),
2369
+ ]);
2370
+
2371
+ /**
2372
+ * @internal
2373
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2374
+ */
2375
+ export namespace ListRootId$ {
2376
+ /** @deprecated use `ListRootId$inboundSchema` instead. */
2377
+ export const inboundSchema = ListRootId$inboundSchema;
2378
+ /** @deprecated use `ListRootId$outboundSchema` instead. */
2379
+ export const outboundSchema = ListRootId$outboundSchema;
2380
+ }
2381
+
2382
+ /** @internal */
2383
+ export const ListSortByCreatedAt$inboundSchema: z.ZodType<
2384
+ ListSortByCreatedAt,
2385
+ z.ZodTypeDef,
2386
+ unknown
2387
+ > = z
2388
+ .union([
2389
+ z.nativeEnum(ListSortByCreatedAt),
2390
+ z.string().transform(catchUnrecognizedEnum),
2391
+ ]);
2392
+
2393
+ /** @internal */
2394
+ export const ListSortByCreatedAt$outboundSchema: z.ZodType<
2395
+ ListSortByCreatedAt,
2396
+ z.ZodTypeDef,
2397
+ ListSortByCreatedAt
2398
+ > = z.union([
2399
+ z.nativeEnum(ListSortByCreatedAt),
2400
+ z.string().and(z.custom<Unrecognized<string>>()),
2401
+ ]);
2402
+
2403
+ /**
2404
+ * @internal
2405
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2406
+ */
2407
+ export namespace ListSortByCreatedAt$ {
2408
+ /** @deprecated use `ListSortByCreatedAt$inboundSchema` instead. */
2409
+ export const inboundSchema = ListSortByCreatedAt$inboundSchema;
2410
+ /** @deprecated use `ListSortByCreatedAt$outboundSchema` instead. */
2411
+ export const outboundSchema = ListSortByCreatedAt$outboundSchema;
2412
+ }
2413
+
2414
+ /** @internal */
2415
+ export const ListSortByName$inboundSchema: z.ZodType<
2416
+ ListSortByName,
2417
+ z.ZodTypeDef,
2418
+ unknown
2419
+ > = z
2420
+ .union([
2421
+ z.nativeEnum(ListSortByName),
2422
+ z.string().transform(catchUnrecognizedEnum),
2423
+ ]);
2424
+
2425
+ /** @internal */
2426
+ export const ListSortByName$outboundSchema: z.ZodType<
2427
+ ListSortByName,
2428
+ z.ZodTypeDef,
2429
+ ListSortByName
2430
+ > = z.union([
2431
+ z.nativeEnum(ListSortByName),
2432
+ z.string().and(z.custom<Unrecognized<string>>()),
2433
+ ]);
2434
+
2435
+ /**
2436
+ * @internal
2437
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2438
+ */
2439
+ export namespace ListSortByName$ {
2440
+ /** @deprecated use `ListSortByName$inboundSchema` instead. */
2441
+ export const inboundSchema = ListSortByName$inboundSchema;
2442
+ /** @deprecated use `ListSortByName$outboundSchema` instead. */
2443
+ export const outboundSchema = ListSortByName$outboundSchema;
2444
+ }
2445
+
2446
+ /** @internal */
2447
+ export const ListSortByUpdatedAt$inboundSchema: z.ZodType<
2448
+ ListSortByUpdatedAt,
2449
+ z.ZodTypeDef,
2450
+ unknown
2451
+ > = z
2452
+ .union([
2453
+ z.nativeEnum(ListSortByUpdatedAt),
2454
+ z.string().transform(catchUnrecognizedEnum),
2455
+ ]);
2456
+
2457
+ /** @internal */
2458
+ export const ListSortByUpdatedAt$outboundSchema: z.ZodType<
2459
+ ListSortByUpdatedAt,
2460
+ z.ZodTypeDef,
2461
+ ListSortByUpdatedAt
2462
+ > = z.union([
2463
+ z.nativeEnum(ListSortByUpdatedAt),
2464
+ z.string().and(z.custom<Unrecognized<string>>()),
2465
+ ]);
2466
+
2467
+ /**
2468
+ * @internal
2469
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2470
+ */
2471
+ export namespace ListSortByUpdatedAt$ {
2472
+ /** @deprecated use `ListSortByUpdatedAt$inboundSchema` instead. */
2473
+ export const inboundSchema = ListSortByUpdatedAt$inboundSchema;
2474
+ /** @deprecated use `ListSortByUpdatedAt$outboundSchema` instead. */
2475
+ export const outboundSchema = ListSortByUpdatedAt$outboundSchema;
2476
+ }
2477
+
2478
+ /** @internal */
2479
+ export const ListSpaceId$inboundSchema: z.ZodType<
2480
+ ListSpaceId,
2481
+ z.ZodTypeDef,
2482
+ unknown
2483
+ > = z
2484
+ .union([
2485
+ z.nativeEnum(ListSpaceId),
2486
+ z.string().transform(catchUnrecognizedEnum),
2487
+ ]);
2488
+
2489
+ /** @internal */
2490
+ export const ListSpaceId$outboundSchema: z.ZodType<
2491
+ ListSpaceId,
2492
+ z.ZodTypeDef,
2493
+ ListSpaceId
2494
+ > = z.union([
2495
+ z.nativeEnum(ListSpaceId),
2496
+ z.string().and(z.custom<Unrecognized<string>>()),
2497
+ ]);
2498
+
2499
+ /**
2500
+ * @internal
2501
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2502
+ */
2503
+ export namespace ListSpaceId$ {
2504
+ /** @deprecated use `ListSpaceId$inboundSchema` instead. */
2505
+ export const inboundSchema = ListSpaceId$inboundSchema;
2506
+ /** @deprecated use `ListSpaceId$outboundSchema` instead. */
2507
+ export const outboundSchema = ListSpaceId$outboundSchema;
2508
+ }
2509
+
2510
+ /** @internal */
2511
+ export const ListStartGte$inboundSchema: z.ZodType<
2512
+ ListStartGte,
2513
+ z.ZodTypeDef,
2514
+ unknown
2515
+ > = z
2516
+ .union([
2517
+ z.nativeEnum(ListStartGte),
2518
+ z.string().transform(catchUnrecognizedEnum),
2519
+ ]);
2520
+
2521
+ /** @internal */
2522
+ export const ListStartGte$outboundSchema: z.ZodType<
2523
+ ListStartGte,
2524
+ z.ZodTypeDef,
2525
+ ListStartGte
2526
+ > = z.union([
2527
+ z.nativeEnum(ListStartGte),
2528
+ z.string().and(z.custom<Unrecognized<string>>()),
2529
+ ]);
2530
+
2531
+ /**
2532
+ * @internal
2533
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2534
+ */
2535
+ export namespace ListStartGte$ {
2536
+ /** @deprecated use `ListStartGte$inboundSchema` instead. */
2537
+ export const inboundSchema = ListStartGte$inboundSchema;
2538
+ /** @deprecated use `ListStartGte$outboundSchema` instead. */
2539
+ export const outboundSchema = ListStartGte$outboundSchema;
2540
+ }
2541
+
2542
+ /** @internal */
2543
+ export const ListStatus$inboundSchema: z.ZodType<
2544
+ ListStatus,
2545
+ z.ZodTypeDef,
2546
+ unknown
2547
+ > = z
2548
+ .union([
2549
+ z.nativeEnum(ListStatus),
2550
+ z.string().transform(catchUnrecognizedEnum),
2551
+ ]);
2552
+
2553
+ /** @internal */
2554
+ export const ListStatus$outboundSchema: z.ZodType<
2555
+ ListStatus,
2556
+ z.ZodTypeDef,
2557
+ ListStatus
2558
+ > = z.union([
2559
+ z.nativeEnum(ListStatus),
2560
+ z.string().and(z.custom<Unrecognized<string>>()),
2561
+ ]);
2562
+
2563
+ /**
2564
+ * @internal
2565
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2566
+ */
2567
+ export namespace ListStatus$ {
2568
+ /** @deprecated use `ListStatus$inboundSchema` instead. */
2569
+ export const inboundSchema = ListStatus$inboundSchema;
2570
+ /** @deprecated use `ListStatus$outboundSchema` instead. */
2571
+ export const outboundSchema = ListStatus$outboundSchema;
2572
+ }
2573
+
2574
+ /** @internal */
2575
+ export const ListStudentId$inboundSchema: z.ZodType<
2576
+ ListStudentId,
2577
+ z.ZodTypeDef,
2578
+ unknown
2579
+ > = z
2580
+ .union([
2581
+ z.nativeEnum(ListStudentId),
2582
+ z.string().transform(catchUnrecognizedEnum),
2583
+ ]);
2584
+
2585
+ /** @internal */
2586
+ export const ListStudentId$outboundSchema: z.ZodType<
2587
+ ListStudentId,
2588
+ z.ZodTypeDef,
2589
+ ListStudentId
2590
+ > = z.union([
2591
+ z.nativeEnum(ListStudentId),
2592
+ z.string().and(z.custom<Unrecognized<string>>()),
2593
+ ]);
2594
+
2595
+ /**
2596
+ * @internal
2597
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2598
+ */
2599
+ export namespace ListStudentId$ {
2600
+ /** @deprecated use `ListStudentId$inboundSchema` instead. */
2601
+ export const inboundSchema = ListStudentId$inboundSchema;
2602
+ /** @deprecated use `ListStudentId$outboundSchema` instead. */
2603
+ export const outboundSchema = ListStudentId$outboundSchema;
2604
+ }
2605
+
2606
+ /** @internal */
2607
+ export const ListTaskId$inboundSchema: z.ZodType<
2608
+ ListTaskId,
2609
+ z.ZodTypeDef,
2610
+ unknown
2611
+ > = z
2612
+ .union([
2613
+ z.nativeEnum(ListTaskId),
2614
+ z.string().transform(catchUnrecognizedEnum),
2615
+ ]);
2616
+
2617
+ /** @internal */
2618
+ export const ListTaskId$outboundSchema: z.ZodType<
2619
+ ListTaskId,
2620
+ z.ZodTypeDef,
2621
+ ListTaskId
2622
+ > = z.union([
2623
+ z.nativeEnum(ListTaskId),
2624
+ z.string().and(z.custom<Unrecognized<string>>()),
2625
+ ]);
2626
+
2627
+ /**
2628
+ * @internal
2629
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2630
+ */
2631
+ export namespace ListTaskId$ {
2632
+ /** @deprecated use `ListTaskId$inboundSchema` instead. */
2633
+ export const inboundSchema = ListTaskId$inboundSchema;
2634
+ /** @deprecated use `ListTaskId$outboundSchema` instead. */
2635
+ export const outboundSchema = ListTaskId$outboundSchema;
2636
+ }
2637
+
2638
+ /** @internal */
2639
+ export const ListTeacherId$inboundSchema: z.ZodType<
2640
+ ListTeacherId,
2641
+ z.ZodTypeDef,
2642
+ unknown
2643
+ > = z
2644
+ .union([
2645
+ z.nativeEnum(ListTeacherId),
2646
+ z.string().transform(catchUnrecognizedEnum),
2647
+ ]);
2648
+
2649
+ /** @internal */
2650
+ export const ListTeacherId$outboundSchema: z.ZodType<
2651
+ ListTeacherId,
2652
+ z.ZodTypeDef,
2653
+ ListTeacherId
2654
+ > = z.union([
2655
+ z.nativeEnum(ListTeacherId),
2656
+ z.string().and(z.custom<Unrecognized<string>>()),
2657
+ ]);
2658
+
2659
+ /**
2660
+ * @internal
2661
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2662
+ */
2663
+ export namespace ListTeacherId$ {
2664
+ /** @deprecated use `ListTeacherId$inboundSchema` instead. */
2665
+ export const inboundSchema = ListTeacherId$inboundSchema;
2666
+ /** @deprecated use `ListTeacherId$outboundSchema` instead. */
2667
+ export const outboundSchema = ListTeacherId$outboundSchema;
2668
+ }
2669
+
2670
+ /** @internal */
2671
+ export const ListTicketId$inboundSchema: z.ZodType<
2672
+ ListTicketId,
2673
+ z.ZodTypeDef,
2674
+ unknown
2675
+ > = z
2676
+ .union([
2677
+ z.nativeEnum(ListTicketId),
2678
+ z.string().transform(catchUnrecognizedEnum),
2679
+ ]);
2680
+
2681
+ /** @internal */
2682
+ export const ListTicketId$outboundSchema: z.ZodType<
2683
+ ListTicketId,
2684
+ z.ZodTypeDef,
2685
+ ListTicketId
2686
+ > = z.union([
2687
+ z.nativeEnum(ListTicketId),
2688
+ z.string().and(z.custom<Unrecognized<string>>()),
2689
+ ]);
2690
+
2691
+ /**
2692
+ * @internal
2693
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2694
+ */
2695
+ export namespace ListTicketId$ {
2696
+ /** @deprecated use `ListTicketId$inboundSchema` instead. */
2697
+ export const inboundSchema = ListTicketId$inboundSchema;
2698
+ /** @deprecated use `ListTicketId$outboundSchema` instead. */
2699
+ export const outboundSchema = ListTicketId$outboundSchema;
2700
+ }
2701
+
2702
+ /** @internal */
2703
+ export const ListType$inboundSchema: z.ZodType<
2704
+ ListType,
2705
+ z.ZodTypeDef,
2706
+ unknown
2707
+ > = z
2708
+ .union([
2709
+ z.nativeEnum(ListType),
2710
+ z.string().transform(catchUnrecognizedEnum),
2711
+ ]);
2712
+
2713
+ /** @internal */
2714
+ export const ListType$outboundSchema: z.ZodType<
2715
+ ListType,
2716
+ z.ZodTypeDef,
2717
+ ListType
2718
+ > = z.union([
2719
+ z.nativeEnum(ListType),
2720
+ z.string().and(z.custom<Unrecognized<string>>()),
2721
+ ]);
2722
+
2723
+ /**
2724
+ * @internal
2725
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2726
+ */
2727
+ export namespace ListType$ {
2728
+ /** @deprecated use `ListType$inboundSchema` instead. */
2729
+ export const inboundSchema = ListType$inboundSchema;
2730
+ /** @deprecated use `ListType$outboundSchema` instead. */
2731
+ export const outboundSchema = ListType$outboundSchema;
2732
+ }
2733
+
2734
+ /** @internal */
2735
+ export const ListUpdatedGte$inboundSchema: z.ZodType<
2736
+ ListUpdatedGte,
2737
+ z.ZodTypeDef,
2738
+ unknown
2739
+ > = z
2740
+ .union([
2741
+ z.nativeEnum(ListUpdatedGte),
2742
+ z.string().transform(catchUnrecognizedEnum),
2743
+ ]);
2744
+
2745
+ /** @internal */
2746
+ export const ListUpdatedGte$outboundSchema: z.ZodType<
2747
+ ListUpdatedGte,
2748
+ z.ZodTypeDef,
2749
+ ListUpdatedGte
2750
+ > = z.union([
2751
+ z.nativeEnum(ListUpdatedGte),
2752
+ z.string().and(z.custom<Unrecognized<string>>()),
2753
+ ]);
2754
+
2755
+ /**
2756
+ * @internal
2757
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2758
+ */
2759
+ export namespace ListUpdatedGte$ {
2760
+ /** @deprecated use `ListUpdatedGte$inboundSchema` instead. */
2761
+ export const inboundSchema = ListUpdatedGte$inboundSchema;
2762
+ /** @deprecated use `ListUpdatedGte$outboundSchema` instead. */
2763
+ export const outboundSchema = ListUpdatedGte$outboundSchema;
2764
+ }
2765
+
2766
+ /** @internal */
2767
+ export const ListUserId$inboundSchema: z.ZodType<
2768
+ ListUserId,
2769
+ z.ZodTypeDef,
2770
+ unknown
2771
+ > = z
2772
+ .union([
2773
+ z.nativeEnum(ListUserId),
2774
+ z.string().transform(catchUnrecognizedEnum),
2775
+ ]);
2776
+
2777
+ /** @internal */
2778
+ export const ListUserId$outboundSchema: z.ZodType<
2779
+ ListUserId,
2780
+ z.ZodTypeDef,
2781
+ ListUserId
2782
+ > = z.union([
2783
+ z.nativeEnum(ListUserId),
2784
+ z.string().and(z.custom<Unrecognized<string>>()),
2785
+ ]);
2786
+
2787
+ /**
2788
+ * @internal
2789
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2790
+ */
2791
+ export namespace ListUserId$ {
2792
+ /** @deprecated use `ListUserId$inboundSchema` instead. */
2793
+ export const inboundSchema = ListUserId$inboundSchema;
2794
+ /** @deprecated use `ListUserId$outboundSchema` instead. */
2795
+ export const outboundSchema = ListUserId$outboundSchema;
2796
+ }
2797
+
2798
+ /** @internal */
2799
+ export const NativeWebhookCalendarId$inboundSchema: z.ZodType<
2800
+ NativeWebhookCalendarId,
2801
+ z.ZodTypeDef,
2802
+ unknown
2803
+ > = z
2804
+ .union([
2805
+ z.nativeEnum(NativeWebhookCalendarId),
2806
+ z.string().transform(catchUnrecognizedEnum),
2807
+ ]);
2808
+
2809
+ /** @internal */
2810
+ export const NativeWebhookCalendarId$outboundSchema: z.ZodType<
2811
+ NativeWebhookCalendarId,
2812
+ z.ZodTypeDef,
2813
+ NativeWebhookCalendarId
2814
+ > = z.union([
2815
+ z.nativeEnum(NativeWebhookCalendarId),
2816
+ z.string().and(z.custom<Unrecognized<string>>()),
2817
+ ]);
2818
+
2819
+ /**
2820
+ * @internal
2821
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2822
+ */
2823
+ export namespace NativeWebhookCalendarId$ {
2824
+ /** @deprecated use `NativeWebhookCalendarId$inboundSchema` instead. */
2825
+ export const inboundSchema = NativeWebhookCalendarId$inboundSchema;
2826
+ /** @deprecated use `NativeWebhookCalendarId$outboundSchema` instead. */
2827
+ export const outboundSchema = NativeWebhookCalendarId$outboundSchema;
2828
+ }
2829
+
2830
+ /** @internal */
2831
+ export const NativeWebhookChannelId$inboundSchema: z.ZodType<
2832
+ NativeWebhookChannelId,
2833
+ z.ZodTypeDef,
2834
+ unknown
2835
+ > = z
2836
+ .union([
2837
+ z.nativeEnum(NativeWebhookChannelId),
2838
+ z.string().transform(catchUnrecognizedEnum),
2839
+ ]);
2840
+
2841
+ /** @internal */
2842
+ export const NativeWebhookChannelId$outboundSchema: z.ZodType<
2843
+ NativeWebhookChannelId,
2844
+ z.ZodTypeDef,
2845
+ NativeWebhookChannelId
2846
+ > = z.union([
2847
+ z.nativeEnum(NativeWebhookChannelId),
2848
+ z.string().and(z.custom<Unrecognized<string>>()),
2849
+ ]);
2850
+
2851
+ /**
2852
+ * @internal
2853
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2854
+ */
2855
+ export namespace NativeWebhookChannelId$ {
2856
+ /** @deprecated use `NativeWebhookChannelId$inboundSchema` instead. */
2857
+ export const inboundSchema = NativeWebhookChannelId$inboundSchema;
2858
+ /** @deprecated use `NativeWebhookChannelId$outboundSchema` instead. */
2859
+ export const outboundSchema = NativeWebhookChannelId$outboundSchema;
2860
+ }
2861
+
2862
+ /** @internal */
2863
+ export const NativeWebhookCompanyId$inboundSchema: z.ZodType<
2864
+ NativeWebhookCompanyId,
2865
+ z.ZodTypeDef,
2866
+ unknown
2867
+ > = z
2868
+ .union([
2869
+ z.nativeEnum(NativeWebhookCompanyId),
2870
+ z.string().transform(catchUnrecognizedEnum),
2871
+ ]);
2872
+
2873
+ /** @internal */
2874
+ export const NativeWebhookCompanyId$outboundSchema: z.ZodType<
2875
+ NativeWebhookCompanyId,
2876
+ z.ZodTypeDef,
2877
+ NativeWebhookCompanyId
2878
+ > = z.union([
2879
+ z.nativeEnum(NativeWebhookCompanyId),
2880
+ z.string().and(z.custom<Unrecognized<string>>()),
2881
+ ]);
2882
+
2883
+ /**
2884
+ * @internal
2885
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2886
+ */
2887
+ export namespace NativeWebhookCompanyId$ {
2888
+ /** @deprecated use `NativeWebhookCompanyId$inboundSchema` instead. */
2889
+ export const inboundSchema = NativeWebhookCompanyId$inboundSchema;
2890
+ /** @deprecated use `NativeWebhookCompanyId$outboundSchema` instead. */
2891
+ export const outboundSchema = NativeWebhookCompanyId$outboundSchema;
2892
+ }
2893
+
2894
+ /** @internal */
2895
+ export const NativeWebhookEventId$inboundSchema: z.ZodType<
2896
+ NativeWebhookEventId,
2897
+ z.ZodTypeDef,
2898
+ unknown
2899
+ > = z
2900
+ .union([
2901
+ z.nativeEnum(NativeWebhookEventId),
2902
+ z.string().transform(catchUnrecognizedEnum),
2903
+ ]);
2904
+
2905
+ /** @internal */
2906
+ export const NativeWebhookEventId$outboundSchema: z.ZodType<
2907
+ NativeWebhookEventId,
2908
+ z.ZodTypeDef,
2909
+ NativeWebhookEventId
2910
+ > = z.union([
2911
+ z.nativeEnum(NativeWebhookEventId),
2912
+ z.string().and(z.custom<Unrecognized<string>>()),
2913
+ ]);
2914
+
2915
+ /**
2916
+ * @internal
2917
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2918
+ */
2919
+ export namespace NativeWebhookEventId$ {
2920
+ /** @deprecated use `NativeWebhookEventId$inboundSchema` instead. */
2921
+ export const inboundSchema = NativeWebhookEventId$inboundSchema;
2922
+ /** @deprecated use `NativeWebhookEventId$outboundSchema` instead. */
2923
+ export const outboundSchema = NativeWebhookEventId$outboundSchema;
2924
+ }
2925
+
2926
+ /** @internal */
2927
+ export const NativeWebhookParentId$inboundSchema: z.ZodType<
2928
+ NativeWebhookParentId,
2929
+ z.ZodTypeDef,
2930
+ unknown
2931
+ > = z
2932
+ .union([
2933
+ z.nativeEnum(NativeWebhookParentId),
2934
+ z.string().transform(catchUnrecognizedEnum),
2935
+ ]);
2936
+
2937
+ /** @internal */
2938
+ export const NativeWebhookParentId$outboundSchema: z.ZodType<
2939
+ NativeWebhookParentId,
2940
+ z.ZodTypeDef,
2941
+ NativeWebhookParentId
2942
+ > = z.union([
2943
+ z.nativeEnum(NativeWebhookParentId),
2944
+ z.string().and(z.custom<Unrecognized<string>>()),
2945
+ ]);
2946
+
2947
+ /**
2948
+ * @internal
2949
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2950
+ */
2951
+ export namespace NativeWebhookParentId$ {
2952
+ /** @deprecated use `NativeWebhookParentId$inboundSchema` instead. */
2953
+ export const inboundSchema = NativeWebhookParentId$inboundSchema;
2954
+ /** @deprecated use `NativeWebhookParentId$outboundSchema` instead. */
2955
+ export const outboundSchema = NativeWebhookParentId$outboundSchema;
2956
+ }
2957
+
2958
+ /** @internal */
2959
+ export const NativeWebhookProjectId$inboundSchema: z.ZodType<
2960
+ NativeWebhookProjectId,
2961
+ z.ZodTypeDef,
2962
+ unknown
2963
+ > = z
2964
+ .union([
2965
+ z.nativeEnum(NativeWebhookProjectId),
2966
+ z.string().transform(catchUnrecognizedEnum),
2967
+ ]);
2968
+
2969
+ /** @internal */
2970
+ export const NativeWebhookProjectId$outboundSchema: z.ZodType<
2971
+ NativeWebhookProjectId,
2972
+ z.ZodTypeDef,
2973
+ NativeWebhookProjectId
2974
+ > = z.union([
2975
+ z.nativeEnum(NativeWebhookProjectId),
2976
+ z.string().and(z.custom<Unrecognized<string>>()),
2977
+ ]);
2978
+
2979
+ /**
2980
+ * @internal
2981
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2982
+ */
2983
+ export namespace NativeWebhookProjectId$ {
2984
+ /** @deprecated use `NativeWebhookProjectId$inboundSchema` instead. */
2985
+ export const inboundSchema = NativeWebhookProjectId$inboundSchema;
2986
+ /** @deprecated use `NativeWebhookProjectId$outboundSchema` instead. */
2987
+ export const outboundSchema = NativeWebhookProjectId$outboundSchema;
2988
+ }
2989
+
2990
+ /** @internal */
2991
+ export const NativeWebhookTaskId$inboundSchema: z.ZodType<
2992
+ NativeWebhookTaskId,
2993
+ z.ZodTypeDef,
2994
+ unknown
2995
+ > = z
2996
+ .union([
2997
+ z.nativeEnum(NativeWebhookTaskId),
2998
+ z.string().transform(catchUnrecognizedEnum),
2999
+ ]);
3000
+
3001
+ /** @internal */
3002
+ export const NativeWebhookTaskId$outboundSchema: z.ZodType<
3003
+ NativeWebhookTaskId,
3004
+ z.ZodTypeDef,
3005
+ NativeWebhookTaskId
3006
+ > = z.union([
3007
+ z.nativeEnum(NativeWebhookTaskId),
3008
+ z.string().and(z.custom<Unrecognized<string>>()),
3009
+ ]);
3010
+
3011
+ /**
3012
+ * @internal
3013
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3014
+ */
3015
+ export namespace NativeWebhookTaskId$ {
3016
+ /** @deprecated use `NativeWebhookTaskId$inboundSchema` instead. */
3017
+ export const inboundSchema = NativeWebhookTaskId$inboundSchema;
3018
+ /** @deprecated use `NativeWebhookTaskId$outboundSchema` instead. */
3019
+ export const outboundSchema = NativeWebhookTaskId$outboundSchema;
3020
+ }
3021
+
3022
+ /** @internal */
3023
+ export const SearchDomain$inboundSchema: z.ZodType<
3024
+ SearchDomain,
3025
+ z.ZodTypeDef,
3026
+ unknown
3027
+ > = z
3028
+ .union([
3029
+ z.nativeEnum(SearchDomain),
3030
+ z.string().transform(catchUnrecognizedEnum),
3031
+ ]);
3032
+
3033
+ /** @internal */
3034
+ export const SearchDomain$outboundSchema: z.ZodType<
3035
+ SearchDomain,
3036
+ z.ZodTypeDef,
3037
+ SearchDomain
3038
+ > = z.union([
3039
+ z.nativeEnum(SearchDomain),
3040
+ z.string().and(z.custom<Unrecognized<string>>()),
3041
+ ]);
3042
+
3043
+ /**
3044
+ * @internal
3045
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3046
+ */
3047
+ export namespace SearchDomain$ {
3048
+ /** @deprecated use `SearchDomain$inboundSchema` instead. */
3049
+ export const inboundSchema = SearchDomain$inboundSchema;
3050
+ /** @deprecated use `SearchDomain$outboundSchema` instead. */
3051
+ export const outboundSchema = SearchDomain$outboundSchema;
3052
+ }
3053
+
3054
+ /** @internal */
3055
+ export const SearchEmail$inboundSchema: z.ZodType<
3056
+ SearchEmail,
3057
+ z.ZodTypeDef,
3058
+ unknown
3059
+ > = z
3060
+ .union([
3061
+ z.nativeEnum(SearchEmail),
3062
+ z.string().transform(catchUnrecognizedEnum),
3063
+ ]);
3064
+
3065
+ /** @internal */
3066
+ export const SearchEmail$outboundSchema: z.ZodType<
3067
+ SearchEmail,
3068
+ z.ZodTypeDef,
3069
+ SearchEmail
3070
+ > = z.union([
3071
+ z.nativeEnum(SearchEmail),
3072
+ z.string().and(z.custom<Unrecognized<string>>()),
3073
+ ]);
3074
+
3075
+ /**
3076
+ * @internal
3077
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3078
+ */
3079
+ export namespace SearchEmail$ {
3080
+ /** @deprecated use `SearchEmail$inboundSchema` instead. */
3081
+ export const inboundSchema = SearchEmail$inboundSchema;
3082
+ /** @deprecated use `SearchEmail$outboundSchema` instead. */
3083
+ export const outboundSchema = SearchEmail$outboundSchema;
3084
+ }
3085
+
3086
+ /** @internal */
3087
+ export const SearchLinkedinurl$inboundSchema: z.ZodType<
3088
+ SearchLinkedinurl,
3089
+ z.ZodTypeDef,
3090
+ unknown
3091
+ > = z
3092
+ .union([
3093
+ z.nativeEnum(SearchLinkedinurl),
3094
+ z.string().transform(catchUnrecognizedEnum),
3095
+ ]);
3096
+
3097
+ /** @internal */
3098
+ export const SearchLinkedinurl$outboundSchema: z.ZodType<
3099
+ SearchLinkedinurl,
3100
+ z.ZodTypeDef,
3101
+ SearchLinkedinurl
3102
+ > = z.union([
3103
+ z.nativeEnum(SearchLinkedinurl),
3104
+ z.string().and(z.custom<Unrecognized<string>>()),
3105
+ ]);
3106
+
3107
+ /**
3108
+ * @internal
3109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3110
+ */
3111
+ export namespace SearchLinkedinurl$ {
3112
+ /** @deprecated use `SearchLinkedinurl$inboundSchema` instead. */
3113
+ export const inboundSchema = SearchLinkedinurl$inboundSchema;
3114
+ /** @deprecated use `SearchLinkedinurl$outboundSchema` instead. */
3115
+ export const outboundSchema = SearchLinkedinurl$outboundSchema;
3116
+ }
3117
+
3118
+ /** @internal */
3119
+ export const SearchName$inboundSchema: z.ZodType<
3120
+ SearchName,
3121
+ z.ZodTypeDef,
3122
+ unknown
3123
+ > = z
3124
+ .union([
3125
+ z.nativeEnum(SearchName),
3126
+ z.string().transform(catchUnrecognizedEnum),
3127
+ ]);
3128
+
3129
+ /** @internal */
3130
+ export const SearchName$outboundSchema: z.ZodType<
3131
+ SearchName,
3132
+ z.ZodTypeDef,
3133
+ SearchName
3134
+ > = z.union([
3135
+ z.nativeEnum(SearchName),
3136
+ z.string().and(z.custom<Unrecognized<string>>()),
3137
+ ]);
3138
+
3139
+ /**
3140
+ * @internal
3141
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3142
+ */
3143
+ export namespace SearchName$ {
3144
+ /** @deprecated use `SearchName$inboundSchema` instead. */
3145
+ export const inboundSchema = SearchName$inboundSchema;
3146
+ /** @deprecated use `SearchName$outboundSchema` instead. */
3147
+ export const outboundSchema = SearchName$outboundSchema;
3148
+ }
3149
+
3150
+ /** @internal */
3151
+ export const SearchTwitter$inboundSchema: z.ZodType<
3152
+ SearchTwitter,
3153
+ z.ZodTypeDef,
3154
+ unknown
3155
+ > = z
3156
+ .union([
3157
+ z.nativeEnum(SearchTwitter),
3158
+ z.string().transform(catchUnrecognizedEnum),
3159
+ ]);
3160
+
3161
+ /** @internal */
3162
+ export const SearchTwitter$outboundSchema: z.ZodType<
3163
+ SearchTwitter,
3164
+ z.ZodTypeDef,
3165
+ SearchTwitter
3166
+ > = z.union([
3167
+ z.nativeEnum(SearchTwitter),
3168
+ z.string().and(z.custom<Unrecognized<string>>()),
3169
+ ]);
3170
+
3171
+ /**
3172
+ * @internal
3173
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3174
+ */
3175
+ export namespace SearchTwitter$ {
3176
+ /** @deprecated use `SearchTwitter$inboundSchema` instead. */
3177
+ export const inboundSchema = SearchTwitter$inboundSchema;
3178
+ /** @deprecated use `SearchTwitter$outboundSchema` instead. */
3179
+ export const outboundSchema = SearchTwitter$outboundSchema;
3180
+ }
3181
+
3182
+ /** @internal */
3183
+ export const VirtualWebhookApplicationId$inboundSchema: z.ZodType<
3184
+ VirtualWebhookApplicationId,
3185
+ z.ZodTypeDef,
3186
+ unknown
3187
+ > = z
3188
+ .union([
3189
+ z.nativeEnum(VirtualWebhookApplicationId),
3190
+ z.string().transform(catchUnrecognizedEnum),
3191
+ ]);
3192
+
3193
+ /** @internal */
3194
+ export const VirtualWebhookApplicationId$outboundSchema: z.ZodType<
3195
+ VirtualWebhookApplicationId,
3196
+ z.ZodTypeDef,
3197
+ VirtualWebhookApplicationId
3198
+ > = z.union([
3199
+ z.nativeEnum(VirtualWebhookApplicationId),
3200
+ z.string().and(z.custom<Unrecognized<string>>()),
3201
+ ]);
3202
+
3203
+ /**
3204
+ * @internal
3205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3206
+ */
3207
+ export namespace VirtualWebhookApplicationId$ {
3208
+ /** @deprecated use `VirtualWebhookApplicationId$inboundSchema` instead. */
3209
+ export const inboundSchema = VirtualWebhookApplicationId$inboundSchema;
3210
+ /** @deprecated use `VirtualWebhookApplicationId$outboundSchema` instead. */
3211
+ export const outboundSchema = VirtualWebhookApplicationId$outboundSchema;
3212
+ }
3213
+
3214
+ /** @internal */
3215
+ export const VirtualWebhookBranchId$inboundSchema: z.ZodType<
3216
+ VirtualWebhookBranchId,
3217
+ z.ZodTypeDef,
3218
+ unknown
3219
+ > = z
3220
+ .union([
3221
+ z.nativeEnum(VirtualWebhookBranchId),
3222
+ z.string().transform(catchUnrecognizedEnum),
3223
+ ]);
3224
+
3225
+ /** @internal */
3226
+ export const VirtualWebhookBranchId$outboundSchema: z.ZodType<
3227
+ VirtualWebhookBranchId,
3228
+ z.ZodTypeDef,
3229
+ VirtualWebhookBranchId
3230
+ > = z.union([
3231
+ z.nativeEnum(VirtualWebhookBranchId),
3232
+ z.string().and(z.custom<Unrecognized<string>>()),
3233
+ ]);
3234
+
3235
+ /**
3236
+ * @internal
3237
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3238
+ */
3239
+ export namespace VirtualWebhookBranchId$ {
3240
+ /** @deprecated use `VirtualWebhookBranchId$inboundSchema` instead. */
3241
+ export const inboundSchema = VirtualWebhookBranchId$inboundSchema;
3242
+ /** @deprecated use `VirtualWebhookBranchId$outboundSchema` instead. */
3243
+ export const outboundSchema = VirtualWebhookBranchId$outboundSchema;
3244
+ }
3245
+
3246
+ /** @internal */
3247
+ export const VirtualWebhookCalendarId$inboundSchema: z.ZodType<
3248
+ VirtualWebhookCalendarId,
3249
+ z.ZodTypeDef,
3250
+ unknown
3251
+ > = z
3252
+ .union([
3253
+ z.nativeEnum(VirtualWebhookCalendarId),
3254
+ z.string().transform(catchUnrecognizedEnum),
3255
+ ]);
3256
+
3257
+ /** @internal */
3258
+ export const VirtualWebhookCalendarId$outboundSchema: z.ZodType<
3259
+ VirtualWebhookCalendarId,
3260
+ z.ZodTypeDef,
3261
+ VirtualWebhookCalendarId
3262
+ > = z.union([
3263
+ z.nativeEnum(VirtualWebhookCalendarId),
3264
+ z.string().and(z.custom<Unrecognized<string>>()),
3265
+ ]);
3266
+
3267
+ /**
3268
+ * @internal
3269
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3270
+ */
3271
+ export namespace VirtualWebhookCalendarId$ {
3272
+ /** @deprecated use `VirtualWebhookCalendarId$inboundSchema` instead. */
3273
+ export const inboundSchema = VirtualWebhookCalendarId$inboundSchema;
3274
+ /** @deprecated use `VirtualWebhookCalendarId$outboundSchema` instead. */
3275
+ export const outboundSchema = VirtualWebhookCalendarId$outboundSchema;
3276
+ }
3277
+
3278
+ /** @internal */
3279
+ export const VirtualWebhookCallId$inboundSchema: z.ZodType<
3280
+ VirtualWebhookCallId,
3281
+ z.ZodTypeDef,
3282
+ unknown
3283
+ > = z
3284
+ .union([
3285
+ z.nativeEnum(VirtualWebhookCallId),
3286
+ z.string().transform(catchUnrecognizedEnum),
3287
+ ]);
3288
+
3289
+ /** @internal */
3290
+ export const VirtualWebhookCallId$outboundSchema: z.ZodType<
3291
+ VirtualWebhookCallId,
3292
+ z.ZodTypeDef,
3293
+ VirtualWebhookCallId
3294
+ > = z.union([
3295
+ z.nativeEnum(VirtualWebhookCallId),
3296
+ z.string().and(z.custom<Unrecognized<string>>()),
3297
+ ]);
3298
+
3299
+ /**
3300
+ * @internal
3301
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3302
+ */
3303
+ export namespace VirtualWebhookCallId$ {
3304
+ /** @deprecated use `VirtualWebhookCallId$inboundSchema` instead. */
3305
+ export const inboundSchema = VirtualWebhookCallId$inboundSchema;
3306
+ /** @deprecated use `VirtualWebhookCallId$outboundSchema` instead. */
3307
+ export const outboundSchema = VirtualWebhookCallId$outboundSchema;
3308
+ }
3309
+
3310
+ /** @internal */
3311
+ export const VirtualWebhookCandidateId$inboundSchema: z.ZodType<
3312
+ VirtualWebhookCandidateId,
3313
+ z.ZodTypeDef,
3314
+ unknown
3315
+ > = z
3316
+ .union([
3317
+ z.nativeEnum(VirtualWebhookCandidateId),
3318
+ z.string().transform(catchUnrecognizedEnum),
3319
+ ]);
3320
+
3321
+ /** @internal */
3322
+ export const VirtualWebhookCandidateId$outboundSchema: z.ZodType<
3323
+ VirtualWebhookCandidateId,
3324
+ z.ZodTypeDef,
3325
+ VirtualWebhookCandidateId
3326
+ > = z.union([
3327
+ z.nativeEnum(VirtualWebhookCandidateId),
3328
+ z.string().and(z.custom<Unrecognized<string>>()),
3329
+ ]);
3330
+
3331
+ /**
3332
+ * @internal
3333
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3334
+ */
3335
+ export namespace VirtualWebhookCandidateId$ {
3336
+ /** @deprecated use `VirtualWebhookCandidateId$inboundSchema` instead. */
3337
+ export const inboundSchema = VirtualWebhookCandidateId$inboundSchema;
3338
+ /** @deprecated use `VirtualWebhookCandidateId$outboundSchema` instead. */
3339
+ export const outboundSchema = VirtualWebhookCandidateId$outboundSchema;
3340
+ }
3341
+
3342
+ /** @internal */
3343
+ export const VirtualWebhookChannelId$inboundSchema: z.ZodType<
3344
+ VirtualWebhookChannelId,
3345
+ z.ZodTypeDef,
3346
+ unknown
3347
+ > = z
3348
+ .union([
3349
+ z.nativeEnum(VirtualWebhookChannelId),
3350
+ z.string().transform(catchUnrecognizedEnum),
3351
+ ]);
3352
+
3353
+ /** @internal */
3354
+ export const VirtualWebhookChannelId$outboundSchema: z.ZodType<
3355
+ VirtualWebhookChannelId,
3356
+ z.ZodTypeDef,
3357
+ VirtualWebhookChannelId
3358
+ > = z.union([
3359
+ z.nativeEnum(VirtualWebhookChannelId),
3360
+ z.string().and(z.custom<Unrecognized<string>>()),
3361
+ ]);
3362
+
3363
+ /**
3364
+ * @internal
3365
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3366
+ */
3367
+ export namespace VirtualWebhookChannelId$ {
3368
+ /** @deprecated use `VirtualWebhookChannelId$inboundSchema` instead. */
3369
+ export const inboundSchema = VirtualWebhookChannelId$inboundSchema;
3370
+ /** @deprecated use `VirtualWebhookChannelId$outboundSchema` instead. */
3371
+ export const outboundSchema = VirtualWebhookChannelId$outboundSchema;
3372
+ }
3373
+
3374
+ /** @internal */
3375
+ export const VirtualWebhookCollectionId$inboundSchema: z.ZodType<
3376
+ VirtualWebhookCollectionId,
3377
+ z.ZodTypeDef,
3378
+ unknown
3379
+ > = z
3380
+ .union([
3381
+ z.nativeEnum(VirtualWebhookCollectionId),
3382
+ z.string().transform(catchUnrecognizedEnum),
3383
+ ]);
3384
+
3385
+ /** @internal */
3386
+ export const VirtualWebhookCollectionId$outboundSchema: z.ZodType<
3387
+ VirtualWebhookCollectionId,
3388
+ z.ZodTypeDef,
3389
+ VirtualWebhookCollectionId
3390
+ > = z.union([
3391
+ z.nativeEnum(VirtualWebhookCollectionId),
3392
+ z.string().and(z.custom<Unrecognized<string>>()),
3393
+ ]);
3394
+
3395
+ /**
3396
+ * @internal
3397
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3398
+ */
3399
+ export namespace VirtualWebhookCollectionId$ {
3400
+ /** @deprecated use `VirtualWebhookCollectionId$inboundSchema` instead. */
3401
+ export const inboundSchema = VirtualWebhookCollectionId$inboundSchema;
3402
+ /** @deprecated use `VirtualWebhookCollectionId$outboundSchema` instead. */
3403
+ export const outboundSchema = VirtualWebhookCollectionId$outboundSchema;
3404
+ }
3405
+
3406
+ /** @internal */
3407
+ export const VirtualWebhookCompanyId$inboundSchema: z.ZodType<
3408
+ VirtualWebhookCompanyId,
3409
+ z.ZodTypeDef,
3410
+ unknown
3411
+ > = z
3412
+ .union([
3413
+ z.nativeEnum(VirtualWebhookCompanyId),
3414
+ z.string().transform(catchUnrecognizedEnum),
3415
+ ]);
3416
+
3417
+ /** @internal */
3418
+ export const VirtualWebhookCompanyId$outboundSchema: z.ZodType<
3419
+ VirtualWebhookCompanyId,
3420
+ z.ZodTypeDef,
3421
+ VirtualWebhookCompanyId
3422
+ > = z.union([
3423
+ z.nativeEnum(VirtualWebhookCompanyId),
3424
+ z.string().and(z.custom<Unrecognized<string>>()),
3425
+ ]);
3426
+
3427
+ /**
3428
+ * @internal
3429
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3430
+ */
3431
+ export namespace VirtualWebhookCompanyId$ {
3432
+ /** @deprecated use `VirtualWebhookCompanyId$inboundSchema` instead. */
3433
+ export const inboundSchema = VirtualWebhookCompanyId$inboundSchema;
3434
+ /** @deprecated use `VirtualWebhookCompanyId$outboundSchema` instead. */
3435
+ export const outboundSchema = VirtualWebhookCompanyId$outboundSchema;
3436
+ }
3437
+
3438
+ /** @internal */
3439
+ export const VirtualWebhookContactId$inboundSchema: z.ZodType<
3440
+ VirtualWebhookContactId,
3441
+ z.ZodTypeDef,
3442
+ unknown
3443
+ > = z
3444
+ .union([
3445
+ z.nativeEnum(VirtualWebhookContactId),
3446
+ z.string().transform(catchUnrecognizedEnum),
3447
+ ]);
3448
+
3449
+ /** @internal */
3450
+ export const VirtualWebhookContactId$outboundSchema: z.ZodType<
3451
+ VirtualWebhookContactId,
3452
+ z.ZodTypeDef,
3453
+ VirtualWebhookContactId
3454
+ > = z.union([
3455
+ z.nativeEnum(VirtualWebhookContactId),
3456
+ z.string().and(z.custom<Unrecognized<string>>()),
3457
+ ]);
3458
+
3459
+ /**
3460
+ * @internal
3461
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3462
+ */
3463
+ export namespace VirtualWebhookContactId$ {
3464
+ /** @deprecated use `VirtualWebhookContactId$inboundSchema` instead. */
3465
+ export const inboundSchema = VirtualWebhookContactId$inboundSchema;
3466
+ /** @deprecated use `VirtualWebhookContactId$outboundSchema` instead. */
3467
+ export const outboundSchema = VirtualWebhookContactId$outboundSchema;
3468
+ }
3469
+
3470
+ /** @internal */
3471
+ export const VirtualWebhookCustomerId$inboundSchema: z.ZodType<
3472
+ VirtualWebhookCustomerId,
3473
+ z.ZodTypeDef,
3474
+ unknown
3475
+ > = z
3476
+ .union([
3477
+ z.nativeEnum(VirtualWebhookCustomerId),
3478
+ z.string().transform(catchUnrecognizedEnum),
3479
+ ]);
3480
+
3481
+ /** @internal */
3482
+ export const VirtualWebhookCustomerId$outboundSchema: z.ZodType<
3483
+ VirtualWebhookCustomerId,
3484
+ z.ZodTypeDef,
3485
+ VirtualWebhookCustomerId
3486
+ > = z.union([
3487
+ z.nativeEnum(VirtualWebhookCustomerId),
3488
+ z.string().and(z.custom<Unrecognized<string>>()),
3489
+ ]);
3490
+
3491
+ /**
3492
+ * @internal
3493
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3494
+ */
3495
+ export namespace VirtualWebhookCustomerId$ {
3496
+ /** @deprecated use `VirtualWebhookCustomerId$inboundSchema` instead. */
3497
+ export const inboundSchema = VirtualWebhookCustomerId$inboundSchema;
3498
+ /** @deprecated use `VirtualWebhookCustomerId$outboundSchema` instead. */
3499
+ export const outboundSchema = VirtualWebhookCustomerId$outboundSchema;
3500
+ }
3501
+
3502
+ /** @internal */
3503
+ export const VirtualWebhookDealId$inboundSchema: z.ZodType<
3504
+ VirtualWebhookDealId,
3505
+ z.ZodTypeDef,
3506
+ unknown
3507
+ > = z
3508
+ .union([
3509
+ z.nativeEnum(VirtualWebhookDealId),
3510
+ z.string().transform(catchUnrecognizedEnum),
3511
+ ]);
3512
+
3513
+ /** @internal */
3514
+ export const VirtualWebhookDealId$outboundSchema: z.ZodType<
3515
+ VirtualWebhookDealId,
3516
+ z.ZodTypeDef,
3517
+ VirtualWebhookDealId
3518
+ > = z.union([
3519
+ z.nativeEnum(VirtualWebhookDealId),
3520
+ z.string().and(z.custom<Unrecognized<string>>()),
3521
+ ]);
3522
+
3523
+ /**
3524
+ * @internal
3525
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3526
+ */
3527
+ export namespace VirtualWebhookDealId$ {
3528
+ /** @deprecated use `VirtualWebhookDealId$inboundSchema` instead. */
3529
+ export const inboundSchema = VirtualWebhookDealId$inboundSchema;
3530
+ /** @deprecated use `VirtualWebhookDealId$outboundSchema` instead. */
3531
+ export const outboundSchema = VirtualWebhookDealId$outboundSchema;
3532
+ }
3533
+
3534
+ /** @internal */
3535
+ export const VirtualWebhookEndLe$inboundSchema: z.ZodType<
3536
+ VirtualWebhookEndLe,
3537
+ z.ZodTypeDef,
3538
+ unknown
3539
+ > = z
3540
+ .union([
3541
+ z.nativeEnum(VirtualWebhookEndLe),
3542
+ z.string().transform(catchUnrecognizedEnum),
3543
+ ]);
3544
+
3545
+ /** @internal */
3546
+ export const VirtualWebhookEndLe$outboundSchema: z.ZodType<
3547
+ VirtualWebhookEndLe,
3548
+ z.ZodTypeDef,
3549
+ VirtualWebhookEndLe
3550
+ > = z.union([
3551
+ z.nativeEnum(VirtualWebhookEndLe),
3552
+ z.string().and(z.custom<Unrecognized<string>>()),
3553
+ ]);
3554
+
3555
+ /**
3556
+ * @internal
3557
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3558
+ */
3559
+ export namespace VirtualWebhookEndLe$ {
3560
+ /** @deprecated use `VirtualWebhookEndLe$inboundSchema` instead. */
3561
+ export const inboundSchema = VirtualWebhookEndLe$inboundSchema;
3562
+ /** @deprecated use `VirtualWebhookEndLe$outboundSchema` instead. */
3563
+ export const outboundSchema = VirtualWebhookEndLe$outboundSchema;
3564
+ }
3565
+
3566
+ /** @internal */
3567
+ export const VirtualWebhookEndLt$inboundSchema: z.ZodType<
3568
+ VirtualWebhookEndLt,
3569
+ z.ZodTypeDef,
3570
+ unknown
3571
+ > = z
3572
+ .union([
3573
+ z.nativeEnum(VirtualWebhookEndLt),
3574
+ z.string().transform(catchUnrecognizedEnum),
3575
+ ]);
3576
+
3577
+ /** @internal */
3578
+ export const VirtualWebhookEndLt$outboundSchema: z.ZodType<
3579
+ VirtualWebhookEndLt,
3580
+ z.ZodTypeDef,
3581
+ VirtualWebhookEndLt
3582
+ > = z.union([
3583
+ z.nativeEnum(VirtualWebhookEndLt),
3584
+ z.string().and(z.custom<Unrecognized<string>>()),
3585
+ ]);
3586
+
3587
+ /**
3588
+ * @internal
3589
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3590
+ */
3591
+ export namespace VirtualWebhookEndLt$ {
3592
+ /** @deprecated use `VirtualWebhookEndLt$inboundSchema` instead. */
3593
+ export const inboundSchema = VirtualWebhookEndLt$inboundSchema;
3594
+ /** @deprecated use `VirtualWebhookEndLt$outboundSchema` instead. */
3595
+ export const outboundSchema = VirtualWebhookEndLt$outboundSchema;
3596
+ }
3597
+
3598
+ /** @internal */
3599
+ export const VirtualWebhookEventId$inboundSchema: z.ZodType<
3600
+ VirtualWebhookEventId,
3601
+ z.ZodTypeDef,
3602
+ unknown
3603
+ > = z
3604
+ .union([
3605
+ z.nativeEnum(VirtualWebhookEventId),
3606
+ z.string().transform(catchUnrecognizedEnum),
3607
+ ]);
3608
+
3609
+ /** @internal */
3610
+ export const VirtualWebhookEventId$outboundSchema: z.ZodType<
3611
+ VirtualWebhookEventId,
3612
+ z.ZodTypeDef,
3613
+ VirtualWebhookEventId
3614
+ > = z.union([
3615
+ z.nativeEnum(VirtualWebhookEventId),
3616
+ z.string().and(z.custom<Unrecognized<string>>()),
3617
+ ]);
3618
+
3619
+ /**
3620
+ * @internal
3621
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3622
+ */
3623
+ export namespace VirtualWebhookEventId$ {
3624
+ /** @deprecated use `VirtualWebhookEventId$inboundSchema` instead. */
3625
+ export const inboundSchema = VirtualWebhookEventId$inboundSchema;
3626
+ /** @deprecated use `VirtualWebhookEventId$outboundSchema` instead. */
3627
+ export const outboundSchema = VirtualWebhookEventId$outboundSchema;
3628
+ }
3629
+
3630
+ /** @internal */
3631
+ export const VirtualWebhookExpand$inboundSchema: z.ZodType<
3632
+ VirtualWebhookExpand,
3633
+ z.ZodTypeDef,
3634
+ unknown
3635
+ > = z
3636
+ .union([
3637
+ z.nativeEnum(VirtualWebhookExpand),
3638
+ z.string().transform(catchUnrecognizedEnum),
3639
+ ]);
3640
+
3641
+ /** @internal */
3642
+ export const VirtualWebhookExpand$outboundSchema: z.ZodType<
3643
+ VirtualWebhookExpand,
3644
+ z.ZodTypeDef,
3645
+ VirtualWebhookExpand
3646
+ > = z.union([
3647
+ z.nativeEnum(VirtualWebhookExpand),
3648
+ z.string().and(z.custom<Unrecognized<string>>()),
3649
+ ]);
3650
+
3651
+ /**
3652
+ * @internal
3653
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3654
+ */
3655
+ export namespace VirtualWebhookExpand$ {
3656
+ /** @deprecated use `VirtualWebhookExpand$inboundSchema` instead. */
3657
+ export const inboundSchema = VirtualWebhookExpand$inboundSchema;
3658
+ /** @deprecated use `VirtualWebhookExpand$outboundSchema` instead. */
3659
+ export const outboundSchema = VirtualWebhookExpand$outboundSchema;
3660
+ }
3661
+
3662
+ /** @internal */
3663
+ export const VirtualWebhookFields$inboundSchema: z.ZodType<
3664
+ VirtualWebhookFields,
3665
+ z.ZodTypeDef,
3666
+ unknown
3667
+ > = z
3668
+ .union([
3669
+ z.nativeEnum(VirtualWebhookFields),
3670
+ z.string().transform(catchUnrecognizedEnum),
3671
+ ]);
3672
+
3673
+ /** @internal */
3674
+ export const VirtualWebhookFields$outboundSchema: z.ZodType<
3675
+ VirtualWebhookFields,
3676
+ z.ZodTypeDef,
3677
+ VirtualWebhookFields
3678
+ > = z.union([
3679
+ z.nativeEnum(VirtualWebhookFields),
3680
+ z.string().and(z.custom<Unrecognized<string>>()),
3681
+ ]);
3682
+
3683
+ /**
3684
+ * @internal
3685
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3686
+ */
3687
+ export namespace VirtualWebhookFields$ {
3688
+ /** @deprecated use `VirtualWebhookFields$inboundSchema` instead. */
3689
+ export const inboundSchema = VirtualWebhookFields$inboundSchema;
3690
+ /** @deprecated use `VirtualWebhookFields$outboundSchema` instead. */
3691
+ export const outboundSchema = VirtualWebhookFields$outboundSchema;
3692
+ }
3693
+
3694
+ /** @internal */
3695
+ export const VirtualWebhookItemId$inboundSchema: z.ZodType<
3696
+ VirtualWebhookItemId,
3697
+ z.ZodTypeDef,
3698
+ unknown
3699
+ > = z
3700
+ .union([
3701
+ z.nativeEnum(VirtualWebhookItemId),
3702
+ z.string().transform(catchUnrecognizedEnum),
3703
+ ]);
3704
+
3705
+ /** @internal */
3706
+ export const VirtualWebhookItemId$outboundSchema: z.ZodType<
3707
+ VirtualWebhookItemId,
3708
+ z.ZodTypeDef,
3709
+ VirtualWebhookItemId
3710
+ > = z.union([
3711
+ z.nativeEnum(VirtualWebhookItemId),
3712
+ z.string().and(z.custom<Unrecognized<string>>()),
3713
+ ]);
3714
+
3715
+ /**
3716
+ * @internal
3717
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3718
+ */
3719
+ export namespace VirtualWebhookItemId$ {
3720
+ /** @deprecated use `VirtualWebhookItemId$inboundSchema` instead. */
3721
+ export const inboundSchema = VirtualWebhookItemId$inboundSchema;
3722
+ /** @deprecated use `VirtualWebhookItemId$outboundSchema` instead. */
3723
+ export const outboundSchema = VirtualWebhookItemId$outboundSchema;
3724
+ }
3725
+
3726
+ /** @internal */
3727
+ export const VirtualWebhookItemVariantId$inboundSchema: z.ZodType<
3728
+ VirtualWebhookItemVariantId,
3729
+ z.ZodTypeDef,
3730
+ unknown
3731
+ > = z
3732
+ .union([
3733
+ z.nativeEnum(VirtualWebhookItemVariantId),
3734
+ z.string().transform(catchUnrecognizedEnum),
3735
+ ]);
3736
+
3737
+ /** @internal */
3738
+ export const VirtualWebhookItemVariantId$outboundSchema: z.ZodType<
3739
+ VirtualWebhookItemVariantId,
3740
+ z.ZodTypeDef,
3741
+ VirtualWebhookItemVariantId
3742
+ > = z.union([
3743
+ z.nativeEnum(VirtualWebhookItemVariantId),
3744
+ z.string().and(z.custom<Unrecognized<string>>()),
3745
+ ]);
3746
+
3747
+ /**
3748
+ * @internal
3749
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3750
+ */
3751
+ export namespace VirtualWebhookItemVariantId$ {
3752
+ /** @deprecated use `VirtualWebhookItemVariantId$inboundSchema` instead. */
3753
+ export const inboundSchema = VirtualWebhookItemVariantId$inboundSchema;
3754
+ /** @deprecated use `VirtualWebhookItemVariantId$outboundSchema` instead. */
3755
+ export const outboundSchema = VirtualWebhookItemVariantId$outboundSchema;
3756
+ }
3757
+
3758
+ /** @internal */
3759
+ export const VirtualWebhookJobId$inboundSchema: z.ZodType<
3760
+ VirtualWebhookJobId,
3761
+ z.ZodTypeDef,
3762
+ unknown
3763
+ > = z
3764
+ .union([
3765
+ z.nativeEnum(VirtualWebhookJobId),
3766
+ z.string().transform(catchUnrecognizedEnum),
3767
+ ]);
3768
+
3769
+ /** @internal */
3770
+ export const VirtualWebhookJobId$outboundSchema: z.ZodType<
3771
+ VirtualWebhookJobId,
3772
+ z.ZodTypeDef,
3773
+ VirtualWebhookJobId
3774
+ > = z.union([
3775
+ z.nativeEnum(VirtualWebhookJobId),
3776
+ z.string().and(z.custom<Unrecognized<string>>()),
3777
+ ]);
3778
+
3779
+ /**
3780
+ * @internal
3781
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3782
+ */
3783
+ export namespace VirtualWebhookJobId$ {
3784
+ /** @deprecated use `VirtualWebhookJobId$inboundSchema` instead. */
3785
+ export const inboundSchema = VirtualWebhookJobId$inboundSchema;
3786
+ /** @deprecated use `VirtualWebhookJobId$outboundSchema` instead. */
3787
+ export const outboundSchema = VirtualWebhookJobId$outboundSchema;
3788
+ }
3789
+
3790
+ /** @internal */
3791
+ export const VirtualWebhookLimit$inboundSchema: z.ZodType<
3792
+ VirtualWebhookLimit,
3793
+ z.ZodTypeDef,
3794
+ unknown
3795
+ > = z
3796
+ .union([
3797
+ z.nativeEnum(VirtualWebhookLimit),
3798
+ z.string().transform(catchUnrecognizedEnum),
3799
+ ]);
3800
+
3801
+ /** @internal */
3802
+ export const VirtualWebhookLimit$outboundSchema: z.ZodType<
3803
+ VirtualWebhookLimit,
3804
+ z.ZodTypeDef,
3805
+ VirtualWebhookLimit
3806
+ > = z.union([
3807
+ z.nativeEnum(VirtualWebhookLimit),
3808
+ z.string().and(z.custom<Unrecognized<string>>()),
3809
+ ]);
3810
+
3811
+ /**
3812
+ * @internal
3813
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3814
+ */
3815
+ export namespace VirtualWebhookLimit$ {
3816
+ /** @deprecated use `VirtualWebhookLimit$inboundSchema` instead. */
3817
+ export const inboundSchema = VirtualWebhookLimit$inboundSchema;
3818
+ /** @deprecated use `VirtualWebhookLimit$outboundSchema` instead. */
3819
+ export const outboundSchema = VirtualWebhookLimit$outboundSchema;
3820
+ }
3821
+
3822
+ /** @internal */
3823
+ export const VirtualWebhookListId$inboundSchema: z.ZodType<
3824
+ VirtualWebhookListId,
3825
+ z.ZodTypeDef,
3826
+ unknown
3827
+ > = z
3828
+ .union([
3829
+ z.nativeEnum(VirtualWebhookListId),
3830
+ z.string().transform(catchUnrecognizedEnum),
3831
+ ]);
3832
+
3833
+ /** @internal */
3834
+ export const VirtualWebhookListId$outboundSchema: z.ZodType<
3835
+ VirtualWebhookListId,
3836
+ z.ZodTypeDef,
3837
+ VirtualWebhookListId
3838
+ > = z.union([
3839
+ z.nativeEnum(VirtualWebhookListId),
3840
+ z.string().and(z.custom<Unrecognized<string>>()),
3841
+ ]);
3842
+
3843
+ /**
3844
+ * @internal
3845
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3846
+ */
3847
+ export namespace VirtualWebhookListId$ {
3848
+ /** @deprecated use `VirtualWebhookListId$inboundSchema` instead. */
3849
+ export const inboundSchema = VirtualWebhookListId$inboundSchema;
3850
+ /** @deprecated use `VirtualWebhookListId$outboundSchema` instead. */
3851
+ export const outboundSchema = VirtualWebhookListId$outboundSchema;
3852
+ }
3853
+
3854
+ /** @internal */
3855
+ export const VirtualWebhookLocationId$inboundSchema: z.ZodType<
3856
+ VirtualWebhookLocationId,
3857
+ z.ZodTypeDef,
3858
+ unknown
3859
+ > = z
3860
+ .union([
3861
+ z.nativeEnum(VirtualWebhookLocationId),
3862
+ z.string().transform(catchUnrecognizedEnum),
3863
+ ]);
3864
+
3865
+ /** @internal */
3866
+ export const VirtualWebhookLocationId$outboundSchema: z.ZodType<
3867
+ VirtualWebhookLocationId,
3868
+ z.ZodTypeDef,
3869
+ VirtualWebhookLocationId
3870
+ > = z.union([
3871
+ z.nativeEnum(VirtualWebhookLocationId),
3872
+ z.string().and(z.custom<Unrecognized<string>>()),
3873
+ ]);
3874
+
3875
+ /**
3876
+ * @internal
3877
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3878
+ */
3879
+ export namespace VirtualWebhookLocationId$ {
3880
+ /** @deprecated use `VirtualWebhookLocationId$inboundSchema` instead. */
3881
+ export const inboundSchema = VirtualWebhookLocationId$inboundSchema;
3882
+ /** @deprecated use `VirtualWebhookLocationId$outboundSchema` instead. */
3883
+ export const outboundSchema = VirtualWebhookLocationId$outboundSchema;
3884
+ }
3885
+
3886
+ /** @internal */
3887
+ export const VirtualWebhookOrgId$inboundSchema: z.ZodType<
3888
+ VirtualWebhookOrgId,
3889
+ z.ZodTypeDef,
3890
+ unknown
3891
+ > = z
3892
+ .union([
3893
+ z.nativeEnum(VirtualWebhookOrgId),
3894
+ z.string().transform(catchUnrecognizedEnum),
3895
+ ]);
3896
+
3897
+ /** @internal */
3898
+ export const VirtualWebhookOrgId$outboundSchema: z.ZodType<
3899
+ VirtualWebhookOrgId,
3900
+ z.ZodTypeDef,
3901
+ VirtualWebhookOrgId
3902
+ > = z.union([
3903
+ z.nativeEnum(VirtualWebhookOrgId),
3904
+ z.string().and(z.custom<Unrecognized<string>>()),
3905
+ ]);
3906
+
3907
+ /**
3908
+ * @internal
3909
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3910
+ */
3911
+ export namespace VirtualWebhookOrgId$ {
3912
+ /** @deprecated use `VirtualWebhookOrgId$inboundSchema` instead. */
3913
+ export const inboundSchema = VirtualWebhookOrgId$inboundSchema;
3914
+ /** @deprecated use `VirtualWebhookOrgId$outboundSchema` instead. */
3915
+ export const outboundSchema = VirtualWebhookOrgId$outboundSchema;
3916
+ }
3917
+
3918
+ /** @internal */
3919
+ export const VirtualWebhookPageId$inboundSchema: z.ZodType<
3920
+ VirtualWebhookPageId,
3921
+ z.ZodTypeDef,
3922
+ unknown
3923
+ > = z
3924
+ .union([
3925
+ z.nativeEnum(VirtualWebhookPageId),
3926
+ z.string().transform(catchUnrecognizedEnum),
3927
+ ]);
3928
+
3929
+ /** @internal */
3930
+ export const VirtualWebhookPageId$outboundSchema: z.ZodType<
3931
+ VirtualWebhookPageId,
3932
+ z.ZodTypeDef,
3933
+ VirtualWebhookPageId
3934
+ > = z.union([
3935
+ z.nativeEnum(VirtualWebhookPageId),
3936
+ z.string().and(z.custom<Unrecognized<string>>()),
3937
+ ]);
3938
+
3939
+ /**
3940
+ * @internal
3941
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3942
+ */
3943
+ export namespace VirtualWebhookPageId$ {
3944
+ /** @deprecated use `VirtualWebhookPageId$inboundSchema` instead. */
3945
+ export const inboundSchema = VirtualWebhookPageId$inboundSchema;
3946
+ /** @deprecated use `VirtualWebhookPageId$outboundSchema` instead. */
3947
+ export const outboundSchema = VirtualWebhookPageId$outboundSchema;
3948
+ }
3949
+
3950
+ /** @internal */
3951
+ export const VirtualWebhookParentId$inboundSchema: z.ZodType<
3952
+ VirtualWebhookParentId,
3953
+ z.ZodTypeDef,
3954
+ unknown
3955
+ > = z
3956
+ .union([
3957
+ z.nativeEnum(VirtualWebhookParentId),
3958
+ z.string().transform(catchUnrecognizedEnum),
3959
+ ]);
3960
+
3961
+ /** @internal */
3962
+ export const VirtualWebhookParentId$outboundSchema: z.ZodType<
3963
+ VirtualWebhookParentId,
3964
+ z.ZodTypeDef,
3965
+ VirtualWebhookParentId
3966
+ > = z.union([
3967
+ z.nativeEnum(VirtualWebhookParentId),
3968
+ z.string().and(z.custom<Unrecognized<string>>()),
3969
+ ]);
3970
+
3971
+ /**
3972
+ * @internal
3973
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3974
+ */
3975
+ export namespace VirtualWebhookParentId$ {
3976
+ /** @deprecated use `VirtualWebhookParentId$inboundSchema` instead. */
3977
+ export const inboundSchema = VirtualWebhookParentId$inboundSchema;
3978
+ /** @deprecated use `VirtualWebhookParentId$outboundSchema` instead. */
3979
+ export const outboundSchema = VirtualWebhookParentId$outboundSchema;
3980
+ }
3981
+
3982
+ /** @internal */
3983
+ export const VirtualWebhookPipelineId$inboundSchema: z.ZodType<
3984
+ VirtualWebhookPipelineId,
3985
+ z.ZodTypeDef,
3986
+ unknown
3987
+ > = z
3988
+ .union([
3989
+ z.nativeEnum(VirtualWebhookPipelineId),
3990
+ z.string().transform(catchUnrecognizedEnum),
3991
+ ]);
3992
+
3993
+ /** @internal */
3994
+ export const VirtualWebhookPipelineId$outboundSchema: z.ZodType<
3995
+ VirtualWebhookPipelineId,
3996
+ z.ZodTypeDef,
3997
+ VirtualWebhookPipelineId
3998
+ > = z.union([
3999
+ z.nativeEnum(VirtualWebhookPipelineId),
4000
+ z.string().and(z.custom<Unrecognized<string>>()),
4001
+ ]);
4002
+
4003
+ /**
4004
+ * @internal
4005
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4006
+ */
4007
+ export namespace VirtualWebhookPipelineId$ {
4008
+ /** @deprecated use `VirtualWebhookPipelineId$inboundSchema` instead. */
4009
+ export const inboundSchema = VirtualWebhookPipelineId$inboundSchema;
4010
+ /** @deprecated use `VirtualWebhookPipelineId$outboundSchema` instead. */
4011
+ export const outboundSchema = VirtualWebhookPipelineId$outboundSchema;
4012
+ }
4013
+
4014
+ /** @internal */
4015
+ export const VirtualWebhookProjectId$inboundSchema: z.ZodType<
4016
+ VirtualWebhookProjectId,
4017
+ z.ZodTypeDef,
4018
+ unknown
4019
+ > = z
4020
+ .union([
4021
+ z.nativeEnum(VirtualWebhookProjectId),
4022
+ z.string().transform(catchUnrecognizedEnum),
4023
+ ]);
4024
+
4025
+ /** @internal */
4026
+ export const VirtualWebhookProjectId$outboundSchema: z.ZodType<
4027
+ VirtualWebhookProjectId,
4028
+ z.ZodTypeDef,
4029
+ VirtualWebhookProjectId
4030
+ > = z.union([
4031
+ z.nativeEnum(VirtualWebhookProjectId),
4032
+ z.string().and(z.custom<Unrecognized<string>>()),
4033
+ ]);
4034
+
4035
+ /**
4036
+ * @internal
4037
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4038
+ */
4039
+ export namespace VirtualWebhookProjectId$ {
4040
+ /** @deprecated use `VirtualWebhookProjectId$inboundSchema` instead. */
4041
+ export const inboundSchema = VirtualWebhookProjectId$inboundSchema;
4042
+ /** @deprecated use `VirtualWebhookProjectId$outboundSchema` instead. */
4043
+ export const outboundSchema = VirtualWebhookProjectId$outboundSchema;
4044
+ }
4045
+
4046
+ /** @internal */
4047
+ export const VirtualWebhookRepoId$inboundSchema: z.ZodType<
4048
+ VirtualWebhookRepoId,
4049
+ z.ZodTypeDef,
4050
+ unknown
4051
+ > = z
4052
+ .union([
4053
+ z.nativeEnum(VirtualWebhookRepoId),
4054
+ z.string().transform(catchUnrecognizedEnum),
4055
+ ]);
4056
+
4057
+ /** @internal */
4058
+ export const VirtualWebhookRepoId$outboundSchema: z.ZodType<
4059
+ VirtualWebhookRepoId,
4060
+ z.ZodTypeDef,
4061
+ VirtualWebhookRepoId
4062
+ > = z.union([
4063
+ z.nativeEnum(VirtualWebhookRepoId),
4064
+ z.string().and(z.custom<Unrecognized<string>>()),
4065
+ ]);
4066
+
4067
+ /**
4068
+ * @internal
4069
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4070
+ */
4071
+ export namespace VirtualWebhookRepoId$ {
4072
+ /** @deprecated use `VirtualWebhookRepoId$inboundSchema` instead. */
4073
+ export const inboundSchema = VirtualWebhookRepoId$inboundSchema;
4074
+ /** @deprecated use `VirtualWebhookRepoId$outboundSchema` instead. */
4075
+ export const outboundSchema = VirtualWebhookRepoId$outboundSchema;
4076
+ }
4077
+
4078
+ /** @internal */
4079
+ export const VirtualWebhookSpaceId$inboundSchema: z.ZodType<
4080
+ VirtualWebhookSpaceId,
4081
+ z.ZodTypeDef,
4082
+ unknown
4083
+ > = z
4084
+ .union([
4085
+ z.nativeEnum(VirtualWebhookSpaceId),
4086
+ z.string().transform(catchUnrecognizedEnum),
4087
+ ]);
4088
+
4089
+ /** @internal */
4090
+ export const VirtualWebhookSpaceId$outboundSchema: z.ZodType<
4091
+ VirtualWebhookSpaceId,
4092
+ z.ZodTypeDef,
4093
+ VirtualWebhookSpaceId
4094
+ > = z.union([
4095
+ z.nativeEnum(VirtualWebhookSpaceId),
4096
+ z.string().and(z.custom<Unrecognized<string>>()),
4097
+ ]);
4098
+
4099
+ /**
4100
+ * @internal
4101
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4102
+ */
4103
+ export namespace VirtualWebhookSpaceId$ {
4104
+ /** @deprecated use `VirtualWebhookSpaceId$inboundSchema` instead. */
4105
+ export const inboundSchema = VirtualWebhookSpaceId$inboundSchema;
4106
+ /** @deprecated use `VirtualWebhookSpaceId$outboundSchema` instead. */
4107
+ export const outboundSchema = VirtualWebhookSpaceId$outboundSchema;
4108
+ }
4109
+
4110
+ /** @internal */
4111
+ export const VirtualWebhookStartGte$inboundSchema: z.ZodType<
4112
+ VirtualWebhookStartGte,
4113
+ z.ZodTypeDef,
4114
+ unknown
4115
+ > = z
4116
+ .union([
4117
+ z.nativeEnum(VirtualWebhookStartGte),
4118
+ z.string().transform(catchUnrecognizedEnum),
4119
+ ]);
4120
+
4121
+ /** @internal */
4122
+ export const VirtualWebhookStartGte$outboundSchema: z.ZodType<
4123
+ VirtualWebhookStartGte,
4124
+ z.ZodTypeDef,
4125
+ VirtualWebhookStartGte
4126
+ > = z.union([
4127
+ z.nativeEnum(VirtualWebhookStartGte),
4128
+ z.string().and(z.custom<Unrecognized<string>>()),
4129
+ ]);
4130
+
4131
+ /**
4132
+ * @internal
4133
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4134
+ */
4135
+ export namespace VirtualWebhookStartGte$ {
4136
+ /** @deprecated use `VirtualWebhookStartGte$inboundSchema` instead. */
4137
+ export const inboundSchema = VirtualWebhookStartGte$inboundSchema;
4138
+ /** @deprecated use `VirtualWebhookStartGte$outboundSchema` instead. */
4139
+ export const outboundSchema = VirtualWebhookStartGte$outboundSchema;
4140
+ }
4141
+
4142
+ /** @internal */
4143
+ export const VirtualWebhookStatus$inboundSchema: z.ZodType<
4144
+ VirtualWebhookStatus,
4145
+ z.ZodTypeDef,
4146
+ unknown
4147
+ > = z
4148
+ .union([
4149
+ z.nativeEnum(VirtualWebhookStatus),
4150
+ z.string().transform(catchUnrecognizedEnum),
4151
+ ]);
4152
+
4153
+ /** @internal */
4154
+ export const VirtualWebhookStatus$outboundSchema: z.ZodType<
4155
+ VirtualWebhookStatus,
4156
+ z.ZodTypeDef,
4157
+ VirtualWebhookStatus
4158
+ > = z.union([
4159
+ z.nativeEnum(VirtualWebhookStatus),
4160
+ z.string().and(z.custom<Unrecognized<string>>()),
4161
+ ]);
4162
+
4163
+ /**
4164
+ * @internal
4165
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4166
+ */
4167
+ export namespace VirtualWebhookStatus$ {
4168
+ /** @deprecated use `VirtualWebhookStatus$inboundSchema` instead. */
4169
+ export const inboundSchema = VirtualWebhookStatus$inboundSchema;
4170
+ /** @deprecated use `VirtualWebhookStatus$outboundSchema` instead. */
4171
+ export const outboundSchema = VirtualWebhookStatus$outboundSchema;
4172
+ }
4173
+
4174
+ /** @internal */
4175
+ export const VirtualWebhookTaskId$inboundSchema: z.ZodType<
4176
+ VirtualWebhookTaskId,
4177
+ z.ZodTypeDef,
4178
+ unknown
4179
+ > = z
4180
+ .union([
4181
+ z.nativeEnum(VirtualWebhookTaskId),
4182
+ z.string().transform(catchUnrecognizedEnum),
4183
+ ]);
4184
+
4185
+ /** @internal */
4186
+ export const VirtualWebhookTaskId$outboundSchema: z.ZodType<
4187
+ VirtualWebhookTaskId,
4188
+ z.ZodTypeDef,
4189
+ VirtualWebhookTaskId
4190
+ > = z.union([
4191
+ z.nativeEnum(VirtualWebhookTaskId),
4192
+ z.string().and(z.custom<Unrecognized<string>>()),
4193
+ ]);
4194
+
4195
+ /**
4196
+ * @internal
4197
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4198
+ */
4199
+ export namespace VirtualWebhookTaskId$ {
4200
+ /** @deprecated use `VirtualWebhookTaskId$inboundSchema` instead. */
4201
+ export const inboundSchema = VirtualWebhookTaskId$inboundSchema;
4202
+ /** @deprecated use `VirtualWebhookTaskId$outboundSchema` instead. */
4203
+ export const outboundSchema = VirtualWebhookTaskId$outboundSchema;
4204
+ }
4205
+
4206
+ /** @internal */
4207
+ export const VirtualWebhookTicketId$inboundSchema: z.ZodType<
4208
+ VirtualWebhookTicketId,
4209
+ z.ZodTypeDef,
4210
+ unknown
4211
+ > = z
4212
+ .union([
4213
+ z.nativeEnum(VirtualWebhookTicketId),
4214
+ z.string().transform(catchUnrecognizedEnum),
4215
+ ]);
4216
+
4217
+ /** @internal */
4218
+ export const VirtualWebhookTicketId$outboundSchema: z.ZodType<
4219
+ VirtualWebhookTicketId,
4220
+ z.ZodTypeDef,
4221
+ VirtualWebhookTicketId
4222
+ > = z.union([
4223
+ z.nativeEnum(VirtualWebhookTicketId),
4224
+ z.string().and(z.custom<Unrecognized<string>>()),
4225
+ ]);
4226
+
4227
+ /**
4228
+ * @internal
4229
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4230
+ */
4231
+ export namespace VirtualWebhookTicketId$ {
4232
+ /** @deprecated use `VirtualWebhookTicketId$inboundSchema` instead. */
4233
+ export const inboundSchema = VirtualWebhookTicketId$inboundSchema;
4234
+ /** @deprecated use `VirtualWebhookTicketId$outboundSchema` instead. */
4235
+ export const outboundSchema = VirtualWebhookTicketId$outboundSchema;
4236
+ }
4237
+
4238
+ /** @internal */
4239
+ export const VirtualWebhookType$inboundSchema: z.ZodType<
4240
+ VirtualWebhookType,
4241
+ z.ZodTypeDef,
4242
+ unknown
4243
+ > = z
4244
+ .union([
4245
+ z.nativeEnum(VirtualWebhookType),
4246
+ z.string().transform(catchUnrecognizedEnum),
4247
+ ]);
4248
+
4249
+ /** @internal */
4250
+ export const VirtualWebhookType$outboundSchema: z.ZodType<
4251
+ VirtualWebhookType,
4252
+ z.ZodTypeDef,
4253
+ VirtualWebhookType
4254
+ > = z.union([
4255
+ z.nativeEnum(VirtualWebhookType),
4256
+ z.string().and(z.custom<Unrecognized<string>>()),
4257
+ ]);
4258
+
4259
+ /**
4260
+ * @internal
4261
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4262
+ */
4263
+ export namespace VirtualWebhookType$ {
4264
+ /** @deprecated use `VirtualWebhookType$inboundSchema` instead. */
4265
+ export const inboundSchema = VirtualWebhookType$inboundSchema;
4266
+ /** @deprecated use `VirtualWebhookType$outboundSchema` instead. */
4267
+ export const outboundSchema = VirtualWebhookType$outboundSchema;
4268
+ }
4269
+
4270
+ /** @internal */
4271
+ export const VirtualWebhookUpdatedGte$inboundSchema: z.ZodType<
4272
+ VirtualWebhookUpdatedGte,
4273
+ z.ZodTypeDef,
4274
+ unknown
4275
+ > = z
4276
+ .union([
4277
+ z.nativeEnum(VirtualWebhookUpdatedGte),
4278
+ z.string().transform(catchUnrecognizedEnum),
4279
+ ]);
4280
+
4281
+ /** @internal */
4282
+ export const VirtualWebhookUpdatedGte$outboundSchema: z.ZodType<
4283
+ VirtualWebhookUpdatedGte,
4284
+ z.ZodTypeDef,
4285
+ VirtualWebhookUpdatedGte
4286
+ > = z.union([
4287
+ z.nativeEnum(VirtualWebhookUpdatedGte),
4288
+ z.string().and(z.custom<Unrecognized<string>>()),
4289
+ ]);
4290
+
4291
+ /**
4292
+ * @internal
4293
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4294
+ */
4295
+ export namespace VirtualWebhookUpdatedGte$ {
4296
+ /** @deprecated use `VirtualWebhookUpdatedGte$inboundSchema` instead. */
4297
+ export const inboundSchema = VirtualWebhookUpdatedGte$inboundSchema;
4298
+ /** @deprecated use `VirtualWebhookUpdatedGte$outboundSchema` instead. */
4299
+ export const outboundSchema = VirtualWebhookUpdatedGte$outboundSchema;
4300
+ }
4301
+
4302
+ /** @internal */
4303
+ export const VirtualWebhookUserId$inboundSchema: z.ZodType<
4304
+ VirtualWebhookUserId,
4305
+ z.ZodTypeDef,
4306
+ unknown
4307
+ > = z
4308
+ .union([
4309
+ z.nativeEnum(VirtualWebhookUserId),
4310
+ z.string().transform(catchUnrecognizedEnum),
4311
+ ]);
4312
+
4313
+ /** @internal */
4314
+ export const VirtualWebhookUserId$outboundSchema: z.ZodType<
4315
+ VirtualWebhookUserId,
4316
+ z.ZodTypeDef,
4317
+ VirtualWebhookUserId
4318
+ > = z.union([
4319
+ z.nativeEnum(VirtualWebhookUserId),
4320
+ z.string().and(z.custom<Unrecognized<string>>()),
4321
+ ]);
4322
+
4323
+ /**
4324
+ * @internal
4325
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4326
+ */
4327
+ export namespace VirtualWebhookUserId$ {
4328
+ /** @deprecated use `VirtualWebhookUserId$inboundSchema` instead. */
4329
+ export const inboundSchema = VirtualWebhookUserId$inboundSchema;
4330
+ /** @deprecated use `VirtualWebhookUserId$outboundSchema` instead. */
4331
+ export const outboundSchema = VirtualWebhookUserId$outboundSchema;
4332
+ }
4333
+
4334
+ /** @internal */
4335
+ export const IntegrationSupport$inboundSchema: z.ZodType<
4336
+ IntegrationSupport,
4337
+ z.ZodTypeDef,
4338
+ unknown
4339
+ > = z.object({
4340
+ from_webhook: FromWebhook$inboundSchema.optional(),
4341
+ inbound_fields: z.record(z.string()).optional(),
4342
+ list_account_id: ListAccountId$inboundSchema.optional(),
4343
+ list_application_id: ListApplicationId$inboundSchema.optional(),
4344
+ list_branch_id: ListBranchId$inboundSchema.optional(),
4345
+ list_calendar_id: ListCalendarId$inboundSchema.optional(),
4346
+ list_call_id: ListCallId$inboundSchema.optional(),
4347
+ list_candidate_id: ListCandidateId$inboundSchema.optional(),
4348
+ list_category_id: ListCategoryId$inboundSchema.optional(),
4349
+ list_channel_id: ListChannelId$inboundSchema.optional(),
4350
+ list_class_id: ListClassId$inboundSchema.optional(),
4351
+ list_collection_id: ListCollectionId$inboundSchema.optional(),
4352
+ list_company_id: ListCompanyId$inboundSchema.optional(),
4353
+ list_contact_id: ListContactId$inboundSchema.optional(),
4354
+ list_course_id: ListCourseId$inboundSchema.optional(),
4355
+ list_customer_id: ListCustomerId$inboundSchema.optional(),
4356
+ list_deal_id: ListDealId$inboundSchema.optional(),
4357
+ list_document_id: ListDocumentId$inboundSchema.optional(),
4358
+ list_end_le: ListEndLe$inboundSchema.optional(),
4359
+ list_end_lt: ListEndLt$inboundSchema.optional(),
4360
+ list_event_id: ListEventId$inboundSchema.optional(),
4361
+ list_expand: ListExpand$inboundSchema.optional(),
4362
+ list_expand_recurring_events: ListExpandRecurringEvents$inboundSchema
4363
+ .optional(),
4364
+ list_instructor_id: ListInstructorId$inboundSchema.optional(),
4365
+ list_interview_id: ListInterviewId$inboundSchema.optional(),
4366
+ list_invoice_id: ListInvoiceId$inboundSchema.optional(),
4367
+ list_item_id: ListItemId$inboundSchema.optional(),
4368
+ list_item_variant_id: ListItemVariantId$inboundSchema.optional(),
4369
+ list_job_id: ListJobId$inboundSchema.optional(),
4370
+ list_lead_id: ListLeadId$inboundSchema.optional(),
4371
+ list_limit: ListLimit$inboundSchema.optional(),
4372
+ list_link_id: ListLinkId$inboundSchema.optional(),
4373
+ list_list_id: ListListId$inboundSchema.optional(),
4374
+ list_location_id: ListLocationId$inboundSchema.optional(),
4375
+ list_offset: ListOffset$inboundSchema.optional(),
4376
+ list_order: ListOrder$inboundSchema.optional(),
4377
+ list_org_id: ListOrgId$inboundSchema.optional(),
4378
+ list_package_id: ListPackageId$inboundSchema.optional(),
4379
+ list_page_id: ListPageId$inboundSchema.optional(),
4380
+ list_parent_id: ListParentId$inboundSchema.optional(),
4381
+ list_payment_id: ListPaymentId$inboundSchema.optional(),
4382
+ list_pipeline_id: ListPipelineId$inboundSchema.optional(),
4383
+ list_project_id: ListProjectId$inboundSchema.optional(),
4384
+ list_query: ListQuery$inboundSchema.optional(),
4385
+ list_raw_fields: ListRawFields$inboundSchema.optional(),
4386
+ list_repo_id: ListRepoId$inboundSchema.optional(),
4387
+ list_root_id: ListRootId$inboundSchema.optional(),
4388
+ list_sort_by_created_at: ListSortByCreatedAt$inboundSchema.optional(),
4389
+ list_sort_by_name: ListSortByName$inboundSchema.optional(),
4390
+ list_sort_by_updated_at: ListSortByUpdatedAt$inboundSchema.optional(),
4391
+ list_space_id: ListSpaceId$inboundSchema.optional(),
4392
+ list_start_gte: ListStartGte$inboundSchema.optional(),
4393
+ list_status: ListStatus$inboundSchema.optional(),
4394
+ list_student_id: ListStudentId$inboundSchema.optional(),
4395
+ list_task_id: ListTaskId$inboundSchema.optional(),
4396
+ list_teacher_id: ListTeacherId$inboundSchema.optional(),
4397
+ list_ticket_id: ListTicketId$inboundSchema.optional(),
4398
+ list_type: ListType$inboundSchema.optional(),
4399
+ list_updated_gte: ListUpdatedGte$inboundSchema.optional(),
4400
+ list_user_id: ListUserId$inboundSchema.optional(),
4401
+ methods: z.record(z.boolean()).optional(),
4402
+ native_webhook_calendar_id: NativeWebhookCalendarId$inboundSchema.optional(),
4403
+ native_webhook_channel_id: NativeWebhookChannelId$inboundSchema.optional(),
4404
+ native_webhook_company_id: NativeWebhookCompanyId$inboundSchema.optional(),
4405
+ native_webhook_event_id: NativeWebhookEventId$inboundSchema.optional(),
4406
+ native_webhook_parent_id: NativeWebhookParentId$inboundSchema.optional(),
4407
+ native_webhook_project_id: NativeWebhookProjectId$inboundSchema.optional(),
4408
+ native_webhook_task_id: NativeWebhookTaskId$inboundSchema.optional(),
4409
+ outbound_fields: z.record(z.string()).optional(),
4410
+ raw_objects: z.array(z.string()).optional(),
4411
+ search_domain: SearchDomain$inboundSchema.optional(),
4412
+ search_email: SearchEmail$inboundSchema.optional(),
4413
+ search_linkedinurl: SearchLinkedinurl$inboundSchema.optional(),
4414
+ search_name: SearchName$inboundSchema.optional(),
4415
+ search_twitter: SearchTwitter$inboundSchema.optional(),
4416
+ slow_fields: z.array(z.string()).optional(),
4417
+ virtual_webhook_application_id: VirtualWebhookApplicationId$inboundSchema
4418
+ .optional(),
4419
+ virtual_webhook_branch_id: VirtualWebhookBranchId$inboundSchema.optional(),
4420
+ virtual_webhook_calendar_id: VirtualWebhookCalendarId$inboundSchema
4421
+ .optional(),
4422
+ virtual_webhook_call_id: VirtualWebhookCallId$inboundSchema.optional(),
4423
+ virtual_webhook_candidate_id: VirtualWebhookCandidateId$inboundSchema
4424
+ .optional(),
4425
+ virtual_webhook_channel_id: VirtualWebhookChannelId$inboundSchema.optional(),
4426
+ virtual_webhook_collection_id: VirtualWebhookCollectionId$inboundSchema
4427
+ .optional(),
4428
+ virtual_webhook_company_id: VirtualWebhookCompanyId$inboundSchema.optional(),
4429
+ virtual_webhook_contact_id: VirtualWebhookContactId$inboundSchema.optional(),
4430
+ virtual_webhook_customer_id: VirtualWebhookCustomerId$inboundSchema
4431
+ .optional(),
4432
+ virtual_webhook_deal_id: VirtualWebhookDealId$inboundSchema.optional(),
4433
+ virtual_webhook_end_le: VirtualWebhookEndLe$inboundSchema.optional(),
4434
+ virtual_webhook_end_lt: VirtualWebhookEndLt$inboundSchema.optional(),
4435
+ virtual_webhook_event_id: VirtualWebhookEventId$inboundSchema.optional(),
4436
+ virtual_webhook_expand: VirtualWebhookExpand$inboundSchema.optional(),
4437
+ virtual_webhook_fields: VirtualWebhookFields$inboundSchema.optional(),
4438
+ virtual_webhook_item_id: VirtualWebhookItemId$inboundSchema.optional(),
4439
+ virtual_webhook_item_variant_id: VirtualWebhookItemVariantId$inboundSchema
4440
+ .optional(),
4441
+ virtual_webhook_job_id: VirtualWebhookJobId$inboundSchema.optional(),
4442
+ virtual_webhook_limit: VirtualWebhookLimit$inboundSchema.optional(),
4443
+ virtual_webhook_list_id: VirtualWebhookListId$inboundSchema.optional(),
4444
+ virtual_webhook_location_id: VirtualWebhookLocationId$inboundSchema
4445
+ .optional(),
4446
+ virtual_webhook_org_id: VirtualWebhookOrgId$inboundSchema.optional(),
4447
+ virtual_webhook_page_id: VirtualWebhookPageId$inboundSchema.optional(),
4448
+ virtual_webhook_parent_id: VirtualWebhookParentId$inboundSchema.optional(),
4449
+ virtual_webhook_pipeline_id: VirtualWebhookPipelineId$inboundSchema
4450
+ .optional(),
4451
+ virtual_webhook_project_id: VirtualWebhookProjectId$inboundSchema.optional(),
4452
+ virtual_webhook_repo_id: VirtualWebhookRepoId$inboundSchema.optional(),
4453
+ virtual_webhook_space_id: VirtualWebhookSpaceId$inboundSchema.optional(),
4454
+ virtual_webhook_start_gte: VirtualWebhookStartGte$inboundSchema.optional(),
4455
+ virtual_webhook_status: VirtualWebhookStatus$inboundSchema.optional(),
4456
+ virtual_webhook_task_id: VirtualWebhookTaskId$inboundSchema.optional(),
4457
+ virtual_webhook_ticket_id: VirtualWebhookTicketId$inboundSchema.optional(),
4458
+ virtual_webhook_type: VirtualWebhookType$inboundSchema.optional(),
4459
+ virtual_webhook_updated_gte: VirtualWebhookUpdatedGte$inboundSchema
4460
+ .optional(),
4461
+ virtual_webhook_user_id: VirtualWebhookUserId$inboundSchema.optional(),
4462
+ webhook_events: PropertyIntegrationSupportWebhookEvents$inboundSchema
4463
+ .optional(),
4464
+ }).transform((v) => {
4465
+ return remap$(v, {
4466
+ "from_webhook": "fromWebhook",
4467
+ "inbound_fields": "inboundFields",
4468
+ "list_account_id": "listAccountId",
4469
+ "list_application_id": "listApplicationId",
4470
+ "list_branch_id": "listBranchId",
4471
+ "list_calendar_id": "listCalendarId",
4472
+ "list_call_id": "listCallId",
4473
+ "list_candidate_id": "listCandidateId",
4474
+ "list_category_id": "listCategoryId",
4475
+ "list_channel_id": "listChannelId",
4476
+ "list_class_id": "listClassId",
4477
+ "list_collection_id": "listCollectionId",
4478
+ "list_company_id": "listCompanyId",
4479
+ "list_contact_id": "listContactId",
4480
+ "list_course_id": "listCourseId",
4481
+ "list_customer_id": "listCustomerId",
4482
+ "list_deal_id": "listDealId",
4483
+ "list_document_id": "listDocumentId",
4484
+ "list_end_le": "listEndLe",
4485
+ "list_end_lt": "listEndLt",
4486
+ "list_event_id": "listEventId",
4487
+ "list_expand": "listExpand",
4488
+ "list_expand_recurring_events": "listExpandRecurringEvents",
4489
+ "list_instructor_id": "listInstructorId",
4490
+ "list_interview_id": "listInterviewId",
4491
+ "list_invoice_id": "listInvoiceId",
4492
+ "list_item_id": "listItemId",
4493
+ "list_item_variant_id": "listItemVariantId",
4494
+ "list_job_id": "listJobId",
4495
+ "list_lead_id": "listLeadId",
4496
+ "list_limit": "listLimit",
4497
+ "list_link_id": "listLinkId",
4498
+ "list_list_id": "listListId",
4499
+ "list_location_id": "listLocationId",
4500
+ "list_offset": "listOffset",
4501
+ "list_order": "listOrder",
4502
+ "list_org_id": "listOrgId",
4503
+ "list_package_id": "listPackageId",
4504
+ "list_page_id": "listPageId",
4505
+ "list_parent_id": "listParentId",
4506
+ "list_payment_id": "listPaymentId",
4507
+ "list_pipeline_id": "listPipelineId",
4508
+ "list_project_id": "listProjectId",
4509
+ "list_query": "listQuery",
4510
+ "list_raw_fields": "listRawFields",
4511
+ "list_repo_id": "listRepoId",
4512
+ "list_root_id": "listRootId",
4513
+ "list_sort_by_created_at": "listSortByCreatedAt",
4514
+ "list_sort_by_name": "listSortByName",
4515
+ "list_sort_by_updated_at": "listSortByUpdatedAt",
4516
+ "list_space_id": "listSpaceId",
4517
+ "list_start_gte": "listStartGte",
4518
+ "list_status": "listStatus",
4519
+ "list_student_id": "listStudentId",
4520
+ "list_task_id": "listTaskId",
4521
+ "list_teacher_id": "listTeacherId",
4522
+ "list_ticket_id": "listTicketId",
4523
+ "list_type": "listType",
4524
+ "list_updated_gte": "listUpdatedGte",
4525
+ "list_user_id": "listUserId",
4526
+ "native_webhook_calendar_id": "nativeWebhookCalendarId",
4527
+ "native_webhook_channel_id": "nativeWebhookChannelId",
4528
+ "native_webhook_company_id": "nativeWebhookCompanyId",
4529
+ "native_webhook_event_id": "nativeWebhookEventId",
4530
+ "native_webhook_parent_id": "nativeWebhookParentId",
4531
+ "native_webhook_project_id": "nativeWebhookProjectId",
4532
+ "native_webhook_task_id": "nativeWebhookTaskId",
4533
+ "outbound_fields": "outboundFields",
4534
+ "raw_objects": "rawObjects",
4535
+ "search_domain": "searchDomain",
4536
+ "search_email": "searchEmail",
4537
+ "search_linkedinurl": "searchLinkedinurl",
4538
+ "search_name": "searchName",
4539
+ "search_twitter": "searchTwitter",
4540
+ "slow_fields": "slowFields",
4541
+ "virtual_webhook_application_id": "virtualWebhookApplicationId",
4542
+ "virtual_webhook_branch_id": "virtualWebhookBranchId",
4543
+ "virtual_webhook_calendar_id": "virtualWebhookCalendarId",
4544
+ "virtual_webhook_call_id": "virtualWebhookCallId",
4545
+ "virtual_webhook_candidate_id": "virtualWebhookCandidateId",
4546
+ "virtual_webhook_channel_id": "virtualWebhookChannelId",
4547
+ "virtual_webhook_collection_id": "virtualWebhookCollectionId",
4548
+ "virtual_webhook_company_id": "virtualWebhookCompanyId",
4549
+ "virtual_webhook_contact_id": "virtualWebhookContactId",
4550
+ "virtual_webhook_customer_id": "virtualWebhookCustomerId",
4551
+ "virtual_webhook_deal_id": "virtualWebhookDealId",
4552
+ "virtual_webhook_end_le": "virtualWebhookEndLe",
4553
+ "virtual_webhook_end_lt": "virtualWebhookEndLt",
4554
+ "virtual_webhook_event_id": "virtualWebhookEventId",
4555
+ "virtual_webhook_expand": "virtualWebhookExpand",
4556
+ "virtual_webhook_fields": "virtualWebhookFields",
4557
+ "virtual_webhook_item_id": "virtualWebhookItemId",
4558
+ "virtual_webhook_item_variant_id": "virtualWebhookItemVariantId",
4559
+ "virtual_webhook_job_id": "virtualWebhookJobId",
4560
+ "virtual_webhook_limit": "virtualWebhookLimit",
4561
+ "virtual_webhook_list_id": "virtualWebhookListId",
4562
+ "virtual_webhook_location_id": "virtualWebhookLocationId",
4563
+ "virtual_webhook_org_id": "virtualWebhookOrgId",
4564
+ "virtual_webhook_page_id": "virtualWebhookPageId",
4565
+ "virtual_webhook_parent_id": "virtualWebhookParentId",
4566
+ "virtual_webhook_pipeline_id": "virtualWebhookPipelineId",
4567
+ "virtual_webhook_project_id": "virtualWebhookProjectId",
4568
+ "virtual_webhook_repo_id": "virtualWebhookRepoId",
4569
+ "virtual_webhook_space_id": "virtualWebhookSpaceId",
4570
+ "virtual_webhook_start_gte": "virtualWebhookStartGte",
4571
+ "virtual_webhook_status": "virtualWebhookStatus",
4572
+ "virtual_webhook_task_id": "virtualWebhookTaskId",
4573
+ "virtual_webhook_ticket_id": "virtualWebhookTicketId",
4574
+ "virtual_webhook_type": "virtualWebhookType",
4575
+ "virtual_webhook_updated_gte": "virtualWebhookUpdatedGte",
4576
+ "virtual_webhook_user_id": "virtualWebhookUserId",
4577
+ "webhook_events": "webhookEvents",
4578
+ });
4579
+ });
4580
+
4581
+ /** @internal */
4582
+ export type IntegrationSupport$Outbound = {
4583
+ from_webhook?: string | undefined;
4584
+ inbound_fields?: { [k: string]: string } | undefined;
4585
+ list_account_id?: string | undefined;
4586
+ list_application_id?: string | undefined;
4587
+ list_branch_id?: string | undefined;
4588
+ list_calendar_id?: string | undefined;
4589
+ list_call_id?: string | undefined;
4590
+ list_candidate_id?: string | undefined;
4591
+ list_category_id?: string | undefined;
4592
+ list_channel_id?: string | undefined;
4593
+ list_class_id?: string | undefined;
4594
+ list_collection_id?: string | undefined;
4595
+ list_company_id?: string | undefined;
4596
+ list_contact_id?: string | undefined;
4597
+ list_course_id?: string | undefined;
4598
+ list_customer_id?: string | undefined;
4599
+ list_deal_id?: string | undefined;
4600
+ list_document_id?: string | undefined;
4601
+ list_end_le?: string | undefined;
4602
+ list_end_lt?: string | undefined;
4603
+ list_event_id?: string | undefined;
4604
+ list_expand?: string | undefined;
4605
+ list_expand_recurring_events?: string | undefined;
4606
+ list_instructor_id?: string | undefined;
4607
+ list_interview_id?: string | undefined;
4608
+ list_invoice_id?: string | undefined;
4609
+ list_item_id?: string | undefined;
4610
+ list_item_variant_id?: string | undefined;
4611
+ list_job_id?: string | undefined;
4612
+ list_lead_id?: string | undefined;
4613
+ list_limit?: string | undefined;
4614
+ list_link_id?: string | undefined;
4615
+ list_list_id?: string | undefined;
4616
+ list_location_id?: string | undefined;
4617
+ list_offset?: string | undefined;
4618
+ list_order?: string | undefined;
4619
+ list_org_id?: string | undefined;
4620
+ list_package_id?: string | undefined;
4621
+ list_page_id?: string | undefined;
4622
+ list_parent_id?: string | undefined;
4623
+ list_payment_id?: string | undefined;
4624
+ list_pipeline_id?: string | undefined;
4625
+ list_project_id?: string | undefined;
4626
+ list_query?: string | undefined;
4627
+ list_raw_fields?: string | undefined;
4628
+ list_repo_id?: string | undefined;
4629
+ list_root_id?: string | undefined;
4630
+ list_sort_by_created_at?: string | undefined;
4631
+ list_sort_by_name?: string | undefined;
4632
+ list_sort_by_updated_at?: string | undefined;
4633
+ list_space_id?: string | undefined;
4634
+ list_start_gte?: string | undefined;
4635
+ list_status?: string | undefined;
4636
+ list_student_id?: string | undefined;
4637
+ list_task_id?: string | undefined;
4638
+ list_teacher_id?: string | undefined;
4639
+ list_ticket_id?: string | undefined;
4640
+ list_type?: string | undefined;
4641
+ list_updated_gte?: string | undefined;
4642
+ list_user_id?: string | undefined;
4643
+ methods?: { [k: string]: boolean } | undefined;
4644
+ native_webhook_calendar_id?: string | undefined;
4645
+ native_webhook_channel_id?: string | undefined;
4646
+ native_webhook_company_id?: string | undefined;
4647
+ native_webhook_event_id?: string | undefined;
4648
+ native_webhook_parent_id?: string | undefined;
4649
+ native_webhook_project_id?: string | undefined;
4650
+ native_webhook_task_id?: string | undefined;
4651
+ outbound_fields?: { [k: string]: string } | undefined;
4652
+ raw_objects?: Array<string> | undefined;
4653
+ search_domain?: string | undefined;
4654
+ search_email?: string | undefined;
4655
+ search_linkedinurl?: string | undefined;
4656
+ search_name?: string | undefined;
4657
+ search_twitter?: string | undefined;
4658
+ slow_fields?: Array<string> | undefined;
4659
+ virtual_webhook_application_id?: string | undefined;
4660
+ virtual_webhook_branch_id?: string | undefined;
4661
+ virtual_webhook_calendar_id?: string | undefined;
4662
+ virtual_webhook_call_id?: string | undefined;
4663
+ virtual_webhook_candidate_id?: string | undefined;
4664
+ virtual_webhook_channel_id?: string | undefined;
4665
+ virtual_webhook_collection_id?: string | undefined;
4666
+ virtual_webhook_company_id?: string | undefined;
4667
+ virtual_webhook_contact_id?: string | undefined;
4668
+ virtual_webhook_customer_id?: string | undefined;
4669
+ virtual_webhook_deal_id?: string | undefined;
4670
+ virtual_webhook_end_le?: string | undefined;
4671
+ virtual_webhook_end_lt?: string | undefined;
4672
+ virtual_webhook_event_id?: string | undefined;
4673
+ virtual_webhook_expand?: string | undefined;
4674
+ virtual_webhook_fields?: string | undefined;
4675
+ virtual_webhook_item_id?: string | undefined;
4676
+ virtual_webhook_item_variant_id?: string | undefined;
4677
+ virtual_webhook_job_id?: string | undefined;
4678
+ virtual_webhook_limit?: string | undefined;
4679
+ virtual_webhook_list_id?: string | undefined;
4680
+ virtual_webhook_location_id?: string | undefined;
4681
+ virtual_webhook_org_id?: string | undefined;
4682
+ virtual_webhook_page_id?: string | undefined;
4683
+ virtual_webhook_parent_id?: string | undefined;
4684
+ virtual_webhook_pipeline_id?: string | undefined;
4685
+ virtual_webhook_project_id?: string | undefined;
4686
+ virtual_webhook_repo_id?: string | undefined;
4687
+ virtual_webhook_space_id?: string | undefined;
4688
+ virtual_webhook_start_gte?: string | undefined;
4689
+ virtual_webhook_status?: string | undefined;
4690
+ virtual_webhook_task_id?: string | undefined;
4691
+ virtual_webhook_ticket_id?: string | undefined;
4692
+ virtual_webhook_type?: string | undefined;
4693
+ virtual_webhook_updated_gte?: string | undefined;
4694
+ virtual_webhook_user_id?: string | undefined;
4695
+ webhook_events?: PropertyIntegrationSupportWebhookEvents$Outbound | undefined;
4696
+ };
4697
+
4698
+ /** @internal */
4699
+ export const IntegrationSupport$outboundSchema: z.ZodType<
4700
+ IntegrationSupport$Outbound,
4701
+ z.ZodTypeDef,
4702
+ IntegrationSupport
4703
+ > = z.object({
4704
+ fromWebhook: FromWebhook$outboundSchema.optional(),
4705
+ inboundFields: z.record(z.string()).optional(),
4706
+ listAccountId: ListAccountId$outboundSchema.optional(),
4707
+ listApplicationId: ListApplicationId$outboundSchema.optional(),
4708
+ listBranchId: ListBranchId$outboundSchema.optional(),
4709
+ listCalendarId: ListCalendarId$outboundSchema.optional(),
4710
+ listCallId: ListCallId$outboundSchema.optional(),
4711
+ listCandidateId: ListCandidateId$outboundSchema.optional(),
4712
+ listCategoryId: ListCategoryId$outboundSchema.optional(),
4713
+ listChannelId: ListChannelId$outboundSchema.optional(),
4714
+ listClassId: ListClassId$outboundSchema.optional(),
4715
+ listCollectionId: ListCollectionId$outboundSchema.optional(),
4716
+ listCompanyId: ListCompanyId$outboundSchema.optional(),
4717
+ listContactId: ListContactId$outboundSchema.optional(),
4718
+ listCourseId: ListCourseId$outboundSchema.optional(),
4719
+ listCustomerId: ListCustomerId$outboundSchema.optional(),
4720
+ listDealId: ListDealId$outboundSchema.optional(),
4721
+ listDocumentId: ListDocumentId$outboundSchema.optional(),
4722
+ listEndLe: ListEndLe$outboundSchema.optional(),
4723
+ listEndLt: ListEndLt$outboundSchema.optional(),
4724
+ listEventId: ListEventId$outboundSchema.optional(),
4725
+ listExpand: ListExpand$outboundSchema.optional(),
4726
+ listExpandRecurringEvents: ListExpandRecurringEvents$outboundSchema
4727
+ .optional(),
4728
+ listInstructorId: ListInstructorId$outboundSchema.optional(),
4729
+ listInterviewId: ListInterviewId$outboundSchema.optional(),
4730
+ listInvoiceId: ListInvoiceId$outboundSchema.optional(),
4731
+ listItemId: ListItemId$outboundSchema.optional(),
4732
+ listItemVariantId: ListItemVariantId$outboundSchema.optional(),
4733
+ listJobId: ListJobId$outboundSchema.optional(),
4734
+ listLeadId: ListLeadId$outboundSchema.optional(),
4735
+ listLimit: ListLimit$outboundSchema.optional(),
4736
+ listLinkId: ListLinkId$outboundSchema.optional(),
4737
+ listListId: ListListId$outboundSchema.optional(),
4738
+ listLocationId: ListLocationId$outboundSchema.optional(),
4739
+ listOffset: ListOffset$outboundSchema.optional(),
4740
+ listOrder: ListOrder$outboundSchema.optional(),
4741
+ listOrgId: ListOrgId$outboundSchema.optional(),
4742
+ listPackageId: ListPackageId$outboundSchema.optional(),
4743
+ listPageId: ListPageId$outboundSchema.optional(),
4744
+ listParentId: ListParentId$outboundSchema.optional(),
4745
+ listPaymentId: ListPaymentId$outboundSchema.optional(),
4746
+ listPipelineId: ListPipelineId$outboundSchema.optional(),
4747
+ listProjectId: ListProjectId$outboundSchema.optional(),
4748
+ listQuery: ListQuery$outboundSchema.optional(),
4749
+ listRawFields: ListRawFields$outboundSchema.optional(),
4750
+ listRepoId: ListRepoId$outboundSchema.optional(),
4751
+ listRootId: ListRootId$outboundSchema.optional(),
4752
+ listSortByCreatedAt: ListSortByCreatedAt$outboundSchema.optional(),
4753
+ listSortByName: ListSortByName$outboundSchema.optional(),
4754
+ listSortByUpdatedAt: ListSortByUpdatedAt$outboundSchema.optional(),
4755
+ listSpaceId: ListSpaceId$outboundSchema.optional(),
4756
+ listStartGte: ListStartGte$outboundSchema.optional(),
4757
+ listStatus: ListStatus$outboundSchema.optional(),
4758
+ listStudentId: ListStudentId$outboundSchema.optional(),
4759
+ listTaskId: ListTaskId$outboundSchema.optional(),
4760
+ listTeacherId: ListTeacherId$outboundSchema.optional(),
4761
+ listTicketId: ListTicketId$outboundSchema.optional(),
4762
+ listType: ListType$outboundSchema.optional(),
4763
+ listUpdatedGte: ListUpdatedGte$outboundSchema.optional(),
4764
+ listUserId: ListUserId$outboundSchema.optional(),
4765
+ methods: z.record(z.boolean()).optional(),
4766
+ nativeWebhookCalendarId: NativeWebhookCalendarId$outboundSchema.optional(),
4767
+ nativeWebhookChannelId: NativeWebhookChannelId$outboundSchema.optional(),
4768
+ nativeWebhookCompanyId: NativeWebhookCompanyId$outboundSchema.optional(),
4769
+ nativeWebhookEventId: NativeWebhookEventId$outboundSchema.optional(),
4770
+ nativeWebhookParentId: NativeWebhookParentId$outboundSchema.optional(),
4771
+ nativeWebhookProjectId: NativeWebhookProjectId$outboundSchema.optional(),
4772
+ nativeWebhookTaskId: NativeWebhookTaskId$outboundSchema.optional(),
4773
+ outboundFields: z.record(z.string()).optional(),
4774
+ rawObjects: z.array(z.string()).optional(),
4775
+ searchDomain: SearchDomain$outboundSchema.optional(),
4776
+ searchEmail: SearchEmail$outboundSchema.optional(),
4777
+ searchLinkedinurl: SearchLinkedinurl$outboundSchema.optional(),
4778
+ searchName: SearchName$outboundSchema.optional(),
4779
+ searchTwitter: SearchTwitter$outboundSchema.optional(),
4780
+ slowFields: z.array(z.string()).optional(),
4781
+ virtualWebhookApplicationId: VirtualWebhookApplicationId$outboundSchema
4782
+ .optional(),
4783
+ virtualWebhookBranchId: VirtualWebhookBranchId$outboundSchema.optional(),
4784
+ virtualWebhookCalendarId: VirtualWebhookCalendarId$outboundSchema.optional(),
4785
+ virtualWebhookCallId: VirtualWebhookCallId$outboundSchema.optional(),
4786
+ virtualWebhookCandidateId: VirtualWebhookCandidateId$outboundSchema
4787
+ .optional(),
4788
+ virtualWebhookChannelId: VirtualWebhookChannelId$outboundSchema.optional(),
4789
+ virtualWebhookCollectionId: VirtualWebhookCollectionId$outboundSchema
4790
+ .optional(),
4791
+ virtualWebhookCompanyId: VirtualWebhookCompanyId$outboundSchema.optional(),
4792
+ virtualWebhookContactId: VirtualWebhookContactId$outboundSchema.optional(),
4793
+ virtualWebhookCustomerId: VirtualWebhookCustomerId$outboundSchema.optional(),
4794
+ virtualWebhookDealId: VirtualWebhookDealId$outboundSchema.optional(),
4795
+ virtualWebhookEndLe: VirtualWebhookEndLe$outboundSchema.optional(),
4796
+ virtualWebhookEndLt: VirtualWebhookEndLt$outboundSchema.optional(),
4797
+ virtualWebhookEventId: VirtualWebhookEventId$outboundSchema.optional(),
4798
+ virtualWebhookExpand: VirtualWebhookExpand$outboundSchema.optional(),
4799
+ virtualWebhookFields: VirtualWebhookFields$outboundSchema.optional(),
4800
+ virtualWebhookItemId: VirtualWebhookItemId$outboundSchema.optional(),
4801
+ virtualWebhookItemVariantId: VirtualWebhookItemVariantId$outboundSchema
4802
+ .optional(),
4803
+ virtualWebhookJobId: VirtualWebhookJobId$outboundSchema.optional(),
4804
+ virtualWebhookLimit: VirtualWebhookLimit$outboundSchema.optional(),
4805
+ virtualWebhookListId: VirtualWebhookListId$outboundSchema.optional(),
4806
+ virtualWebhookLocationId: VirtualWebhookLocationId$outboundSchema.optional(),
4807
+ virtualWebhookOrgId: VirtualWebhookOrgId$outboundSchema.optional(),
4808
+ virtualWebhookPageId: VirtualWebhookPageId$outboundSchema.optional(),
4809
+ virtualWebhookParentId: VirtualWebhookParentId$outboundSchema.optional(),
4810
+ virtualWebhookPipelineId: VirtualWebhookPipelineId$outboundSchema.optional(),
4811
+ virtualWebhookProjectId: VirtualWebhookProjectId$outboundSchema.optional(),
4812
+ virtualWebhookRepoId: VirtualWebhookRepoId$outboundSchema.optional(),
4813
+ virtualWebhookSpaceId: VirtualWebhookSpaceId$outboundSchema.optional(),
4814
+ virtualWebhookStartGte: VirtualWebhookStartGte$outboundSchema.optional(),
4815
+ virtualWebhookStatus: VirtualWebhookStatus$outboundSchema.optional(),
4816
+ virtualWebhookTaskId: VirtualWebhookTaskId$outboundSchema.optional(),
4817
+ virtualWebhookTicketId: VirtualWebhookTicketId$outboundSchema.optional(),
4818
+ virtualWebhookType: VirtualWebhookType$outboundSchema.optional(),
4819
+ virtualWebhookUpdatedGte: VirtualWebhookUpdatedGte$outboundSchema.optional(),
4820
+ virtualWebhookUserId: VirtualWebhookUserId$outboundSchema.optional(),
4821
+ webhookEvents: PropertyIntegrationSupportWebhookEvents$outboundSchema
4822
+ .optional(),
4823
+ }).transform((v) => {
4824
+ return remap$(v, {
4825
+ fromWebhook: "from_webhook",
4826
+ inboundFields: "inbound_fields",
4827
+ listAccountId: "list_account_id",
4828
+ listApplicationId: "list_application_id",
4829
+ listBranchId: "list_branch_id",
4830
+ listCalendarId: "list_calendar_id",
4831
+ listCallId: "list_call_id",
4832
+ listCandidateId: "list_candidate_id",
4833
+ listCategoryId: "list_category_id",
4834
+ listChannelId: "list_channel_id",
4835
+ listClassId: "list_class_id",
4836
+ listCollectionId: "list_collection_id",
4837
+ listCompanyId: "list_company_id",
4838
+ listContactId: "list_contact_id",
4839
+ listCourseId: "list_course_id",
4840
+ listCustomerId: "list_customer_id",
4841
+ listDealId: "list_deal_id",
4842
+ listDocumentId: "list_document_id",
4843
+ listEndLe: "list_end_le",
4844
+ listEndLt: "list_end_lt",
4845
+ listEventId: "list_event_id",
4846
+ listExpand: "list_expand",
4847
+ listExpandRecurringEvents: "list_expand_recurring_events",
4848
+ listInstructorId: "list_instructor_id",
4849
+ listInterviewId: "list_interview_id",
4850
+ listInvoiceId: "list_invoice_id",
4851
+ listItemId: "list_item_id",
4852
+ listItemVariantId: "list_item_variant_id",
4853
+ listJobId: "list_job_id",
4854
+ listLeadId: "list_lead_id",
4855
+ listLimit: "list_limit",
4856
+ listLinkId: "list_link_id",
4857
+ listListId: "list_list_id",
4858
+ listLocationId: "list_location_id",
4859
+ listOffset: "list_offset",
4860
+ listOrder: "list_order",
4861
+ listOrgId: "list_org_id",
4862
+ listPackageId: "list_package_id",
4863
+ listPageId: "list_page_id",
4864
+ listParentId: "list_parent_id",
4865
+ listPaymentId: "list_payment_id",
4866
+ listPipelineId: "list_pipeline_id",
4867
+ listProjectId: "list_project_id",
4868
+ listQuery: "list_query",
4869
+ listRawFields: "list_raw_fields",
4870
+ listRepoId: "list_repo_id",
4871
+ listRootId: "list_root_id",
4872
+ listSortByCreatedAt: "list_sort_by_created_at",
4873
+ listSortByName: "list_sort_by_name",
4874
+ listSortByUpdatedAt: "list_sort_by_updated_at",
4875
+ listSpaceId: "list_space_id",
4876
+ listStartGte: "list_start_gte",
4877
+ listStatus: "list_status",
4878
+ listStudentId: "list_student_id",
4879
+ listTaskId: "list_task_id",
4880
+ listTeacherId: "list_teacher_id",
4881
+ listTicketId: "list_ticket_id",
4882
+ listType: "list_type",
4883
+ listUpdatedGte: "list_updated_gte",
4884
+ listUserId: "list_user_id",
4885
+ nativeWebhookCalendarId: "native_webhook_calendar_id",
4886
+ nativeWebhookChannelId: "native_webhook_channel_id",
4887
+ nativeWebhookCompanyId: "native_webhook_company_id",
4888
+ nativeWebhookEventId: "native_webhook_event_id",
4889
+ nativeWebhookParentId: "native_webhook_parent_id",
4890
+ nativeWebhookProjectId: "native_webhook_project_id",
4891
+ nativeWebhookTaskId: "native_webhook_task_id",
4892
+ outboundFields: "outbound_fields",
4893
+ rawObjects: "raw_objects",
4894
+ searchDomain: "search_domain",
4895
+ searchEmail: "search_email",
4896
+ searchLinkedinurl: "search_linkedinurl",
4897
+ searchName: "search_name",
4898
+ searchTwitter: "search_twitter",
4899
+ slowFields: "slow_fields",
4900
+ virtualWebhookApplicationId: "virtual_webhook_application_id",
4901
+ virtualWebhookBranchId: "virtual_webhook_branch_id",
4902
+ virtualWebhookCalendarId: "virtual_webhook_calendar_id",
4903
+ virtualWebhookCallId: "virtual_webhook_call_id",
4904
+ virtualWebhookCandidateId: "virtual_webhook_candidate_id",
4905
+ virtualWebhookChannelId: "virtual_webhook_channel_id",
4906
+ virtualWebhookCollectionId: "virtual_webhook_collection_id",
4907
+ virtualWebhookCompanyId: "virtual_webhook_company_id",
4908
+ virtualWebhookContactId: "virtual_webhook_contact_id",
4909
+ virtualWebhookCustomerId: "virtual_webhook_customer_id",
4910
+ virtualWebhookDealId: "virtual_webhook_deal_id",
4911
+ virtualWebhookEndLe: "virtual_webhook_end_le",
4912
+ virtualWebhookEndLt: "virtual_webhook_end_lt",
4913
+ virtualWebhookEventId: "virtual_webhook_event_id",
4914
+ virtualWebhookExpand: "virtual_webhook_expand",
4915
+ virtualWebhookFields: "virtual_webhook_fields",
4916
+ virtualWebhookItemId: "virtual_webhook_item_id",
4917
+ virtualWebhookItemVariantId: "virtual_webhook_item_variant_id",
4918
+ virtualWebhookJobId: "virtual_webhook_job_id",
4919
+ virtualWebhookLimit: "virtual_webhook_limit",
4920
+ virtualWebhookListId: "virtual_webhook_list_id",
4921
+ virtualWebhookLocationId: "virtual_webhook_location_id",
4922
+ virtualWebhookOrgId: "virtual_webhook_org_id",
4923
+ virtualWebhookPageId: "virtual_webhook_page_id",
4924
+ virtualWebhookParentId: "virtual_webhook_parent_id",
4925
+ virtualWebhookPipelineId: "virtual_webhook_pipeline_id",
4926
+ virtualWebhookProjectId: "virtual_webhook_project_id",
4927
+ virtualWebhookRepoId: "virtual_webhook_repo_id",
4928
+ virtualWebhookSpaceId: "virtual_webhook_space_id",
4929
+ virtualWebhookStartGte: "virtual_webhook_start_gte",
4930
+ virtualWebhookStatus: "virtual_webhook_status",
4931
+ virtualWebhookTaskId: "virtual_webhook_task_id",
4932
+ virtualWebhookTicketId: "virtual_webhook_ticket_id",
4933
+ virtualWebhookType: "virtual_webhook_type",
4934
+ virtualWebhookUpdatedGte: "virtual_webhook_updated_gte",
4935
+ virtualWebhookUserId: "virtual_webhook_user_id",
4936
+ webhookEvents: "webhook_events",
4937
+ });
4938
+ });
4939
+
4940
+ /**
4941
+ * @internal
4942
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4943
+ */
4944
+ export namespace IntegrationSupport$ {
4945
+ /** @deprecated use `IntegrationSupport$inboundSchema` instead. */
4946
+ export const inboundSchema = IntegrationSupport$inboundSchema;
4947
+ /** @deprecated use `IntegrationSupport$outboundSchema` instead. */
4948
+ export const outboundSchema = IntegrationSupport$outboundSchema;
4949
+ /** @deprecated use `IntegrationSupport$Outbound` instead. */
4950
+ export type Outbound = IntegrationSupport$Outbound;
4951
+ }
4952
+
4953
+ export function integrationSupportToJSON(
4954
+ integrationSupport: IntegrationSupport,
4955
+ ): string {
4956
+ return JSON.stringify(
4957
+ IntegrationSupport$outboundSchema.parse(integrationSupport),
4958
+ );
4959
+ }
4960
+
4961
+ export function integrationSupportFromJSON(
4962
+ jsonString: string,
4963
+ ): SafeParseResult<IntegrationSupport, SDKValidationError> {
4964
+ return safeParse(
4965
+ jsonString,
4966
+ (x) => IntegrationSupport$inboundSchema.parse(JSON.parse(x)),
4967
+ `Failed to parse 'IntegrationSupport' from JSON`,
4968
+ );
4969
+ }