evo360-types 1.3.6 → 1.3.9

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 (139) hide show
  1. package/dist/apps/evo-activity/zod-schemas.d.ts +93 -0
  2. package/dist/apps/evo-activity/zod-schemas.js +40 -0
  3. package/dist/apps/evo-activity/zod-schemas.ts +43 -0
  4. package/dist/apps/evo-cake/zod-schemas.d.ts +783 -0
  5. package/dist/apps/evo-cake/zod-schemas.js +110 -0
  6. package/dist/apps/evo-cake/zod-schemas.ts +121 -0
  7. package/dist/apps/evo-calendar/zod-schemas.d.ts +71 -0
  8. package/dist/apps/evo-calendar/zod-schemas.js +32 -0
  9. package/dist/apps/evo-calendar/zod-schemas.ts +33 -0
  10. package/dist/apps/evo-core/zod-schemas.d.ts +14 -0
  11. package/dist/apps/evo-core/zod-schemas.js +9 -0
  12. package/dist/apps/evo-core/zod-schemas.ts +7 -0
  13. package/dist/apps/evo-crm/dic/zod-schemas.d.ts +233 -0
  14. package/dist/apps/evo-crm/dic/zod-schemas.js +45 -0
  15. package/dist/apps/evo-crm/dic/zod-schemas.ts +46 -0
  16. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +347 -0
  17. package/dist/apps/evo-crm/lead/zod-schemas.js +30 -0
  18. package/dist/apps/evo-crm/lead/zod-schemas.ts +35 -0
  19. package/dist/apps/evo-med/dic/zod-schemas.d.ts +501 -0
  20. package/dist/apps/evo-med/dic/zod-schemas.js +116 -0
  21. package/dist/apps/evo-med/dic/zod-schemas.ts +127 -0
  22. package/dist/apps/evo-med/insurance/zod-schemas.d.ts +421 -0
  23. package/dist/apps/evo-med/insurance/zod-schemas.js +33 -0
  24. package/dist/apps/evo-med/insurance/zod-schemas.ts +39 -0
  25. package/dist/apps/evo-med/people/zod-schemas.d.ts +955 -0
  26. package/dist/apps/evo-med/people/zod-schemas.js +100 -0
  27. package/dist/apps/evo-med/people/zod-schemas.ts +117 -0
  28. package/dist/apps/evo-med/procedure/zod-schemas.d.ts +141 -0
  29. package/dist/apps/evo-med/procedure/zod-schemas.js +26 -0
  30. package/dist/apps/evo-med/procedure/zod-schemas.ts +26 -0
  31. package/dist/apps/evo-meeting/zod-schemas.d.ts +429 -0
  32. package/dist/apps/evo-meeting/zod-schemas.js +56 -0
  33. package/dist/apps/evo-meeting/zod-schemas.ts +62 -0
  34. package/dist/apps/evo-people/zod-schemas.d.ts +476 -0
  35. package/dist/apps/evo-people/zod-schemas.js +120 -0
  36. package/dist/apps/evo-people/zod-schemas.ts +124 -0
  37. package/dist/apps/evo-survey/zod-schemas.d.ts +1579 -0
  38. package/dist/apps/evo-survey/zod-schemas.js +191 -0
  39. package/dist/apps/evo-survey/zod-schemas.ts +209 -0
  40. package/dist/apps/evo-task/zod-schemas.d.ts +4 -0
  41. package/dist/apps/evo-task/zod-schemas.js +17 -0
  42. package/dist/apps/evo-task/zod-schemas.ts +17 -0
  43. package/dist/apps/evo-tenant/zod-schemas.d.ts +51 -0
  44. package/dist/apps/evo-tenant/zod-schemas.js +22 -0
  45. package/dist/apps/evo-tenant/zod-schemas.ts +23 -0
  46. package/dist/apps/shared/zod-schemas.d.ts +84 -0
  47. package/dist/apps/shared/zod-schemas.js +49 -0
  48. package/dist/apps/shared/zod-schemas.ts +51 -0
  49. package/dist/index.d.ts +35 -0
  50. package/dist/index.js +50 -0
  51. package/dist/index.ts +35 -0
  52. package/dist/types/evo-activity/fb_collections.d.ts +4 -0
  53. package/dist/types/evo-activity/fb_collections.js +9 -0
  54. package/dist/types/evo-activity/fb_collections.ts +7 -0
  55. package/dist/types/evo-activity/index.d.ts +28 -0
  56. package/dist/types/evo-activity/index.js +27 -0
  57. package/dist/types/evo-activity/index.ts +45 -0
  58. package/dist/types/evo-cake/fb_collections.d.ts +4 -0
  59. package/dist/types/evo-cake/fb_collections.js +9 -0
  60. package/dist/types/evo-cake/fb_collections.ts +7 -0
  61. package/dist/types/evo-cake/index.d.ts +111 -0
  62. package/dist/types/evo-cake/index.js +79 -0
  63. package/dist/types/evo-cake/index.ts +186 -0
  64. package/dist/types/evo-calendar/fb_collections.d.ts +2 -0
  65. package/dist/types/evo-calendar/fb_collections.js +7 -0
  66. package/dist/types/evo-calendar/fb_collections.ts +5 -0
  67. package/dist/types/evo-calendar/index.d.ts +56 -0
  68. package/dist/types/evo-calendar/index.js +37 -0
  69. package/dist/types/evo-calendar/index.ts +69 -0
  70. package/dist/types/evo-core/index.d.ts +41 -0
  71. package/dist/types/evo-core/index.js +2 -0
  72. package/dist/types/evo-core/index.ts +48 -0
  73. package/dist/types/evo-crm/dic/index.d.ts +51 -0
  74. package/dist/types/evo-crm/dic/index.js +46 -0
  75. package/dist/types/evo-crm/dic/index.ts +86 -0
  76. package/dist/types/evo-crm/fb_collections.d.ts +7 -0
  77. package/dist/types/evo-crm/fb_collections.js +13 -0
  78. package/dist/types/evo-crm/fb_collections.ts +13 -0
  79. package/dist/types/evo-crm/lead/index.d.ts +31 -0
  80. package/dist/types/evo-crm/lead/index.js +24 -0
  81. package/dist/types/evo-crm/lead/index.ts +42 -0
  82. package/dist/types/evo-med/dic/index.d.ts +99 -0
  83. package/dist/types/evo-med/dic/index.js +52 -0
  84. package/dist/types/evo-med/dic/index.ts +131 -0
  85. package/dist/types/evo-med/fb_collections.d.ts +20 -0
  86. package/dist/types/evo-med/fb_collections.js +28 -0
  87. package/dist/types/evo-med/fb_collections.ts +31 -0
  88. package/dist/types/evo-med/insurance/index.d.ts +34 -0
  89. package/dist/types/evo-med/insurance/index.js +24 -0
  90. package/dist/types/evo-med/insurance/index.ts +45 -0
  91. package/dist/types/evo-med/people/index.d.ts +125 -0
  92. package/dist/types/evo-med/people/index.js +66 -0
  93. package/dist/types/evo-med/people/index.ts +188 -0
  94. package/dist/types/evo-med/procedure/index.d.ts +36 -0
  95. package/dist/types/evo-med/procedure/index.js +30 -0
  96. package/dist/types/evo-med/procedure/index.ts +48 -0
  97. package/dist/types/evo-meeting/fb_collections.d.ts +2 -0
  98. package/dist/types/evo-meeting/fb_collections.js +7 -0
  99. package/dist/types/evo-meeting/fb_collections.ts +5 -0
  100. package/dist/types/evo-meeting/index.d.ts +58 -0
  101. package/dist/types/evo-meeting/index.js +32 -0
  102. package/dist/types/evo-meeting/index.ts +80 -0
  103. package/dist/types/evo-messages/fb_collections.d.ts +1 -0
  104. package/dist/types/evo-messages/fb_collections.js +2 -0
  105. package/dist/types/evo-messages/fb_collections.ts +0 -0
  106. package/dist/types/evo-people/fb_collections.d.ts +5 -0
  107. package/dist/types/evo-people/fb_collections.js +10 -0
  108. package/dist/types/evo-people/fb_collections.ts +8 -0
  109. package/dist/types/evo-people/index.d.ts +117 -0
  110. package/dist/types/evo-people/index.js +59 -0
  111. package/dist/types/evo-people/index.ts +167 -0
  112. package/dist/types/evo-survey/fb_collections.d.ts +7 -0
  113. package/dist/types/evo-survey/fb_collections.js +13 -0
  114. package/dist/types/evo-survey/fb_collections.ts +12 -0
  115. package/dist/types/evo-survey/index.d.ts +172 -0
  116. package/dist/types/evo-survey/index.js +70 -0
  117. package/dist/types/evo-survey/index.ts +224 -0
  118. package/dist/types/evo-task/fb_collections.d.ts +2 -0
  119. package/dist/types/evo-task/fb_collections.js +7 -0
  120. package/dist/types/evo-task/fb_collections.ts +5 -0
  121. package/dist/types/evo-task/index.d.ts +35 -0
  122. package/dist/types/evo-task/index.js +38 -0
  123. package/dist/types/evo-task/index.ts +51 -0
  124. package/dist/types/evo-tenant/fb_collections.d.ts +1 -0
  125. package/dist/types/evo-tenant/fb_collections.js +5 -0
  126. package/dist/types/evo-tenant/fb_collections.ts +2 -0
  127. package/dist/types/evo-tenant/index.d.ts +28 -0
  128. package/dist/types/evo-tenant/index.js +35 -0
  129. package/dist/types/evo-tenant/index.ts +35 -0
  130. package/dist/types/shared/fb_collections.d.ts +5 -0
  131. package/dist/types/shared/fb_collections.js +13 -0
  132. package/dist/types/shared/fb_collections.ts +14 -0
  133. package/dist/types/shared/index.d.ts +52 -0
  134. package/dist/types/shared/index.js +30 -0
  135. package/dist/types/shared/index.ts +74 -0
  136. package/dist/types/shared/maska.d.ts +23 -0
  137. package/dist/types/shared/maska.js +2 -0
  138. package/dist/types/shared/maska.ts +26 -0
  139. package/package.json +1 -1
