@the-inkwell/shared 0.1.76 → 0.1.78
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 +1 -1
- package/src/types/_schema/Actions.ts +1 -1
- package/src/types/_schema/Admins.ts +1 -1
- package/src/types/_schema/Campaigns.ts +1 -1
- package/src/types/_schema/Candidacies.ts +1 -1
- package/src/types/_schema/CandidacyFeedback.ts +1 -1
- package/src/types/_schema/Clients.ts +1 -1
- package/src/types/_schema/Contracts.ts +1 -1
- package/src/types/_schema/Conversations.ts +1 -1
- package/src/types/_schema/Jwts.ts +1 -1
- package/src/types/_schema/ListViews.ts +1 -1
- package/src/types/_schema/MessageTemplates.ts +1 -1
- package/src/types/_schema/Messages.ts +1 -1
- package/src/types/_schema/Notes.ts +1 -1
- package/src/types/_schema/Otps.ts +1 -1
- package/src/types/_schema/PersonClubs.ts +1 -1
- package/src/types/_schema/PersonEnrichments.ts +1 -1
- package/src/types/_schema/PersonNetworks.ts +1 -1
- package/src/types/_schema/PersonSkills.ts +1 -1
- package/src/types/_schema/Persons.ts +1 -1
- package/src/types/_schema/Positions.ts +1 -1
- package/src/types/_schema/ReferralPayouts.ts +1 -1
- package/src/types/_schema/Referrals.ts +1 -1
- package/src/types/_schema/Senders.ts +1 -1
- package/src/types/_schema/Tags.ts +1 -1
- package/src/types/_schema/WebsiteBlocks.ts +1 -1
- package/src/types/_schema/WebsiteLandingPages.ts +1 -1
- package/src/types/_schema/WebsiteStaticPages.ts +1 -1
- package/src/types/models/admin/candidacies/index.ts +7 -2
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ import type { ReferralsId } from './Referrals';
|
|
|
11
11
|
import type { default as ActionNames } from './ActionNames';
|
|
12
12
|
|
|
13
13
|
/** Identifier type for public.actions */
|
|
14
|
-
export type ActionsId = string
|
|
14
|
+
export type ActionsId = string;
|
|
15
15
|
|
|
16
16
|
/** Represents the table public.actions */
|
|
17
17
|
export default interface Actions {
|
|
@@ -6,7 +6,7 @@ import type { MessageTemplatesId } from './MessageTemplates';
|
|
|
6
6
|
import type { default as MessageChannels } from './MessageChannels';
|
|
7
7
|
|
|
8
8
|
/** Identifier type for public.campaigns */
|
|
9
|
-
export type CampaignsId = string
|
|
9
|
+
export type CampaignsId = string;
|
|
10
10
|
|
|
11
11
|
/** Represents the table public.campaigns */
|
|
12
12
|
export default interface Campaigns {
|
|
@@ -7,7 +7,7 @@ import type { PersonsId } from './Persons';
|
|
|
7
7
|
import type { PositionsId } from './Positions';
|
|
8
8
|
|
|
9
9
|
/** Identifier type for public.candidacies */
|
|
10
|
-
export type CandidaciesId = string
|
|
10
|
+
export type CandidaciesId = string;
|
|
11
11
|
|
|
12
12
|
/** Represents the table public.candidacies */
|
|
13
13
|
export default interface Candidacies {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { CandidaciesId } from './Candidacies';
|
|
5
5
|
|
|
6
6
|
/** Identifier type for public.candidacy_feedback */
|
|
7
|
-
export type CandidacyFeedbackId = string
|
|
7
|
+
export type CandidacyFeedbackId = string;
|
|
8
8
|
|
|
9
9
|
/** Represents the table public.candidacy_feedback */
|
|
10
10
|
export default interface CandidacyFeedback {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { default as ClientStatuses } from './ClientStatuses';
|
|
5
5
|
|
|
6
6
|
/** Identifier type for public.clients */
|
|
7
|
-
export type ClientsId = string
|
|
7
|
+
export type ClientsId = string;
|
|
8
8
|
|
|
9
9
|
/** Represents the table public.clients */
|
|
10
10
|
export default interface Clients {
|
|
@@ -5,7 +5,7 @@ import type { PositionsId } from './Positions';
|
|
|
5
5
|
import type { ClientsId } from './Clients';
|
|
6
6
|
|
|
7
7
|
/** Identifier type for public.contracts */
|
|
8
|
-
export type ContractsId = string
|
|
8
|
+
export type ContractsId = string;
|
|
9
9
|
|
|
10
10
|
/** Represents the table public.contracts */
|
|
11
11
|
export default interface Contracts {
|
|
@@ -6,7 +6,7 @@ import type { PersonsId } from './Persons';
|
|
|
6
6
|
import type { CampaignsId } from './Campaigns';
|
|
7
7
|
|
|
8
8
|
/** Identifier type for public.conversations */
|
|
9
|
-
export type ConversationsId = string
|
|
9
|
+
export type ConversationsId = string;
|
|
10
10
|
|
|
11
11
|
/** Represents the table public.conversations */
|
|
12
12
|
export default interface Conversations {
|
|
@@ -5,7 +5,7 @@ import type { default as ListViewModels } from './ListViewModels';
|
|
|
5
5
|
import type { PositionsId } from './Positions';
|
|
6
6
|
|
|
7
7
|
/** Identifier type for public.list_views */
|
|
8
|
-
export type ListViewsId = string
|
|
8
|
+
export type ListViewsId = string;
|
|
9
9
|
|
|
10
10
|
/** Represents the table public.list_views */
|
|
11
11
|
export default interface ListViews {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.message_templates */
|
|
5
|
-
export type MessageTemplatesId = string
|
|
5
|
+
export type MessageTemplatesId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.message_templates */
|
|
8
8
|
export default interface MessageTemplates {
|
|
@@ -6,7 +6,7 @@ import type { PersonsId } from './Persons';
|
|
|
6
6
|
import type { ConversationsId } from './Conversations';
|
|
7
7
|
|
|
8
8
|
/** Identifier type for public.messages */
|
|
9
|
-
export type MessagesId = string
|
|
9
|
+
export type MessagesId = string;
|
|
10
10
|
|
|
11
11
|
/** Represents the table public.messages */
|
|
12
12
|
export default interface Messages {
|
|
@@ -7,7 +7,7 @@ import type { PersonsId } from './Persons';
|
|
|
7
7
|
import type { ClientsId } from './Clients';
|
|
8
8
|
|
|
9
9
|
/** Identifier type for public.notes */
|
|
10
|
-
export type NotesId = string
|
|
10
|
+
export type NotesId = string;
|
|
11
11
|
|
|
12
12
|
/** Represents the table public.notes */
|
|
13
13
|
export default interface Notes {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.person_clubs */
|
|
5
|
-
export type PersonClubsId = string
|
|
5
|
+
export type PersonClubsId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.person_clubs */
|
|
8
8
|
export default interface PersonClubs {
|
|
@@ -5,7 +5,7 @@ import type { default as EnrichmentSources } from './EnrichmentSources';
|
|
|
5
5
|
import type { PersonsId } from './Persons';
|
|
6
6
|
|
|
7
7
|
/** Identifier type for public.person_enrichments */
|
|
8
|
-
export type PersonEnrichmentsId = string
|
|
8
|
+
export type PersonEnrichmentsId = string;
|
|
9
9
|
|
|
10
10
|
/** Represents the table public.person_enrichments */
|
|
11
11
|
export default interface PersonEnrichments {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.person_networks */
|
|
5
|
-
export type PersonNetworksId = string
|
|
5
|
+
export type PersonNetworksId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.person_networks */
|
|
8
8
|
export default interface PersonNetworks {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.person_skills */
|
|
5
|
-
export type PersonSkillsId = string
|
|
5
|
+
export type PersonSkillsId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.person_skills */
|
|
8
8
|
export default interface PersonSkills {
|
|
@@ -8,7 +8,7 @@ import type { default as PersonGenders } from './PersonGenders';
|
|
|
8
8
|
import type { ClientsId } from './Clients';
|
|
9
9
|
|
|
10
10
|
/** Identifier type for public.persons */
|
|
11
|
-
export type PersonsId = string
|
|
11
|
+
export type PersonsId = string;
|
|
12
12
|
|
|
13
13
|
/** Represents the table public.persons */
|
|
14
14
|
export default interface Persons {
|
|
@@ -5,7 +5,7 @@ import type { default as PositionStatuses } from './PositionStatuses';
|
|
|
5
5
|
import type { ClientsId } from './Clients';
|
|
6
6
|
|
|
7
7
|
/** Identifier type for public.positions */
|
|
8
|
-
export type PositionsId = string
|
|
8
|
+
export type PositionsId = string;
|
|
9
9
|
|
|
10
10
|
/** Represents the table public.positions */
|
|
11
11
|
export default interface Positions {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { ReferralsId } from './Referrals';
|
|
5
5
|
|
|
6
6
|
/** Identifier type for public.referral_payouts */
|
|
7
|
-
export type ReferralPayoutsId = string
|
|
7
|
+
export type ReferralPayoutsId = string;
|
|
8
8
|
|
|
9
9
|
/** Represents the table public.referral_payouts */
|
|
10
10
|
export default interface ReferralPayouts {
|
|
@@ -8,7 +8,7 @@ import type { CampaignsId } from './Campaigns';
|
|
|
8
8
|
import type { PositionsId } from './Positions';
|
|
9
9
|
|
|
10
10
|
/** Identifier type for public.referrals */
|
|
11
|
-
export type ReferralsId = string
|
|
11
|
+
export type ReferralsId = string;
|
|
12
12
|
|
|
13
13
|
/** Represents the table public.referrals */
|
|
14
14
|
export default interface Referrals {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.senders */
|
|
5
|
-
export type SendersId = string
|
|
5
|
+
export type SendersId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.senders */
|
|
8
8
|
export default interface Senders {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.website_blocks */
|
|
5
|
-
export type WebsiteBlocksId = string
|
|
5
|
+
export type WebsiteBlocksId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.website_blocks */
|
|
8
8
|
export default interface WebsiteBlocks {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.website_landing_pages */
|
|
5
|
-
export type WebsiteLandingPagesId = string
|
|
5
|
+
export type WebsiteLandingPagesId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.website_landing_pages */
|
|
8
8
|
export default interface WebsiteLandingPages {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
/** Identifier type for public.website_static_pages */
|
|
5
|
-
export type WebsiteStaticPagesId = string
|
|
5
|
+
export type WebsiteStaticPagesId = string;
|
|
6
6
|
|
|
7
7
|
/** Represents the table public.website_static_pages */
|
|
8
8
|
export default interface WebsiteStaticPages {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import type Actions from '../../../_schema/Actions'
|
|
2
2
|
import type Candidacies from '../../../_schema/Candidacies'
|
|
3
3
|
import type CandidacyFeedback from '../../../_schema/CandidacyFeedback'
|
|
4
|
+
import Clients from '../../../_schema/Clients'
|
|
4
5
|
import type Notes from '../../../_schema/Notes'
|
|
5
|
-
import
|
|
6
|
+
import Positions from '../../../_schema/Positions'
|
|
6
7
|
import type Referrals from '../../../_schema/Referrals'
|
|
7
8
|
import type Tags from '../../../_schema/Tags'
|
|
8
9
|
import { type ListRequest, type ListResponse } from '../../../utils'
|
|
10
|
+
import { AdminPerson } from '../persons'
|
|
9
11
|
|
|
10
12
|
export type AdminCandidacy = Candidacies & {
|
|
11
13
|
referral?: Pick<Referrals, 'id'>
|
|
12
|
-
person?: Pick<
|
|
14
|
+
person?: Pick<AdminPerson, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
|
|
15
|
+
position?: Pick<Positions, 'id' | 'name'> & {
|
|
16
|
+
client?: Pick<Clients, 'id' | 'name'>
|
|
17
|
+
}
|
|
13
18
|
candidacyRatingToTags?: {
|
|
14
19
|
tag: Pick<Tags, 'id' | 'name'>[]
|
|
15
20
|
}[]
|