@kl1/contracts 1.3.7 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +22 -23
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +5 -6
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +148 -164
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +24 -26
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -15
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  22. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  24. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  26. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/category/index.d.ts +109 -118
  28. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  30. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
  32. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/schema.d.ts +54 -54
  34. package/dist/api-contracts/src/channel/validation.d.ts +72 -72
  35. package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
  36. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
  38. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
  40. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/comment/index.d.ts +299 -371
  42. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/comment/schema.d.ts +75 -98
  44. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  46. package/dist/api-contracts/src/company/index.d.ts +109 -136
  47. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  49. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  51. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  53. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  55. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  57. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  59. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  61. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contract.d.ts +25882 -27370
  63. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  64. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  65. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  68. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
  70. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
  72. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
  74. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  76. package/dist/api-contracts/src/dashboard/index.d.ts +361 -402
  77. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  79. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  81. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  82. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  83. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  85. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  86. package/dist/api-contracts/src/export/index.d.ts +3 -4
  87. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  89. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
  91. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
  93. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
  95. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  96. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  97. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  98. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
  100. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
  102. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  103. package/dist/api-contracts/src/index.d.ts +1 -0
  104. package/dist/api-contracts/src/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/instagram/index.d.ts +3873 -3933
  106. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  108. package/dist/api-contracts/src/line/index.d.ts +2073 -2133
  109. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  111. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  112. package/dist/api-contracts/src/line/validation.d.ts +127 -127
  113. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  114. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  116. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  118. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-contract.d.ts +451 -502
  120. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  122. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  124. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
  126. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  127. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  128. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +30 -36
  129. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +20 -27
  131. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
  133. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
  135. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  136. package/dist/api-contracts/src/notification/index.d.ts +27 -34
  137. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/notification/schema.d.ts +15 -18
  139. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/notification/validation.d.ts +5 -6
  141. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  143. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  144. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  145. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  146. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  148. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  150. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  151. package/dist/api-contracts/src/role/index.d.ts +83 -88
  152. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  153. package/dist/api-contracts/src/sms/index.d.ts +345 -349
  154. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  156. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  158. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  160. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  161. package/dist/api-contracts/src/subscription/index.d.ts +51 -74
  162. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  163. package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
  164. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  166. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  168. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
  172. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
  174. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +7 -9
  176. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  178. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1170 -1245
  179. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  180. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
  181. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  183. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  185. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  186. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  187. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  189. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  191. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/ticket/index.d.ts +679 -790
  193. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
  195. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  197. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  199. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  200. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  201. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user/index.d.ts +148 -159
  203. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  204. package/dist/api-contracts/src/user/schema.d.ts +5 -6
  205. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  206. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  207. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  208. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  209. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +7 -9
  211. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  212. package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
  213. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
  215. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  216. package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
  217. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
  219. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  220. package/dist/api-contracts/src/widget/index.d.ts +144 -155
  221. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  223. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  225. package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
  226. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  228. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  230. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  232. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  234. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  235. package/dist/api-contracts/utils.d.ts +3 -4
  236. package/dist/api-contracts/utils.d.ts.map +1 -1
  237. package/dist/index.js +53 -58
  238. package/dist/index.js.map +1 -1
  239. package/dist/index.mjs +52 -58
  240. package/dist/index.mjs.map +1 -1
  241. package/package.json +1 -1
@@ -44,43 +44,41 @@ export declare const publicApiContract: {
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  name: string;
46
46
  customFields: Record<string, string>;
47
- channel?: string | undefined;
48
- address?: string | undefined;
49
47
  email?: {
50
48
  isPrimary: boolean;
51
49
  email: string;
52
50
  }[] | undefined;
51
+ channel?: string | undefined;
52
+ address?: string | undefined;
53
53
  phone?: {
54
54
  isPrimary: boolean;
55
55
  phone: string;
56
56
  }[] | undefined;
57
- company?: string | undefined;
58
57
  notes?: string | undefined;
59
58
  tags?: string[] | undefined;
59
+ company?: string | undefined;
60
60
  }, {
61
61
  name: string;
62
62
  customFields: Record<string, string>;
63
- channel?: string | undefined;
64
- address?: string | undefined;
65
63
  email?: {
66
64
  isPrimary: boolean;
67
65
  email: string;
68
66
  }[] | undefined;
67
+ channel?: string | undefined;
68
+ address?: string | undefined;
69
69
  phone?: {
70
70
  isPrimary: boolean;
71
71
  phone: string;
72
72
  }[] | undefined;
73
- company?: string | undefined;
74
73
  notes?: string | undefined;
75
74
  tags?: string[] | undefined;
75
+ company?: string | undefined;
76
76
  }>;
77
77
  summary: "Create a new contact";
78
78
  method: "POST";
