@burdenoff/sdk-libs 2026.627.4 → 2026.627.5

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.
@@ -0,0 +1,436 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type TecCertificateStatus = 'ISSUED' | 'REVOKED';
5
+ type TecCourseLevel = 'ADVANCED' | 'BEGINNER' | 'EXPERT' | 'INTERMEDIATE';
6
+ type TecCourseStatus = 'ARCHIVED' | 'DRAFT' | 'PUBLISHED';
7
+ type TecEnrollmentStatus = 'COMPLETED' | 'DROPPED' | 'ENROLLED' | 'IN_PROGRESS';
8
+ type TecHackathonStatus = 'CANCELLED' | 'COMPLETED' | 'DRAFT' | 'IN_PROGRESS' | 'JUDGING' | 'REGISTRATION_OPEN';
9
+ type TecLessonKind = 'ARTICLE' | 'INTERACTIVE' | 'PROJECT' | 'QUIZ' | 'VIDEO';
10
+ type TecMentorStatus = 'ACTIVE' | 'INACTIVE' | 'PAUSED' | 'PENDING';
11
+ type TecProblemDifficulty = 'EASY' | 'HARD' | 'MEDIUM';
12
+ type TecProblemStatus = 'ARCHIVED' | 'DRAFT' | 'PUBLISHED';
13
+ type TecSessionStatus = 'CANCELLED' | 'COMPLETED' | 'CONFIRMED' | 'NO_SHOW' | 'REQUESTED';
14
+ type TecSubmissionVerdict = 'ACCEPTED' | 'COMPILE_ERROR' | 'PENDING' | 'RUNTIME_ERROR' | 'TIME_LIMIT_EXCEEDED' | 'WRONG_ANSWER';
15
+ type TecTeamSubmissionStatus = 'DISQUALIFIED' | 'DRAFT' | 'SUBMITTED' | 'WINNER';
16
+ interface PaginationInput {
17
+ cursor?: string;
18
+ limit?: number;
19
+ offset?: number;
20
+ }
21
+ interface TecPageInfo {
22
+ cursor?: string | null;
23
+ hasMore: boolean;
24
+ }
25
+ interface TecFileRef {
26
+ id: string;
27
+ }
28
+ interface TecCourse {
29
+ id: string;
30
+ title: string;
31
+ slug: string;
32
+ summary?: string | null;
33
+ topic?: string | null;
34
+ level: TecCourseLevel;
35
+ status: TecCourseStatus;
36
+ estimatedMinutes: number;
37
+ tags: string[];
38
+ instructorId?: string | null;
39
+ cover?: TecFileRef | null;
40
+ publishedAt?: string | null;
41
+ workspaceId: string;
42
+ createdAt: string;
43
+ updatedAt: string;
44
+ lessons?: TecLesson[];
45
+ enrollments?: TecEnrollment[];
46
+ }
47
+ interface TecLesson {
48
+ id: string;
49
+ courseId: string;
50
+ title: string;
51
+ kind: TecLessonKind;
52
+ content?: string | null;
53
+ position: number;
54
+ estimatedMinutes: number;
55
+ isPreview: boolean;
56
+ file?: TecFileRef | null;
57
+ workspaceId: string;
58
+ createdAt: string;
59
+ updatedAt: string;
60
+ course?: TecCourse | null;
61
+ }
62
+ interface TecEnrollment {
63
+ id: string;
64
+ courseId: string;
65
+ learnerId: string;
66
+ status: TecEnrollmentStatus;
67
+ progressPct: number;
68
+ lessonsCompleted: number;
69
+ startedAt: string;
70
+ lastActiveAt?: string | null;
71
+ completedAt?: string | null;
72
+ workspaceId: string;
73
+ createdAt: string;
74
+ updatedAt: string;
75
+ course?: TecCourse | null;
76
+ }
77
+ interface TecMentor {
78
+ id: string;
79
+ userId: string;
80
+ headline: string;
81
+ bio?: string | null;
82
+ expertise: string[];
83
+ hourlyRate: number;
84
+ currency: string;
85
+ status: TecMentorStatus;
86
+ ratingAvg: number;
87
+ sessionsCount: number;
88
+ isAcceptingMentees: boolean;
89
+ workspaceId: string;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ sessions?: TecMentorSession[];
93
+ }
94
+ interface TecMentorSession {
95
+ id: string;
96
+ mentorId: string;
97
+ menteeId: string;
98
+ topic: string;
99
+ agenda?: string | null;
100
+ scheduledAt: string;
101
+ durationMinutes: number;
102
+ status: TecSessionStatus;
103
+ meetingUrl?: string | null;
104
+ rating?: number | null;
105
+ feedback?: string | null;
106
+ cancelledAt?: string | null;
107
+ completedAt?: string | null;
108
+ workspaceId: string;
109
+ createdAt: string;
110
+ updatedAt: string;
111
+ mentor?: TecMentor | null;
112
+ }
113
+ interface TecProblem {
114
+ id: string;
115
+ slug: string;
116
+ title: string;
117
+ statement?: string | null;
118
+ topic?: string | null;
119
+ difficulty: TecProblemDifficulty;
120
+ status: TecProblemStatus;
121
+ points: number;
122
+ languages: string[];
123
+ tags: string[];
124
+ publishedAt?: string | null;
125
+ workspaceId: string;
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ submissions?: TecSubmission[];
129
+ }
130
+ interface TecSubmission {
131
+ id: string;
132
+ problemId: string;
133
+ learnerId: string;
134
+ language: string;
135
+ code: string;
136
+ verdict: TecSubmissionVerdict;
137
+ pointsAwarded: number;
138
+ runtimeMs: number;
139
+ judgedAt?: string | null;
140
+ workspaceId: string;
141
+ createdAt: string;
142
+ updatedAt: string;
143
+ problem?: TecProblem | null;
144
+ }
145
+ interface TecHackathon {
146
+ id: string;
147
+ slug: string;
148
+ title: string;
149
+ theme?: string | null;
150
+ description?: string | null;
151
+ startAt: string;
152
+ endAt: string;
153
+ submissionDeadline?: string | null;
154
+ status: TecHackathonStatus;
155
+ maxTeamSize: number;
156
+ prizePool: number;
157
+ currency: string;
158
+ tags: string[];
159
+ workspaceId: string;
160
+ createdAt: string;
161
+ updatedAt: string;
162
+ teams?: TecHackathonTeam[];
163
+ }
164
+ interface TecHackathonTeam {
165
+ id: string;
166
+ hackathonId: string;
167
+ name: string;
168
+ captainId: string;
169
+ memberIds: string[];
170
+ projectName?: string | null;
171
+ projectUrl?: string | null;
172
+ repoUrl?: string | null;
173
+ pitch?: string | null;
174
+ status: TecTeamSubmissionStatus;
175
+ score: number;
176
+ submittedAt?: string | null;
177
+ workspaceId: string;
178
+ createdAt: string;
179
+ updatedAt: string;
180
+ hackathon?: TecHackathon | null;
181
+ }
182
+ interface TecCertificate {
183
+ id: string;
184
+ courseId: string;
185
+ learnerId: string;
186
+ serial: string;
187
+ score: number;
188
+ status: TecCertificateStatus;
189
+ issuedAt: string;
190
+ revokedAt?: string | null;
191
+ revokeReason?: string | null;
192
+ workspaceId: string;
193
+ createdAt: string;
194
+ updatedAt: string;
195
+ course?: TecCourse | null;
196
+ }
197
+ interface TecCourseConnection {
198
+ items: TecCourse[];
199
+ pageInfo: TecPageInfo;
200
+ }
201
+ interface TecEnrollmentConnection {
202
+ items: TecEnrollment[];
203
+ pageInfo: TecPageInfo;
204
+ }
205
+ interface TecMentorConnection {
206
+ items: TecMentor[];
207
+ pageInfo: TecPageInfo;
208
+ }
209
+ interface TecProblemConnection {
210
+ items: TecProblem[];
211
+ pageInfo: TecPageInfo;
212
+ }
213
+ interface TecSubmissionConnection {
214
+ items: TecSubmission[];
215
+ pageInfo: TecPageInfo;
216
+ }
217
+ interface TecHackathonConnection {
218
+ items: TecHackathon[];
219
+ pageInfo: TecPageInfo;
220
+ }
221
+ interface TecCreateCourseInput {
222
+ slug: string;
223
+ title: string;
224
+ summary?: string;
225
+ topic?: string;
226
+ level?: TecCourseLevel;
227
+ estimatedMinutes?: number;
228
+ instructorId?: string;
229
+ coverFileId?: string;
230
+ tags?: string[];
231
+ }
232
+ interface TecUpdateCourseInput {
233
+ title?: string;
234
+ summary?: string;
235
+ topic?: string;
236
+ level?: TecCourseLevel;
237
+ estimatedMinutes?: number;
238
+ instructorId?: string;
239
+ coverFileId?: string;
240
+ tags?: string[];
241
+ }
242
+ interface TecCreateLessonInput {
243
+ courseId: string;
244
+ title: string;
245
+ content?: string;
246
+ estimatedMinutes?: number;
247
+ fileId?: string;
248
+ isPreview?: boolean;
249
+ kind?: TecLessonKind;
250
+ position?: number;
251
+ }
252
+ interface TecUpdateLessonInput {
253
+ title?: string;
254
+ content?: string;
255
+ estimatedMinutes?: number;
256
+ fileId?: string;
257
+ isPreview?: boolean;
258
+ kind?: TecLessonKind;
259
+ position?: number;
260
+ }
261
+ interface TecEnrollInput {
262
+ courseId: string;
263
+ }
264
+ interface TecUpdateProgressInput {
265
+ enrollmentId: string;
266
+ progressPct: number;
267
+ lessonsCompleted?: number;
268
+ }
269
+ interface TecCreateMentorInput {
270
+ headline: string;
271
+ bio?: string;
272
+ currency?: string;
273
+ expertise?: string[];
274
+ hourlyRate?: number;
275
+ }
276
+ interface TecUpdateMentorInput {
277
+ headline?: string;
278
+ bio?: string;
279
+ currency?: string;
280
+ expertise?: string[];
281
+ hourlyRate?: number;
282
+ isAcceptingMentees?: boolean;
283
+ }
284
+ interface TecBookSessionInput {
285
+ mentorId: string;
286
+ topic: string;
287
+ scheduledAt: string;
288
+ agenda?: string;
289
+ durationMinutes?: number;
290
+ }
291
+ interface TecCreateProblemInput {
292
+ slug: string;
293
+ title: string;
294
+ statement?: string;
295
+ topic?: string;
296
+ difficulty?: TecProblemDifficulty;
297
+ languages?: string[];
298
+ points?: number;
299
+ starterCode?: string;
300
+ tags?: string[];
301
+ }
302
+ interface TecUpdateProblemInput {
303
+ title?: string;
304
+ statement?: string;
305
+ topic?: string;
306
+ difficulty?: TecProblemDifficulty;
307
+ languages?: string[];
308
+ points?: number;
309
+ starterCode?: string;
310
+ tags?: string[];
311
+ }
312
+ interface TecSubmitSolutionInput {
313
+ problemId: string;
314
+ language: string;
315
+ code: string;
316
+ }
317
+ interface TecCreateHackathonInput {
318
+ slug: string;
319
+ title: string;
320
+ theme?: string;
321
+ description?: string;
322
+ startAt: string;
323
+ endAt: string;
324
+ submissionDeadline?: string;
325
+ maxTeamSize?: number;
326
+ prizePool?: number;
327
+ currency?: string;
328
+ tags?: string[];
329
+ }
330
+ interface TecUpdateHackathonInput {
331
+ title?: string;
332
+ theme?: string;
333
+ description?: string;
334
+ startAt?: string;
335
+ endAt?: string;
336
+ submissionDeadline?: string;
337
+ maxTeamSize?: number;
338
+ prizePool?: number;
339
+ currency?: string;
340
+ tags?: string[];
341
+ }
342
+ interface TecRegisterTeamInput {
343
+ hackathonId: string;
344
+ name: string;
345
+ memberIds?: string[];
346
+ }
347
+ interface TecSubmitProjectInput {
348
+ teamId: string;
349
+ projectName: string;
350
+ projectUrl?: string;
351
+ repoUrl?: string;
352
+ pitch?: string;
353
+ }
354
+
355
+ interface TechnospamCoursesApi {
356
+ get(id: string): Promise<TecCourse | null>;
357
+ list(level?: TecCourseLevel, status?: TecCourseStatus, pagination?: PaginationInput): Promise<TecCourseConnection>;
358
+ create(input: TecCreateCourseInput): Promise<TecCourse>;
359
+ update(id: string, input: TecUpdateCourseInput): Promise<TecCourse>;
360
+ publish(id: string): Promise<TecCourse>;
361
+ archive(id: string): Promise<boolean>;
362
+ }
363
+ interface TechnospamLessonsApi {
364
+ list(courseId: string): Promise<TecLesson[]>;
365
+ create(input: TecCreateLessonInput): Promise<TecLesson>;
366
+ update(id: string, input: TecUpdateLessonInput): Promise<TecLesson>;
367
+ }
368
+ interface TechnospamEnrollmentsApi {
369
+ list(courseId?: string, learnerId?: string, pagination?: PaginationInput): Promise<TecEnrollmentConnection>;
370
+ enroll(input: TecEnrollInput): Promise<TecEnrollment>;
371
+ updateProgress(input: TecUpdateProgressInput): Promise<TecEnrollment>;
372
+ }
373
+ interface TechnospamMentorsApi {
374
+ get(id: string): Promise<TecMentor | null>;
375
+ list(status?: TecMentorStatus, pagination?: PaginationInput): Promise<TecMentorConnection>;
376
+ become(input: TecCreateMentorInput): Promise<TecMentor>;
377
+ update(id: string, input: TecUpdateMentorInput): Promise<TecMentor>;
378
+ approve(id: string): Promise<TecMentor>;
379
+ }
380
+ interface TechnospamSessionsApi {
381
+ list(mentorId?: string, menteeId?: string, status?: TecSessionStatus): Promise<TecMentorSession[]>;
382
+ book(input: TecBookSessionInput): Promise<TecMentorSession>;
383
+ confirm(id: string, meetingUrl?: string): Promise<TecMentorSession>;
384
+ cancel(id: string): Promise<TecMentorSession>;
385
+ complete(id: string, rating?: number, feedback?: string): Promise<TecMentorSession>;
386
+ }
387
+ interface TechnospamProblemsApi {
388
+ get(id: string): Promise<TecProblem | null>;
389
+ list(difficulty?: TecProblemDifficulty, status?: TecProblemStatus, topic?: string, pagination?: PaginationInput): Promise<TecProblemConnection>;
390
+ create(input: TecCreateProblemInput): Promise<TecProblem>;
391
+ update(id: string, input: TecUpdateProblemInput): Promise<TecProblem>;
392
+ publish(id: string): Promise<TecProblem>;
393
+ }
394
+ interface TechnospamSubmissionsApi {
395
+ list(problemId?: string, learnerId?: string, pagination?: PaginationInput): Promise<TecSubmissionConnection>;
396
+ submit(input: TecSubmitSolutionInput): Promise<TecSubmission>;
397
+ grade(id: string, verdict: TecSubmissionVerdict, runtimeMs?: number): Promise<TecSubmission>;
398
+ }
399
+ interface TechnospamHackathonsApi {
400
+ get(id: string): Promise<TecHackathon | null>;
401
+ list(status?: TecHackathonStatus, pagination?: PaginationInput): Promise<TecHackathonConnection>;
402
+ create(input: TecCreateHackathonInput): Promise<TecHackathon>;
403
+ update(id: string, input: TecUpdateHackathonInput): Promise<TecHackathon>;
404
+ openRegistration(id: string): Promise<TecHackathon>;
405
+ }
406
+ interface TechnospamTeamsApi {
407
+ list(hackathonId: string): Promise<TecHackathonTeam[]>;
408
+ register(input: TecRegisterTeamInput): Promise<TecHackathonTeam>;
409
+ submitProject(input: TecSubmitProjectInput): Promise<TecHackathonTeam>;
410
+ score(id: string, score: number, winner?: boolean): Promise<TecHackathonTeam>;
411
+ }
412
+ interface TechnospamCertificatesApi {
413
+ list(courseId?: string, learnerId?: string): Promise<TecCertificate[]>;
414
+ issue(courseId: string, learnerId: string, score: number): Promise<TecCertificate>;
415
+ revoke(id: string, reason?: string): Promise<TecCertificate>;
416
+ }
417
+ interface TechnospamHealthApi {
418
+ check(): Promise<string>;
419
+ }
420
+ interface TechnospamApi {
421
+ courses: TechnospamCoursesApi;
422
+ lessons: TechnospamLessonsApi;
423
+ enrollments: TechnospamEnrollmentsApi;
424
+ mentors: TechnospamMentorsApi;
425
+ sessions: TechnospamSessionsApi;
426
+ problems: TechnospamProblemsApi;
427
+ submissions: TechnospamSubmissionsApi;
428
+ hackathons: TechnospamHackathonsApi;
429
+ teams: TechnospamTeamsApi;
430
+ certificates: TechnospamCertificatesApi;
431
+ health: TechnospamHealthApi;
432
+ }
433
+
434
+ declare const technospamModule: SdkModule<TechnospamApi>;
435
+
436
+ export { type PaginationInput, type TecBookSessionInput, type TecCertificate, type TecCertificateStatus, type TecCourse, type TecCourseConnection, type TecCourseLevel, type TecCourseStatus, type TecCreateCourseInput, type TecCreateHackathonInput, type TecCreateLessonInput, type TecCreateMentorInput, type TecCreateProblemInput, type TecEnrollInput, type TecEnrollment, type TecEnrollmentConnection, type TecEnrollmentStatus, type TecFileRef, type TecHackathon, type TecHackathonConnection, type TecHackathonStatus, type TecHackathonTeam, type TecLesson, type TecLessonKind, type TecMentor, type TecMentorConnection, type TecMentorSession, type TecMentorStatus, type TecPageInfo, type TecProblem, type TecProblemConnection, type TecProblemDifficulty, type TecProblemStatus, type TecRegisterTeamInput, type TecSessionStatus, type TecSubmission, type TecSubmissionConnection, type TecSubmissionVerdict, type TecSubmitProjectInput, type TecSubmitSolutionInput, type TecTeamSubmissionStatus, type TecUpdateCourseInput, type TecUpdateHackathonInput, type TecUpdateLessonInput, type TecUpdateMentorInput, type TecUpdateProblemInput, type TecUpdateProgressInput, type TechnospamApi, type TechnospamCertificatesApi, type TechnospamCoursesApi, type TechnospamEnrollmentsApi, type TechnospamHackathonsApi, type TechnospamHealthApi, type TechnospamLessonsApi, type TechnospamMentorsApi, type TechnospamProblemsApi, type TechnospamSessionsApi, type TechnospamSubmissionsApi, type TechnospamTeamsApi, technospamModule as default };