@whop/sdk 0.0.3 → 0.0.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.
- package/CHANGELOG.md +64 -0
- package/client.d.mts +14 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -8
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +8 -2
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/access-tokens.d.mts +58 -0
- package/resources/access-tokens.d.mts.map +1 -0
- package/resources/access-tokens.d.ts +58 -0
- package/resources/access-tokens.d.ts.map +1 -0
- package/resources/access-tokens.js +25 -0
- package/resources/access-tokens.js.map +1 -0
- package/resources/access-tokens.mjs +21 -0
- package/resources/access-tokens.mjs.map +1 -0
- 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 +184 -24
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +184 -24
- 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 +85 -21
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +85 -21
- package/resources/courses.d.ts.map +1 -1
- package/resources/entries.d.mts +2 -2
- package/resources/entries.d.ts +2 -2
- 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 +29 -19
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +29 -19
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/index.d.mts +6 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +539 -167
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +539 -167
- 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/ledger-accounts.d.mts +1 -1
- package/resources/ledger-accounts.d.ts +1 -1
- package/resources/ledger-accounts.js +1 -1
- package/resources/ledger-accounts.mjs +1 -1
- package/resources/members.d.mts +11 -11
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +11 -11
- package/resources/members.d.ts.map +1 -1
- package/resources/memberships.d.mts +4 -4
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +4 -4
- package/resources/memberships.d.ts.map +1 -1
- package/resources/messages.d.mts +29 -19
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +29 -19
- package/resources/messages.d.ts.map +1 -1
- package/resources/payments.d.mts +10 -3
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +10 -3
- package/resources/payments.d.ts.map +1 -1
- package/resources/plans.d.mts +118 -20
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +118 -20
- 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 +20 -15
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +20 -15
- package/resources/products.d.ts.map +1 -1
- package/resources/promo-codes.d.mts +4 -4
- package/resources/promo-codes.d.ts +4 -4
- package/resources/shared.d.mts +69 -20
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +69 -20
- 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/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/src/client.ts +45 -10
- package/src/resources/access-tokens.ts +72 -0
- 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 +223 -24
- package/src/resources/course-students.ts +238 -0
- package/src/resources/courses.ts +104 -22
- package/src/resources/entries.ts +2 -2
- package/src/resources/experiences.ts +19 -11
- package/src/resources/forum-posts.ts +35 -21
- package/src/resources/index.ts +17 -2
- package/src/resources/invoices.ts +630 -171
- package/src/resources/ledger-accounts.ts +1 -1
- package/src/resources/members.ts +12 -12
- package/src/resources/memberships.ts +5 -5
- package/src/resources/messages.ts +35 -21
- package/src/resources/payments.ts +10 -3
- package/src/resources/plans.ts +130 -20
- package/src/resources/products.ts +24 -16
- package/src/resources/promo-codes.ts +4 -4
- package/src/resources/shared.ts +70 -20
- package/src/resources/transfers.ts +10 -0
- package/src/resources/users.ts +3 -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
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
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.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-students.d.ts","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,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ec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CourseStudents = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class CourseStudents extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a course student by interaction ID
|
|
11
|
+
*
|
|
12
|
+
* Required permissions:
|
|
13
|
+
*
|
|
14
|
+
* - `courses:read`
|
|
15
|
+
* - `course_analytics:read`
|
|
16
|
+
*/
|
|
17
|
+
retrieve(id, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/course_students/${id}`, options);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Lists students for a course
|
|
22
|
+
*
|
|
23
|
+
* Required permissions:
|
|
24
|
+
*
|
|
25
|
+
* - `courses:read`
|
|
26
|
+
* - `course_analytics:read`
|
|
27
|
+
*/
|
|
28
|
+
list(query, options) {
|
|
29
|
+
return this._client.getAPIList('/course_students', (pagination_1.CursorPage), {
|
|
30
|
+
query,
|
|
31
|
+
...options,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.CourseStudents = CourseStudents;
|
|
36
|
+
//# sourceMappingURL=course-students.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-students.js","sourceRoot":"","sources":["../src/resources/course-students.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,KAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,uBAAqC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,wCA8BC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { CursorPage } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export 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, options) {
|
|
15
|
+
return this._client.get(path `/course_students/${id}`, options);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Lists students for a course
|
|
19
|
+
*
|
|
20
|
+
* Required permissions:
|
|
21
|
+
*
|
|
22
|
+
* - `courses:read`
|
|
23
|
+
* - `course_analytics:read`
|
|
24
|
+
*/
|
|
25
|
+
list(query, options) {
|
|
26
|
+
return this._client.getAPIList('/course_students', (CursorPage), {
|
|
27
|
+
query,
|
|
28
|
+
...options,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=course-students.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-students.mjs","sourceRoot":"","sources":["../src/resources/course-students.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,KAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,UAAqC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/courses.d.mts
CHANGED
|
@@ -113,6 +113,10 @@ export interface Course {
|
|
|
113
113
|
* captions in the right language
|
|
114
114
|
*/
|
|
115
115
|
language: Languages;
|
|
116
|
+
/**
|
|
117
|
+
* The order of the course within its experience
|
|
118
|
+
*/
|
|
119
|
+
order: string;
|
|
116
120
|
/**
|
|
117
121
|
* Whether the course requires students to complete the previous lesson before
|
|
118
122
|
* moving on to the next one
|
|
@@ -134,6 +138,11 @@ export interface Course {
|
|
|
134
138
|
* The timestamp of when the course was last updated
|
|
135
139
|
*/
|
|
136
140
|
updated_at: string;
|
|
141
|
+
/**
|
|
142
|
+
* The visibility of the course. Determines how / whether this course is visible to
|
|
143
|
+
* users.
|
|
144
|
+
*/
|
|
145
|
+
visibility: CourseVisibilities;
|
|
137
146
|
}
|
|
138
147
|
export declare namespace Course {
|
|
139
148
|
/**
|
|
@@ -208,6 +217,11 @@ export declare namespace Course {
|
|
|
208
217
|
source_url: string | null;
|
|
209
218
|
}
|
|
210
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* The available visibilities for a course. Determines how / whether a course is
|
|
222
|
+
* visible to users.
|
|
223
|
+
*/
|
|
224
|
+
export type CourseVisibilities = 'visible' | 'hidden';
|
|
211
225
|
/**
|
|
212
226
|
* The available languages for a course
|
|
213
227
|
*/
|
|
@@ -238,6 +252,10 @@ export interface CourseListResponse {
|
|
|
238
252
|
* captions in the right language
|
|
239
253
|
*/
|
|
240
254
|
language: Languages;
|
|
255
|
+
/**
|
|
256
|
+
* The order of the course within its experience
|
|
257
|
+
*/
|
|
258
|
+
order: string;
|
|
241
259
|
/**
|
|
242
260
|
* Whether the course requires students to complete the previous lesson before
|
|
243
261
|
* moving on to the next one
|
|
@@ -259,6 +277,11 @@ export interface CourseListResponse {
|
|
|
259
277
|
* The timestamp of when the course was last updated
|
|
260
278
|
*/
|
|
261
279
|
updated_at: string;
|
|
280
|
+
/**
|
|
281
|
+
* The visibility of the course. Determines how / whether this course is visible to
|
|
282
|
+
* users.
|
|
283
|
+
*/
|
|
284
|
+
visibility: CourseVisibilities;
|
|
262
285
|
}
|
|
263
286
|
export declare namespace CourseListResponse {
|
|
264
287
|
/**
|
|
@@ -302,10 +325,26 @@ export interface CourseCreateParams {
|
|
|
302
325
|
* The title of the course
|
|
303
326
|
*/
|
|
304
327
|
title: string;
|
|
328
|
+
/**
|
|
329
|
+
* Whether the course will award its students a PDF certificate after completing
|
|
330
|
+
* all lessons
|
|
331
|
+
*/
|
|
332
|
+
certificate_after_completion_enabled?: boolean | null;
|
|
305
333
|
/**
|
|
306
334
|
* The cover image URL of the course
|
|
307
335
|
*/
|
|
308
336
|
cover_image?: string | null;
|
|
337
|
+
/**
|
|
338
|
+
* The decimal order position of the course within its experience. If not provided,
|
|
339
|
+
* it will be set to the next sequential order. Use fractional values (e.g., 1.5)
|
|
340
|
+
* to place between existing courses.
|
|
341
|
+
*/
|
|
342
|
+
order?: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* Whether the course requires students to complete the previous lesson before
|
|
345
|
+
* moving on to the next one
|
|
346
|
+
*/
|
|
347
|
+
require_completing_lessons_in_order?: boolean | null;
|
|
309
348
|
/**
|
|
310
349
|
* The tagline of the course
|
|
311
350
|
*/
|
|
@@ -313,25 +352,35 @@ export interface CourseCreateParams {
|
|
|
313
352
|
/**
|
|
314
353
|
* The thumbnail for the course in png, jpeg, or gif format
|
|
315
354
|
*/
|
|
316
|
-
thumbnail?: CourseCreateParams.
|
|
355
|
+
thumbnail?: CourseCreateParams.AttachmentInputWithDirectUploadID | CourseCreateParams.AttachmentInputWithID | null;
|
|
356
|
+
/**
|
|
357
|
+
* The available visibilities for a course. Determines how / whether a course is
|
|
358
|
+
* visible to users.
|
|
359
|
+
*/
|
|
360
|
+
visibility?: CourseVisibilities | null;
|
|
317
361
|
}
|
|
318
362
|
export declare namespace CourseCreateParams {
|
|
319
363
|
/**
|
|
320
|
-
*
|
|
364
|
+
* Input for an attachment
|
|
321
365
|
*/
|
|
322
|
-
interface
|
|
323
|
-
/**
|
|
324
|
-
* The ID of an existing attachment object. Use this when updating a resource and
|
|
325
|
-
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
326
|
-
* doing.
|
|
327
|
-
*/
|
|
328
|
-
id?: string | null;
|
|
366
|
+
interface AttachmentInputWithDirectUploadID {
|
|
329
367
|
/**
|
|
330
368
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
331
369
|
* the direct upload that was created when uploading the file to S3 via the
|
|
332
370
|
* mediaDirectUpload mutation.
|
|
333
371
|
*/
|
|
334
|
-
direct_upload_id
|
|
372
|
+
direct_upload_id: string;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Input for an attachment
|
|
376
|
+
*/
|
|
377
|
+
interface AttachmentInputWithID {
|
|
378
|
+
/**
|
|
379
|
+
* The ID of an existing attachment object. Use this when updating a resource and
|
|
380
|
+
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
381
|
+
* doing.
|
|
382
|
+
*/
|
|
383
|
+
id: string;
|
|
335
384
|
}
|
|
336
385
|
}
|
|
337
386
|
export interface CourseUpdateParams {
|
|
@@ -356,6 +405,11 @@ export interface CourseUpdateParams {
|
|
|
356
405
|
* The available languages for a course
|
|
357
406
|
*/
|
|
358
407
|
language?: Languages | null;
|
|
408
|
+
/**
|
|
409
|
+
* The decimal order position of the course within its experience. Use fractional
|
|
410
|
+
* values (e.g., 1.5) to place between existing courses.
|
|
411
|
+
*/
|
|
412
|
+
order?: string | null;
|
|
359
413
|
/**
|
|
360
414
|
* Whether the course requires students to complete the previous lesson before
|
|
361
415
|
* moving on to the next one
|
|
@@ -368,11 +422,16 @@ export interface CourseUpdateParams {
|
|
|
368
422
|
/**
|
|
369
423
|
* The thumbnail for the course in png, jpeg, or gif format
|
|
370
424
|
*/
|
|
371
|
-
thumbnail?: CourseUpdateParams.
|
|
425
|
+
thumbnail?: CourseUpdateParams.AttachmentInputWithDirectUploadID | CourseUpdateParams.AttachmentInputWithID | null;
|
|
372
426
|
/**
|
|
373
427
|
* The title of the course
|
|
374
428
|
*/
|
|
375
429
|
title?: string | null;
|
|
430
|
+
/**
|
|
431
|
+
* The available visibilities for a course. Determines how / whether a course is
|
|
432
|
+
* visible to users.
|
|
433
|
+
*/
|
|
434
|
+
visibility?: CourseVisibilities | null;
|
|
376
435
|
}
|
|
377
436
|
export declare namespace CourseUpdateParams {
|
|
378
437
|
/**
|
|
@@ -420,21 +479,26 @@ export declare namespace CourseUpdateParams {
|
|
|
420
479
|
}
|
|
421
480
|
}
|
|
422
481
|
/**
|
|
423
|
-
*
|
|
482
|
+
* Input for an attachment
|
|
424
483
|
*/
|
|
425
|
-
interface
|
|
426
|
-
/**
|
|
427
|
-
* The ID of an existing attachment object. Use this when updating a resource and
|
|
428
|
-
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
429
|
-
* doing.
|
|
430
|
-
*/
|
|
431
|
-
id?: string | null;
|
|
484
|
+
interface AttachmentInputWithDirectUploadID {
|
|
432
485
|
/**
|
|
433
486
|
* This ID should be used the first time you upload an attachment. It is the ID of
|
|
434
487
|
* the direct upload that was created when uploading the file to S3 via the
|
|
435
488
|
* mediaDirectUpload mutation.
|
|
436
489
|
*/
|
|
437
|
-
direct_upload_id
|
|
490
|
+
direct_upload_id: string;
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* Input for an attachment
|
|
494
|
+
*/
|
|
495
|
+
interface AttachmentInputWithID {
|
|
496
|
+
/**
|
|
497
|
+
* The ID of an existing attachment object. Use this when updating a resource and
|
|
498
|
+
* keeping a subset of the attachments. Don't use this unless you know what you're
|
|
499
|
+
* doing.
|
|
500
|
+
*/
|
|
501
|
+
id: string;
|
|
438
502
|
}
|
|
439
503
|
}
|
|
440
504
|
export interface CourseListParams extends CursorPageParams {
|
|
@@ -460,6 +524,6 @@ export interface CourseListParams extends CursorPageParams {
|
|
|
460
524
|
last?: number | null;
|
|
461
525
|
}
|
|
462
526
|
export declare namespace Courses {
|
|
463
|
-
export { type Course as Course, type Languages as Languages, type CourseListResponse as CourseListResponse, type CourseDeleteResponse as CourseDeleteResponse, type CourseListResponsesCursorPage as CourseListResponsesCursorPage, type CourseCreateParams as CourseCreateParams, type CourseUpdateParams as CourseUpdateParams, type CourseListParams as CourseListParams, };
|
|
527
|
+
export { type Course as Course, type CourseVisibilities as CourseVisibilities, type Languages as Languages, type CourseListResponse as CourseListResponse, type CourseDeleteResponse as CourseDeleteResponse, type CourseListResponsesCursorPage as CourseListResponsesCursorPage, type CourseCreateParams as CourseCreateParams, type CourseUpdateParams as CourseUpdateParams, type CourseListParams as CourseListParams, };
|
|
464
528
|
}
|
|
465
529
|
//# sourceMappingURL=courses.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"courses.d.mts","sourceRoot":"","sources":["../src/resources/courses.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,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU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