@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.
Files changed (219) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/client.d.mts +6 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -2
  9. package/client.mjs.map +1 -1
  10. package/package.json +3 -3
  11. package/resources/access-tokens.d.mts +32 -51
  12. package/resources/access-tokens.d.mts.map +1 -1
  13. package/resources/access-tokens.d.ts +32 -51
  14. package/resources/access-tokens.d.ts.map +1 -1
  15. package/resources/access-tokens.js +6 -8
  16. package/resources/access-tokens.js.map +1 -1
  17. package/resources/access-tokens.mjs +6 -8
  18. package/resources/access-tokens.mjs.map +1 -1
  19. package/resources/ai-chats.d.mts +37 -9
  20. package/resources/ai-chats.d.mts.map +1 -1
  21. package/resources/ai-chats.d.ts +37 -9
  22. package/resources/ai-chats.d.ts.map +1 -1
  23. package/resources/ai-chats.js +1 -1
  24. package/resources/ai-chats.js.map +1 -1
  25. package/resources/ai-chats.mjs +1 -1
  26. package/resources/ai-chats.mjs.map +1 -1
  27. package/resources/app-builds.d.mts +2 -2
  28. package/resources/app-builds.d.ts +2 -2
  29. package/resources/apps.d.mts +5 -4
  30. package/resources/apps.d.mts.map +1 -1
  31. package/resources/apps.d.ts +5 -4
  32. package/resources/apps.d.ts.map +1 -1
  33. package/resources/authorized-users.d.mts +6 -6
  34. package/resources/authorized-users.d.ts +6 -6
  35. package/resources/chat-channels.d.mts +1 -1
  36. package/resources/chat-channels.d.ts +1 -1
  37. package/resources/checkout-configurations.d.mts +24 -16
  38. package/resources/checkout-configurations.d.mts.map +1 -1
  39. package/resources/checkout-configurations.d.ts +24 -16
  40. package/resources/checkout-configurations.d.ts.map +1 -1
  41. package/resources/companies.d.mts +38 -25
  42. package/resources/companies.d.mts.map +1 -1
  43. package/resources/companies.d.ts +38 -25
  44. package/resources/companies.d.ts.map +1 -1
  45. package/resources/companies.js +7 -4
  46. package/resources/companies.js.map +1 -1
  47. package/resources/companies.mjs +7 -4
  48. package/resources/companies.mjs.map +1 -1
  49. package/resources/company-token-transactions.d.mts +10 -10
  50. package/resources/company-token-transactions.d.ts +10 -10
  51. package/resources/course-chapters.d.mts +3 -3
  52. package/resources/course-chapters.d.ts +3 -3
  53. package/resources/course-lessons.d.mts +15 -15
  54. package/resources/course-lessons.d.ts +15 -15
  55. package/resources/course-students.d.mts +6 -6
  56. package/resources/course-students.d.ts +6 -6
  57. package/resources/courses.d.mts +8 -8
  58. package/resources/courses.d.ts +8 -8
  59. package/resources/disputes.d.mts +20 -18
  60. package/resources/disputes.d.mts.map +1 -1
  61. package/resources/disputes.d.ts +20 -18
  62. package/resources/disputes.d.ts.map +1 -1
  63. package/resources/entries.d.mts +6 -6
  64. package/resources/entries.d.ts +6 -6
  65. package/resources/experiences.d.mts +6 -5
  66. package/resources/experiences.d.mts.map +1 -1
  67. package/resources/experiences.d.ts +6 -5
  68. package/resources/experiences.d.ts.map +1 -1
  69. package/resources/fee-markups.d.mts +6 -6
  70. package/resources/fee-markups.d.ts +6 -6
  71. package/resources/files.d.mts +2 -2
  72. package/resources/files.d.ts +2 -2
  73. package/resources/forum-posts.d.mts +8 -4
  74. package/resources/forum-posts.d.mts.map +1 -1
  75. package/resources/forum-posts.d.ts +8 -4
  76. package/resources/forum-posts.d.ts.map +1 -1
  77. package/resources/forums.d.mts +1 -1
  78. package/resources/forums.d.ts +1 -1
  79. package/resources/index.d.mts +1 -1
  80. package/resources/index.d.mts.map +1 -1
  81. package/resources/index.d.ts +1 -1
  82. package/resources/index.d.ts.map +1 -1
  83. package/resources/index.js.map +1 -1
  84. package/resources/index.mjs.map +1 -1
  85. package/resources/invoices.d.mts +28 -20
  86. package/resources/invoices.d.mts.map +1 -1
  87. package/resources/invoices.d.ts +28 -20
  88. package/resources/invoices.d.ts.map +1 -1
  89. package/resources/leads.d.mts +12 -12
  90. package/resources/leads.d.ts +12 -12
  91. package/resources/ledger-accounts.d.mts +9 -7
  92. package/resources/ledger-accounts.d.mts.map +1 -1
  93. package/resources/ledger-accounts.d.ts +9 -7
  94. package/resources/ledger-accounts.d.ts.map +1 -1
  95. package/resources/members.d.mts +9 -9
  96. package/resources/members.d.ts +9 -9
  97. package/resources/memberships.d.mts +17 -12
  98. package/resources/memberships.d.mts.map +1 -1
  99. package/resources/memberships.d.ts +17 -12
  100. package/resources/memberships.d.ts.map +1 -1
  101. package/resources/messages.d.mts +7 -3
  102. package/resources/messages.d.mts.map +1 -1
  103. package/resources/messages.d.ts +7 -3
  104. package/resources/messages.d.ts.map +1 -1
  105. package/resources/payments.d.mts +27 -20
  106. package/resources/payments.d.mts.map +1 -1
  107. package/resources/payments.d.ts +27 -20
  108. package/resources/payments.d.ts.map +1 -1
  109. package/resources/payout-methods.d.mts +6 -6
  110. package/resources/payout-methods.d.ts +6 -6
  111. package/resources/plans.d.mts +34 -24
  112. package/resources/plans.d.mts.map +1 -1
  113. package/resources/plans.d.ts +34 -24
  114. package/resources/plans.d.ts.map +1 -1
  115. package/resources/products.d.mts +4 -2
  116. package/resources/products.d.mts.map +1 -1
  117. package/resources/products.d.ts +4 -2
  118. package/resources/products.d.ts.map +1 -1
  119. package/resources/promo-codes.d.mts +22 -12
  120. package/resources/promo-codes.d.mts.map +1 -1
  121. package/resources/promo-codes.d.ts +22 -12
  122. package/resources/promo-codes.d.ts.map +1 -1
  123. package/resources/reactions.d.mts +1 -1
  124. package/resources/reactions.d.ts +1 -1
  125. package/resources/refunds.d.mts +19 -15
  126. package/resources/refunds.d.mts.map +1 -1
  127. package/resources/refunds.d.ts +19 -15
  128. package/resources/refunds.d.ts.map +1 -1
  129. package/resources/reviews.d.mts +10 -10
  130. package/resources/reviews.d.ts +10 -10
  131. package/resources/setup-intents.d.mts +18 -20
  132. package/resources/setup-intents.d.mts.map +1 -1
  133. package/resources/setup-intents.d.ts +18 -20
  134. package/resources/setup-intents.d.ts.map +1 -1
  135. package/resources/shared.d.mts +175 -137
  136. package/resources/shared.d.mts.map +1 -1
  137. package/resources/shared.d.ts +175 -137
  138. package/resources/shared.d.ts.map +1 -1
  139. package/resources/shipments.d.mts +4 -4
  140. package/resources/shipments.d.ts +4 -4
  141. package/resources/support-channels.d.mts +1 -1
  142. package/resources/support-channels.d.ts +1 -1
  143. package/resources/topups.d.mts +6 -4
  144. package/resources/topups.d.mts.map +1 -1
  145. package/resources/topups.d.ts +6 -4
  146. package/resources/topups.d.ts.map +1 -1
  147. package/resources/transfers.d.mts +8 -5
  148. package/resources/transfers.d.mts.map +1 -1
  149. package/resources/transfers.d.ts +8 -5
  150. package/resources/transfers.d.ts.map +1 -1
  151. package/resources/users.d.mts +46 -8
  152. package/resources/users.d.mts.map +1 -1
  153. package/resources/users.d.ts +46 -8
  154. package/resources/users.d.ts.map +1 -1
  155. package/resources/users.js +10 -0
  156. package/resources/users.js.map +1 -1
  157. package/resources/users.mjs +10 -0
  158. package/resources/users.mjs.map +1 -1
  159. package/resources/verifications.d.mts +1 -1
  160. package/resources/verifications.d.ts +1 -1
  161. package/resources/webhooks.d.mts +71 -57
  162. package/resources/webhooks.d.mts.map +1 -1
  163. package/resources/webhooks.d.ts +71 -57
  164. package/resources/webhooks.d.ts.map +1 -1
  165. package/resources/withdrawals.d.mts +15 -11
  166. package/resources/withdrawals.d.mts.map +1 -1
  167. package/resources/withdrawals.d.ts +15 -11
  168. package/resources/withdrawals.d.ts.map +1 -1
  169. package/src/client.ts +20 -8
  170. package/src/resources/access-tokens.ts +35 -56
  171. package/src/resources/ai-chats.ts +42 -9
  172. package/src/resources/app-builds.ts +2 -2
  173. package/src/resources/apps.ts +5 -4
  174. package/src/resources/authorized-users.ts +6 -6
  175. package/src/resources/chat-channels.ts +1 -1
  176. package/src/resources/checkout-configurations.ts +24 -16
  177. package/src/resources/companies.ts +41 -26
  178. package/src/resources/company-token-transactions.ts +10 -10
  179. package/src/resources/course-chapters.ts +3 -3
  180. package/src/resources/course-lessons.ts +15 -15
  181. package/src/resources/course-students.ts +6 -6
  182. package/src/resources/courses.ts +8 -8
  183. package/src/resources/disputes.ts +20 -18
  184. package/src/resources/entries.ts +6 -6
  185. package/src/resources/experiences.ts +6 -5
  186. package/src/resources/fee-markups.ts +6 -6
  187. package/src/resources/files.ts +2 -2
  188. package/src/resources/forum-posts.ts +8 -4
  189. package/src/resources/forums.ts +1 -1
  190. package/src/resources/index.ts +2 -1
  191. package/src/resources/invoices.ts +28 -20
  192. package/src/resources/leads.ts +12 -12
  193. package/src/resources/ledger-accounts.ts +9 -7
  194. package/src/resources/members.ts +9 -9
  195. package/src/resources/memberships.ts +18 -12
  196. package/src/resources/messages.ts +7 -3
  197. package/src/resources/payments.ts +28 -18
  198. package/src/resources/payout-methods.ts +6 -6
  199. package/src/resources/plans.ts +34 -24
  200. package/src/resources/products.ts +4 -2
  201. package/src/resources/promo-codes.ts +22 -12
  202. package/src/resources/reactions.ts +1 -1
  203. package/src/resources/refunds.ts +20 -15
  204. package/src/resources/reviews.ts +10 -10
  205. package/src/resources/setup-intents.ts +18 -20
  206. package/src/resources/shared.ts +176 -137
  207. package/src/resources/shipments.ts +4 -4
  208. package/src/resources/support-channels.ts +1 -1
  209. package/src/resources/topups.ts +6 -4
  210. package/src/resources/transfers.ts +8 -5
  211. package/src/resources/users.ts +58 -8
  212. package/src/resources/verifications.ts +1 -1
  213. package/src/resources/webhooks.ts +71 -57
  214. package/src/resources/withdrawals.ts +15 -11
  215. package/src/version.ts +1 -1
  216. package/version.d.mts +1 -1
  217. package/version.d.ts +1 -1
  218. package/version.js +1 -1
  219. 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 ID of the transaction
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
- * When the transaction was created
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 ID of the company
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 ID of the member
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 internal ID of the user.
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 ID of the transaction
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
- * When the transaction was created
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 ID of the company
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 ID of the member
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 internal ID of the user.
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 ID of the transaction
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
- * When the transaction was created
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 ID of the company
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 ID of the member
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 internal ID of the user.
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 ID of the transaction
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
- * When the transaction was created
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 ID of the company
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 ID of the member
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 internal ID of the user.
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 ID of the chapter. Looks like chap_XXX
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 ID of the lesson
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 ID of the chapter. Looks like chap_XXX
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 ID of the chapter. Looks like chap_XXX
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 ID of the lesson
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 ID of the chapter. Looks like chap_XXX
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 ID of the lesson
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 timestamp of when the lesson was created
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 ID of the assessment question
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
- * When the question was created
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 ID of the assessment question option
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 ID of the Mux asset
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 time at which the Mux asset was created
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 time at which the Mux asset was last updated
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 ID of the lesson
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 timestamp of when the lesson was created
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 ID of the assessment result
479
+ * The unique identifier for the assessment result.
480
480
  */
