@the-inkwell/shared 0.1.164 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/index.js +2 -1
  2. package/dist/src/constants.js +276 -0
  3. package/dist/src/schema/admin/actions/index.js +32 -0
  4. package/dist/src/schema/admin/campaigns/index.js +68 -0
  5. package/dist/src/schema/admin/candidacies/index.js +83 -0
  6. package/dist/src/schema/admin/clients/index.js +30 -0
  7. package/dist/src/schema/admin/educations/index.js +23 -0
  8. package/dist/src/schema/admin/experiences/index.js +37 -0
  9. package/dist/src/schema/admin/files/index.js +7 -0
  10. package/dist/src/{types/models → schema}/admin/index.js +18 -1
  11. package/dist/src/schema/admin/jobFunctions/index.js +32 -0
  12. package/dist/src/schema/admin/listViews/index.js +22 -0
  13. package/dist/src/schema/admin/locations/index.js +16 -0
  14. package/dist/src/schema/admin/messages/index.js +51 -0
  15. package/dist/src/schema/admin/notes/index.js +27 -0
  16. package/dist/src/schema/admin/partners/index.js +25 -0
  17. package/dist/src/schema/admin/persons/index.js +194 -0
  18. package/dist/src/schema/admin/personsToBestPersons/index.js +18 -0
  19. package/dist/src/schema/admin/personsToSkills/index.js +18 -0
  20. package/dist/src/schema/admin/personsToTags/index.js +18 -0
  21. package/dist/src/schema/admin/positions/index.js +58 -0
  22. package/dist/src/schema/admin/positionsToSkills/index.js +18 -0
  23. package/dist/src/schema/admin/positionsToTags/index.js +18 -0
  24. package/dist/src/schema/admin/referrals/index.js +64 -0
  25. package/dist/src/schema/admin/referralsToMessages/index.js +55 -0
  26. package/dist/src/schema/admin/senders/index.js +16 -0
  27. package/dist/src/schema/admin/sendgrid/index.js +10 -0
  28. package/dist/src/schema/admin/settings/index.js +21 -0
  29. package/dist/src/schema/admin/skills/index.js +32 -0
  30. package/dist/src/schema/admin/tags/index.js +29 -0
  31. package/dist/src/schema/admin/websiteLandingPages/index.js +16 -0
  32. package/dist/src/schema/admin/websiteStaticPages/index.js +16 -0
  33. package/dist/src/schema/auth/index.js +11 -0
  34. package/dist/src/schema/core.js +1469 -0
  35. package/dist/src/{types/models → schema}/index.js +1 -1
  36. package/dist/src/utils.js +16 -0
  37. package/index.ts +2 -1
  38. package/package.json +9 -2
  39. package/src/constants.ts +299 -0
  40. package/src/schema/admin/actions/index.ts +65 -0
  41. package/src/schema/admin/campaigns/index.ts +111 -0
  42. package/src/schema/admin/candidacies/index.ts +138 -0
  43. package/src/schema/admin/clients/index.ts +65 -0
  44. package/src/schema/admin/dashboard/index.ts +10 -0
  45. package/src/schema/admin/educations/index.ts +71 -0
  46. package/src/schema/admin/experiences/index.ts +87 -0
  47. package/src/schema/admin/files/index.ts +10 -0
  48. package/src/schema/admin/index.ts +29 -0
  49. package/src/schema/admin/jobFunctions/index.ts +79 -0
  50. package/src/schema/admin/listViews/index.ts +58 -0
  51. package/src/schema/admin/locations/index.ts +42 -0
  52. package/src/schema/admin/messages/index.ts +88 -0
  53. package/src/schema/admin/notes/index.ts +56 -0
  54. package/src/schema/admin/partners/index.ts +60 -0
  55. package/src/schema/admin/persons/index.ts +294 -0
  56. package/src/schema/admin/personsToBestPersons/index.ts +67 -0
  57. package/src/schema/admin/personsToSkills/index.ts +61 -0
  58. package/src/schema/admin/personsToTags/index.ts +61 -0
  59. package/src/schema/admin/positions/index.ts +97 -0
  60. package/src/schema/admin/positionsToSkills/index.ts +64 -0
  61. package/src/schema/admin/positionsToTags/index.ts +61 -0
  62. package/src/schema/admin/referrals/index.ts +100 -0
  63. package/src/schema/admin/referralsToMessages/index.ts +121 -0
  64. package/src/schema/admin/senders/index.ts +50 -0
  65. package/src/schema/admin/sendgrid/index.ts +16 -0
  66. package/src/schema/admin/settings/index.ts +34 -0
  67. package/src/schema/admin/skills/index.ts +64 -0
  68. package/src/schema/admin/tags/index.ts +56 -0
  69. package/src/schema/admin/websiteLandingPages/index.ts +69 -0
  70. package/src/schema/admin/websiteStaticPages/index.ts +67 -0
  71. package/src/schema/auth/index.ts +14 -0
  72. package/src/schema/core.ts +1906 -0
  73. package/src/{types/models → schema}/index.ts +1 -1
  74. package/src/utils.ts +41 -0
  75. package/README.md +0 -9
  76. package/dist/src/constants/enums.js +0 -209
  77. package/dist/src/constants/index.js +0 -17
  78. package/dist/src/types/_schema/Action.js +0 -4
  79. package/dist/src/types/_schema/ActionNames.js +0 -4
  80. package/dist/src/types/_schema/Actions.js +0 -4
  81. package/dist/src/types/_schema/Admin.js +0 -4
  82. package/dist/src/types/_schema/Admins.js +0 -4
  83. package/dist/src/types/_schema/Campaign.js +0 -4
  84. package/dist/src/types/_schema/CampaignStatuses.js +0 -4
  85. package/dist/src/types/_schema/CampaignToPosition.js +0 -4
  86. package/dist/src/types/_schema/Campaigns.js +0 -4
  87. package/dist/src/types/_schema/CampaignsToPositions.js +0 -4
  88. package/dist/src/types/_schema/Candidacies.js +0 -4
  89. package/dist/src/types/_schema/Candidacy.js +0 -4
  90. package/dist/src/types/_schema/CandidacyFeedback.js +0 -4
  91. package/dist/src/types/_schema/CandidacyRatingCategories.js +0 -4
  92. package/dist/src/types/_schema/CandidacyRatingReasons.js +0 -4
  93. package/dist/src/types/_schema/CandidacyRatingToTag.js +0 -4
  94. package/dist/src/types/_schema/CandidacyRatings.js +0 -4
  95. package/dist/src/types/_schema/CandidacyRatingsToTags.js +0 -4
  96. package/dist/src/types/_schema/CandidacySources.js +0 -4
  97. package/dist/src/types/_schema/CandidacyStages.js +0 -4
  98. package/dist/src/types/_schema/CandidacyStatuses.js +0 -4
  99. package/dist/src/types/_schema/Certifications.js +0 -4
  100. package/dist/src/types/_schema/Client.js +0 -4
  101. package/dist/src/types/_schema/ClientStages.js +0 -4
  102. package/dist/src/types/_schema/ClientStatuses.js +0 -4
  103. package/dist/src/types/_schema/Clients.js +0 -4
  104. package/dist/src/types/_schema/Clubs.js +0 -4
  105. package/dist/src/types/_schema/Contract.js +0 -4
  106. package/dist/src/types/_schema/Contracts.js +0 -4
  107. package/dist/src/types/_schema/Conversation.js +0 -4
  108. package/dist/src/types/_schema/Conversations.js +0 -4
  109. package/dist/src/types/_schema/EducationDegrees.js +0 -4
  110. package/dist/src/types/_schema/EducationFields.js +0 -4
  111. package/dist/src/types/_schema/Educations.js +0 -4
  112. package/dist/src/types/_schema/EnrichmentSources.js +0 -4
  113. package/dist/src/types/_schema/Enrichments.js +0 -4
  114. package/dist/src/types/_schema/Experiences.js +0 -4
  115. package/dist/src/types/_schema/Genders.js +0 -4
  116. package/dist/src/types/_schema/Industries.js +0 -4
  117. package/dist/src/types/_schema/JobFunctions.js +0 -4
  118. package/dist/src/types/_schema/JobLevels.js +0 -4
  119. package/dist/src/types/_schema/Jwt.js +0 -4
  120. package/dist/src/types/_schema/Jwts.js +0 -4
  121. package/dist/src/types/_schema/ListView.js +0 -4
  122. package/dist/src/types/_schema/ListViewModels.js +0 -4
  123. package/dist/src/types/_schema/ListViews.js +0 -4
  124. package/dist/src/types/_schema/Message.js +0 -4
  125. package/dist/src/types/_schema/MessageChannels.js +0 -4
  126. package/dist/src/types/_schema/MessageTemplate.js +0 -4
  127. package/dist/src/types/_schema/MessageTemplates.js +0 -4
  128. package/dist/src/types/_schema/Messages.js +0 -4
  129. package/dist/src/types/_schema/Networks.js +0 -4
  130. package/dist/src/types/_schema/Note.js +0 -4
  131. package/dist/src/types/_schema/Notes.js +0 -4
  132. package/dist/src/types/_schema/Otp.js +0 -4
  133. package/dist/src/types/_schema/Otps.js +0 -4
  134. package/dist/src/types/_schema/Partners.js +0 -4
  135. package/dist/src/types/_schema/Person.js +0 -4
  136. package/dist/src/types/_schema/PersonCareerLevels.js +0 -4
  137. package/dist/src/types/_schema/PersonClub.js +0 -4
  138. package/dist/src/types/_schema/PersonClubs.js +0 -4
  139. package/dist/src/types/_schema/PersonDegrees.js +0 -4
  140. package/dist/src/types/_schema/PersonEnrichment.js +0 -4
  141. package/dist/src/types/_schema/PersonEnrichments.js +0 -4
  142. package/dist/src/types/_schema/PersonGenders.js +0 -4
  143. package/dist/src/types/_schema/PersonNetwork.js +0 -4
  144. package/dist/src/types/_schema/PersonNetworks.js +0 -4
  145. package/dist/src/types/_schema/PersonSkill.js +0 -4
  146. package/dist/src/types/_schema/PersonSkills.js +0 -4
  147. package/dist/src/types/_schema/PersonSources.js +0 -4
  148. package/dist/src/types/_schema/PersonToBestPerson.js +0 -4
  149. package/dist/src/types/_schema/PersonToPersonClub.js +0 -4
  150. package/dist/src/types/_schema/PersonToPersonNetwork.js +0 -4
  151. package/dist/src/types/_schema/PersonToPersonSkill.js +0 -4
  152. package/dist/src/types/_schema/PersonToTag.js +0 -4
  153. package/dist/src/types/_schema/Persons.js +0 -4
  154. package/dist/src/types/_schema/PersonsToBestPersons.js +0 -4
  155. package/dist/src/types/_schema/PersonsToCertifications.js +0 -4
  156. package/dist/src/types/_schema/PersonsToClubs.js +0 -4
  157. package/dist/src/types/_schema/PersonsToIndustries.js +0 -4
  158. package/dist/src/types/_schema/PersonsToNetworks.js +0 -4
  159. package/dist/src/types/_schema/PersonsToPersonClubs.js +0 -4
  160. package/dist/src/types/_schema/PersonsToPersonNetworks.js +0 -4
  161. package/dist/src/types/_schema/PersonsToPersonSkills.js +0 -4
  162. package/dist/src/types/_schema/PersonsToSkills.js +0 -4
  163. package/dist/src/types/_schema/PersonsToTags.js +0 -4
  164. package/dist/src/types/_schema/Position.js +0 -4
  165. package/dist/src/types/_schema/PositionRatingCategories.js +0 -4
  166. package/dist/src/types/_schema/PositionRatings.js +0 -4
  167. package/dist/src/types/_schema/PositionStages.js +0 -4
  168. package/dist/src/types/_schema/PositionStatuses.js +0 -4
  169. package/dist/src/types/_schema/Positions.js +0 -4
  170. package/dist/src/types/_schema/PositionsToIndustries.js +0 -4
  171. package/dist/src/types/_schema/PositionsToPersonSkills.js +0 -4
  172. package/dist/src/types/_schema/PositionsToSkills.js +0 -4
  173. package/dist/src/types/_schema/PositionsToTags.js +0 -4
  174. package/dist/src/types/_schema/PublicSchema.js +0 -4
  175. package/dist/src/types/_schema/Referral.js +0 -4
  176. package/dist/src/types/_schema/ReferralPayout.js +0 -4
  177. package/dist/src/types/_schema/ReferralPayouts.js +0 -4
  178. package/dist/src/types/_schema/ReferralSources.js +0 -4
  179. package/dist/src/types/_schema/ReferralToIntroMessage.js +0 -4
  180. package/dist/src/types/_schema/Referrals.js +0 -4
  181. package/dist/src/types/_schema/ReferralsToIntroMessages.js +0 -4
  182. package/dist/src/types/_schema/ReferralsToMessages.js +0 -4
  183. package/dist/src/types/_schema/Sender.js +0 -4
  184. package/dist/src/types/_schema/Senders.js +0 -4
  185. package/dist/src/types/_schema/Skills.js +0 -4
  186. package/dist/src/types/_schema/Tag.js +0 -4
  187. package/dist/src/types/_schema/Tags.js +0 -4
  188. package/dist/src/types/_schema/WebsiteBlock.js +0 -4
  189. package/dist/src/types/_schema/WebsiteBlocks.js +0 -4
  190. package/dist/src/types/_schema/WebsiteLandingPage.js +0 -4
  191. package/dist/src/types/_schema/WebsiteLandingPages.js +0 -4
  192. package/dist/src/types/_schema/WebsiteStaticPage.js +0 -4
  193. package/dist/src/types/_schema/WebsiteStaticPages.js +0 -4
  194. package/dist/src/types/admin/index.js +0 -19
  195. package/dist/src/types/admin/persons/index.js +0 -2
  196. package/dist/src/types/admin/website/index.js +0 -2
  197. package/dist/src/types/auth/index.js +0 -2
  198. package/dist/src/types/db.js +0 -6
  199. package/dist/src/types/http/admin/candidacies/index.js +0 -2
  200. package/dist/src/types/http/admin/index.js +0 -19
  201. package/dist/src/types/http/admin/persons/index.js +0 -2
  202. package/dist/src/types/http/admin/website/index.js +0 -2
  203. package/dist/src/types/http/auth/index.js +0 -2
  204. package/dist/src/types/http/index.js +0 -19
  205. package/dist/src/types/http/utils/index.js +0 -2
  206. package/dist/src/types/index.js +0 -18
  207. package/dist/src/types/models/admin/campaigns/index.js +0 -2
  208. package/dist/src/types/models/admin/candidacies/index.js +0 -2
  209. package/dist/src/types/models/admin/clients/index.js +0 -2
  210. package/dist/src/types/models/admin/conversations/index.js +0 -2
  211. package/dist/src/types/models/admin/listViews/index.js +0 -2
  212. package/dist/src/types/models/admin/locations/index.js +0 -2
  213. package/dist/src/types/models/admin/messages/index.js +0 -2
  214. package/dist/src/types/models/admin/partners/index.js +0 -2
  215. package/dist/src/types/models/admin/persons/index.js +0 -2
  216. package/dist/src/types/models/admin/positions/index.js +0 -23
  217. package/dist/src/types/models/admin/referrals/index.js +0 -2
  218. package/dist/src/types/models/admin/settings/index.js +0 -2
  219. package/dist/src/types/models/admin/website/_shared.js +0 -2
  220. package/dist/src/types/models/admin/website/home.js +0 -2
  221. package/dist/src/types/models/admin/website/index.js +0 -18
  222. package/dist/src/types/models/admin/website/shared.js +0 -2
  223. package/dist/src/types/models/auth/index.js +0 -2
  224. package/dist/src/types/schemas/Database.js +0 -4
  225. package/dist/src/types/schemas/index.js +0 -23
  226. package/dist/src/types/schemas/public/Action.js +0 -4
  227. package/dist/src/types/schemas/public/ActionNames.js +0 -4
  228. package/dist/src/types/schemas/public/Admin.js +0 -4
  229. package/dist/src/types/schemas/public/Campaign.js +0 -4
  230. package/dist/src/types/schemas/public/CampaignStatuses.js +0 -4
  231. package/dist/src/types/schemas/public/CampaignToPosition.js +0 -4
  232. package/dist/src/types/schemas/public/Candidacy.js +0 -4
  233. package/dist/src/types/schemas/public/CandidacyFeedback.js +0 -4
  234. package/dist/src/types/schemas/public/CandidacyRatingToTag.js +0 -4
  235. package/dist/src/types/schemas/public/CandidacySources.js +0 -4
  236. package/dist/src/types/schemas/public/CandidacyStatuses.js +0 -4
  237. package/dist/src/types/schemas/public/Client.js +0 -4
  238. package/dist/src/types/schemas/public/ClientStatuses.js +0 -4
  239. package/dist/src/types/schemas/public/Contract.js +0 -4
  240. package/dist/src/types/schemas/public/Conversation.js +0 -4
  241. package/dist/src/types/schemas/public/EnrichmentSources.js +0 -4
  242. package/dist/src/types/schemas/public/Jwt.js +0 -4
  243. package/dist/src/types/schemas/public/ListView.js +0 -4
  244. package/dist/src/types/schemas/public/ListViewModels.js +0 -4
  245. package/dist/src/types/schemas/public/Message.js +0 -4
  246. package/dist/src/types/schemas/public/MessageChannels.js +0 -4
  247. package/dist/src/types/schemas/public/MessageSender.js +0 -4
  248. package/dist/src/types/schemas/public/MessageTemplate.js +0 -4
  249. package/dist/src/types/schemas/public/Note.js +0 -4
  250. package/dist/src/types/schemas/public/Otp.js +0 -4
  251. package/dist/src/types/schemas/public/Person.js +0 -4
  252. package/dist/src/types/schemas/public/PersonCareerLevels.js +0 -4
  253. package/dist/src/types/schemas/public/PersonClub.js +0 -4
  254. package/dist/src/types/schemas/public/PersonDegrees.js +0 -4
  255. package/dist/src/types/schemas/public/PersonEnrichment.js +0 -4
  256. package/dist/src/types/schemas/public/PersonGenders.js +0 -4
  257. package/dist/src/types/schemas/public/PersonNetwork.js +0 -4
  258. package/dist/src/types/schemas/public/PersonSkill.js +0 -4
  259. package/dist/src/types/schemas/public/PersonSources.js +0 -4
  260. package/dist/src/types/schemas/public/PersonToBestPerson.js +0 -4
  261. package/dist/src/types/schemas/public/PersonToPersonClub.js +0 -4
  262. package/dist/src/types/schemas/public/PersonToPersonNetwork.js +0 -4
  263. package/dist/src/types/schemas/public/PersonToPersonSkill.js +0 -4
  264. package/dist/src/types/schemas/public/PersonToTag.js +0 -4
  265. package/dist/src/types/schemas/public/Position.js +0 -4
  266. package/dist/src/types/schemas/public/PositionStatuses.js +0 -4
  267. package/dist/src/types/schemas/public/PrismaMigrations.js +0 -4
  268. package/dist/src/types/schemas/public/PublicSchema.js +0 -4
  269. package/dist/src/types/schemas/public/Referral.js +0 -4
  270. package/dist/src/types/schemas/public/ReferralPayout.js +0 -4
  271. package/dist/src/types/schemas/public/ReferralSources.js +0 -4
  272. package/dist/src/types/schemas/public/ReferralToIntroMessage.js +0 -4
  273. package/dist/src/types/schemas/public/Sender.js +0 -4
  274. package/dist/src/types/schemas/public/Tag.js +0 -4
  275. package/dist/src/types/schemas/public/WebsiteBlock.js +0 -4
  276. package/dist/src/types/schemas/public/WebsiteLandingPage.js +0 -4
  277. package/dist/src/types/schemas/public/WebsiteStaticPage.js +0 -4
  278. package/dist/src/types/shared/index.js +0 -2
  279. package/dist/src/types/utils/index.js +0 -2
  280. package/dist/types/admin/index.js +0 -17
  281. package/dist/types/admin/website/index.js +0 -2
  282. package/dist/types/index.js +0 -17
  283. package/src/constants/enums.ts +0 -251
  284. package/src/constants/index.ts +0 -1
  285. package/src/types/_schema/ActionNames.ts +0 -11
  286. package/src/types/_schema/Actions.ts +0 -104
  287. package/src/types/_schema/Admins.ts +0 -49
  288. package/src/types/_schema/CampaignStatuses.ts +0 -10
  289. package/src/types/_schema/Campaigns.ts +0 -76
  290. package/src/types/_schema/CampaignsToPositions.ts +0 -33
  291. package/src/types/_schema/Candidacies.ts +0 -77
  292. package/src/types/_schema/CandidacyFeedback.ts +0 -55
  293. package/src/types/_schema/CandidacyRatingCategories.ts +0 -12
  294. package/src/types/_schema/CandidacyRatings.ts +0 -42
  295. package/src/types/_schema/CandidacySources.ts +0 -11
  296. package/src/types/_schema/CandidacyStages.ts +0 -14
  297. package/src/types/_schema/CandidacyStatuses.ts +0 -9
  298. package/src/types/_schema/Certifications.ts +0 -59
  299. package/src/types/_schema/ClientStages.ts +0 -12
  300. package/src/types/_schema/ClientStatuses.ts +0 -9
  301. package/src/types/_schema/Clients.ts +0 -69
  302. package/src/types/_schema/Contracts.ts +0 -68
  303. package/src/types/_schema/EducationDegrees.ts +0 -12
  304. package/src/types/_schema/EducationFields.ts +0 -18
  305. package/src/types/_schema/Educations.ts +0 -55
  306. package/src/types/_schema/EnrichmentSources.ts +0 -8
  307. package/src/types/_schema/Enrichments.ts +0 -68
  308. package/src/types/_schema/Experiences.ts +0 -87
  309. package/src/types/_schema/Genders.ts +0 -11
  310. package/src/types/_schema/Industries.ts +0 -53
  311. package/src/types/_schema/JobFunctions.ts +0 -53
  312. package/src/types/_schema/JobLevels.ts +0 -13
  313. package/src/types/_schema/Jwts.ts +0 -61
  314. package/src/types/_schema/ListViewModels.ts +0 -11
  315. package/src/types/_schema/ListViews.ts +0 -74
  316. package/src/types/_schema/MessageChannels.ts +0 -9
  317. package/src/types/_schema/MessageTemplates.ts +0 -53
  318. package/src/types/_schema/Messages.ts +0 -109
  319. package/src/types/_schema/Networks.ts +0 -59
  320. package/src/types/_schema/Notes.ts +0 -76
  321. package/src/types/_schema/Otps.ts +0 -67
  322. package/src/types/_schema/Partners.ts +0 -65
  323. package/src/types/_schema/PersonSources.ts +0 -11
  324. package/src/types/_schema/Persons.ts +0 -237
  325. package/src/types/_schema/PersonsToBestPersons.ts +0 -32
  326. package/src/types/_schema/PersonsToCertifications.ts +0 -26
  327. package/src/types/_schema/PersonsToNetworks.ts +0 -33
  328. package/src/types/_schema/PersonsToSkills.ts +0 -33
  329. package/src/types/_schema/PersonsToTags.ts +0 -33
  330. package/src/types/_schema/PositionRatingCategories.ts +0 -9
  331. package/src/types/_schema/PositionRatings.ts +0 -42
  332. package/src/types/_schema/PositionStages.ts +0 -12
  333. package/src/types/_schema/PositionStatuses.ts +0 -9
  334. package/src/types/_schema/Positions.ts +0 -119
  335. package/src/types/_schema/PositionsToIndustries.ts +0 -33
  336. package/src/types/_schema/PositionsToSkills.ts +0 -33
  337. package/src/types/_schema/PositionsToTags.ts +0 -33
  338. package/src/types/_schema/ReferralPayouts.ts +0 -29
  339. package/src/types/_schema/ReferralSources.ts +0 -11
  340. package/src/types/_schema/Referrals.ts +0 -83
  341. package/src/types/_schema/ReferralsToMessages.ts +0 -40
  342. package/src/types/_schema/Senders.ts +0 -65
  343. package/src/types/_schema/Skills.ts +0 -53
  344. package/src/types/_schema/Tags.ts +0 -53
  345. package/src/types/_schema/WebsiteBlocks.ts +0 -45
  346. package/src/types/_schema/WebsiteLandingPages.ts +0 -47
  347. package/src/types/_schema/WebsiteStaticPages.ts +0 -53
  348. package/src/types/index.ts +0 -2
  349. package/src/types/models/admin/campaigns/index.ts +0 -28
  350. package/src/types/models/admin/candidacies/index.ts +0 -69
  351. package/src/types/models/admin/clients/index.ts +0 -49
  352. package/src/types/models/admin/index.ts +0 -12
  353. package/src/types/models/admin/listViews/index.ts +0 -48
  354. package/src/types/models/admin/locations/index.ts +0 -28
  355. package/src/types/models/admin/messages/index.ts +0 -14
  356. package/src/types/models/admin/partners/index.ts +0 -36
  357. package/src/types/models/admin/persons/index.ts +0 -90
  358. package/src/types/models/admin/positions/index.ts +0 -72
  359. package/src/types/models/admin/referrals/index.ts +0 -67
  360. package/src/types/models/admin/settings/index.ts +0 -24
  361. package/src/types/models/admin/website/home.ts +0 -42
  362. package/src/types/models/admin/website/index.ts +0 -2
  363. package/src/types/models/admin/website/shared.ts +0 -40
  364. package/src/types/models/auth/index.ts +0 -6
  365. package/src/types/utils/index.ts +0 -15
  366. /package/dist/src/{types/admin/candidacies → schema/admin/dashboard}/index.js +0 -0
