@the-inkwell/shared 0.2.0 → 0.2.2

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 (151) hide show
  1. package/dist/constants.d.ts +769 -0
  2. package/dist/{src/constants.js → constants.js} +1 -0
  3. package/dist/constants.js.map +1 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.js +4 -3
  6. package/dist/index.js.map +1 -0
  7. package/dist/schema/admin/actions/index.d.ts +796 -0
  8. package/dist/{src/schema → schema}/admin/actions/index.js +1 -0
  9. package/dist/schema/admin/actions/index.js.map +1 -0
  10. package/dist/schema/admin/campaigns/index.d.ts +490 -0
  11. package/dist/{src/schema → schema}/admin/campaigns/index.js +1 -0
  12. package/dist/schema/admin/campaigns/index.js.map +1 -0
  13. package/dist/schema/admin/candidacies/index.d.ts +765 -0
  14. package/dist/{src/schema → schema}/admin/candidacies/index.js +1 -0
  15. package/dist/schema/admin/candidacies/index.js.map +1 -0
  16. package/dist/schema/admin/clients/index.d.ts +339 -0
  17. package/dist/{src/schema → schema}/admin/clients/index.js +1 -0
  18. package/dist/schema/admin/clients/index.js.map +1 -0
  19. package/dist/schema/admin/dashboard/index.d.ts +10 -0
  20. package/dist/{src/schema → schema}/admin/dashboard/index.js +1 -0
  21. package/dist/schema/admin/dashboard/index.js.map +1 -0
  22. package/dist/schema/admin/educations/index.d.ts +360 -0
  23. package/dist/{src/schema → schema}/admin/educations/index.js +1 -0
  24. package/dist/schema/admin/educations/index.js.map +1 -0
  25. package/dist/schema/admin/experiences/index.d.ts +466 -0
  26. package/dist/{src/schema → schema}/admin/experiences/index.js +1 -0
  27. package/dist/schema/admin/experiences/index.js.map +1 -0
  28. package/dist/schema/admin/files/index.d.ts +8 -0
  29. package/dist/{src/schema → schema}/admin/files/index.js +1 -0
  30. package/dist/schema/admin/files/index.js.map +1 -0
  31. package/dist/schema/admin/index.d.ts +29 -0
  32. package/dist/{src/schema → schema}/admin/index.js +1 -0
  33. package/dist/schema/admin/index.js.map +1 -0
  34. package/dist/schema/admin/jobFunctions/index.d.ts +362 -0
  35. package/dist/{src/schema → schema}/admin/jobFunctions/index.js +1 -0
  36. package/dist/schema/admin/jobFunctions/index.js.map +1 -0
  37. package/dist/schema/admin/listViews/index.d.ts +575 -0
  38. package/dist/{src/schema → schema}/admin/listViews/index.js +1 -0
  39. package/dist/schema/admin/listViews/index.js.map +1 -0
  40. package/dist/schema/admin/locations/index.d.ts +27 -0
  41. package/dist/{src/schema → schema}/admin/locations/index.js +1 -0
  42. package/dist/schema/admin/locations/index.js.map +1 -0
  43. package/dist/schema/admin/messages/index.d.ts +800 -0
  44. package/dist/{src/schema → schema}/admin/messages/index.js +1 -0
  45. package/dist/schema/admin/messages/index.js.map +1 -0
  46. package/dist/schema/admin/notes/index.d.ts +558 -0
  47. package/dist/{src/schema → schema}/admin/notes/index.js +1 -0
  48. package/dist/schema/admin/notes/index.js.map +1 -0
  49. package/dist/schema/admin/partners/index.d.ts +334 -0
  50. package/dist/{src/schema → schema}/admin/partners/index.js +1 -0
  51. package/dist/schema/admin/partners/index.js.map +1 -0
  52. package/dist/schema/admin/persons/index.d.ts +889 -0
  53. package/dist/{src/schema → schema}/admin/persons/index.js +1 -0
  54. package/dist/schema/admin/persons/index.js.map +1 -0
  55. package/dist/schema/admin/personsToBestPersons/index.d.ts +198 -0
  56. package/dist/{src/schema → schema}/admin/personsToBestPersons/index.js +1 -0
  57. package/dist/schema/admin/personsToBestPersons/index.js.map +1 -0
  58. package/dist/schema/admin/personsToSkills/index.d.ts +198 -0
  59. package/dist/{src/schema → schema}/admin/personsToSkills/index.js +1 -0
  60. package/dist/schema/admin/personsToSkills/index.js.map +1 -0
  61. package/dist/schema/admin/personsToTags/index.d.ts +198 -0
  62. package/dist/{src/schema → schema}/admin/personsToTags/index.js +1 -0
  63. package/dist/schema/admin/personsToTags/index.js.map +1 -0
  64. package/dist/schema/admin/positions/index.d.ts +1328 -0
  65. package/dist/{src/schema → schema}/admin/positions/index.js +1 -0
  66. package/dist/schema/admin/positions/index.js.map +1 -0
  67. package/dist/schema/admin/positionsToSkills/index.d.ts +198 -0
  68. package/dist/{src/schema → schema}/admin/positionsToSkills/index.js +1 -0
  69. package/dist/schema/admin/positionsToSkills/index.js.map +1 -0
  70. package/dist/schema/admin/positionsToTags/index.d.ts +198 -0
  71. package/dist/{src/schema → schema}/admin/positionsToTags/index.js +1 -0
  72. package/dist/schema/admin/positionsToTags/index.js.map +1 -0
  73. package/dist/schema/admin/referrals/index.d.ts +477 -0
  74. package/dist/{src/schema → schema}/admin/referrals/index.js +1 -0
  75. package/dist/schema/admin/referrals/index.js.map +1 -0
  76. package/dist/schema/admin/referralsToMessages/index.d.ts +243 -0
  77. package/dist/{src/schema → schema}/admin/referralsToMessages/index.js +1 -0
  78. package/dist/schema/admin/referralsToMessages/index.js.map +1 -0
  79. package/dist/schema/admin/senders/index.d.ts +451 -0
  80. package/dist/{src/schema → schema}/admin/senders/index.js +1 -0
  81. package/dist/schema/admin/senders/index.js.map +1 -0
  82. package/dist/schema/admin/sendgrid/index.d.ts +9 -0
  83. package/dist/{src/schema → schema}/admin/sendgrid/index.js +1 -0
  84. package/dist/schema/admin/sendgrid/index.js.map +1 -0
  85. package/dist/schema/admin/settings/index.d.ts +30 -0
  86. package/dist/{src/schema → schema}/admin/settings/index.js +1 -0
  87. package/dist/schema/admin/settings/index.js.map +1 -0
  88. package/dist/schema/admin/skills/index.d.ts +362 -0
  89. package/dist/{src/schema → schema}/admin/skills/index.js +1 -0
  90. package/dist/schema/admin/skills/index.js.map +1 -0
  91. package/dist/schema/admin/tags/index.d.ts +355 -0
  92. package/dist/{src/schema → schema}/admin/tags/index.js +1 -0
  93. package/dist/schema/admin/tags/index.js.map +1 -0
  94. package/dist/schema/admin/websiteLandingPages/index.d.ts +562 -0
  95. package/dist/{src/schema → schema}/admin/websiteLandingPages/index.js +1 -0
  96. package/dist/schema/admin/websiteLandingPages/index.js.map +1 -0
  97. package/dist/schema/admin/websiteStaticPages/index.d.ts +385 -0
  98. package/dist/{src/schema → schema}/admin/websiteStaticPages/index.js +1 -0
  99. package/dist/schema/admin/websiteStaticPages/index.js.map +1 -0
  100. package/dist/schema/auth/index.d.ts +15 -0
  101. package/dist/{src/schema → schema}/auth/index.js +1 -0
  102. package/dist/schema/auth/index.js.map +1 -0
  103. package/dist/schema/core.d.ts +6335 -0
  104. package/dist/{src/schema → schema}/core.js +1 -0
  105. package/dist/schema/core.js.map +1 -0
  106. package/dist/schema/index.d.ts +3 -0
  107. package/dist/{src/schema → schema}/index.js +1 -0
  108. package/dist/schema/index.js.map +1 -0
  109. package/dist/utils.d.ts +23 -0
  110. package/dist/{src/utils.js → utils.js} +3 -1
  111. package/dist/utils.js.map +1 -0
  112. package/package.json +6 -6
  113. package/.prettierrc.json +0 -6
  114. package/index.ts +0 -3
  115. package/src/constants.ts +0 -299
  116. package/src/schema/admin/actions/index.ts +0 -65
  117. package/src/schema/admin/campaigns/index.ts +0 -111
  118. package/src/schema/admin/candidacies/index.ts +0 -138
  119. package/src/schema/admin/clients/index.ts +0 -65
  120. package/src/schema/admin/dashboard/index.ts +0 -10
  121. package/src/schema/admin/educations/index.ts +0 -71
  122. package/src/schema/admin/experiences/index.ts +0 -87
  123. package/src/schema/admin/files/index.ts +0 -10
  124. package/src/schema/admin/index.ts +0 -29
  125. package/src/schema/admin/jobFunctions/index.ts +0 -79
  126. package/src/schema/admin/listViews/index.ts +0 -58
  127. package/src/schema/admin/locations/index.ts +0 -42
  128. package/src/schema/admin/messages/index.ts +0 -88
  129. package/src/schema/admin/notes/index.ts +0 -56
  130. package/src/schema/admin/partners/index.ts +0 -60
  131. package/src/schema/admin/persons/index.ts +0 -294
  132. package/src/schema/admin/personsToBestPersons/index.ts +0 -67
  133. package/src/schema/admin/personsToSkills/index.ts +0 -61
  134. package/src/schema/admin/personsToTags/index.ts +0 -61
  135. package/src/schema/admin/positions/index.ts +0 -97
  136. package/src/schema/admin/positionsToSkills/index.ts +0 -64
  137. package/src/schema/admin/positionsToTags/index.ts +0 -61
  138. package/src/schema/admin/referrals/index.ts +0 -100
  139. package/src/schema/admin/referralsToMessages/index.ts +0 -121
  140. package/src/schema/admin/senders/index.ts +0 -50
  141. package/src/schema/admin/sendgrid/index.ts +0 -16
  142. package/src/schema/admin/settings/index.ts +0 -34
  143. package/src/schema/admin/skills/index.ts +0 -64
  144. package/src/schema/admin/tags/index.ts +0 -56
  145. package/src/schema/admin/websiteLandingPages/index.ts +0 -69
  146. package/src/schema/admin/websiteStaticPages/index.ts +0 -67
  147. package/src/schema/auth/index.ts +0 -14
  148. package/src/schema/core.ts +0 -1906
  149. package/src/schema/index.ts +0 -3
  150. package/src/utils.ts +0 -41
  151. package/tsconfig.json +0 -111
