@whop/sdk 0.0.3 → 0.0.4
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/CHANGELOG.md +32 -0
- package/client.d.mts +7 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -4
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +5 -2
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/app-builds.d.mts +16 -13
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +16 -13
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +1 -1
- package/resources/app-builds.mjs +1 -1
- package/resources/apps.d.mts +15 -10
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +15 -10
- package/resources/apps.d.ts.map +1 -1
- package/resources/checkout-configurations.d.mts +221 -183
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +221 -183
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +4 -20
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +4 -20
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +157 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +157 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +22 -0
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +22 -0
- package/resources/companies.mjs.map +1 -1
- package/resources/course-lesson-interactions.d.mts +2 -2
- package/resources/course-lesson-interactions.d.ts +2 -2
- package/resources/course-lesson-interactions.js +2 -2
- package/resources/course-lesson-interactions.mjs +2 -2
- package/resources/course-lessons.d.mts +68 -28
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +68 -28
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-students.d.mts +187 -0
- package/resources/course-students.d.mts.map +1 -0
- package/resources/course-students.d.ts +187 -0
- package/resources/course-students.d.ts.map +1 -0
- package/resources/course-students.js +36 -0
- package/resources/course-students.js.map +1 -0
- package/resources/course-students.mjs +32 -0
- package/resources/course-students.mjs.map +1 -0
- package/resources/courses.d.mts +40 -20
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +40 -20
- package/resources/courses.d.ts.map +1 -1
- package/resources/experiences.d.mts +15 -10
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +15 -10
- package/resources/experiences.d.ts.map +1 -1
- package/resources/forum-posts.d.mts +28 -18
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +28 -18
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +529 -146
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +529 -146
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +2 -24
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +2 -24
- package/resources/invoices.mjs.map +1 -1
- package/resources/messages.d.mts +28 -18
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +28 -18
- package/resources/messages.d.ts.map +1 -1
- package/resources/payments.d.mts +8 -1
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +8 -1
- package/resources/payments.d.ts.map +1 -1
- package/resources/plans.d.mts +112 -16
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +112 -16
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +15 -10
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +15 -10
- package/resources/products.d.ts.map +1 -1
- package/resources/shared.d.mts +47 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +47 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/transfers.d.mts +12 -0
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +12 -0
- package/resources/transfers.d.ts.map +1 -1
- package/src/client.ts +32 -10
- package/src/resources/app-builds.ts +19 -14
- package/src/resources/apps.ts +16 -11
- package/src/resources/checkout-configurations.ts +245 -199
- package/src/resources/companies.ts +196 -0
- package/src/resources/course-lesson-interactions.ts +2 -2
- package/src/resources/course-lessons.ts +83 -30
- package/src/resources/course-students.ts +238 -0
- package/src/resources/courses.ts +50 -22
- package/src/resources/experiences.ts +19 -11
- package/src/resources/forum-posts.ts +34 -20
- package/src/resources/index.ts +14 -2
- package/src/resources/invoices.ts +620 -149
- package/src/resources/messages.ts +34 -20
- package/src/resources/payments.ts +8 -1
- package/src/resources/plans.ts +124 -16
- package/src/resources/products.ts +19 -11
- package/src/resources/shared.ts +48 -0
- package/src/resources/transfers.ts +10 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -147,9 +147,10 @@ export declare namespace Lesson {
|
|
|
147
147
|
*/
|
|
148
148
|
id: string;
|
|
149
149
|
/**
|
|
150
|
-
* The correct answer for the question. Used for short answer questions
|
|
150
|
+
* The correct answer for the question. Used for short answer questions. Only
|
|
151
|
+
* visible to admins (users with courses:update permission)
|
|
151
152
|
*/
|
|
152
|
-
correct_answer: string;
|
|
153
|
+
correct_answer: string | null;
|
|
153
154
|
/**
|
|
154
155
|
* When the question was created
|
|
155
156
|
*/
|
|
@@ -207,9 +208,10 @@ export declare namespace Lesson {
|
|
|
207
208
|
*/
|
|
208
209
|
id: string;
|
|
209
210
|
/**
|
|
210
|
-
* Whether this option is a correct answer
|
|
211
|
+
* Whether this option is a correct answer. Only visible to admins (users with
|
|
212
|
+
* courses:update permission)
|
|
211
213
|
*/
|
|
212
|
-
is_correct: boolean;
|
|
214
|
+
is_correct: boolean | null;
|
|
213
215
|
/**
|
|
214
216
|
* The text of the answer option
|
|
215
217
|
*/
|
|
@@ -352,6 +354,10 @@ export interface CourseLessonCreateParams {
|
|
|
352
354
|
title?: string | null;
|
|
353
355
|
}
|
|
354
356
|
export interface CourseLessonUpdateParams {
|
|
357
|
+
/**
|
|
358
|
+
* Completion requirements for quiz/knowledge check lessons
|
|
359
|
+
*/
|
|
360
|
+
assessment_completion_requirement?: CourseLessonUpdateParams.AssessmentCompletionRequirement | null;
|
|
355
361
|
/**
|
|
356
362
|
* Assessment questions for quiz/knowledge check lessons. Replaces all existing
|
|
357
363
|
* questions.
|
|
@@ -361,7 +367,7 @@ export interface CourseLessonUpdateParams {
|
|
|
361
367
|
* General attachments for the lesson (PDFs, files, etc). Replaces all existing
|
|
362
368
|
* attachments.
|
|
363
369
|
*/
|
|
364
|
-
attachments?: Array<CourseLessonUpdateParams.
|
|
370
|
+
attachments?: Array<CourseLessonUpdateParams.AttachmentInputWithDirectUploadID | CourseLessonUpdateParams.AttachmentInputWithID> | null;
|
|
365
371
|
/**
|
|
366
372
|
* The content of the lesson
|
|
367
373
|
*/
|
|
@@ -377,7 +383,11 @@ export interface CourseLessonUpdateParams {
|
|
|
377
383
|
/**
|
|
378
384
|
* The main PDF file for this lesson
|
|
379
385
|
*/
|
|
380
|
-
main_pdf?: CourseLessonUpdateParams.
|
|
386
|
+
main_pdf?: CourseLessonUpdateParams.AttachmentInputWithDirectUploadID | CourseLessonUpdateParams.AttachmentInputWithID | null;
|
|
387
|
+
/**
|
|
388
|
+
* Maximum number of attempts allowed for assessments
|
|
389
|
+
*/
|
|
390
|
+
max_attempts?: number | null;
|
|
381
391
|
/**
|
|
382
392
|
* The ID of the Mux asset to attach to this lesson for video lessons
|
|
383
393
|
*/
|
|
@@ -393,6 +403,21 @@ export interface CourseLessonUpdateParams {
|
|
|
393
403
|
visibility?: LessonVisibilities | null;
|
|
394
404
|
}
|
|
395
405
|
export declare namespace CourseLessonUpdateParams {
|
|
406
|
+
/**
|
|
407
|
+
* Completion requirements for quiz/knowledge check lessons
|
|
408
|
+
*/
|
|
409
|
+
interface AssessmentCompletionRequirement {
|
|
410
|
+
/**
|
|
411
|
+
* The minimum grade percentage required to pass (0-100). Cannot be set together
|
|
412
|
+
* with minimum_questions_correct.
|
|
413
|
+
*/
|
|
414
|
+
minimum_grade_percent?: number | null;
|
|
415
|
+
/**
|
|
416
|
+
* The minimum number of questions that must be answered correctly. Cannot be set
|
|
417
|
+
* together with minimum_grade_percent.
|
|
418
|
+
*/
|
|
419
|
+
minimum_questions_correct?: number | null;
|
|
420
|
+
}
|
|
396
421
|
/**
|
|
397
422
|
* Input for creating or updating an assessment question
|
|
398
423
|
*/
|
|
@@ -417,7 +442,7 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
417
442
|
/**
|
|
418
443
|
* Optional image attachment for the question
|
|
419
444
|
*/
|
|
420
|
-
image?: AssessmentQuestion.
|
|
445
|
+
image?: AssessmentQuestion.AttachmentInputWithDirectUploadID | AssessmentQuestion.AttachmentInputWithID | null;
|
|
421
446
|
/**
|
|
422
447
|
* The answer options for multiple choice/select questions
|
|
423
448
|
*/
|
|
@@ -425,21 +450,26 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
425
450
|
}
|
|
426
451
|
namespace AssessmentQuestion {
|
|
427
452
|
/**
|
|
428
|
-
*
|
|
453
|
+
* Input for an attachment
|
|
429
454
|
*/
|
|
430
|
-
interface
|
|
431
|
-
/**
|
|
432
|
-
* The ID of an existing attachment object. Use this when updating a resource and
|
|
433
|
-
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
434
|
-
* doing.
|
|
435
|
-
*/
|
|
436
|
-
id?: string | null;
|
|
455
|
+
interface AttachmentInputWithDirectUploadID {
|
|
437
456
|
/**
|
|
438
457
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
439
458
|
* the direct upload that was created when uploading the file to S3 via the
|
|
440
459
|
* mediaDirectUpload mutation.
|
|
441
460
|
*/
|
|
442
|
-
direct_upload_id
|
|
461
|
+
direct_upload_id: string;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Input for an attachment
|
|
465
|
+
*/
|
|
466
|
+
interface AttachmentInputWithID {
|
|
467
|
+
/**
|
|
468
|
+
* The ID of an existing attachment object. Use this when updating a resource and
|
|
469
|
+
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
470
|
+
* doing.
|
|
471
|
+
*/
|
|
472
|
+
id: string;
|
|
443
473
|
}
|
|
444
474
|
/**
|
|
445
475
|
* Input for creating or updating an assessment question option
|
|
@@ -463,36 +493,46 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
463
493
|
/**
|
|
464
494
|
* Input for an attachment
|
|
465
495
|
*/
|
|
466
|
-
interface
|
|
467
|
-
/**
|
|
468
|
-
* The ID of an existing attachment object. Use this when updating a resource and
|
|
469
|
-
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
470
|
-
* doing.
|
|
471
|
-
*/
|
|
472
|
-
id?: string | null;
|
|
496
|
+
interface AttachmentInputWithDirectUploadID {
|
|
473
497
|
/**
|
|
474
498
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
475
499
|
* the direct upload that was created when uploading the file to S3 via the
|
|
476
500
|
* mediaDirectUpload mutation.
|
|
477
501
|
*/
|
|
478
|
-
direct_upload_id
|
|
502
|
+
direct_upload_id: string;
|
|
479
503
|
}
|
|
480
504
|
/**
|
|
481
|
-
*
|
|
505
|
+
* Input for an attachment
|
|
482
506
|
*/
|
|
483
|
-
interface
|
|
507
|
+
interface AttachmentInputWithID {
|
|
484
508
|
/**
|
|
485
509
|
* The ID of an existing attachment object. Use this when updating a resource and
|
|
486
510
|
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
487
511
|
* doing.
|
|
488
512
|
*/
|
|
489
|
-
id
|
|
513
|
+
id: string;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Input for an attachment
|
|
517
|
+
*/
|
|
518
|
+
interface AttachmentInputWithDirectUploadID {
|
|
490
519
|
/**
|
|
491
520
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
492
521
|
* the direct upload that was created when uploading the file to S3 via the
|
|
493
522
|
* mediaDirectUpload mutation.
|
|
494
523
|
*/
|
|
495
|
-
direct_upload_id
|
|
524
|
+
direct_upload_id: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Input for an attachment
|
|
528
|
+
*/
|
|
529
|
+
interface AttachmentInputWithID {
|
|
530
|
+
/**
|
|
531
|
+
* The ID of an existing attachment object. Use this when updating a resource and
|
|
532
|
+
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
533
|
+
* doing.
|
|
534
|
+
*/
|
|
535
|
+
id: string;
|
|
496
536
|
}
|
|
497
537
|
}
|
|
498
538
|
export interface CourseLessonListParams extends CursorPageParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lessons.d.mts","sourceRoot":"","sources":["../src/resources/course-lessons.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIpF;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIlE;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,wBAAwB,GAAG,IAAI,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BAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -147,9 +147,10 @@ export declare namespace Lesson {
|
|
|
147
147
|
*/
|
|
148
148
|
id: string;
|
|
149
149
|
/**
|
|
150
|
-
* The correct answer for the question. Used for short answer questions
|
|
150
|
+
* The correct answer for the question. Used for short answer questions. Only
|
|
151
|
+
* visible to admins (users with courses:update permission)
|
|
151
152
|
*/
|
|
152
|
-
correct_answer: string;
|
|
153
|
+
correct_answer: string | null;
|
|
153
154
|
/**
|
|
154
155
|
* When the question was created
|
|
155
156
|
*/
|
|
@@ -207,9 +208,10 @@ export declare namespace Lesson {
|
|
|
207
208
|
*/
|
|
208
209
|
id: string;
|
|
209
210
|
/**
|
|
210
|
-
* Whether this option is a correct answer
|
|
211
|
+
* Whether this option is a correct answer. Only visible to admins (users with
|
|
212
|
+
* courses:update permission)
|
|
211
213
|
*/
|
|
212
|
-
is_correct: boolean;
|
|
214
|
+
is_correct: boolean | null;
|
|
213
215
|
/**
|
|
214
216
|
* The text of the answer option
|
|
215
217
|
*/
|
|
@@ -352,6 +354,10 @@ export interface CourseLessonCreateParams {
|
|
|
352
354
|
title?: string | null;
|
|
353
355
|
}
|
|
354
356
|
export interface CourseLessonUpdateParams {
|
|
357
|
+
/**
|
|
358
|
+
* Completion requirements for quiz/knowledge check lessons
|
|
359
|
+
*/
|
|
360
|
+
assessment_completion_requirement?: CourseLessonUpdateParams.AssessmentCompletionRequirement | null;
|
|
355
361
|
/**
|
|
356
362
|
* Assessment questions for quiz/knowledge check lessons. Replaces all existing
|
|
357
363
|
* questions.
|
|
@@ -361,7 +367,7 @@ export interface CourseLessonUpdateParams {
|
|
|
361
367
|
* General attachments for the lesson (PDFs, files, etc). Replaces all existing
|
|
362
368
|
* attachments.
|
|
363
369
|
*/
|
|
364
|
-
attachments?: Array<CourseLessonUpdateParams.
|
|
370
|
+
attachments?: Array<CourseLessonUpdateParams.AttachmentInputWithDirectUploadID | CourseLessonUpdateParams.AttachmentInputWithID> | null;
|
|
365
371
|
/**
|
|
366
372
|
* The content of the lesson
|
|
367
373
|
*/
|
|
@@ -377,7 +383,11 @@ export interface CourseLessonUpdateParams {
|
|
|
377
383
|
/**
|
|
378
384
|
* The main PDF file for this lesson
|
|
379
385
|
*/
|
|
380
|
-
main_pdf?: CourseLessonUpdateParams.
|
|
386
|
+
main_pdf?: CourseLessonUpdateParams.AttachmentInputWithDirectUploadID | CourseLessonUpdateParams.AttachmentInputWithID | null;
|
|
387
|
+
/**
|
|
388
|
+
* Maximum number of attempts allowed for assessments
|
|
389
|
+
*/
|
|
390
|
+
max_attempts?: number | null;
|
|
381
391
|
/**
|
|
382
392
|
* The ID of the Mux asset to attach to this lesson for video lessons
|
|
383
393
|
*/
|
|
@@ -393,6 +403,21 @@ export interface CourseLessonUpdateParams {
|
|
|
393
403
|
visibility?: LessonVisibilities | null;
|
|
394
404
|
}
|
|
395
405
|
export declare namespace CourseLessonUpdateParams {
|
|
406
|
+
/**
|
|
407
|
+
* Completion requirements for quiz/knowledge check lessons
|
|
408
|
+
*/
|
|
409
|
+
interface AssessmentCompletionRequirement {
|
|
410
|
+
/**
|
|
411
|
+
* The minimum grade percentage required to pass (0-100). Cannot be set together
|
|
412
|
+
* with minimum_questions_correct.
|
|
413
|
+
*/
|
|
414
|
+
minimum_grade_percent?: number | null;
|
|
415
|
+
/**
|
|
416
|
+
* The minimum number of questions that must be answered correctly. Cannot be set
|
|
417
|
+
* together with minimum_grade_percent.
|
|
418
|
+
*/
|
|
419
|
+
minimum_questions_correct?: number | null;
|
|
420
|
+
}
|
|
396
421
|
/**
|
|
397
422
|
* Input for creating or updating an assessment question
|
|
398
423
|
*/
|
|
@@ -417,7 +442,7 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
417
442
|
/**
|
|
418
443
|
* Optional image attachment for the question
|
|
419
444
|
*/
|
|
420
|
-
image?: AssessmentQuestion.
|
|
445
|
+
image?: AssessmentQuestion.AttachmentInputWithDirectUploadID | AssessmentQuestion.AttachmentInputWithID | null;
|
|
421
446
|
/**
|
|
422
447
|
* The answer options for multiple choice/select questions
|
|
423
448
|
*/
|
|
@@ -425,21 +450,26 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
425
450
|
}
|
|
426
451
|
namespace AssessmentQuestion {
|
|
427
452
|
/**
|
|
428
|
-
*
|
|
453
|
+
* Input for an attachment
|
|
429
454
|
*/
|
|
430
|
-
interface
|
|
431
|
-
/**
|
|
432
|
-
* The ID of an existing attachment object. Use this when updating a resource and
|
|
433
|
-
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
434
|
-
* doing.
|
|
435
|
-
*/
|
|
436
|
-
id?: string | null;
|
|
455
|
+
interface AttachmentInputWithDirectUploadID {
|
|
437
456
|
/**
|
|
438
457
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
439
458
|
* the direct upload that was created when uploading the file to S3 via the
|
|
440
459
|
* mediaDirectUpload mutation.
|
|
441
460
|
*/
|
|
442
|
-
direct_upload_id
|
|
461
|
+
direct_upload_id: string;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Input for an attachment
|
|
465
|
+
*/
|
|
466
|
+
interface AttachmentInputWithID {
|
|
467
|
+
/**
|
|
468
|
+
* The ID of an existing attachment object. Use this when updating a resource and
|
|
469
|
+
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
470
|
+
* doing.
|
|
471
|
+
*/
|
|
472
|
+
id: string;
|
|
443
473
|
}
|
|
444
474
|
/**
|
|
445
475
|
* Input for creating or updating an assessment question option
|
|
@@ -463,36 +493,46 @@ export declare namespace CourseLessonUpdateParams {
|
|
|
463
493
|
/**
|
|
464
494
|
* Input for an attachment
|
|
465
495
|
*/
|
|
466
|
-
interface
|
|
467
|
-
/**
|
|
468
|
-
* The ID of an existing attachment object. Use this when updating a resource and
|
|
469
|
-
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
470
|
-
* doing.
|
|
471
|
-
*/
|
|
472
|
-
id?: string | null;
|
|
496
|
+
interface AttachmentInputWithDirectUploadID {
|
|
473
497
|
/**
|
|
474
498
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
475
499
|
* the direct upload that was created when uploading the file to S3 via the
|
|
476
500
|
* mediaDirectUpload mutation.
|
|
477
501
|
*/
|
|
478
|
-
direct_upload_id
|
|
502
|
+
direct_upload_id: string;
|
|
479
503
|
}
|
|
480
504
|
/**
|
|
481
|
-
*
|
|
505
|
+
* Input for an attachment
|
|
482
506
|
*/
|
|
483
|
-
interface
|
|
507
|
+
interface AttachmentInputWithID {
|
|
484
508
|
/**
|
|
485
509
|
* The ID of an existing attachment object. Use this when updating a resource and
|
|
486
510
|
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
487
511
|
* doing.
|
|
488
512
|
*/
|
|
489
|
-
id
|
|
513
|
+
id: string;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Input for an attachment
|
|
517
|
+
*/
|
|
518
|
+
interface AttachmentInputWithDirectUploadID {
|
|
490
519
|
/**
|
|
491
520
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
492
521
|
* the direct upload that was created when uploading the file to S3 via the
|
|
493
522
|
* mediaDirectUpload mutation.
|
|
494
523
|
*/
|
|
495
|
-
direct_upload_id
|
|
524
|
+
direct_upload_id: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Input for an attachment
|
|
528
|
+
*/
|
|
529
|
+
interface AttachmentInputWithID {
|
|
530
|
+
/**
|
|
531
|
+
* The ID of an existing attachment object. Use this when updating a resource and
|
|
532
|
+
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
533
|
+
* doing.
|
|
534
|
+
*/
|
|
535
|
+
id: string;
|
|
496
536
|
}
|
|
497
537
|
}
|
|
498
538
|
export interface CourseLessonListParams extends CursorPageParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-lessons.d.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AAI,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
export declare class CourseStudents extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves a course student by interaction ID
|
|
8
|
+
*
|
|
9
|
+
* Required permissions:
|
|
10
|
+
*
|
|
11
|
+
* - `courses:read`
|
|
12
|
+
* - `course_analytics:read`
|
|
13
|
+
*/
|
|
14
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<CourseStudentRetrieveResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Lists students for a course
|
|
17
|
+
*
|
|
18
|
+
* Required permissions:
|
|
19
|
+
*
|
|
20
|
+
* - `courses:read`
|
|
21
|
+
* - `course_analytics:read`
|
|
22
|
+
*/
|
|
23
|
+
list(query: CourseStudentListParams, options?: RequestOptions): PagePromise<CourseStudentListResponsesCursorPage, CourseStudentListResponse>;
|
|
24
|
+
}
|
|
25
|
+
export type CourseStudentListResponsesCursorPage = CursorPage<CourseStudentListResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* A course student (enrollment of a student in a course)
|
|
28
|
+
*/
|
|
29
|
+
export interface CourseStudentRetrieveResponse {
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the course student. Looks like crsi_XXX
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The number of lessons the student has completed
|
|
36
|
+
*/
|
|
37
|
+
completed_lessons_count: number;
|
|
38
|
+
/**
|
|
39
|
+
* The percentage of lessons completed (0-100)
|
|
40
|
+
*/
|
|
41
|
+
completion_rate: number;
|
|
42
|
+
/**
|
|
43
|
+
* The course the student is enrolled in
|
|
44
|
+
*/
|
|
45
|
+
course: CourseStudentRetrieveResponse.Course;
|
|
46
|
+
/**
|
|
47
|
+
* When the student first interacted with the course
|
|
48
|
+
*/
|
|
49
|
+
first_interaction_at: string;
|
|
50
|
+
/**
|
|
51
|
+
* When the student last interacted with the course
|
|
52
|
+
*/
|
|
53
|
+
last_interaction_at: string;
|
|
54
|
+
/**
|
|
55
|
+
* The total number of lessons the student has access to
|
|
56
|
+
*/
|
|
57
|
+
total_lessons_count: number;
|
|
58
|
+
/**
|
|
59
|
+
* The user who is enrolled in the course
|
|
60
|
+
*/
|
|
61
|
+
user: CourseStudentRetrieveResponse.User;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace CourseStudentRetrieveResponse {
|
|
64
|
+
/**
|
|
65
|
+
* The course the student is enrolled in
|
|
66
|
+
*/
|
|
67
|
+
interface Course {
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the course. Looks like cors_XXX
|
|
70
|
+
*/
|
|
71
|
+
id: string;
|
|
72
|
+
/**
|
|
73
|
+
* The experience that the course belongs to
|
|
74
|
+
*/
|
|
75
|
+
experience: Course.Experience;
|
|
76
|
+
/**
|
|
77
|
+
* The title of the course
|
|
78
|
+
*/
|
|
79
|
+
title: string | null;
|
|
80
|
+
}
|
|
81
|
+
namespace Course {
|
|
82
|
+
/**
|
|
83
|
+
* The experience that the course belongs to
|
|
84
|
+
*/
|
|
85
|
+
interface Experience {
|
|
86
|
+
/**
|
|
87
|
+
* The unique ID representing this experience
|
|
88
|
+
*/
|
|
89
|
+
id: string;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The user who is enrolled in the course
|
|
94
|
+
*/
|
|
95
|
+
interface User {
|
|
96
|
+
/**
|
|
97
|
+
* The internal ID of the user.
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the user from their Whop account.
|
|
102
|
+
*/
|
|
103
|
+
name: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* The username of the user from their Whop account.
|
|
106
|
+
*/
|
|
107
|
+
username: string;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* A course student (enrollment of a student in a course)
|
|
112
|
+
*/
|
|
113
|
+
export interface CourseStudentListResponse {
|
|
114
|
+
/**
|
|
115
|
+
* The ID of the course student. Looks like crsi_XXX
|
|
116
|
+
*/
|
|
117
|
+
id: string;
|
|
118
|
+
/**
|
|
119
|
+
* The number of lessons the student has completed
|
|
120
|
+
*/
|
|
121
|
+
completed_lessons_count: number;
|
|
122
|
+
/**
|
|
123
|
+
* The percentage of lessons completed (0-100)
|
|
124
|
+
*/
|
|
125
|
+
completion_rate: number;
|
|
126
|
+
/**
|
|
127
|
+
* When the student first interacted with the course
|
|
128
|
+
*/
|
|
129
|
+
first_interaction_at: string;
|
|
130
|
+
/**
|
|
131
|
+
* When the student last interacted with the course
|
|
132
|
+
*/
|
|
133
|
+
last_interaction_at: string;
|
|
134
|
+
/**
|
|
135
|
+
* The total number of lessons the student has access to
|
|
136
|
+
*/
|
|
137
|
+
total_lessons_count: number;
|
|
138
|
+
/**
|
|
139
|
+
* The user who is enrolled in the course
|
|
140
|
+
*/
|
|
141
|
+
user: CourseStudentListResponse.User;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace CourseStudentListResponse {
|
|
144
|
+
/**
|
|
145
|
+
* The user who is enrolled in the course
|
|
146
|
+
*/
|
|
147
|
+
interface User {
|
|
148
|
+
/**
|
|
149
|
+
* The internal ID of the user.
|
|
150
|
+
*/
|
|
151
|
+
id: string;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the user from their Whop account.
|
|
154
|
+
*/
|
|
155
|
+
name: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* The username of the user from their Whop account.
|
|
158
|
+
*/
|
|
159
|
+
username: string;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export interface CourseStudentListParams extends CursorPageParams {
|
|
163
|
+
/**
|
|
164
|
+
* The ID of the course
|
|
165
|
+
*/
|
|
166
|
+
course_id: string;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the elements in the list that come before the specified cursor.
|
|
169
|
+
*/
|
|
170
|
+
before?: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the first _n_ elements from the list.
|
|
173
|
+
*/
|
|
174
|
+
first?: number | null;
|
|
175
|
+
/**
|
|
176
|
+
* Filter students by name - returns students whose names match the keyword
|
|
177
|
+
*/
|
|
178
|
+
keyword?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Returns the last _n_ elements from the list.
|
|
181
|
+
*/
|
|
182
|
+
last?: number | null;
|
|
183
|
+
}
|
|
184
|
+
export declare namespace CourseStudents {
|
|
185
|
+
export { type CourseStudentRetrieveResponse as CourseStudentRetrieveResponse, type CourseStudentListResponse as CourseStudentListResponse, type CourseStudentListResponsesCursorPage as CourseStudentListResponsesCursorPage, type CourseStudentListParams as CourseStudentListParams, };
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=course-students.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-students.d.mts","sourceRoot":"","sources":["../src/resources/course-students.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzF;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,yBAAyB,CAAC;CAMhF;AAED,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAAC,yBAAyB,CAAC,CAAC;AAEzF;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,6BAA6B,CAAC,MAAM,CAAC;IAE7C;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,6BAA6B,CAAC,IAAI,CAAC;CAC1C;AAED,yBAAiB,6BAA6B,CAAC;IAC7C;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;QAE9B;;WAEG;QACH,K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