@@ -1,45 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.website_blocks */
5
- export type WebsiteBlocksId = string;
6
-
7
- /** Represents the table public.website_blocks */
8
- export default interface WebsiteBlocks {
9
- id: WebsiteBlocksId;
10
-
11
- slug: string;
12
-
13
- name: string;
14
-
15
- content: string;
16
-
17
- contentType: string;
18
- }
19
-
20
- /** Represents the initializer for the table public.website_blocks */
21
- export interface WebsiteBlocksInitializer {
22
- /** Default value: gen_random_uuid() */
23
- id?: WebsiteBlocksId;
24
-
25
- slug: string;
26
-
27
- name: string;
28
-
29
- content: string;
30
-
31
- contentType: string;
32
- }
33
-
34
- /** Represents the mutator for the table public.website_blocks */
35
- export interface WebsiteBlocksMutator {
36
- id?: WebsiteBlocksId;
37
-
38
- slug?: string;
39
-
40
- name?: string;
41
-
42
- content?: string;
43
-
44
- contentType?: string;
45
- }
@@ -1,47 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.website_landing_pages */
5
- export type WebsiteLandingPagesId = string;
6
-
7
- /** Represents the table public.website_landing_pages */
8
- export default interface WebsiteLandingPages {
9
- id: WebsiteLandingPagesId;
10
-
11
- slug: string;
12
-
13
- name: string;
14
-
15
- content: unknown;
16
-
17
- meta: unknown;
18
- }
19
-
20
- /** Represents the initializer for the table public.website_landing_pages */
21
- export interface WebsiteLandingPagesInitializer {
22
- /** Default value: gen_random_uuid() */
23
- id?: WebsiteLandingPagesId;
24
-
25
- slug: string;
26
-
27
- name: string;
28
-
29
- /** Default value: '{}'::jsonb */
30
- content?: unknown;
31
-
32
- /** Default value: '{}'::jsonb */
33
- meta?: unknown;
34
- }
35
-
36
- /** Represents the mutator for the table public.website_landing_pages */
37
- export interface WebsiteLandingPagesMutator {
38
- id?: WebsiteLandingPagesId;
39
-
40
- slug?: string;
41
-
42
- name?: string;
43
-
44
- content?: unknown;
45
-
46
- meta?: unknown;
47
- }
@@ -1,53 +0,0 @@
1
- // @generated
2
- // This file is automatically generated by Kanel. Do not modify manually.
3
-
4
- /** Identifier type for public.website_static_pages */
5
- export type WebsiteStaticPagesId = string;
6
-
7
- /** Represents the table public.website_static_pages */
8
- export default interface WebsiteStaticPages {
9
- id: WebsiteStaticPagesId;
10
-
11
- slug: string;
12
-
13
- name: string;
14
-
15
- path: string;
16
-
17
- content: unknown;
18
-
19
- meta: unknown;
20
- }
21
-
22
- /** Represents the initializer for the table public.website_static_pages */
23
- export interface WebsiteStaticPagesInitializer {
24
- /** Default value: gen_random_uuid() */
25
- id?: WebsiteStaticPagesId;
26
-
27
- slug: string;
28
-
29
- name: string;
30
-
31
- path: string;
32
-
33
- /** Default value: '{}'::jsonb */
34
- content?: unknown;
35
-
36
- /** Default value: '{}'::jsonb */
37
- meta?: unknown;
38
- }
39
-
40
- /** Represents the mutator for the table public.website_static_pages */
41
- export interface WebsiteStaticPagesMutator {
42
- id?: WebsiteStaticPagesId;
43
-
44
- slug?: string;
45
-
46
- name?: string;
47
-
48
- path?: string;
49
-
50
- content?: unknown;
51
-
52
- meta?: unknown;
53
- }
@@ -1,2 +0,0 @@
1
- export * from './models'
2
- export * from './utils'
@@ -1,28 +0,0 @@
1
- import Campaigns, {
2
- CampaignsInitializer,
3
- CampaignsMutator
4
- } from '../../../_schema/Campaigns'
5
- import { type ListRequest, type ListResponse } from '../../../utils'
6
-
7
- export type AdminCampaign = Campaigns
8
- export type AdminCampaignInitializer = CampaignsInitializer
9
- export type AdminCampaignMutator = CampaignsMutator
10
-
11
- // detail
12
-
13
- export type AdminCampaignParams = Pick<AdminCampaign, 'id'>
14
- export type AdminCampaignResponse = AdminCampaign
15
-
16
- // list
17
-
18
- export type AdminCampaignListInput = ListRequest
19
- export type AdminCampaignListResponse = ListResponse<AdminCampaign>
20
-
21
- // create
22
-
23
- export type AdminCampaignCreateInput = Pick<AdminCampaignInitializer, 'name'>
24
- export type AdminCampaignCreateResponse = Pick<AdminCampaignInitializer, 'id'>
25
-
26
- // delete
27
-
28
- export type AdminCampaignDeleteParams = Pick<AdminCampaign, 'id'>
@@ -1,69 +0,0 @@
1
- import type Actions from '../../../_schema/Actions'
2
- import type Candidacies from '../../../_schema/Candidacies'
3
- import {
4
- CandidaciesInitializer,
5
- CandidaciesMutator
6
- } from '../../../_schema/Candidacies'
7
- import type CandidacyFeedback from '../../../_schema/CandidacyFeedback'
8
- import Clients from '../../../_schema/Clients'
9
- import type Notes from '../../../_schema/Notes'
10
- import Positions from '../../../_schema/Positions'
11
- import type Referrals from '../../../_schema/Referrals'
12
- import type Tags from '../../../_schema/Tags'
13
- import { type ListRequest, type ListResponse } from '../../../utils'
14
- import { AdminPerson } from '../persons'
15
-
16
- export type AdminCandidacy = Candidacies & {
17
- referral?:
18
- | (Pick<Referrals, 'id'> & {
19
- referrer: Pick<
20
- AdminPerson,
21
- 'id' | 'firstName' | 'lastName' | 'photoUrl' | 'email' | '_fullName'
22
- >
23
- })
24
- | null
25
- person: Pick<
26
- AdminPerson,
27
- 'id' | 'firstName' | 'lastName' | 'photoUrl' | 'email' | '_fullName'
28
- >
29
- position: Pick<Positions, 'id' | 'name'> & {
30
- client: Pick<Clients, 'id' | 'name'>
31
- }
32
- ratingTags?: {
33
- tag: Pick<Tags, 'id' | 'name'>[]
34
- }[]
35
- actions?: Pick<Actions, 'id' | 'name'>[]
36
- candidacyFeedbacks?: Pick<CandidacyFeedback, 'id' | 'content'>[]
37
- notes?: Pick<Notes, 'id' | 'content'>[]
38
- }
39
- export type AdminCandidacyInitializer = CandidaciesInitializer
40
- export type AdminCandidacyMutator = CandidaciesMutator
41
-
42
- // detail
43
-
44
- export type AdminCandidacyParams = Pick<AdminCandidacy, 'id'>
45
- export type AdminCandidacyResponse = AdminCandidacy
46
-
47
- // list
48
-
49
- export type AdminCandidacyListInput = ListRequest
50
- export type AdminCandidacyListResponse = ListResponse<AdminCandidacy>
51
-
52
- // create
53
-
54
- export type AdminCandidacyCreateInput = Pick<
55
- AdminCandidacyInitializer,
56
- 'personId' | 'positionId'
57
- >
58
- export type AdminCandidacyCreateResponse = Pick<AdminCandidacy, 'id'>
59
-
60
- // update
61
-
62
- export type AdminCandidacyUpdateInput = Pick<
63
- AdminCandidacyMutator,
64
- 'status' | 'source'
65
- >
66
-
67
- // delete
68
-
69
- export type AdminCandidacyDeleteParams = Pick<AdminCandidacy, 'id'>
@@ -1,49 +0,0 @@
1
- import { ListRequest, ListResponse } from '../../../utils'
2
- import Clients, {
3
- ClientsInitializer,
4
- ClientsMutator
5
- } from '../../../_schema/Clients'
6
- import ClientStatuses from '../../../_schema/ClientStatuses'
7
-
8
- export type AdminClient = Clients
9
- type AdminClientInitializer = ClientsInitializer
10
- type AdminClientMutator = ClientsMutator
11
-
12
- // detail
13
-
14
- export type AdminClientParams = Pick<AdminClient, 'id'>
15
- export type AdminClientResponse = AdminClient
16
-
17
- // list
18
-
19
- export type AdminClientListInput = ListRequest<
20
- unknown,
21
- {
22
- isLead?: boolean
23
- status?: ClientStatuses[]
24
- }
25
- >
26
- export type AdminClientListResponse = ListResponse<
27
- AdminClient & {
28
- _openPositionsCount: number
29
- }
30
- >
31
-
32
- // create
33
-
34
- export type AdminClientCreateInput = Pick<
35
- AdminClientInitializer,
36
- 'name' | 'description' | 'status'
37
- >
38
- export type AdminClientCreateResponse = Pick<AdminClient, 'id'>
39
-
40
- // update
41
-
42
- export type AdminClientUpdateInput = Pick<
43
- AdminClientMutator,
44
- 'name' | 'description'
45
- >
46
-
47
- // delete
48
-
49
- export type AdminClientDeleteParams = Pick<AdminClient, 'id'>
@@ -1,12 +0,0 @@
1
- export * from './campaigns'
2
- export * from './candidacies'
3
- export * from './clients'
4
- export * from './listViews'
5
- export * from './locations'
6
- export * from './messages'
7
- export * from './partners'
8
- export * from './persons'
9
- export * from './positions'
10
- export * from './referrals'
11
- export * from './settings'
12
- export * from './website'
@@ -1,48 +0,0 @@
1
- import ListViewModels from '../../../_schema/ListViewModels'
2
- import ListViews, {
3
- ListViewsInitializer,
4
- ListViewsMutator
5
- } from '../../../_schema/ListViews'
6
- import { type ListRequest, type ListResponse } from '../../../utils'
7
-
8
- export type AdminListView = ListViews & {
9
- query: Record<string, any>
10
- }
11
- export type AdminListViewInitializer = ListViewsInitializer
12
- export type AdminListViewMutator = ListViewsMutator
13
-
14
- // detail
15
-
16
- export type AdminListViewParams = Pick<AdminListView, 'id'>
17
- export type AdminListViewResponse = AdminListView
18
-
19
- // list
20
-
21
- export type AdminListViewListInput = ListRequest<
22
- unknown,
23
- {
24
- model: ListViewModels
25
- }
26
- >
27
- export type AdminListViewListResponse = ListResponse<AdminListView>
28
-
29
- // create
30
-
31
- export type AdminListViewCreateInput = Pick<
32
- AdminListViewInitializer,
33
- 'model' | 'name'
34
- > & {
35
- query: Record<string, any>
36
- }
37
- export type AdminListViewCreateResponse = Pick<AdminListView, 'id'>
38
-
39
- // update
40
-
41
- export type AdminListViewUpdateInput = Pick<
42
- AdminListViewMutator,
43
- 'name' | 'query'
44
- >
45
-
46
- // delete
47
-
48
- export type AdminListViewDeleteParams = Pick<AdminListView, 'id'>
@@ -1,28 +0,0 @@
1
- export type AdminLocationGeocodeInput = {
2
- address?: string
3
- placeId?: string
4
- }
5
-
6
- export type AdminLocationGeocodeResponse = {
7
- lat: number
8
- lon: number
9
- }
10
-
11
- export type AdminLocationReverseGeocodeInput = {
12
- lat: number
13
- lon: number
14
- }
15
-
16
- export type AdminLocationReverseGeocodeResponse = {
17
- address: string
18
- placeId: string
19
- }
20
-
21
- export type AdminLocationAutocompleteInput = {
22
- address: string
23
- }
24
-
25
- export type AdminLocationAutocompleteResponse = {
26
- placeId: string
27
- description: string
28
- }[]
@@ -1,14 +0,0 @@
1
- import Messages from '../../../_schema/Messages'
2
- import { type ListRequest, type ListResponse } from '../../../utils'
3
-
4
- export type AdminMessage = Messages
5
-
6
- // detail
7
-
8
- export type AdminMessageParams = Pick<AdminMessage, 'id'>
9
- export type AdminMessageResponse = AdminMessage
10
-
11
- // list
12
-
13
- export type AdminMessageListInput = ListRequest
14
- export type AdminMessageListResponse = ListResponse<AdminMessage>
@@ -1,36 +0,0 @@
1
- import { ListRequest, ListResponse } from '../../../utils'
2
- import Partners, {
3
- PartnersInitializer,
4
- PartnersMutator
5
- } from '../../../_schema/Partners'
6
-
7
- export type AdminPartner = Partners
8
- type AdminPartnerInitializer = PartnersInitializer
9
- type AdminPartnerMutator = PartnersMutator
10
-
11
- // detail
12
-
13
- export type AdminPartnerParams = Pick<AdminPartner, 'id'>
14
- export type AdminPartnerResponse = AdminPartner
15
-
16
- // list
17
-
18
- export type AdminPartnerListInput = ListRequest
19
- export type AdminPartnerListResponse = ListResponse<
20
- AdminPartner & {
21
- _networksCount: number
22
- }
23
- >
24
-
25
- // create
26
-
27
- export type AdminPartnerCreateInput = Pick<AdminPartnerInitializer, 'name'>
28
- export type AdminPartnerCreateResponse = Pick<AdminPartner, 'id'>
29
-
30
- // update
31
-
32
- export type AdminPartnerUpdateInput = Pick<AdminPartnerMutator, 'name'>
33
-
34
- // delete
35
-
36
- export type AdminPartnerDeleteParams = Pick<AdminPartner, 'id'>
@@ -1,90 +0,0 @@
1
- import type Persons from '../../../_schema/Persons'
2
- import type {
3
- PersonsMutator,
4
- PersonsInitializer
5
- } from '../../../_schema/Persons'
6
- import { type ListRequest, type ListResponse } from '../../../utils'
7
-
8
- type AdminPersonInitializer = PersonsInitializer
9
- type AdminPersonMutator = PersonsMutator
10
- export type AdminPerson = Persons & {
11
- _fullName: string | null
12
- }
13
-
14
- // detail
15
-
16
- export type AdminPersonParams = Pick<AdminPerson, 'id'>
17
- export type AdminPersonResponse = AdminPerson
18
-
19
- // list
20
-
21
- export type AdminPersonListInput = ListRequest
22
- export type AdminPersonListResponse = ListResponse<
23
- Pick<
24
- AdminPerson,
25
- | 'id'
26
- | 'firstName'
27
- | 'lastName'
28
- | 'email'
29
- | 'linkedInUrl'
30
- | 'photoUrl'
31
- | 'createdAt'
32
- | 'updatedAt'
33
- | 'deletedAt'
34
- | 'source'
35
- | '_fullName'
36
- > & {
37
- _referralsCount: number
38
- _referredIndustries: any
39
- _referredLocations: any
40
- _referredSkills: any
41
- }
42
- >
43
-
44
- // create
45
-
46
- export type AdminPersonCreateInput = Pick<
47
- AdminPersonInitializer,
48
- 'firstName' | 'lastName' | 'email' | 'phone' | 'linkedInUrl' | 'photoUrl'
49
- >
50
- export type AdminPersonCreateResponse = Pick<AdminPerson, 'id'>
51
-
52
- // update
53
-
54
- export type AdminPersonUpdateInput = Pick<
55
- AdminPersonMutator,
56
- 'firstName' | 'lastName' | 'email' | 'phone' | 'linkedInUrl' | 'photoUrl'
57
- >
58
- export type AdminPersonUpdateParams = Pick<AdminPerson, 'id'>
59
- export type AdminPersonUpdateResponse =
60
- | Pick<AdminPerson, 'id'>
61
- | { error: string }
62
-
63
- // delete
64
-
65
- export type AdminPersonDeleteParams = Pick<AdminPerson, 'id'>
66
-
67
- // resume upload and parsing
68
- export type AdminPersonResumeUploadResponse = { resumeUrl: string }
69
-
70
- export type AdminPersonResumeParsingResponse = {
71
- data: {
72
- firstName: string | null
73
- lastName: string | null
74
- email: string | null
75
- phone: string | null
76
- linkedInUrl: string | null
77
- city: string | null
78
- state: string | null
79
- country: string | null
80
- postalCode: string | null
81
- website: string | null
82
- gender: string | null
83
- dateOfBirth: string | null
84
- currentJobTitle: string | null
85
- yearsOfExperience: number | null
86
- skills: string[] | null
87
- certifications: string[] | null
88
- industry: string | null
89
- }
90
- }
@@ -1,72 +0,0 @@
1
- import Positions, {
2
- PositionsInitializer,
3
- PositionsMutator
4
- } from '../../../_schema/Positions'
5
- import Clients from '../../../_schema/Clients'
6
- import { ListRequest, ListResponse } from '../../../utils'
7
- import PositionStatuses from '../../../_schema/PositionStatuses'
8
-
9
- export type AdminPosition = Positions
10
- type AdminPositionInitializer = PositionsInitializer
11
- type AdminPositionMutator = PositionsMutator
12
-
13
- // detail
14
-
15
- export type AdminPositionParams = Pick<AdminPosition, 'id'>
16
- export type AdminPositionResponse = AdminPosition
17
-
18
- // list
19
-
20
- export type AdminPositionListInput = ListRequest<
21
- unknown,
22
- {
23
- status?: PositionStatuses[]
24
- }
25
- >
26
- export type AdminPositionListResponse = ListResponse<
27
- AdminPosition & {
28
- client: Pick<Clients, 'id' | 'name'> | null
29
- _referralsCount: number
30
- _openCandidaciesCount: number
31
- }
32
- >
33
-
34
- // create
35
-
36
- export type AdminPositionCreateInput = Pick<
37
- AdminPositionInitializer,
38
- 'name' | 'status' | 'isHidden' | 'clientId'
39
- >
40
- export type AdminPositionCreateResponse = Pick<AdminPosition, 'id'>
41
-
42
- // update
43
- export type AdminPositionUpdateInput = Pick<
44
- AdminPositionMutator,
45
- 'name' | 'status' | 'isHidden'
46
- >
47
-
48
- // delete
49
-
50
- export type AdminPositionDeleteParams = Pick<AdminPosition, 'id'>
51
-
52
- /*
53
- export default interface Positions {
54
- id: PositionsId;
55
-
56
- urlId: number;
57
-
58
- name: string;
59
-
60
- status: PositionStatuses | null;
61
-
62
- isHidden: boolean;
63
-
64
- clientId: ClientsId;
65
-
66
- createdAt: Date;
67
-
68
- updatedAt: Date;
69
-
70
- deletedAt: Date | null;
71
- }
72
- */
@@ -1,67 +0,0 @@
1
- import Referrals, {
2
- ReferralsInitializer,
3
- ReferralsMutator
4
- } from '../../../_schema/Referrals'
5
- import { ListRequest, ListResponse } from '../../../utils'
6
- import Candidacy from '../../../_schema/Candidacies'
7
- import Campaign from '../../../_schema/Campaigns'
8
- import Position from '../../../_schema/Positions'
9
- import Client from '../../../_schema/Clients'
10
- import { AdminPerson } from '../persons'
11
-
12
- export type AdminReferral = Referrals
13
- type AdminPersonInitializer = ReferralsInitializer
14
- type AdminReferralMutator = ReferralsMutator
15
-
16
- // detail
17
-
18
- export type AdminReferralParams = Pick<AdminReferral, 'id'>
19
- export type AdminReferralResponse = AdminReferral & {
20
- candidacy: Pick<Candidacy, 'id' | 'status'> & {
21
- person: Pick<
22
- AdminPerson,
23
- 'id' | 'firstName' | 'lastName' | 'photoUrl' | 'email' | '_fullName'
24
- >
25
- }
26
- }
27
-
28
- // list
29
-
30
- export type AdminReferralListInput = ListRequest
31
- export type AdminReferralListResponse = ListResponse<
32
- AdminReferral & {
33
- referrer: Pick<
34
- AdminPerson,
35
- 'id' | 'firstName' | 'lastName' | 'photoUrl' | 'email' | '_fullName'
36
- >
37
- candidacy: Pick<Candidacy, 'id' | 'status'> & {
38
- person: Pick<
39
- AdminPerson,
40
- 'id' | 'firstName' | 'lastName' | 'photoUrl' | 'email' | '_fullName'
41
- >
42
- }
43
- campaign?: Pick<Campaign, 'id' | 'name'>
44
- position: Pick<Position, 'id' | 'name'> & {
45
- client: Pick<Client, 'id' | 'name'>
46
- }
47
- }
48
- >
49
-
50
- // create
51
-
52
- export type AdminReferralCreateInput = Pick<
53
- AdminPersonInitializer,
54
- 'source' | 'referrerId' | 'candidacyId' | 'campaignId' | 'positionId'
55
- >
56
- export type AdminReferralCreateResponse = Pick<AdminReferral, 'id'>
57
-
58
- // update
59
-
60
- export type AdminReferralUpdateInput = Pick<
61
- AdminReferralMutator,
62
- 'source' | 'referrerId' | 'candidacyId' | 'campaignId' | 'positionId'
63
- >
64
-
65
- // delete
66
-
67
- export type AdminReferralDeleteParams = Pick<AdminReferral, 'id'>