79
- path: "api/v1/contacts";
80
79
  responses: {
81
- 201: z.ZodObject<z.objectUtil.extendShape<{
80
+ 201: z.ZodObject<{
82
81
  requestId: z.ZodString;
83
- }, {
84
82
  data: z.ZodObject<{
85
83
  id: z.ZodString;
86
84
  createdAt: z.ZodDate;
@@ -92,14 +90,13 @@ export declare const publicApiContract: {
92
90
  notes: z.ZodNullable<z.ZodString>;
93
91
  contactProfile: z.ZodNullable<z.ZodString>;
94
92
  socialProfileUrl: z.ZodNullable<z.ZodString>;
95
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
93
+ tags: z.ZodArray<z.ZodObject<{
96
94
  id: z.ZodString;
97
95
  createdAt: z.ZodDate;
98
96
  updatedAt: z.ZodDate;
99
97
  deletedAt: z.ZodNullable<z.ZodDate>;
100
- }, {
101
98
  name: z.ZodString;
102
- }>, "strip", z.ZodTypeAny, {
99
+ }, "strip", z.ZodTypeAny, {
103
100
  name: string;
104
101
  id: string;
105
102
  createdAt: Date;
@@ -112,32 +109,29 @@ export declare const publicApiContract: {
112
109
  updatedAt: Date;
113
110
  deletedAt: Date | null;
114
111
  }>, "many">;
115
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
112
+ company: z.ZodNullable<z.ZodObject<Omit<{
116
113
  id: z.ZodString;
117
114
  createdAt: z.ZodDate;
118
115
  updatedAt: z.ZodDate;
119
116
  deletedAt: z.ZodNullable<z.ZodDate>;
120
- }, {
121
117
  name: z.ZodOptional<z.ZodString>;
122
118
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
119
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
120
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
121
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
122
  id: z.ZodString;
127
123
  createdAt: z.ZodDate;
128
124
  updatedAt: z.ZodDate;
129
125
  deletedAt: z.ZodNullable<z.ZodDate>;
130
- }, {
131
126
  textValue: z.ZodNullable<z.ZodString>;
132
127
  booleanValue: z.ZodNullable<z.ZodBoolean>;
133
128
  numberValue: z.ZodNullable<z.ZodNumber>;
134
129
  dateValue: z.ZodNullable<z.ZodDate>;
135
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
130
+ attribute: z.ZodObject<Omit<{
136
131
  id: z.ZodString;
137
132
  createdAt: z.ZodDate;
138
133
  updatedAt: z.ZodDate;
139
134
  deletedAt: z.ZodNullable<z.ZodDate>;
140
- }, {
141
135
  systemName: z.ZodString;
142
136
  displayName: z.ZodString;
143
137
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -146,14 +140,13 @@ export declare const publicApiContract: {
146
140
  isArchived: z.ZodBoolean;
147
141
  isRequired: z.ZodBoolean;
148
142
  isUnique: z.ZodBoolean;
149
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
150
- label: z.ZodString;
143
+ options: z.ZodArray<z.ZodObject<{
144
+ position: z.ZodNumber;
151
145
  value: z.ZodString;
146
+ label: z.ZodString;
152
147
  isDefault: z.ZodBoolean;
153
- position: z.ZodNumber;
154
- }, {
155
148
  id: z.ZodString;
156
- }>, "strip", z.ZodTypeAny, {
149
+ }, "strip", z.ZodTypeAny, {
157
150
  id: string;
158
151
  position: number;
159
152
  value: string;
@@ -166,15 +159,14 @@ export declare const publicApiContract: {
166
159
  label: string;
167
160
  isDefault: boolean;
168
161
  }>, "many">;
169
- group: z.ZodObject<z.objectUtil.extendShape<{
162
+ group: z.ZodObject<{
170
163
  id: z.ZodString;
171
164
  createdAt: z.ZodDate;
172
165
  updatedAt: z.ZodDate;
173
166
  deletedAt: z.ZodNullable<z.ZodDate>;
174
- }, {
175
167
  systemName: z.ZodString;
176
168
  displayName: z.ZodString;
177
- }>, "strip", z.ZodTypeAny, {
169
+ }, "strip", z.ZodTypeAny, {
178
170
  id: string;
179
171
  createdAt: Date;
180
172
  updatedAt: Date;
@@ -189,7 +181,7 @@ export declare const publicApiContract: {
189
181
  systemName: string;
190
182
  displayName: string;
191
183
  }>;
192
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
184
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
193
185
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
194
186
  id: string;
195
187
  position: number;
@@ -216,7 +208,7 @@ export declare const publicApiContract: {
216
208
  isRequired: boolean;
217
209
  isUnique: boolean;
218
210
  }>;
219
- }>, "strip", z.ZodTypeAny, {
211
+ }, "strip", z.ZodTypeAny, {
220
212
  id: string;
221
213
  createdAt: Date;
222
214
  updatedAt: Date;
@@ -263,7 +255,7 @@ export declare const publicApiContract: {
263
255
  numberValue: number | null;
264
256
  dateValue: Date | null;
265
257
  }>, "many">>;
266
- }>, "customFields">, "strip", z.ZodTypeAny, {
258
+ }, "customFields">, "strip", z.ZodTypeAny, {
267
259
  id: string;
268
260
  createdAt: Date;
269
261
  updatedAt: Date;
@@ -291,12 +283,11 @@ export declare const publicApiContract: {
291
283
  booleanValue: z.ZodNullable<z.ZodBoolean>;
292
284
  numberValue: z.ZodNullable<z.ZodNumber>;
293
285
  dateValue: z.ZodNullable<z.ZodDate>;
294
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
286
+ attribute: z.ZodObject<Omit<{
295
287
  id: z.ZodString;
296
288
  createdAt: z.ZodDate;
297
289
  updatedAt: z.ZodDate;
298
290
  deletedAt: z.ZodNullable<z.ZodDate>;
299
- }, {
300
291
  systemName: z.ZodString;
301
292
  displayName: z.ZodString;
302
293
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -305,14 +296,13 @@ export declare const publicApiContract: {
305
296
  isArchived: z.ZodBoolean;
306
297
  isRequired: z.ZodBoolean;
307
298
  isUnique: z.ZodBoolean;
308
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
309
- label: z.ZodString;
299
+ options: z.ZodArray<z.ZodObject<{
300
+ position: z.ZodNumber;
310
301
  value: z.ZodString;
302
+ label: z.ZodString;
311
303
  isDefault: z.ZodBoolean;
312
- position: z.ZodNumber;
313
- }, {
314
304
  id: z.ZodString;
315
- }>, "strip", z.ZodTypeAny, {
305
+ }, "strip", z.ZodTypeAny, {
316
306
  id: string;
317
307
  position: number;
318
308
  value: string;
@@ -325,15 +315,14 @@ export declare const publicApiContract: {
325
315
  label: string;
326
316
  isDefault: boolean;
327
317
  }>, "many">;
328
- group: z.ZodObject<z.objectUtil.extendShape<{
318
+ group: z.ZodObject<{
329
319
  id: z.ZodString;
330
320
  createdAt: z.ZodDate;
331
321
  updatedAt: z.ZodDate;
332
322
  deletedAt: z.ZodNullable<z.ZodDate>;
333
- }, {
334
323
  systemName: z.ZodString;
335
324
  displayName: z.ZodString;
336
- }>, "strip", z.ZodTypeAny, {
325
+ }, "strip", z.ZodTypeAny, {
337
326
  id: string;
338
327
  createdAt: Date;
339
328
  updatedAt: Date;
@@ -348,7 +337,7 @@ export declare const publicApiContract: {
348
337
  systemName: string;
349
338
  displayName: string;
350
339
  }>;
351
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
340
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
352
341
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
353
342
  id: string;
354
343
  position: number;
@@ -375,19 +364,18 @@ export declare const publicApiContract: {
375
364
  isRequired: boolean;
376
365
  isUnique: boolean;
377
366
  }>;
378
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
367
+ uploads: z.ZodArray<z.ZodObject<{
379
368
  id: z.ZodString;
380
369
  createdAt: z.ZodDate;
381
370
  updatedAt: z.ZodDate;
382
371
  deletedAt: z.ZodNullable<z.ZodDate>;
383
- }, {
384
372
  bucketName: z.ZodString;
385
373
  fileName: z.ZodString;
386
374
  fileSize: z.ZodNumber;
387
375
  fileKey: z.ZodString;
388
376
  fileUrl: z.ZodNullable<z.ZodString>;
389
377
  status: z.ZodNullable<z.ZodString>;
390
- }>, "strip", z.ZodTypeAny, {
378
+ }, "strip", z.ZodTypeAny, {
391
379
  id: string;
392
380
  status: string | null;
393
381
  createdAt: Date;
@@ -778,7 +766,7 @@ export declare const publicApiContract: {
778
766
  };
779
767
  }[] | undefined;
780
768
  }>;
781
- }>, "strip", z.ZodTypeAny, {
769
+ }, "strip", z.ZodTypeAny, {
782
770
  data: {
783
771
  name: string;
784
772
  id: string;
@@ -1032,6 +1020,7 @@ export declare const publicApiContract: {
1032
1020
  error?: any;
1033
1021
  }>;
1034
1022
  };
1023
+ path: "api/v1/contacts";
1035
1024
  };
1036
1025
  getAllTags: {
1037
1026
  method: "GET";
@@ -1045,19 +1034,16 @@ export declare const publicApiContract: {
1045
1034
  group?: "general" | "contact" | undefined;
1046
1035
  keyword?: string | undefined;
1047
1036
  }>>;
1048
- path: "api/v1/tags";
1049
1037
  responses: {
1050
- 200: z.ZodObject<z.objectUtil.extendShape<{
1038
+ 200: z.ZodObject<{
1051
1039
  requestId: z.ZodString;
1052
- }, {
1053
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1040
+ tags: z.ZodArray<z.ZodObject<{
1054
1041
  id: z.ZodString;
1055
1042
  createdAt: z.ZodDate;
1056
1043
  updatedAt: z.ZodDate;
1057
1044
  deletedAt: z.ZodNullable<z.ZodDate>;
1058
- }, {
1059
1045
  name: z.ZodString;
1060
- }>, "strip", z.ZodTypeAny, {
1046
+ }, "strip", z.ZodTypeAny, {
1061
1047
  name: string;
1062
1048
  id: string;
1063
1049
  createdAt: Date;
@@ -1070,7 +1056,7 @@ export declare const publicApiContract: {
1070
1056
  updatedAt: Date;
1071
1057
  deletedAt: Date | null;
1072
1058
  }>, "many">;
1073
- }>, "strip", z.ZodTypeAny, {
1059
+ }, "strip", z.ZodTypeAny, {
1074
1060
  requestId: string;
1075
1061
  tags: {
1076
1062
  name: string;
@@ -1144,6 +1130,7 @@ export declare const publicApiContract: {
1144
1130
  error?: any;
1145
1131
  }>;
1146
1132
  };
1133
+ path: "api/v1/tags";
1147
1134
  };
1148
1135
  getAllContact: {
1149
1136
  summary: "Get all contacts";
@@ -1163,11 +1150,11 @@ export declare const publicApiContract: {
1163
1150
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1164
1151
  }, "strip", z.ZodTypeAny, {
1165
1152
  type: string;
1166
- value: string | string[];
1153
+ value: (string | string[]) & (string | string[] | undefined);
1167
1154
  attributeId: string;
1168
1155
  }, {
1169
1156
  type: string;
1170
- value: string | string[];
1157
+ value: (string | string[]) & (string | string[] | undefined);
1171
1158
  attributeId: string;
1172
1159
  }>, "many">>;
1173
1160
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1175,47 +1162,45 @@ export declare const publicApiContract: {
1175
1162
  email: z.ZodOptional<z.ZodString>;
1176
1163
  notes: z.ZodOptional<z.ZodString>;
1177
1164
  }, "strip", z.ZodTypeAny, {
1178
- name?: string | undefined;
1179
- channel?: string[] | undefined;
1180
- address?: string | undefined;
1181
1165
  page?: number | undefined;
1182
- email?: string | undefined;
1183
1166
  pageSize?: number | undefined;
1184
- phone?: string | undefined;
1167
+ keyword?: string | undefined;
1168
+ company?: string[] | undefined;
1169
+ name?: string | undefined;
1170
+ address?: string | undefined;
1171
+ channel?: string[] | undefined;
1172
+ selectedDate?: string | undefined;
1185
1173
  customFields?: {
1186
1174
  type: string;
1187
- value: string | string[];
1175
+ value: (string | string[]) & (string | string[] | undefined);
1188
1176
  attributeId: string;
1189
1177
  }[] | undefined;
1190
- company?: string[] | undefined;
1191
- notes?: string | undefined;
1192
1178
  tags?: string[] | undefined;
1193
- keyword?: string | undefined;
1194
- selectedDate?: string | undefined;
1179
+ phone?: string | undefined;
1180
+ email?: string | undefined;
1181
+ notes?: string | undefined;
1195
1182
  }, {
1196
- name?: string | undefined;
1197
- channel?: string[] | undefined;
1198
- address?: string | undefined;
1199
1183
  page?: number | undefined;
1200
- email?: string | undefined;
1201
1184
  pageSize?: number | undefined;
1202
- phone?: string | undefined;
1185
+ keyword?: string | undefined;
1186
+ company?: string[] | undefined;
1187
+ name?: string | undefined;
1188
+ address?: string | undefined;
1189
+ channel?: string[] | undefined;
1190
+ selectedDate?: string | undefined;
1203
1191
  customFields?: {
1204
1192
  type: string;
1205
- value: string | string[];
1193
+ value: (string | string[]) & (string | string[] | undefined);
1206
1194
  attributeId: string;
1207
1195
  }[] | undefined;
1208
- company?: string[] | undefined;
1209
- notes?: string | undefined;
1210
1196
  tags?: string[] | undefined;
1211
- keyword?: string | undefined;
1212
- selectedDate?: string | undefined;
1197
+ phone?: string | undefined;
1198
+ email?: string | undefined;
1199
+ notes?: string | undefined;
1213
1200
  }>;
1214
- path: "api/v1/contacts";
1215
1201
  responses: {
1216
- 200: z.ZodObject<z.objectUtil.extendShape<{
1202
+ 200: z.ZodObject<{
1217
1203
  requestId: z.ZodString;
1218
- }, {
1219
1204
  page: z.ZodNumber;
1220
1205
  pageSize: z.ZodNumber;
1221
1206
  total: z.ZodNumber;
@@ -1231,14 +1216,13 @@ export declare const publicApiContract: {
1231
1216
  notes: z.ZodNullable<z.ZodString>;
1232
1217
  contactProfile: z.ZodNullable<z.ZodString>;
1233
1218
  socialProfileUrl: z.ZodNullable<z.ZodString>;
1234
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1219
+ tags: z.ZodArray<z.ZodObject<{
1235
1220
  id: z.ZodString;
1236
1221
  createdAt: z.ZodDate;
1237
1222
  updatedAt: z.ZodDate;
1238
1223
  deletedAt: z.ZodNullable<z.ZodDate>;
1239
- }, {
1240
1224
  name: z.ZodString;
1241
- }>, "strip", z.ZodTypeAny, {
1225
+ }, "strip", z.ZodTypeAny, {
1242
1226
  name: string;
1243
1227
  id: string;
1244
1228
  createdAt: Date;
@@ -1251,32 +1235,29 @@ export declare const publicApiContract: {
1251
1235
  updatedAt: Date;
1252
1236
  deletedAt: Date | null;
1253
1237
  }>, "many">;
1254
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
1238
+ company: z.ZodNullable<z.ZodObject<Omit<{
1255
1239
  id: z.ZodString;
1256
1240
  createdAt: z.ZodDate;
1257
1241
  updatedAt: z.ZodDate;
1258
1242
  deletedAt: z.ZodNullable<z.ZodDate>;
1259
- }, {
1260
1243
  name: z.ZodOptional<z.ZodString>;
1261
1244
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1262
1245
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1263
1246
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1247
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
1248
  id: z.ZodString;
1266
1249
  createdAt: z.ZodDate;
1267
1250
  updatedAt: z.ZodDate;
1268
1251
  deletedAt: z.ZodNullable<z.ZodDate>;
1269
- }, {
1270
1252
  textValue: z.ZodNullable<z.ZodString>;
1271
1253
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1272
1254
  numberValue: z.ZodNullable<z.ZodNumber>;
1273
1255
  dateValue: z.ZodNullable<z.ZodDate>;
1274
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1256
+ attribute: z.ZodObject<Omit<{
1275
1257
  id: z.ZodString;
1276
1258
  createdAt: z.ZodDate;
1277
1259
  updatedAt: z.ZodDate;
1278
1260
  deletedAt: z.ZodNullable<z.ZodDate>;
1279
- }, {
1280
1261
  systemName: z.ZodString;
1281
1262
  displayName: z.ZodString;
1282
1263
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1285,14 +1266,13 @@ export declare const publicApiContract: {
1285
1266
  isArchived: z.ZodBoolean;
1286
1267
  isRequired: z.ZodBoolean;
1287
1268
  isUnique: z.ZodBoolean;
1288
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1289
- label: z.ZodString;
1269
+ options: z.ZodArray<z.ZodObject<{
1270
+ position: z.ZodNumber;
1290
1271
  value: z.ZodString;
1272
+ label: z.ZodString;
1291
1273
  isDefault: z.ZodBoolean;
1292
- position: z.ZodNumber;
1293
- }, {
1294
1274
  id: z.ZodString;
1295
- }>, "strip", z.ZodTypeAny, {
1275
+ }, "strip", z.ZodTypeAny, {
1296
1276
  id: string;
1297
1277
  position: number;
1298
1278
  value: string;
@@ -1305,15 +1285,14 @@ export declare const publicApiContract: {
1305
1285
  label: string;
1306
1286
  isDefault: boolean;
1307
1287
  }>, "many">;
1308
- group: z.ZodObject<z.objectUtil.extendShape<{
1288
+ group: z.ZodObject<{
1309
1289
  id: z.ZodString;
1310
1290
  createdAt: z.ZodDate;
1311
1291
  updatedAt: z.ZodDate;
1312
1292
  deletedAt: z.ZodNullable<z.ZodDate>;
1313
- }, {
1314
1293
  systemName: z.ZodString;
1315
1294
  displayName: z.ZodString;
1316
- }>, "strip", z.ZodTypeAny, {
1295
+ }, "strip", z.ZodTypeAny, {
1317
1296
  id: string;
1318
1297
  createdAt: Date;
1319
1298
  updatedAt: Date;
@@ -1328,7 +1307,7 @@ export declare const publicApiContract: {
1328
1307
  systemName: string;
1329
1308
  displayName: string;
1330
1309
  }>;
1331
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1310
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1332
1311
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1333
1312
  id: string;
1334
1313
  position: number;
@@ -1355,7 +1334,7 @@ export declare const publicApiContract: {
1355
1334
  isRequired: boolean;
1356
1335
  isUnique: boolean;
1357
1336
  }>;
1358
- }>, "strip", z.ZodTypeAny, {
1337
+ }, "strip", z.ZodTypeAny, {
1359
1338
  id: string;
1360
1339
  createdAt: Date;
1361
1340
  updatedAt: Date;
@@ -1402,7 +1381,7 @@ export declare const publicApiContract: {
1402
1381
  numberValue: number | null;
1403
1382
  dateValue: Date | null;
1404
1383
  }>, "many">>;
1405
- }>, "customFields">, "strip", z.ZodTypeAny, {
1384
+ }, "customFields">, "strip", z.ZodTypeAny, {
1406
1385
  id: string;
1407
1386
  createdAt: Date;
1408
1387
  updatedAt: Date;
@@ -1430,12 +1409,11 @@ export declare const publicApiContract: {
1430
1409
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1431
1410
  numberValue: z.ZodNullable<z.ZodNumber>;
1432
1411
  dateValue: z.ZodNullable<z.ZodDate>;
1433
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1412
+ attribute: z.ZodObject<Omit<{
1434
1413
  id: z.ZodString;
1435
1414
  createdAt: z.ZodDate;
1436
1415
  updatedAt: z.ZodDate;
1437
1416
  deletedAt: z.ZodNullable<z.ZodDate>;
1438
- }, {
1439
1417
  systemName: z.ZodString;
1440
1418
  displayName: z.ZodString;
1441
1419
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1444,14 +1422,13 @@ export declare const publicApiContract: {
1444
1422
  isArchived: z.ZodBoolean;
1445
1423
  isRequired: z.ZodBoolean;
1446
1424
  isUnique: z.ZodBoolean;
1447
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1448
- label: z.ZodString;
1425
+ options: z.ZodArray<z.ZodObject<{
1426
+ position: z.ZodNumber;
1449
1427
  value: z.ZodString;
1428
+ label: z.ZodString;
1450
1429
  isDefault: z.ZodBoolean;
1451
- position: z.ZodNumber;
1452
- }, {
1453
1430
  id: z.ZodString;
1454
- }>, "strip", z.ZodTypeAny, {
1431
+ }, "strip", z.ZodTypeAny, {
1455
1432
  id: string;
1456
1433
  position: number;
1457
1434
  value: string;
@@ -1464,15 +1441,14 @@ export declare const publicApiContract: {
1464
1441
  label: string;
1465
1442
  isDefault: boolean;
1466
1443
  }>, "many">;
1467
- group: z.ZodObject<z.objectUtil.extendShape<{
1444
+ group: z.ZodObject<{
1468
1445
  id: z.ZodString;
1469
1446
  createdAt: z.ZodDate;
1470
1447
  updatedAt: z.ZodDate;
1471
1448
  deletedAt: z.ZodNullable<z.ZodDate>;
1472
- }, {
1473
1449
  systemName: z.ZodString;
1474
1450
  displayName: z.ZodString;
1475
- }>, "strip", z.ZodTypeAny, {
1451
+ }, "strip", z.ZodTypeAny, {
1476
1452
  id: string;
1477
1453
  createdAt: Date;
1478
1454
  updatedAt: Date;
@@ -1487,7 +1463,7 @@ export declare const publicApiContract: {
1487
1463
  systemName: string;
1488
1464
  displayName: string;
1489
1465
  }>;
1490
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1466
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1491
1467
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1492
1468
  id: string;
1493
1469
  position: number;
@@ -1514,19 +1490,18 @@ export declare const publicApiContract: {
1514
1490
  isRequired: boolean;
1515
1491
  isUnique: boolean;
1516
1492
  }>;
1517
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1493
+ uploads: z.ZodArray<z.ZodObject<{
1518
1494
  id: z.ZodString;
1519
1495
  createdAt: z.ZodDate;
1520
1496
  updatedAt: z.ZodDate;
1521
1497
  deletedAt: z.ZodNullable<z.ZodDate>;
1522
- }, {
1523
1498
  bucketName: z.ZodString;
1524
1499
  fileName: z.ZodString;
1525
1500
  fileSize: z.ZodNumber;
1526
1501
  fileKey: z.ZodString;
1527
1502
  fileUrl: z.ZodNullable<z.ZodString>;
1528
1503
  status: z.ZodNullable<z.ZodString>;
1529
- }>, "strip", z.ZodTypeAny, {
1504
+ }, "strip", z.ZodTypeAny, {
1530
1505
  id: string;
1531
1506
  status: string | null;
1532
1507
  createdAt: Date;
@@ -1917,7 +1892,7 @@ export declare const publicApiContract: {
1917
1892
  };
1918
1893
  }[] | undefined;
1919
1894
  }>, "many">;
1920
- }>, "strip", z.ZodTypeAny, {
1895
+ }, "strip", z.ZodTypeAny, {
1921
1896
  data: {
1922
1897
  name: string;
1923
1898
  id: string;
@@ -2179,6 +2154,7 @@ export declare const publicApiContract: {
2179
2154
  error?: any;
2180
2155
  }>;
2181
2156
  };
2157
+ path: "api/v1/contacts";
2182
2158
  };
2183
2159
  getContactFields: {
2184
2160
  summary: "Get contact custom fields.";
@@ -2193,11 +2169,9 @@ export declare const publicApiContract: {
2193
2169
  page?: number | undefined;
2194
2170
  pageSize?: number | undefined;
2195
2171
  }>;
2196
- path: "api/v1/contacts/fields";
2197
2172
  responses: {
2198
- 200: z.ZodObject<z.objectUtil.extendShape<{
2173
+ 200: z.ZodObject<{
2199
2174
  requestId: z.ZodString;
2200
- }, {
2201
2175
  page: z.ZodNumber;
2202
2176
  pageSize: z.ZodNumber;
2203
2177
  total: z.ZodNumber;
@@ -2211,12 +2185,11 @@ export declare const publicApiContract: {
2211
2185
  booleanValue: z.ZodNullable<z.ZodBoolean>;
2212
2186
  numberValue: z.ZodNullable<z.ZodNumber>;
2213
2187
  dateValue: z.ZodNullable<z.ZodDate>;
2214
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
2188
+ attribute: z.ZodObject<Omit<{
2215
2189
  id: z.ZodString;
2216
2190
  createdAt: z.ZodDate;
2217
2191
  updatedAt: z.ZodDate;
2218
2192
  deletedAt: z.ZodNullable<z.ZodDate>;
2219
- }, {
2220
2193
  systemName: z.ZodString;
2221
2194
  displayName: z.ZodString;
2222
2195
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -2225,14 +2198,13 @@ export declare const publicApiContract: {
2225
2198
  isArchived: z.ZodBoolean;
2226
2199
  isRequired: z.ZodBoolean;
2227
2200
  isUnique: z.ZodBoolean;
2228
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2229
- label: z.ZodString;
2201
+ options: z.ZodArray<z.ZodObject<{
2202
+ position: z.ZodNumber;
2230
2203
  value: z.ZodString;
2204
+ label: z.ZodString;
2231
2205
  isDefault: z.ZodBoolean;
2232
- position: z.ZodNumber;
2233
- }, {
2234
2206
  id: z.ZodString;
2235
- }>, "strip", z.ZodTypeAny, {
2207
+ }, "strip", z.ZodTypeAny, {
2236
2208
  id: string;
2237
2209
  position: number;
2238
2210
  value: string;
@@ -2245,15 +2217,14 @@ export declare const publicApiContract: {
2245
2217
  label: string;
2246
2218
  isDefault: boolean;
2247
2219
  }>, "many">;
2248
- group: z.ZodObject<z.objectUtil.extendShape<{
2220
+ group: z.ZodObject<{
2249
2221
  id: z.ZodString;
2250
2222
  createdAt: z.ZodDate;
2251
2223
  updatedAt: z.ZodDate;
2252
2224
  deletedAt: z.ZodNullable<z.ZodDate>;
2253
- }, {
2254
2225
  systemName: z.ZodString;
2255
2226
  displayName: z.ZodString;
2256
- }>, "strip", z.ZodTypeAny, {
2227
+ }, "strip", z.ZodTypeAny, {
2257
2228
  id: string;
2258
2229
  createdAt: Date;
2259
2230
  updatedAt: Date;
@@ -2268,7 +2239,7 @@ export declare const publicApiContract: {
2268
2239
  systemName: string;
2269
2240
  displayName: string;
2270
2241
  }>;
2271
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
2242
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
2272
2243
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2273
2244
  id: string;
2274
2245
  position: number;
@@ -2295,19 +2266,18 @@ export declare const publicApiContract: {
2295
2266
  isRequired: boolean;
2296
2267
  isUnique: boolean;
2297
2268
  }>;
2298
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2269
+ uploads: z.ZodArray<z.ZodObject<{
2299
2270
  id: z.ZodString;
2300
2271
  createdAt: z.ZodDate;
2301
2272
  updatedAt: z.ZodDate;
2302
2273
  deletedAt: z.ZodNullable<z.ZodDate>;
2303
- }, {
2304
2274
  bucketName: z.ZodString;
2305
2275
  fileName: z.ZodString;
2306
2276
  fileSize: z.ZodNumber;
2307
2277
  fileKey: z.ZodString;
2308
2278
  fileUrl: z.ZodNullable<z.ZodString>;
2309
2279
  status: z.ZodNullable<z.ZodString>;
2310
- }>, "strip", z.ZodTypeAny, {
2280
+ }, "strip", z.ZodTypeAny, {
2311
2281
  id: string;
2312
2282
  status: string | null;
2313
2283
  createdAt: Date;
@@ -2401,7 +2371,7 @@ export declare const publicApiContract: {
2401
2371
  fileUrl: string | null;
2402
2372
  }[];
2403
2373
  }>, "many">;
2404
- }>, "strip", z.ZodTypeAny, {
2374
+ }, "strip", z.ZodTypeAny, {
2405
2375
  data: {
2406
2376
  id: string;
2407
2377
  createdAt: Date;
@@ -2541,6 +2511,7 @@ export declare const publicApiContract: {
2541
2511
  error?: any;
2542
2512
  }>;
2543
2513
  };
2514
+ path: "api/v1/contacts/fields";
2544
2515
  };
2545
2516
  updateContact: {
2546
2517
  body: z.ZodObject<{
@@ -2573,36 +2544,36 @@ export declare const publicApiContract: {
2573
2544
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2574
2545
  }, "strip", z.ZodTypeAny, {
2575
2546
  name?: string | undefined;
2576
- channel?: string | undefined;
2577
- address?: string | undefined;
2578
2547
  email?: {
2579
2548
  isPrimary: boolean;
2580
2549
  email: string;
2581
2550
  }[] | undefined;
2551
+ channel?: string | undefined;
2552
+ address?: string | undefined;
2582
2553
  phone?: {
2583
2554
  isPrimary: boolean;
2584
2555
  phone: string;
2585
2556
  }[] | undefined;
2586
- customFields?: Record<string, string> | undefined;
2587
- company?: string | undefined;
2588
2557
  notes?: string | undefined;
2589
2558
  tags?: string[] | undefined;
2559
+ company?: string | undefined;
2560
+ customFields?: Record<string, string> | undefined;
2590
2561
  }, {
2591
2562
  name?: string | undefined;
2592
- channel?: string | undefined;
2593
- address?: string | undefined;
2594
2563
  email?: {
2595
2564
  isPrimary: boolean;
2596
2565
  email: string;
2597
2566
  }[] | undefined;
2567
+ channel?: string | undefined;
2568
+ address?: string | undefined;
2598
2569
  phone?: {
2599
2570
  isPrimary: boolean;
2600
2571
  phone: string;
2601
2572
  }[] | undefined;
2602
- customFields?: Record<string, string> | undefined;
2603
- company?: string | undefined;
2604
2573
  notes?: string | undefined;
2605
2574
  tags?: string[] | undefined;
2575
+ company?: string | undefined;
2576
+ customFields?: Record<string, string> | undefined;
2606
2577
  }>;
2607
2578
  summary: "Update a contact";
2608
2579
  method: "PATCH";
@@ -2613,7 +2584,6 @@ export declare const publicApiContract: {
2613
2584
  }, {
2614
2585
  id: string;
2615
2586
  }>;
2616
- path: "api/v1/contacts/:id";
2617
2587
  responses: {
2618
2588
  200: z.ZodObject<{
2619
2589
  status: z.ZodString;
@@ -2629,14 +2599,13 @@ export declare const publicApiContract: {
2629
2599
  notes: z.ZodNullable<z.ZodString>;
2630
2600
  contactProfile: z.ZodNullable<z.ZodString>;
2631
2601
  socialProfileUrl: z.ZodNullable<z.ZodString>;
2632
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2602
+ tags: z.ZodArray<z.ZodObject<{
2633
2603
  id: z.ZodString;
2634
2604
  createdAt: z.ZodDate;
2635
2605
  updatedAt: z.ZodDate;
2636
2606
  deletedAt: z.ZodNullable<z.ZodDate>;
2637
- }, {
2638
2607
  name: z.ZodString;
2639
- }>, "strip", z.ZodTypeAny, {
2608
+ }, "strip", z.ZodTypeAny, {
2640
2609
  name: string;
2641
2610
  id: string;
2642
2611
  createdAt: Date;
@@ -2649,32 +2618,29 @@ export declare const publicApiContract: {
2649
2618
  updatedAt: Date;
2650
2619
  deletedAt: Date | null;
2651
2620
  }>, "many">;
2652
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
2621
+ company: z.ZodNullable<z.ZodObject<Omit<{
2653
2622
  id: z.ZodString;
2654
2623
  createdAt: z.ZodDate;
2655
2624
  updatedAt: z.ZodDate;
2656
2625
  deletedAt: z.ZodNullable<z.ZodDate>;
2657
- }, {
2658
2626
  name: z.ZodOptional<z.ZodString>;
2659
2627
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2660
2628
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2661
2629
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2662
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2630
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2663
2631
  id: z.ZodString;
2664
2632
  createdAt: z.ZodDate;
2665
2633
  updatedAt: z.ZodDate;
2666
2634
  deletedAt: z.ZodNullable<z.ZodDate>;
2667
- }, {
2668
2635
  textValue: z.ZodNullable<z.ZodString>;
2669
2636
  booleanValue: z.ZodNullable<z.ZodBoolean>;
2670
2637
  numberValue: z.ZodNullable<z.ZodNumber>;
2671
2638
  dateValue: z.ZodNullable<z.ZodDate>;
2672
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
2639
+ attribute: z.ZodObject<Omit<{
2673
2640
  id: z.ZodString;
2674
2641
  createdAt: z.ZodDate;
2675
2642
  updatedAt: z.ZodDate;
2676
2643
  deletedAt: z.ZodNullable<z.ZodDate>;
2677
- }, {
2678
2644
  systemName: z.ZodString;
2679
2645
  displayName: z.ZodString;
2680
2646
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -2683,14 +2649,13 @@ export declare const publicApiContract: {
2683
2649
  isArchived: z.ZodBoolean;
2684
2650
  isRequired: z.ZodBoolean;
2685
2651
  isUnique: z.ZodBoolean;
2686
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2687
- label: z.ZodString;
2652
+ options: z.ZodArray<z.ZodObject<{
2653
+ position: z.ZodNumber;
2688
2654
  value: z.ZodString;
2655
+ label: z.ZodString;
2689
2656
  isDefault: z.ZodBoolean;
2690
- position: z.ZodNumber;
2691
- }, {
2692
2657
  id: z.ZodString;
2693
- }>, "strip", z.ZodTypeAny, {
2658
+ }, "strip", z.ZodTypeAny, {
2694
2659
  id: string;
2695
2660
  position: number;
2696
2661
  value: string;
@@ -2703,15 +2668,14 @@ export declare const publicApiContract: {
2703
2668
  label: string;
2704
2669
  isDefault: boolean;
2705
2670
  }>, "many">;
2706
- group: z.ZodObject<z.objectUtil.extendShape<{
2671
+ group: z.ZodObject<{
2707
2672
  id: z.ZodString;
2708
2673
  createdAt: z.ZodDate;
2709
2674
  updatedAt: z.ZodDate;
2710
2675
  deletedAt: z.ZodNullable<z.ZodDate>;
2711
- }, {
2712
2676
  systemName: z.ZodString;
2713
2677
  displayName: z.ZodString;
2714
- }>, "strip", z.ZodTypeAny, {
2678
+ }, "strip", z.ZodTypeAny, {
2715
2679
  id: string;
2716
2680
  createdAt: Date;
2717
2681
  updatedAt: Date;
@@ -2726,7 +2690,7 @@ export declare const publicApiContract: {
2726
2690
  systemName: string;
2727
2691
  displayName: string;
2728
2692
  }>;
2729
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
2693
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
2730
2694
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2731
2695
  id: string;
2732
2696
  position: number;
@@ -2753,7 +2717,7 @@ export declare const publicApiContract: {
2753
2717
  isRequired: boolean;
2754
2718
  isUnique: boolean;
2755
2719
  }>;
2756
- }>, "strip", z.ZodTypeAny, {
2720
+ }, "strip", z.ZodTypeAny, {
2757
2721
  id: string;
2758
2722
  createdAt: Date;
2759
2723
  updatedAt: Date;
@@ -2800,7 +2764,7 @@ export declare const publicApiContract: {
2800
2764
  numberValue: number | null;
2801
2765
  dateValue: Date | null;
2802
2766
  }>, "many">>;
2803
- }>, "customFields">, "strip", z.ZodTypeAny, {
2767
+ }, "customFields">, "strip", z.ZodTypeAny, {
2804
2768
  id: string;
2805
2769
  createdAt: Date;
2806
2770
  updatedAt: Date;
@@ -2828,12 +2792,11 @@ export declare const publicApiContract: {
2828
2792
  booleanValue: z.ZodNullable<z.ZodBoolean>;
2829
2793
  numberValue: z.ZodNullable<z.ZodNumber>;
2830
2794
  dateValue: z.ZodNullable<z.ZodDate>;
2831
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
2795
+ attribute: z.ZodObject<Omit<{
2832
2796
  id: z.ZodString;
2833
2797
  createdAt: z.ZodDate;
2834
2798
  updatedAt: z.ZodDate;
2835
2799
  deletedAt: z.ZodNullable<z.ZodDate>;
2836
- }, {
2837
2800
  systemName: z.ZodString;
2838
2801
  displayName: z.ZodString;
2839
2802
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -2842,14 +2805,13 @@ export declare const publicApiContract: {
2842
2805
  isArchived: z.ZodBoolean;
2843
2806
  isRequired: z.ZodBoolean;
2844
2807
  isUnique: z.ZodBoolean;
2845
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2846
- label: z.ZodString;
2808
+ options: z.ZodArray<z.ZodObject<{
2809
+ position: z.ZodNumber;
2847
2810
  value: z.ZodString;
2811
+ label: z.ZodString;
2848
2812
  isDefault: z.ZodBoolean;
2849
- position: z.ZodNumber;
2850
- }, {
2851
2813
  id: z.ZodString;
2852
- }>, "strip", z.ZodTypeAny, {
2814
+ }, "strip", z.ZodTypeAny, {
2853
2815
  id: string;
2854
2816
  position: number;
2855
2817
  value: string;
@@ -2862,15 +2824,14 @@ export declare const publicApiContract: {
2862
2824
  label: string;
2863
2825
  isDefault: boolean;
2864
2826
  }>, "many">;
2865
- group: z.ZodObject<z.objectUtil.extendShape<{
2827
+ group: z.ZodObject<{
2866
2828
  id: z.ZodString;
2867
2829
  createdAt: z.ZodDate;
2868
2830
  updatedAt: z.ZodDate;
2869
2831
  deletedAt: z.ZodNullable<z.ZodDate>;
2870
- }, {
2871
2832
  systemName: z.ZodString;
2872
2833
  displayName: z.ZodString;
2873
- }>, "strip", z.ZodTypeAny, {
2834
+ }, "strip", z.ZodTypeAny, {
2874
2835
  id: string;
2875
2836
  createdAt: Date;
2876
2837
  updatedAt: Date;
@@ -2885,7 +2846,7 @@ export declare const publicApiContract: {
2885
2846
  systemName: string;
2886
2847
  displayName: string;
2887
2848
  }>;
2888
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
2849
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
2889
2850
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2890
2851
  id: string;
2891
2852
  position: number;
@@ -2912,19 +2873,18 @@ export declare const publicApiContract: {
2912
2873
  isRequired: boolean;
2913
2874
  isUnique: boolean;
2914
2875
  }>;
2915
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2876
+ uploads: z.ZodArray<z.ZodObject<{
2916
2877
  id: z.ZodString;
2917
2878
  createdAt: z.ZodDate;
2918
2879
  updatedAt: z.ZodDate;
2919
2880
  deletedAt: z.ZodNullable<z.ZodDate>;
2920
- }, {
2921
2881
  bucketName: z.ZodString;
2922
2882
  fileName: z.ZodString;
2923
2883
  fileSize: z.ZodNumber;
2924
2884
  fileKey: z.ZodString;
2925
2885
  fileUrl: z.ZodNullable<z.ZodString>;
2926
2886
  status: z.ZodNullable<z.ZodString>;
2927
- }>, "strip", z.ZodTypeAny, {
2887
+ }, "strip", z.ZodTypeAny, {
2928
2888
  id: string;
2929
2889
  status: string | null;
2930
2890
  createdAt: Date;
@@ -3574,6 +3534,7 @@ export declare const publicApiContract: {
3574
3534
  error?: any;
3575
3535
  }>;
3576
3536
  };
3537
+ path: "api/v1/contacts/:id";
3577
3538
  };
3578
3539
  createContactAttachmentRecords: {
3579
3540
  body: z.ZodObject<{
@@ -3621,11 +3582,9 @@ export declare const publicApiContract: {
3621
3582
  }>;
3622
3583
  summary: "Create a new contact attachment";
3623
3584
  method: "POST";
3624
- path: "api/v1/contacts/attachments";
3625
3585
  responses: {
3626
- 201: z.ZodObject<z.objectUtil.extendShape<{
3586
+ 201: z.ZodObject<{
3627
3587
  requestId: z.ZodString;
3628
- }, {
3629
3588
  message: z.ZodObject<{
3630
3589
  id: z.ZodString;
3631
3590
  createdAt: z.ZodDate;
@@ -3635,12 +3594,11 @@ export declare const publicApiContract: {
3635
3594
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3636
3595
  numberValue: z.ZodNullable<z.ZodNumber>;
3637
3596
  dateValue: z.ZodNullable<z.ZodDate>;
3638
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3597
+ attribute: z.ZodObject<Omit<{
3639
3598
  id: z.ZodString;
3640
3599
  createdAt: z.ZodDate;
3641
3600
  updatedAt: z.ZodDate;
3642
3601
  deletedAt: z.ZodNullable<z.ZodDate>;
3643
- }, {
3644
3602
  systemName: z.ZodString;
3645
3603
  displayName: z.ZodString;
3646
3604
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3649,14 +3607,13 @@ export declare const publicApiContract: {
3649
3607
  isArchived: z.ZodBoolean;
3650
3608
  isRequired: z.ZodBoolean;
3651
3609
  isUnique: z.ZodBoolean;
3652
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3653
- label: z.ZodString;
3610
+ options: z.ZodArray<z.ZodObject<{
3611
+ position: z.ZodNumber;
3654
3612
  value: z.ZodString;
3613
+ label: z.ZodString;
3655
3614
  isDefault: z.ZodBoolean;
3656
- position: z.ZodNumber;
3657
- }, {
3658
3615
  id: z.ZodString;
3659
- }>, "strip", z.ZodTypeAny, {
3616
+ }, "strip", z.ZodTypeAny, {
3660
3617
  id: string;
3661
3618
  position: number;
3662
3619
  value: string;
@@ -3669,15 +3626,14 @@ export declare const publicApiContract: {
3669
3626
  label: string;
3670
3627
  isDefault: boolean;
3671
3628
  }>, "many">;
3672
- group: z.ZodObject<z.objectUtil.extendShape<{
3629
+ group: z.ZodObject<{
3673
3630
  id: z.ZodString;
3674
3631
  createdAt: z.ZodDate;
3675
3632
  updatedAt: z.ZodDate;
3676
3633
  deletedAt: z.ZodNullable<z.ZodDate>;
3677
- }, {
3678
3634
  systemName: z.ZodString;
3679
3635
  displayName: z.ZodString;
3680
- }>, "strip", z.ZodTypeAny, {
3636
+ }, "strip", z.ZodTypeAny, {
3681
3637
  id: string;
3682
3638
  createdAt: Date;
3683
3639
  updatedAt: Date;
@@ -3692,7 +3648,7 @@ export declare const publicApiContract: {
3692
3648
  systemName: string;
3693
3649
  displayName: string;
3694
3650
  }>;
3695
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3651
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3696
3652
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3697
3653
  id: string;
3698
3654
  position: number;
@@ -3719,19 +3675,18 @@ export declare const publicApiContract: {
3719
3675
  isRequired: boolean;
3720
3676
  isUnique: boolean;
3721
3677
  }>;
3722
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3678
+ uploads: z.ZodArray<z.ZodObject<{
3723
3679
  id: z.ZodString;
3724
3680
  createdAt: z.ZodDate;
3725
3681
  updatedAt: z.ZodDate;
3726
3682
  deletedAt: z.ZodNullable<z.ZodDate>;
3727
- }, {
3728
3683
  bucketName: z.ZodString;
3729
3684
  fileName: z.ZodString;
3730
3685
  fileSize: z.ZodNumber;
3731
3686
  fileKey: z.ZodString;
3732
3687
  fileUrl: z.ZodNullable<z.ZodString>;
3733
3688
  status: z.ZodNullable<z.ZodString>;
3734
- }>, "strip", z.ZodTypeAny, {
3689
+ }, "strip", z.ZodTypeAny, {
3735
3690
  id: string;
3736
3691
  status: string | null;
3737
3692
  createdAt: Date;
@@ -3825,7 +3780,7 @@ export declare const publicApiContract: {
3825
3780
  fileUrl: string | null;
3826
3781
  }[];
3827
3782
  }>;
3828
- }>, "strip", z.ZodTypeAny, {
3783
+ }, "strip", z.ZodTypeAny, {
3829
3784
  message: {
3830
3785
  id: string;
3831
3786
  createdAt: Date;
@@ -3957,6 +3912,7 @@ export declare const publicApiContract: {
3957
3912
  error?: any;
3958
3913
  }>;
3959
3914
  };
3915
+ path: "api/v1/contacts/attachments";
3960
3916
  };
3961
3917
  getContactById: {
3962
3918
  summary: "Get a contact by id";
@@ -3968,7 +3924,6 @@ export declare const publicApiContract: {
3968
3924
  }, {
3969
3925
  id: string;
3970
3926
  }>;
3971
- path: "api/v1/contacts/:id";
3972
3927
  responses: {
3973
3928
  200: z.ZodObject<{
3974
3929
  status: z.ZodString;
@@ -3984,14 +3939,13 @@ export declare const publicApiContract: {
3984
3939
  notes: z.ZodNullable<z.ZodString>;
3985
3940
  contactProfile: z.ZodNullable<z.ZodString>;
3986
3941
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3987
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3942
+ tags: z.ZodArray<z.ZodObject<{
3988
3943
  id: z.ZodString;
3989
3944
  createdAt: z.ZodDate;
3990
3945
  updatedAt: z.ZodDate;
3991
3946
  deletedAt: z.ZodNullable<z.ZodDate>;
3992
- }, {
3993
3947
  name: z.ZodString;
3994
- }>, "strip", z.ZodTypeAny, {
3948
+ }, "strip", z.ZodTypeAny, {
3995
3949
  name: string;
3996
3950
  id: string;
3997
3951
  createdAt: Date;
@@ -4004,32 +3958,29 @@ export declare const publicApiContract: {
4004
3958
  updatedAt: Date;
4005
3959
  deletedAt: Date | null;
4006
3960
  }>, "many">;
4007
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3961
+ company: z.ZodNullable<z.ZodObject<Omit<{
4008
3962
  id: z.ZodString;
4009
3963
  createdAt: z.ZodDate;
4010
3964
  updatedAt: z.ZodDate;
4011
3965
  deletedAt: z.ZodNullable<z.ZodDate>;
4012
- }, {
4013
3966
  name: z.ZodOptional<z.ZodString>;
4014
3967
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4015
3968
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4016
3969
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4017
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3970
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4018
3971
  id: z.ZodString;
4019
3972
  createdAt: z.ZodDate;
4020
3973
  updatedAt: z.ZodDate;
4021
3974
  deletedAt: z.ZodNullable<z.ZodDate>;
4022
- }, {
4023
3975
  textValue: z.ZodNullable<z.ZodString>;
4024
3976
  booleanValue: z.ZodNullable<z.ZodBoolean>;
4025
3977
  numberValue: z.ZodNullable<z.ZodNumber>;
4026
3978
  dateValue: z.ZodNullable<z.ZodDate>;
4027
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3979
+ attribute: z.ZodObject<Omit<{
4028
3980
  id: z.ZodString;
4029
3981
  createdAt: z.ZodDate;
4030
3982
  updatedAt: z.ZodDate;
4031
3983
  deletedAt: z.ZodNullable<z.ZodDate>;
4032
- }, {
4033
3984
  systemName: z.ZodString;
4034
3985
  displayName: z.ZodString;
4035
3986
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -4038,14 +3989,13 @@ export declare const publicApiContract: {
4038
3989
  isArchived: z.ZodBoolean;
4039
3990
  isRequired: z.ZodBoolean;
4040
3991
  isUnique: z.ZodBoolean;
4041
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4042
- label: z.ZodString;
3992
+ options: z.ZodArray<z.ZodObject<{
3993
+ position: z.ZodNumber;
4043
3994
  value: z.ZodString;
3995
+ label: z.ZodString;
4044
3996
  isDefault: z.ZodBoolean;
4045
- position: z.ZodNumber;
4046
- }, {
4047
3997
  id: z.ZodString;
4048
- }>, "strip", z.ZodTypeAny, {
3998
+ }, "strip", z.ZodTypeAny, {
4049
3999
  id: string;
4050
4000
  position: number;
4051
4001
  value: string;
@@ -4058,15 +4008,14 @@ export declare const publicApiContract: {
4058
4008
  label: string;
4059
4009
  isDefault: boolean;
4060
4010
  }>, "many">;
4061
- group: z.ZodObject<z.objectUtil.extendShape<{
4011
+ group: z.ZodObject<{
4062
4012
  id: z.ZodString;
4063
4013
  createdAt: z.ZodDate;
4064
4014
  updatedAt: z.ZodDate;
4065
4015
  deletedAt: z.ZodNullable<z.ZodDate>;
4066
- }, {
4067
4016
  systemName: z.ZodString;
4068
4017
  displayName: z.ZodString;
4069
- }>, "strip", z.ZodTypeAny, {
4018
+ }, "strip", z.ZodTypeAny, {
4070
4019
  id: string;
4071
4020
  createdAt: Date;
4072
4021
  updatedAt: Date;
@@ -4081,7 +4030,7 @@ export declare const publicApiContract: {
4081
4030
  systemName: string;
4082
4031
  displayName: string;
4083
4032
  }>;
4084
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
4033
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
4085
4034
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4086
4035
  id: string;
4087
4036
  position: number;
@@ -4108,7 +4057,7 @@ export declare const publicApiContract: {
4108
4057
  isRequired: boolean;
4109
4058
  isUnique: boolean;
4110
4059
  }>;
4111
- }>, "strip", z.ZodTypeAny, {
4060
+ }, "strip", z.ZodTypeAny, {
4112
4061
  id: string;
4113
4062
  createdAt: Date;
4114
4063
  updatedAt: Date;
@@ -4155,7 +4104,7 @@ export declare const publicApiContract: {
4155
4104
  numberValue: number | null;
4156
4105
  dateValue: Date | null;
4157
4106
  }>, "many">>;
4158
- }>, "customFields">, "strip", z.ZodTypeAny, {
4107
+ }, "customFields">, "strip", z.ZodTypeAny, {
4159
4108
  id: string;
4160
4109
  createdAt: Date;
4161
4110
  updatedAt: Date;
@@ -4183,12 +4132,11 @@ export declare const publicApiContract: {
4183
4132
  booleanValue: z.ZodNullable<z.ZodBoolean>;
4184
4133
  numberValue: z.ZodNullable<z.ZodNumber>;
4185
4134
  dateValue: z.ZodNullable<z.ZodDate>;
4186
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
4135
+ attribute: z.ZodObject<Omit<{
4187
4136
  id: z.ZodString;
4188
4137
  createdAt: z.ZodDate;
4189
4138
  updatedAt: z.ZodDate;
4190
4139
  deletedAt: z.ZodNullable<z.ZodDate>;
4191
- }, {
4192
4140
  systemName: z.ZodString;
4193
4141
  displayName: z.ZodString;
4194
4142
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -4197,14 +4145,13 @@ export declare const publicApiContract: {
4197
4145
  isArchived: z.ZodBoolean;
4198
4146
  isRequired: z.ZodBoolean;
4199
4147
  isUnique: z.ZodBoolean;
4200
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4201
- label: z.ZodString;
4148
+ options: z.ZodArray<z.ZodObject<{
4149
+ position: z.ZodNumber;
4202
4150
  value: z.ZodString;
4151
+ label: z.ZodString;
4203
4152
  isDefault: z.ZodBoolean;
4204
- position: z.ZodNumber;
4205
- }, {
4206
4153
  id: z.ZodString;
4207
- }>, "strip", z.ZodTypeAny, {
4154
+ }, "strip", z.ZodTypeAny, {
4208
4155
  id: string;
4209
4156
  position: number;
4210
4157
  value: string;
@@ -4217,15 +4164,14 @@ export declare const publicApiContract: {
4217
4164
  label: string;
4218
4165
  isDefault: boolean;
4219
4166
  }>, "many">;
4220
- group: z.ZodObject<z.objectUtil.extendShape<{
4167
+ group: z.ZodObject<{
4221
4168
  id: z.ZodString;
4222
4169
  createdAt: z.ZodDate;
4223
4170
  updatedAt: z.ZodDate;
4224
4171
  deletedAt: z.ZodNullable<z.ZodDate>;
4225
- }, {
4226
4172
  systemName: z.ZodString;
4227
4173
  displayName: z.ZodString;
4228
- }>, "strip", z.ZodTypeAny, {
4174
+ }, "strip", z.ZodTypeAny, {
4229
4175
  id: string;
4230
4176
  createdAt: Date;
4231
4177
  updatedAt: Date;
@@ -4240,7 +4186,7 @@ export declare const publicApiContract: {
4240
4186
  systemName: string;
4241
4187
  displayName: string;
4242
4188
  }>;
4243
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
4189
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
4244
4190
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4245
4191
  id: string;
4246
4192
  position: number;
@@ -4267,19 +4213,18 @@ export declare const publicApiContract: {
4267
4213
  isRequired: boolean;
4268
4214
  isUnique: boolean;
4269
4215
  }>;
4270
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4216
+ uploads: z.ZodArray<z.ZodObject<{
4271
4217
  id: z.ZodString;
4272
4218
  createdAt: z.ZodDate;
4273
4219
  updatedAt: z.ZodDate;
4274
4220
  deletedAt: z.ZodNullable<z.ZodDate>;
4275
- }, {
4276
4221
  bucketName: z.ZodString;
4277
4222
  fileName: z.ZodString;
4278
4223
  fileSize: z.ZodNumber;
4279
4224
  fileKey: z.ZodString;
4280
4225
  fileUrl: z.ZodNullable<z.ZodString>;
4281
4226
  status: z.ZodNullable<z.ZodString>;
4282
- }>, "strip", z.ZodTypeAny, {
4227
+ }, "strip", z.ZodTypeAny, {
4283
4228
  id: string;
4284
4229
  status: string | null;
4285
4230
  createdAt: Date;
@@ -4929,6 +4874,7 @@ export declare const publicApiContract: {
4929
4874
  error?: any;
4930
4875
  }>;
4931
4876
  };
4877
+ path: "api/v1/contacts/:id";
4932
4878
  };
4933
4879
  deleteContact: {
4934
4880
  body: null;
@@ -4941,7 +4887,6 @@ export declare const publicApiContract: {
4941
4887
  }, {
4942
4888
  id: string;
4943
4889
  }>;
4944
- path: "api/v1/contacts/:id";
4945
4890
  responses: {
4946
4891
  200: z.ZodObject<{
4947
4892
  status: z.ZodString;
@@ -4957,14 +4902,13 @@ export declare const publicApiContract: {
4957
4902
  notes: z.ZodNullable<z.ZodString>;
4958
4903
  contactProfile: z.ZodNullable<z.ZodString>;
4959
4904
  socialProfileUrl: z.ZodNullable<z.ZodString>;
4960
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4905
+ tags: z.ZodArray<z.ZodObject<{
4961
4906
  id: z.ZodString;
4962
4907
  createdAt: z.ZodDate;
4963
4908
  updatedAt: z.ZodDate;
4964
4909
  deletedAt: z.ZodNullable<z.ZodDate>;
4965
- }, {
4966
4910
  name: z.ZodString;
4967
- }>, "strip", z.ZodTypeAny, {
4911
+ }, "strip", z.ZodTypeAny, {
4968
4912
  name: string;
4969
4913
  id: string;
4970
4914
  createdAt: Date;
@@ -4977,32 +4921,29 @@ export declare const publicApiContract: {
4977
4921
  updatedAt: Date;
4978
4922
  deletedAt: Date | null;
4979
4923
  }>, "many">;
4980
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
4924
+ company: z.ZodNullable<z.ZodObject<Omit<{
4981
4925
  id: z.ZodString;
4982
4926
  createdAt: z.ZodDate;
4983
4927
  updatedAt: z.ZodDate;
4984
4928
  deletedAt: z.ZodNullable<z.ZodDate>;
4985
- }, {
4986
4929
  name: z.ZodOptional<z.ZodString>;
4987
4930
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4988
4931
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4989
4932
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4990
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4933
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4991
4934
  id: z.ZodString;
4992
4935
  createdAt: z.ZodDate;
4993
4936
  updatedAt: z.ZodDate;
4994
4937
  deletedAt: z.ZodNullable<z.ZodDate>;
4995
- }, {
4996
4938
  textValue: z.ZodNullable<z.ZodString>;
4997
4939
  booleanValue: z.ZodNullable<z.ZodBoolean>;
4998
4940
  numberValue: z.ZodNullable<z.ZodNumber>;
4999
4941
  dateValue: z.ZodNullable<z.ZodDate>;
5000
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
4942
+ attribute: z.ZodObject<Omit<{
5001
4943
  id: z.ZodString;
5002
4944
  createdAt: z.ZodDate;
5003
4945
  updatedAt: z.ZodDate;
5004
4946
  deletedAt: z.ZodNullable<z.ZodDate>;
5005
- }, {
5006
4947
  systemName: z.ZodString;
5007
4948
  displayName: z.ZodString;
5008
4949
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5011,14 +4952,13 @@ export declare const publicApiContract: {
5011
4952
  isArchived: z.ZodBoolean;
5012
4953
  isRequired: z.ZodBoolean;
5013
4954
  isUnique: z.ZodBoolean;
5014
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5015
- label: z.ZodString;
4955
+ options: z.ZodArray<z.ZodObject<{
4956
+ position: z.ZodNumber;
5016
4957
  value: z.ZodString;
4958
+ label: z.ZodString;
5017
4959
  isDefault: z.ZodBoolean;
5018
- position: z.ZodNumber;
5019
- }, {
5020
4960
  id: z.ZodString;
5021
- }>, "strip", z.ZodTypeAny, {
4961
+ }, "strip", z.ZodTypeAny, {
5022
4962
  id: string;
5023
4963
  position: number;
5024
4964
  value: string;
@@ -5031,15 +4971,14 @@ export declare const publicApiContract: {
5031
4971
  label: string;
5032
4972
  isDefault: boolean;
5033
4973
  }>, "many">;
5034
- group: z.ZodObject<z.objectUtil.extendShape<{
4974
+ group: z.ZodObject<{
5035
4975
  id: z.ZodString;
5036
4976
  createdAt: z.ZodDate;
5037
4977
  updatedAt: z.ZodDate;
5038
4978
  deletedAt: z.ZodNullable<z.ZodDate>;
5039
- }, {
5040
4979
  systemName: z.ZodString;
5041
4980
  displayName: z.ZodString;
5042
- }>, "strip", z.ZodTypeAny, {
4981
+ }, "strip", z.ZodTypeAny, {
5043
4982
  id: string;
5044
4983
  createdAt: Date;
5045
4984
  updatedAt: Date;
@@ -5054,7 +4993,7 @@ export declare const publicApiContract: {
5054
4993
  systemName: string;
5055
4994
  displayName: string;
5056
4995
  }>;
5057
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
4996
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5058
4997
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5059
4998
  id: string;
5060
4999
  position: number;
@@ -5081,7 +5020,7 @@ export declare const publicApiContract: {
5081
5020
  isRequired: boolean;
5082
5021
  isUnique: boolean;
5083
5022
  }>;
5084
- }>, "strip", z.ZodTypeAny, {
5023
+ }, "strip", z.ZodTypeAny, {
5085
5024
  id: string;
5086
5025
  createdAt: Date;
5087
5026
  updatedAt: Date;
@@ -5128,7 +5067,7 @@ export declare const publicApiContract: {
5128
5067
  numberValue: number | null;
5129
5068
  dateValue: Date | null;
5130
5069
  }>, "many">>;
5131
- }>, "customFields">, "strip", z.ZodTypeAny, {
5070
+ }, "customFields">, "strip", z.ZodTypeAny, {
5132
5071
  id: string;
5133
5072
  createdAt: Date;
5134
5073
  updatedAt: Date;
@@ -5156,12 +5095,11 @@ export declare const publicApiContract: {
5156
5095
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5157
5096
  numberValue: z.ZodNullable<z.ZodNumber>;
5158
5097
  dateValue: z.ZodNullable<z.ZodDate>;
5159
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5098
+ attribute: z.ZodObject<Omit<{
5160
5099
  id: z.ZodString;
5161
5100
  createdAt: z.ZodDate;
5162
5101
  updatedAt: z.ZodDate;
5163
5102
  deletedAt: z.ZodNullable<z.ZodDate>;
5164
- }, {
5165
5103
  systemName: z.ZodString;
5166
5104
  displayName: z.ZodString;
5167
5105
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5170,14 +5108,13 @@ export declare const publicApiContract: {
5170
5108
  isArchived: z.ZodBoolean;
5171
5109
  isRequired: z.ZodBoolean;
5172
5110
  isUnique: z.ZodBoolean;
5173
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5174
- label: z.ZodString;
5111
+ options: z.ZodArray<z.ZodObject<{
5112
+ position: z.ZodNumber;
5175
5113
  value: z.ZodString;
5114
+ label: z.ZodString;
5176
5115
  isDefault: z.ZodBoolean;
5177
- position: z.ZodNumber;
5178
- }, {
5179
5116
  id: z.ZodString;
5180
- }>, "strip", z.ZodTypeAny, {
5117
+ }, "strip", z.ZodTypeAny, {
5181
5118
  id: string;
5182
5119
  position: number;
5183
5120
  value: string;
@@ -5190,15 +5127,14 @@ export declare const publicApiContract: {
5190
5127
  label: string;
5191
5128
  isDefault: boolean;
5192
5129
  }>, "many">;
5193
- group: z.ZodObject<z.objectUtil.extendShape<{
5130
+ group: z.ZodObject<{
5194
5131
  id: z.ZodString;
5195
5132
  createdAt: z.ZodDate;
5196
5133
  updatedAt: z.ZodDate;
5197
5134
  deletedAt: z.ZodNullable<z.ZodDate>;
5198
- }, {
5199
5135
  systemName: z.ZodString;
5200
5136
  displayName: z.ZodString;
5201
- }>, "strip", z.ZodTypeAny, {
5137
+ }, "strip", z.ZodTypeAny, {
5202
5138
  id: string;
5203
5139
  createdAt: Date;
5204
5140
  updatedAt: Date;
@@ -5213,7 +5149,7 @@ export declare const publicApiContract: {
5213
5149
  systemName: string;
5214
5150
  displayName: string;
5215
5151
  }>;
5216
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5152
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5217
5153
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5218
5154
  id: string;
5219
5155
  position: number;
@@ -5240,19 +5176,18 @@ export declare const publicApiContract: {
5240
5176
  isRequired: boolean;
5241
5177
  isUnique: boolean;
5242
5178
  }>;
5243
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5179
+ uploads: z.ZodArray<z.ZodObject<{
5244
5180
  id: z.ZodString;
5245
5181
  createdAt: z.ZodDate;
5246
5182
  updatedAt: z.ZodDate;
5247
5183
  deletedAt: z.ZodNullable<z.ZodDate>;
5248
- }, {
5249
5184
  bucketName: z.ZodString;
5250
5185
  fileName: z.ZodString;
5251
5186
  fileSize: z.ZodNumber;
5252
5187
  fileKey: z.ZodString;
5253
5188
  fileUrl: z.ZodNullable<z.ZodString>;
5254
5189
  status: z.ZodNullable<z.ZodString>;
5255
- }>, "strip", z.ZodTypeAny, {
5190
+ }, "strip", z.ZodTypeAny, {
5256
5191
  id: string;
5257
5192
  status: string | null;
5258
5193
  createdAt: Date;
@@ -5902,6 +5837,7 @@ export declare const publicApiContract: {
5902
5837
  error?: any;
5903
5838
  }>;
5904
5839
  };
5840
+ path: "api/v1/contacts/:id";
5905
5841
  };
5906
5842
  };
5907
5843
  //# sourceMappingURL=index.d.ts.map