@@ -0,0 +1,1579 @@
1
+ import { z } from "zod";
2
+ export declare const zSurveyActionSchema: z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>;
3
+ export declare const zSurveyDeploymentActionSchema: z.ZodEnum<["CREATE_SURVEY_DEPLOYMENT", "DELETE_SURVEY_DEPLOYMENT", "UPDATE_SURVEY_DEPLOYMENT"]>;
4
+ export declare const zSurveyPermissionSchema: z.ZodEnum<["private", "tenant", "public"]>;
5
+ export declare const zSurveyTypeSchema: z.ZodEnum<["360", "general"]>;
6
+ export declare const zSurveyStatusSchema: z.ZodEnum<["draft", "ready", "archived"]>;
7
+ export declare const zSurveyQuestionTypeSchema: z.ZodEnum<["scale", "essay", "options", "date", "phone", "mask"]>;
8
+ export declare const zSurveyDeploymentStatusSchema: z.ZodEnum<["draft", "open", "closed", "in_progress", "paused"]>;
9
+ export declare const zSurveySubmissionStatusSchema: z.ZodEnum<["not_started", "in_progress", "completed"]>;
10
+ export declare const zSurveyQuestionSchema: z.ZodObject<z.objectUtil.extendShape<{
11
+ id: z.ZodString;
12
+ ref: z.ZodAny;
13
+ tenant: z.ZodString;
14
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
17
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
18
+ }, {
19
+ surveyId: z.ZodString;
20
+ sectionId: z.ZodString;
21
+ statement: z.ZodOptional<z.ZodString>;
22
+ description: z.ZodOptional<z.ZodString>;
23
+ description_text: z.ZodOptional<z.ZodString>;
24
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
25
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
26
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ name: z.ZodString;
28
+ color: z.ZodOptional<z.ZodString>;
29
+ hidden: z.ZodBoolean;
30
+ }, "strip", z.ZodTypeAny, {
31
+ name: string;
32
+ hidden: boolean;
33
+ color?: string | undefined;
34
+ }, {
35
+ name: string;
36
+ hidden: boolean;
37
+ color?: string | undefined;
38
+ }>, "many">>>;
39
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
40
+ id: z.ZodString;
41
+ ref: z.ZodAny;
42
+ tenant: z.ZodString;
43
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
44
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
45
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
46
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
47
+ }, {
48
+ surveyId: z.ZodString;
49
+ sectionId: z.ZodString;
50
+ statement: z.ZodOptional<z.ZodString>;
51
+ description: z.ZodOptional<z.ZodString>;
52
+ description_text: z.ZodOptional<z.ZodString>;
53
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
54
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
55
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
56
+ name: z.ZodString;
57
+ color: z.ZodOptional<z.ZodString>;
58
+ hidden: z.ZodBoolean;
59
+ }, "strip", z.ZodTypeAny, {
60
+ name: string;
61
+ hidden: boolean;
62
+ color?: string | undefined;
63
+ }, {
64
+ name: string;
65
+ hidden: boolean;
66
+ color?: string | undefined;
67
+ }>, "many">>>;
68
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
69
+ id: z.ZodString;
70
+ ref: z.ZodAny;
71
+ tenant: z.ZodString;
72
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
73
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
74
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
75
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
76
+ }, {
77
+ surveyId: z.ZodString;
78
+ sectionId: z.ZodString;
79
+ statement: z.ZodOptional<z.ZodString>;
80
+ description: z.ZodOptional<z.ZodString>;
81
+ description_text: z.ZodOptional<z.ZodString>;
82
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
83
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
84
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
85
+ name: z.ZodString;
86
+ color: z.ZodOptional<z.ZodString>;
87
+ hidden: z.ZodBoolean;
88
+ }, "strip", z.ZodTypeAny, {
89
+ name: string;
90
+ hidden: boolean;
91
+ color?: string | undefined;
92
+ }, {
93
+ name: string;
94
+ hidden: boolean;
95
+ color?: string | undefined;
96
+ }>, "many">>>;
97
+ }>, z.ZodTypeAny, "passthrough">>;
98
+ export declare const zSurveyQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
99
+ id: z.ZodString;
100
+ ref: z.ZodAny;
101
+ tenant: z.ZodString;
102
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
103
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
104
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
105
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
106
+ }, {
107
+ surveyId: z.ZodString;
108
+ sectionId: z.ZodString;
109
+ statement: z.ZodOptional<z.ZodString>;
110
+ description: z.ZodOptional<z.ZodString>;
111
+ description_text: z.ZodOptional<z.ZodString>;
112
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
113
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
114
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
115
+ name: z.ZodString;
116
+ color: z.ZodOptional<z.ZodString>;
117
+ hidden: z.ZodBoolean;
118
+ }, "strip", z.ZodTypeAny, {
119
+ name: string;
120
+ hidden: boolean;
121
+ color?: string | undefined;
122
+ }, {
123
+ name: string;
124
+ hidden: boolean;
125
+ color?: string | undefined;
126
+ }>, "many">>>;
127
+ }>, {
128
+ type: z.ZodLiteral<"scale">;
129
+ template: z.ZodDefault<z.ZodOptional<z.ZodString>>;
130
+ scale_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
131
+ scale_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
132
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
133
+ id: z.ZodString;
134
+ ref: z.ZodAny;
135
+ tenant: z.ZodString;
136
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
137
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
138
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
139
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
140
+ }, {
141
+ surveyId: z.ZodString;
142
+ sectionId: z.ZodString;
143
+ statement: z.ZodOptional<z.ZodString>;
144
+ description: z.ZodOptional<z.ZodString>;
145
+ description_text: z.ZodOptional<z.ZodString>;
146
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
147
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
148
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
149
+ name: z.ZodString;
150
+ color: z.ZodOptional<z.ZodString>;
151
+ hidden: z.ZodBoolean;
152
+ }, "strip", z.ZodTypeAny, {
153
+ name: string;
154
+ hidden: boolean;
155
+ color?: string | undefined;
156
+ }, {
157
+ name: string;
158
+ hidden: boolean;
159
+ color?: string | undefined;
160
+ }>, "many">>>;
161
+ }>, {
162
+ type: z.ZodLiteral<"scale">;
163
+ template: z.ZodDefault<z.ZodOptional<z.ZodString>>;
164
+ scale_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
165
+ scale_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
166
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
167
+ id: z.ZodString;
168
+ ref: z.ZodAny;
169
+ tenant: z.ZodString;
170
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
171
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
172
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
173
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
174
+ }, {
175
+ surveyId: z.ZodString;
176
+ sectionId: z.ZodString;
177
+ statement: z.ZodOptional<z.ZodString>;
178
+ description: z.ZodOptional<z.ZodString>;
179
+ description_text: z.ZodOptional<z.ZodString>;
180
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
181
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
182
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
183
+ name: z.ZodString;
184
+ color: z.ZodOptional<z.ZodString>;
185
+ hidden: z.ZodBoolean;
186
+ }, "strip", z.ZodTypeAny, {
187
+ name: string;
188
+ hidden: boolean;
189
+ color?: string | undefined;
190
+ }, {
191
+ name: string;
192
+ hidden: boolean;
193
+ color?: string | undefined;
194
+ }>, "many">>>;
195
+ }>, {
196
+ type: z.ZodLiteral<"scale">;
197
+ template: z.ZodDefault<z.ZodOptional<z.ZodString>>;
198
+ scale_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
199
+ scale_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
200
+ }>, z.ZodTypeAny, "passthrough">>;
201
+ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
202
+ id: z.ZodString;
203
+ ref: z.ZodAny;
204
+ tenant: z.ZodString;
205
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
206
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
207
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
208
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
209
+ }, {
210
+ surveyId: z.ZodString;
211
+ sectionId: z.ZodString;
212
+ statement: z.ZodOptional<z.ZodString>;
213
+ description: z.ZodOptional<z.ZodString>;
214
+ description_text: z.ZodOptional<z.ZodString>;
215
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
216
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
217
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
218
+ name: z.ZodString;
219
+ color: z.ZodOptional<z.ZodString>;
220
+ hidden: z.ZodBoolean;
221
+ }, "strip", z.ZodTypeAny, {
222
+ name: string;
223
+ hidden: boolean;
224
+ color?: string | undefined;
225
+ }, {
226
+ name: string;
227
+ hidden: boolean;
228
+ color?: string | undefined;
229
+ }>, "many">>>;
230
+ }>, {
231
+ type: z.ZodLiteral<"essay">;
232
+ multiple_lines: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
233
+ length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
234
+ length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
235
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
236
+ id: z.ZodString;
237
+ ref: z.ZodAny;
238
+ tenant: z.ZodString;
239
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
240
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
241
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
242
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
243
+ }, {
244
+ surveyId: z.ZodString;
245
+ sectionId: z.ZodString;
246
+ statement: z.ZodOptional<z.ZodString>;
247
+ description: z.ZodOptional<z.ZodString>;
248
+ description_text: z.ZodOptional<z.ZodString>;
249
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
250
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
251
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
252
+ name: z.ZodString;
253
+ color: z.ZodOptional<z.ZodString>;
254
+ hidden: z.ZodBoolean;
255
+ }, "strip", z.ZodTypeAny, {
256
+ name: string;
257
+ hidden: boolean;
258
+ color?: string | undefined;
259
+ }, {
260
+ name: string;
261
+ hidden: boolean;
262
+ color?: string | undefined;
263
+ }>, "many">>>;
264
+ }>, {
265
+ type: z.ZodLiteral<"essay">;
266
+ multiple_lines: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
267
+ length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
268
+ length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
269
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
270
+ id: z.ZodString;
271
+ ref: z.ZodAny;
272
+ tenant: z.ZodString;
273
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
274
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
275
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
276
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
277
+ }, {
278
+ surveyId: z.ZodString;
279
+ sectionId: z.ZodString;
280
+ statement: z.ZodOptional<z.ZodString>;
281
+ description: z.ZodOptional<z.ZodString>;
282
+ description_text: z.ZodOptional<z.ZodString>;
283
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
284
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
285
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
286
+ name: z.ZodString;
287
+ color: z.ZodOptional<z.ZodString>;
288
+ hidden: z.ZodBoolean;
289
+ }, "strip", z.ZodTypeAny, {
290
+ name: string;
291
+ hidden: boolean;
292
+ color?: string | undefined;
293
+ }, {
294
+ name: string;
295
+ hidden: boolean;
296
+ color?: string | undefined;
297
+ }>, "many">>>;
298
+ }>, {
299
+ type: z.ZodLiteral<"essay">;
300
+ multiple_lines: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
301
+ length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
302
+ length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
303
+ }>, z.ZodTypeAny, "passthrough">>;
304
+ export declare const zSurveyQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
305
+ id: z.ZodString;
306
+ ref: z.ZodAny;
307
+ tenant: z.ZodString;
308
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
309
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
310
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
311
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
312
+ }, {
313
+ surveyId: z.ZodString;
314
+ sectionId: z.ZodString;
315
+ statement: z.ZodOptional<z.ZodString>;
316
+ description: z.ZodOptional<z.ZodString>;
317
+ description_text: z.ZodOptional<z.ZodString>;
318
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
319
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
320
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
321
+ name: z.ZodString;
322
+ color: z.ZodOptional<z.ZodString>;
323
+ hidden: z.ZodBoolean;
324
+ }, "strip", z.ZodTypeAny, {
325
+ name: string;
326
+ hidden: boolean;
327
+ color?: string | undefined;
328
+ }, {
329
+ name: string;
330
+ hidden: boolean;
331
+ color?: string | undefined;
332
+ }>, "many">>>;
333
+ }>, {
334
+ type: z.ZodLiteral<"options">;
335
+ options: z.ZodArray<z.ZodString, "many">;
336
+ allow_multiple_selections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
337
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
338
+ id: z.ZodString;
339
+ ref: z.ZodAny;
340
+ tenant: z.ZodString;
341
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
342
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
343
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
344
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
345
+ }, {
346
+ surveyId: z.ZodString;
347
+ sectionId: z.ZodString;
348
+ statement: z.ZodOptional<z.ZodString>;
349
+ description: z.ZodOptional<z.ZodString>;
350
+ description_text: z.ZodOptional<z.ZodString>;
351
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
352
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
353
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
354
+ name: z.ZodString;
355
+ color: z.ZodOptional<z.ZodString>;
356
+ hidden: z.ZodBoolean;
357
+ }, "strip", z.ZodTypeAny, {
358
+ name: string;
359
+ hidden: boolean;
360
+ color?: string | undefined;
361
+ }, {
362
+ name: string;
363
+ hidden: boolean;
364
+ color?: string | undefined;
365
+ }>, "many">>>;
366
+ }>, {
367
+ type: z.ZodLiteral<"options">;
368
+ options: z.ZodArray<z.ZodString, "many">;
369
+ allow_multiple_selections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
370
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
371
+ id: z.ZodString;
372
+ ref: z.ZodAny;
373
+ tenant: z.ZodString;
374
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
375
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
376
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
377
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
378
+ }, {
379
+ surveyId: z.ZodString;
380
+ sectionId: z.ZodString;
381
+ statement: z.ZodOptional<z.ZodString>;
382
+ description: z.ZodOptional<z.ZodString>;
383
+ description_text: z.ZodOptional<z.ZodString>;
384
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
385
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
386
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
387
+ name: z.ZodString;
388
+ color: z.ZodOptional<z.ZodString>;
389
+ hidden: z.ZodBoolean;
390
+ }, "strip", z.ZodTypeAny, {
391
+ name: string;
392
+ hidden: boolean;
393
+ color?: string | undefined;
394
+ }, {
395
+ name: string;
396
+ hidden: boolean;
397
+ color?: string | undefined;
398
+ }>, "many">>>;
399
+ }>, {
400
+ type: z.ZodLiteral<"options">;
401
+ options: z.ZodArray<z.ZodString, "many">;
402
+ allow_multiple_selections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
403
+ }>, z.ZodTypeAny, "passthrough">>;
404
+ export declare const zSurveyQuestionDateSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
405
+ id: z.ZodString;
406
+ ref: z.ZodAny;
407
+ tenant: z.ZodString;
408
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
409
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
410
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
411
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
412
+ }, {
413
+ surveyId: z.ZodString;
414
+ sectionId: z.ZodString;
415
+ statement: z.ZodOptional<z.ZodString>;
416
+ description: z.ZodOptional<z.ZodString>;
417
+ description_text: z.ZodOptional<z.ZodString>;
418
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
419
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
420
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
421
+ name: z.ZodString;
422
+ color: z.ZodOptional<z.ZodString>;
423
+ hidden: z.ZodBoolean;
424
+ }, "strip", z.ZodTypeAny, {
425
+ name: string;
426
+ hidden: boolean;
427
+ color?: string | undefined;
428
+ }, {
429
+ name: string;
430
+ hidden: boolean;
431
+ color?: string | undefined;
432
+ }>, "many">>>;
433
+ }>, {
434
+ type: z.ZodLiteral<"date">;
435
+ date_min: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
436
+ date_max: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
437
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
438
+ id: z.ZodString;
439
+ ref: z.ZodAny;
440
+ tenant: z.ZodString;
441
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
442
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
443
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
444
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
445
+ }, {
446
+ surveyId: z.ZodString;
447
+ sectionId: z.ZodString;
448
+ statement: z.ZodOptional<z.ZodString>;
449
+ description: z.ZodOptional<z.ZodString>;
450
+ description_text: z.ZodOptional<z.ZodString>;
451
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
452
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
453
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
454
+ name: z.ZodString;
455
+ color: z.ZodOptional<z.ZodString>;
456
+ hidden: z.ZodBoolean;
457
+ }, "strip", z.ZodTypeAny, {
458
+ name: string;
459
+ hidden: boolean;
460
+ color?: string | undefined;
461
+ }, {
462
+ name: string;
463
+ hidden: boolean;
464
+ color?: string | undefined;
465
+ }>, "many">>>;
466
+ }>, {
467
+ type: z.ZodLiteral<"date">;
468
+ date_min: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
469
+ date_max: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
470
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
471
+ id: z.ZodString;
472
+ ref: z.ZodAny;
473
+ tenant: z.ZodString;
474
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
475
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
476
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
477
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
478
+ }, {
479
+ surveyId: z.ZodString;
480
+ sectionId: z.ZodString;
481
+ statement: z.ZodOptional<z.ZodString>;
482
+ description: z.ZodOptional<z.ZodString>;
483
+ description_text: z.ZodOptional<z.ZodString>;
484
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
485
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
486
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
487
+ name: z.ZodString;
488
+ color: z.ZodOptional<z.ZodString>;
489
+ hidden: z.ZodBoolean;
490
+ }, "strip", z.ZodTypeAny, {
491
+ name: string;
492
+ hidden: boolean;
493
+ color?: string | undefined;
494
+ }, {
495
+ name: string;
496
+ hidden: boolean;
497
+ color?: string | undefined;
498
+ }>, "many">>>;
499
+ }>, {
500
+ type: z.ZodLiteral<"date">;
501
+ date_min: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
502
+ date_max: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
503
+ }>, z.ZodTypeAny, "passthrough">>;
504
+ export declare const zSurveyQuestionPhoneSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
505
+ id: z.ZodString;
506
+ ref: z.ZodAny;
507
+ tenant: z.ZodString;
508
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
509
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
510
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
511
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
512
+ }, {
513
+ surveyId: z.ZodString;
514
+ sectionId: z.ZodString;
515
+ statement: z.ZodOptional<z.ZodString>;
516
+ description: z.ZodOptional<z.ZodString>;
517
+ description_text: z.ZodOptional<z.ZodString>;
518
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
519
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
520
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
521
+ name: z.ZodString;
522
+ color: z.ZodOptional<z.ZodString>;
523
+ hidden: z.ZodBoolean;
524
+ }, "strip", z.ZodTypeAny, {
525
+ name: string;
526
+ hidden: boolean;
527
+ color?: string | undefined;
528
+ }, {
529
+ name: string;
530
+ hidden: boolean;
531
+ color?: string | undefined;
532
+ }>, "many">>>;
533
+ }>, {
534
+ type: z.ZodLiteral<"phone">;
535
+ maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
536
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
537
+ id: z.ZodString;
538
+ ref: z.ZodAny;
539
+ tenant: z.ZodString;
540
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
541
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
542
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
543
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
544
+ }, {
545
+ surveyId: z.ZodString;
546
+ sectionId: z.ZodString;
547
+ statement: z.ZodOptional<z.ZodString>;
548
+ description: z.ZodOptional<z.ZodString>;
549
+ description_text: z.ZodOptional<z.ZodString>;
550
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
551
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
552
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
553
+ name: z.ZodString;
554
+ color: z.ZodOptional<z.ZodString>;
555
+ hidden: z.ZodBoolean;
556
+ }, "strip", z.ZodTypeAny, {
557
+ name: string;
558
+ hidden: boolean;
559
+ color?: string | undefined;
560
+ }, {
561
+ name: string;
562
+ hidden: boolean;
563
+ color?: string | undefined;
564
+ }>, "many">>>;
565
+ }>, {
566
+ type: z.ZodLiteral<"phone">;
567
+ maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
568
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
569
+ id: z.ZodString;
570
+ ref: z.ZodAny;
571
+ tenant: z.ZodString;
572
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
573
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
574
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
575
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
576
+ }, {
577
+ surveyId: z.ZodString;
578
+ sectionId: z.ZodString;
579
+ statement: z.ZodOptional<z.ZodString>;
580
+ description: z.ZodOptional<z.ZodString>;
581
+ description_text: z.ZodOptional<z.ZodString>;
582
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
583
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
584
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
585
+ name: z.ZodString;
586
+ color: z.ZodOptional<z.ZodString>;
587
+ hidden: z.ZodBoolean;
588
+ }, "strip", z.ZodTypeAny, {
589
+ name: string;
590
+ hidden: boolean;
591
+ color?: string | undefined;
592
+ }, {
593
+ name: string;
594
+ hidden: boolean;
595
+ color?: string | undefined;
596
+ }>, "many">>>;
597
+ }>, {
598
+ type: z.ZodLiteral<"phone">;
599
+ maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
600
+ }>, z.ZodTypeAny, "passthrough">>;
601
+ export declare const zSurveyQuestionMaskSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
602
+ id: z.ZodString;
603
+ ref: z.ZodAny;
604
+ tenant: z.ZodString;
605
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
606
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
607
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
608
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
609
+ }, {
610
+ surveyId: z.ZodString;
611
+ sectionId: z.ZodString;
612
+ statement: z.ZodOptional<z.ZodString>;
613
+ description: z.ZodOptional<z.ZodString>;
614
+ description_text: z.ZodOptional<z.ZodString>;
615
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
616
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
617
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
618
+ name: z.ZodString;
619
+ color: z.ZodOptional<z.ZodString>;
620
+ hidden: z.ZodBoolean;
621
+ }, "strip", z.ZodTypeAny, {
622
+ name: string;
623
+ hidden: boolean;
624
+ color?: string | undefined;
625
+ }, {
626
+ name: string;
627
+ hidden: boolean;
628
+ color?: string | undefined;
629
+ }>, "many">>>;
630
+ }>, {
631
+ type: z.ZodLiteral<"mask">;
632
+ maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
633
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
634
+ id: z.ZodString;
635
+ ref: z.ZodAny;
636
+ tenant: z.ZodString;
637
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
638
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
639
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
640
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
641
+ }, {
642
+ surveyId: z.ZodString;
643
+ sectionId: z.ZodString;
644
+ statement: z.ZodOptional<z.ZodString>;
645
+ description: z.ZodOptional<z.ZodString>;
646
+ description_text: z.ZodOptional<z.ZodString>;
647
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
648
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
649
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
650
+ name: z.ZodString;
651
+ color: z.ZodOptional<z.ZodString>;
652
+ hidden: z.ZodBoolean;
653
+ }, "strip", z.ZodTypeAny, {
654
+ name: string;
655
+ hidden: boolean;
656
+ color?: string | undefined;
657
+ }, {
658
+ name: string;
659
+ hidden: boolean;
660
+ color?: string | undefined;
661
+ }>, "many">>>;
662
+ }>, {
663
+ type: z.ZodLiteral<"mask">;
664
+ maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
665
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
666
+ id: z.ZodString;
667
+ ref: z.ZodAny;
668
+ tenant: z.ZodString;
669
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
670
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
671
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
672
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
673
+ }, {
674
+ surveyId: z.ZodString;
675
+ sectionId: z.ZodString;
676
+ statement: z.ZodOptional<z.ZodString>;
677
+ description: z.ZodOptional<z.ZodString>;
678
+ description_text: z.ZodOptional<z.ZodString>;
679
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
680
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
681
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
682
+ name: z.ZodString;
683
+ color: z.ZodOptional<z.ZodString>;
684
+ hidden: z.ZodBoolean;
685
+ }, "strip", z.ZodTypeAny, {
686
+ name: string;
687
+ hidden: boolean;
688
+ color?: string | undefined;
689
+ }, {
690
+ name: string;
691
+ hidden: boolean;
692
+ color?: string | undefined;
693
+ }>, "many">>>;
694
+ }>, {
695
+ type: z.ZodLiteral<"mask">;
696
+ maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
697
+ }>, z.ZodTypeAny, "passthrough">>;
698
+ export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<{
699
+ id: z.ZodString;
700
+ ref: z.ZodAny;
701
+ tenant: z.ZodString;
702
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
703
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
704
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
705
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
706
+ }, {
707
+ surveyId: z.ZodString;
708
+ name: z.ZodString;
709
+ description: z.ZodOptional<z.ZodString>;
710
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
711
+ question_counters: z.ZodOptional<z.ZodAny>;
712
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
713
+ id: z.ZodString;
714
+ ref: z.ZodAny;
715
+ tenant: z.ZodString;
716
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
717
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
718
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
719
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
720
+ }, {
721
+ surveyId: z.ZodString;
722
+ name: z.ZodString;
723
+ description: z.ZodOptional<z.ZodString>;
724
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
725
+ question_counters: z.ZodOptional<z.ZodAny>;
726
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
727
+ id: z.ZodString;
728
+ ref: z.ZodAny;
729
+ tenant: z.ZodString;
730
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
731
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
732
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
733
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
734
+ }, {
735
+ surveyId: z.ZodString;
736
+ name: z.ZodString;
737
+ description: z.ZodOptional<z.ZodString>;
738
+ order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
739
+ question_counters: z.ZodOptional<z.ZodAny>;
740
+ }>, z.ZodTypeAny, "passthrough">>;
741
+ export declare const zSurveySchema: z.ZodObject<z.objectUtil.extendShape<{
742
+ id: z.ZodString;
743
+ ref: z.ZodAny;
744
+ tenant: z.ZodString;
745
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
746
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
747
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
748
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
749
+ }, {
750
+ name: z.ZodString;
751
+ description: z.ZodOptional<z.ZodString>;
752
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
753
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
754
+ type: z.ZodEnum<["360", "general"]>;
755
+ section_counters: z.ZodOptional<z.ZodAny>;
756
+ question_counters: z.ZodOptional<z.ZodAny>;
757
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
758
+ name: z.ZodString;
759
+ color: z.ZodOptional<z.ZodString>;
760
+ hidden: z.ZodBoolean;
761
+ }, "strip", z.ZodTypeAny, {
762
+ name: string;
763
+ hidden: boolean;
764
+ color?: string | undefined;
765
+ }, {
766
+ name: string;
767
+ hidden: boolean;
768
+ color?: string | undefined;
769
+ }>, "many">>>;
770
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
771
+ id: z.ZodString;
772
+ ref: z.ZodAny;
773
+ tenant: z.ZodString;
774
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
775
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
776
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
777
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
778
+ }, {
779
+ name: z.ZodString;
780
+ description: z.ZodOptional<z.ZodString>;
781
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
782
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
783
+ type: z.ZodEnum<["360", "general"]>;
784
+ section_counters: z.ZodOptional<z.ZodAny>;
785
+ question_counters: z.ZodOptional<z.ZodAny>;
786
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
787
+ name: z.ZodString;
788
+ color: z.ZodOptional<z.ZodString>;
789
+ hidden: z.ZodBoolean;
790
+ }, "strip", z.ZodTypeAny, {
791
+ name: string;
792
+ hidden: boolean;
793
+ color?: string | undefined;
794
+ }, {
795
+ name: string;
796
+ hidden: boolean;
797
+ color?: string | undefined;
798
+ }>, "many">>>;
799
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
800
+ id: z.ZodString;
801
+ ref: z.ZodAny;
802
+ tenant: z.ZodString;
803
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
804
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
805
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
806
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
807
+ }, {
808
+ name: z.ZodString;
809
+ description: z.ZodOptional<z.ZodString>;
810
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
811
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
812
+ type: z.ZodEnum<["360", "general"]>;
813
+ section_counters: z.ZodOptional<z.ZodAny>;
814
+ question_counters: z.ZodOptional<z.ZodAny>;
815
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
816
+ name: z.ZodString;
817
+ color: z.ZodOptional<z.ZodString>;
818
+ hidden: z.ZodBoolean;
819
+ }, "strip", z.ZodTypeAny, {
820
+ name: string;
821
+ hidden: boolean;
822
+ color?: string | undefined;
823
+ }, {
824
+ name: string;
825
+ hidden: boolean;
826
+ color?: string | undefined;
827
+ }>, "many">>>;
828
+ }>, z.ZodTypeAny, "passthrough">>;
829
+ export declare const zQuestionResponseSchema: z.ZodObject<{
830
+ questionId: z.ZodString;
831
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
832
+ date: z.ZodOptional<z.ZodDate>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ questionId: string;
835
+ answer: string | string[];
836
+ date?: Date | undefined;
837
+ }, {
838
+ questionId: string;
839
+ answer: string | string[];
840
+ date?: Date | undefined;
841
+ }>;
842
+ export declare const zSurveyResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
843
+ id: z.ZodString;
844
+ ref: z.ZodAny;
845
+ tenant: z.ZodString;
846
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
847
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
848
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
849
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
850
+ }, {
851
+ surveyId: z.ZodString;
852
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
853
+ questionId: z.ZodString;
854
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
855
+ date: z.ZodOptional<z.ZodDate>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ questionId: string;
858
+ answer: string | string[];
859
+ date?: Date | undefined;
860
+ }, {
861
+ questionId: string;
862
+ answer: string | string[];
863
+ date?: Date | undefined;
864
+ }>, "many">>;
865
+ }>, "strip", z.ZodTypeAny, {
866
+ id: string;
867
+ tenant: string;
868
+ model_ver: number;
869
+ surveyId: string;
870
+ ref?: any;
871
+ created_at?: Date | null | undefined;
872
+ updated_at?: Date | null | undefined;
873
+ deleted_at?: Date | null | undefined;
874
+ responses?: {
875
+ questionId: string;
876
+ answer: string | string[];
877
+ date?: Date | undefined;
878
+ }[] | undefined;
879
+ }, {
880
+ id: string;
881
+ tenant: string;
882
+ surveyId: string;
883
+ ref?: any;
884
+ model_ver?: number | undefined;
885
+ created_at?: Date | null | undefined;
886
+ updated_at?: Date | null | undefined;
887
+ deleted_at?: Date | null | undefined;
888
+ responses?: {
889
+ questionId: string;
890
+ answer: string | string[];
891
+ date?: Date | undefined;
892
+ }[] | undefined;
893
+ }>;
894
+ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendShape<{
895
+ id: z.ZodString;
896
+ ref: z.ZodAny;
897
+ tenant: z.ZodString;
898
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
899
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
900
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
901
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
902
+ }, {
903
+ deploymentId: z.ZodOptional<z.ZodString>;
904
+ submission_date: z.ZodOptional<z.ZodDate>;
905
+ status: z.ZodEnum<["not_started", "in_progress", "completed"]>;
906
+ inviteeId: z.ZodOptional<z.ZodString>;
907
+ user_name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
908
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
909
+ id: z.ZodString;
910
+ ref: z.ZodAny;
911
+ tenant: z.ZodString;
912
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
913
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
914
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
915
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
916
+ }, {
917
+ surveyId: z.ZodString;
918
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
919
+ questionId: z.ZodString;
920
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
921
+ date: z.ZodOptional<z.ZodDate>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ questionId: string;
924
+ answer: string | string[];
925
+ date?: Date | undefined;
926
+ }, {
927
+ questionId: string;
928
+ answer: string | string[];
929
+ date?: Date | undefined;
930
+ }>, "many">>;
931
+ }>, "strip", z.ZodTypeAny, {
932
+ id: string;
933
+ tenant: string;
934
+ model_ver: number;
935
+ surveyId: string;
936
+ ref?: any;
937
+ created_at?: Date | null | undefined;
938
+ updated_at?: Date | null | undefined;
939
+ deleted_at?: Date | null | undefined;
940
+ responses?: {
941
+ questionId: string;
942
+ answer: string | string[];
943
+ date?: Date | undefined;
944
+ }[] | undefined;
945
+ }, {
946
+ id: string;
947
+ tenant: string;
948
+ surveyId: string;
949
+ ref?: any;
950
+ model_ver?: number | undefined;
951
+ created_at?: Date | null | undefined;
952
+ updated_at?: Date | null | undefined;
953
+ deleted_at?: Date | null | undefined;
954
+ responses?: {
955
+ questionId: string;
956
+ answer: string | string[];
957
+ date?: Date | undefined;
958
+ }[] | undefined;
959
+ }>, "many">>;
960
+ modified_after_completion: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
961
+ answer_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
962
+ submission_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
963
+ }>, "strip", z.ZodTypeAny, {
964
+ id: string;
965
+ tenant: string;
966
+ model_ver: number;
967
+ status: "not_started" | "in_progress" | "completed";
968
+ user_name: string;
969
+ modified_after_completion: boolean;
970
+ answer_count: number;
971
+ submission_count: number;
972
+ ref?: any;
973
+ created_at?: Date | null | undefined;
974
+ updated_at?: Date | null | undefined;
975
+ deleted_at?: Date | null | undefined;
976
+ responses?: {
977
+ id: string;
978
+ tenant: string;
979
+ model_ver: number;
980
+ surveyId: string;
981
+ ref?: any;
982
+ created_at?: Date | null | undefined;
983
+ updated_at?: Date | null | undefined;
984
+ deleted_at?: Date | null | undefined;
985
+ responses?: {
986
+ questionId: string;
987
+ answer: string | string[];
988
+ date?: Date | undefined;
989
+ }[] | undefined;
990
+ }[] | undefined;
991
+ deploymentId?: string | undefined;
992
+ submission_date?: Date | undefined;
993
+ inviteeId?: string | undefined;
994
+ }, {
995
+ id: string;
996
+ tenant: string;
997
+ status: "not_started" | "in_progress" | "completed";
998
+ ref?: any;
999
+ model_ver?: number | undefined;
1000
+ created_at?: Date | null | undefined;
1001
+ updated_at?: Date | null | undefined;
1002
+ deleted_at?: Date | null | undefined;
1003
+ responses?: {
1004
+ id: string;
1005
+ tenant: string;
1006
+ surveyId: string;
1007
+ ref?: any;
1008
+ model_ver?: number | undefined;
1009
+ created_at?: Date | null | undefined;
1010
+ updated_at?: Date | null | undefined;
1011
+ deleted_at?: Date | null | undefined;
1012
+ responses?: {
1013
+ questionId: string;
1014
+ answer: string | string[];
1015
+ date?: Date | undefined;
1016
+ }[] | undefined;
1017
+ }[] | undefined;
1018
+ deploymentId?: string | undefined;
1019
+ submission_date?: Date | undefined;
1020
+ inviteeId?: string | undefined;
1021
+ user_name?: string | undefined;
1022
+ modified_after_completion?: boolean | undefined;
1023
+ answer_count?: number | undefined;
1024
+ submission_count?: number | undefined;
1025
+ }>;
1026
+ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<{
1027
+ id: z.ZodString;
1028
+ ref: z.ZodAny;
1029
+ tenant: z.ZodString;
1030
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1031
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1032
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1033
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1034
+ }, {
1035
+ invitedUserId: z.ZodOptional<z.ZodString>;
1036
+ name: z.ZodString;
1037
+ email: z.ZodOptional<z.ZodString>;
1038
+ phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1039
+ photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ description: z.ZodOptional<z.ZodString>;
1041
+ isAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1042
+ submissionId: z.ZodOptional<z.ZodString>;
1043
+ submission_status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["not_started", "in_progress", "completed"]>>>;
1044
+ }>, "strip", z.ZodTypeAny, {
1045
+ name: string;
1046
+ id: string;
1047
+ tenant: string;
1048
+ model_ver: number;
1049
+ phone: string;
1050
+ isAnonymous: boolean;
1051
+ submission_status: "not_started" | "in_progress" | "completed";
1052
+ ref?: any;
1053
+ created_at?: Date | null | undefined;
1054
+ updated_at?: Date | null | undefined;
1055
+ deleted_at?: Date | null | undefined;
1056
+ email?: string | undefined;
1057
+ description?: string | undefined;
1058
+ photo_url?: string | null | undefined;
1059
+ invitedUserId?: string | undefined;
1060
+ submissionId?: string | undefined;
1061
+ }, {
1062
+ name: string;
1063
+ id: string;
1064
+ tenant: string;
1065
+ ref?: any;
1066
+ model_ver?: number | undefined;
1067
+ created_at?: Date | null | undefined;
1068
+ updated_at?: Date | null | undefined;
1069
+ deleted_at?: Date | null | undefined;
1070
+ email?: string | undefined;
1071
+ description?: string | undefined;
1072
+ photo_url?: string | null | undefined;
1073
+ phone?: string | undefined;
1074
+ invitedUserId?: string | undefined;
1075
+ isAnonymous?: boolean | undefined;
1076
+ submissionId?: string | undefined;
1077
+ submission_status?: "not_started" | "in_progress" | "completed" | undefined;
1078
+ }>;
1079
+ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendShape<{
1080
+ id: z.ZodString;
1081
+ ref: z.ZodAny;
1082
+ tenant: z.ZodString;
1083
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1084
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1085
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1086
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1087
+ }, {
1088
+ name: z.ZodString;
1089
+ description: z.ZodOptional<z.ZodString>;
1090
+ surveys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1091
+ id: z.ZodString;
1092
+ ref: z.ZodAny;
1093
+ tenant: z.ZodString;
1094
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1095
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1096
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1097
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1098
+ }, {
1099
+ name: z.ZodString;
1100
+ description: z.ZodOptional<z.ZodString>;
1101
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
1102
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
1103
+ type: z.ZodEnum<["360", "general"]>;
1104
+ section_counters: z.ZodOptional<z.ZodAny>;
1105
+ question_counters: z.ZodOptional<z.ZodAny>;
1106
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1107
+ name: z.ZodString;
1108
+ color: z.ZodOptional<z.ZodString>;
1109
+ hidden: z.ZodBoolean;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ name: string;
1112
+ hidden: boolean;
1113
+ color?: string | undefined;
1114
+ }, {
1115
+ name: string;
1116
+ hidden: boolean;
1117
+ color?: string | undefined;
1118
+ }>, "many">>>;
1119
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1120
+ id: z.ZodString;
1121
+ ref: z.ZodAny;
1122
+ tenant: z.ZodString;
1123
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1124
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1125
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1126
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1127
+ }, {
1128
+ name: z.ZodString;
1129
+ description: z.ZodOptional<z.ZodString>;
1130
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
1131
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
1132
+ type: z.ZodEnum<["360", "general"]>;
1133
+ section_counters: z.ZodOptional<z.ZodAny>;
1134
+ question_counters: z.ZodOptional<z.ZodAny>;
1135
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1136
+ name: z.ZodString;
1137
+ color: z.ZodOptional<z.ZodString>;
1138
+ hidden: z.ZodBoolean;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ name: string;
1141
+ hidden: boolean;
1142
+ color?: string | undefined;
1143
+ }, {
1144
+ name: string;
1145
+ hidden: boolean;
1146
+ color?: string | undefined;
1147
+ }>, "many">>>;
1148
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
1149
+ id: z.ZodString;
1150
+ ref: z.ZodAny;
1151
+ tenant: z.ZodString;
1152
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1153
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1154
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1155
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1156
+ }, {
1157
+ name: z.ZodString;
1158
+ description: z.ZodOptional<z.ZodString>;
1159
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
1160
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
1161
+ type: z.ZodEnum<["360", "general"]>;
1162
+ section_counters: z.ZodOptional<z.ZodAny>;
1163
+ question_counters: z.ZodOptional<z.ZodAny>;
1164
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1165
+ name: z.ZodString;
1166
+ color: z.ZodOptional<z.ZodString>;
1167
+ hidden: z.ZodBoolean;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ name: string;
1170
+ hidden: boolean;
1171
+ color?: string | undefined;
1172
+ }, {
1173
+ name: string;
1174
+ hidden: boolean;
1175
+ color?: string | undefined;
1176
+ }>, "many">>>;
1177
+ }>, z.ZodTypeAny, "passthrough">>, "many">>>;
1178
+ start_date: z.ZodNullable<z.ZodDate>;
1179
+ end_date: z.ZodNullable<z.ZodDate>;
1180
+ status: z.ZodEnum<["draft", "open", "closed", "in_progress", "paused"]>;
1181
+ allow_edit_answers: z.ZodBoolean;
1182
+ allow_partial_submission: z.ZodBoolean;
1183
+ section_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1184
+ question_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1185
+ invitees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1186
+ id: z.ZodString;
1187
+ ref: z.ZodAny;
1188
+ tenant: z.ZodString;
1189
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1190
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1191
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1192
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1193
+ }, {
1194
+ invitedUserId: z.ZodOptional<z.ZodString>;
1195
+ name: z.ZodString;
1196
+ email: z.ZodOptional<z.ZodString>;
1197
+ phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1198
+ photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1199
+ description: z.ZodOptional<z.ZodString>;
1200
+ isAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1201
+ submissionId: z.ZodOptional<z.ZodString>;
1202
+ submission_status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["not_started", "in_progress", "completed"]>>>;
1203
+ }>, "strip", z.ZodTypeAny, {
1204
+ name: string;
1205
+ id: string;
1206
+ tenant: string;
1207
+ model_ver: number;
1208
+ phone: string;
1209
+ isAnonymous: boolean;
1210
+ submission_status: "not_started" | "in_progress" | "completed";
1211
+ ref?: any;
1212
+ created_at?: Date | null | undefined;
1213
+ updated_at?: Date | null | undefined;
1214
+ deleted_at?: Date | null | undefined;
1215
+ email?: string | undefined;
1216
+ description?: string | undefined;
1217
+ photo_url?: string | null | undefined;
1218
+ invitedUserId?: string | undefined;
1219
+ submissionId?: string | undefined;
1220
+ }, {
1221
+ name: string;
1222
+ id: string;
1223
+ tenant: string;
1224
+ ref?: any;
1225
+ model_ver?: number | undefined;
1226
+ created_at?: Date | null | undefined;
1227
+ updated_at?: Date | null | undefined;
1228
+ deleted_at?: Date | null | undefined;
1229
+ email?: string | undefined;
1230
+ description?: string | undefined;
1231
+ photo_url?: string | null | undefined;
1232
+ phone?: string | undefined;
1233
+ invitedUserId?: string | undefined;
1234
+ isAnonymous?: boolean | undefined;
1235
+ submissionId?: string | undefined;
1236
+ submission_status?: "not_started" | "in_progress" | "completed" | undefined;
1237
+ }>, "many">>>;
1238
+ invitee_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1239
+ submissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1240
+ id: z.ZodString;
1241
+ ref: z.ZodAny;
1242
+ tenant: z.ZodString;
1243
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1244
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1245
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1246
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1247
+ }, {
1248
+ deploymentId: z.ZodOptional<z.ZodString>;
1249
+ submission_date: z.ZodOptional<z.ZodDate>;
1250
+ status: z.ZodEnum<["not_started", "in_progress", "completed"]>;
1251
+ inviteeId: z.ZodOptional<z.ZodString>;
1252
+ user_name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1253
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1254
+ id: z.ZodString;
1255
+ ref: z.ZodAny;
1256
+ tenant: z.ZodString;
1257
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1258
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1259
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1260
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1261
+ }, {
1262
+ surveyId: z.ZodString;
1263
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1264
+ questionId: z.ZodString;
1265
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1266
+ date: z.ZodOptional<z.ZodDate>;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ questionId: string;
1269
+ answer: string | string[];
1270
+ date?: Date | undefined;
1271
+ }, {
1272
+ questionId: string;
1273
+ answer: string | string[];
1274
+ date?: Date | undefined;
1275
+ }>, "many">>;
1276
+ }>, "strip", z.ZodTypeAny, {
1277
+ id: string;
1278
+ tenant: string;
1279
+ model_ver: number;
1280
+ surveyId: string;
1281
+ ref?: any;
1282
+ created_at?: Date | null | undefined;
1283
+ updated_at?: Date | null | undefined;
1284
+ deleted_at?: Date | null | undefined;
1285
+ responses?: {
1286
+ questionId: string;
1287
+ answer: string | string[];
1288
+ date?: Date | undefined;
1289
+ }[] | undefined;
1290
+ }, {
1291
+ id: string;
1292
+ tenant: string;
1293
+ surveyId: string;
1294
+ ref?: any;
1295
+ model_ver?: number | undefined;
1296
+ created_at?: Date | null | undefined;
1297
+ updated_at?: Date | null | undefined;
1298
+ deleted_at?: Date | null | undefined;
1299
+ responses?: {
1300
+ questionId: string;
1301
+ answer: string | string[];
1302
+ date?: Date | undefined;
1303
+ }[] | undefined;
1304
+ }>, "many">>;
1305
+ modified_after_completion: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1306
+ answer_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1307
+ submission_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1308
+ }>, "strip", z.ZodTypeAny, {
1309
+ id: string;
1310
+ tenant: string;
1311
+ model_ver: number;
1312
+ status: "not_started" | "in_progress" | "completed";
1313
+ user_name: string;
1314
+ modified_after_completion: boolean;
1315
+ answer_count: number;
1316
+ submission_count: number;
1317
+ ref?: any;
1318
+ created_at?: Date | null | undefined;
1319
+ updated_at?: Date | null | undefined;
1320
+ deleted_at?: Date | null | undefined;
1321
+ responses?: {
1322
+ id: string;
1323
+ tenant: string;
1324
+ model_ver: number;
1325
+ surveyId: string;
1326
+ ref?: any;
1327
+ created_at?: Date | null | undefined;
1328
+ updated_at?: Date | null | undefined;
1329
+ deleted_at?: Date | null | undefined;
1330
+ responses?: {
1331
+ questionId: string;
1332
+ answer: string | string[];
1333
+ date?: Date | undefined;
1334
+ }[] | undefined;
1335
+ }[] | undefined;
1336
+ deploymentId?: string | undefined;
1337
+ submission_date?: Date | undefined;
1338
+ inviteeId?: string | undefined;
1339
+ }, {
1340
+ id: string;
1341
+ tenant: string;
1342
+ status: "not_started" | "in_progress" | "completed";
1343
+ ref?: any;
1344
+ model_ver?: number | undefined;
1345
+ created_at?: Date | null | undefined;
1346
+ updated_at?: Date | null | undefined;
1347
+ deleted_at?: Date | null | undefined;
1348
+ responses?: {
1349
+ id: string;
1350
+ tenant: string;
1351
+ surveyId: string;
1352
+ ref?: any;
1353
+ model_ver?: number | undefined;
1354
+ created_at?: Date | null | undefined;
1355
+ updated_at?: Date | null | undefined;
1356
+ deleted_at?: Date | null | undefined;
1357
+ responses?: {
1358
+ questionId: string;
1359
+ answer: string | string[];
1360
+ date?: Date | undefined;
1361
+ }[] | undefined;
1362
+ }[] | undefined;
1363
+ deploymentId?: string | undefined;
1364
+ submission_date?: Date | undefined;
1365
+ inviteeId?: string | undefined;
1366
+ user_name?: string | undefined;
1367
+ modified_after_completion?: boolean | undefined;
1368
+ answer_count?: number | undefined;
1369
+ submission_count?: number | undefined;
1370
+ }>, "many">>>;
1371
+ submission_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1372
+ submission_not_started_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1373
+ submission_in_progress_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1374
+ submission_completed_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1375
+ }>, "strip", z.ZodTypeAny, {
1376
+ name: string;
1377
+ id: string;
1378
+ tenant: string;
1379
+ model_ver: number;
1380
+ status: "draft" | "in_progress" | "open" | "closed" | "paused";
1381
+ start_date: Date | null;
1382
+ end_date: Date | null;
1383
+ submission_count: number;
1384
+ allow_edit_answers: boolean;
1385
+ allow_partial_submission: boolean;
1386
+ section_count: number;
1387
+ question_count: number;
1388
+ invitee_count: number;
1389
+ submission_not_started_count: number;
1390
+ submission_in_progress_count: number;
1391
+ submission_completed_count: number;
1392
+ ref?: any;
1393
+ created_at?: Date | null | undefined;
1394
+ updated_at?: Date | null | undefined;
1395
+ deleted_at?: Date | null | undefined;
1396
+ description?: string | undefined;
1397
+ surveys?: z.objectOutputType<z.objectUtil.extendShape<{
1398
+ id: z.ZodString;
1399
+ ref: z.ZodAny;
1400
+ tenant: z.ZodString;
1401
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1402
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1403
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1404
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1405
+ }, {
1406
+ name: z.ZodString;
1407
+ description: z.ZodOptional<z.ZodString>;
1408
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
1409
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
1410
+ type: z.ZodEnum<["360", "general"]>;
1411
+ section_counters: z.ZodOptional<z.ZodAny>;
1412
+ question_counters: z.ZodOptional<z.ZodAny>;
1413
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1414
+ name: z.ZodString;
1415
+ color: z.ZodOptional<z.ZodString>;
1416
+ hidden: z.ZodBoolean;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ name: string;
1419
+ hidden: boolean;
1420
+ color?: string | undefined;
1421
+ }, {
1422
+ name: string;
1423
+ hidden: boolean;
1424
+ color?: string | undefined;
1425
+ }>, "many">>>;
1426
+ }>, z.ZodTypeAny, "passthrough">[] | null | undefined;
1427
+ submissions?: {
1428
+ id: string;
1429
+ tenant: string;
1430
+ model_ver: number;
1431
+ status: "not_started" | "in_progress" | "completed";
1432
+ user_name: string;
1433
+ modified_after_completion: boolean;
1434
+ answer_count: number;
1435
+ submission_count: number;
1436
+ ref?: any;
1437
+ created_at?: Date | null | undefined;
1438
+ updated_at?: Date | null | undefined;
1439
+ deleted_at?: Date | null | undefined;
1440
+ responses?: {
1441
+ id: string;
1442
+ tenant: string;
1443
+ model_ver: number;
1444
+ surveyId: string;
1445
+ ref?: any;
1446
+ created_at?: Date | null | undefined;
1447
+ updated_at?: Date | null | undefined;
1448
+ deleted_at?: Date | null | undefined;
1449
+ responses?: {
1450
+ questionId: string;
1451
+ answer: string | string[];
1452
+ date?: Date | undefined;
1453
+ }[] | undefined;
1454
+ }[] | undefined;
1455
+ deploymentId?: string | undefined;
1456
+ submission_date?: Date | undefined;
1457
+ inviteeId?: string | undefined;
1458
+ }[] | null | undefined;
1459
+ invitees?: {
1460
+ name: string;
1461
+ id: string;
1462
+ tenant: string;
1463
+ model_ver: number;
1464
+ phone: string;
1465
+ isAnonymous: boolean;
1466
+ submission_status: "not_started" | "in_progress" | "completed";
1467
+ ref?: any;
1468
+ created_at?: Date | null | undefined;
1469
+ updated_at?: Date | null | undefined;
1470
+ deleted_at?: Date | null | undefined;
1471
+ email?: string | undefined;
1472
+ description?: string | undefined;
1473
+ photo_url?: string | null | undefined;
1474
+ invitedUserId?: string | undefined;
1475
+ submissionId?: string | undefined;
1476
+ }[] | null | undefined;
1477
+ }, {
1478
+ name: string;
1479
+ id: string;
1480
+ tenant: string;
1481
+ status: "draft" | "in_progress" | "open" | "closed" | "paused";
1482
+ start_date: Date | null;
1483
+ end_date: Date | null;
1484
+ allow_edit_answers: boolean;
1485
+ allow_partial_submission: boolean;
1486
+ ref?: any;
1487
+ model_ver?: number | undefined;
1488
+ created_at?: Date | null | undefined;
1489
+ updated_at?: Date | null | undefined;
1490
+ deleted_at?: Date | null | undefined;
1491
+ description?: string | undefined;
1492
+ surveys?: z.objectInputType<z.objectUtil.extendShape<{
1493
+ id: z.ZodString;
1494
+ ref: z.ZodAny;
1495
+ tenant: z.ZodString;
1496
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1497
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1498
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1499
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1500
+ }, {
1501
+ name: z.ZodString;
1502
+ description: z.ZodOptional<z.ZodString>;
1503
+ status: z.ZodOptional<z.ZodEnum<["draft", "ready", "archived"]>>;
1504
+ permission: z.ZodOptional<z.ZodEnum<["private", "tenant", "public"]>>;
1505
+ type: z.ZodEnum<["360", "general"]>;
1506
+ section_counters: z.ZodOptional<z.ZodAny>;
1507
+ question_counters: z.ZodOptional<z.ZodAny>;
1508
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1509
+ name: z.ZodString;
1510
+ color: z.ZodOptional<z.ZodString>;
1511
+ hidden: z.ZodBoolean;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ name: string;
1514
+ hidden: boolean;
1515
+ color?: string | undefined;
1516
+ }, {
1517
+ name: string;
1518
+ hidden: boolean;
1519
+ color?: string | undefined;
1520
+ }>, "many">>>;
1521
+ }>, z.ZodTypeAny, "passthrough">[] | null | undefined;
1522
+ submissions?: {
1523
+ id: string;
1524
+ tenant: string;
1525
+ status: "not_started" | "in_progress" | "completed";
1526
+ ref?: any;
1527
+ model_ver?: number | undefined;
1528
+ created_at?: Date | null | undefined;
1529
+ updated_at?: Date | null | undefined;
1530
+ deleted_at?: Date | null | undefined;
1531
+ responses?: {
1532
+ id: string;
1533
+ tenant: string;
1534
+ surveyId: string;
1535
+ ref?: any;
1536
+ model_ver?: number | undefined;
1537
+ created_at?: Date | null | undefined;
1538
+ updated_at?: Date | null | undefined;
1539
+ deleted_at?: Date | null | undefined;
1540
+ responses?: {
1541
+ questionId: string;
1542
+ answer: string | string[];
1543
+ date?: Date | undefined;
1544
+ }[] | undefined;
1545
+ }[] | undefined;
1546
+ deploymentId?: string | undefined;
1547
+ submission_date?: Date | undefined;
1548
+ inviteeId?: string | undefined;
1549
+ user_name?: string | undefined;
1550
+ modified_after_completion?: boolean | undefined;
1551
+ answer_count?: number | undefined;
1552
+ submission_count?: number | undefined;
1553
+ }[] | null | undefined;
1554
+ submission_count?: number | undefined;
1555
+ section_count?: number | undefined;
1556
+ question_count?: number | undefined;
1557
+ invitees?: {
1558
+ name: string;
1559
+ id: string;
1560
+ tenant: string;
1561
+ ref?: any;
1562
+ model_ver?: number | undefined;
1563
+ created_at?: Date | null | undefined;
1564
+ updated_at?: Date | null | undefined;
1565
+ deleted_at?: Date | null | undefined;
1566
+ email?: string | undefined;
1567
+ description?: string | undefined;
1568
+ photo_url?: string | null | undefined;
1569
+ phone?: string | undefined;
1570
+ invitedUserId?: string | undefined;
1571
+ isAnonymous?: boolean | undefined;
1572
+ submissionId?: string | undefined;
1573
+ submission_status?: "not_started" | "in_progress" | "completed" | undefined;
1574
+ }[] | null | undefined;
1575
+ invitee_count?: number | undefined;
1576
+ submission_not_started_count?: number | undefined;
1577
+ submission_in_progress_count?: number | undefined;
1578
+ submission_completed_count?: number | undefined;
1579
+ }>;