@the-inkwell/shared 0.1.164 → 0.2.1

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 (479) hide show
  1. package/package.json +9 -4
  2. package/src/constants.d.ts +770 -0
  3. package/src/constants.d.ts.map +1 -0
  4. package/src/constants.js +277 -0
  5. package/src/constants.js.map +1 -0
  6. package/src/constants.ts +299 -0
  7. package/src/index.d.ts +4 -0
  8. package/src/index.d.ts.map +1 -0
  9. package/{dist/src/types → src}/index.js +3 -1
  10. package/src/index.js.map +1 -0
  11. package/src/index.ts +3 -0
  12. package/src/schema/admin/actions/index.d.ts +797 -0
  13. package/src/schema/admin/actions/index.d.ts.map +1 -0
  14. package/src/schema/admin/actions/index.js +33 -0
  15. package/src/schema/admin/actions/index.js.map +1 -0
  16. package/src/schema/admin/actions/index.ts +65 -0
  17. package/src/schema/admin/campaigns/index.d.ts +491 -0
  18. package/src/schema/admin/campaigns/index.d.ts.map +1 -0
  19. package/src/schema/admin/campaigns/index.js +69 -0
  20. package/src/schema/admin/campaigns/index.js.map +1 -0
  21. package/src/schema/admin/campaigns/index.ts +111 -0
  22. package/src/schema/admin/candidacies/index.d.ts +766 -0
  23. package/src/schema/admin/candidacies/index.d.ts.map +1 -0
  24. package/src/schema/admin/candidacies/index.js +84 -0
  25. package/src/schema/admin/candidacies/index.js.map +1 -0
  26. package/src/schema/admin/candidacies/index.ts +138 -0
  27. package/src/schema/admin/clients/index.d.ts +340 -0
  28. package/src/schema/admin/clients/index.d.ts.map +1 -0
  29. package/src/schema/admin/clients/index.js +31 -0
  30. package/src/schema/admin/clients/index.js.map +1 -0
  31. package/src/schema/admin/clients/index.ts +65 -0
  32. package/src/schema/admin/dashboard/index.d.ts +11 -0
  33. package/src/schema/admin/dashboard/index.d.ts.map +1 -0
  34. package/{dist/src/types/admin/candidacies → src/schema/admin/dashboard}/index.js +1 -0
  35. package/src/schema/admin/dashboard/index.js.map +1 -0
  36. package/src/schema/admin/dashboard/index.ts +10 -0
  37. package/src/schema/admin/educations/index.d.ts +361 -0
  38. package/src/schema/admin/educations/index.d.ts.map +1 -0
  39. package/src/schema/admin/educations/index.js +24 -0
  40. package/src/schema/admin/educations/index.js.map +1 -0
  41. package/src/schema/admin/educations/index.ts +71 -0
  42. package/src/schema/admin/experiences/index.d.ts +467 -0
  43. package/src/schema/admin/experiences/index.d.ts.map +1 -0
  44. package/src/schema/admin/experiences/index.js +38 -0
  45. package/src/schema/admin/experiences/index.js.map +1 -0
  46. package/src/schema/admin/experiences/index.ts +87 -0
  47. package/src/schema/admin/files/index.d.ts +9 -0
  48. package/src/schema/admin/files/index.d.ts.map +1 -0
  49. package/src/schema/admin/files/index.js +8 -0
  50. package/src/schema/admin/files/index.js.map +1 -0
  51. package/src/schema/admin/files/index.ts +10 -0
  52. package/src/schema/admin/index.d.ts +30 -0
  53. package/src/schema/admin/index.d.ts.map +1 -0
  54. package/{dist/src/types/models → src/schema}/admin/index.js +19 -1
  55. package/src/schema/admin/index.js.map +1 -0
  56. package/src/schema/admin/index.ts +29 -0
  57. package/src/schema/admin/jobFunctions/index.d.ts +363 -0
  58. package/src/schema/admin/jobFunctions/index.d.ts.map +1 -0
  59. package/src/schema/admin/jobFunctions/index.js +33 -0
  60. package/src/schema/admin/jobFunctions/index.js.map +1 -0
  61. package/src/schema/admin/jobFunctions/index.ts +79 -0
  62. package/src/schema/admin/listViews/index.d.ts +576 -0
  63. package/src/schema/admin/listViews/index.d.ts.map +1 -0
  64. package/src/schema/admin/listViews/index.js +23 -0
  65. package/src/schema/admin/listViews/index.js.map +1 -0
  66. package/src/schema/admin/listViews/index.ts +58 -0
  67. package/src/schema/admin/locations/index.d.ts +28 -0
  68. package/src/schema/admin/locations/index.d.ts.map +1 -0
  69. package/src/schema/admin/locations/index.js +17 -0
  70. package/src/schema/admin/locations/index.js.map +1 -0
  71. package/src/schema/admin/locations/index.ts +42 -0
  72. package/src/schema/admin/messages/index.d.ts +801 -0
  73. package/src/schema/admin/messages/index.d.ts.map +1 -0
  74. package/src/schema/admin/messages/index.js +52 -0
  75. package/src/schema/admin/messages/index.js.map +1 -0
  76. package/src/schema/admin/messages/index.ts +88 -0
  77. package/src/schema/admin/notes/index.d.ts +559 -0
  78. package/src/schema/admin/notes/index.d.ts.map +1 -0
  79. package/src/schema/admin/notes/index.js +28 -0
  80. package/src/schema/admin/notes/index.js.map +1 -0
  81. package/src/schema/admin/notes/index.ts +56 -0
  82. package/src/schema/admin/partners/index.d.ts +335 -0
  83. package/src/schema/admin/partners/index.d.ts.map +1 -0
  84. package/src/schema/admin/partners/index.js +26 -0
  85. package/src/schema/admin/partners/index.js.map +1 -0
  86. package/src/schema/admin/partners/index.ts +60 -0
  87. package/src/schema/admin/persons/index.d.ts +890 -0
  88. package/src/schema/admin/persons/index.d.ts.map +1 -0
  89. package/src/schema/admin/persons/index.js +195 -0
  90. package/src/schema/admin/persons/index.js.map +1 -0
  91. package/src/schema/admin/persons/index.ts +294 -0
  92. package/src/schema/admin/personsToBestPersons/index.d.ts +199 -0
  93. package/src/schema/admin/personsToBestPersons/index.d.ts.map +1 -0
  94. package/src/schema/admin/personsToBestPersons/index.js +19 -0
  95. package/src/schema/admin/personsToBestPersons/index.js.map +1 -0
  96. package/src/schema/admin/personsToBestPersons/index.ts +67 -0
  97. package/src/schema/admin/personsToSkills/index.d.ts +199 -0
  98. package/src/schema/admin/personsToSkills/index.d.ts.map +1 -0
  99. package/src/schema/admin/personsToSkills/index.js +19 -0
  100. package/src/schema/admin/personsToSkills/index.js.map +1 -0
  101. package/src/schema/admin/personsToSkills/index.ts +61 -0
  102. package/src/schema/admin/personsToTags/index.d.ts +199 -0
  103. package/src/schema/admin/personsToTags/index.d.ts.map +1 -0
  104. package/src/schema/admin/personsToTags/index.js +19 -0
  105. package/src/schema/admin/personsToTags/index.js.map +1 -0
  106. package/src/schema/admin/personsToTags/index.ts +61 -0
  107. package/src/schema/admin/positions/index.d.ts +1329 -0
  108. package/src/schema/admin/positions/index.d.ts.map +1 -0
  109. package/src/schema/admin/positions/index.js +59 -0
  110. package/src/schema/admin/positions/index.js.map +1 -0
  111. package/src/schema/admin/positions/index.ts +97 -0
  112. package/src/schema/admin/positionsToSkills/index.d.ts +199 -0
  113. package/src/schema/admin/positionsToSkills/index.d.ts.map +1 -0
  114. package/src/schema/admin/positionsToSkills/index.js +19 -0
  115. package/src/schema/admin/positionsToSkills/index.js.map +1 -0
  116. package/src/schema/admin/positionsToSkills/index.ts +64 -0
  117. package/src/schema/admin/positionsToTags/index.d.ts +199 -0
  118. package/src/schema/admin/positionsToTags/index.d.ts.map +1 -0
  119. package/src/schema/admin/positionsToTags/index.js +19 -0
  120. package/src/schema/admin/positionsToTags/index.js.map +1 -0
  121. package/src/schema/admin/positionsToTags/index.ts +61 -0
  122. package/src/schema/admin/referrals/index.d.ts +478 -0
  123. package/src/schema/admin/referrals/index.d.ts.map +1 -0
  124. package/src/schema/admin/referrals/index.js +65 -0
  125. package/src/schema/admin/referrals/index.js.map +1 -0
  126. package/src/schema/admin/referrals/index.ts +100 -0
  127. package/src/schema/admin/referralsToMessages/index.d.ts +244 -0
  128. package/src/schema/admin/referralsToMessages/index.d.ts.map +1 -0
  129. package/src/schema/admin/referralsToMessages/index.js +56 -0
  130. package/src/schema/admin/referralsToMessages/index.js.map +1 -0
  131. package/src/schema/admin/referralsToMessages/index.ts +121 -0
  132. package/src/schema/admin/senders/index.d.ts +452 -0
  133. package/src/schema/admin/senders/index.d.ts.map +1 -0
  134. package/src/schema/admin/senders/index.js +17 -0
  135. package/src/schema/admin/senders/index.js.map +1 -0
  136. package/src/schema/admin/senders/index.ts +50 -0
  137. package/src/schema/admin/sendgrid/index.d.ts +10 -0
  138. package/src/schema/admin/sendgrid/index.d.ts.map +1 -0
  139. package/src/schema/admin/sendgrid/index.js +11 -0
  140. package/src/schema/admin/sendgrid/index.js.map +1 -0
  141. package/src/schema/admin/sendgrid/index.ts +16 -0
  142. package/src/schema/admin/settings/index.d.ts +31 -0
  143. package/src/schema/admin/settings/index.d.ts.map +1 -0
  144. package/src/schema/admin/settings/index.js +22 -0
  145. package/src/schema/admin/settings/index.js.map +1 -0
  146. package/src/schema/admin/settings/index.ts +34 -0
  147. package/src/schema/admin/skills/index.d.ts +363 -0
  148. package/src/schema/admin/skills/index.d.ts.map +1 -0
  149. package/src/schema/admin/skills/index.js +33 -0
  150. package/src/schema/admin/skills/index.js.map +1 -0
  151. package/src/schema/admin/skills/index.ts +64 -0
  152. package/src/schema/admin/tags/index.d.ts +356 -0
  153. package/src/schema/admin/tags/index.d.ts.map +1 -0
  154. package/src/schema/admin/tags/index.js +30 -0
  155. package/src/schema/admin/tags/index.js.map +1 -0
  156. package/src/schema/admin/tags/index.ts +56 -0
  157. package/src/schema/admin/websiteLandingPages/index.d.ts +563 -0
  158. package/src/schema/admin/websiteLandingPages/index.d.ts.map +1 -0
  159. package/src/schema/admin/websiteLandingPages/index.js +17 -0
  160. package/src/schema/admin/websiteLandingPages/index.js.map +1 -0
  161. package/src/schema/admin/websiteLandingPages/index.ts +69 -0
  162. package/src/schema/admin/websiteStaticPages/index.d.ts +386 -0
  163. package/src/schema/admin/websiteStaticPages/index.d.ts.map +1 -0
  164. package/src/schema/admin/websiteStaticPages/index.js +17 -0
  165. package/src/schema/admin/websiteStaticPages/index.js.map +1 -0
  166. package/src/schema/admin/websiteStaticPages/index.ts +67 -0
  167. package/src/schema/auth/index.d.ts +16 -0
  168. package/src/schema/auth/index.d.ts.map +1 -0
  169. package/src/schema/auth/index.js +12 -0
  170. package/src/schema/auth/index.js.map +1 -0
  171. package/src/schema/auth/index.ts +14 -0
  172. package/src/schema/core.d.ts +6336 -0
  173. package/src/schema/core.d.ts.map +1 -0
  174. package/src/schema/core.js +1470 -0
  175. package/src/schema/core.js.map +1 -0
  176. package/src/schema/core.ts +1906 -0
  177. package/src/schema/index.d.ts +4 -0
  178. package/src/schema/index.d.ts.map +1 -0
  179. package/{dist/src/types/http → src/schema}/index.js +2 -1
  180. package/src/schema/index.js.map +1 -0
  181. package/src/{types/models → schema}/index.ts +1 -1
  182. package/src/utils.d.ts +24 -0
  183. package/src/utils.d.ts.map +1 -0
  184. package/src/utils.js +18 -0
  185. package/src/utils.js.map +1 -0
  186. package/src/utils.ts +42 -0
  187. package/tsconfig.json +14 -107
  188. package/README.md +0 -9
  189. package/dist/index.js +0 -18
  190. package/dist/src/constants/enums.js +0 -209
  191. package/dist/src/constants/index.js +0 -17
  192. package/dist/src/types/_schema/Action.js +0 -4
  193. package/dist/src/types/_schema/ActionNames.js +0 -4
  194. package/dist/src/types/_schema/Actions.js +0 -4
  195. package/dist/src/types/_schema/Admin.js +0 -4
  196. package/dist/src/types/_schema/Admins.js +0 -4
  197. package/dist/src/types/_schema/Campaign.js +0 -4
  198. package/dist/src/types/_schema/CampaignStatuses.js +0 -4
  199. package/dist/src/types/_schema/CampaignToPosition.js +0 -4
  200. package/dist/src/types/_schema/Campaigns.js +0 -4
  201. package/dist/src/types/_schema/CampaignsToPositions.js +0 -4
  202. package/dist/src/types/_schema/Candidacies.js +0 -4
  203. package/dist/src/types/_schema/Candidacy.js +0 -4
  204. package/dist/src/types/_schema/CandidacyFeedback.js +0 -4
  205. package/dist/src/types/_schema/CandidacyRatingCategories.js +0 -4
  206. package/dist/src/types/_schema/CandidacyRatingReasons.js +0 -4
  207. package/dist/src/types/_schema/CandidacyRatingToTag.js +0 -4
  208. package/dist/src/types/_schema/CandidacyRatings.js +0 -4
  209. package/dist/src/types/_schema/CandidacyRatingsToTags.js +0 -4
  210. package/dist/src/types/_schema/CandidacySources.js +0 -4
  211. package/dist/src/types/_schema/CandidacyStages.js +0 -4
  212. package/dist/src/types/_schema/CandidacyStatuses.js +0 -4
  213. package/dist/src/types/_schema/Certifications.js +0 -4
  214. package/dist/src/types/_schema/Client.js +0 -4
  215. package/dist/src/types/_schema/ClientStages.js +0 -4
  216. package/dist/src/types/_schema/ClientStatuses.js +0 -4
  217. package/dist/src/types/_schema/Clients.js +0 -4
  218. package/dist/src/types/_schema/Clubs.js +0 -4
  219. package/dist/src/types/_schema/Contract.js +0 -4
  220. package/dist/src/types/_schema/Contracts.js +0 -4
  221. package/dist/src/types/_schema/Conversation.js +0 -4
  222. package/dist/src/types/_schema/Conversations.js +0 -4
  223. package/dist/src/types/_schema/EducationDegrees.js +0 -4
  224. package/dist/src/types/_schema/EducationFields.js +0 -4
  225. package/dist/src/types/_schema/Educations.js +0 -4
  226. package/dist/src/types/_schema/EnrichmentSources.js +0 -4
  227. package/dist/src/types/_schema/Enrichments.js +0 -4
  228. package/dist/src/types/_schema/Experiences.js +0 -4
  229. package/dist/src/types/_schema/Genders.js +0 -4
  230. package/dist/src/types/_schema/Industries.js +0 -4
  231. package/dist/src/types/_schema/JobFunctions.js +0 -4
  232. package/dist/src/types/_schema/JobLevels.js +0 -4
  233. package/dist/src/types/_schema/Jwt.js +0 -4
  234. package/dist/src/types/_schema/Jwts.js +0 -4
  235. package/dist/src/types/_schema/ListView.js +0 -4
  236. package/dist/src/types/_schema/ListViewModels.js +0 -4
  237. package/dist/src/types/_schema/ListViews.js +0 -4
  238. package/dist/src/types/_schema/Message.js +0 -4
  239. package/dist/src/types/_schema/MessageChannels.js +0 -4
  240. package/dist/src/types/_schema/MessageTemplate.js +0 -4
  241. package/dist/src/types/_schema/MessageTemplates.js +0 -4
  242. package/dist/src/types/_schema/Messages.js +0 -4
  243. package/dist/src/types/_schema/Networks.js +0 -4
  244. package/dist/src/types/_schema/Note.js +0 -4
  245. package/dist/src/types/_schema/Notes.js +0 -4
  246. package/dist/src/types/_schema/Otp.js +0 -4
  247. package/dist/src/types/_schema/Otps.js +0 -4
  248. package/dist/src/types/_schema/Partners.js +0 -4
  249. package/dist/src/types/_schema/Person.js +0 -4
  250. package/dist/src/types/_schema/PersonCareerLevels.js +0 -4
  251. package/dist/src/types/_schema/PersonClub.js +0 -4
  252. package/dist/src/types/_schema/PersonClubs.js +0 -4
  253. package/dist/src/types/_schema/PersonDegrees.js +0 -4
  254. package/dist/src/types/_schema/PersonEnrichment.js +0 -4
  255. package/dist/src/types/_schema/PersonEnrichments.js +0 -4
  256. package/dist/src/types/_schema/PersonGenders.js +0 -4
  257. package/dist/src/types/_schema/PersonNetwork.js +0 -4
  258. package/dist/src/types/_schema/PersonNetworks.js +0 -4
  259. package/dist/src/types/_schema/PersonSkill.js +0 -4
  260. package/dist/src/types/_schema/PersonSkills.js +0 -4
  261. package/dist/src/types/_schema/PersonSources.js +0 -4
  262. package/dist/src/types/_schema/PersonToBestPerson.js +0 -4
  263. package/dist/src/types/_schema/PersonToPersonClub.js +0 -4
  264. package/dist/src/types/_schema/PersonToPersonNetwork.js +0 -4
  265. package/dist/src/types/_schema/PersonToPersonSkill.js +0 -4
  266. package/dist/src/types/_schema/PersonToTag.js +0 -4
  267. package/dist/src/types/_schema/Persons.js +0 -4
  268. package/dist/src/types/_schema/PersonsToBestPersons.js +0 -4
  269. package/dist/src/types/_schema/PersonsToCertifications.js +0 -4
  270. package/dist/src/types/_schema/PersonsToClubs.js +0 -4
  271. package/dist/src/types/_schema/PersonsToIndustries.js +0 -4
  272. package/dist/src/types/_schema/PersonsToNetworks.js +0 -4
  273. package/dist/src/types/_schema/PersonsToPersonClubs.js +0 -4
  274. package/dist/src/types/_schema/PersonsToPersonNetworks.js +0 -4
  275. package/dist/src/types/_schema/PersonsToPersonSkills.js +0 -4
  276. package/dist/src/types/_schema/PersonsToSkills.js +0 -4
  277. package/dist/src/types/_schema/PersonsToTags.js +0 -4
  278. package/dist/src/types/_schema/Position.js +0 -4
  279. package/dist/src/types/_schema/PositionRatingCategories.js +0 -4
  280. package/dist/src/types/_schema/PositionRatings.js +0 -4
  281. package/dist/src/types/_schema/PositionStages.js +0 -4
  282. package/dist/src/types/_schema/PositionStatuses.js +0 -4
  283. package/dist/src/types/_schema/Positions.js +0 -4
  284. package/dist/src/types/_schema/PositionsToIndustries.js +0 -4
  285. package/dist/src/types/_schema/PositionsToPersonSkills.js +0 -4
  286. package/dist/src/types/_schema/PositionsToSkills.js +0 -4
  287. package/dist/src/types/_schema/PositionsToTags.js +0 -4
  288. package/dist/src/types/_schema/PublicSchema.js +0 -4
  289. package/dist/src/types/_schema/Referral.js +0 -4
  290. package/dist/src/types/_schema/ReferralPayout.js +0 -4
  291. package/dist/src/types/_schema/ReferralPayouts.js +0 -4
  292. package/dist/src/types/_schema/ReferralSources.js +0 -4
  293. package/dist/src/types/_schema/ReferralToIntroMessage.js +0 -4
  294. package/dist/src/types/_schema/Referrals.js +0 -4
  295. package/dist/src/types/_schema/ReferralsToIntroMessages.js +0 -4
  296. package/dist/src/types/_schema/ReferralsToMessages.js +0 -4
  297. package/dist/src/types/_schema/Sender.js +0 -4
  298. package/dist/src/types/_schema/Senders.js +0 -4
  299. package/dist/src/types/_schema/Skills.js +0 -4
  300. package/dist/src/types/_schema/Tag.js +0 -4
  301. package/dist/src/types/_schema/Tags.js +0 -4
  302. package/dist/src/types/_schema/WebsiteBlock.js +0 -4
  303. package/dist/src/types/_schema/WebsiteBlocks.js +0 -4
  304. package/dist/src/types/_schema/WebsiteLandingPage.js +0 -4
  305. package/dist/src/types/_schema/WebsiteLandingPages.js +0 -4
  306. package/dist/src/types/_schema/WebsiteStaticPage.js +0 -4
  307. package/dist/src/types/_schema/WebsiteStaticPages.js +0 -4
  308. package/dist/src/types/admin/index.js +0 -19
  309. package/dist/src/types/admin/persons/index.js +0 -2
  310. package/dist/src/types/admin/website/index.js +0 -2
  311. package/dist/src/types/auth/index.js +0 -2
  312. package/dist/src/types/db.js +0 -6
  313. package/dist/src/types/http/admin/candidacies/index.js +0 -2
  314. package/dist/src/types/http/admin/index.js +0 -19
  315. package/dist/src/types/http/admin/persons/index.js +0 -2
  316. package/dist/src/types/http/admin/website/index.js +0 -2
  317. package/dist/src/types/http/auth/index.js +0 -2
  318. package/dist/src/types/http/utils/index.js +0 -2
  319. package/dist/src/types/models/admin/campaigns/index.js +0 -2
  320. package/dist/src/types/models/admin/candidacies/index.js +0 -2
  321. package/dist/src/types/models/admin/clients/index.js +0 -2
  322. package/dist/src/types/models/admin/conversations/index.js +0 -2
  323. package/dist/src/types/models/admin/listViews/index.js +0 -2
  324. package/dist/src/types/models/admin/locations/index.js +0 -2
  325. package/dist/src/types/models/admin/messages/index.js +0 -2
  326. package/dist/src/types/models/admin/partners/index.js +0 -2
  327. package/dist/src/types/models/admin/persons/index.js +0 -2
  328. package/dist/src/types/models/admin/positions/index.js +0 -23
  329. package/dist/src/types/models/admin/referrals/index.js +0 -2
  330. package/dist/src/types/models/admin/settings/index.js +0 -2
  331. package/dist/src/types/models/admin/website/_shared.js +0 -2
  332. package/dist/src/types/models/admin/website/home.js +0 -2
  333. package/dist/src/types/models/admin/website/index.js +0 -18
  334. package/dist/src/types/models/admin/website/shared.js +0 -2
  335. package/dist/src/types/models/auth/index.js +0 -2
  336. package/dist/src/types/models/index.js +0 -19
  337. package/dist/src/types/schemas/Database.js +0 -4
  338. package/dist/src/types/schemas/index.js +0 -23
  339. package/dist/src/types/schemas/public/Action.js +0 -4
  340. package/dist/src/types/schemas/public/ActionNames.js +0 -4
  341. package/dist/src/types/schemas/public/Admin.js +0 -4
  342. package/dist/src/types/schemas/public/Campaign.js +0 -4
  343. package/dist/src/types/schemas/public/CampaignStatuses.js +0 -4
  344. package/dist/src/types/schemas/public/CampaignToPosition.js +0 -4
  345. package/dist/src/types/schemas/public/Candidacy.js +0 -4
  346. package/dist/src/types/schemas/public/CandidacyFeedback.js +0 -4
  347. package/dist/src/types/schemas/public/CandidacyRatingToTag.js +0 -4
  348. package/dist/src/types/schemas/public/CandidacySources.js +0 -4
  349. package/dist/src/types/schemas/public/CandidacyStatuses.js +0 -4
  350. package/dist/src/types/schemas/public/Client.js +0 -4
  351. package/dist/src/types/schemas/public/ClientStatuses.js +0 -4
  352. package/dist/src/types/schemas/public/Contract.js +0 -4
  353. package/dist/src/types/schemas/public/Conversation.js +0 -4
  354. package/dist/src/types/schemas/public/EnrichmentSources.js +0 -4
  355. package/dist/src/types/schemas/public/Jwt.js +0 -4
  356. package/dist/src/types/schemas/public/ListView.js +0 -4
  357. package/dist/src/types/schemas/public/ListViewModels.js +0 -4
  358. package/dist/src/types/schemas/public/Message.js +0 -4
  359. package/dist/src/types/schemas/public/MessageChannels.js +0 -4
  360. package/dist/src/types/schemas/public/MessageSender.js +0 -4
  361. package/dist/src/types/schemas/public/MessageTemplate.js +0 -4
  362. package/dist/src/types/schemas/public/Note.js +0 -4
  363. package/dist/src/types/schemas/public/Otp.js +0 -4
  364. package/dist/src/types/schemas/public/Person.js +0 -4
  365. package/dist/src/types/schemas/public/PersonCareerLevels.js +0 -4
  366. package/dist/src/types/schemas/public/PersonClub.js +0 -4
  367. package/dist/src/types/schemas/public/PersonDegrees.js +0 -4
  368. package/dist/src/types/schemas/public/PersonEnrichment.js +0 -4
  369. package/dist/src/types/schemas/public/PersonGenders.js +0 -4
  370. package/dist/src/types/schemas/public/PersonNetwork.js +0 -4
  371. package/dist/src/types/schemas/public/PersonSkill.js +0 -4
  372. package/dist/src/types/schemas/public/PersonSources.js +0 -4
  373. package/dist/src/types/schemas/public/PersonToBestPerson.js +0 -4
  374. package/dist/src/types/schemas/public/PersonToPersonClub.js +0 -4
  375. package/dist/src/types/schemas/public/PersonToPersonNetwork.js +0 -4
  376. package/dist/src/types/schemas/public/PersonToPersonSkill.js +0 -4
  377. package/dist/src/types/schemas/public/PersonToTag.js +0 -4
  378. package/dist/src/types/schemas/public/Position.js +0 -4
  379. package/dist/src/types/schemas/public/PositionStatuses.js +0 -4
  380. package/dist/src/types/schemas/public/PrismaMigrations.js +0 -4
  381. package/dist/src/types/schemas/public/PublicSchema.js +0 -4
  382. package/dist/src/types/schemas/public/Referral.js +0 -4
  383. package/dist/src/types/schemas/public/ReferralPayout.js +0 -4
  384. package/dist/src/types/schemas/public/ReferralSources.js +0 -4
  385. package/dist/src/types/schemas/public/ReferralToIntroMessage.js +0 -4
  386. package/dist/src/types/schemas/public/Sender.js +0 -4
  387. package/dist/src/types/schemas/public/Tag.js +0 -4
  388. package/dist/src/types/schemas/public/WebsiteBlock.js +0 -4
  389. package/dist/src/types/schemas/public/WebsiteLandingPage.js +0 -4
  390. package/dist/src/types/schemas/public/WebsiteStaticPage.js +0 -4
  391. package/dist/src/types/shared/index.js +0 -2
  392. package/dist/src/types/utils/index.js +0 -2
  393. package/dist/types/admin/index.js +0 -17
  394. package/dist/types/admin/website/index.js +0 -2
  395. package/dist/types/index.js +0 -17
  396. package/index.ts +0 -2
  397. package/src/constants/enums.ts +0 -251
  398. package/src/constants/index.ts +0 -1
  399. package/src/types/_schema/ActionNames.ts +0 -11
  400. package/src/types/_schema/Actions.ts +0 -104
  401. package/src/types/_schema/Admins.ts +0 -49
  402. package/src/types/_schema/CampaignStatuses.ts +0 -10
  403. package/src/types/_schema/Campaigns.ts +0 -76
  404. package/src/types/_schema/CampaignsToPositions.ts +0 -33
  405. package/src/types/_schema/Candidacies.ts +0 -77
  406. package/src/types/_schema/CandidacyFeedback.ts +0 -55
  407. package/src/types/_schema/CandidacyRatingCategories.ts +0 -12
  408. package/src/types/_schema/CandidacyRatings.ts +0 -42
  409. package/src/types/_schema/CandidacySources.ts +0 -11
  410. package/src/types/_schema/CandidacyStages.ts +0 -14
  411. package/src/types/_schema/CandidacyStatuses.ts +0 -9
  412. package/src/types/_schema/Certifications.ts +0 -59
  413. package/src/types/_schema/ClientStages.ts +0 -12
  414. package/src/types/_schema/ClientStatuses.ts +0 -9
  415. package/src/types/_schema/Clients.ts +0 -69
  416. package/src/types/_schema/Contracts.ts +0 -68
  417. package/src/types/_schema/EducationDegrees.ts +0 -12
  418. package/src/types/_schema/EducationFields.ts +0 -18
  419. package/src/types/_schema/Educations.ts +0 -55
  420. package/src/types/_schema/EnrichmentSources.ts +0 -8
  421. package/src/types/_schema/Enrichments.ts +0 -68
  422. package/src/types/_schema/Experiences.ts +0 -87
  423. package/src/types/_schema/Genders.ts +0 -11
  424. package/src/types/_schema/Industries.ts +0 -53
  425. package/src/types/_schema/JobFunctions.ts +0 -53
  426. package/src/types/_schema/JobLevels.ts +0 -13
  427. package/src/types/_schema/Jwts.ts +0 -61
  428. package/src/types/_schema/ListViewModels.ts +0 -11
  429. package/src/types/_schema/ListViews.ts +0 -74
  430. package/src/types/_schema/MessageChannels.ts +0 -9
  431. package/src/types/_schema/MessageTemplates.ts +0 -53
  432. package/src/types/_schema/Messages.ts +0 -109
  433. package/src/types/_schema/Networks.ts +0 -59
  434. package/src/types/_schema/Notes.ts +0 -76
  435. package/src/types/_schema/Otps.ts +0 -67
  436. package/src/types/_schema/Partners.ts +0 -65
  437. package/src/types/_schema/PersonSources.ts +0 -11
  438. package/src/types/_schema/Persons.ts +0 -237
  439. package/src/types/_schema/PersonsToBestPersons.ts +0 -32
  440. package/src/types/_schema/PersonsToCertifications.ts +0 -26
  441. package/src/types/_schema/PersonsToNetworks.ts +0 -33
  442. package/src/types/_schema/PersonsToSkills.ts +0 -33
  443. package/src/types/_schema/PersonsToTags.ts +0 -33
  444. package/src/types/_schema/PositionRatingCategories.ts +0 -9
  445. package/src/types/_schema/PositionRatings.ts +0 -42
  446. package/src/types/_schema/PositionStages.ts +0 -12
  447. package/src/types/_schema/PositionStatuses.ts +0 -9
  448. package/src/types/_schema/Positions.ts +0 -119
  449. package/src/types/_schema/PositionsToIndustries.ts +0 -33
  450. package/src/types/_schema/PositionsToSkills.ts +0 -33
  451. package/src/types/_schema/PositionsToTags.ts +0 -33
  452. package/src/types/_schema/ReferralPayouts.ts +0 -29
  453. package/src/types/_schema/ReferralSources.ts +0 -11
  454. package/src/types/_schema/Referrals.ts +0 -83
  455. package/src/types/_schema/ReferralsToMessages.ts +0 -40
  456. package/src/types/_schema/Senders.ts +0 -65
  457. package/src/types/_schema/Skills.ts +0 -53
  458. package/src/types/_schema/Tags.ts +0 -53
  459. package/src/types/_schema/WebsiteBlocks.ts +0 -45
  460. package/src/types/_schema/WebsiteLandingPages.ts +0 -47
  461. package/src/types/_schema/WebsiteStaticPages.ts +0 -53
  462. package/src/types/index.ts +0 -2
  463. package/src/types/models/admin/campaigns/index.ts +0 -28
  464. package/src/types/models/admin/candidacies/index.ts +0 -69
  465. package/src/types/models/admin/clients/index.ts +0 -49
  466. package/src/types/models/admin/index.ts +0 -12
  467. package/src/types/models/admin/listViews/index.ts +0 -48
  468. package/src/types/models/admin/locations/index.ts +0 -28
  469. package/src/types/models/admin/messages/index.ts +0 -14
  470. package/src/types/models/admin/partners/index.ts +0 -36
  471. package/src/types/models/admin/persons/index.ts +0 -90
  472. package/src/types/models/admin/positions/index.ts +0 -72
  473. package/src/types/models/admin/referrals/index.ts +0 -67
  474. package/src/types/models/admin/settings/index.ts +0 -24
  475. package/src/types/models/admin/website/home.ts +0 -42
  476. package/src/types/models/admin/website/index.ts +0 -2
  477. package/src/types/models/admin/website/shared.ts +0 -40
  478. package/src/types/models/auth/index.ts +0 -6
  479. package/src/types/utils/index.ts +0 -15
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./admin"), exports);
package/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/types'
2
- export * from './src/constants'
@@ -1,251 +0,0 @@
1
- import ActionNames from '../types/_schema/ActionNames'
2
- import CampaignStatuses from '../types/_schema/CampaignStatuses'
3
- import CandidacyRatingCategories from '../types/_schema/CandidacyRatingCategories'
4
- import CandidacySources from '../types/_schema/CandidacySources'
5
- import CandidacyStages from '../types/_schema/CandidacyStages'
6
- import CandidacyStatuses from '../types/_schema/CandidacyStatuses'
7
- import ClientStages from '../types/_schema/ClientStages'
8
- import ClientStatuses from '../types/_schema/ClientStatuses'
9
- import EducationDegrees from '../types/_schema/EducationDegrees'
10
- import EducationFields from '../types/_schema/EducationFields'
11
- import EnrichmentSources from '../types/_schema/EnrichmentSources'
12
- import Genders from '../types/_schema/Genders'
13
- import JobLevels from '../types/_schema/JobLevels'
14
- import ListViewModels from '../types/_schema/ListViewModels'
15
- import MessageChannels from '../types/_schema/MessageChannels'
16
- import PersonSources from '../types/_schema/PersonSources'
17
- import PositionRatingCategories from '../types/_schema/PositionRatingCategories'
18
- import PositionStages from '../types/_schema/PositionStages'
19
- import PositionStatuses from '../types/_schema/PositionStatuses'
20
- import ReferralSources from '../types/_schema/ReferralSources'
21
-
22
- export const ListRequestLimits = [10, 50, 100, 200, 500] as const
23
- export const ListRequestSortDirections = ['asc', 'desc'] as const
24
-
25
- export const ActionNames: ActionNames[] = [
26
- 'MESSAGE_SENT',
27
- 'PROFILE_UPDATE',
28
- 'SIGN_IN',
29
- 'STATUS_UPDATE'
30
- ] as const
31
-
32
- export const CandidacyRatingCategories: CandidacyRatingCategories[] = [
33
- 'EXPERIENCE',
34
- 'INDUSTRY',
35
- 'SKILL',
36
- 'CULTURE',
37
- 'COMPENSATION'
38
- ] as const
39
-
40
- export const CampaignStatuses: CampaignStatuses[] = [
41
- 'DRAFT',
42
- 'CLOSED',
43
- 'SENT'
44
- ] as const
45
-
46
- export const CandidacySources: CandidacySources[] = [
47
- 'CAMPAIGN',
48
- 'NETWORK',
49
- 'WEBSITE',
50
- 'SOCIAL_MEDIA'
51
- ] as const
52
-
53
- export const CandidacyStages: CandidacyStages[] = [
54
- 'SUBMITTED',
55
- 'SCREENING',
56
- 'INTERVIEWING',
57
- 'OFFERED',
58
- 'HIRED',
59
- 'REJECTED',
60
- 'WITHDRAWN'
61
- ] as const
62
-
63
- export const CandidacyStatuses: CandidacyStatuses[] = [
64
- 'OPEN',
65
- 'CLOSED'
66
- ] as const
67
-
68
- export const ClientStatuses: ClientStatuses[] = ['ACTIVE', 'INACTIVE'] as const
69
-
70
- export const ClientStages: ClientStages[] = [
71
- 'PENDING',
72
- 'CONTACTED',
73
- 'QUALIFYING',
74
- 'CONVERTED',
75
- 'NOT_CONVERTED'
76
- ] as const
77
-
78
- export const EducationDegrees: EducationDegrees[] = [
79
- 'HIGH_SCHOOL',
80
- 'ASSOCIATES',
81
- 'BACHELORS',
82
- 'MASTERS',
83
- 'DOCTORATE'
84
- ] as const
85
-
86
- export const EducationFields: EducationFields[] = [
87
- 'ACCOUNTING',
88
- 'BUSINESS',
89
- 'LAW',
90
- 'ENGINEERING',
91
- 'EDUCATION',
92
- 'MEDICINE',
93
- 'ARCHITECTURE',
94
- 'SOCIAL_WORK',
95
- 'HUMANITIES',
96
- 'NATURAL_SCIENCES',
97
- 'SOCIAL_SCIENCES'
98
- ] as const
99
-
100
- export const EnrichmentSources: EnrichmentSources[] = ['PDL'] as const
101
-
102
- export const Genders: Genders[] = [
103
- 'MAN',
104
- 'WOMAN',
105
- 'NON_BINARY',
106
- 'UNKNOWN'
107
- ] as const
108
-
109
- export const JobLevels: JobLevels[] = [
110
- 'EXPERIENCED',
111
- 'MANAGER',
112
- 'DIRECTOR',
113
- 'VICE_PRESIDENT',
114
- 'VICE_PRESIDENT_SENIOR',
115
- 'CHIEF_SUITE'
116
- ] as const
117
-
118
- export const ListViewModels: ListViewModels[] = [
119
- 'PERSON',
120
- 'POSITION',
121
- 'CANDIDACY',
122
- 'REFERRAL'
123
- ] as const
124
-
125
- export const MessageChannels: MessageChannels[] = ['EMAIL', 'SMS'] as const
126
-
127
- export const PersonListOperators = [
128
- 'equals',
129
- 'not',
130
- 'lt',
131
- 'lte',
132
- 'gt',
133
- 'gte',
134
- 'contains',
135
- 'notContains',
136
- 'in',
137
- 'notIn',
138
- 'startsWith',
139
- 'endsWith',
140
- 'between',
141
- 'like',
142
- 'isNull',
143
- 'isNotNull'
144
- ] as const
145
-
146
- export const PersonSources: PersonSources[] = [
147
- 'SOURCED',
148
- 'NETWORK',
149
- 'WEBSITE',
150
- 'SOCIAL_MEDIA'
151
- ] as const
152
-
153
- export const PositionRatingCategories: PositionRatingCategories[] = [
154
- 'COMPENSATION',
155
- 'INTEREST'
156
- ] as const
157
-
158
- export const PositionStages: PositionStages[] = [
159
- 'PENDING',
160
- 'IN_PROGRESS',
161
- 'HIRED',
162
- 'CANCELED',
163
- 'FAILED'
164
- ] as const
165
-
166
- export const PositionStatuses: PositionStatuses[] = ['OPEN', 'CLOSED'] as const
167
-
168
- export const ReferralSources: ReferralSources[] = [
169
- 'CAMPAIGN',
170
- 'NETWORK',
171
- 'WEBSITE',
172
- 'SOCIAL_MEDIA'
173
- ] as const
174
-
175
- export const SettingsOptionLists = [
176
- 'certifications',
177
- 'industries',
178
- 'job-functions',
179
- 'networks',
180
- 'tags',
181
- 'skills'
182
- ] as const
183
-
184
- export const States = {
185
- AL: 'Alabama',
186
- AK: 'Alaska',
187
- AS: 'American Samoa',
188
- AZ: 'Arizona',
189
- AR: 'Arkansas',
190
- CA: 'California',
191
- CO: 'Colorado',
192
- CT: 'Connecticut',
193
- DE: 'Delaware',
194
- DC: 'District Of Columbia',
195
- FM: 'Federated States Of Micronesia',
196
- FL: 'Florida',
197
- GA: 'Georgia',
198
- GU: 'Guam',
199
- HI: 'Hawaii',
200
- ID: 'Idaho',
201
- IL: 'Illinois',
202
- IN: 'Indiana',
203
- IA: 'Iowa',
204
- KS: 'Kansas',
205
- KY: 'Kentucky',
206
- LA: 'Louisiana',
207
- ME: 'Maine',
208
- MH: 'Marshall Islands',
209
- MD: 'Maryland',
210
- MA: 'Massachusetts',
211
- MI: 'Michigan',
212
- MN: 'Minnesota',
213
- MS: 'Mississippi',
214
- MO: 'Missouri',
215
- MT: 'Montana',
216
- NE: 'Nebraska',
217
- NV: 'Nevada',
218
- NH: 'New Hampshire',
219
- NJ: 'New Jersey',
220
- NM: 'New Mexico',
221
- NY: 'New York',
222
- NC: 'North Carolina',
223
- ND: 'North Dakota',
224
- MP: 'Northern Mariana Islands',
225
- OH: 'Ohio',
226
- OK: 'Oklahoma',
227
- OR: 'Oregon',
228
- PW: 'Palau',
229
- PA: 'Pennsylvania',
230
- PR: 'Puerto Rico',
231
- RI: 'Rhode Island',
232
- SC: 'South Carolina',
233
- SD: 'South Dakota',
234
- TN: 'Tennessee',
235
- TX: 'Texas',
236
- UT: 'Utah',
237
- VT: 'Vermont',
238
- VI: 'Virgin Islands',
239
- VA: 'Virginia',
240
- WA: 'Washington',
241
- WV: 'West Virginia',
242
- WI: 'Wisconsin',
243
- WY: 'Wyoming'
244
- } as const
245
-
246
- export const StatesList = Object.entries(States)
247
- .map(([key, value]) => ({
248
- code: key,
249
- name: value
250
- }))
251
- .sort((a, b) => a.name.localeCompare(b.name))
@@ -1 +0,0 @@
1
- export * from './enums'
@@ -1,11 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Represents the enum public.ActionNames */
5
- type ActionNames =
6
- | 'MESSAGE_SENT'
7
- | 'PROFILE_UPDATE'
8
- | 'SIGN_IN'
9
- | 'STATUS_UPDATE';
10
-
11
- export default ActionNames;
@@ -1,104 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { CandidaciesId } from './Candidacies';
5
- import type { ClientsId } from './Clients';
6
- import type { MessagesId } from './Messages';
7
- import type { NotesId } from './Notes';
8
- import type { PersonsId } from './Persons';
9
- import type { PositionsId } from './Positions';
10
- import type { ReferralsId } from './Referrals';
11
- import type { default as ActionNames } from './ActionNames';
12
-
13
- /** Identifier type for public.actions */
14
- export type ActionsId = string;
15
-
16
- /** Represents the table public.actions */
17
- export default interface Actions {
18
- id: ActionsId;
19
-
20
- candidacyId: CandidaciesId | null;
21
-
22
- clientId: ClientsId | null;
23
-
24
- messageId: MessagesId | null;
25
-
26
- noteId: NotesId | null;
27
-
28
- personId: PersonsId | null;
29
-
30
- positionId: PositionsId | null;
31
-
32
- referralId: ReferralsId | null;
33
-
34
- data: unknown;
35
-
36
- createdAt: Date;
37
-
38
- name: ActionNames;
39
-
40
- deletedAt: Date | null;
41
-
42
- updatedAt: Date;
43
- }
44
-
45
- /** Represents the initializer for the table public.actions */
46
- export interface ActionsInitializer {
47
- /** Default value: gen_random_uuid() */
48
- id?: ActionsId;
49
-
50
- candidacyId?: CandidaciesId | null;
51
-
52
- clientId?: ClientsId | null;
53
-
54
- messageId?: MessagesId | null;
55
-
56
- noteId?: NotesId | null;
57
-
58
- personId?: PersonsId | null;
59
-
60
- positionId?: PositionsId | null;
61
-
62
- referralId?: ReferralsId | null;
63
-
64
- data: unknown;
65
-
66
- /** Default value: now() */
67
- createdAt?: Date;
68
-
69
- name: ActionNames;
70
-
71
- deletedAt?: Date | null;
72
-
73
- /** Default value: now() */
74
- updatedAt?: Date;
75
- }
76
-
77
- /** Represents the mutator for the table public.actions */
78
- export interface ActionsMutator {
79
- id?: ActionsId;
80
-
81
- candidacyId?: CandidaciesId | null;
82
-
83
- clientId?: ClientsId | null;
84
-
85
- messageId?: MessagesId | null;
86
-
87
- noteId?: NotesId | null;
88
-
89
- personId?: PersonsId | null;
90
-
91
- positionId?: PositionsId | null;
92
-
93
- referralId?: ReferralsId | null;
94
-
95
- data?: unknown;
96
-
97
- createdAt?: Date;
98
-
99
- name?: ActionNames;
100
-
101
- deletedAt?: Date | null;
102
-
103
- updatedAt?: Date;
104
- }
@@ -1,49 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { PersonsId } from './Persons';
5
-
6
- /** Identifier type for public.admins */
7
- export type AdminsId = string;
8
-
9
- /** Represents the table public.admins */
10
- export default interface Admins {
11
- id: AdminsId;
12
-
13
- personId: PersonsId;
14
-
15
- createdAt: Date;
16
-
17
- deletedAt: Date | null;
18
-
19
- updatedAt: Date;
20
- }
21
-
22
- /** Represents the initializer for the table public.admins */
23
- export interface AdminsInitializer {
24
- /** Default value: gen_random_uuid() */
25
- id?: AdminsId;
26
-
27
- personId: PersonsId;
28
-
29
- /** Default value: now() */
30
- createdAt?: Date;
31
-
32
- deletedAt?: Date | null;
33
-
34
- /** Default value: now() */
35
- updatedAt?: Date;
36
- }
37
-
38
- /** Represents the mutator for the table public.admins */
39
- export interface AdminsMutator {
40
- id?: AdminsId;
41
-
42
- personId?: PersonsId;
43
-
44
- createdAt?: Date;
45
-
46
- deletedAt?: Date | null;
47
-
48
- updatedAt?: Date;
49
- }
@@ -1,10 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Represents the enum public.CampaignStatuses */
5
- type CampaignStatuses =
6
- | 'DRAFT'
7
- | 'CLOSED'
8
- | 'SENT';
9
-
10
- export default CampaignStatuses;
@@ -1,76 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { default as CampaignStatuses } from './CampaignStatuses';
5
- import type { MessageTemplatesId } from './MessageTemplates';
6
- import type { default as MessageChannels } from './MessageChannels';
7
-
8
- /** Identifier type for public.campaigns */
9
- export type CampaignsId = string;
10
-
11
- /** Represents the table public.campaigns */
12
- export default interface Campaigns {
13
- id: CampaignsId;
14
-
15
- name: string;
16
-
17
- status: CampaignStatuses;
18
-
19
- messageTemplateId: MessageTemplatesId | null;
20
-
21
- channels: MessageChannels[] | null;
22
-
23
- content: unknown;
24
-
25
- createdAt: Date;
26
-
27
- deletedAt: Date | null;
28
-
29
- updatedAt: Date;
30
- }
31
-
32
- /** Represents the initializer for the table public.campaigns */
33
- export interface CampaignsInitializer {
34
- /** Default value: gen_random_uuid() */
35
- id?: CampaignsId;
36
-
37
- name: string;
38
-
39
- /** Default value: 'DRAFT'::"CampaignStatuses" */
40
- status?: CampaignStatuses;
41
-
42
- messageTemplateId?: MessageTemplatesId | null;
43
-
44
- channels?: MessageChannels[] | null;
45
-
46
- content: unknown;
47
-
48
- /** Default value: now() */
49
- createdAt?: Date;
50
-
51
- deletedAt?: Date | null;
52
-
53
- /** Default value: now() */
54
- updatedAt?: Date;
55
- }
56
-
57
- /** Represents the mutator for the table public.campaigns */
58
- export interface CampaignsMutator {
59
- id?: CampaignsId;
60
-
61
- name?: string;
62
-
63
- status?: CampaignStatuses;
64
-
65
- messageTemplateId?: MessageTemplatesId | null;
66
-
67
- channels?: MessageChannels[] | null;
68
-
69
- content?: unknown;
70
-
71
- createdAt?: Date;
72
-
73
- deletedAt?: Date | null;
74
-
75
- updatedAt?: Date;
76
- }
@@ -1,33 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { CampaignsId } from './Campaigns';
5
- import type { PositionsId } from './Positions';
6
-
7
- /** Represents the table public.campaigns_to_positions */
8
- export default interface CampaignsToPositions {
9
- campaignId: CampaignsId;
10
-
11
- positionId: PositionsId;
12
-
13
- createdAt: Date;
14
- }
15
-
16
- /** Represents the initializer for the table public.campaigns_to_positions */
17
- export interface CampaignsToPositionsInitializer {
18
- campaignId: CampaignsId;
19
-
20
- positionId: PositionsId;
21
-
22
- /** Default value: now() */
23
- createdAt?: Date;
24
- }
25
-
26
- /** Represents the mutator for the table public.campaigns_to_positions */
27
- export interface CampaignsToPositionsMutator {
28
- campaignId?: CampaignsId;
29
-
30
- positionId?: PositionsId;
31
-
32
- createdAt?: Date;
33
- }
@@ -1,77 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { default as CandidacyStatuses } from './CandidacyStatuses';
5
- import type { default as CandidacySources } from './CandidacySources';
6
- import type { PersonsId } from './Persons';
7
- import type { PositionsId } from './Positions';
8
-
9
- /** Identifier type for public.candidacies */
10
- export type CandidaciesId = string;
11
-
12
- /** Represents the table public.candidacies */
13
- export default interface Candidacies {
14
- id: CandidaciesId;
15
-
16
- status: CandidacyStatuses | null;
17
-
18
- networkId: string | null;
19
-
20
- source: CandidacySources | null;
21
-
22
- personId: PersonsId;
23
-
24
- positionId: PositionsId;
25
-
26
- deletedAt: Date | null;
27
-
28
- createdAt: Date;
29
-
30
- updatedAt: Date;
31
- }
32
-
33
- /** Represents the initializer for the table public.candidacies */
34
- export interface CandidaciesInitializer {
35
- /** Default value: gen_random_uuid() */
36
- id?: CandidaciesId;
37
-
38
- /** Default value: 'OPEN'::"CandidacyStatuses" */
39
- status?: CandidacyStatuses | null;
40
-
41
- networkId?: string | null;
42
-
43
- source?: CandidacySources | null;
44
-
45
- personId: PersonsId;
46
-
47
- positionId: PositionsId;
48
-
49
- deletedAt?: Date | null;
50
-
51
- /** Default value: now() */
52
- createdAt?: Date;
53
-
54
- /** Default value: now() */
55
- updatedAt?: Date;
56
- }
57
-
58
- /** Represents the mutator for the table public.candidacies */
59
- export interface CandidaciesMutator {
60
- id?: CandidaciesId;
61
-
62
- status?: CandidacyStatuses | null;
63
-
64
- networkId?: string | null;
65
-
66
- source?: CandidacySources | null;
67
-
68
- personId?: PersonsId;
69
-
70
- positionId?: PositionsId;
71
-
72
- deletedAt?: Date | null;
73
-
74
- createdAt?: Date;
75
-
76
- updatedAt?: Date;
77
- }
@@ -1,55 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- import type { CandidaciesId } from './Candidacies';
5
-
6
- /** Identifier type for public.candidacy_feedback */
7
- export type CandidacyFeedbackId = string;
8
-
9
- /** Represents the table public.candidacy_feedback */
10
- export default interface CandidacyFeedback {
11
- id: CandidacyFeedbackId;
12
-
13
- candidacyId: CandidaciesId;
14
-
15
- content: string;
16
-
17
- createdAt: Date;
18
-
19
- updatedAt: Date;
20
-
21
- deletedAt: Date | null;
22
- }
23
-
24
- /** Represents the initializer for the table public.candidacy_feedback */
25
- export interface CandidacyFeedbackInitializer {
26
- /** Default value: gen_random_uuid() */
27
- id?: CandidacyFeedbackId;
28
-
29
- candidacyId: CandidaciesId;
30
-
31
- content: string;
32
-
33
- /** Default value: now() */
34
- createdAt?: Date;
35
-
36
- /** Default value: now() */
37
- updatedAt?: Date;
38
-
39
- deletedAt?: Date | null;
40
- }
41
-
42
- /** Represents the mutator for the table public.candidacy_feedback */
43
- export interface CandidacyFeedbackMutator {
44
- id?: CandidacyFeedbackId;
45
-
46
- candidacyId?: CandidaciesId;
47
-
48
- content?: string;
49
-
50
- createdAt?: Date;
51
-
52
- updatedAt?: Date;
53
-
54
- deletedAt?: Date | null;
55
- }
@@ -1,12 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Represents the enum public.CandidacyRatingCategories */
5
- type CandidacyRatingCategories =
6
- | 'EXPERIENCE'
7
- | 'INDUSTRY'
8
- | 'SKILL'
9
- | 'CULTURE'
10
- | 'COMPENSATION';
11
-
12
- export default CandidacyRatingCategories;