@whop/sdk 0.0.26 → 0.0.27
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 +37 -0
- package/client.d.mts +6 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -5
- package/client.d.ts.map +1 -1
- package/client.js +9 -2
- package/client.js.map +1 -1
- package/client.mjs +9 -2
- package/client.mjs.map +1 -1
- package/package.json +3 -3
- package/resources/access-tokens.d.mts +32 -51
- package/resources/access-tokens.d.mts.map +1 -1
- package/resources/access-tokens.d.ts +32 -51
- package/resources/access-tokens.d.ts.map +1 -1
- package/resources/access-tokens.js +6 -8
- package/resources/access-tokens.js.map +1 -1
- package/resources/access-tokens.mjs +6 -8
- package/resources/access-tokens.mjs.map +1 -1
- package/resources/ai-chats.d.mts +37 -9
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +37 -9
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +1 -1
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +1 -1
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/app-builds.d.mts +2 -2
- package/resources/app-builds.d.ts +2 -2
- package/resources/apps.d.mts +5 -4
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +5 -4
- package/resources/apps.d.ts.map +1 -1
- package/resources/authorized-users.d.mts +6 -6
- package/resources/authorized-users.d.ts +6 -6
- package/resources/chat-channels.d.mts +1 -1
- package/resources/chat-channels.d.ts +1 -1
- package/resources/checkout-configurations.d.mts +24 -16
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +24 -16
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/companies.d.mts +38 -25
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +38 -25
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +7 -4
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +7 -4
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +10 -10
- package/resources/company-token-transactions.d.ts +10 -10
- package/resources/course-chapters.d.mts +3 -3
- package/resources/course-chapters.d.ts +3 -3
- package/resources/course-lessons.d.mts +15 -15
- package/resources/course-lessons.d.ts +15 -15
- package/resources/course-students.d.mts +6 -6
- package/resources/course-students.d.ts +6 -6
- package/resources/courses.d.mts +8 -8
- package/resources/courses.d.ts +8 -8
- package/resources/disputes.d.mts +20 -18
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +20 -18
- package/resources/disputes.d.ts.map +1 -1
- package/resources/entries.d.mts +6 -6
- package/resources/entries.d.ts +6 -6
- package/resources/experiences.d.mts +6 -5
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +6 -5
- package/resources/experiences.d.ts.map +1 -1
- package/resources/fee-markups.d.mts +6 -6
- package/resources/fee-markups.d.ts +6 -6
- package/resources/files.d.mts +2 -2
- package/resources/files.d.ts +2 -2
- package/resources/forum-posts.d.mts +8 -4
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +8 -4
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forums.d.mts +1 -1
- package/resources/forums.d.ts +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +28 -20
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +28 -20
- package/resources/invoices.d.ts.map +1 -1
- package/resources/leads.d.mts +12 -12
- package/resources/leads.d.ts +12 -12
- package/resources/ledger-accounts.d.mts +9 -7
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +9 -7
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/members.d.mts +9 -9
- package/resources/members.d.ts +9 -9
- package/resources/memberships.d.mts +17 -12
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +17 -12
- package/resources/memberships.d.ts.map +1 -1
- package/resources/messages.d.mts +7 -3
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +7 -3
- package/resources/messages.d.ts.map +1 -1
- package/resources/payments.d.mts +27 -20
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +27 -20
- package/resources/payments.d.ts.map +1 -1
- package/resources/payout-methods.d.mts +6 -6
- package/resources/payout-methods.d.ts +6 -6
- package/resources/plans.d.mts +34 -24
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +34 -24
- package/resources/plans.d.ts.map +1 -1
- package/resources/products.d.mts +4 -2
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +4 -2
- package/resources/products.d.ts.map +1 -1
- package/resources/promo-codes.d.mts +22 -12
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +22 -12
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/reactions.d.mts +1 -1
- package/resources/reactions.d.ts +1 -1
- package/resources/refunds.d.mts +19 -15
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +19 -15
- package/resources/refunds.d.ts.map +1 -1
- package/resources/reviews.d.mts +10 -10
- package/resources/reviews.d.ts +10 -10
- package/resources/setup-intents.d.mts +18 -20
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +18 -20
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/shared.d.mts +175 -137
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +175 -137
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +4 -4
- package/resources/shipments.d.ts +4 -4
- package/resources/support-channels.d.mts +1 -1
- package/resources/support-channels.d.ts +1 -1
- package/resources/topups.d.mts +6 -4
- package/resources/topups.d.mts.map +1 -1
- package/resources/topups.d.ts +6 -4
- package/resources/topups.d.ts.map +1 -1
- package/resources/transfers.d.mts +8 -5
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +8 -5
- package/resources/transfers.d.ts.map +1 -1
- package/resources/users.d.mts +46 -8
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +46 -8
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +10 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +10 -0
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +1 -1
- package/resources/verifications.d.ts +1 -1
- package/resources/webhooks.d.mts +71 -57
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +71 -57
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/withdrawals.d.mts +15 -11
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +15 -11
- package/resources/withdrawals.d.ts.map +1 -1
- package/src/client.ts +20 -8
- package/src/resources/access-tokens.ts +35 -56
- package/src/resources/ai-chats.ts +42 -9
- package/src/resources/app-builds.ts +2 -2
- package/src/resources/apps.ts +5 -4
- package/src/resources/authorized-users.ts +6 -6
- package/src/resources/chat-channels.ts +1 -1
- package/src/resources/checkout-configurations.ts +24 -16
- package/src/resources/companies.ts +41 -26
- package/src/resources/company-token-transactions.ts +10 -10
- package/src/resources/course-chapters.ts +3 -3
- package/src/resources/course-lessons.ts +15 -15
- package/src/resources/course-students.ts +6 -6
- package/src/resources/courses.ts +8 -8
- package/src/resources/disputes.ts +20 -18
- package/src/resources/entries.ts +6 -6
- package/src/resources/experiences.ts +6 -5
- package/src/resources/fee-markups.ts +6 -6
- package/src/resources/files.ts +2 -2
- package/src/resources/forum-posts.ts +8 -4
- package/src/resources/forums.ts +1 -1
- package/src/resources/index.ts +2 -1
- package/src/resources/invoices.ts +28 -20
- package/src/resources/leads.ts +12 -12
- package/src/resources/ledger-accounts.ts +9 -7
- package/src/resources/members.ts +9 -9
- package/src/resources/memberships.ts +18 -12
- package/src/resources/messages.ts +7 -3
- package/src/resources/payments.ts +28 -18
- package/src/resources/payout-methods.ts +6 -6
- package/src/resources/plans.ts +34 -24
- package/src/resources/products.ts +4 -2
- package/src/resources/promo-codes.ts +22 -12
- package/src/resources/reactions.ts +1 -1
- package/src/resources/refunds.ts +20 -15
- package/src/resources/reviews.ts +10 -10
- package/src/resources/setup-intents.ts +18 -20
- package/src/resources/shared.ts +176 -137
- package/src/resources/shipments.ts +4 -4
- package/src/resources/support-channels.ts +1 -1
- package/src/resources/topups.ts +6 -4
- package/src/resources/transfers.ts +8 -5
- package/src/resources/users.ts +58 -8
- package/src/resources/verifications.ts +1 -1
- package/src/resources/webhooks.ts +71 -57
- package/src/resources/withdrawals.ts +15 -11
- 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
|
@@ -56,7 +56,7 @@ export type BotTokenTransactionTypes = 'add' | 'subtract' | 'transfer';
|
|
|
56
56
|
*/
|
|
57
57
|
export interface CompanyTokenTransaction {
|
|
58
58
|
/**
|
|
59
|
-
* The
|
|
59
|
+
* The unique identifier for the company token transaction.
|
|
60
60
|
*/
|
|
61
61
|
id: string;
|
|
62
62
|
/**
|
|
@@ -68,7 +68,7 @@ export interface CompanyTokenTransaction {
|
|
|
68
68
|
*/
|
|
69
69
|
company: CompanyTokenTransaction.Company;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* The datetime the company token transaction was created.
|
|
72
72
|
*/
|
|
73
73
|
created_at: string;
|
|
74
74
|
/**
|
|
@@ -102,7 +102,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
102
102
|
*/
|
|
103
103
|
interface Company {
|
|
104
104
|
/**
|
|
105
|
-
* The
|
|
105
|
+
* The unique identifier for the company.
|
|
106
106
|
*/
|
|
107
107
|
id: string;
|
|
108
108
|
/**
|
|
@@ -119,7 +119,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
119
119
|
*/
|
|
120
120
|
interface Member {
|
|
121
121
|
/**
|
|
122
|
-
* The
|
|
122
|
+
* The unique identifier for the company member.
|
|
123
123
|
*/
|
|
124
124
|
id: string;
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
128
128
|
*/
|
|
129
129
|
interface User {
|
|
130
130
|
/**
|
|
131
|
-
* The
|
|
131
|
+
* The unique identifier for the user.
|
|
132
132
|
*/
|
|
133
133
|
id: string;
|
|
134
134
|
/**
|
|
@@ -146,7 +146,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
146
146
|
*/
|
|
147
147
|
export interface CompanyTokenTransactionListResponse {
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The unique identifier for the company token transaction.
|
|
150
150
|
*/
|
|
151
151
|
id: string;
|
|
152
152
|
/**
|
|
@@ -158,7 +158,7 @@ export interface CompanyTokenTransactionListResponse {
|
|
|
158
158
|
*/
|
|
159
159
|
company: CompanyTokenTransactionListResponse.Company;
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* The datetime the company token transaction was created.
|
|
162
162
|
*/
|
|
163
163
|
created_at: string;
|
|
164
164
|
/**
|
|
@@ -192,7 +192,7 @@ export declare namespace CompanyTokenTransactionListResponse {
|
|
|
192
192
|
*/
|
|
193
193
|
interface Company {
|
|
194
194
|
/**
|
|
195
|
-
* The
|
|
195
|
+
* The unique identifier for the company.
|
|
196
196
|
*/
|
|
197
197
|
id: string;
|
|
198
198
|
/**
|
|
@@ -209,7 +209,7 @@ export declare namespace CompanyTokenTransactionListResponse {
|
|
|
209
209
|
*/
|
|
210
210
|
interface Member {
|
|
211
211
|
/**
|
|
212
|
-
* The
|
|
212
|
+
* The unique identifier for the company member.
|
|
213
213
|
*/
|
|
214
214
|
id: string;
|
|
215
215
|
}
|
|
@@ -218,7 +218,7 @@ export declare namespace CompanyTokenTransactionListResponse {
|
|
|
218
218
|
*/
|
|
219
219
|
interface User {
|
|
220
220
|
/**
|
|
221
|
-
* The
|
|
221
|
+
* The unique identifier for the user.
|
|
222
222
|
*/
|
|
223
223
|
id: string;
|
|
224
224
|
/**
|
|
@@ -56,7 +56,7 @@ export type BotTokenTransactionTypes = 'add' | 'subtract' | 'transfer';
|
|
|
56
56
|
*/
|
|
57
57
|
export interface CompanyTokenTransaction {
|
|
58
58
|
/**
|
|
59
|
-
* The
|
|
59
|
+
* The unique identifier for the company token transaction.
|
|
60
60
|
*/
|
|
61
61
|
id: string;
|
|
62
62
|
/**
|
|
@@ -68,7 +68,7 @@ export interface CompanyTokenTransaction {
|
|
|
68
68
|
*/
|
|
69
69
|
company: CompanyTokenTransaction.Company;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* The datetime the company token transaction was created.
|
|
72
72
|
*/
|
|
73
73
|
created_at: string;
|
|
74
74
|
/**
|
|
@@ -102,7 +102,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
102
102
|
*/
|
|
103
103
|
interface Company {
|
|
104
104
|
/**
|
|
105
|
-
* The
|
|
105
|
+
* The unique identifier for the company.
|
|
106
106
|
*/
|
|
107
107
|
id: string;
|
|
108
108
|
/**
|
|
@@ -119,7 +119,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
119
119
|
*/
|
|
120
120
|
interface Member {
|
|
121
121
|
/**
|
|
122
|
-
* The
|
|
122
|
+
* The unique identifier for the company member.
|
|
123
123
|
*/
|
|
124
124
|
id: string;
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
128
128
|
*/
|
|
129
129
|
interface User {
|
|
130
130
|
/**
|
|
131
|
-
* The
|
|
131
|
+
* The unique identifier for the user.
|
|
132
132
|
*/
|
|
133
133
|
id: string;
|
|
134
134
|
/**
|
|
@@ -146,7 +146,7 @@ export declare namespace CompanyTokenTransaction {
|
|
|
146
146
|
*/
|
|
147
147
|
export interface CompanyTokenTransactionListResponse {
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The unique identifier for the company token transaction.
|
|
150
150
|
*/
|
|
151
151
|
id: string;
|
|
152
152
|
/**
|
|
@@ -158,7 +158,7 @@ export interface CompanyTokenTransactionListResponse {
|
|
|
158
158
|
*/
|
|
159
159
|
company: CompanyTokenTransactionListResponse.Company;
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* The datetime the company token transaction was created.
|
|
162
162
|
*/
|
|
163
163
|
created_at: string;
|
|
164
164
|
/**
|
|
@@ -192,7 +192,7 @@ export declare namespace CompanyTokenTransactionListResponse {
|
|
|
192
192
|
*/
|
|
193
193
|
interface Company {
|
|
194
194
|
/**
|
|
195
|
-
* The
|
|
195
|
+
* The unique identifier for the company.
|
|
196
196
|
*/
|
|
197
197
|
id: string;
|
|
198
198
|
/**
|
|
@@ -209,7 +209,7 @@ export declare namespace CompanyTokenTransactionListResponse {
|
|
|
209
209
|
*/
|
|
210
210
|
interface Member {
|
|
211
211
|
/**
|
|
212
|
-
* The
|
|
212
|
+
* The unique identifier for the company member.
|
|
213
213
|
*/
|
|
214
214
|
id: string;
|
|
215
215
|
}
|
|
@@ -218,7 +218,7 @@ export declare namespace CompanyTokenTransactionListResponse {
|
|
|
218
218
|
*/
|
|
219
219
|
interface User {
|
|
220
220
|
/**
|
|
221
|
-
* The
|
|
221
|
+
* The unique identifier for the user.
|
|
222
222
|
*/
|
|
223
223
|
id: string;
|
|
224
224
|
/**
|
|
@@ -89,7 +89,7 @@ export type CourseChapterListResponsesCursorPage = CursorPage<CourseChapterListR
|
|
|
89
89
|
*/
|
|
90
90
|
export interface CourseChapter {
|
|
91
91
|
/**
|
|
92
|
-
* The
|
|
92
|
+
* The unique identifier for the chapter.
|
|
93
93
|
*/
|
|
94
94
|
id: string;
|
|
95
95
|
/**
|
|
@@ -111,7 +111,7 @@ export declare namespace CourseChapter {
|
|
|
111
111
|
*/
|
|
112
112
|
interface Lesson {
|
|
113
113
|
/**
|
|
114
|
-
* The
|
|
114
|
+
* The unique identifier for the lesson.
|
|
115
115
|
*/
|
|
116
116
|
id: string;
|
|
117
117
|
/**
|
|
@@ -129,7 +129,7 @@ export declare namespace CourseChapter {
|
|
|
129
129
|
*/
|
|
130
130
|
export interface CourseChapterListResponse {
|
|
131
131
|
/**
|
|
132
|
-
* The
|
|
132
|
+
* The unique identifier for the chapter.
|
|
133
133
|
*/
|
|
134
134
|
id: string;
|
|
135
135
|
/**
|
|
@@ -89,7 +89,7 @@ export type CourseChapterListResponsesCursorPage = CursorPage<CourseChapterListR
|
|
|
89
89
|
*/
|
|
90
90
|
export interface CourseChapter {
|
|
91
91
|
/**
|
|
92
|
-
* The
|
|
92
|
+
* The unique identifier for the chapter.
|
|
93
93
|
*/
|
|
94
94
|
id: string;
|
|
95
95
|
/**
|
|
@@ -111,7 +111,7 @@ export declare namespace CourseChapter {
|
|
|
111
111
|
*/
|
|
112
112
|
interface Lesson {
|
|
113
113
|
/**
|
|
114
|
-
* The
|
|
114
|
+
* The unique identifier for the lesson.
|
|
115
115
|
*/
|
|
116
116
|
id: string;
|
|
117
117
|
/**
|
|
@@ -129,7 +129,7 @@ export declare namespace CourseChapter {
|
|
|
129
129
|
*/
|
|
130
130
|
export interface CourseChapterListResponse {
|
|
131
131
|
/**
|
|
132
|
-
* The
|
|
132
|
+
* The unique identifier for the chapter.
|
|
133
133
|
*/
|
|
134
134
|
id: string;
|
|
135
135
|
/**
|
|
@@ -130,7 +130,7 @@ export type EmbedType = 'youtube' | 'loom';
|
|
|
130
130
|
*/
|
|
131
131
|
export interface Lesson {
|
|
132
132
|
/**
|
|
133
|
-
* The
|
|
133
|
+
* The unique identifier for the lesson.
|
|
134
134
|
*/
|
|
135
135
|
id: string;
|
|
136
136
|
/**
|
|
@@ -146,7 +146,7 @@ export interface Lesson {
|
|
|
146
146
|
*/
|
|
147
147
|
content: string | null;
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The datetime the lesson was created.
|
|
150
150
|
*/
|
|
151
151
|
created_at: string;
|
|
152
152
|
/**
|
|
@@ -197,7 +197,7 @@ export declare namespace Lesson {
|
|
|
197
197
|
*/
|
|
198
198
|
interface AssessmentQuestion {
|
|
199
199
|
/**
|
|
200
|
-
* The
|
|
200
|
+
* The unique identifier for the assessment question.
|
|
201
201
|
*/
|
|
202
202
|
id: string;
|
|
203
203
|
/**
|
|
@@ -206,7 +206,7 @@ export declare namespace Lesson {
|
|
|
206
206
|
*/
|
|
207
207
|
correct_answer: string | null;
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
209
|
+
* The datetime the assessment question was created.
|
|
210
210
|
*/
|
|
211
211
|
created_at: string;
|
|
212
212
|
/**
|
|
@@ -258,7 +258,7 @@ export declare namespace Lesson {
|
|
|
258
258
|
*/
|
|
259
259
|
interface Option {
|
|
260
260
|
/**
|
|
261
|
-
* The
|
|
261
|
+
* The unique identifier for the assessment question option.
|
|
262
262
|
*/
|
|
263
263
|
id: string;
|
|
264
264
|
/**
|
|
@@ -335,7 +335,7 @@ export declare namespace Lesson {
|
|
|
335
335
|
*/
|
|
336
336
|
interface VideoAsset {
|
|
337
337
|
/**
|
|
338
|
-
* The
|
|
338
|
+
* The unique identifier for the mux asset.
|
|
339
339
|
*/
|
|
340
340
|
id: string;
|
|
341
341
|
/**
|
|
@@ -347,7 +347,7 @@ export declare namespace Lesson {
|
|
|
347
347
|
*/
|
|
348
348
|
audio_only: boolean;
|
|
349
349
|
/**
|
|
350
|
-
* The
|
|
350
|
+
* The datetime the mux asset was created.
|
|
351
351
|
*/
|
|
352
352
|
created_at: string;
|
|
353
353
|
/**
|
|
@@ -383,7 +383,7 @@ export declare namespace Lesson {
|
|
|
383
383
|
*/
|
|
384
384
|
status: 'uploading' | 'created' | 'ready';
|
|
385
385
|
/**
|
|
386
|
-
* The
|
|
386
|
+
* The datetime the mux asset was last updated.
|
|
387
387
|
*/
|
|
388
388
|
updated_at: string;
|
|
389
389
|
}
|
|
@@ -402,7 +402,7 @@ export type LessonVisibilities = 'visible' | 'hidden';
|
|
|
402
402
|
*/
|
|
403
403
|
export interface CourseLessonListResponse {
|
|
404
404
|
/**
|
|
405
|
-
* The
|
|
405
|
+
* The unique identifier for the lesson.
|
|
406
406
|
*/
|
|
407
407
|
id: string;
|
|
408
408
|
/**
|
|
@@ -410,7 +410,7 @@ export interface CourseLessonListResponse {
|
|
|
410
410
|
*/
|
|
411
411
|
content: string | null;
|
|
412
412
|
/**
|
|
413
|
-
* The
|
|
413
|
+
* The datetime the lesson was created.
|
|
414
414
|
*/
|
|
415
415
|
created_at: string;
|
|
416
416
|
/**
|
|
@@ -476,11 +476,11 @@ export type CourseLessonStartResponse = boolean;
|
|
|
476
476
|
*/
|
|
477
477
|
export interface CourseLessonSubmitAssessmentResponse {
|
|
478
478
|
/**
|
|
479
|
-
* The
|
|
479
|
+
* The unique identifier for the assessment result.
|
|
480
480
|
*/
|
|
481
481
|
id: string;
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* The datetime the assessment result was created.
|
|
484
484
|
*/
|
|
485
485
|
created_at: string;
|
|
486
486
|
/**
|
|
@@ -514,7 +514,7 @@ export interface CourseLessonSubmitAssessmentResponse {
|
|
|
514
514
|
*/
|
|
515
515
|
score_percent: number;
|
|
516
516
|
/**
|
|
517
|
-
*
|
|
517
|
+
* The datetime the assessment result was last updated.
|
|
518
518
|
*/
|
|
519
519
|
updated_at: string;
|
|
520
520
|
/**
|
|
@@ -528,7 +528,7 @@ export declare namespace CourseLessonSubmitAssessmentResponse {
|
|
|
528
528
|
*/
|
|
529
529
|
interface Lesson {
|
|
530
530
|
/**
|
|
531
|
-
* The
|
|
531
|
+
* The unique identifier for the lesson.
|
|
532
532
|
*/
|
|
533
533
|
id: string;
|
|
534
534
|
/**
|
|
@@ -541,7 +541,7 @@ export declare namespace CourseLessonSubmitAssessmentResponse {
|
|
|
541
541
|
*/
|
|
542
542
|
interface User {
|
|
543
543
|
/**
|
|
544
|
-
* The
|
|
544
|
+
* The unique identifier for the user.
|
|
545
545
|
*/
|
|
546
546
|
id: string;
|
|
547
547
|
/**
|
|
@@ -130,7 +130,7 @@ export type EmbedType = 'youtube' | 'loom';
|
|
|
130
130
|
*/
|
|
131
131
|
export interface Lesson {
|
|
132
132
|
/**
|
|
133
|
-
* The
|
|
133
|
+
* The unique identifier for the lesson.
|
|
134
134
|
*/
|
|
135
135
|
id: string;
|
|
136
136
|
/**
|
|
@@ -146,7 +146,7 @@ export interface Lesson {
|
|
|
146
146
|
*/
|
|
147
147
|
content: string | null;
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The datetime the lesson was created.
|
|
150
150
|
*/
|
|
151
151
|
created_at: string;
|
|
152
152
|
/**
|
|
@@ -197,7 +197,7 @@ export declare namespace Lesson {
|
|
|
197
197
|
*/
|
|
198
198
|
interface AssessmentQuestion {
|
|
199
199
|
/**
|
|
200
|
-
* The
|
|
200
|
+
* The unique identifier for the assessment question.
|
|
201
201
|
*/
|
|
202
202
|
id: string;
|
|
203
203
|
/**
|
|
@@ -206,7 +206,7 @@ export declare namespace Lesson {
|
|
|
206
206
|
*/
|
|
207
207
|
correct_answer: string | null;
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
209
|
+
* The datetime the assessment question was created.
|
|
210
210
|
*/
|
|
211
211
|
created_at: string;
|
|
212
212
|
/**
|
|
@@ -258,7 +258,7 @@ export declare namespace Lesson {
|
|
|
258
258
|
*/
|
|
259
259
|
interface Option {
|
|
260
260
|
/**
|
|
261
|
-
* The
|
|
261
|
+
* The unique identifier for the assessment question option.
|
|
262
262
|
*/
|
|
263
263
|
id: string;
|
|
264
264
|
/**
|
|
@@ -335,7 +335,7 @@ export declare namespace Lesson {
|
|
|
335
335
|
*/
|
|
336
336
|
interface VideoAsset {
|
|
337
337
|
/**
|
|
338
|
-
* The
|
|
338
|
+
* The unique identifier for the mux asset.
|
|
339
339
|
*/
|
|
340
340
|
id: string;
|
|
341
341
|
/**
|
|
@@ -347,7 +347,7 @@ export declare namespace Lesson {
|
|
|
347
347
|
*/
|
|
348
348
|
audio_only: boolean;
|
|
349
349
|
/**
|
|
350
|
-
* The
|
|
350
|
+
* The datetime the mux asset was created.
|
|
351
351
|
*/
|
|
352
352
|
created_at: string;
|
|
353
353
|
/**
|
|
@@ -383,7 +383,7 @@ export declare namespace Lesson {
|
|
|
383
383
|
*/
|
|
384
384
|
status: 'uploading' | 'created' | 'ready';
|
|
385
385
|
/**
|
|
386
|
-
* The
|
|
386
|
+
* The datetime the mux asset was last updated.
|
|
387
387
|
*/
|
|
388
388
|
updated_at: string;
|
|
389
389
|
}
|
|
@@ -402,7 +402,7 @@ export type LessonVisibilities = 'visible' | 'hidden';
|
|
|
402
402
|
*/
|
|
403
403
|
export interface CourseLessonListResponse {
|
|
404
404
|
/**
|
|
405
|
-
* The
|
|
405
|
+
* The unique identifier for the lesson.
|
|
406
406
|
*/
|
|
407
407
|
id: string;
|
|
408
408
|
/**
|
|
@@ -410,7 +410,7 @@ export interface CourseLessonListResponse {
|
|
|
410
410
|
*/
|
|
411
411
|
content: string | null;
|
|
412
412
|
/**
|
|
413
|
-
* The
|
|
413
|
+
* The datetime the lesson was created.
|
|
414
414
|
*/
|
|
415
415
|
created_at: string;
|
|
416
416
|
/**
|
|
@@ -476,11 +476,11 @@ export type CourseLessonStartResponse = boolean;
|
|
|
476
476
|
*/
|
|
477
477
|
export interface CourseLessonSubmitAssessmentResponse {
|
|
478
478
|
/**
|
|
479
|
-
* The
|
|
479
|
+
* The unique identifier for the assessment result.
|
|
480
480
|
*/
|
|
481
481
|
id: string;
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* The datetime the assessment result was created.
|
|
484
484
|
*/
|
|
485
485
|
created_at: string;
|
|
486
486
|
/**
|
|
@@ -514,7 +514,7 @@ export interface CourseLessonSubmitAssessmentResponse {
|
|
|
514
514
|
*/
|
|
515
515
|
score_percent: number;
|
|
516
516
|
/**
|
|
517
|
-
*
|
|
517
|
+
* The datetime the assessment result was last updated.
|
|
518
518
|
*/
|
|
519
519
|
updated_at: string;
|
|
520
520
|
/**
|
|
@@ -528,7 +528,7 @@ export declare namespace CourseLessonSubmitAssessmentResponse {
|
|
|
528
528
|
*/
|
|
529
529
|
interface Lesson {
|
|
530
530
|
/**
|
|
531
|
-
* The
|
|
531
|
+
* The unique identifier for the lesson.
|
|
532
532
|
*/
|
|
533
533
|
id: string;
|
|
534
534
|
/**
|
|
@@ -541,7 +541,7 @@ export declare namespace CourseLessonSubmitAssessmentResponse {
|
|
|
541
541
|
*/
|
|
542
542
|
interface User {
|
|
543
543
|
/**
|
|
544
|
-
* The
|
|
544
|
+
* The unique identifier for the user.
|
|
545
545
|
*/
|
|
546
546
|
id: string;
|
|
547
547
|
/**
|
|
@@ -28,7 +28,7 @@ export type CourseStudentListResponsesCursorPage = CursorPage<CourseStudentListR
|
|
|
28
28
|
*/
|
|
29
29
|
export interface CourseStudentRetrieveResponse {
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
31
|
+
* The unique identifier for the course student type.
|
|
32
32
|
*/
|
|
33
33
|
id: string;
|
|
34
34
|
/**
|
|
@@ -66,7 +66,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
66
66
|
*/
|
|
67
67
|
interface Course {
|
|
68
68
|
/**
|
|
69
|
-
* The
|
|
69
|
+
* The unique identifier for the course.
|
|
70
70
|
*/
|
|
71
71
|
id: string;
|
|
72
72
|
/**
|
|
@@ -84,7 +84,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
84
84
|
*/
|
|
85
85
|
interface Experience {
|
|
86
86
|
/**
|
|
87
|
-
* The unique
|
|
87
|
+
* The unique identifier for the experience.
|
|
88
88
|
*/
|
|
89
89
|
id: string;
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
94
94
|
*/
|
|
95
95
|
interface User {
|
|
96
96
|
/**
|
|
97
|
-
* The
|
|
97
|
+
* The unique identifier for the user.
|
|
98
98
|
*/
|
|
99
99
|
id: string;
|
|
100
100
|
/**
|
|
@@ -112,7 +112,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
112
112
|
*/
|
|
113
113
|
export interface CourseStudentListResponse {
|
|
114
114
|
/**
|
|
115
|
-
* The
|
|
115
|
+
* The unique identifier for the course student type.
|
|
116
116
|
*/
|
|
117
117
|
id: string;
|
|
118
118
|
/**
|
|
@@ -146,7 +146,7 @@ export declare namespace CourseStudentListResponse {
|
|
|
146
146
|
*/
|
|
147
147
|
interface User {
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The unique identifier for the user.
|
|
150
150
|
*/
|
|
151
151
|
id: string;
|
|
152
152
|
/**
|
|
@@ -28,7 +28,7 @@ export type CourseStudentListResponsesCursorPage = CursorPage<CourseStudentListR
|
|
|
28
28
|
*/
|
|
29
29
|
export interface CourseStudentRetrieveResponse {
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
31
|
+
* The unique identifier for the course student type.
|
|
32
32
|
*/
|
|
33
33
|
id: string;
|
|
34
34
|
/**
|
|
@@ -66,7 +66,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
66
66
|
*/
|
|
67
67
|
interface Course {
|
|
68
68
|
/**
|
|
69
|
-
* The
|
|
69
|
+
* The unique identifier for the course.
|
|
70
70
|
*/
|
|
71
71
|
id: string;
|
|
72
72
|
/**
|
|
@@ -84,7 +84,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
84
84
|
*/
|
|
85
85
|
interface Experience {
|
|
86
86
|
/**
|
|
87
|
-
* The unique
|
|
87
|
+
* The unique identifier for the experience.
|
|
88
88
|
*/
|
|
89
89
|
id: string;
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
94
94
|
*/
|
|
95
95
|
interface User {
|
|
96
96
|
/**
|
|
97
|
-
* The
|
|
97
|
+
* The unique identifier for the user.
|
|
98
98
|
*/
|
|
99
99
|
id: string;
|
|
100
100
|
/**
|
|
@@ -112,7 +112,7 @@ export declare namespace CourseStudentRetrieveResponse {
|
|
|
112
112
|
*/
|
|
113
113
|
export interface CourseStudentListResponse {
|
|
114
114
|
/**
|
|
115
|
-
* The
|
|
115
|
+
* The unique identifier for the course student type.
|
|
116
116
|
*/
|
|
117
117
|
id: string;
|
|
118
118
|
/**
|
|
@@ -146,7 +146,7 @@ export declare namespace CourseStudentListResponse {
|
|
|
146
146
|
*/
|
|
147
147
|
interface User {
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The unique identifier for the user.
|
|
150
150
|
*/
|
|
151
151
|
id: string;
|
|
152
152
|
/**
|
package/resources/courses.d.mts
CHANGED
|
@@ -88,7 +88,7 @@ export type CourseListResponsesCursorPage = CursorPage<CourseListResponse>;
|
|
|
88
88
|
*/
|
|
89
89
|
export interface Course {
|
|
90
90
|
/**
|
|
91
|
-
* The
|
|
91
|
+
* The unique identifier for the course.
|
|
92
92
|
*/
|
|
93
93
|
id: string;
|
|
94
94
|
/**
|
|
@@ -105,7 +105,7 @@ export interface Course {
|
|
|
105
105
|
*/
|
|
106
106
|
cover_image: string | null;
|
|
107
107
|
/**
|
|
108
|
-
* The
|
|
108
|
+
* The datetime the course was created.
|
|
109
109
|
*/
|
|
110
110
|
created_at: string;
|
|
111
111
|
/**
|
|
@@ -139,7 +139,7 @@ export interface Course {
|
|
|
139
139
|
*/
|
|
140
140
|
title: string | null;
|
|
141
141
|
/**
|
|
142
|
-
* The
|
|
142
|
+
* The datetime the course was last updated.
|
|
143
143
|
*/
|
|
144
144
|
updated_at: string;
|
|
145
145
|
/**
|
|
@@ -154,7 +154,7 @@ export declare namespace Course {
|
|
|
154
154
|
*/
|
|
155
155
|
interface Chapter {
|
|
156
156
|
/**
|
|
157
|
-
* The
|
|
157
|
+
* The unique identifier for the chapter.
|
|
158
158
|
*/
|
|
159
159
|
id: string;
|
|
160
160
|
/**
|
|
@@ -176,7 +176,7 @@ export declare namespace Course {
|
|
|
176
176
|
*/
|
|
177
177
|
interface Lesson {
|
|
178
178
|
/**
|
|
179
|
-
* The
|
|
179
|
+
* The unique identifier for the lesson.
|
|
180
180
|
*/
|
|
181
181
|
id: string;
|
|
182
182
|
/**
|
|
@@ -272,7 +272,7 @@ export type Languages = 'en' | 'es' | 'it' | 'pt' | 'de' | 'fr' | 'pl' | 'ru' |
|
|
|
272
272
|
*/
|
|
273
273
|
export interface CourseListResponse {
|
|
274
274
|
/**
|
|
275
|
-
* The
|
|
275
|
+
* The unique identifier for the course.
|
|
276
276
|
*/
|
|
277
277
|
id: string;
|
|
278
278
|
/**
|
|
@@ -285,7 +285,7 @@ export interface CourseListResponse {
|
|
|
285
285
|
*/
|
|
286
286
|
cover_image: string | null;
|
|
287
287
|
/**
|
|
288
|
-
* The
|
|
288
|
+
* The datetime the course was created.
|
|
289
289
|
*/
|
|
290
290
|
created_at: string;
|
|
291
291
|
/**
|
|
@@ -319,7 +319,7 @@ export interface CourseListResponse {
|
|
|
319
319
|
*/
|
|
320
320
|
title: string | null;
|
|
321
321
|
/**
|
|
322
|
-
* The
|
|
322
|
+
* The datetime the course was last updated.
|
|
323
323
|
*/
|
|
324
324
|
updated_at: string;
|
|
325
325
|
/**
|