@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.
- package/package.json +9 -4
- package/src/constants.d.ts +770 -0
- package/src/constants.d.ts.map +1 -0
- package/src/constants.js +277 -0
- package/src/constants.js.map +1 -0
- package/src/constants.ts +299 -0
- package/src/index.d.ts +4 -0
- package/src/index.d.ts.map +1 -0
- package/{dist/src/types → src}/index.js +3 -1
- package/src/index.js.map +1 -0
- package/src/index.ts +3 -0
- package/src/schema/admin/actions/index.d.ts +797 -0
- package/src/schema/admin/actions/index.d.ts.map +1 -0
- package/src/schema/admin/actions/index.js +33 -0
- package/src/schema/admin/actions/index.js.map +1 -0
- package/src/schema/admin/actions/index.ts +65 -0
- package/src/schema/admin/campaigns/index.d.ts +491 -0
- package/src/schema/admin/campaigns/index.d.ts.map +1 -0
- package/src/schema/admin/campaigns/index.js +69 -0
- package/src/schema/admin/campaigns/index.js.map +1 -0
- package/src/schema/admin/campaigns/index.ts +111 -0
- package/src/schema/admin/candidacies/index.d.ts +766 -0
- package/src/schema/admin/candidacies/index.d.ts.map +1 -0
- package/src/schema/admin/candidacies/index.js +84 -0
- package/src/schema/admin/candidacies/index.js.map +1 -0
- package/src/schema/admin/candidacies/index.ts +138 -0
- package/src/schema/admin/clients/index.d.ts +340 -0
- package/src/schema/admin/clients/index.d.ts.map +1 -0
- package/src/schema/admin/clients/index.js +31 -0
- package/src/schema/admin/clients/index.js.map +1 -0
- package/src/schema/admin/clients/index.ts +65 -0
- package/src/schema/admin/dashboard/index.d.ts +11 -0
- package/src/schema/admin/dashboard/index.d.ts.map +1 -0
- package/{dist/src/types/admin/candidacies → src/schema/admin/dashboard}/index.js +1 -0
- package/src/schema/admin/dashboard/index.js.map +1 -0
- package/src/schema/admin/dashboard/index.ts +10 -0
- package/src/schema/admin/educations/index.d.ts +361 -0
- package/src/schema/admin/educations/index.d.ts.map +1 -0
- package/src/schema/admin/educations/index.js +24 -0
- package/src/schema/admin/educations/index.js.map +1 -0
- package/src/schema/admin/educations/index.ts +71 -0
- package/src/schema/admin/experiences/index.d.ts +467 -0
- package/src/schema/admin/experiences/index.d.ts.map +1 -0
- package/src/schema/admin/experiences/index.js +38 -0
- package/src/schema/admin/experiences/index.js.map +1 -0
- package/src/schema/admin/experiences/index.ts +87 -0
- package/src/schema/admin/files/index.d.ts +9 -0
- package/src/schema/admin/files/index.d.ts.map +1 -0
- package/src/schema/admin/files/index.js +8 -0
- package/src/schema/admin/files/index.js.map +1 -0
- package/src/schema/admin/files/index.ts +10 -0
- package/src/schema/admin/index.d.ts +30 -0
- package/src/schema/admin/index.d.ts.map +1 -0
- package/{dist/src/types/models → src/schema}/admin/index.js +19 -1
- package/src/schema/admin/index.js.map +1 -0
- package/src/schema/admin/index.ts +29 -0
- package/src/schema/admin/jobFunctions/index.d.ts +363 -0
- package/src/schema/admin/jobFunctions/index.d.ts.map +1 -0
- package/src/schema/admin/jobFunctions/index.js +33 -0
- package/src/schema/admin/jobFunctions/index.js.map +1 -0
- package/src/schema/admin/jobFunctions/index.ts +79 -0
- package/src/schema/admin/listViews/index.d.ts +576 -0
- package/src/schema/admin/listViews/index.d.ts.map +1 -0
- package/src/schema/admin/listViews/index.js +23 -0
- package/src/schema/admin/listViews/index.js.map +1 -0
- package/src/schema/admin/listViews/index.ts +58 -0
- package/src/schema/admin/locations/index.d.ts +28 -0
- package/src/schema/admin/locations/index.d.ts.map +1 -0
- package/src/schema/admin/locations/index.js +17 -0
- package/src/schema/admin/locations/index.js.map +1 -0
- package/src/schema/admin/locations/index.ts +42 -0
- package/src/schema/admin/messages/index.d.ts +801 -0
- package/src/schema/admin/messages/index.d.ts.map +1 -0
- package/src/schema/admin/messages/index.js +52 -0
- package/src/schema/admin/messages/index.js.map +1 -0
- package/src/schema/admin/messages/index.ts +88 -0
- package/src/schema/admin/notes/index.d.ts +559 -0
- package/src/schema/admin/notes/index.d.ts.map +1 -0
- package/src/schema/admin/notes/index.js +28 -0
- package/src/schema/admin/notes/index.js.map +1 -0
- package/src/schema/admin/notes/index.ts +56 -0
- package/src/schema/admin/partners/index.d.ts +335 -0
- package/src/schema/admin/partners/index.d.ts.map +1 -0
- package/src/schema/admin/partners/index.js +26 -0
- package/src/schema/admin/partners/index.js.map +1 -0
- package/src/schema/admin/partners/index.ts +60 -0
- package/src/schema/admin/persons/index.d.ts +890 -0
- package/src/schema/admin/persons/index.d.ts.map +1 -0
- package/src/schema/admin/persons/index.js +195 -0
- package/src/schema/admin/persons/index.js.map +1 -0
- package/src/schema/admin/persons/index.ts +294 -0
- package/src/schema/admin/personsToBestPersons/index.d.ts +199 -0
- package/src/schema/admin/personsToBestPersons/index.d.ts.map +1 -0
- package/src/schema/admin/personsToBestPersons/index.js +19 -0
- package/src/schema/admin/personsToBestPersons/index.js.map +1 -0
- package/src/schema/admin/personsToBestPersons/index.ts +67 -0
- package/src/schema/admin/personsToSkills/index.d.ts +199 -0
- package/src/schema/admin/personsToSkills/index.d.ts.map +1 -0
- package/src/schema/admin/personsToSkills/index.js +19 -0
- package/src/schema/admin/personsToSkills/index.js.map +1 -0
- package/src/schema/admin/personsToSkills/index.ts +61 -0
- package/src/schema/admin/personsToTags/index.d.ts +199 -0
- package/src/schema/admin/personsToTags/index.d.ts.map +1 -0
- package/src/schema/admin/personsToTags/index.js +19 -0
- package/src/schema/admin/personsToTags/index.js.map +1 -0
- package/src/schema/admin/personsToTags/index.ts +61 -0
- package/src/schema/admin/positions/index.d.ts +1329 -0
- package/src/schema/admin/positions/index.d.ts.map +1 -0
- package/src/schema/admin/positions/index.js +59 -0
- package/src/schema/admin/positions/index.js.map +1 -0
- package/src/schema/admin/positions/index.ts +97 -0
- package/src/schema/admin/positionsToSkills/index.d.ts +199 -0
- package/src/schema/admin/positionsToSkills/index.d.ts.map +1 -0
- package/src/schema/admin/positionsToSkills/index.js +19 -0
- package/src/schema/admin/positionsToSkills/index.js.map +1 -0
- package/src/schema/admin/positionsToSkills/index.ts +64 -0
- package/src/schema/admin/positionsToTags/index.d.ts +199 -0
- package/src/schema/admin/positionsToTags/index.d.ts.map +1 -0
- package/src/schema/admin/positionsToTags/index.js +19 -0
- package/src/schema/admin/positionsToTags/index.js.map +1 -0
- package/src/schema/admin/positionsToTags/index.ts +61 -0
- package/src/schema/admin/referrals/index.d.ts +478 -0
- package/src/schema/admin/referrals/index.d.ts.map +1 -0
- package/src/schema/admin/referrals/index.js +65 -0
- package/src/schema/admin/referrals/index.js.map +1 -0
- package/src/schema/admin/referrals/index.ts +100 -0
- package/src/schema/admin/referralsToMessages/index.d.ts +244 -0
- package/src/schema/admin/referralsToMessages/index.d.ts.map +1 -0
- package/src/schema/admin/referralsToMessages/index.js +56 -0
- package/src/schema/admin/referralsToMessages/index.js.map +1 -0
- package/src/schema/admin/referralsToMessages/index.ts +121 -0
- package/src/schema/admin/senders/index.d.ts +452 -0
- package/src/schema/admin/senders/index.d.ts.map +1 -0
- package/src/schema/admin/senders/index.js +17 -0
- package/src/schema/admin/senders/index.js.map +1 -0
- package/src/schema/admin/senders/index.ts +50 -0
- package/src/schema/admin/sendgrid/index.d.ts +10 -0
- package/src/schema/admin/sendgrid/index.d.ts.map +1 -0
- package/src/schema/admin/sendgrid/index.js +11 -0
- package/src/schema/admin/sendgrid/index.js.map +1 -0
- package/src/schema/admin/sendgrid/index.ts +16 -0
- package/src/schema/admin/settings/index.d.ts +31 -0
- package/src/schema/admin/settings/index.d.ts.map +1 -0
- package/src/schema/admin/settings/index.js +22 -0
- package/src/schema/admin/settings/index.js.map +1 -0
- package/src/schema/admin/settings/index.ts +34 -0
- package/src/schema/admin/skills/index.d.ts +363 -0
- package/src/schema/admin/skills/index.d.ts.map +1 -0
- package/src/schema/admin/skills/index.js +33 -0
- package/src/schema/admin/skills/index.js.map +1 -0
- package/src/schema/admin/skills/index.ts +64 -0
- package/src/schema/admin/tags/index.d.ts +356 -0
- package/src/schema/admin/tags/index.d.ts.map +1 -0
- package/src/schema/admin/tags/index.js +30 -0
- package/src/schema/admin/tags/index.js.map +1 -0
- package/src/schema/admin/tags/index.ts +56 -0
- package/src/schema/admin/websiteLandingPages/index.d.ts +563 -0
- package/src/schema/admin/websiteLandingPages/index.d.ts.map +1 -0
- package/src/schema/admin/websiteLandingPages/index.js +17 -0
- package/src/schema/admin/websiteLandingPages/index.js.map +1 -0
- package/src/schema/admin/websiteLandingPages/index.ts +69 -0
- package/src/schema/admin/websiteStaticPages/index.d.ts +386 -0
- package/src/schema/admin/websiteStaticPages/index.d.ts.map +1 -0
- package/src/schema/admin/websiteStaticPages/index.js +17 -0
- package/src/schema/admin/websiteStaticPages/index.js.map +1 -0
- package/src/schema/admin/websiteStaticPages/index.ts +67 -0
- package/src/schema/auth/index.d.ts +16 -0
- package/src/schema/auth/index.d.ts.map +1 -0
- package/src/schema/auth/index.js +12 -0
- package/src/schema/auth/index.js.map +1 -0
- package/src/schema/auth/index.ts +14 -0
- package/src/schema/core.d.ts +6336 -0
- package/src/schema/core.d.ts.map +1 -0
- package/src/schema/core.js +1470 -0
- package/src/schema/core.js.map +1 -0
- package/src/schema/core.ts +1906 -0
- package/src/schema/index.d.ts +4 -0
- package/src/schema/index.d.ts.map +1 -0
- package/{dist/src/types/http → src/schema}/index.js +2 -1
- package/src/schema/index.js.map +1 -0
- package/src/{types/models → schema}/index.ts +1 -1
- package/src/utils.d.ts +24 -0
- package/src/utils.d.ts.map +1 -0
- package/src/utils.js +18 -0
- package/src/utils.js.map +1 -0
- package/src/utils.ts +42 -0
- package/tsconfig.json +14 -107
- package/README.md +0 -9
- package/dist/index.js +0 -18
- package/dist/src/constants/enums.js +0 -209
- package/dist/src/constants/index.js +0 -17
- package/dist/src/types/_schema/Action.js +0 -4
- package/dist/src/types/_schema/ActionNames.js +0 -4
- package/dist/src/types/_schema/Actions.js +0 -4
- package/dist/src/types/_schema/Admin.js +0 -4
- package/dist/src/types/_schema/Admins.js +0 -4
- package/dist/src/types/_schema/Campaign.js +0 -4
- package/dist/src/types/_schema/CampaignStatuses.js +0 -4
- package/dist/src/types/_schema/CampaignToPosition.js +0 -4
- package/dist/src/types/_schema/Campaigns.js +0 -4
- package/dist/src/types/_schema/CampaignsToPositions.js +0 -4
- package/dist/src/types/_schema/Candidacies.js +0 -4
- package/dist/src/types/_schema/Candidacy.js +0 -4
- package/dist/src/types/_schema/CandidacyFeedback.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingCategories.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingReasons.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingToTag.js +0 -4
- package/dist/src/types/_schema/CandidacyRatings.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingsToTags.js +0 -4
- package/dist/src/types/_schema/CandidacySources.js +0 -4
- package/dist/src/types/_schema/CandidacyStages.js +0 -4
- package/dist/src/types/_schema/CandidacyStatuses.js +0 -4
- package/dist/src/types/_schema/Certifications.js +0 -4
- package/dist/src/types/_schema/Client.js +0 -4
- package/dist/src/types/_schema/ClientStages.js +0 -4
- package/dist/src/types/_schema/ClientStatuses.js +0 -4
- package/dist/src/types/_schema/Clients.js +0 -4
- package/dist/src/types/_schema/Clubs.js +0 -4
- package/dist/src/types/_schema/Contract.js +0 -4
- package/dist/src/types/_schema/Contracts.js +0 -4
- package/dist/src/types/_schema/Conversation.js +0 -4
- package/dist/src/types/_schema/Conversations.js +0 -4
- package/dist/src/types/_schema/EducationDegrees.js +0 -4
- package/dist/src/types/_schema/EducationFields.js +0 -4
- package/dist/src/types/_schema/Educations.js +0 -4
- package/dist/src/types/_schema/EnrichmentSources.js +0 -4
- package/dist/src/types/_schema/Enrichments.js +0 -4
- package/dist/src/types/_schema/Experiences.js +0 -4
- package/dist/src/types/_schema/Genders.js +0 -4
- package/dist/src/types/_schema/Industries.js +0 -4
- package/dist/src/types/_schema/JobFunctions.js +0 -4
- package/dist/src/types/_schema/JobLevels.js +0 -4
- package/dist/src/types/_schema/Jwt.js +0 -4
- package/dist/src/types/_schema/Jwts.js +0 -4
- package/dist/src/types/_schema/ListView.js +0 -4
- package/dist/src/types/_schema/ListViewModels.js +0 -4
- package/dist/src/types/_schema/ListViews.js +0 -4
- package/dist/src/types/_schema/Message.js +0 -4
- package/dist/src/types/_schema/MessageChannels.js +0 -4
- package/dist/src/types/_schema/MessageTemplate.js +0 -4
- package/dist/src/types/_schema/MessageTemplates.js +0 -4
- package/dist/src/types/_schema/Messages.js +0 -4
- package/dist/src/types/_schema/Networks.js +0 -4
- package/dist/src/types/_schema/Note.js +0 -4
- package/dist/src/types/_schema/Notes.js +0 -4
- package/dist/src/types/_schema/Otp.js +0 -4
- package/dist/src/types/_schema/Otps.js +0 -4
- package/dist/src/types/_schema/Partners.js +0 -4
- package/dist/src/types/_schema/Person.js +0 -4
- package/dist/src/types/_schema/PersonCareerLevels.js +0 -4
- package/dist/src/types/_schema/PersonClub.js +0 -4
- package/dist/src/types/_schema/PersonClubs.js +0 -4
- package/dist/src/types/_schema/PersonDegrees.js +0 -4
- package/dist/src/types/_schema/PersonEnrichment.js +0 -4
- package/dist/src/types/_schema/PersonEnrichments.js +0 -4
- package/dist/src/types/_schema/PersonGenders.js +0 -4
- package/dist/src/types/_schema/PersonNetwork.js +0 -4
- package/dist/src/types/_schema/PersonNetworks.js +0 -4
- package/dist/src/types/_schema/PersonSkill.js +0 -4
- package/dist/src/types/_schema/PersonSkills.js +0 -4
- package/dist/src/types/_schema/PersonSources.js +0 -4
- package/dist/src/types/_schema/PersonToBestPerson.js +0 -4
- package/dist/src/types/_schema/PersonToPersonClub.js +0 -4
- package/dist/src/types/_schema/PersonToPersonNetwork.js +0 -4
- package/dist/src/types/_schema/PersonToPersonSkill.js +0 -4
- package/dist/src/types/_schema/PersonToTag.js +0 -4
- package/dist/src/types/_schema/Persons.js +0 -4
- package/dist/src/types/_schema/PersonsToBestPersons.js +0 -4
- package/dist/src/types/_schema/PersonsToCertifications.js +0 -4
- package/dist/src/types/_schema/PersonsToClubs.js +0 -4
- package/dist/src/types/_schema/PersonsToIndustries.js +0 -4
- package/dist/src/types/_schema/PersonsToNetworks.js +0 -4
- package/dist/src/types/_schema/PersonsToPersonClubs.js +0 -4
- package/dist/src/types/_schema/PersonsToPersonNetworks.js +0 -4
- package/dist/src/types/_schema/PersonsToPersonSkills.js +0 -4
- package/dist/src/types/_schema/PersonsToSkills.js +0 -4
- package/dist/src/types/_schema/PersonsToTags.js +0 -4
- package/dist/src/types/_schema/Position.js +0 -4
- package/dist/src/types/_schema/PositionRatingCategories.js +0 -4
- package/dist/src/types/_schema/PositionRatings.js +0 -4
- package/dist/src/types/_schema/PositionStages.js +0 -4
- package/dist/src/types/_schema/PositionStatuses.js +0 -4
- package/dist/src/types/_schema/Positions.js +0 -4
- package/dist/src/types/_schema/PositionsToIndustries.js +0 -4
- package/dist/src/types/_schema/PositionsToPersonSkills.js +0 -4
- package/dist/src/types/_schema/PositionsToSkills.js +0 -4
- package/dist/src/types/_schema/PositionsToTags.js +0 -4
- package/dist/src/types/_schema/PublicSchema.js +0 -4
- package/dist/src/types/_schema/Referral.js +0 -4
- package/dist/src/types/_schema/ReferralPayout.js +0 -4
- package/dist/src/types/_schema/ReferralPayouts.js +0 -4
- package/dist/src/types/_schema/ReferralSources.js +0 -4
- package/dist/src/types/_schema/ReferralToIntroMessage.js +0 -4
- package/dist/src/types/_schema/Referrals.js +0 -4
- package/dist/src/types/_schema/ReferralsToIntroMessages.js +0 -4
- package/dist/src/types/_schema/ReferralsToMessages.js +0 -4
- package/dist/src/types/_schema/Sender.js +0 -4
- package/dist/src/types/_schema/Senders.js +0 -4
- package/dist/src/types/_schema/Skills.js +0 -4
- package/dist/src/types/_schema/Tag.js +0 -4
- package/dist/src/types/_schema/Tags.js +0 -4
- package/dist/src/types/_schema/WebsiteBlock.js +0 -4
- package/dist/src/types/_schema/WebsiteBlocks.js +0 -4
- package/dist/src/types/_schema/WebsiteLandingPage.js +0 -4
- package/dist/src/types/_schema/WebsiteLandingPages.js +0 -4
- package/dist/src/types/_schema/WebsiteStaticPage.js +0 -4
- package/dist/src/types/_schema/WebsiteStaticPages.js +0 -4
- package/dist/src/types/admin/index.js +0 -19
- package/dist/src/types/admin/persons/index.js +0 -2
- package/dist/src/types/admin/website/index.js +0 -2
- package/dist/src/types/auth/index.js +0 -2
- package/dist/src/types/db.js +0 -6
- package/dist/src/types/http/admin/candidacies/index.js +0 -2
- package/dist/src/types/http/admin/index.js +0 -19
- package/dist/src/types/http/admin/persons/index.js +0 -2
- package/dist/src/types/http/admin/website/index.js +0 -2
- package/dist/src/types/http/auth/index.js +0 -2
- package/dist/src/types/http/utils/index.js +0 -2
- package/dist/src/types/models/admin/campaigns/index.js +0 -2
- package/dist/src/types/models/admin/candidacies/index.js +0 -2
- package/dist/src/types/models/admin/clients/index.js +0 -2
- package/dist/src/types/models/admin/conversations/index.js +0 -2
- package/dist/src/types/models/admin/listViews/index.js +0 -2
- package/dist/src/types/models/admin/locations/index.js +0 -2
- package/dist/src/types/models/admin/messages/index.js +0 -2
- package/dist/src/types/models/admin/partners/index.js +0 -2
- package/dist/src/types/models/admin/persons/index.js +0 -2
- package/dist/src/types/models/admin/positions/index.js +0 -23
- package/dist/src/types/models/admin/referrals/index.js +0 -2
- package/dist/src/types/models/admin/settings/index.js +0 -2
- package/dist/src/types/models/admin/website/_shared.js +0 -2
- package/dist/src/types/models/admin/website/home.js +0 -2
- package/dist/src/types/models/admin/website/index.js +0 -18
- package/dist/src/types/models/admin/website/shared.js +0 -2
- package/dist/src/types/models/auth/index.js +0 -2
- package/dist/src/types/models/index.js +0 -19
- package/dist/src/types/schemas/Database.js +0 -4
- package/dist/src/types/schemas/index.js +0 -23
- package/dist/src/types/schemas/public/Action.js +0 -4
- package/dist/src/types/schemas/public/ActionNames.js +0 -4
- package/dist/src/types/schemas/public/Admin.js +0 -4
- package/dist/src/types/schemas/public/Campaign.js +0 -4
- package/dist/src/types/schemas/public/CampaignStatuses.js +0 -4
- package/dist/src/types/schemas/public/CampaignToPosition.js +0 -4
- package/dist/src/types/schemas/public/Candidacy.js +0 -4
- package/dist/src/types/schemas/public/CandidacyFeedback.js +0 -4
- package/dist/src/types/schemas/public/CandidacyRatingToTag.js +0 -4
- package/dist/src/types/schemas/public/CandidacySources.js +0 -4
- package/dist/src/types/schemas/public/CandidacyStatuses.js +0 -4
- package/dist/src/types/schemas/public/Client.js +0 -4
- package/dist/src/types/schemas/public/ClientStatuses.js +0 -4
- package/dist/src/types/schemas/public/Contract.js +0 -4
- package/dist/src/types/schemas/public/Conversation.js +0 -4
- package/dist/src/types/schemas/public/EnrichmentSources.js +0 -4
- package/dist/src/types/schemas/public/Jwt.js +0 -4
- package/dist/src/types/schemas/public/ListView.js +0 -4
- package/dist/src/types/schemas/public/ListViewModels.js +0 -4
- package/dist/src/types/schemas/public/Message.js +0 -4
- package/dist/src/types/schemas/public/MessageChannels.js +0 -4
- package/dist/src/types/schemas/public/MessageSender.js +0 -4
- package/dist/src/types/schemas/public/MessageTemplate.js +0 -4
- package/dist/src/types/schemas/public/Note.js +0 -4
- package/dist/src/types/schemas/public/Otp.js +0 -4
- package/dist/src/types/schemas/public/Person.js +0 -4
- package/dist/src/types/schemas/public/PersonCareerLevels.js +0 -4
- package/dist/src/types/schemas/public/PersonClub.js +0 -4
- package/dist/src/types/schemas/public/PersonDegrees.js +0 -4
- package/dist/src/types/schemas/public/PersonEnrichment.js +0 -4
- package/dist/src/types/schemas/public/PersonGenders.js +0 -4
- package/dist/src/types/schemas/public/PersonNetwork.js +0 -4
- package/dist/src/types/schemas/public/PersonSkill.js +0 -4
- package/dist/src/types/schemas/public/PersonSources.js +0 -4
- package/dist/src/types/schemas/public/PersonToBestPerson.js +0 -4
- package/dist/src/types/schemas/public/PersonToPersonClub.js +0 -4
- package/dist/src/types/schemas/public/PersonToPersonNetwork.js +0 -4
- package/dist/src/types/schemas/public/PersonToPersonSkill.js +0 -4
- package/dist/src/types/schemas/public/PersonToTag.js +0 -4
- package/dist/src/types/schemas/public/Position.js +0 -4
- package/dist/src/types/schemas/public/PositionStatuses.js +0 -4
- package/dist/src/types/schemas/public/PrismaMigrations.js +0 -4
- package/dist/src/types/schemas/public/PublicSchema.js +0 -4
- package/dist/src/types/schemas/public/Referral.js +0 -4
- package/dist/src/types/schemas/public/ReferralPayout.js +0 -4
- package/dist/src/types/schemas/public/ReferralSources.js +0 -4
- package/dist/src/types/schemas/public/ReferralToIntroMessage.js +0 -4
- package/dist/src/types/schemas/public/Sender.js +0 -4
- package/dist/src/types/schemas/public/Tag.js +0 -4
- package/dist/src/types/schemas/public/WebsiteBlock.js +0 -4
- package/dist/src/types/schemas/public/WebsiteLandingPage.js +0 -4
- package/dist/src/types/schemas/public/WebsiteStaticPage.js +0 -4
- package/dist/src/types/shared/index.js +0 -2
- package/dist/src/types/utils/index.js +0 -2
- package/dist/types/admin/index.js +0 -17
- package/dist/types/admin/website/index.js +0 -2
- package/dist/types/index.js +0 -17
- package/index.ts +0 -2
- package/src/constants/enums.ts +0 -251
- package/src/constants/index.ts +0 -1
- package/src/types/_schema/ActionNames.ts +0 -11
- package/src/types/_schema/Actions.ts +0 -104
- package/src/types/_schema/Admins.ts +0 -49
- package/src/types/_schema/CampaignStatuses.ts +0 -10
- package/src/types/_schema/Campaigns.ts +0 -76
- package/src/types/_schema/CampaignsToPositions.ts +0 -33
- package/src/types/_schema/Candidacies.ts +0 -77
- package/src/types/_schema/CandidacyFeedback.ts +0 -55
- package/src/types/_schema/CandidacyRatingCategories.ts +0 -12
- package/src/types/_schema/CandidacyRatings.ts +0 -42
- package/src/types/_schema/CandidacySources.ts +0 -11
- package/src/types/_schema/CandidacyStages.ts +0 -14
- package/src/types/_schema/CandidacyStatuses.ts +0 -9
- package/src/types/_schema/Certifications.ts +0 -59
- package/src/types/_schema/ClientStages.ts +0 -12
- package/src/types/_schema/ClientStatuses.ts +0 -9
- package/src/types/_schema/Clients.ts +0 -69
- package/src/types/_schema/Contracts.ts +0 -68
- package/src/types/_schema/EducationDegrees.ts +0 -12
- package/src/types/_schema/EducationFields.ts +0 -18
- package/src/types/_schema/Educations.ts +0 -55
- package/src/types/_schema/EnrichmentSources.ts +0 -8
- package/src/types/_schema/Enrichments.ts +0 -68
- package/src/types/_schema/Experiences.ts +0 -87
- package/src/types/_schema/Genders.ts +0 -11
- package/src/types/_schema/Industries.ts +0 -53
- package/src/types/_schema/JobFunctions.ts +0 -53
- package/src/types/_schema/JobLevels.ts +0 -13
- package/src/types/_schema/Jwts.ts +0 -61
- package/src/types/_schema/ListViewModels.ts +0 -11
- package/src/types/_schema/ListViews.ts +0 -74
- package/src/types/_schema/MessageChannels.ts +0 -9
- package/src/types/_schema/MessageTemplates.ts +0 -53
- package/src/types/_schema/Messages.ts +0 -109
- package/src/types/_schema/Networks.ts +0 -59
- package/src/types/_schema/Notes.ts +0 -76
- package/src/types/_schema/Otps.ts +0 -67
- package/src/types/_schema/Partners.ts +0 -65
- package/src/types/_schema/PersonSources.ts +0 -11
- package/src/types/_schema/Persons.ts +0 -237
- package/src/types/_schema/PersonsToBestPersons.ts +0 -32
- package/src/types/_schema/PersonsToCertifications.ts +0 -26
- package/src/types/_schema/PersonsToNetworks.ts +0 -33
- package/src/types/_schema/PersonsToSkills.ts +0 -33
- package/src/types/_schema/PersonsToTags.ts +0 -33
- package/src/types/_schema/PositionRatingCategories.ts +0 -9
- package/src/types/_schema/PositionRatings.ts +0 -42
- package/src/types/_schema/PositionStages.ts +0 -12
- package/src/types/_schema/PositionStatuses.ts +0 -9
- package/src/types/_schema/Positions.ts +0 -119
- package/src/types/_schema/PositionsToIndustries.ts +0 -33
- package/src/types/_schema/PositionsToSkills.ts +0 -33
- package/src/types/_schema/PositionsToTags.ts +0 -33
- package/src/types/_schema/ReferralPayouts.ts +0 -29
- package/src/types/_schema/ReferralSources.ts +0 -11
- package/src/types/_schema/Referrals.ts +0 -83
- package/src/types/_schema/ReferralsToMessages.ts +0 -40
- package/src/types/_schema/Senders.ts +0 -65
- package/src/types/_schema/Skills.ts +0 -53
- package/src/types/_schema/Tags.ts +0 -53
- package/src/types/_schema/WebsiteBlocks.ts +0 -45
- package/src/types/_schema/WebsiteLandingPages.ts +0 -47
- package/src/types/_schema/WebsiteStaticPages.ts +0 -53
- package/src/types/index.ts +0 -2
- package/src/types/models/admin/campaigns/index.ts +0 -28
- package/src/types/models/admin/candidacies/index.ts +0 -69
- package/src/types/models/admin/clients/index.ts +0 -49
- package/src/types/models/admin/index.ts +0 -12
- package/src/types/models/admin/listViews/index.ts +0 -48
- package/src/types/models/admin/locations/index.ts +0 -28
- package/src/types/models/admin/messages/index.ts +0 -14
- package/src/types/models/admin/partners/index.ts +0 -36
- package/src/types/models/admin/persons/index.ts +0 -90
- package/src/types/models/admin/positions/index.ts +0 -72
- package/src/types/models/admin/referrals/index.ts +0 -67
- package/src/types/models/admin/settings/index.ts +0 -24
- package/src/types/models/admin/website/home.ts +0 -42
- package/src/types/models/admin/website/index.ts +0 -2
- package/src/types/models/admin/website/shared.ts +0 -40
- package/src/types/models/auth/index.ts +0 -6
- package/src/types/utils/index.ts +0 -15
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { ReferralsId } from './Referrals';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.referral_payouts */
|
|
7
|
-
export type ReferralPayoutsId = string;
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.referral_payouts */
|
|
10
|
-
export default interface ReferralPayouts {
|
|
11
|
-
id: ReferralPayoutsId;
|
|
12
|
-
|
|
13
|
-
referralId: ReferralsId | null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents the initializer for the table public.referral_payouts */
|
|
17
|
-
export interface ReferralPayoutsInitializer {
|
|
18
|
-
/** Default value: gen_random_uuid() */
|
|
19
|
-
id?: ReferralPayoutsId;
|
|
20
|
-
|
|
21
|
-
referralId?: ReferralsId | null;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** Represents the mutator for the table public.referral_payouts */
|
|
25
|
-
export interface ReferralPayoutsMutator {
|
|
26
|
-
id?: ReferralPayoutsId;
|
|
27
|
-
|
|
28
|
-
referralId?: ReferralsId | null;
|
|
29
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Represents the enum public.ReferralSources */
|
|
5
|
-
type ReferralSources =
|
|
6
|
-
| 'CAMPAIGN'
|
|
7
|
-
| 'NETWORK'
|
|
8
|
-
| 'WEBSITE'
|
|
9
|
-
| 'SOCIAL_MEDIA';
|
|
10
|
-
|
|
11
|
-
export default ReferralSources;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as ReferralSources } from './ReferralSources';
|
|
5
|
-
import type { PersonsId } from './Persons';
|
|
6
|
-
import type { CandidaciesId } from './Candidacies';
|
|
7
|
-
import type { CampaignsId } from './Campaigns';
|
|
8
|
-
import type { PositionsId } from './Positions';
|
|
9
|
-
|
|
10
|
-
/** Identifier type for public.referrals */
|
|
11
|
-
export type ReferralsId = string;
|
|
12
|
-
|
|
13
|
-
/** Represents the table public.referrals */
|
|
14
|
-
export default interface Referrals {
|
|
15
|
-
id: ReferralsId;
|
|
16
|
-
|
|
17
|
-
source: ReferralSources;
|
|
18
|
-
|
|
19
|
-
networkId: string | null;
|
|
20
|
-
|
|
21
|
-
referrerId: PersonsId;
|
|
22
|
-
|
|
23
|
-
candidacyId: CandidaciesId;
|
|
24
|
-
|
|
25
|
-
campaignId: CampaignsId | null;
|
|
26
|
-
|
|
27
|
-
positionId: PositionsId;
|
|
28
|
-
|
|
29
|
-
deletedAt: Date | null;
|
|
30
|
-
|
|
31
|
-
createdAt: Date;
|
|
32
|
-
|
|
33
|
-
updatedAt: Date;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/** Represents the initializer for the table public.referrals */
|
|
37
|
-
export interface ReferralsInitializer {
|
|
38
|
-
/** Default value: gen_random_uuid() */
|
|
39
|
-
id?: ReferralsId;
|
|
40
|
-
|
|
41
|
-
source: ReferralSources;
|
|
42
|
-
|
|
43
|
-
networkId?: string | null;
|
|
44
|
-
|
|
45
|
-
referrerId: PersonsId;
|
|
46
|
-
|
|
47
|
-
candidacyId: CandidaciesId;
|
|
48
|
-
|
|
49
|
-
campaignId?: CampaignsId | null;
|
|
50
|
-
|
|
51
|
-
positionId: PositionsId;
|
|
52
|
-
|
|
53
|
-
deletedAt?: Date | null;
|
|
54
|
-
|
|
55
|
-
/** Default value: now() */
|
|
56
|
-
createdAt?: Date;
|
|
57
|
-
|
|
58
|
-
/** Default value: now() */
|
|
59
|
-
updatedAt?: Date;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/** Represents the mutator for the table public.referrals */
|
|
63
|
-
export interface ReferralsMutator {
|
|
64
|
-
id?: ReferralsId;
|
|
65
|
-
|
|
66
|
-
source?: ReferralSources;
|
|
67
|
-
|
|
68
|
-
networkId?: string | null;
|
|
69
|
-
|
|
70
|
-
referrerId?: PersonsId;
|
|
71
|
-
|
|
72
|
-
candidacyId?: CandidaciesId;
|
|
73
|
-
|
|
74
|
-
campaignId?: CampaignsId | null;
|
|
75
|
-
|
|
76
|
-
positionId?: PositionsId;
|
|
77
|
-
|
|
78
|
-
deletedAt?: Date | null;
|
|
79
|
-
|
|
80
|
-
createdAt?: Date;
|
|
81
|
-
|
|
82
|
-
updatedAt?: Date;
|
|
83
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { MessagesId } from './Messages';
|
|
5
|
-
import type { ReferralsId } from './Referrals';
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.referrals_to_messages */
|
|
8
|
-
export default interface ReferralsToMessages {
|
|
9
|
-
messageId: MessagesId;
|
|
10
|
-
|
|
11
|
-
referralId: ReferralsId;
|
|
12
|
-
|
|
13
|
-
isIntro: boolean;
|
|
14
|
-
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Represents the initializer for the table public.referrals_to_messages */
|
|
19
|
-
export interface ReferralsToMessagesInitializer {
|
|
20
|
-
messageId: MessagesId;
|
|
21
|
-
|
|
22
|
-
referralId: ReferralsId;
|
|
23
|
-
|
|
24
|
-
/** Default value: false */
|
|
25
|
-
isIntro?: boolean;
|
|
26
|
-
|
|
27
|
-
/** Default value: now() */
|
|
28
|
-
createdAt?: Date;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/** Represents the mutator for the table public.referrals_to_messages */
|
|
32
|
-
export interface ReferralsToMessagesMutator {
|
|
33
|
-
messageId?: MessagesId;
|
|
34
|
-
|
|
35
|
-
referralId?: ReferralsId;
|
|
36
|
-
|
|
37
|
-
isIntro?: boolean;
|
|
38
|
-
|
|
39
|
-
createdAt?: Date;
|
|
40
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.senders */
|
|
5
|
-
export type SendersId = string;
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.senders */
|
|
8
|
-
export default interface Senders {
|
|
9
|
-
id: SendersId;
|
|
10
|
-
|
|
11
|
-
name: string;
|
|
12
|
-
|
|
13
|
-
email: string | null;
|
|
14
|
-
|
|
15
|
-
replyToEmail: string | null;
|
|
16
|
-
|
|
17
|
-
smsNumber: string | null;
|
|
18
|
-
|
|
19
|
-
createdAt: Date;
|
|
20
|
-
|
|
21
|
-
updatedAt: Date;
|
|
22
|
-
|
|
23
|
-
deletedAt: Date | null;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the initializer for the table public.senders */
|
|
27
|
-
export interface SendersInitializer {
|
|
28
|
-
/** Default value: gen_random_uuid() */
|
|
29
|
-
id?: SendersId;
|
|
30
|
-
|
|
31
|
-
name: string;
|
|
32
|
-
|
|
33
|
-
email?: string | null;
|
|
34
|
-
|
|
35
|
-
replyToEmail?: string | null;
|
|
36
|
-
|
|
37
|
-
smsNumber?: string | null;
|
|
38
|
-
|
|
39
|
-
/** Default value: now() */
|
|
40
|
-
createdAt?: Date;
|
|
41
|
-
|
|
42
|
-
/** Default value: now() */
|
|
43
|
-
updatedAt?: Date;
|
|
44
|
-
|
|
45
|
-
deletedAt?: Date | null;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/** Represents the mutator for the table public.senders */
|
|
49
|
-
export interface SendersMutator {
|
|
50
|
-
id?: SendersId;
|
|
51
|
-
|
|
52
|
-
name?: string;
|
|
53
|
-
|
|
54
|
-
email?: string | null;
|
|
55
|
-
|
|
56
|
-
replyToEmail?: string | null;
|
|
57
|
-
|
|
58
|
-
smsNumber?: string | null;
|
|
59
|
-
|
|
60
|
-
createdAt?: Date;
|
|
61
|
-
|
|
62
|
-
updatedAt?: Date;
|
|
63
|
-
|
|
64
|
-
deletedAt?: Date | null;
|
|
65
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.skills */
|
|
5
|
-
export type SkillsId = string;
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.skills */
|
|
8
|
-
export default interface Skills {
|
|
9
|
-
id: SkillsId;
|
|
10
|
-
|
|
11
|
-
slug: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
deletedAt: Date | null;
|
|
16
|
-
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** Represents the initializer for the table public.skills */
|
|
23
|
-
export interface SkillsInitializer {
|
|
24
|
-
/** Default value: gen_random_uuid() */
|
|
25
|
-
id?: SkillsId;
|
|
26
|
-
|
|
27
|
-
slug: string;
|
|
28
|
-
|
|
29
|
-
name: string;
|
|
30
|
-
|
|
31
|
-
deletedAt?: Date | null;
|
|
32
|
-
|
|
33
|
-
/** Default value: now() */
|
|
34
|
-
createdAt?: Date;
|
|
35
|
-
|
|
36
|
-
/** Default value: now() */
|
|
37
|
-
updatedAt?: Date;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/** Represents the mutator for the table public.skills */
|
|
41
|
-
export interface SkillsMutator {
|
|
42
|
-
id?: SkillsId;
|
|
43
|
-
|
|
44
|
-
slug?: string;
|
|
45
|
-
|
|
46
|
-
name?: string;
|
|
47
|
-
|
|
48
|
-
deletedAt?: Date | null;
|
|
49
|
-
|
|
50
|
-
createdAt?: Date;
|
|
51
|
-
|
|
52
|
-
updatedAt?: Date;
|
|
53
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.tags */
|
|
5
|
-
export type TagsId = string;
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.tags */
|
|
8
|
-
export default interface Tags {
|
|
9
|
-
id: TagsId;
|
|
10
|
-
|
|
11
|
-
slug: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
|
|
17
|
-
updatedAt: Date;
|
|
18
|
-
|
|
19
|
-
deletedAt: Date | null;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** Represents the initializer for the table public.tags */
|
|
23
|
-
export interface TagsInitializer {
|
|
24
|
-
/** Default value: gen_random_uuid() */
|
|
25
|
-
id?: TagsId;
|
|
26
|
-
|
|
27
|
-
slug: string;
|
|
28
|
-
|
|
29
|
-
name: string;
|
|
30
|
-
|
|
31
|
-
/** Default value: now() */
|
|
32
|
-
createdAt?: Date;
|
|
33
|
-
|
|
34
|
-
/** Default value: now() */
|
|
35
|
-
updatedAt?: Date;
|
|
36
|
-
|
|
37
|
-
deletedAt?: Date | null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/** Represents the mutator for the table public.tags */
|
|
41
|
-
export interface TagsMutator {
|
|
42
|
-
id?: TagsId;
|
|
43
|
-
|
|
44
|
-
slug?: string;
|
|
45
|
-
|
|
46
|
-
name?: string;
|
|
47
|
-
|
|
48
|
-
createdAt?: Date;
|
|
49
|
-
|
|
50
|
-
updatedAt?: Date;
|
|
51
|
-
|
|
52
|
-
deletedAt?: Date | null;
|
|
53
|
-
}
|
|
@@ -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
|
-
}
|
package/src/types/index.ts
DELETED
|
@@ -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'>
|