@the-inkwell/shared 0.1.65 → 0.1.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/dist/src/types/_schema/Action.js +4 -0
  2. package/dist/src/types/_schema/ActionNames.js +4 -0
  3. package/dist/src/types/_schema/Admin.js +4 -0
  4. package/dist/src/types/_schema/Campaign.js +4 -0
  5. package/dist/src/types/_schema/CampaignStatuses.js +4 -0
  6. package/dist/src/types/_schema/CampaignToPosition.js +4 -0
  7. package/dist/src/types/_schema/Candidacy.js +4 -0
  8. package/dist/src/types/_schema/CandidacyFeedback.js +4 -0
  9. package/dist/src/types/_schema/CandidacyRatingToTag.js +4 -0
  10. package/dist/src/types/_schema/CandidacySources.js +4 -0
  11. package/dist/src/types/_schema/CandidacyStatuses.js +4 -0
  12. package/dist/src/types/_schema/Client.js +4 -0
  13. package/dist/src/types/_schema/ClientStatuses.js +4 -0
  14. package/dist/src/types/_schema/Contract.js +4 -0
  15. package/dist/src/types/_schema/Conversation.js +4 -0
  16. package/dist/src/types/_schema/EnrichmentSources.js +4 -0
  17. package/dist/src/types/_schema/Jwt.js +4 -0
  18. package/dist/src/types/_schema/ListView.js +4 -0
  19. package/dist/src/types/_schema/ListViewModels.js +4 -0
  20. package/dist/src/types/_schema/Message.js +4 -0
  21. package/dist/src/types/_schema/MessageChannels.js +4 -0
  22. package/dist/src/types/_schema/MessageTemplate.js +4 -0
  23. package/dist/src/types/_schema/Note.js +4 -0
  24. package/dist/src/types/_schema/Otp.js +4 -0
  25. package/dist/src/types/_schema/Person.js +4 -0
  26. package/dist/src/types/_schema/PersonCareerLevels.js +4 -0
  27. package/dist/src/types/_schema/PersonClub.js +4 -0
  28. package/dist/src/types/_schema/PersonDegrees.js +4 -0
  29. package/dist/src/types/_schema/PersonEnrichment.js +4 -0
  30. package/dist/src/types/_schema/PersonGenders.js +4 -0
  31. package/dist/src/types/_schema/PersonNetwork.js +4 -0
  32. package/dist/src/types/_schema/PersonSkill.js +4 -0
  33. package/dist/src/types/_schema/PersonSources.js +4 -0
  34. package/dist/src/types/_schema/PersonToBestPerson.js +4 -0
  35. package/dist/src/types/_schema/PersonToPersonClub.js +4 -0
  36. package/dist/src/types/_schema/PersonToPersonNetwork.js +4 -0
  37. package/dist/src/types/_schema/PersonToPersonSkill.js +4 -0
  38. package/dist/src/types/_schema/PersonToTag.js +4 -0
  39. package/dist/src/types/_schema/Position.js +4 -0
  40. package/dist/src/types/_schema/PositionStatuses.js +4 -0
  41. package/dist/src/types/_schema/Referral.js +4 -0
  42. package/dist/src/types/_schema/ReferralPayout.js +4 -0
  43. package/dist/src/types/_schema/ReferralSources.js +4 -0
  44. package/dist/src/types/_schema/ReferralToIntroMessage.js +4 -0
  45. package/dist/src/types/_schema/Sender.js +4 -0
  46. package/dist/src/types/_schema/Tag.js +4 -0
  47. package/dist/src/types/_schema/WebsiteBlock.js +4 -0
  48. package/dist/src/types/_schema/WebsiteLandingPage.js +4 -0
  49. package/dist/src/types/_schema/WebsiteStaticPage.js +4 -0
  50. package/dist/src/types/http/admin/candidacies/index.js +2 -0
  51. package/dist/src/types/http/admin/index.js +19 -0
  52. package/dist/src/types/http/admin/persons/index.js +2 -0
  53. package/dist/src/types/http/admin/website/index.js +2 -0
  54. package/dist/src/types/http/auth/index.js +2 -0
  55. package/dist/src/types/http/index.js +19 -0
  56. package/dist/src/types/http/utils/index.js +2 -0
  57. package/dist/src/types/index.js +2 -3
  58. package/dist/src/types/models/admin/candidacies/index.js +2 -0
  59. package/dist/src/types/models/admin/index.js +19 -0
  60. package/dist/src/types/models/admin/persons/index.js +2 -0
  61. package/dist/src/types/models/admin/website/index.js +2 -0
  62. package/dist/src/types/models/auth/index.js +2 -0
  63. package/dist/src/types/models/index.js +19 -0
  64. package/dist/src/types/schemas/Database.js +4 -0
  65. package/dist/src/types/schemas/index.js +23 -0
  66. package/dist/src/types/schemas/public/Action.js +4 -0
  67. package/dist/src/types/schemas/public/ActionNames.js +4 -0
  68. package/dist/src/types/schemas/public/Admin.js +4 -0
  69. package/dist/src/types/schemas/public/Campaign.js +4 -0
  70. package/dist/src/types/schemas/public/CampaignStatuses.js +4 -0
  71. package/dist/src/types/schemas/public/CampaignToPosition.js +4 -0
  72. package/dist/src/types/schemas/public/Candidacy.js +4 -0
  73. package/dist/src/types/schemas/public/CandidacyFeedback.js +4 -0
  74. package/dist/src/types/schemas/public/CandidacyRatingToTag.js +4 -0
  75. package/dist/src/types/schemas/public/CandidacySources.js +4 -0
  76. package/dist/src/types/schemas/public/CandidacyStatuses.js +4 -0
  77. package/dist/src/types/schemas/public/Client.js +4 -0
  78. package/dist/src/types/schemas/public/ClientStatuses.js +4 -0
  79. package/dist/src/types/schemas/public/Contract.js +4 -0
  80. package/dist/src/types/schemas/public/Conversation.js +4 -0
  81. package/dist/src/types/schemas/public/EnrichmentSources.js +4 -0
  82. package/dist/src/types/schemas/public/Jwt.js +4 -0
  83. package/dist/src/types/schemas/public/ListView.js +4 -0
  84. package/dist/src/types/schemas/public/ListViewModels.js +4 -0
  85. package/dist/src/types/schemas/public/Message.js +4 -0
  86. package/dist/src/types/schemas/public/MessageChannels.js +4 -0
  87. package/dist/src/types/schemas/public/MessageSender.js +4 -0
  88. package/dist/src/types/schemas/public/MessageTemplate.js +4 -0
  89. package/dist/src/types/schemas/public/Note.js +4 -0
  90. package/dist/src/types/schemas/public/Otp.js +4 -0
  91. package/dist/src/types/schemas/public/Person.js +4 -0
  92. package/dist/src/types/schemas/public/PersonCareerLevels.js +4 -0
  93. package/dist/src/types/schemas/public/PersonClub.js +4 -0
  94. package/dist/src/types/schemas/public/PersonDegrees.js +4 -0
  95. package/dist/src/types/schemas/public/PersonEnrichment.js +4 -0
  96. package/dist/src/types/schemas/public/PersonGenders.js +4 -0
  97. package/dist/src/types/schemas/public/PersonNetwork.js +4 -0
  98. package/dist/src/types/schemas/public/PersonSkill.js +4 -0
  99. package/dist/src/types/schemas/public/PersonSources.js +4 -0
  100. package/dist/src/types/schemas/public/PersonToBestPerson.js +4 -0
  101. package/dist/src/types/schemas/public/PersonToPersonClub.js +4 -0
  102. package/dist/src/types/schemas/public/PersonToPersonNetwork.js +4 -0
  103. package/dist/src/types/schemas/public/PersonToPersonSkill.js +4 -0
  104. package/dist/src/types/schemas/public/PersonToTag.js +4 -0
  105. package/dist/src/types/schemas/public/Position.js +4 -0
  106. package/dist/src/types/schemas/public/PositionStatuses.js +4 -0
  107. package/dist/src/types/schemas/public/PrismaMigrations.js +4 -0
  108. package/dist/src/types/schemas/public/PublicSchema.js +4 -0
  109. package/dist/src/types/schemas/public/Referral.js +4 -0
  110. package/dist/src/types/schemas/public/ReferralPayout.js +4 -0
  111. package/dist/src/types/schemas/public/ReferralSources.js +4 -0
  112. package/dist/src/types/schemas/public/ReferralToIntroMessage.js +4 -0
  113. package/dist/src/types/schemas/public/Sender.js +4 -0
  114. package/dist/src/types/schemas/public/Tag.js +4 -0
  115. package/dist/src/types/schemas/public/WebsiteBlock.js +4 -0
  116. package/dist/src/types/schemas/public/WebsiteLandingPage.js +4 -0
  117. package/dist/src/types/schemas/public/WebsiteStaticPage.js +4 -0
  118. package/dist/src/types/utils/index.js +2 -0
  119. package/package.json +4 -1
  120. package/src/types/_schema/Action.ts +91 -0
  121. package/src/types/_schema/ActionNames.ts +11 -0
  122. package/src/types/_schema/Admin.ts +36 -0
  123. package/src/types/_schema/Campaign.ts +77 -0
  124. package/src/types/_schema/CampaignStatuses.ts +10 -0
  125. package/src/types/_schema/CampaignToPosition.ts +40 -0
  126. package/src/types/_schema/Candidacy.ts +84 -0
  127. package/src/types/_schema/CandidacyFeedback.ts +55 -0
  128. package/src/types/_schema/CandidacyRatingToTag.ts +40 -0
  129. package/src/types/_schema/CandidacySources.ts +11 -0
  130. package/src/types/_schema/CandidacyStatuses.ts +14 -0
  131. package/src/types/_schema/Client.ts +56 -0
  132. package/src/types/_schema/ClientStatuses.ts +10 -0
  133. package/src/types/_schema/Contract.ts +62 -0
  134. package/src/types/_schema/Conversation.ts +64 -0
  135. package/src/types/_schema/EnrichmentSources.ts +8 -0
  136. package/src/types/_schema/Jwt.ts +55 -0
  137. package/src/types/_schema/ListView.ts +74 -0
  138. package/src/types/_schema/ListViewModels.ts +11 -0
  139. package/src/types/_schema/Message.ts +70 -0
  140. package/src/types/_schema/MessageChannels.ts +9 -0
  141. package/src/types/_schema/MessageTemplate.ts +53 -0
  142. package/src/types/_schema/Note.ts +76 -0
  143. package/src/types/_schema/Otp.ts +61 -0
  144. package/src/types/_schema/Person.ts +293 -0
  145. package/src/types/_schema/PersonCareerLevels.ts +13 -0
  146. package/src/types/_schema/PersonClub.ts +53 -0
  147. package/src/types/_schema/PersonDegrees.ts +13 -0
  148. package/src/types/_schema/PersonEnrichment.ts +62 -0
  149. package/src/types/_schema/PersonGenders.ts +11 -0
  150. package/src/types/_schema/PersonNetwork.ts +53 -0
  151. package/src/types/_schema/PersonSkill.ts +53 -0
  152. package/src/types/_schema/PersonSources.ts +11 -0
  153. package/src/types/_schema/PersonToBestPerson.ts +32 -0
  154. package/src/types/_schema/PersonToPersonClub.ts +33 -0
  155. package/src/types/_schema/PersonToPersonNetwork.ts +33 -0
  156. package/src/types/_schema/PersonToPersonSkill.ts +33 -0
  157. package/src/types/_schema/PersonToTag.ts +33 -0
  158. package/src/types/_schema/Position.ts +77 -0
  159. package/src/types/_schema/PositionStatuses.ts +9 -0
  160. package/src/types/_schema/Referral.ts +78 -0
  161. package/src/types/_schema/ReferralPayout.ts +29 -0
  162. package/src/types/_schema/ReferralSources.ts +10 -0
  163. package/src/types/_schema/ReferralToIntroMessage.ts +40 -0
  164. package/src/types/_schema/Sender.ts +59 -0
  165. package/src/types/_schema/Tag.ts +47 -0
  166. package/src/types/_schema/WebsiteBlock.ts +45 -0
  167. package/src/types/_schema/WebsiteLandingPage.ts +47 -0
  168. package/src/types/_schema/WebsiteStaticPage.ts +53 -0
  169. package/src/types/index.ts +2 -3
  170. package/src/types/models/admin/candidacies/index.ts +26 -0
  171. package/src/types/models/admin/persons/index.ts +33 -0
  172. package/src/types/models/admin/website/index.ts +22 -0
  173. package/src/types/models/auth/index.ts +6 -0
  174. package/src/types/models/index.ts +3 -0
  175. package/src/types/admin/candidacies/index.ts +0 -38
  176. package/src/types/admin/persons/index.ts +0 -111
  177. package/src/types/admin/website/index.ts +0 -43
  178. package/src/types/auth/index.ts +0 -7
  179. /package/src/types/{admin → models/admin}/index.ts +0 -0
  180. /package/src/types/{shared → utils}/index.ts +0 -0