481
481
  id: string;
482
482
  /**
483
- * When the assessment was taken
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
- * When the assessment result was last updated
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 ID of the lesson
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 internal ID of the user.
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 ID of the lesson
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 timestamp of when the lesson was created
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 ID of the assessment question
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
- * When the question was created
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 ID of the assessment question option
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 ID of the Mux asset
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 time at which the Mux asset was created
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 time at which the Mux asset was last updated
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 ID of the lesson
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 timestamp of when the lesson was created
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 ID of the assessment result
479
+ * The unique identifier for the assessment result.
480
480
  */
481
481
  id: string;
482
482
  /**
483
- * When the assessment was taken
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
- * When the assessment result was last updated
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 ID of the lesson
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 internal ID of the user.
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 ID of the course student. Looks like crsi_XXX
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 ID of the course. Looks like cors_XXX
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 ID representing this experience
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 internal ID of the user.
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 ID of the course student. Looks like crsi_XXX
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 internal ID of the user.
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 ID of the course student. Looks like crsi_XXX
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 ID of the course. Looks like cors_XXX
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 ID representing this experience
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 internal ID of the user.
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 ID of the course student. Looks like crsi_XXX
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 internal ID of the user.
149
+ * The unique identifier for the user.
150
150
  */
151
151
  id: string;
152
152
  /**
@@ -88,7 +88,7 @@ export type CourseListResponsesCursorPage = CursorPage<CourseListResponse>;
88
88
  */
89
89
  export interface Course {
90
90
  /**
91
- * The ID of the course. Looks like cors_XXX
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 timestamp of when the course was created
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 timestamp of when the course was last updated
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 ID of the chapter. Looks like chap_XXX
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 ID of the lesson
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 ID of the course. Looks like cors_XXX
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 timestamp of when the course was created
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 timestamp of when the course was last updated
322
+ * The datetime the course was last updated.
323
323
  */
324
324
  updated_at: string;
325
325
  /**