@the-inkwell/shared 0.1.163 → 0.1.164
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 +14 -1
- package/src/types/_schema/Admins.ts +14 -1
- package/src/types/_schema/Campaigns.ts +2 -2
- package/src/types/_schema/CampaignsToPositions.ts +1 -8
- package/src/types/_schema/Candidacies.ts +2 -2
- package/src/types/_schema/CandidacyFeedback.ts +2 -2
- package/src/types/_schema/Certifications.ts +2 -2
- package/src/types/_schema/Clients.ts +8 -2
- package/src/types/_schema/Contracts.ts +8 -2
- package/src/types/_schema/Enrichments.ts +8 -2
- package/src/types/_schema/Industries.ts +2 -2
- package/src/types/_schema/JobFunctions.ts +2 -2
- package/src/types/_schema/Jwts.ts +8 -2
- package/src/types/_schema/ListViews.ts +2 -2
- package/src/types/_schema/MessageTemplates.ts +2 -2
- package/src/types/_schema/Messages.ts +8 -2
- package/src/types/_schema/Networks.ts +2 -2
- package/src/types/_schema/Notes.ts +2 -2
- package/src/types/_schema/Otps.ts +8 -2
- package/src/types/_schema/Partners.ts +2 -2
- package/src/types/_schema/Persons.ts +2 -2
- package/src/types/_schema/PersonsToBestPersons.ts +1 -1
- package/src/types/_schema/PersonsToNetworks.ts +1 -1
- package/src/types/_schema/PersonsToSkills.ts +1 -1
- package/src/types/_schema/PersonsToTags.ts +1 -1
- package/src/types/_schema/Positions.ts +2 -2
- package/src/types/_schema/PositionsToIndustries.ts +1 -1
- package/src/types/_schema/PositionsToSkills.ts +1 -1
- package/src/types/_schema/PositionsToTags.ts +1 -1
- package/src/types/_schema/Referrals.ts +2 -8
- package/src/types/_schema/ReferralsToMessages.ts +1 -8
- package/src/types/_schema/Senders.ts +8 -2
- package/src/types/_schema/Skills.ts +2 -2
- package/src/types/_schema/Tags.ts +2 -2
- package/src/types/models/admin/referrals/index.ts +2 -12
package/package.json
CHANGED
|
@@ -36,6 +36,10 @@ export default interface Actions {
|
|
|
36
36
|
createdAt: Date;
|
|
37
37
|
|
|
38
38
|
name: ActionNames;
|
|
39
|
+
|
|
40
|
+
deletedAt: Date | null;
|
|
41
|
+
|
|
42
|
+
updatedAt: Date;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
/** Represents the initializer for the table public.actions */
|
|
@@ -59,10 +63,15 @@ export interface ActionsInitializer {
|
|
|
59
63
|
|
|
60
64
|
data: unknown;
|
|
61
65
|
|
|
62
|
-
/** Default value:
|
|
66
|
+
/** Default value: now() */
|
|
63
67
|
createdAt?: Date;
|
|
64
68
|
|
|
65
69
|
name: ActionNames;
|
|
70
|
+
|
|
71
|
+
deletedAt?: Date | null;
|
|
72
|
+
|
|
73
|
+
/** Default value: now() */
|
|
74
|
+
updatedAt?: Date;
|
|
66
75
|
}
|
|
67
76
|
|
|
68
77
|
/** Represents the mutator for the table public.actions */
|
|
@@ -88,4 +97,8 @@ export interface ActionsMutator {
|
|
|
88
97
|
createdAt?: Date;
|
|
89
98
|
|
|
90
99
|
name?: ActionNames;
|
|
100
|
+
|
|
101
|
+
deletedAt?: Date | null;
|
|
102
|
+
|
|
103
|
+
updatedAt?: Date;
|
|
91
104
|
}
|
|
@@ -13,6 +13,10 @@ export default interface Admins {
|
|
|
13
13
|
personId: PersonsId;
|
|
14
14
|
|
|
15
15
|
createdAt: Date;
|
|
16
|
+
|
|
17
|
+
deletedAt: Date | null;
|
|
18
|
+
|
|
19
|
+
updatedAt: Date;
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
/** Represents the initializer for the table public.admins */
|
|
@@ -22,8 +26,13 @@ export interface AdminsInitializer {
|
|
|
22
26
|
|
|
23
27
|
personId: PersonsId;
|
|
24
28
|
|
|
25
|
-
/** Default value:
|
|
29
|
+
/** Default value: now() */
|
|
26
30
|
createdAt?: Date;
|
|
31
|
+
|
|
32
|
+
deletedAt?: Date | null;
|
|
33
|
+
|
|
34
|
+
/** Default value: now() */
|
|
35
|
+
updatedAt?: Date;
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
/** Represents the mutator for the table public.admins */
|
|
@@ -33,4 +42,8 @@ export interface AdminsMutator {
|
|
|
33
42
|
personId?: PersonsId;
|
|
34
43
|
|
|
35
44
|
createdAt?: Date;
|
|
45
|
+
|
|
46
|
+
deletedAt?: Date | null;
|
|
47
|
+
|
|
48
|
+
updatedAt?: Date;
|
|
36
49
|
}
|
|
@@ -45,12 +45,12 @@ export interface CampaignsInitializer {
|
|
|
45
45
|
|
|
46
46
|
content: unknown;
|
|
47
47
|
|
|
48
|
-
/** Default value:
|
|
48
|
+
/** Default value: now() */
|
|
49
49
|
createdAt?: Date;
|
|
50
50
|
|
|
51
51
|
deletedAt?: Date | null;
|
|
52
52
|
|
|
53
|
-
/** Default value:
|
|
53
|
+
/** Default value: now() */
|
|
54
54
|
updatedAt?: Date;
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -11,8 +11,6 @@ export default interface CampaignsToPositions {
|
|
|
11
11
|
positionId: PositionsId;
|
|
12
12
|
|
|
13
13
|
createdAt: Date;
|
|
14
|
-
|
|
15
|
-
updatedAt: Date;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
/** Represents the initializer for the table public.campaigns_to_positions */
|
|
@@ -21,11 +19,8 @@ export interface CampaignsToPositionsInitializer {
|
|
|
21
19
|
|
|
22
20
|
positionId: PositionsId;
|
|
23
21
|
|
|
24
|
-
/** Default value:
|
|
22
|
+
/** Default value: now() */
|
|
25
23
|
createdAt?: Date;
|
|
26
|
-
|
|
27
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
28
|
-
updatedAt?: Date;
|
|
29
24
|
}
|
|
30
25
|
|
|
31
26
|
/** Represents the mutator for the table public.campaigns_to_positions */
|
|
@@ -35,6 +30,4 @@ export interface CampaignsToPositionsMutator {
|
|
|
35
30
|
positionId?: PositionsId;
|
|
36
31
|
|
|
37
32
|
createdAt?: Date;
|
|
38
|
-
|
|
39
|
-
updatedAt?: Date;
|
|
40
33
|
}
|
|
@@ -48,10 +48,10 @@ export interface CandidaciesInitializer {
|
|
|
48
48
|
|
|
49
49
|
deletedAt?: Date | null;
|
|
50
50
|
|
|
51
|
-
/** Default value:
|
|
51
|
+
/** Default value: now() */
|
|
52
52
|
createdAt?: Date;
|
|
53
53
|
|
|
54
|
-
/** Default value:
|
|
54
|
+
/** Default value: now() */
|
|
55
55
|
updatedAt?: Date;
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -30,10 +30,10 @@ export interface CandidacyFeedbackInitializer {
|
|
|
30
30
|
|
|
31
31
|
content: string;
|
|
32
32
|
|
|
33
|
-
/** Default value:
|
|
33
|
+
/** Default value: now() */
|
|
34
34
|
createdAt?: Date;
|
|
35
35
|
|
|
36
|
-
/** Default value:
|
|
36
|
+
/** Default value: now() */
|
|
37
37
|
updatedAt?: Date;
|
|
38
38
|
|
|
39
39
|
deletedAt?: Date | null;
|
|
@@ -32,10 +32,10 @@ export interface CertificationsInitializer {
|
|
|
32
32
|
|
|
33
33
|
description?: string | null;
|
|
34
34
|
|
|
35
|
-
/** Default value:
|
|
35
|
+
/** Default value: now() */
|
|
36
36
|
createdAt?: Date;
|
|
37
37
|
|
|
38
|
-
/** Default value:
|
|
38
|
+
/** Default value: now() */
|
|
39
39
|
updatedAt?: Date;
|
|
40
40
|
|
|
41
41
|
deletedAt?: Date | null;
|
|
@@ -21,6 +21,8 @@ export default interface Clients {
|
|
|
21
21
|
createdAt: Date;
|
|
22
22
|
|
|
23
23
|
updatedAt: Date;
|
|
24
|
+
|
|
25
|
+
deletedAt: Date | null;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
/** Represents the initializer for the table public.clients */
|
|
@@ -38,11 +40,13 @@ export interface ClientsInitializer {
|
|
|
38
40
|
/** Default value: 'ACTIVE'::"ClientStatuses" */
|
|
39
41
|
status?: ClientStatuses | null;
|
|
40
42
|
|
|
41
|
-
/** Default value:
|
|
43
|
+
/** Default value: now() */
|
|
42
44
|
createdAt?: Date;
|
|
43
45
|
|
|
44
|
-
/** Default value:
|
|
46
|
+
/** Default value: now() */
|
|
45
47
|
updatedAt?: Date;
|
|
48
|
+
|
|
49
|
+
deletedAt?: Date | null;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
/** Represents the mutator for the table public.clients */
|
|
@@ -60,4 +64,6 @@ export interface ClientsMutator {
|
|
|
60
64
|
createdAt?: Date;
|
|
61
65
|
|
|
62
66
|
updatedAt?: Date;
|
|
67
|
+
|
|
68
|
+
deletedAt?: Date | null;
|
|
63
69
|
}
|
|
@@ -22,6 +22,8 @@ export default interface Contracts {
|
|
|
22
22
|
createdAt: Date;
|
|
23
23
|
|
|
24
24
|
updatedAt: Date;
|
|
25
|
+
|
|
26
|
+
deletedAt: Date | null;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
/** Represents the initializer for the table public.contracts */
|
|
@@ -37,11 +39,13 @@ export interface ContractsInitializer {
|
|
|
37
39
|
|
|
38
40
|
clientId: ClientsId;
|
|
39
41
|
|
|
40
|
-
/** Default value:
|
|
42
|
+
/** Default value: now() */
|
|
41
43
|
createdAt?: Date;
|
|
42
44
|
|
|
43
|
-
/** Default value:
|
|
45
|
+
/** Default value: now() */
|
|
44
46
|
updatedAt?: Date;
|
|
47
|
+
|
|
48
|
+
deletedAt?: Date | null;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
/** Represents the mutator for the table public.contracts */
|
|
@@ -59,4 +63,6 @@ export interface ContractsMutator {
|
|
|
59
63
|
createdAt?: Date;
|
|
60
64
|
|
|
61
65
|
updatedAt?: Date;
|
|
66
|
+
|
|
67
|
+
deletedAt?: Date | null;
|
|
62
68
|
}
|
|
@@ -22,6 +22,8 @@ export default interface Enrichments {
|
|
|
22
22
|
createdAt: Date;
|
|
23
23
|
|
|
24
24
|
updatedAt: Date;
|
|
25
|
+
|
|
26
|
+
deletedAt: Date | null;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
/** Represents the initializer for the table public.enrichments */
|
|
@@ -37,11 +39,13 @@ export interface EnrichmentsInitializer {
|
|
|
37
39
|
|
|
38
40
|
personId: PersonsId;
|
|
39
41
|
|
|
40
|
-
/** Default value:
|
|
42
|
+
/** Default value: now() */
|
|
41
43
|
createdAt?: Date;
|
|
42
44
|
|
|
43
|
-
/** Default value:
|
|
45
|
+
/** Default value: now() */
|
|
44
46
|
updatedAt?: Date;
|
|
47
|
+
|
|
48
|
+
deletedAt?: Date | null;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
/** Represents the mutator for the table public.enrichments */
|
|
@@ -59,4 +63,6 @@ export interface EnrichmentsMutator {
|
|
|
59
63
|
createdAt?: Date;
|
|
60
64
|
|
|
61
65
|
updatedAt?: Date;
|
|
66
|
+
|
|
67
|
+
deletedAt?: Date | null;
|
|
62
68
|
}
|
|
@@ -30,10 +30,10 @@ export interface IndustriesInitializer {
|
|
|
30
30
|
|
|
31
31
|
deletedAt?: Date | null;
|
|
32
32
|
|
|
33
|
-
/** Default value:
|
|
33
|
+
/** Default value: now() */
|
|
34
34
|
createdAt?: Date;
|
|
35
35
|
|
|
36
|
-
/** Default value:
|
|
36
|
+
/** Default value: now() */
|
|
37
37
|
updatedAt?: Date;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -28,10 +28,10 @@ export interface JobFunctionsInitializer {
|
|
|
28
28
|
|
|
29
29
|
name: string;
|
|
30
30
|
|
|
31
|
-
/** Default value:
|
|
31
|
+
/** Default value: now() */
|
|
32
32
|
createdAt?: Date;
|
|
33
33
|
|
|
34
|
-
/** Default value:
|
|
34
|
+
/** Default value: now() */
|
|
35
35
|
updatedAt?: Date;
|
|
36
36
|
|
|
37
37
|
deletedAt?: Date | null;
|
|
@@ -19,6 +19,8 @@ export default interface Jwts {
|
|
|
19
19
|
updatedAt: Date;
|
|
20
20
|
|
|
21
21
|
personId: PersonsId;
|
|
22
|
+
|
|
23
|
+
deletedAt: Date | null;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/** Represents the initializer for the table public.jwts */
|
|
@@ -30,13 +32,15 @@ export interface JwtsInitializer {
|
|
|
30
32
|
|
|
31
33
|
revokedAt?: Date | null;
|
|
32
34
|
|
|
33
|
-
/** Default value:
|
|
35
|
+
/** Default value: now() */
|
|
34
36
|
createdAt?: Date;
|
|
35
37
|
|
|
36
|
-
/** Default value:
|
|
38
|
+
/** Default value: now() */
|
|
37
39
|
updatedAt?: Date;
|
|
38
40
|
|
|
39
41
|
personId: PersonsId;
|
|
42
|
+
|
|
43
|
+
deletedAt?: Date | null;
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
/** Represents the mutator for the table public.jwts */
|
|
@@ -52,4 +56,6 @@ export interface JwtsMutator {
|
|
|
52
56
|
updatedAt?: Date;
|
|
53
57
|
|
|
54
58
|
personId?: PersonsId;
|
|
59
|
+
|
|
60
|
+
deletedAt?: Date | null;
|
|
55
61
|
}
|
|
@@ -45,10 +45,10 @@ export interface ListViewsInitializer {
|
|
|
45
45
|
|
|
46
46
|
deletedAt?: Date | null;
|
|
47
47
|
|
|
48
|
-
/** Default value:
|
|
48
|
+
/** Default value: now() */
|
|
49
49
|
createdAt?: Date;
|
|
50
50
|
|
|
51
|
-
/** Default value:
|
|
51
|
+
/** Default value: now() */
|
|
52
52
|
updatedAt?: Date;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -30,10 +30,10 @@ export interface MessageTemplatesInitializer {
|
|
|
30
30
|
|
|
31
31
|
deletedAt?: Date | null;
|
|
32
32
|
|
|
33
|
-
/** Default value:
|
|
33
|
+
/** Default value: now() */
|
|
34
34
|
createdAt?: Date;
|
|
35
35
|
|
|
36
|
-
/** Default value:
|
|
36
|
+
/** Default value: now() */
|
|
37
37
|
updatedAt?: Date;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -36,6 +36,8 @@ export default interface Messages {
|
|
|
36
36
|
isOpened: boolean;
|
|
37
37
|
|
|
38
38
|
isLinkClicked: boolean;
|
|
39
|
+
|
|
40
|
+
deletedAt: Date | null;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
/** Represents the initializer for the table public.messages */
|
|
@@ -54,10 +56,10 @@ export interface MessagesInitializer {
|
|
|
54
56
|
|
|
55
57
|
campaignId?: CampaignsId | null;
|
|
56
58
|
|
|
57
|
-
/** Default value:
|
|
59
|
+
/** Default value: now() */
|
|
58
60
|
createdAt?: Date;
|
|
59
61
|
|
|
60
|
-
/** Default value:
|
|
62
|
+
/** Default value: now() */
|
|
61
63
|
updatedAt?: Date;
|
|
62
64
|
|
|
63
65
|
channel: MessageChannels;
|
|
@@ -71,6 +73,8 @@ export interface MessagesInitializer {
|
|
|
71
73
|
|
|
72
74
|
/** Default value: false */
|
|
73
75
|
isLinkClicked?: boolean;
|
|
76
|
+
|
|
77
|
+
deletedAt?: Date | null;
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
/** Represents the mutator for the table public.messages */
|
|
@@ -100,4 +104,6 @@ export interface MessagesMutator {
|
|
|
100
104
|
isOpened?: boolean;
|
|
101
105
|
|
|
102
106
|
isLinkClicked?: boolean;
|
|
107
|
+
|
|
108
|
+
deletedAt?: Date | null;
|
|
103
109
|
}
|
|
@@ -34,10 +34,10 @@ export interface NetworksInitializer {
|
|
|
34
34
|
|
|
35
35
|
deletedAt?: Date | null;
|
|
36
36
|
|
|
37
|
-
/** Default value:
|
|
37
|
+
/** Default value: now() */
|
|
38
38
|
createdAt?: Date;
|
|
39
39
|
|
|
40
|
-
/** Default value:
|
|
40
|
+
/** Default value: now() */
|
|
41
41
|
updatedAt?: Date;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -47,10 +47,10 @@ export interface NotesInitializer {
|
|
|
47
47
|
|
|
48
48
|
deletedAt?: Date | null;
|
|
49
49
|
|
|
50
|
-
/** Default value:
|
|
50
|
+
/** Default value: now() */
|
|
51
51
|
createdAt?: Date;
|
|
52
52
|
|
|
53
|
-
/** Default value:
|
|
53
|
+
/** Default value: now() */
|
|
54
54
|
updatedAt?: Date;
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -21,6 +21,8 @@ export default interface Otps {
|
|
|
21
21
|
updatedAt: Date;
|
|
22
22
|
|
|
23
23
|
personId: PersonsId;
|
|
24
|
+
|
|
25
|
+
deletedAt: Date | null;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
/** Represents the initializer for the table public.otps */
|
|
@@ -34,13 +36,15 @@ export interface OtpsInitializer {
|
|
|
34
36
|
|
|
35
37
|
expiresAt: Date;
|
|
36
38
|
|
|
37
|
-
/** Default value:
|
|
39
|
+
/** Default value: now() */
|
|
38
40
|
createdAt?: Date;
|
|
39
41
|
|
|
40
|
-
/** Default value:
|
|
42
|
+
/** Default value: now() */
|
|
41
43
|
updatedAt?: Date;
|
|
42
44
|
|
|
43
45
|
personId: PersonsId;
|
|
46
|
+
|
|
47
|
+
deletedAt?: Date | null;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
/** Represents the mutator for the table public.otps */
|
|
@@ -58,4 +62,6 @@ export interface OtpsMutator {
|
|
|
58
62
|
updatedAt?: Date;
|
|
59
63
|
|
|
60
64
|
personId?: PersonsId;
|
|
65
|
+
|
|
66
|
+
deletedAt?: Date | null;
|
|
61
67
|
}
|
|
@@ -38,10 +38,10 @@ export interface PartnersInitializer {
|
|
|
38
38
|
|
|
39
39
|
deletedAt?: Date | null;
|
|
40
40
|
|
|
41
|
-
/** Default value:
|
|
41
|
+
/** Default value: now() */
|
|
42
42
|
createdAt?: Date;
|
|
43
43
|
|
|
44
|
-
/** Default value:
|
|
44
|
+
/** Default value: now() */
|
|
45
45
|
updatedAt?: Date;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -156,10 +156,10 @@ export interface PersonsInitializer {
|
|
|
156
156
|
|
|
157
157
|
deletedAt?: Date | null;
|
|
158
158
|
|
|
159
|
-
/** Default value:
|
|
159
|
+
/** Default value: now() */
|
|
160
160
|
createdAt?: Date;
|
|
161
161
|
|
|
162
|
-
/** Default value:
|
|
162
|
+
/** Default value: now() */
|
|
163
163
|
updatedAt?: Date;
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -74,10 +74,10 @@ export interface PositionsInitializer {
|
|
|
74
74
|
|
|
75
75
|
canceledAt?: Date | null;
|
|
76
76
|
|
|
77
|
-
/** Default value:
|
|
77
|
+
/** Default value: now() */
|
|
78
78
|
createdAt?: Date;
|
|
79
79
|
|
|
80
|
-
/** Default value:
|
|
80
|
+
/** Default value: now() */
|
|
81
81
|
updatedAt?: Date;
|
|
82
82
|
|
|
83
83
|
deletedAt?: Date | null;
|
|
@@ -31,8 +31,6 @@ export default interface Referrals {
|
|
|
31
31
|
createdAt: Date;
|
|
32
32
|
|
|
33
33
|
updatedAt: Date;
|
|
34
|
-
|
|
35
|
-
messageId: string | null;
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
/** Represents the initializer for the table public.referrals */
|
|
@@ -54,13 +52,11 @@ export interface ReferralsInitializer {
|
|
|
54
52
|
|
|
55
53
|
deletedAt?: Date | null;
|
|
56
54
|
|
|
57
|
-
/** Default value:
|
|
55
|
+
/** Default value: now() */
|
|
58
56
|
createdAt?: Date;
|
|
59
57
|
|
|
60
|
-
/** Default value:
|
|
58
|
+
/** Default value: now() */
|
|
61
59
|
updatedAt?: Date;
|
|
62
|
-
|
|
63
|
-
messageId?: string | null;
|
|
64
60
|
}
|
|
65
61
|
|
|
66
62
|
/** Represents the mutator for the table public.referrals */
|
|
@@ -84,6 +80,4 @@ export interface ReferralsMutator {
|
|
|
84
80
|
createdAt?: Date;
|
|
85
81
|
|
|
86
82
|
updatedAt?: Date;
|
|
87
|
-
|
|
88
|
-
messageId?: string | null;
|
|
89
83
|
}
|
|
@@ -13,8 +13,6 @@ export default interface ReferralsToMessages {
|
|
|
13
13
|
isIntro: boolean;
|
|
14
14
|
|
|
15
15
|
createdAt: Date;
|
|
16
|
-
|
|
17
|
-
updatedAt: Date;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
/** Represents the initializer for the table public.referrals_to_messages */
|
|
@@ -26,11 +24,8 @@ export interface ReferralsToMessagesInitializer {
|
|
|
26
24
|
/** Default value: false */
|
|
27
25
|
isIntro?: boolean;
|
|
28
26
|
|
|
29
|
-
/** Default value:
|
|
27
|
+
/** Default value: now() */
|
|
30
28
|
createdAt?: Date;
|
|
31
|
-
|
|
32
|
-
/** Default value: CURRENT_TIMESTAMP */
|
|
33
|
-
updatedAt?: Date;
|
|
34
29
|
}
|
|
35
30
|
|
|
36
31
|
/** Represents the mutator for the table public.referrals_to_messages */
|
|
@@ -42,6 +37,4 @@ export interface ReferralsToMessagesMutator {
|
|
|
42
37
|
isIntro?: boolean;
|
|
43
38
|
|
|
44
39
|
createdAt?: Date;
|
|
45
|
-
|
|
46
|
-
updatedAt?: Date;
|
|
47
40
|
}
|
|
@@ -19,6 +19,8 @@ export default interface Senders {
|
|
|
19
19
|
createdAt: Date;
|
|
20
20
|
|
|
21
21
|
updatedAt: Date;
|
|
22
|
+
|
|
23
|
+
deletedAt: Date | null;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/** Represents the initializer for the table public.senders */
|
|
@@ -34,11 +36,13 @@ export interface SendersInitializer {
|
|
|
34
36
|
|
|
35
37
|
smsNumber?: string | null;
|
|
36
38
|
|
|
37
|
-
/** Default value:
|
|
39
|
+
/** Default value: now() */
|
|
38
40
|
createdAt?: Date;
|
|
39
41
|
|
|
40
|
-
/** Default value:
|
|
42
|
+
/** Default value: now() */
|
|
41
43
|
updatedAt?: Date;
|
|
44
|
+
|
|
45
|
+
deletedAt?: Date | null;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
/** Represents the mutator for the table public.senders */
|
|
@@ -56,4 +60,6 @@ export interface SendersMutator {
|
|
|
56
60
|
createdAt?: Date;
|
|
57
61
|
|
|
58
62
|
updatedAt?: Date;
|
|
63
|
+
|
|
64
|
+
deletedAt?: Date | null;
|
|
59
65
|
}
|
|
@@ -30,10 +30,10 @@ export interface SkillsInitializer {
|
|
|
30
30
|
|
|
31
31
|
deletedAt?: Date | null;
|
|
32
32
|
|
|
33
|
-
/** Default value:
|
|
33
|
+
/** Default value: now() */
|
|
34
34
|
createdAt?: Date;
|
|
35
35
|
|
|
36
|
-
/** Default value:
|
|
36
|
+
/** Default value: now() */
|
|
37
37
|
updatedAt?: Date;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -28,10 +28,10 @@ export interface TagsInitializer {
|
|
|
28
28
|
|
|
29
29
|
name: string;
|
|
30
30
|
|
|
31
|
-
/** Default value:
|
|
31
|
+
/** Default value: now() */
|
|
32
32
|
createdAt?: Date;
|
|
33
33
|
|
|
34
|
-
/** Default value:
|
|
34
|
+
/** Default value: now() */
|
|
35
35
|
updatedAt?: Date;
|
|
36
36
|
|
|
37
37
|
deletedAt?: Date | null;
|
|
@@ -51,12 +51,7 @@ export type AdminReferralListResponse = ListResponse<
|
|
|
51
51
|
|
|
52
52
|
export type AdminReferralCreateInput = Pick<
|
|
53
53
|
AdminPersonInitializer,
|
|
54
|
-
| '
|
|
55
|
-
| 'referrerId'
|
|
56
|
-
| 'candidacyId'
|
|
57
|
-
| 'campaignId'
|
|
58
|
-
| 'positionId'
|
|
59
|
-
| 'messageId'
|
|
54
|
+
'source' | 'referrerId' | 'candidacyId' | 'campaignId' | 'positionId'
|
|
60
55
|
>
|
|
61
56
|
export type AdminReferralCreateResponse = Pick<AdminReferral, 'id'>
|
|
62
57
|
|
|
@@ -64,12 +59,7 @@ export type AdminReferralCreateResponse = Pick<AdminReferral, 'id'>
|
|
|
64
59
|
|
|
65
60
|
export type AdminReferralUpdateInput = Pick<
|
|
66
61
|
AdminReferralMutator,
|
|
67
|
-
| '
|
|
68
|
-
| 'referrerId'
|
|
69
|
-
| 'candidacyId'
|
|
70
|
-
| 'campaignId'
|
|
71
|
-
| 'positionId'
|
|
72
|
-
| 'messageId'
|
|
62
|
+
'source' | 'referrerId' | 'candidacyId' | 'campaignId' | 'positionId'
|
|
73
63
|
>
|
|
74
64
|
|
|
75
65
|
// delete
|