@@ -0,0 +1,765 @@
1
+ import { type ListResponse } from '../../../utils';
2
+ import { z } from 'zod/v4';
3
+ export declare const AdminCandidacyCreateSchema: import("drizzle-zod").BuildSchema<"insert", {
4
+ id: import("drizzle-orm/pg-core").PgColumn<{
5
+ name: "id";
6
+ tableName: "candidacies";
7
+ dataType: "string";
8
+ columnType: "PgUUID";
9
+ data: string;
10
+ driverParam: string;
11
+ notNull: true;
12
+ hasDefault: true;
13
+ isPrimaryKey: true;
14
+ isAutoincrement: false;
15
+ hasRuntimeDefault: false;
16
+ enumValues: undefined;
17
+ baseColumn: never;
18
+ identity: undefined;
19
+ generated: undefined;
20
+ }, {}, {}>;
21
+ stage: import("drizzle-orm/pg-core").PgColumn<{
22
+ name: "stage";
23
+ tableName: "candidacies";
24
+ dataType: "string";
25
+ columnType: "PgEnumColumn";
26
+ data: "SUBMITTED" | "SCREENING" | "INTERVIEWING" | "OFFERED" | "HIRED" | "REJECTED" | "WITHDRAWN" | "ON_HOLD";
27
+ driverParam: string;
28
+ notNull: false;
29
+ hasDefault: true;
30
+ isPrimaryKey: false;
31
+ isAutoincrement: false;
32
+ hasRuntimeDefault: false;
33
+ enumValues: ["SUBMITTED" | "SCREENING" | "INTERVIEWING" | "OFFERED" | "HIRED" | "REJECTED" | "WITHDRAWN" | "ON_HOLD"];
34
+ baseColumn: never;
35
+ identity: undefined;
36
+ generated: undefined;
37
+ }, {}, {}>;
38
+ networkId: import("drizzle-orm/pg-core").PgColumn<{
39
+ name: "networkId";
40
+ tableName: "candidacies";
41
+ dataType: "string";
42
+ columnType: "PgUUID";
43
+ data: string;
44
+ driverParam: string;
45
+ notNull: false;
46
+ hasDefault: false;
47
+ isPrimaryKey: false;
48
+ isAutoincrement: false;
49
+ hasRuntimeDefault: false;
50
+ enumValues: undefined;
51
+ baseColumn: never;
52
+ identity: undefined;
53
+ generated: undefined;
54
+ }, {}, {}>;
55
+ source: import("drizzle-orm/pg-core").PgColumn<{
56
+ name: "source";
57
+ tableName: "candidacies";
58
+ dataType: "string";
59
+ columnType: "PgEnumColumn";
60
+ data: "CAMPAIGN" | "NETWORK" | "WEBSITE" | "SOCIAL_MEDIA";
61
+ driverParam: string;
62
+ notNull: false;
63
+ hasDefault: false;
64
+ isPrimaryKey: false;
65
+ isAutoincrement: false;
66
+ hasRuntimeDefault: false;
67
+ enumValues: ["CAMPAIGN" | "NETWORK" | "WEBSITE" | "SOCIAL_MEDIA"];
68
+ baseColumn: never;
69
+ identity: undefined;
70
+ generated: undefined;
71
+ }, {}, {}>;
72
+ personId: import("drizzle-orm/pg-core").PgColumn<{
73
+ name: "personId";
74
+ tableName: "candidacies";
75
+ dataType: "string";
76
+ columnType: "PgUUID";
77
+ data: string;
78
+ driverParam: string;
79
+ notNull: true;
80
+ hasDefault: false;
81
+ isPrimaryKey: false;
82
+ isAutoincrement: false;
83
+ hasRuntimeDefault: false;
84
+ enumValues: undefined;
85
+ baseColumn: never;
86
+ identity: undefined;
87
+ generated: undefined;
88
+ }, {}, {}>;
89
+ positionId: import("drizzle-orm/pg-core").PgColumn<{
90
+ name: "positionId";
91
+ tableName: "candidacies";
92
+ dataType: "string";
93
+ columnType: "PgUUID";
94
+ data: string;
95
+ driverParam: string;
96
+ notNull: true;
97
+ hasDefault: false;
98
+ isPrimaryKey: false;
99
+ isAutoincrement: false;
100
+ hasRuntimeDefault: false;
101
+ enumValues: undefined;
102
+ baseColumn: never;
103
+ identity: undefined;
104
+ generated: undefined;
105
+ }, {}, {}>;
106
+ openedAt: import("drizzle-orm/pg-core").PgColumn<{
107
+ name: "openedAt";
108
+ tableName: "candidacies";
109
+ dataType: "date";
110
+ columnType: "PgTimestamp";
111
+ data: Date;
112
+ driverParam: string;
113
+ notNull: false;
114
+ hasDefault: true;
115
+ isPrimaryKey: false;
116
+ isAutoincrement: false;
117
+ hasRuntimeDefault: false;
118
+ enumValues: undefined;
119
+ baseColumn: never;
120
+ identity: undefined;
121
+ generated: undefined;
122
+ }, {}, {}>;
123
+ ratings: import("drizzle-orm/pg-core").PgColumn<{
124
+ name: "ratings";
125
+ tableName: "candidacies";
126
+ dataType: "json";
127
+ columnType: "PgJsonb";
128
+ data: {
129
+ EXPERIENCE: number | null;
130
+ INDUSTRY: number | null;
131
+ SKILL: number | null;
132
+ CULTURE: number | null;
133
+ COMPENSATION: number | null;
134
+ LOCATION: number | null;
135
+ MOTIVATION: number | null;
136
+ };
137
+ driverParam: unknown;
138
+ notNull: false;
139
+ hasDefault: false;
140
+ isPrimaryKey: false;
141
+ isAutoincrement: false;
142
+ hasRuntimeDefault: false;
143
+ enumValues: undefined;
144
+ baseColumn: never;
145
+ identity: undefined;
146
+ generated: undefined;
147
+ }, {}, {
148
+ $type: {
149
+ EXPERIENCE: number | null;
150
+ INDUSTRY: number | null;
151
+ SKILL: number | null;
152
+ CULTURE: number | null;
153
+ COMPENSATION: number | null;
154
+ LOCATION: number | null;
155
+ MOTIVATION: number | null;
156
+ };
157
+ }>;
158
+ rejector: import("drizzle-orm/pg-core").PgColumn<{
159
+ name: "rejector";
160
+ tableName: "candidacies";
161
+ dataType: "string";
162
+ columnType: "PgEnumColumn";
163
+ data: "INKWELL" | "CLIENT";
164
+ driverParam: string;
165
+ notNull: false;
166
+ hasDefault: false;
167
+ isPrimaryKey: false;
168
+ isAutoincrement: false;
169
+ hasRuntimeDefault: false;
170
+ enumValues: ["INKWELL" | "CLIENT"];
171
+ baseColumn: never;
172
+ identity: undefined;
173
+ generated: undefined;
174
+ }, {}, {}>;
175
+ rejectionReasons: import("drizzle-orm/pg-core").PgColumn<{
176
+ name: "rejectionReasons";
177
+ tableName: "candidacies";
178
+ dataType: "array";
179
+ columnType: "PgArray";
180
+ data: ("EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION")[];
181
+ driverParam: string | string[];
182
+ notNull: false;
183
+ hasDefault: false;
184
+ isPrimaryKey: false;
185
+ isAutoincrement: false;
186
+ hasRuntimeDefault: false;
187
+ enumValues: ["EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION"];
188
+ baseColumn: import("drizzle-orm").Column<{
189
+ name: "";
190
+ tableName: "candidacies";
191
+ dataType: "string";
192
+ columnType: "PgEnumColumn";
193
+ data: "EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION";
194
+ driverParam: string;
195
+ notNull: false;
196
+ hasDefault: false;
197
+ isPrimaryKey: false;
198
+ isAutoincrement: false;
199
+ hasRuntimeDefault: false;
200
+ enumValues: ["EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION"];
201
+ baseColumn: never;
202
+ identity: undefined;
203
+ generated: undefined;
204
+ }, {}, {}>;
205
+ identity: undefined;
206
+ generated: undefined;
207
+ }, {}, {
208
+ baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
209
+ name: "";
210
+ dataType: "string";
211
+ columnType: "PgEnumColumn";
212
+ data: "EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION";
213
+ enumValues: ["EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION"];
214
+ driverParam: string;
215
+ }, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
216
+ size: undefined;
217
+ }>;
218
+ closedAt: import("drizzle-orm/pg-core").PgColumn<{
219
+ name: "closedAt";
220
+ tableName: "candidacies";
221
+ dataType: "date";
222
+ columnType: "PgTimestamp";
223
+ data: Date;
224
+ driverParam: string;
225
+ notNull: false;
226
+ hasDefault: false;
227
+ isPrimaryKey: false;
228
+ isAutoincrement: false;
229
+ hasRuntimeDefault: false;
230
+ enumValues: undefined;
231
+ baseColumn: never;
232
+ identity: undefined;
233
+ generated: undefined;
234
+ }, {}, {}>;
235
+ deletedAt: import("drizzle-orm/pg-core").PgColumn<{
236
+ name: "deletedAt";
237
+ tableName: "candidacies";
238
+ dataType: "date";
239
+ columnType: "PgTimestamp";
240
+ data: Date;
241
+ driverParam: string;
242
+ notNull: false;
243
+ hasDefault: false;
244
+ isPrimaryKey: false;
245
+ isAutoincrement: false;
246
+ hasRuntimeDefault: false;
247
+ enumValues: undefined;
248
+ baseColumn: never;
249
+ identity: undefined;
250
+ generated: undefined;
251
+ }, {}, {}>;
252
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
253
+ name: "createdAt";
254
+ tableName: "candidacies";
255
+ dataType: "date";
256
+ columnType: "PgTimestamp";
257
+ data: Date;
258
+ driverParam: string;
259
+ notNull: true;
260
+ hasDefault: true;
261
+ isPrimaryKey: false;
262
+ isAutoincrement: false;
263
+ hasRuntimeDefault: false;
264
+ enumValues: undefined;
265
+ baseColumn: never;
266
+ identity: undefined;
267
+ generated: undefined;
268
+ }, {}, {}>;
269
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
270
+ name: "updatedAt";
271
+ tableName: "candidacies";
272
+ dataType: "date";
273
+ columnType: "PgTimestamp";
274
+ data: Date;
275
+ driverParam: string;
276
+ notNull: true;
277
+ hasDefault: true;
278
+ isPrimaryKey: false;
279
+ isAutoincrement: false;
280
+ hasRuntimeDefault: false;
281
+ enumValues: undefined;
282
+ baseColumn: never;
283
+ identity: undefined;
284
+ generated: undefined;
285
+ }, {}, {}>;
286
+ }, undefined, undefined>;
287
+ export declare const AdminCandidacySelectSchema: z.ZodObject<{
288
+ id: z.ZodUUID;
289
+ stage: z.ZodNullable<z.ZodEnum<{
290
+ SUBMITTED: "SUBMITTED";
291
+ SCREENING: "SCREENING";
292
+ INTERVIEWING: "INTERVIEWING";
293
+ OFFERED: "OFFERED";
294
+ HIRED: "HIRED";
295
+ REJECTED: "REJECTED";
296
+ WITHDRAWN: "WITHDRAWN";
297
+ ON_HOLD: "ON_HOLD";
298
+ }>>;
299
+ networkId: z.ZodNullable<z.ZodUUID>;
300
+ source: z.ZodNullable<z.ZodEnum<{
301
+ CAMPAIGN: "CAMPAIGN";
302
+ NETWORK: "NETWORK";
303
+ WEBSITE: "WEBSITE";
304
+ SOCIAL_MEDIA: "SOCIAL_MEDIA";
305
+ }>>;
306
+ personId: z.ZodUUID;
307
+ positionId: z.ZodUUID;
308
+ openedAt: z.ZodNullable<z.ZodDate>;
309
+ ratings: z.ZodNullable<z.ZodType<{
310
+ EXPERIENCE: number | null;
311
+ INDUSTRY: number | null;
312
+ SKILL: number | null;
313
+ CULTURE: number | null;
314
+ COMPENSATION: number | null;
315
+ LOCATION: number | null;
316
+ MOTIVATION: number | null;
317
+ }, {
318
+ EXPERIENCE: number | null;
319
+ INDUSTRY: number | null;
320
+ SKILL: number | null;
321
+ CULTURE: number | null;
322
+ COMPENSATION: number | null;
323
+ LOCATION: number | null;
324
+ MOTIVATION: number | null;
325
+ }>>;
326
+ rejector: z.ZodNullable<z.ZodEnum<{
327
+ INKWELL: "INKWELL";
328
+ CLIENT: "CLIENT";
329
+ }>>;
330
+ rejectionReasons: z.ZodNullable<z.ZodArray<z.ZodEnum<{
331
+ EXPERIENCE: "EXPERIENCE";
332
+ INDUSTRY: "INDUSTRY";
333
+ SKILL: "SKILL";
334
+ CULTURE: "CULTURE";
335
+ COMPENSATION: "COMPENSATION";
336
+ LOCATION: "LOCATION";
337
+ MOTIVATION: "MOTIVATION";
338
+ }>>>;
339
+ closedAt: z.ZodNullable<z.ZodDate>;
340
+ deletedAt: z.ZodNullable<z.ZodDate>;
341
+ createdAt: z.ZodDate;
342
+ updatedAt: z.ZodDate;
343
+ referral: z.ZodOptional<z.ZodNullable<z.ZodObject<{
344
+ id: z.ZodString;
345
+ referrer: z.ZodObject<{
346
+ id: z.ZodUUID;
347
+ email: z.ZodString;
348
+ firstName: z.ZodNullable<z.ZodString>;
349
+ lastName: z.ZodNullable<z.ZodString>;
350
+ fullName: z.ZodNullable<z.ZodString>;
351
+ photoUri: z.ZodNullable<z.ZodString>;
352
+ }, {
353
+ out: {};
354
+ in: {};
355
+ }>;
356
+ }, z.core.$strip>>>;
357
+ person: z.ZodOptional<z.ZodObject<{
358
+ id: z.ZodUUID;
359
+ email: z.ZodString;
360
+ firstName: z.ZodNullable<z.ZodString>;
361
+ lastName: z.ZodNullable<z.ZodString>;
362
+ fullName: z.ZodNullable<z.ZodString>;
363
+ photoUri: z.ZodNullable<z.ZodString>;
364
+ }, {
365
+ out: {};
366
+ in: {};
367
+ }>>;
368
+ position: z.ZodOptional<z.ZodObject<{
369
+ name: z.ZodString;
370
+ id: z.ZodUUID;
371
+ client: z.ZodObject<{
372
+ name: z.ZodString;
373
+ id: z.ZodUUID;
374
+ }, {
375
+ out: {};
376
+ in: {};
377
+ }>;
378
+ }, {
379
+ out: {};
380
+ in: {};
381
+ }>>;
382
+ ratingTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
383
+ tag: z.ZodObject<{
384
+ name: z.ZodString;
385
+ id: z.ZodUUID;
386
+ slug: z.ZodString;
387
+ }, {
388
+ out: {};
389
+ in: {};
390
+ }>;
391
+ }, z.core.$strip>>>;
392
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
393
+ name: z.ZodEnum<{
394
+ CAMPAIGN_SENT: "CAMPAIGN_SENT";
395
+ CANDIDACY_CREATED: "CANDIDACY_CREATED";
396
+ CANDIDACY_SUBMITTED: "CANDIDACY_SUBMITTED";
397
+ CANDIDACY_SCREENING: "CANDIDACY_SCREENING";
398
+ CANDIDACY_INTERVIEWING: "CANDIDACY_INTERVIEWING";
399
+ CANDIDACY_OFFERED: "CANDIDACY_OFFERED";
400
+ CANDIDACY_ON_HOLD: "CANDIDACY_ON_HOLD";
401
+ CANDIDACY_HIRED: "CANDIDACY_HIRED";
402
+ CANDIDACY_REJECTED: "CANDIDACY_REJECTED";
403
+ CANDIDACY_WITHDRAWN: "CANDIDACY_WITHDRAWN";
404
+ CLIENT_CREATED: "CLIENT_CREATED";
405
+ MESSAGE_CLICKED: "MESSAGE_CLICKED";
406
+ MESSAGE_OPENED: "MESSAGE_OPENED";
407
+ MESSAGE_RECEIVED: "MESSAGE_RECEIVED";
408
+ MESSAGE_SENT: "MESSAGE_SENT";
409
+ NOTE_CREATED: "NOTE_CREATED";
410
+ PERSON_CREATED: "PERSON_CREATED";
411
+ POSITION_CLOSED: "POSITION_CLOSED";
412
+ POSITION_OPENED: "POSITION_OPENED";
413
+ REFERRAL_CREATED: "REFERRAL_CREATED";
414
+ USER_SIGN_IN: "USER_SIGN_IN";
415
+ USER_UPDATE: "USER_UPDATE";
416
+ }>;
417
+ id: z.ZodUUID;
418
+ }, {
419
+ out: {};
420
+ in: {};
421
+ }>>>;
422
+ candidacyFeedbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
+ id: z.ZodUUID;
424
+ content: z.ZodString;
425
+ }, {
426
+ out: {};
427
+ in: {};
428
+ }>>>;
429
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
430
+ id: z.ZodUUID;
431
+ content: z.ZodString;
432
+ }, {
433
+ out: {};
434
+ in: {};
435
+ }>>>;
436
+ }, {
437
+ out: {};
438
+ in: {};
439
+ }>;
440
+ export declare const AdminCandidacyUpdateSchema: import("drizzle-zod").BuildSchema<"update", {
441
+ id: import("drizzle-orm/pg-core").PgColumn<{
442
+ name: "id";
443
+ tableName: "candidacies";
444
+ dataType: "string";
445
+ columnType: "PgUUID";
446
+ data: string;
447
+ driverParam: string;
448
+ notNull: true;
449
+ hasDefault: true;
450
+ isPrimaryKey: true;
451
+ isAutoincrement: false;
452
+ hasRuntimeDefault: false;
453
+ enumValues: undefined;
454
+ baseColumn: never;
455
+ identity: undefined;
456
+ generated: undefined;
457
+ }, {}, {}>;
458
+ stage: import("drizzle-orm/pg-core").PgColumn<{
459
+ name: "stage";
460
+ tableName: "candidacies";
461
+ dataType: "string";
462
+ columnType: "PgEnumColumn";
463
+ data: "SUBMITTED" | "SCREENING" | "INTERVIEWING" | "OFFERED" | "HIRED" | "REJECTED" | "WITHDRAWN" | "ON_HOLD";
464
+ driverParam: string;
465
+ notNull: false;
466
+ hasDefault: true;
467
+ isPrimaryKey: false;
468
+ isAutoincrement: false;
469
+ hasRuntimeDefault: false;
470
+ enumValues: ["SUBMITTED" | "SCREENING" | "INTERVIEWING" | "OFFERED" | "HIRED" | "REJECTED" | "WITHDRAWN" | "ON_HOLD"];
471
+ baseColumn: never;
472
+ identity: undefined;
473
+ generated: undefined;
474
+ }, {}, {}>;
475
+ networkId: import("drizzle-orm/pg-core").PgColumn<{
476
+ name: "networkId";
477
+ tableName: "candidacies";
478
+ dataType: "string";
479
+ columnType: "PgUUID";
480
+ data: string;
481
+ driverParam: string;
482
+ notNull: false;
483
+ hasDefault: false;
484
+ isPrimaryKey: false;
485
+ isAutoincrement: false;
486
+ hasRuntimeDefault: false;
487
+ enumValues: undefined;
488
+ baseColumn: never;
489
+ identity: undefined;
490
+ generated: undefined;
491
+ }, {}, {}>;
492
+ source: import("drizzle-orm/pg-core").PgColumn<{
493
+ name: "source";
494
+ tableName: "candidacies";
495
+ dataType: "string";
496
+ columnType: "PgEnumColumn";
497
+ data: "CAMPAIGN" | "NETWORK" | "WEBSITE" | "SOCIAL_MEDIA";
498
+ driverParam: string;
499
+ notNull: false;
500
+ hasDefault: false;
501
+ isPrimaryKey: false;
502
+ isAutoincrement: false;
503
+ hasRuntimeDefault: false;
504
+ enumValues: ["CAMPAIGN" | "NETWORK" | "WEBSITE" | "SOCIAL_MEDIA"];
505
+ baseColumn: never;
506
+ identity: undefined;
507
+ generated: undefined;
508
+ }, {}, {}>;
509
+ personId: import("drizzle-orm/pg-core").PgColumn<{
510
+ name: "personId";
511
+ tableName: "candidacies";
512
+ dataType: "string";
513
+ columnType: "PgUUID";
514
+ data: string;
515
+ driverParam: string;
516
+ notNull: true;
517
+ hasDefault: false;
518
+ isPrimaryKey: false;
519
+ isAutoincrement: false;
520
+ hasRuntimeDefault: false;
521
+ enumValues: undefined;
522
+ baseColumn: never;
523
+ identity: undefined;
524
+ generated: undefined;
525
+ }, {}, {}>;
526
+ positionId: import("drizzle-orm/pg-core").PgColumn<{
527
+ name: "positionId";
528
+ tableName: "candidacies";
529
+ dataType: "string";
530
+ columnType: "PgUUID";
531
+ data: string;
532
+ driverParam: string;
533
+ notNull: true;
534
+ hasDefault: false;
535
+ isPrimaryKey: false;
536
+ isAutoincrement: false;
537
+ hasRuntimeDefault: false;
538
+ enumValues: undefined;
539
+ baseColumn: never;
540
+ identity: undefined;
541
+ generated: undefined;
542
+ }, {}, {}>;
543
+ openedAt: import("drizzle-orm/pg-core").PgColumn<{
544
+ name: "openedAt";
545
+ tableName: "candidacies";
546
+ dataType: "date";
547
+ columnType: "PgTimestamp";
548
+ data: Date;
549
+ driverParam: string;
550
+ notNull: false;
551
+ hasDefault: true;
552
+ isPrimaryKey: false;
553
+ isAutoincrement: false;
554
+ hasRuntimeDefault: false;
555
+ enumValues: undefined;
556
+ baseColumn: never;
557
+ identity: undefined;
558
+ generated: undefined;
559
+ }, {}, {}>;
560
+ ratings: import("drizzle-orm/pg-core").PgColumn<{
561
+ name: "ratings";
562
+ tableName: "candidacies";
563
+ dataType: "json";
564
+ columnType: "PgJsonb";
565
+ data: {
566
+ EXPERIENCE: number | null;
567
+ INDUSTRY: number | null;
568
+ SKILL: number | null;
569
+ CULTURE: number | null;
570
+ COMPENSATION: number | null;
571
+ LOCATION: number | null;
572
+ MOTIVATION: number | null;
573
+ };
574
+ driverParam: unknown;
575
+ notNull: false;
576
+ hasDefault: false;
577
+ isPrimaryKey: false;
578
+ isAutoincrement: false;
579
+ hasRuntimeDefault: false;
580
+ enumValues: undefined;
581
+ baseColumn: never;
582
+ identity: undefined;
583
+ generated: undefined;
584
+ }, {}, {
585
+ $type: {
586
+ EXPERIENCE: number | null;
587
+ INDUSTRY: number | null;
588
+ SKILL: number | null;
589
+ CULTURE: number | null;
590
+ COMPENSATION: number | null;
591
+ LOCATION: number | null;
592
+ MOTIVATION: number | null;
593
+ };
594
+ }>;
595
+ rejector: import("drizzle-orm/pg-core").PgColumn<{
596
+ name: "rejector";
597
+ tableName: "candidacies";
598
+ dataType: "string";
599
+ columnType: "PgEnumColumn";
600
+ data: "INKWELL" | "CLIENT";
601
+ driverParam: string;
602
+ notNull: false;
603
+ hasDefault: false;
604
+ isPrimaryKey: false;
605
+ isAutoincrement: false;
606
+ hasRuntimeDefault: false;
607
+ enumValues: ["INKWELL" | "CLIENT"];
608
+ baseColumn: never;
609
+ identity: undefined;
610
+ generated: undefined;
611
+ }, {}, {}>;
612
+ rejectionReasons: import("drizzle-orm/pg-core").PgColumn<{
613
+ name: "rejectionReasons";
614
+ tableName: "candidacies";
615
+ dataType: "array";
616
+ columnType: "PgArray";
617
+ data: ("EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION")[];
618
+ driverParam: string | string[];
619
+ notNull: false;
620
+ hasDefault: false;
621
+ isPrimaryKey: false;
622
+ isAutoincrement: false;
623
+ hasRuntimeDefault: false;
624
+ enumValues: ["EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION"];
625
+ baseColumn: import("drizzle-orm").Column<{
626
+ name: "";
627
+ tableName: "candidacies";
628
+ dataType: "string";
629
+ columnType: "PgEnumColumn";
630
+ data: "EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION";
631
+ driverParam: string;
632
+ notNull: false;
633
+ hasDefault: false;
634
+ isPrimaryKey: false;
635
+ isAutoincrement: false;
636
+ hasRuntimeDefault: false;
637
+ enumValues: ["EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION"];
638
+ baseColumn: never;
639
+ identity: undefined;
640
+ generated: undefined;
641
+ }, {}, {}>;
642
+ identity: undefined;
643
+ generated: undefined;
644
+ }, {}, {
645
+ baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
646
+ name: "";
647
+ dataType: "string";
648
+ columnType: "PgEnumColumn";
649
+ data: "EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION";
650
+ enumValues: ["EXPERIENCE" | "INDUSTRY" | "SKILL" | "CULTURE" | "COMPENSATION" | "LOCATION" | "MOTIVATION"];
651
+ driverParam: string;
652
+ }, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
653
+ size: undefined;
654
+ }>;
655
+ closedAt: import("drizzle-orm/pg-core").PgColumn<{
656
+ name: "closedAt";
657
+ tableName: "candidacies";
658
+ dataType: "date";
659
+ columnType: "PgTimestamp";
660
+ data: Date;
661
+ driverParam: string;
662
+ notNull: false;
663
+ hasDefault: false;
664
+ isPrimaryKey: false;
665
+ isAutoincrement: false;
666
+ hasRuntimeDefault: false;
667
+ enumValues: undefined;
668
+ baseColumn: never;
669
+ identity: undefined;
670
+ generated: undefined;
671
+ }, {}, {}>;
672
+ deletedAt: import("drizzle-orm/pg-core").PgColumn<{
673
+ name: "deletedAt";
674
+ tableName: "candidacies";
675
+ dataType: "date";
676
+ columnType: "PgTimestamp";
677
+ data: Date;
678
+ driverParam: string;
679
+ notNull: false;
680
+ hasDefault: false;
681
+ isPrimaryKey: false;
682
+ isAutoincrement: false;
683
+ hasRuntimeDefault: false;
684
+ enumValues: undefined;
685
+ baseColumn: never;
686
+ identity: undefined;
687
+ generated: undefined;
688
+ }, {}, {}>;
689
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
690
+ name: "createdAt";
691
+ tableName: "candidacies";
692
+ dataType: "date";
693
+ columnType: "PgTimestamp";
694
+ data: Date;
695
+ driverParam: string;
696
+ notNull: true;
697
+ hasDefault: true;
698
+ isPrimaryKey: false;
699
+ isAutoincrement: false;
700
+ hasRuntimeDefault: false;
701
+ enumValues: undefined;
702
+ baseColumn: never;
703
+ identity: undefined;
704
+ generated: undefined;
705
+ }, {}, {}>;
706
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
707
+ name: "updatedAt";
708
+ tableName: "candidacies";
709
+ dataType: "date";
710
+ columnType: "PgTimestamp";
711
+ data: Date;
712
+ driverParam: string;
713
+ notNull: true;
714
+ hasDefault: true;
715
+ isPrimaryKey: false;
716
+ isAutoincrement: false;
717
+ hasRuntimeDefault: false;
718
+ enumValues: undefined;
719
+ baseColumn: never;
720
+ identity: undefined;
721
+ generated: undefined;
722
+ }, {}, {}>;
723
+ }, undefined, undefined>;
724
+ export declare const AdminCandidacyParamsSchema: z.ZodObject<{
725
+ id: z.ZodUUID;
726
+ }, {
727
+ out: {};
728
+ in: {};
729
+ }>;
730
+ export declare const AdminCandidacyUpdateParamsSchema: z.ZodObject<{
731
+ id: z.ZodUUID;
732
+ }, {
733
+ out: {};
734
+ in: {};
735
+ }>;
736
+ export declare const AdminCandidacyDeleteParamsSchema: z.ZodObject<{
737
+ id: z.ZodUUID;
738
+ }, {
739
+ out: {};
740
+ in: {};
741
+ }>;
742
+ export declare const AdminCandidacyListQuerySchema: z.ZodObject<{
743
+ limit: z.ZodOptional<z.ZodNumber>;
744
+ offset: z.ZodOptional<z.ZodNumber>;
745
+ sort: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
746
+ filter: z.ZodOptional<z.ZodObject<{
747
+ personId: z.ZodOptional<z.ZodUUID>;
748
+ positionId: z.ZodOptional<z.ZodUUID>;
749
+ isClosed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
750
+ }, {
751
+ out: {};
752
+ in: {};
753
+ }>>;
754
+ }, z.core.$strip>;
755
+ type AdminCandidacy = z.infer<typeof AdminCandidacySelectSchema>;
756
+ export type AdminCandidacyParams = z.infer<typeof AdminCandidacyParamsSchema>;
757
+ export type AdminCandidacyResult = AdminCandidacy;
758
+ export type AdminCandidacyListQuery = z.infer<typeof AdminCandidacyListQuerySchema>;
759
+ export type AdminCandidacyListResult = ListResponse<z.infer<typeof AdminCandidacySelectSchema>>;
760
+ export type AdminCandidacyCreateInput = z.infer<typeof AdminCandidacyCreateSchema>;
761
+ export type AdminCandidacyCreateResult = Pick<AdminCandidacy, 'id'>;
762
+ export type AdminCandidacyUpdateParams = z.infer<typeof AdminCandidacyUpdateParamsSchema>;
763
+ export type AdminCandidacyUpdateInput = Partial<AdminCandidacy>;
764
+ export type AdminCandidacyDeleteParams = z.infer<typeof AdminCandidacyDeleteParamsSchema>;
765
+ export {};