@the-inkwell/shared 0.1.163 → 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.
- package/dist/index.js +2 -1
- package/dist/src/constants.js +276 -0
- package/dist/src/schema/admin/actions/index.js +32 -0
- package/dist/src/schema/admin/campaigns/index.js +68 -0
- package/dist/src/schema/admin/candidacies/index.js +83 -0
- package/dist/src/schema/admin/clients/index.js +30 -0
- package/dist/src/schema/admin/educations/index.js +23 -0
- package/dist/src/schema/admin/experiences/index.js +37 -0
- package/dist/src/schema/admin/files/index.js +7 -0
- package/dist/src/{types/models → schema}/admin/index.js +18 -1
- package/dist/src/schema/admin/jobFunctions/index.js +32 -0
- package/dist/src/schema/admin/listViews/index.js +22 -0
- package/dist/src/schema/admin/locations/index.js +16 -0
- package/dist/src/schema/admin/messages/index.js +51 -0
- package/dist/src/schema/admin/notes/index.js +27 -0
- package/dist/src/schema/admin/partners/index.js +25 -0
- package/dist/src/schema/admin/persons/index.js +194 -0
- package/dist/src/schema/admin/personsToBestPersons/index.js +18 -0
- package/dist/src/schema/admin/personsToSkills/index.js +18 -0
- package/dist/src/schema/admin/personsToTags/index.js +18 -0
- package/dist/src/schema/admin/positions/index.js +58 -0
- package/dist/src/schema/admin/positionsToSkills/index.js +18 -0
- package/dist/src/schema/admin/positionsToTags/index.js +18 -0
- package/dist/src/schema/admin/referrals/index.js +64 -0
- package/dist/src/schema/admin/referralsToMessages/index.js +55 -0
- package/dist/src/schema/admin/senders/index.js +16 -0
- package/dist/src/schema/admin/sendgrid/index.js +10 -0
- package/dist/src/schema/admin/settings/index.js +21 -0
- package/dist/src/schema/admin/skills/index.js +32 -0
- package/dist/src/schema/admin/tags/index.js +29 -0
- package/dist/src/schema/admin/websiteLandingPages/index.js +16 -0
- package/dist/src/schema/admin/websiteStaticPages/index.js +16 -0
- package/dist/src/schema/auth/index.js +11 -0
- package/dist/src/schema/core.js +1469 -0
- package/dist/src/{types/models → schema}/index.js +1 -1
- package/dist/src/utils.js +16 -0
- package/index.ts +2 -1
- package/package.json +9 -2
- package/src/constants.ts +299 -0
- package/src/schema/admin/actions/index.ts +65 -0
- package/src/schema/admin/campaigns/index.ts +111 -0
- package/src/schema/admin/candidacies/index.ts +138 -0
- package/src/schema/admin/clients/index.ts +65 -0
- package/src/schema/admin/dashboard/index.ts +10 -0
- package/src/schema/admin/educations/index.ts +71 -0
- package/src/schema/admin/experiences/index.ts +87 -0
- package/src/schema/admin/files/index.ts +10 -0
- package/src/schema/admin/index.ts +29 -0
- package/src/schema/admin/jobFunctions/index.ts +79 -0
- package/src/schema/admin/listViews/index.ts +58 -0
- package/src/schema/admin/locations/index.ts +42 -0
- package/src/schema/admin/messages/index.ts +88 -0
- package/src/schema/admin/notes/index.ts +56 -0
- package/src/schema/admin/partners/index.ts +60 -0
- package/src/schema/admin/persons/index.ts +294 -0
- package/src/schema/admin/personsToBestPersons/index.ts +67 -0
- package/src/schema/admin/personsToSkills/index.ts +61 -0
- package/src/schema/admin/personsToTags/index.ts +61 -0
- package/src/schema/admin/positions/index.ts +97 -0
- package/src/schema/admin/positionsToSkills/index.ts +64 -0
- package/src/schema/admin/positionsToTags/index.ts +61 -0
- package/src/schema/admin/referrals/index.ts +100 -0
- package/src/schema/admin/referralsToMessages/index.ts +121 -0
- package/src/schema/admin/senders/index.ts +50 -0
- package/src/schema/admin/sendgrid/index.ts +16 -0
- package/src/schema/admin/settings/index.ts +34 -0
- package/src/schema/admin/skills/index.ts +64 -0
- package/src/schema/admin/tags/index.ts +56 -0
- package/src/schema/admin/websiteLandingPages/index.ts +69 -0
- package/src/schema/admin/websiteStaticPages/index.ts +67 -0
- package/src/schema/auth/index.ts +14 -0
- package/src/schema/core.ts +1906 -0
- package/src/{types/models → schema}/index.ts +1 -1
- package/src/utils.ts +41 -0
- package/README.md +0 -9
- 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/index.js +0 -19
- package/dist/src/types/http/utils/index.js +0 -2
- package/dist/src/types/index.js +0 -18
- 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/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/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 -91
- package/src/types/_schema/Admins.ts +0 -36
- package/src/types/_schema/CampaignStatuses.ts +0 -10
- package/src/types/_schema/Campaigns.ts +0 -76
- package/src/types/_schema/CampaignsToPositions.ts +0 -40
- 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 -63
- package/src/types/_schema/Contracts.ts +0 -62
- 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 -62
- 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 -55
- 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 -103
- package/src/types/_schema/Networks.ts +0 -59
- package/src/types/_schema/Notes.ts +0 -76
- package/src/types/_schema/Otps.ts +0 -61
- 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 -89
- package/src/types/_schema/ReferralsToMessages.ts +0 -47
- package/src/types/_schema/Senders.ts +0 -59
- 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 -77
- 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
- /package/dist/src/{types/admin/candidacies → schema/admin/dashboard}/index.js +0 -0
package/src/constants/index.ts
DELETED
|
@@ -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,91 +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
|
-
|
|
41
|
-
/** Represents the initializer for the table public.actions */
|
|
42
|
-
export interface ActionsInitializer {
|
|
43
|
-
/** Default value: gen_random_uuid() */
|
|
44
|
-
id?: ActionsId;
|
|
45
|
-
|
|
46
|
-
candidacyId?: CandidaciesId | null;
|
|
47
|
-
|
|
48
|
-
clientId?: ClientsId | null;
|
|
49
|
-
|
|
50
|
-
messageId?: MessagesId | null;
|
|
51
|
-
|
|
52
|
-
noteId?: NotesId | null;
|
|
53
|
-
|
|
54
|
-
personId?: PersonsId | null;
|
|
55
|
-
|
|
56
|
-
positionId?: PositionsId | null;
|
|
57
|
-
|
|
58
|
-
referralId?: ReferralsId | null;
|
|
59
|
-
|
|
60
|
-
data: unknown;
|
|
61
|
-
|
|
62
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
63
|
-
createdAt?: Date;
|
|
64
|
-
|
|
65
|
-
name: ActionNames;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** Represents the mutator for the table public.actions */
|
|
69
|
-
export interface ActionsMutator {
|
|
70
|
-
id?: ActionsId;
|
|
71
|
-
|
|
72
|
-
candidacyId?: CandidaciesId | null;
|
|
73
|
-
|
|
74
|
-
clientId?: ClientsId | null;
|
|
75
|
-
|
|
76
|
-
messageId?: MessagesId | null;
|
|
77
|
-
|
|
78
|
-
noteId?: NotesId | null;
|
|
79
|
-
|
|
80
|
-
personId?: PersonsId | null;
|
|
81
|
-
|
|
82
|
-
positionId?: PositionsId | null;
|
|
83
|
-
|
|
84
|
-
referralId?: ReferralsId | null;
|
|
85
|
-
|
|
86
|
-
data?: unknown;
|
|
87
|
-
|
|
88
|
-
createdAt?: Date;
|
|
89
|
-
|
|
90
|
-
name?: ActionNames;
|
|
91
|
-
}
|
|
@@ -1,36 +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
|
-
|
|
18
|
-
/** Represents the initializer for the table public.admins */
|
|
19
|
-
export interface AdminsInitializer {
|
|
20
|
-
/** Default value: gen_random_uuid() */
|
|
21
|
-
id?: AdminsId;
|
|
22
|
-
|
|
23
|
-
personId: PersonsId;
|
|
24
|
-
|
|
25
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
26
|
-
createdAt?: Date;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/** Represents the mutator for the table public.admins */
|
|
30
|
-
export interface AdminsMutator {
|
|
31
|
-
id?: AdminsId;
|
|
32
|
-
|
|
33
|
-
personId?: PersonsId;
|
|
34
|
-
|
|
35
|
-
createdAt?: Date;
|
|
36
|
-
}
|
|
@@ -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: CURRENT_TIMESTAMP */
|
|
49
|
-
createdAt?: Date;
|
|
50
|
-
|
|
51
|
-
deletedAt?: Date | null;
|
|
52
|
-
|
|
53
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
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,40 +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
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Represents the initializer for the table public.campaigns_to_positions */
|
|
19
|
-
export interface CampaignsToPositionsInitializer {
|
|
20
|
-
campaignId: CampaignsId;
|
|
21
|
-
|
|
22
|
-
positionId: PositionsId;
|
|
23
|
-
|
|
24
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
25
|
-
createdAt?: Date;
|
|
26
|
-
|
|
27
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
28
|
-
updatedAt?: Date;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/** Represents the mutator for the table public.campaigns_to_positions */
|
|
32
|
-
export interface CampaignsToPositionsMutator {
|
|
33
|
-
campaignId?: CampaignsId;
|
|
34
|
-
|
|
35
|
-
positionId?: PositionsId;
|
|
36
|
-
|
|
37
|
-
createdAt?: Date;
|
|
38
|
-
|
|
39
|
-
updatedAt?: Date;
|
|
40
|
-
}
|
|
@@ -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: CURRENT_TIMESTAMP */
|
|
52
|
-
createdAt?: Date;
|
|
53
|
-
|
|
54
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
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: CURRENT_TIMESTAMP */
|
|
34
|
-
createdAt?: Date;
|
|
35
|
-
|
|
36
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
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;
|
|
@@ -1,42 +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 { default as CandidacyRatingCategories } from './CandidacyRatingCategories';
|
|
6
|
-
|
|
7
|
-
/** Identifier type for public.candidacy_ratings */
|
|
8
|
-
export type CandidacyRatingsId = string;
|
|
9
|
-
|
|
10
|
-
/** Represents the table public.candidacy_ratings */
|
|
11
|
-
export default interface CandidacyRatings {
|
|
12
|
-
id: CandidacyRatingsId;
|
|
13
|
-
|
|
14
|
-
candidacyId: CandidaciesId;
|
|
15
|
-
|
|
16
|
-
rating: number;
|
|
17
|
-
|
|
18
|
-
category: CandidacyRatingCategories;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/** Represents the initializer for the table public.candidacy_ratings */
|
|
22
|
-
export interface CandidacyRatingsInitializer {
|
|
23
|
-
/** Default value: gen_random_uuid() */
|
|
24
|
-
id?: CandidacyRatingsId;
|
|
25
|
-
|
|
26
|
-
candidacyId: CandidaciesId;
|
|
27
|
-
|
|
28
|
-
rating: number;
|
|
29
|
-
|
|
30
|
-
category: CandidacyRatingCategories;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** Represents the mutator for the table public.candidacy_ratings */
|
|
34
|
-
export interface CandidacyRatingsMutator {
|
|
35
|
-
id?: CandidacyRatingsId;
|
|
36
|
-
|
|
37
|
-
candidacyId?: CandidaciesId;
|
|
38
|
-
|
|
39
|
-
rating?: number;
|
|
40
|
-
|
|
41
|
-
category?: CandidacyRatingCategories;
|
|
42
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Represents the enum public.CandidacySources */
|
|
5
|
-
type CandidacySources =
|
|
6
|
-
| 'CAMPAIGN'
|
|
7
|
-
| 'NETWORK'
|
|
8
|
-
| 'WEBSITE'
|
|
9
|
-
| 'SOCIAL_MEDIA';
|
|
10
|
-
|
|
11
|
-
export default CandidacySources;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Represents the enum public.CandidacyStages */
|
|
5
|
-
type CandidacyStages =
|
|
6
|
-
| 'SUBMITTED'
|
|
7
|
-
| 'SCREENING'
|
|
8
|
-
| 'INTERVIEWING'
|
|
9
|
-
| 'OFFERED'
|
|
10
|
-
| 'HIRED'
|
|
11
|
-
| 'REJECTED'
|
|
12
|
-
| 'WITHDRAWN';
|
|
13
|
-
|
|
14
|
-
export default CandidacyStages;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Identifier type for public.certifications */
|
|
5
|
-
export type CertificationsId = string;
|
|
6
|
-
|
|
7
|
-
/** Represents the table public.certifications */
|
|
8
|
-
export default interface Certifications {
|
|
9
|
-
id: CertificationsId;
|
|
10
|
-
|
|
11
|
-
slug: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
description: string | null;
|
|
16
|
-
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
|
|
21
|
-
deletedAt: Date | null;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** Represents the initializer for the table public.certifications */
|
|
25
|
-
export interface CertificationsInitializer {
|
|
26
|
-
/** Default value: gen_random_uuid() */
|
|
27
|
-
id?: CertificationsId;
|
|
28
|
-
|
|
29
|
-
slug: string;
|
|
30
|
-
|
|
31
|
-
name: string;
|
|
32
|
-
|
|
33
|
-
description?: string | null;
|
|
34
|
-
|
|
35
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
36
|
-
createdAt?: Date;
|
|
37
|
-
|
|
38
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
39
|
-
updatedAt?: Date;
|
|
40
|
-
|
|
41
|
-
deletedAt?: Date | null;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/** Represents the mutator for the table public.certifications */
|
|
45
|
-
export interface CertificationsMutator {
|
|
46
|
-
id?: CertificationsId;
|
|
47
|
-
|
|
48
|
-
slug?: string;
|
|
49
|
-
|
|
50
|
-
name?: string;
|
|
51
|
-
|
|
52
|
-
description?: string | null;
|
|
53
|
-
|
|
54
|
-
createdAt?: Date;
|
|
55
|
-
|
|
56
|
-
updatedAt?: Date;
|
|
57
|
-
|
|
58
|
-
deletedAt?: Date | null;
|
|
59
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
/** Represents the enum public.ClientStages */
|
|
5
|
-
type ClientStages =
|
|
6
|
-
| 'PENDING'
|
|
7
|
-
| 'CONTACTED'
|
|
8
|
-
| 'QUALIFYING'
|
|
9
|
-
| 'CONVERTED'
|
|
10
|
-
| 'NOT_CONVERTED';
|
|
11
|
-
|
|
12
|
-
export default ClientStages;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// @generated
|
|
2
|
-
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
-
|
|
4
|
-
import type { default as ClientStatuses } from './ClientStatuses';
|
|
5
|
-
|
|
6
|
-
/** Identifier type for public.clients */
|
|
7
|
-
export type ClientsId = string;
|
|
8
|
-
|
|
9
|
-
/** Represents the table public.clients */
|
|
10
|
-
export default interface Clients {
|
|
11
|
-
id: ClientsId;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
description: string | null;
|
|
16
|
-
|
|
17
|
-
isLead: boolean;
|
|
18
|
-
|
|
19
|
-
status: ClientStatuses | null;
|
|
20
|
-
|
|
21
|
-
createdAt: Date;
|
|
22
|
-
|
|
23
|
-
updatedAt: Date;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Represents the initializer for the table public.clients */
|
|
27
|
-
export interface ClientsInitializer {
|
|
28
|
-
/** Default value: gen_random_uuid() */
|
|
29
|
-
id?: ClientsId;
|
|
30
|
-
|
|
31
|
-
name: string;
|
|
32
|
-
|
|
33
|
-
description?: string | null;
|
|
34
|
-
|
|
35
|
-
/** Default value: true */
|
|
36
|
-
isLead?: boolean;
|
|
37
|
-
|
|
38
|
-
/** Default value: 'ACTIVE'::"ClientStatuses" */
|
|
39
|
-
status?: ClientStatuses | null;
|
|
40
|
-
|
|
41
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
42
|
-
createdAt?: Date;
|
|
43
|
-
|
|
44
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
45
|
-
updatedAt?: Date;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/** Represents the mutator for the table public.clients */
|
|
49
|
-
export interface ClientsMutator {
|
|
50
|
-
id?: ClientsId;
|
|
51
|
-
|
|
52
|
-
name?: string;
|
|
53
|
-
|
|
54
|
-
description?: string | null;
|
|
55
|
-
|
|
56
|
-
isLead?: boolean;
|
|
57
|
-
|
|
58
|
-
status?: ClientStatuses | null;
|
|
59
|
-
|
|
60
|
-
createdAt?: Date;
|
|
61
|
-
|
|
62
|
-
updatedAt?: Date;
|
|
63
|
-
}
|