@betterinternship/schema 1.13.1 → 1.13.2

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.
@@ -1,312 +1,312 @@
1
- import type { ColumnType } from "kysely";
2
- export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
3
- export type IomAuditEventType = "auto_request_enabled" | "auto_request_revoked" | "auto_sign_enabled" | "auto_sign_revoked" | "career_nudge_sent" | "company_blacklisted" | "company_invite_accepted" | "company_invite_cancelled" | "company_invite_registered" | "company_invite_sent" | "company_review_approved" | "company_review_rejected" | "company_review_requested" | "company_unblacklisted" | "legacy_document_uploaded" | "legacy_moa_bulk_uploaded" | "legacy_moa_created" | "moa_issued" | "moa_renewal_requested" | "moa_revoked" | "university_account_deactivated" | "university_account_invited" | "university_account_reactivated" | "university_account_role_changed" | "university_account_signed_in" | "university_profile_updated";
4
- export type IomAuthPurpose = "auto_sign_revoke" | "invite" | "moa_signature" | "password_reset";
5
- export type IomAuthSubjectType = "auto_sign_consent" | "company" | "company_invite" | "company_listing_invite" | "company_moa_invite" | "moa_request" | "university_account";
6
- export type IomAutoConsentKind = "delegate" | "owner";
7
- export type IomCompanyInviteKind = "listing" | "moa";
8
- export type IomCompanyInviteStatus = "accepted" | "cancelled" | "expired" | "pending" | "used_waiting";
9
- export type IomCompanyReviewStatus = "approved" | "rejected" | "superseded";
10
- export type IomCompanyType = "corporation" | "government_agency" | "partnership" | "sole_proprietorship";
11
- export type IomMoaRequestStatus = "awaiting_signature" | "awaiting_verification" | "cancelled" | "expired" | "failed" | "issued";
12
- export type IomMoaStatus = "active" | "rejected";
13
- export type IomQueuedMoaRequestStatus = "failed" | "fulfilled" | "pending";
14
- export type IomUniversityRole = "admin" | "staff" | "superadmin";
15
- export type Json = JsonValue;
16
- export type JsonArray = JsonValue[];
17
- export type JsonObject = {
18
- [x: string]: JsonValue | undefined;
19
- };
20
- export type JsonPrimitive = boolean | number | string | null;
21
- export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
22
- export type Timestamp = ColumnType<Date, Date | string, Date | string>;
23
- export interface IomAuditLogs {
24
- actor_email: string | null;
25
- company_id: string | null;
26
- created_at: Generated<Timestamp>;
27
- detail: string | null;
28
- event_type: IomAuditEventType;
29
- id: Generated<string>;
30
- moa_id: string | null;
31
- platform_admin_id: string | null;
32
- university_id: string | null;
33
- }
34
- export interface IomAuthTokens {
35
- consumed_at: Timestamp | null;
36
- created_at: Generated<Timestamp>;
37
- expires_at: Timestamp;
38
- hash: string;
39
- id: Generated<string>;
40
- purpose: IomAuthPurpose;
41
- subject_id: string;
42
- subject_type: IomAuthSubjectType;
43
- }
44
- export interface IomAutoConsents {
45
- auto_renew: Generated<boolean>;
46
- company_id: string;
47
- created_at: Generated<Timestamp>;
48
- email: string;
49
- id: Generated<string>;
50
- kind: Generated<IomAutoConsentKind>;
51
- proactive: Generated<boolean>;
52
- revoked_at: Timestamp | null;
53
- signatory_name: string;
54
- signatory_title: string;
55
- signature_data: string;
56
- signature_type: string;
57
- template_id: string;
58
- tin: string | null;
59
- }
60
- export interface IomCompanies {
61
- company_type: IomCompanyType | null;
62
- cosmetic: Generated<Json>;
63
- created_at: Generated<Timestamp>;
64
- document_review_details: Generated<Json>;
65
- email: string | null;
66
- email_verified: Generated<boolean>;
67
- iat_threshold: Timestamp | null;
68
- id: Generated<string>;
69
- is_deactivated: boolean | null;
70
- password: string | null;
71
- registered_address: string | null;
72
- registered_name: string | null;
73
- tin: string | null;
74
- updated_at: Generated<Timestamp>;
75
- }
76
- export interface IomCompanyBlacklists {
77
- company_id: string;
78
- created_at: Generated<Timestamp>;
79
- id: Generated<string>;
80
- reason: string | null;
81
- university_id: string;
82
- }
83
- export interface IomCompanyDocuments {
84
- company_id: string;
85
- expires_at: Timestamp | null;
86
- filename: string;
87
- id: Generated<string>;
88
- type: string;
89
- uploaded_at: Generated<Timestamp>;
90
- url: string;
91
- }
92
- export interface IomCompanyHistorySnapshots {
93
- company_id: string;
94
- created_at: Generated<Timestamp>;
95
- document_ids: Generated<Json>;
96
- hash: string;
97
- id: Generated<string>;
98
- snapshot_json: Json;
99
- }
100
- export interface IomCompanyInvites {
101
- company_name: string | null;
102
- created_at: Generated<Timestamp>;
103
- expires_at: Timestamp;
104
- id: Generated<string>;
105
- invited_email: string;
106
- kind: Generated<IomCompanyInviteKind>;
107
- legacy_company_id: string | null;
108
- personal_message: string | null;
109
- status: Generated<IomCompanyInviteStatus>;
110
- template_id: string | null;
111
- university_id: string;
112
- }
113
- export interface IomCompanyListingInvites {
114
- accepted_company_id: string | null;
115
- company_name: string | null;
116
- created_at: Generated<Timestamp>;
117
- expires_at: Timestamp;
118
- id: Generated<string>;
119
- invited_email: string;
120
- legacy_company_id: string | null;
121
- personal_message: string | null;
122
- status: Generated<IomCompanyInviteStatus>;
123
- university_id: string;
124
- }
125
- export interface IomCompanyMoaInvites {
126
- accepted_company_id: string | null;
127
- company_name: string | null;
128
- created_at: Generated<Timestamp>;
129
- expires_at: Timestamp;
130
- id: Generated<string>;
131
- invited_email: string;
132
- personal_message: string | null;
133
- status: Generated<IomCompanyInviteStatus>;
134
- template_id: string | null;
135
- university_id: string;
136
- }
137
- export interface IomCompanyReviews {
138
- approval_expires_at: Timestamp | null;
139
- company_id: string;
140
- created_at: Generated<Timestamp>;
141
- document_rejections: Generated<Json>;
142
- document_review_details: Generated<Json>;
143
- history_snapshot_id: string | null;
144
- id: Generated<string>;
145
- material_hash: string;
146
- rejection_reason: string | null;
147
- reviewed_at: Timestamp | null;
148
- reviewed_by_id: string | null;
149
- status: IomCompanyReviewStatus | null;
150
- updated_at: Generated<Timestamp>;
151
- }
152
- export interface IomExpiryReminders {
153
- company_review_id: string | null;
154
- document_type: string | null;
155
- id: Generated<string>;
156
- marker: number;
157
- moa_id: string | null;
158
- recipient_email: string;
159
- sent_at: Generated<Timestamp>;
160
- }
161
- export interface IomLegacyCompanies {
162
- company_details: Generated<Json>;
163
- company_documents: Generated<Json>;
164
- company_name: string;
165
- created_at: Generated<Timestamp>;
166
- id: Generated<string>;
167
- moas: Generated<Json>;
168
- registered_company_id: string | null;
169
- university_id: string;
170
- updated_at: Generated<Timestamp>;
171
- valid_until: Timestamp | null;
172
- }
173
- export interface IomMoaRequests {
174
- auto_signed: Generated<boolean>;
175
- company_id: string;
176
- created_at: Generated<Timestamp>;
177
- expires_at: Timestamp | null;
178
- failure_reason: string | null;
179
- id: Generated<string>;
180
- invite_id: string | null;
181
- moa_id: string | null;
182
- signatory_email: string | null;
183
- signatory_name: string | null;
184
- signatory_title: string | null;
185
- signature_data: string | null;
186
- signature_type: string | null;
187
- signed_at: Timestamp | null;
188
- status: Generated<IomMoaRequestStatus>;
189
- template_id: string;
190
- university_id: string;
191
- updated_at: Generated<Timestamp>;
192
- }
193
- export interface IomMoas {
194
- company_id: string;
195
- created_at: Generated<Timestamp>;
196
- effective_date: Timestamp;
197
- expiry_date: Timestamp | null;
198
- generated_pdf_url: string;
199
- id: Generated<string>;
200
- is_expired: boolean | null;
201
- signatories: Json | null;
202
- status: IomMoaStatus;
203
- template_id: string;
204
- university_id: string;
205
- verification_code: string | null;
206
- }
207
- export interface IomMoaTemplates {
208
- created_at: Generated<Timestamp>;
209
- description: string | null;
210
- field_schema: Generated<Json>;
211
- id: Generated<string>;
212
- is_deleted: boolean | null;
213
- name: string;
214
- page_count: number;
215
- page_h: number;
216
- page_w: number;
217
- pdf_url: string;
218
- retired_at: Timestamp | null;
219
- supersedes_id: string | null;
220
- term_months: number | null;
221
- updated_at: Generated<Timestamp>;
222
- }
223
- export interface IomPlatformAdmins {
224
- created_at: Generated<Timestamp>;
225
- display_name: string;
226
- email: string;
227
- id: Generated<string>;
228
- password: string;
229
- }
230
- export interface IomPlatformSettings {
231
- default_template_id: string | null;
232
- id: Generated<string>;
233
- updated_at: Generated<Timestamp>;
234
- witness_name: string | null;
235
- witness_signature_url: string | null;
236
- witness_title: string | null;
237
- }
238
- export interface IomQueuedMoaRequests {
239
- company_id: string;
240
- created_at: Generated<Timestamp>;
241
- failure_reason: string | null;
242
- id: Generated<string>;
243
- invite_id: string | null;
244
- rep_name: string;
245
- rep_signature_data: string;
246
- rep_signature_type: string;
247
- rep_title: string;
248
- signatories: Generated<Json>;
249
- status: Generated<IomQueuedMoaRequestStatus>;
250
- template_id: string;
251
- university_id: string;
252
- }
253
- export interface IomUniversities {
254
- account_holder_name: string | null;
255
- account_holder_title: string | null;
256
- address: string | null;
257
- created_at: Generated<Timestamp>;
258
- id: Generated<string>;
259
- is_deactivated: boolean | null;
260
- logo_url: string | null;
261
- registered_name: string;
262
- rep_name: string | null;
263
- rep_signature_url: string | null;
264
- rep_title: string | null;
265
- signatories: Generated<Json>;
266
- updated_at: Generated<Timestamp>;
267
- }
268
- export interface IomUniversityAccounts {
269
- activated_at: Timestamp | null;
270
- created_at: Generated<Timestamp>;
271
- display_name: string;
272
- email: string;
273
- iat_threshold: Timestamp | null;
274
- id: Generated<string>;
275
- is_deactivated: boolean | null;
276
- password: string | null;
277
- role: IomUniversityRole;
278
- university_id: string;
279
- updated_at: Generated<Timestamp>;
280
- }
281
- export interface IomUniversityTemplates {
282
- created_at: Generated<Timestamp>;
283
- id: Generated<string>;
284
- is_available: Generated<boolean>;
285
- template_id: string;
286
- university_id: string;
287
- updated_at: Generated<Timestamp>;
288
- }
289
- export interface DB {
290
- "iom.audit_logs": IomAuditLogs;
291
- "iom.auth_tokens": IomAuthTokens;
292
- "iom.auto_consents": IomAutoConsents;
293
- "iom.companies": IomCompanies;
294
- "iom.company_blacklists": IomCompanyBlacklists;
295
- "iom.company_documents": IomCompanyDocuments;
296
- "iom.company_history_snapshots": IomCompanyHistorySnapshots;
297
- "iom.company_invites": IomCompanyInvites;
298
- "iom.company_listing_invites": IomCompanyListingInvites;
299
- "iom.company_moa_invites": IomCompanyMoaInvites;
300
- "iom.company_reviews": IomCompanyReviews;
301
- "iom.expiry_reminders": IomExpiryReminders;
302
- "iom.legacy_companies": IomLegacyCompanies;
303
- "iom.moa_requests": IomMoaRequests;
304
- "iom.moa_templates": IomMoaTemplates;
305
- "iom.moas": IomMoas;
306
- "iom.platform_admins": IomPlatformAdmins;
307
- "iom.platform_settings": IomPlatformSettings;
308
- "iom.queued_moa_requests": IomQueuedMoaRequests;
309
- "iom.universities": IomUniversities;
310
- "iom.university_accounts": IomUniversityAccounts;
311
- "iom.university_templates": IomUniversityTemplates;
312
- }
1
+ import type { ColumnType } from "kysely";
2
+ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
3
+ export type IomAuditEventType = "auto_request_enabled" | "auto_request_revoked" | "auto_sign_enabled" | "auto_sign_revoked" | "career_nudge_sent" | "company_blacklisted" | "company_invite_accepted" | "company_invite_cancelled" | "company_invite_registered" | "company_invite_sent" | "company_review_approved" | "company_review_rejected" | "company_review_requested" | "company_unblacklisted" | "legacy_document_uploaded" | "legacy_moa_bulk_uploaded" | "legacy_moa_created" | "moa_issued" | "moa_renewal_requested" | "moa_revoked" | "university_account_deactivated" | "university_account_invited" | "university_account_reactivated" | "university_account_role_changed" | "university_account_signed_in" | "university_profile_updated";
4
+ export type IomAuthPurpose = "auto_sign_revoke" | "invite" | "moa_signature" | "password_reset";
5
+ export type IomAuthSubjectType = "auto_sign_consent" | "company" | "company_invite" | "company_listing_invite" | "company_moa_invite" | "moa_request" | "university_account";
6
+ export type IomAutoConsentKind = "delegate" | "owner";
7
+ export type IomCompanyInviteKind = "listing" | "moa";
8
+ export type IomCompanyInviteStatus = "accepted" | "cancelled" | "expired" | "pending" | "used_waiting";
9
+ export type IomCompanyReviewStatus = "approved" | "rejected" | "superseded";
10
+ export type IomCompanyType = "corporation" | "government_agency" | "partnership" | "sole_proprietorship";
11
+ export type IomMoaRequestStatus = "awaiting_signature" | "awaiting_verification" | "cancelled" | "expired" | "failed" | "issued";
12
+ export type IomMoaStatus = "active" | "rejected";
13
+ export type IomQueuedMoaRequestStatus = "failed" | "fulfilled" | "pending";
14
+ export type IomUniversityRole = "admin" | "staff" | "superadmin";
15
+ export type Json = JsonValue;
16
+ export type JsonArray = JsonValue[];
17
+ export type JsonObject = {
18
+ [x: string]: JsonValue | undefined;
19
+ };
20
+ export type JsonPrimitive = boolean | number | string | null;
21
+ export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
22
+ export type Timestamp = ColumnType<Date, Date | string, Date | string>;
23
+ export interface IomAuditLogs {
24
+ actor_email: string | null;
25
+ company_id: string | null;
26
+ created_at: Generated<Timestamp>;
27
+ detail: string | null;
28
+ event_type: IomAuditEventType;
29
+ id: Generated<string>;
30
+ moa_id: string | null;
31
+ platform_admin_id: string | null;
32
+ university_id: string | null;
33
+ }
34
+ export interface IomAuthTokens {
35
+ consumed_at: Timestamp | null;
36
+ created_at: Generated<Timestamp>;
37
+ expires_at: Timestamp;
38
+ hash: string;
39
+ id: Generated<string>;
40
+ purpose: IomAuthPurpose;
41
+ subject_id: string;
42
+ subject_type: IomAuthSubjectType;
43
+ }
44
+ export interface IomAutoConsents {
45
+ auto_renew: Generated<boolean>;
46
+ company_id: string;
47
+ created_at: Generated<Timestamp>;
48
+ email: string;
49
+ id: Generated<string>;
50
+ kind: Generated<IomAutoConsentKind>;
51
+ proactive: Generated<boolean>;
52
+ revoked_at: Timestamp | null;
53
+ signatory_name: string;
54
+ signatory_title: string;
55
+ signature_data: string;
56
+ signature_type: string;
57
+ template_id: string;
58
+ tin: string | null;
59
+ }
60
+ export interface IomCompanies {
61
+ company_type: IomCompanyType | null;
62
+ cosmetic: Generated<Json>;
63
+ created_at: Generated<Timestamp>;
64
+ document_review_details: Generated<Json>;
65
+ email: string | null;
66
+ email_verified: Generated<boolean>;
67
+ iat_threshold: Timestamp | null;
68
+ id: Generated<string>;
69
+ is_deactivated: boolean | null;
70
+ password: string | null;
71
+ registered_address: string | null;
72
+ registered_name: string | null;
73
+ tin: string | null;
74
+ updated_at: Generated<Timestamp>;
75
+ }
76
+ export interface IomCompanyBlacklists {
77
+ company_id: string;
78
+ created_at: Generated<Timestamp>;
79
+ id: Generated<string>;
80
+ reason: string | null;
81
+ university_id: string;
82
+ }
83
+ export interface IomCompanyDocuments {
84
+ company_id: string;
85
+ expires_at: Timestamp | null;
86
+ filename: string;
87
+ id: Generated<string>;
88
+ type: string;
89
+ uploaded_at: Generated<Timestamp>;
90
+ url: string;
91
+ }
92
+ export interface IomCompanyHistorySnapshots {
93
+ company_id: string;
94
+ created_at: Generated<Timestamp>;
95
+ document_ids: Generated<Json>;
96
+ hash: string;
97
+ id: Generated<string>;
98
+ snapshot_json: Json;
99
+ }
100
+ export interface IomCompanyInvites {
101
+ company_name: string | null;
102
+ created_at: Generated<Timestamp>;
103
+ expires_at: Timestamp;
104
+ id: Generated<string>;
105
+ invited_email: string;
106
+ kind: Generated<IomCompanyInviteKind>;
107
+ legacy_company_id: string | null;
108
+ personal_message: string | null;
109
+ status: Generated<IomCompanyInviteStatus>;
110
+ template_id: string | null;
111
+ university_id: string;
112
+ }
113
+ export interface IomCompanyListingInvites {
114
+ accepted_company_id: string | null;
115
+ company_name: string | null;
116
+ created_at: Generated<Timestamp>;
117
+ expires_at: Timestamp;
118
+ id: Generated<string>;
119
+ invited_email: string;
120
+ legacy_company_id: string | null;
121
+ personal_message: string | null;
122
+ status: Generated<IomCompanyInviteStatus>;
123
+ university_id: string;
124
+ }
125
+ export interface IomCompanyMoaInvites {
126
+ accepted_company_id: string | null;
127
+ company_name: string | null;
128
+ created_at: Generated<Timestamp>;
129
+ expires_at: Timestamp;
130
+ id: Generated<string>;
131
+ invited_email: string;
132
+ personal_message: string | null;
133
+ status: Generated<IomCompanyInviteStatus>;
134
+ template_id: string | null;
135
+ university_id: string;
136
+ }
137
+ export interface IomCompanyReviews {
138
+ approval_expires_at: Timestamp | null;
139
+ company_id: string;
140
+ created_at: Generated<Timestamp>;
141
+ document_rejections: Generated<Json>;
142
+ document_review_details: Generated<Json>;
143
+ history_snapshot_id: string | null;
144
+ id: Generated<string>;
145
+ material_hash: string;
146
+ rejection_reason: string | null;
147
+ reviewed_at: Timestamp | null;
148
+ reviewed_by_id: string | null;
149
+ status: IomCompanyReviewStatus | null;
150
+ updated_at: Generated<Timestamp>;
151
+ }
152
+ export interface IomExpiryReminders {
153
+ company_review_id: string | null;
154
+ document_type: string | null;
155
+ id: Generated<string>;
156
+ marker: number;
157
+ moa_id: string | null;
158
+ recipient_email: string;
159
+ sent_at: Generated<Timestamp>;
160
+ }
161
+ export interface IomLegacyCompanies {
162
+ company_details: Generated<Json>;
163
+ company_documents: Generated<Json>;
164
+ company_name: string;
165
+ created_at: Generated<Timestamp>;
166
+ id: Generated<string>;
167
+ moas: Generated<Json>;
168
+ registered_company_id: string | null;
169
+ university_id: string;
170
+ updated_at: Generated<Timestamp>;
171
+ valid_until: Timestamp | null;
172
+ }
173
+ export interface IomMoaRequests {
174
+ auto_signed: Generated<boolean>;
175
+ company_id: string;
176
+ created_at: Generated<Timestamp>;
177
+ expires_at: Timestamp | null;
178
+ failure_reason: string | null;
179
+ id: Generated<string>;
180
+ invite_id: string | null;
181
+ moa_id: string | null;
182
+ signatory_email: string | null;
183
+ signatory_name: string | null;
184
+ signatory_title: string | null;
185
+ signature_data: string | null;
186
+ signature_type: string | null;
187
+ signed_at: Timestamp | null;
188
+ status: Generated<IomMoaRequestStatus>;
189
+ template_id: string;
190
+ university_id: string;
191
+ updated_at: Generated<Timestamp>;
192
+ }
193
+ export interface IomMoas {
194
+ company_id: string;
195
+ created_at: Generated<Timestamp>;
196
+ effective_date: Timestamp;
197
+ expiry_date: Timestamp | null;
198
+ generated_pdf_url: string;
199
+ id: Generated<string>;
200
+ is_expired: boolean | null;
201
+ signatories: Json | null;
202
+ status: IomMoaStatus;
203
+ template_id: string;
204
+ university_id: string;
205
+ verification_code: string | null;
206
+ }
207
+ export interface IomMoaTemplates {
208
+ created_at: Generated<Timestamp>;
209
+ description: string | null;
210
+ field_schema: Generated<Json>;
211
+ id: Generated<string>;
212
+ is_deleted: boolean | null;
213
+ name: string;
214
+ page_count: number;
215
+ page_h: number;
216
+ page_w: number;
217
+ pdf_url: string;
218
+ retired_at: Timestamp | null;
219
+ supersedes_id: string | null;
220
+ term_months: number | null;
221
+ updated_at: Generated<Timestamp>;
222
+ }
223
+ export interface IomPlatformAdmins {
224
+ created_at: Generated<Timestamp>;
225
+ display_name: string;
226
+ email: string;
227
+ id: Generated<string>;
228
+ password: string;
229
+ }
230
+ export interface IomPlatformSettings {
231
+ default_template_id: string | null;
232
+ id: Generated<string>;
233
+ updated_at: Generated<Timestamp>;
234
+ witness_name: string | null;
235
+ witness_signature_url: string | null;
236
+ witness_title: string | null;
237
+ }
238
+ export interface IomQueuedMoaRequests {
239
+ company_id: string;
240
+ created_at: Generated<Timestamp>;
241
+ failure_reason: string | null;
242
+ id: Generated<string>;
243
+ invite_id: string | null;
244
+ rep_name: string;
245
+ rep_signature_data: string;
246
+ rep_signature_type: string;
247
+ rep_title: string;
248
+ signatories: Generated<Json>;
249
+ status: Generated<IomQueuedMoaRequestStatus>;
250
+ template_id: string;
251
+ university_id: string;
252
+ }
253
+ export interface IomUniversities {
254
+ account_holder_name: string | null;
255
+ account_holder_title: string | null;
256
+ address: string | null;
257
+ created_at: Generated<Timestamp>;
258
+ id: Generated<string>;
259
+ is_deactivated: boolean | null;
260
+ logo_url: string | null;
261
+ registered_name: string;
262
+ rep_name: string | null;
263
+ rep_signature_url: string | null;
264
+ rep_title: string | null;
265
+ signatories: Generated<Json>;
266
+ updated_at: Generated<Timestamp>;
267
+ }
268
+ export interface IomUniversityAccounts {
269
+ activated_at: Timestamp | null;
270
+ created_at: Generated<Timestamp>;
271
+ display_name: string;
272
+ email: string;
273
+ iat_threshold: Timestamp | null;
274
+ id: Generated<string>;
275
+ is_deactivated: boolean | null;
276
+ password: string | null;
277
+ role: IomUniversityRole;
278
+ university_id: string;
279
+ updated_at: Generated<Timestamp>;
280
+ }
281
+ export interface IomUniversityTemplates {
282
+ created_at: Generated<Timestamp>;
283
+ id: Generated<string>;
284
+ is_available: Generated<boolean>;
285
+ template_id: string;
286
+ university_id: string;
287
+ updated_at: Generated<Timestamp>;
288
+ }
289
+ export interface DB {
290
+ "iom.audit_logs": IomAuditLogs;
291
+ "iom.auth_tokens": IomAuthTokens;
292
+ "iom.auto_consents": IomAutoConsents;
293
+ "iom.companies": IomCompanies;
294
+ "iom.company_blacklists": IomCompanyBlacklists;
295
+ "iom.company_documents": IomCompanyDocuments;
296
+ "iom.company_history_snapshots": IomCompanyHistorySnapshots;
297
+ "iom.company_invites": IomCompanyInvites;
298
+ "iom.company_listing_invites": IomCompanyListingInvites;
299
+ "iom.company_moa_invites": IomCompanyMoaInvites;
300
+ "iom.company_reviews": IomCompanyReviews;
301
+ "iom.expiry_reminders": IomExpiryReminders;
302
+ "iom.legacy_companies": IomLegacyCompanies;
303
+ "iom.moa_requests": IomMoaRequests;
304
+ "iom.moa_templates": IomMoaTemplates;
305
+ "iom.moas": IomMoas;
306
+ "iom.platform_admins": IomPlatformAdmins;
307
+ "iom.platform_settings": IomPlatformSettings;
308
+ "iom.queued_moa_requests": IomQueuedMoaRequests;
309
+ "iom.universities": IomUniversities;
310
+ "iom.university_accounts": IomUniversityAccounts;
311
+ "iom.university_templates": IomUniversityTemplates;
312
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=db.iom.types.js.map
package/dist/env.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ENV: NodeJS.ProcessEnv;
1
+ export declare const ENV: NodeJS.ProcessEnv;
package/dist/env.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ENV = void 0;
4
- const dotenv = require("dotenv");
5
- dotenv.config();
6
- exports.ENV = process.env;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENV = void 0;
4
+ const dotenv = require("dotenv");
5
+ dotenv.config();
6
+ exports.ENV = process.env;
7
7
  //# sourceMappingURL=env.js.map