@@ -0,0 +1,293 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { default as PersonSources } from './PersonSources';
5
+ import type { default as PersonCareerLevels } from './PersonCareerLevels';
6
+ import type { default as PersonDegrees } from './PersonDegrees';
7
+ import type { default as PersonGenders } from './PersonGenders';
8
+ import type { ClientId } from './Client';
9
+
10
+ /** Identifier type for public.Person */
11
+ export type PersonId = string & { __brand: 'PersonId' };
12
+
13
+ /** Represents the table public.Person */
14
+ export default interface Person {
15
+ id: PersonId;
16
+
17
+ email: string;
18
+
19
+ emailVerified: boolean;
20
+
21
+ firstName: string | null;
22
+
23
+ lastName: string | null;
24
+
25
+ linkedInUrl: string | null;
26
+
27
+ phone: string | null;
28
+
29
+ phoneVerified: boolean;
30
+
31
+ emailOptOut: boolean;
32
+
33
+ smsOptOut: boolean;
34
+
35
+ resumeUrl: string | null;
36
+
37
+ photoUrl: string | null;
38
+
39
+ lat: number | null;
40
+
41
+ lon: number | null;
42
+
43
+ city: string | null;
44
+
45
+ state: string | null;
46
+
47
+ postalCode: string | null;
48
+
49
+ country: string | null;
50
+
51
+ additionalEmails: string[] | null;
52
+
53
+ additionalPhones: string[] | null;
54
+
55
+ source: PersonSources | null;
56
+
57
+ website: string | null;
58
+
59
+ currentSalary: number | null;
60
+
61
+ expectedSalary: number | null;
62
+
63
+ currentEmployer: string | null;
64
+
65
+ currentTitle: string | null;
66
+
67
+ careerLevel: PersonCareerLevels | null;
68
+
69
+ certifications: string[] | null;
70
+
71
+ openToRelocate: boolean | null;
72
+
73
+ highestDegreeObtained: PersonDegrees | null;
74
+
75
+ undergraduateInstitution: string | null;
76
+
77
+ typeOfUndergraduateDegree: string | null;
78
+
79
+ graduateInstitution: string | null;
80
+
81
+ typeOfGraduateDegree: string | null;
82
+
83
+ gender: PersonGenders | null;
84
+
85
+ howDidYouHearAboutUs: string | null;
86
+
87
+ sourcePersonId: PersonId | null;
88
+
89
+ deactivatedAt: Date | null;
90
+
91
+ lastSignedInAt: Date | null;
92
+
93
+ signInCount: number;
94
+
95
+ clientId: ClientId | null;
96
+
97
+ deletedAt: Date | null;
98
+
99
+ createdAt: Date;
100
+
101
+ updatedAt: Date;
102
+ }
103
+
104
+ /** Represents the initializer for the table public.Person */
105
+ export interface PersonInitializer {
106
+ /** Default value: gen_random_uuid() */
107
+ id?: PersonId;
108
+
109
+ email: string;
110
+
111
+ /** Default value: false */
112
+ emailVerified?: boolean;
113
+
114
+ firstName?: string | null;
115
+
116
+ lastName?: string | null;
117
+
118
+ linkedInUrl?: string | null;
119
+
120
+ phone?: string | null;
121
+
122
+ /** Default value: false */
123
+ phoneVerified?: boolean;
124
+
125
+ /** Default value: false */
126
+ emailOptOut?: boolean;
127
+
128
+ /** Default value: false */
129
+ smsOptOut?: boolean;
130
+
131
+ resumeUrl?: string | null;
132
+
133
+ photoUrl?: string | null;
134
+
135
+ lat?: number | null;
136
+
137
+ lon?: number | null;
138
+
139
+ city?: string | null;
140
+
141
+ state?: string | null;
142
+
143
+ postalCode?: string | null;
144
+
145
+ country?: string | null;
146
+
147
+ additionalEmails?: string[] | null;
148
+
149
+ additionalPhones?: string[] | null;
150
+
151
+ /** Default value: 'STAFF'::"PersonSources" */
152
+ source?: PersonSources | null;
153
+
154
+ website?: string | null;
155
+
156
+ currentSalary?: number | null;
157
+
158
+ expectedSalary?: number | null;
159
+
160
+ currentEmployer?: string | null;
161
+
162
+ currentTitle?: string | null;
163
+
164
+ careerLevel?: PersonCareerLevels | null;
165
+
166
+ certifications?: string[] | null;
167
+
168
+ openToRelocate?: boolean | null;
169
+
170
+ highestDegreeObtained?: PersonDegrees | null;
171
+
172
+ undergraduateInstitution?: string | null;
173
+
174
+ typeOfUndergraduateDegree?: string | null;
175
+
176
+ graduateInstitution?: string | null;
177
+
178
+ typeOfGraduateDegree?: string | null;
179
+
180
+ gender?: PersonGenders | null;
181
+
182
+ howDidYouHearAboutUs?: string | null;
183
+
184
+ sourcePersonId?: PersonId | null;
185
+
186
+ deactivatedAt?: Date | null;
187
+
188
+ lastSignedInAt?: Date | null;
189
+
190
+ /** Default value: 0 */
191
+ signInCount?: number;
192
+
193
+ clientId?: ClientId | null;
194
+
195
+ deletedAt?: Date | null;
196
+
197
+ /** Default value: CURRENT_TIMESTAMP */
198
+ createdAt?: Date;
199
+
200
+ /** Default value: CURRENT_TIMESTAMP */
201
+ updatedAt?: Date;
202
+ }
203
+
204
+ /** Represents the mutator for the table public.Person */
205
+ export interface PersonMutator {
206
+ id?: PersonId;
207
+
208
+ email?: string;
209
+
210
+ emailVerified?: boolean;
211
+
212
+ firstName?: string | null;
213
+
214
+ lastName?: string | null;
215
+
216
+ linkedInUrl?: string | null;
217
+
218
+ phone?: string | null;
219
+
220
+ phoneVerified?: boolean;
221
+
222
+ emailOptOut?: boolean;
223
+
224
+ smsOptOut?: boolean;
225
+
226
+ resumeUrl?: string | null;
227
+
228
+ photoUrl?: string | null;
229
+
230
+ lat?: number | null;
231
+
232
+ lon?: number | null;
233
+
234
+ city?: string | null;
235
+
236
+ state?: string | null;
237
+
238
+ postalCode?: string | null;
239
+
240
+ country?: string | null;
241
+
242
+ additionalEmails?: string[] | null;
243
+
244
+ additionalPhones?: string[] | null;
245
+
246
+ source?: PersonSources | null;
247
+
248
+ website?: string | null;
249
+
250
+ currentSalary?: number | null;
251
+
252
+ expectedSalary?: number | null;
253
+
254
+ currentEmployer?: string | null;
255
+
256
+ currentTitle?: string | null;
257
+
258
+ careerLevel?: PersonCareerLevels | null;
259
+
260
+ certifications?: string[] | null;
261
+
262
+ openToRelocate?: boolean | null;
263
+
264
+ highestDegreeObtained?: PersonDegrees | null;
265
+
266
+ undergraduateInstitution?: string | null;
267
+
268
+ typeOfUndergraduateDegree?: string | null;
269
+
270
+ graduateInstitution?: string | null;
271
+
272
+ typeOfGraduateDegree?: string | null;
273
+
274
+ gender?: PersonGenders | null;
275
+
276
+ howDidYouHearAboutUs?: string | null;
277
+
278
+ sourcePersonId?: PersonId | null;
279
+
280
+ deactivatedAt?: Date | null;
281
+
282
+ lastSignedInAt?: Date | null;
283
+
284
+ signInCount?: number;
285
+
286
+ clientId?: ClientId | null;
287
+
288
+ deletedAt?: Date | null;
289
+
290
+ createdAt?: Date;
291
+
292
+ updatedAt?: Date;
293
+ }
@@ -0,0 +1,13 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Represents the enum public.PersonCareerLevels */
5
+ type PersonCareerLevels =
6
+ | 'EXPERIENCED'
7
+ | 'MANAGER'
8
+ | 'DIRECTOR'
9
+ | 'VICE_PRESIDENT'
10
+ | 'VICE_PRESIDENT_SENIOR'
11
+ | 'CHIEF_SUITE';
12
+
13
+ export default PersonCareerLevels;
@@ -0,0 +1,53 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Identifier type for public.PersonClub */
5
+ export type PersonClubId = string & { __brand: 'PersonClubId' };
6
+
7
+ /** Represents the table public.PersonClub */
8
+ export default interface PersonClub {
9
+ id: PersonClubId;
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.PersonClub */
23
+ export interface PersonClubInitializer {
24
+ /** Default value: gen_random_uuid() */
25
+ id?: PersonClubId;
26
+
27
+ slug: string;
28
+
29
+ name: string;
30
+
31
+ deletedAt?: Date | null;
32
+
33
+ /** Default value: CURRENT_TIMESTAMP */
34
+ createdAt?: Date;
35
+
36
+ /** Default value: CURRENT_TIMESTAMP */
37
+ updatedAt?: Date;
38
+ }
39
+
40
+ /** Represents the mutator for the table public.PersonClub */
41
+ export interface PersonClubMutator {
42
+ id?: PersonClubId;
43
+
44
+ slug?: string;
45
+
46
+ name?: string;
47
+
48
+ deletedAt?: Date | null;
49
+
50
+ createdAt?: Date;
51
+
52
+ updatedAt?: Date;
53
+ }
@@ -0,0 +1,13 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Represents the enum public.PersonDegrees */
5
+ type PersonDegrees =
6
+ | 'HIGH_SCHOOL'
7
+ | 'ASSOCIATES'
8
+ | 'BACHELORS'
9
+ | 'MASTERS'
10
+ | 'JURIS_DOCTORATE'
11
+ | 'DOCTORATE';
12
+
13
+ export default PersonDegrees;
@@ -0,0 +1,62 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { default as EnrichmentSources } from './EnrichmentSources';
5
+ import type { PersonId } from './Person';
6
+
7
+ /** Identifier type for public.PersonEnrichment */
8
+ export type PersonEnrichmentId = string & { __brand: 'PersonEnrichmentId' };
9
+
10
+ /** Represents the table public.PersonEnrichment */
11
+ export default interface PersonEnrichment {
12
+ id: PersonEnrichmentId;
13
+
14
+ data: unknown | null;
15
+
16
+ likelihood: number | null;
17
+
18
+ source: EnrichmentSources;
19
+
20
+ personId: PersonId;
21
+
22
+ createdAt: Date;
23
+
24
+ updatedAt: Date;
25
+ }
26
+
27
+ /** Represents the initializer for the table public.PersonEnrichment */
28
+ export interface PersonEnrichmentInitializer {
29
+ /** Default value: gen_random_uuid() */
30
+ id?: PersonEnrichmentId;
31
+
32
+ data?: unknown | null;
33
+
34
+ likelihood?: number | null;
35
+
36
+ source: EnrichmentSources;
37
+
38
+ personId: PersonId;
39
+
40
+ /** Default value: CURRENT_TIMESTAMP */
41
+ createdAt?: Date;
42
+
43
+ /** Default value: CURRENT_TIMESTAMP */
44
+ updatedAt?: Date;
45
+ }
46
+
47
+ /** Represents the mutator for the table public.PersonEnrichment */
48
+ export interface PersonEnrichmentMutator {
49
+ id?: PersonEnrichmentId;
50
+
51
+ data?: unknown | null;
52
+
53
+ likelihood?: number | null;
54
+
55
+ source?: EnrichmentSources;
56
+
57
+ personId?: PersonId;
58
+
59
+ createdAt?: Date;
60
+
61
+ updatedAt?: Date;
62
+ }
@@ -0,0 +1,11 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Represents the enum public.PersonGenders */
5
+ type PersonGenders =
6
+ | 'MAN'
7
+ | 'WOMAN'
8
+ | 'NON_BINARY'
9
+ | 'UNDISCLOSED';
10
+
11
+ export default PersonGenders;
@@ -0,0 +1,53 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Identifier type for public.PersonNetwork */
5
+ export type PersonNetworkId = string & { __brand: 'PersonNetworkId' };
6
+
7
+ /** Represents the table public.PersonNetwork */
8
+ export default interface PersonNetwork {
9
+ id: PersonNetworkId;
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.PersonNetwork */
23
+ export interface PersonNetworkInitializer {
24
+ /** Default value: gen_random_uuid() */
25
+ id?: PersonNetworkId;
26
+
27
+ slug: string;
28
+
29
+ name: string;
30
+
31
+ deletedAt?: Date | null;
32
+
33
+ /** Default value: CURRENT_TIMESTAMP */
34
+ createdAt?: Date;
35
+
36
+ /** Default value: CURRENT_TIMESTAMP */
37
+ updatedAt?: Date;
38
+ }
39
+
40
+ /** Represents the mutator for the table public.PersonNetwork */
41
+ export interface PersonNetworkMutator {
42
+ id?: PersonNetworkId;
43
+
44
+ slug?: string;
45
+
46
+ name?: string;
47
+
48
+ deletedAt?: Date | null;
49
+
50
+ createdAt?: Date;
51
+
52
+ updatedAt?: Date;
53
+ }
@@ -0,0 +1,53 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Identifier type for public.PersonSkill */
5
+ export type PersonSkillId = string & { __brand: 'PersonSkillId' };
6
+
7
+ /** Represents the table public.PersonSkill */
8
+ export default interface PersonSkill {
9
+ id: PersonSkillId;
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.PersonSkill */
23
+ export interface PersonSkillInitializer {
24
+ /** Default value: gen_random_uuid() */
25
+ id?: PersonSkillId;
26
+
27
+ slug: string;
28
+
29
+ name: string;
30
+
31
+ deletedAt?: Date | null;
32
+
33
+ /** Default value: CURRENT_TIMESTAMP */
34
+ createdAt?: Date;
35
+
36
+ /** Default value: CURRENT_TIMESTAMP */
37
+ updatedAt?: Date;
38
+ }
39
+
40
+ /** Represents the mutator for the table public.PersonSkill */
41
+ export interface PersonSkillMutator {
42
+ id?: PersonSkillId;
43
+
44
+ slug?: string;
45
+
46
+ name?: string;
47
+
48
+ deletedAt?: Date | null;
49
+
50
+ createdAt?: Date;
51
+
52
+ updatedAt?: Date;
53
+ }
@@ -0,0 +1,11 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ /** Represents the enum public.PersonSources */
5
+ type PersonSources =
6
+ | 'STAFF'
7
+ | 'NETWORK'
8
+ | 'WEBSITE'
9
+ | 'INTERNET';
10
+
11
+ export default PersonSources;
@@ -0,0 +1,32 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PersonId } from './Person';
5
+
6
+ /** Represents the table public.PersonToBestPerson */
7
+ export default interface PersonToBestPerson {
8
+ bestiedByPersonId: PersonId;
9
+
10
+ bestPersonId: PersonId;
11
+
12
+ createdAt: Date;
13
+ }
14
+
15
+ /** Represents the initializer for the table public.PersonToBestPerson */
16
+ export interface PersonToBestPersonInitializer {
17
+ bestiedByPersonId: PersonId;
18
+
19
+ bestPersonId: PersonId;
20
+
21
+ /** Default value: CURRENT_TIMESTAMP */
22
+ createdAt?: Date;
23
+ }
24
+
25
+ /** Represents the mutator for the table public.PersonToBestPerson */
26
+ export interface PersonToBestPersonMutator {
27
+ bestiedByPersonId?: PersonId;
28
+
29
+ bestPersonId?: PersonId;
30
+
31
+ createdAt?: Date;
32
+ }
@@ -0,0 +1,33 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PersonId } from './Person';
5
+ import type { PersonClubId } from './PersonClub';
6
+
7
+ /** Represents the table public.PersonToPersonClub */
8
+ export default interface PersonToPersonClub {
9
+ personId: PersonId;
10
+
11
+ clubId: PersonClubId;
12
+
13
+ createdAt: Date;
14
+ }
15
+
16
+ /** Represents the initializer for the table public.PersonToPersonClub */
17
+ export interface PersonToPersonClubInitializer {
18
+ personId: PersonId;
19
+
20
+ clubId: PersonClubId;
21
+
22
+ /** Default value: CURRENT_TIMESTAMP */
23
+ createdAt?: Date;
24
+ }
25
+
26
+ /** Represents the mutator for the table public.PersonToPersonClub */
27
+ export interface PersonToPersonClubMutator {
28
+ personId?: PersonId;
29
+
30
+ clubId?: PersonClubId;
31
+
32
+ createdAt?: Date;
33
+ }
@@ -0,0 +1,33 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PersonId } from './Person';
5
+ import type { PersonNetworkId } from './PersonNetwork';
6
+
7
+ /** Represents the table public.PersonToPersonNetwork */
8
+ export default interface PersonToPersonNetwork {
9
+ personId: PersonId;
10
+
11
+ networkId: PersonNetworkId;
12
+
13
+ createdAt: Date;
14
+ }
15
+
16
+ /** Represents the initializer for the table public.PersonToPersonNetwork */
17
+ export interface PersonToPersonNetworkInitializer {
18
+ personId: PersonId;
19
+
20
+ networkId: PersonNetworkId;
21
+
22
+ /** Default value: CURRENT_TIMESTAMP */
23
+ createdAt?: Date;
24
+ }
25
+
26
+ /** Represents the mutator for the table public.PersonToPersonNetwork */
27
+ export interface PersonToPersonNetworkMutator {
28
+ personId?: PersonId;
29
+
30
+ networkId?: PersonNetworkId;
31
+
32
+ createdAt?: Date;
33
+ }
@@ -0,0 +1,33 @@
1
+ // @generated
2
+ // This file is automatically generated by Kanel. Do not modify manually.
3
+
4
+ import type { PersonId } from './Person';
5
+ import type { PersonSkillId } from './PersonSkill';
6
+
7
+ /** Represents the table public.PersonToPersonSkill */
8
+ export default interface PersonToPersonSkill {
9
+ personId: PersonId;
10
+
11
+ skillId: PersonSkillId;
12
+
13
+ createdAt: Date;
14
+ }
15
+
16
+ /** Represents the initializer for the table public.PersonToPersonSkill */
17
+ export interface PersonToPersonSkillInitializer {
18
+ personId: PersonId;
19
+
20
+ skillId: PersonSkillId;
21
+
22
+ /** Default value: CURRENT_TIMESTAMP */
23
+ createdAt?: Date;
24
+ }
25
+
26
+ /** Represents the mutator for the table public.PersonToPersonSkill */
27
+ export interface PersonToPersonSkillMutator {
28
+ personId?: PersonId;
29
+
30
+ skillId?: PersonSkillId;
31
+
32
+ createdAt?: Date;
33
+ }