@examplary/sdk 0.0.1 → 1.0.0

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.
@@ -27,7 +27,7 @@ var __assign = (this && this.__assign) || function () {
27
27
  return __assign.apply(this, arguments);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- exports.Examplary = exports.QuestionBank = exports.Folders = exports.SourceMaterials = exports.PracticeSpaces = exports.Exams = exports.Exam = exports.Export = exports.Questions = exports.Sessions = exports.Users = exports.StudentLevels = exports.Permissions = exports.Taxonomies = exports.ApiKeys = exports.Orgs = exports.Org = exports.Media = exports.Me = exports.EmbedSessions = exports.Oauth = exports.Library = exports.Items2 = exports.Publishers = exports.Items = exports.QuestionTypes = void 0;
30
+ exports.Examplary = void 0;
31
31
  var client_gen_1 = require("./client.gen");
32
32
  var HeyApiClient = /** @class */ (function () {
33
33
  function HeyApiClient(args) {
@@ -53,17 +53,19 @@ var HeyApiRegistry = /** @class */ (function () {
53
53
  };
54
54
  return HeyApiRegistry;
55
55
  }());
56
- var QuestionTypes = /** @class */ (function (_super) {
57
- __extends(QuestionTypes, _super);
58
- function QuestionTypes() {
59
- return _super !== null && _super.apply(this, arguments) || this;
56
+ var Examplary = /** @class */ (function (_super) {
57
+ __extends(Examplary, _super);
58
+ function Examplary(args) {
59
+ var _this = _super.call(this, args) || this;
60
+ Examplary.__registry.set(_this, args === null || args === void 0 ? void 0 : args.key);
61
+ return _this;
60
62
  }
61
63
  /**
62
64
  * List public question types
63
65
  *
64
66
  * Lists all public question types, which can be enabled in workspaces.
65
67
  */
66
- QuestionTypes.prototype.listPublic = function (options) {
68
+ Examplary.prototype.getQuestionTypesPublic = function (options) {
67
69
  var _a;
68
70
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types/public' }, options));
69
71
  };
@@ -72,7 +74,7 @@ var QuestionTypes = /** @class */ (function (_super) {
72
74
  *
73
75
  * Deletes a specific question type by its ID. Note that only the owner organization of the question type can delete it, and only if it has not been used in an exam.
74
76
  */
75
- QuestionTypes.prototype.delete = function (options) {
77
+ Examplary.prototype.deleteQuestionTypesId = function (options) {
76
78
  var _a;
77
79
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types/{id}' }, options));
78
80
  };
@@ -81,7 +83,7 @@ var QuestionTypes = /** @class */ (function (_super) {
81
83
  *
82
84
  * Retrieves a specific question type by its ID.
83
85
  */
84
- QuestionTypes.prototype.get = function (options) {
86
+ Examplary.prototype.getQuestionTypesId = function (options) {
85
87
  var _a;
86
88
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types/{id}' }, options));
87
89
  };
@@ -90,7 +92,7 @@ var QuestionTypes = /** @class */ (function (_super) {
90
92
  *
91
93
  * Get JS module for a question type PCI for QTI 3 export.
92
94
  */
93
- QuestionTypes.prototype.getQti3Pci = function (options) {
95
+ Examplary.prototype.getQuestionTypesIdExportQti3Pci = function (options) {
94
96
  var _a;
95
97
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types/{id}/export/qti3-pci' }, options));
96
98
  };
@@ -99,7 +101,7 @@ var QuestionTypes = /** @class */ (function (_super) {
99
101
  *
100
102
  * Lists all question types, either those available by default or those created within the user's organization.
101
103
  */
102
- QuestionTypes.prototype.list = function (options) {
104
+ Examplary.prototype.getQuestionTypes = function (options) {
103
105
  var _a;
104
106
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types' }, options));
105
107
  };
@@ -108,7 +110,7 @@ var QuestionTypes = /** @class */ (function (_super) {
108
110
  *
109
111
  * Creates a new question type or updates an existing one. If the question type already exists, it will be updated; otherwise, a new one will be created.
110
112
  */
111
- QuestionTypes.prototype.upsert = function (options) {
113
+ Examplary.prototype.postQuestionTypes = function (options) {
112
114
  var _a;
113
115
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
114
116
  };
@@ -117,7 +119,7 @@ var QuestionTypes = /** @class */ (function (_super) {
117
119
  *
118
120
  * Enable a question type for the current workspace.
119
121
  */
120
- QuestionTypes.prototype.enable = function (options) {
122
+ Examplary.prototype.postQuestionTypesIdEnable = function (options) {
121
123
  var _a;
122
124
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types/{id}/enable' }, options));
123
125
  };
@@ -126,24 +128,16 @@ var QuestionTypes = /** @class */ (function (_super) {
126
128
  *
127
129
  * Disable a question type for the current workspace.
128
130
  */
129
- QuestionTypes.prototype.disable = function (options) {
131
+ Examplary.prototype.postQuestionTypesIdDisable = function (options) {
130
132
  var _a;
131
133
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-types/{id}/disable' }, options));
132
134
  };
133
- return QuestionTypes;
134
- }(HeyApiClient));
135
- exports.QuestionTypes = QuestionTypes;
136
- var Items = /** @class */ (function (_super) {
137
- __extends(Items, _super);
138
- function Items() {
139
- return _super !== null && _super.apply(this, arguments) || this;
140
- }
141
135
  /**
142
136
  * List items by publisher
143
137
  *
144
138
  * Lists all library items for the specified publisher profile.
145
139
  */
146
- Items.prototype.list = function (options) {
140
+ Examplary.prototype.getLibraryPublishersPublisherIdItems = function (options) {
147
141
  var _a;
148
142
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers/{publisherId}/items' }, options));
149
143
  };
@@ -152,24 +146,43 @@ var Items = /** @class */ (function (_super) {
152
146
  *
153
147
  * Adds an item to the library. Only the publisher owner can add items to their publisher profile.
154
148
  */
155
- Items.prototype.create = function (options) {
149
+ Examplary.prototype.postLibraryPublishersPublisherIdItems = function (options) {
156
150
  var _a;
157
151
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers/{publisherId}/items' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
158
152
  };
159
- return Items;
160
- }(HeyApiClient));
161
- exports.Items = Items;
162
- var Publishers = /** @class */ (function (_super) {
163
- __extends(Publishers, _super);
164
- function Publishers() {
165
- return _super !== null && _super.apply(this, arguments) || this;
166
- }
153
+ /**
154
+ * List featured library items
155
+ *
156
+ * Lists all library items that are marked as featured.
157
+ */
158
+ Examplary.prototype.getLibraryItemsFeatured = function (options) {
159
+ var _a;
160
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/items/featured' }, options));
161
+ };
162
+ /**
163
+ * Delete library item
164
+ *
165
+ * Deletes a library item. Only the publisher owner can delete items from their publisher profile.
166
+ */
167
+ Examplary.prototype.deleteLibraryItemsItemId = function (options) {
168
+ var _a;
169
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/items/{itemId}' }, options));
170
+ };
171
+ /**
172
+ * Update library item
173
+ *
174
+ * Updates a library item. Only the publisher owner can update items in their publisher profile.
175
+ */
176
+ Examplary.prototype.patchLibraryItemsItemId = function (options) {
177
+ var _a;
178
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/items/{itemId}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
179
+ };
167
180
  /**
168
181
  * List featured publishers
169
182
  *
170
183
  * Lists all library publishers that are marked as featured.
171
184
  */
172
- Publishers.prototype.listFeatured = function (options) {
185
+ Examplary.prototype.getLibraryPublishersFeatured = function (options) {
173
186
  var _a;
174
187
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers/featured' }, options));
175
188
  };
@@ -178,7 +191,7 @@ var Publishers = /** @class */ (function (_super) {
178
191
  *
179
192
  * Lists all library publisher profiles.
180
193
  */
181
- Publishers.prototype.listAll = function (options) {
194
+ Examplary.prototype.getLibraryPublishers = function (options) {
182
195
  var _a;
183
196
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers' }, options));
184
197
  };
@@ -187,7 +200,7 @@ var Publishers = /** @class */ (function (_super) {
187
200
  *
188
201
  * Creates a new library publisher profile.
189
202
  */
190
- Publishers.prototype.create = function (options) {
203
+ Examplary.prototype.postLibraryPublishers = function (options) {
191
204
  var _a;
192
205
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
193
206
  };
@@ -196,7 +209,7 @@ var Publishers = /** @class */ (function (_super) {
196
209
  *
197
210
  * Lists all library publisher profiles created by the authenticated user.
198
211
  */
199
- Publishers.prototype.listMine = function (options) {
212
+ Examplary.prototype.getLibraryPublishersMine = function (options) {
200
213
  var _a;
201
214
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers/mine' }, options));
202
215
  };
@@ -205,7 +218,7 @@ var Publishers = /** @class */ (function (_super) {
205
218
  *
206
219
  * Deletes a library publisher profile. Only the owner can delete their publisher profile.
207
220
  */
208
- Publishers.prototype.delete = function (options) {
221
+ Examplary.prototype.deleteLibraryPublishersPublisherId = function (options) {
209
222
  var _a;
210
223
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers/{publisherId}' }, options));
211
224
  };
@@ -214,91 +227,16 @@ var Publishers = /** @class */ (function (_super) {
214
227
  *
215
228
  * Updates a library publisher profile. Only the owner can update their publisher profile.
216
229
  */
217
- Publishers.prototype.update = function (options) {
230
+ Examplary.prototype.patchLibraryPublishersPublisherId = function (options) {
218
231
  var _a;
219
232
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/publishers/{publisherId}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
220
233
  };
221
- Object.defineProperty(Publishers.prototype, "items", {
222
- get: function () {
223
- var _a;
224
- return (_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Items({ client: this.client }));
225
- },
226
- enumerable: false,
227
- configurable: true
228
- });
229
- return Publishers;
230
- }(HeyApiClient));
231
- exports.Publishers = Publishers;
232
- var Items2 = /** @class */ (function (_super) {
233
- __extends(Items2, _super);
234
- function Items2() {
235
- return _super !== null && _super.apply(this, arguments) || this;
236
- }
237
- /**
238
- * List featured library items
239
- *
240
- * Lists all library items that are marked as featured.
241
- */
242
- Items2.prototype.listFeatured = function (options) {
243
- var _a;
244
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/items/featured' }, options));
245
- };
246
- /**
247
- * Delete library item
248
- *
249
- * Deletes a library item. Only the publisher owner can delete items from their publisher profile.
250
- */
251
- Items2.prototype.delete = function (options) {
252
- var _a;
253
- return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/items/{itemId}' }, options));
254
- };
255
- /**
256
- * Update library item
257
- *
258
- * Updates a library item. Only the publisher owner can update items in their publisher profile.
259
- */
260
- Items2.prototype.update = function (options) {
261
- var _a;
262
- return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/library/items/{itemId}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
263
- };
264
- return Items2;
265
- }(HeyApiClient));
266
- exports.Items2 = Items2;
267
- var Library = /** @class */ (function (_super) {
268
- __extends(Library, _super);
269
- function Library() {
270
- return _super !== null && _super.apply(this, arguments) || this;
271
- }
272
- Object.defineProperty(Library.prototype, "publishers", {
273
- get: function () {
274
- var _a;
275
- return (_a = this._publishers) !== null && _a !== void 0 ? _a : (this._publishers = new Publishers({ client: this.client }));
276
- },
277
- enumerable: false,
278
- configurable: true
279
- });
280
- Object.defineProperty(Library.prototype, "items", {
281
- get: function () {
282
- var _a;
283
- return (_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Items2({ client: this.client }));
284
- },
285
- enumerable: false,
286
- configurable: true
287
- });
288
- return Library;
289
- }(HeyApiClient));
290
- exports.Library = Library;
291
- var Oauth = /** @class */ (function (_super) {
292
- __extends(Oauth, _super);
293
- function Oauth() {
294
- return _super !== null && _super.apply(this, arguments) || this;
295
- }
296
234
  /**
297
235
  * OAuth authorization endpoint
298
236
  *
299
237
  * Initiates OAuth authorization flow. Redirects to the frontend authorization UI where users can approve or deny access.
300
238
  */
301
- Oauth.prototype.authorize = function (options) {
239
+ Examplary.prototype.getOauthAuthorize = function (options) {
302
240
  var _a;
303
241
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/oauth/authorize' }, options));
304
242
  };
@@ -307,24 +245,16 @@ var Oauth = /** @class */ (function (_super) {
307
245
  *
308
246
  * Exchange authorization code for access token, or refresh an existing token.
309
247
  */
310
- Oauth.prototype.token = function (options) {
248
+ Examplary.prototype.postOauthToken = function (options) {
311
249
  var _a;
312
250
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/oauth/token' }, options));
313
251
  };
314
- return Oauth;
315
- }(HeyApiClient));
316
- exports.Oauth = Oauth;
317
- var EmbedSessions = /** @class */ (function (_super) {
318
- __extends(EmbedSessions, _super);
319
- function EmbedSessions() {
320
- return _super !== null && _super.apply(this, arguments) || this;
321
- }
322
252
  /**
323
253
  * Create embed session
324
254
  *
325
255
  * Create a new embed session. This allows you to embed the exam generation flow into your own application.
326
256
  */
327
- EmbedSessions.prototype.create = function (options) {
257
+ Examplary.prototype.postEmbedSessions = function (options) {
328
258
  var _a;
329
259
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/embed-sessions' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
330
260
  };
@@ -333,7 +263,7 @@ var EmbedSessions = /** @class */ (function (_super) {
333
263
  *
334
264
  * Revoke access to an embed session by its ID.
335
265
  */
336
- EmbedSessions.prototype.revoke = function (options) {
266
+ Examplary.prototype.deleteEmbedSessionsId = function (options) {
337
267
  var _a;
338
268
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/embed-sessions/{id}' }, options));
339
269
  };
@@ -342,24 +272,16 @@ var EmbedSessions = /** @class */ (function (_super) {
342
272
  *
343
273
  * Retrieve an embed session by its ID.
344
274
  */
345
- EmbedSessions.prototype.get = function (options) {
275
+ Examplary.prototype.getEmbedSessionsId = function (options) {
346
276
  var _a;
347
277
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/embed-sessions/{id}' }, options));
348
278
  };
349
- return EmbedSessions;
350
- }(HeyApiClient));
351
- exports.EmbedSessions = EmbedSessions;
352
- var Me = /** @class */ (function (_super) {
353
- __extends(Me, _super);
354
- function Me() {
355
- return _super !== null && _super.apply(this, arguments) || this;
356
- }
357
279
  /**
358
280
  * Get me
359
281
  *
360
282
  * Get the current user's account details.
361
283
  */
362
- Me.prototype.get = function (options) {
284
+ Examplary.prototype.getMe = function (options) {
363
285
  var _a;
364
286
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/me' }, options));
365
287
  };
@@ -368,68 +290,44 @@ var Me = /** @class */ (function (_super) {
368
290
  *
369
291
  * Update the current user's account details.
370
292
  */
371
- Me.prototype.update = function (options) {
293
+ Examplary.prototype.patchMe = function (options) {
372
294
  var _a;
373
295
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/me' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
374
296
  };
375
- return Me;
376
- }(HeyApiClient));
377
- exports.Me = Me;
378
- var Media = /** @class */ (function (_super) {
379
- __extends(Media, _super);
380
- function Media() {
381
- return _super !== null && _super.apply(this, arguments) || this;
382
- }
383
297
  /**
384
298
  * Get file upload URL
385
299
  *
386
300
  * Returns a signed URL for uploading a file, and a public URL for accessing it afterwards.
387
301
  */
388
- Media.prototype.upload = function (options) {
302
+ Examplary.prototype.getMediaUpload = function (options) {
389
303
  var _a;
390
304
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/media/upload' }, options));
391
305
  };
392
- return Media;
393
- }(HeyApiClient));
394
- exports.Media = Media;
395
- var Org = /** @class */ (function (_super) {
396
- __extends(Org, _super);
397
- function Org() {
398
- return _super !== null && _super.apply(this, arguments) || this;
399
- }
400
306
  /**
401
307
  * Delete organization
402
308
  */
403
- Org.prototype.delete = function (options) {
309
+ Examplary.prototype.deleteOrg = function (options) {
404
310
  var _a;
405
311
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/org' }, options));
406
312
  };
407
313
  /**
408
314
  * Get organization
409
315
  */
410
- Org.prototype.get = function (options) {
316
+ Examplary.prototype.getOrg = function (options) {
411
317
  var _a;
412
318
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/org' }, options));
413
319
  };
414
320
  /**
415
321
  * Update organization
416
322
  */
417
- Org.prototype.update = function (options) {
323
+ Examplary.prototype.patchOrg = function (options) {
418
324
  var _a;
419
325
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/org' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
420
326
  };
421
- return Org;
422
- }(HeyApiClient));
423
- exports.Org = Org;
424
- var Orgs = /** @class */ (function (_super) {
425
- __extends(Orgs, _super);
426
- function Orgs() {
427
- return _super !== null && _super.apply(this, arguments) || this;
428
- }
429
327
  /**
430
328
  * List all organizations
431
329
  */
432
- Orgs.prototype.list = function (options) {
330
+ Examplary.prototype.getOrgs = function (options) {
433
331
  var _a;
434
332
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/orgs' }, options));
435
333
  };
@@ -438,24 +336,16 @@ var Orgs = /** @class */ (function (_super) {
438
336
  *
439
337
  * Create a new workspace to collaborate with others on exams.
440
338
  */
441
- Orgs.prototype.create = function (options) {
339
+ Examplary.prototype.postOrgs = function (options) {
442
340
  var _a;
443
341
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/orgs' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
444
342
  };
445
- return Orgs;
446
- }(HeyApiClient));
447
- exports.Orgs = Orgs;
448
- var ApiKeys = /** @class */ (function (_super) {
449
- __extends(ApiKeys, _super);
450
- function ApiKeys() {
451
- return _super !== null && _super.apply(this, arguments) || this;
452
- }
453
343
  /**
454
344
  * Get API key
455
345
  *
456
346
  * Get the API key for the current org/user combination. Creates one if none exists.
457
347
  */
458
- ApiKeys.prototype.get = function (options) {
348
+ Examplary.prototype.getApiKeys = function (options) {
459
349
  var _a;
460
350
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/api-keys' }, options));
461
351
  };
@@ -464,24 +354,16 @@ var ApiKeys = /** @class */ (function (_super) {
464
354
  *
465
355
  * Invalidate old API keys for this org/user and create a new one.
466
356
  */
467
- ApiKeys.prototype.reset = function (options) {
357
+ Examplary.prototype.postApiKeysReset = function (options) {
468
358
  var _a;
469
359
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/api-keys/reset' }, options));
470
360
  };
471
- return ApiKeys;
472
- }(HeyApiClient));
473
- exports.ApiKeys = ApiKeys;
474
- var Taxonomies = /** @class */ (function (_super) {
475
- __extends(Taxonomies, _super);
476
- function Taxonomies() {
477
- return _super !== null && _super.apply(this, arguments) || this;
478
- }
479
361
  /**
480
362
  * Get taxonomies
481
363
  *
482
364
  * Get a list available taxonomies, including defaults and taxonomies created in the current workspace.
483
365
  */
484
- Taxonomies.prototype.list = function (options) {
366
+ Examplary.prototype.getTaxonomies = function (options) {
485
367
  var _a;
486
368
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/taxonomies' }, options));
487
369
  };
@@ -490,7 +372,7 @@ var Taxonomies = /** @class */ (function (_super) {
490
372
  *
491
373
  * Save a new taxonomy in the current workspace.
492
374
  */
493
- Taxonomies.prototype.create = function (options) {
375
+ Examplary.prototype.postTaxonomies = function (options) {
494
376
  var _a;
495
377
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/taxonomies' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
496
378
  };
@@ -499,7 +381,7 @@ var Taxonomies = /** @class */ (function (_super) {
499
381
  *
500
382
  * Delete a taxonomy from the current workspace. This fails if there are any exams associated with the taxonomy.
501
383
  */
502
- Taxonomies.prototype.delete = function (options) {
384
+ Examplary.prototype.deleteTaxonomiesId = function (options) {
503
385
  var _a;
504
386
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/taxonomies/{id}' }, options));
505
387
  };
@@ -508,24 +390,16 @@ var Taxonomies = /** @class */ (function (_super) {
508
390
  *
509
391
  * Update an existing taxonomy in the current workspace.
510
392
  */
511
- Taxonomies.prototype.update = function (options) {
393
+ Examplary.prototype.postTaxonomiesId = function (options) {
512
394
  var _a;
513
395
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/taxonomies/{id}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
514
396
  };
515
- return Taxonomies;
516
- }(HeyApiClient));
517
- exports.Taxonomies = Taxonomies;
518
- var Permissions = /** @class */ (function (_super) {
519
- __extends(Permissions, _super);
520
- function Permissions() {
521
- return _super !== null && _super.apply(this, arguments) || this;
522
- }
523
397
  /**
524
398
  * Get sharing permissions
525
399
  *
526
400
  * Get a list of users, groups and orgs that have access to a specific resource.
527
401
  */
528
- Permissions.prototype.list = function (options) {
402
+ Examplary.prototype.getPermissionsResource = function (options) {
529
403
  var _a;
530
404
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/permissions/{resource}' }, options));
531
405
  };
@@ -534,7 +408,7 @@ var Permissions = /** @class */ (function (_super) {
534
408
  *
535
409
  * Create a new permission for a specific resource, or update the role of an existing actor.
536
410
  */
537
- Permissions.prototype.assign = function (options) {
411
+ Examplary.prototype.postPermissionsResource = function (options) {
538
412
  var _a;
539
413
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/permissions/{resource}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
540
414
  };
@@ -543,7 +417,7 @@ var Permissions = /** @class */ (function (_super) {
543
417
  *
544
418
  * Remove a permission for a specific actor on a specific resource.
545
419
  */
546
- Permissions.prototype.delete = function (options) {
420
+ Examplary.prototype.deletePermissionsResourceActor = function (options) {
547
421
  var _a;
548
422
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/permissions/{resource}/{actor}' }, options));
549
423
  };
@@ -552,41 +426,25 @@ var Permissions = /** @class */ (function (_super) {
552
426
  *
553
427
  * Get the role of a specific actor for a specific resource.
554
428
  */
555
- Permissions.prototype.getActorRole = function (options) {
429
+ Examplary.prototype.getPermissionsResourceActor = function (options) {
556
430
  var _a;
557
431
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/permissions/{resource}/{actor}' }, options));
558
432
  };
559
- return Permissions;
560
- }(HeyApiClient));
561
- exports.Permissions = Permissions;
562
- var StudentLevels = /** @class */ (function (_super) {
563
- __extends(StudentLevels, _super);
564
- function StudentLevels() {
565
- return _super !== null && _super.apply(this, arguments) || this;
566
- }
567
433
  /**
568
434
  * List available student levels
569
435
  *
570
436
  * Get a list of available default student levels.
571
437
  */
572
- StudentLevels.prototype.list = function (options) {
438
+ Examplary.prototype.getStudentLevels = function (options) {
573
439
  var _a;
574
440
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/student-levels' }, options));
575
441
  };
576
- return StudentLevels;
577
- }(HeyApiClient));
578
- exports.StudentLevels = StudentLevels;
579
- var Users = /** @class */ (function (_super) {
580
- __extends(Users, _super);
581
- function Users() {
582
- return _super !== null && _super.apply(this, arguments) || this;
583
- }
584
442
  /**
585
443
  * List users
586
444
  *
587
445
  * Get a list of all users in the workspace.
588
446
  */
589
- Users.prototype.list = function (options) {
447
+ Examplary.prototype.getUsers = function (options) {
590
448
  var _a;
591
449
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/users' }, options));
592
450
  };
@@ -595,7 +453,7 @@ var Users = /** @class */ (function (_super) {
595
453
  *
596
454
  * Create a new user in the workspace.
597
455
  */
598
- Users.prototype.create = function (options) {
456
+ Examplary.prototype.postUsers = function (options) {
599
457
  var _a;
600
458
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/users' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
601
459
  };
@@ -604,7 +462,7 @@ var Users = /** @class */ (function (_super) {
604
462
  *
605
463
  * Delete a user from the workspace.
606
464
  */
607
- Users.prototype.delete = function (options) {
465
+ Examplary.prototype.deleteUsersId = function (options) {
608
466
  var _a;
609
467
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/users/{id}' }, options));
610
468
  };
@@ -613,24 +471,16 @@ var Users = /** @class */ (function (_super) {
613
471
  *
614
472
  * Update a user's role within the workspace.
615
473
  */
616
- Users.prototype.update = function (options) {
474
+ Examplary.prototype.patchUsersId = function (options) {
617
475
  var _a;
618
476
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/users/{id}' }, options));
619
477
  };
620
- return Users;
621
- }(HeyApiClient));
622
- exports.Users = Users;
623
- var Sessions = /** @class */ (function (_super) {
624
- __extends(Sessions, _super);
625
- function Sessions() {
626
- return _super !== null && _super.apply(this, arguments) || this;
627
- }
628
478
  /**
629
479
  * List exam sessions
630
480
  *
631
481
  * Get a list of all student sessions for an exam, representing a set of answers from a student.
632
482
  */
633
- Sessions.prototype.list = function (options) {
483
+ Examplary.prototype.getExamsIdSessions = function (options) {
634
484
  var _a;
635
485
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions' }, options));
636
486
  };
@@ -639,7 +489,7 @@ var Sessions = /** @class */ (function (_super) {
639
489
  *
640
490
  * Manually create a session, possibly from uploaded data.
641
491
  */
642
- Sessions.prototype.import = function (options) {
492
+ Examplary.prototype.postExamsIdSessions = function (options) {
643
493
  var _a;
644
494
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions' }, options));
645
495
  };
@@ -648,7 +498,7 @@ var Sessions = /** @class */ (function (_super) {
648
498
  *
649
499
  * Scan student answers from a document.
650
500
  */
651
- Sessions.prototype.scan = function (options) {
501
+ Examplary.prototype.postExamsIdSessionsScan = function (options) {
652
502
  var _a;
653
503
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/scan' }, options));
654
504
  };
@@ -657,7 +507,7 @@ var Sessions = /** @class */ (function (_super) {
657
507
  *
658
508
  * Remove an exam session.
659
509
  */
660
- Sessions.prototype.delete = function (options) {
510
+ Examplary.prototype.deleteExamsIdSessionsSessionId = function (options) {
661
511
  var _a;
662
512
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}' }, options));
663
513
  };
@@ -666,7 +516,7 @@ var Sessions = /** @class */ (function (_super) {
666
516
  *
667
517
  * Get a single exam session by its ID, representing a set of answers from a student.
668
518
  */
669
- Sessions.prototype.get = function (options) {
519
+ Examplary.prototype.getExamsIdSessionsSessionId = function (options) {
670
520
  var _a;
671
521
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}' }, options));
672
522
  };
@@ -675,7 +525,7 @@ var Sessions = /** @class */ (function (_super) {
675
525
  *
676
526
  * Set teacher feedback and/or a grade for a specific question in an exam session.
677
527
  */
678
- Sessions.prototype.saveFeedback = function (options) {
528
+ Examplary.prototype.postExamsIdSessionsSessionIdFeedback = function (options) {
679
529
  var _a;
680
530
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}/feedback' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
681
531
  };
@@ -684,7 +534,7 @@ var Sessions = /** @class */ (function (_super) {
684
534
  *
685
535
  * Set teacher feedback for the test as a whole in an exam session.
686
536
  */
687
- Sessions.prototype.saveOverallFeedback = function (options) {
537
+ Examplary.prototype.postExamsIdSessionsSessionIdOverallFeedback = function (options) {
688
538
  var _a;
689
539
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}/overall-feedback' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
690
540
  };
@@ -693,7 +543,7 @@ var Sessions = /** @class */ (function (_super) {
693
543
  *
694
544
  * Generate feedback for the test as a whole in an exam session.
695
545
  */
696
- Sessions.prototype.generateOverallFeedback = function (options) {
546
+ Examplary.prototype.postExamsIdSessionsSessionIdGenerateOverallFeedback = function (options) {
697
547
  var _a;
698
548
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}/generate-overall-feedback' }, options));
699
549
  };
@@ -702,7 +552,7 @@ var Sessions = /** @class */ (function (_super) {
702
552
  *
703
553
  * Accept all AI-generated grading suggestions for the exam session.
704
554
  */
705
- Sessions.prototype.acceptAllSuggestions = function (options) {
555
+ Examplary.prototype.postExamsIdSessionsSessionIdSuggestionsAcceptAll = function (options) {
706
556
  var _a;
707
557
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}/suggestions/accept-all' }, options));
708
558
  };
@@ -711,24 +561,16 @@ var Sessions = /** @class */ (function (_super) {
711
561
  *
712
562
  * Accept a single AI-generated grading suggestion for the exam session.
713
563
  */
714
- Sessions.prototype.acceptSuggestion = function (options) {
564
+ Examplary.prototype.postExamsIdSessionsSessionIdSuggestionsQuestionIdAccept = function (options) {
715
565
  var _a;
716
566
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/sessions/{sessionId}/suggestions/{questionId}/accept' }, options));
717
567
  };
718
- return Sessions;
719
- }(HeyApiClient));
720
- exports.Sessions = Sessions;
721
- var Questions = /** @class */ (function (_super) {
722
- __extends(Questions, _super);
723
- function Questions() {
724
- return _super !== null && _super.apply(this, arguments) || this;
725
- }
726
568
  /**
727
569
  * Import questions
728
570
  *
729
571
  * Import questions into an exam from a file. Support Word, PDF, Moodle quiz XML and plain text files.
730
572
  */
731
- Questions.prototype.import = function (options) {
573
+ Examplary.prototype.postExamsIdQuestionsImport = function (options) {
732
574
  var _a;
733
575
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/questions/import' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
734
576
  };
@@ -737,7 +579,7 @@ var Questions = /** @class */ (function (_super) {
737
579
  *
738
580
  * Generate a new question for the exam using an AI prompt.
739
581
  */
740
- Questions.prototype.generate = function (options) {
582
+ Examplary.prototype.postExamsIdQuestionsGenerate = function (options) {
741
583
  var _a;
742
584
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/questions/generate' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
743
585
  };
@@ -746,24 +588,16 @@ var Questions = /** @class */ (function (_super) {
746
588
  *
747
589
  * Update a question using an AI prompt.
748
590
  */
749
- Questions.prototype.regenerate = function (options) {
591
+ Examplary.prototype.postExamsIdQuestionsQuestionIdGenerate = function (options) {
750
592
  var _a;
751
593
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/questions/{questionId}/generate' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
752
594
  };
753
- return Questions;
754
- }(HeyApiClient));
755
- exports.Questions = Questions;
756
- var Export = /** @class */ (function (_super) {
757
- __extends(Export, _super);
758
- function Export() {
759
- return _super !== null && _super.apply(this, arguments) || this;
760
- }
761
595
  /**
762
596
  * Export QTI 3 package
763
597
  *
764
598
  * Export an exam as a QTI 3 ZIP package.
765
599
  */
766
- Export.prototype.qti3Zip = function (options) {
600
+ Examplary.prototype.postExamsIdExportQti3Zip = function (options) {
767
601
  var _a;
768
602
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/export/qti3-zip' }, options));
769
603
  };
@@ -772,56 +606,16 @@ var Export = /** @class */ (function (_super) {
772
606
  *
773
607
  * Export an exam as a QTI 2.1 ZIP package.
774
608
  */
775
- Export.prototype.qti21Zip = function (options) {
609
+ Examplary.prototype.postExamsIdExportQti21Zip = function (options) {
776
610
  var _a;
777
611
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/export/qti21-zip' }, options));
778
612
  };
779
- return Export;
780
- }(HeyApiClient));
781
- exports.Export = Export;
782
- var Exam = /** @class */ (function (_super) {
783
- __extends(Exam, _super);
784
- function Exam() {
785
- return _super !== null && _super.apply(this, arguments) || this;
786
- }
787
- Object.defineProperty(Exam.prototype, "sessions", {
788
- get: function () {
789
- var _a;
790
- return (_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Sessions({ client: this.client }));
791
- },
792
- enumerable: false,
793
- configurable: true
794
- });
795
- Object.defineProperty(Exam.prototype, "questions", {
796
- get: function () {
797
- var _a;
798
- return (_a = this._questions) !== null && _a !== void 0 ? _a : (this._questions = new Questions({ client: this.client }));
799
- },
800
- enumerable: false,
801
- configurable: true
802
- });
803
- Object.defineProperty(Exam.prototype, "export", {
804
- get: function () {
805
- var _a;
806
- return (_a = this._export) !== null && _a !== void 0 ? _a : (this._export = new Export({ client: this.client }));
807
- },
808
- enumerable: false,
809
- configurable: true
810
- });
811
- return Exam;
812
- }(HeyApiClient));
813
- exports.Exam = Exam;
814
- var Exams = /** @class */ (function (_super) {
815
- __extends(Exams, _super);
816
- function Exams() {
817
- return _super !== null && _super.apply(this, arguments) || this;
818
- }
819
613
  /**
820
614
  * List exams
821
615
  *
822
616
  * Get a list of all exams within your workspace.
823
617
  */
824
- Exams.prototype.list = function (options) {
618
+ Examplary.prototype.getExams = function (options) {
825
619
  var _a;
826
620
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams' }, options));
827
621
  };
@@ -830,7 +624,7 @@ var Exams = /** @class */ (function (_super) {
830
624
  *
831
625
  * Create a new exam within your workspace.
832
626
  */
833
- Exams.prototype.create = function (options) {
627
+ Examplary.prototype.postExams = function (options) {
834
628
  var _a;
835
629
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
836
630
  };
@@ -839,7 +633,7 @@ var Exams = /** @class */ (function (_super) {
839
633
  *
840
634
  * Create an exam by importing one or more source materials (e.g. an existing exam).
841
635
  */
842
- Exams.prototype.import = function (options) {
636
+ Examplary.prototype.postExamsImport = function (options) {
843
637
  var _a;
844
638
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/import' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
845
639
  };
@@ -848,7 +642,7 @@ var Exams = /** @class */ (function (_super) {
848
642
  *
849
643
  * Delete the exam.
850
644
  */
851
- Exams.prototype.delete = function (options) {
645
+ Examplary.prototype.deleteExamsId = function (options) {
852
646
  var _a;
853
647
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}' }, options));
854
648
  };
@@ -857,7 +651,7 @@ var Exams = /** @class */ (function (_super) {
857
651
  *
858
652
  * Get a single exam by its ID.
859
653
  */
860
- Exams.prototype.get = function (options) {
654
+ Examplary.prototype.getExamsId = function (options) {
861
655
  var _a;
862
656
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}' }, options));
863
657
  };
@@ -866,7 +660,7 @@ var Exams = /** @class */ (function (_super) {
866
660
  *
867
661
  * Update an existing exam.
868
662
  */
869
- Exams.prototype.update = function (options) {
663
+ Examplary.prototype.postExamsId = function (options) {
870
664
  var _a;
871
665
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}' }, options));
872
666
  };
@@ -875,7 +669,7 @@ var Exams = /** @class */ (function (_super) {
875
669
  *
876
670
  * Duplicate the exam's questions and settings to a new exam.
877
671
  */
878
- Exams.prototype.duplicate = function (options) {
672
+ Examplary.prototype.postExamsIdDuplicate = function (options) {
879
673
  var _a;
880
674
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/duplicate' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
881
675
  };
@@ -884,7 +678,7 @@ var Exams = /** @class */ (function (_super) {
884
678
  *
885
679
  * Export an exam to a PDF file or Word document.
886
680
  */
887
- Exams.prototype.print = function (options) {
681
+ Examplary.prototype.postExamsIdPrint = function (options) {
888
682
  var _a;
889
683
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/print' }, options));
890
684
  };
@@ -893,7 +687,7 @@ var Exams = /** @class */ (function (_super) {
893
687
  *
894
688
  * Initiate a job to generate new questions for the exam using AI, based on the source materials and metadata specified.
895
689
  */
896
- Exams.prototype.startGeneration = function (options) {
690
+ Examplary.prototype.postExamsIdGenerate = function (options) {
897
691
  var _a;
898
692
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/generate' }, options));
899
693
  };
@@ -902,7 +696,7 @@ var Exams = /** @class */ (function (_super) {
902
696
  *
903
697
  * Cancel an ongoing job to generate new questions for the exam using AI.
904
698
  */
905
- Exams.prototype.cancelGeneration = function (options) {
699
+ Examplary.prototype.postExamsIdGenerateCancel = function (options) {
906
700
  var _a;
907
701
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/generate/cancel' }, options));
908
702
  };
@@ -911,24 +705,16 @@ var Exams = /** @class */ (function (_super) {
911
705
  *
912
706
  * Get AI-generated suggestions for context/instructions to include in the exam generation prompt, based on the source materials linked to the exam.
913
707
  */
914
- Exams.prototype.getContextSuggestions = function (options) {
708
+ Examplary.prototype.getExamsIdContextSuggestions = function (options) {
915
709
  var _a;
916
710
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/exams/{id}/context-suggestions' }, options));
917
711
  };
918
- return Exams;
919
- }(HeyApiClient));
920
- exports.Exams = Exams;
921
- var PracticeSpaces = /** @class */ (function (_super) {
922
- __extends(PracticeSpaces, _super);
923
- function PracticeSpaces() {
924
- return _super !== null && _super.apply(this, arguments) || this;
925
- }
926
712
  /**
927
713
  * List practice spaces
928
714
  *
929
715
  * Get a list of all practice spaces you have access to in this workspace.
930
716
  */
931
- PracticeSpaces.prototype.list = function (options) {
717
+ Examplary.prototype.getPracticeSpaces = function (options) {
932
718
  var _a;
933
719
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/practice-spaces' }, options));
934
720
  };
@@ -937,7 +723,7 @@ var PracticeSpaces = /** @class */ (function (_super) {
937
723
  *
938
724
  * Create a new practice space within your workspace.
939
725
  */
940
- PracticeSpaces.prototype.create = function (options) {
726
+ Examplary.prototype.postPracticeSpaces = function (options) {
941
727
  var _a;
942
728
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/practice-spaces' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
943
729
  };
@@ -946,7 +732,7 @@ var PracticeSpaces = /** @class */ (function (_super) {
946
732
  *
947
733
  * Delete the practice space.
948
734
  */
949
- PracticeSpaces.prototype.delete = function (options) {
735
+ Examplary.prototype.deletePracticeSpacesId = function (options) {
950
736
  var _a;
951
737
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/practice-spaces/{id}' }, options));
952
738
  };
@@ -955,7 +741,7 @@ var PracticeSpaces = /** @class */ (function (_super) {
955
741
  *
956
742
  * Get a single practice space by its ID.
957
743
  */
958
- PracticeSpaces.prototype.get = function (options) {
744
+ Examplary.prototype.getPracticeSpacesId = function (options) {
959
745
  var _a;
960
746
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/practice-spaces/{id}' }, options));
961
747
  };
@@ -964,7 +750,7 @@ var PracticeSpaces = /** @class */ (function (_super) {
964
750
  *
965
751
  * Update an existing practice space.
966
752
  */
967
- PracticeSpaces.prototype.update = function (options) {
753
+ Examplary.prototype.postPracticeSpacesId = function (options) {
968
754
  var _a;
969
755
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/practice-spaces/{id}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
970
756
  };
@@ -973,24 +759,16 @@ var PracticeSpaces = /** @class */ (function (_super) {
973
759
  *
974
760
  * Get a preview of the top practice space questions by quality score.
975
761
  */
976
- PracticeSpaces.prototype.questionsPreview = function (options) {
762
+ Examplary.prototype.getPracticeSpacesIdQuestionsPreview = function (options) {
977
763
  var _a;
978
764
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/practice-spaces/{id}/questions-preview' }, options));
979
765
  };
980
- return PracticeSpaces;
981
- }(HeyApiClient));
982
- exports.PracticeSpaces = PracticeSpaces;
983
- var SourceMaterials = /** @class */ (function (_super) {
984
- __extends(SourceMaterials, _super);
985
- function SourceMaterials() {
986
- return _super !== null && _super.apply(this, arguments) || this;
987
- }
988
766
  /**
989
767
  * List source materials in org
990
768
  *
991
769
  * Returns a list of source materials for the current organization.
992
770
  */
993
- SourceMaterials.prototype.list = function (options) {
771
+ Examplary.prototype.getSourceMaterials = function (options) {
994
772
  var _a;
995
773
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/source-materials' }, options));
996
774
  };
@@ -999,7 +777,7 @@ var SourceMaterials = /** @class */ (function (_super) {
999
777
  *
1000
778
  * Add a source material and start processing it for later use in an exam.
1001
779
  */
1002
- SourceMaterials.prototype.create = function (options) {
780
+ Examplary.prototype.postSourceMaterials = function (options) {
1003
781
  var _a;
1004
782
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/source-materials' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1005
783
  };
@@ -1008,7 +786,7 @@ var SourceMaterials = /** @class */ (function (_super) {
1008
786
  *
1009
787
  * Deletes the specified source material.
1010
788
  */
1011
- SourceMaterials.prototype.delete = function (options) {
789
+ Examplary.prototype.deleteSourceMaterialsId = function (options) {
1012
790
  var _a;
1013
791
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/source-materials/{id}' }, options));
1014
792
  };
@@ -1017,7 +795,7 @@ var SourceMaterials = /** @class */ (function (_super) {
1017
795
  *
1018
796
  * Returns the current status and facts extracted from the specified source material.
1019
797
  */
1020
- SourceMaterials.prototype.get = function (options) {
798
+ Examplary.prototype.getSourceMaterialsId = function (options) {
1021
799
  var _a;
1022
800
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/source-materials/{id}' }, options));
1023
801
  };
@@ -1026,7 +804,7 @@ var SourceMaterials = /** @class */ (function (_super) {
1026
804
  *
1027
805
  * Updates the specified source material.
1028
806
  */
1029
- SourceMaterials.prototype.update = function (options) {
807
+ Examplary.prototype.patchSourceMaterialsId = function (options) {
1030
808
  var _a;
1031
809
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/source-materials/{id}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
1032
810
  };
@@ -1035,24 +813,16 @@ var SourceMaterials = /** @class */ (function (_super) {
1035
813
  *
1036
814
  * Create a new source material based on a specific page range of an existing source material.
1037
815
  */
1038
- SourceMaterials.prototype.slice = function (options) {
816
+ Examplary.prototype.postSourceMaterialsIdSlice = function (options) {
1039
817
  var _a;
1040
818
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ responseType: 'json', security: [{ name: 'Authorization', type: 'apiKey' }], url: '/source-materials/{id}/slice' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
1041
819
  };
1042
- return SourceMaterials;
1043
- }(HeyApiClient));
1044
- exports.SourceMaterials = SourceMaterials;
1045
- var Folders = /** @class */ (function (_super) {
1046
- __extends(Folders, _super);
1047
- function Folders() {
1048
- return _super !== null && _super.apply(this, arguments) || this;
1049
- }
1050
820
  /**
1051
821
  * Get folders
1052
822
  *
1053
823
  * Get a list of folders for exam organisation that exist within the current workspace.
1054
824
  */
1055
- Folders.prototype.list = function (options) {
825
+ Examplary.prototype.getFolders = function (options) {
1056
826
  var _a;
1057
827
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/folders' }, options));
1058
828
  };
@@ -1061,7 +831,7 @@ var Folders = /** @class */ (function (_super) {
1061
831
  *
1062
832
  * Create a new folder in the current workspace.
1063
833
  */
1064
- Folders.prototype.create = function (options) {
834
+ Examplary.prototype.postFolders = function (options) {
1065
835
  var _a;
1066
836
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/folders' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1067
837
  };
@@ -1070,7 +840,7 @@ var Folders = /** @class */ (function (_super) {
1070
840
  *
1071
841
  * Delete a folder from the current workspace. If there are any exams in the folder, they will be moved out of the folder.
1072
842
  */
1073
- Folders.prototype.delete = function (options) {
843
+ Examplary.prototype.deleteFoldersId = function (options) {
1074
844
  var _a;
1075
845
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/folders/{id}' }, options));
1076
846
  };
@@ -1079,24 +849,16 @@ var Folders = /** @class */ (function (_super) {
1079
849
  *
1080
850
  * Update an existing folder in the current workspace.
1081
851
  */
1082
- Folders.prototype.update = function (options) {
852
+ Examplary.prototype.postFoldersId = function (options) {
1083
853
  var _a;
1084
854
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/folders/{id}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
1085
855
  };
1086
- return Folders;
1087
- }(HeyApiClient));
1088
- exports.Folders = Folders;
1089
- var QuestionBank = /** @class */ (function (_super) {
1090
- __extends(QuestionBank, _super);
1091
- function QuestionBank() {
1092
- return _super !== null && _super.apply(this, arguments) || this;
1093
- }
1094
856
  /**
1095
857
  * Get question bank items
1096
858
  *
1097
859
  * Get a list of question bank items that exist within the current workspace.
1098
860
  */
1099
- QuestionBank.prototype.list = function (options) {
861
+ Examplary.prototype.getQuestionBank = function (options) {
1100
862
  var _a;
1101
863
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).get(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-bank' }, options));
1102
864
  };
@@ -1105,7 +867,7 @@ var QuestionBank = /** @class */ (function (_super) {
1105
867
  *
1106
868
  * Add a question to the question bank in the current workspace.
1107
869
  */
1108
- QuestionBank.prototype.create = function (options) {
870
+ Examplary.prototype.postQuestionBank = function (options) {
1109
871
  var _a;
1110
872
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : this.client).post(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-bank' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1111
873
  };
@@ -1114,7 +876,7 @@ var QuestionBank = /** @class */ (function (_super) {
1114
876
  *
1115
877
  * Delete a question bank item from the current workspace.
1116
878
  */
1117
- QuestionBank.prototype.delete = function (options) {
879
+ Examplary.prototype.deleteQuestionBankId = function (options) {
1118
880
  var _a;
1119
881
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).delete(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-bank/{id}' }, options));
1120
882
  };
@@ -1123,172 +885,10 @@ var QuestionBank = /** @class */ (function (_super) {
1123
885
  *
1124
886
  * Update an existing question bank item in the current workspace.
1125
887
  */
1126
- QuestionBank.prototype.update = function (options) {
888
+ Examplary.prototype.patchQuestionBankId = function (options) {
1127
889
  var _a;
1128
890
  return ((_a = options.client) !== null && _a !== void 0 ? _a : this.client).patch(__assign(__assign({ security: [{ name: 'Authorization', type: 'apiKey' }], url: '/question-bank/{id}' }, options), { headers: __assign({ 'Content-Type': 'application/json' }, options.headers) }));
1129
891
  };
1130
- return QuestionBank;
1131
- }(HeyApiClient));
1132
- exports.QuestionBank = QuestionBank;
1133
- var Examplary = /** @class */ (function (_super) {
1134
- __extends(Examplary, _super);
1135
- function Examplary(args) {
1136
- var _this = _super.call(this, args) || this;
1137
- Examplary.__registry.set(_this, args === null || args === void 0 ? void 0 : args.key);
1138
- return _this;
1139
- }
1140
- Object.defineProperty(Examplary.prototype, "questionTypes", {
1141
- get: function () {
1142
- var _a;
1143
- return (_a = this._questionTypes) !== null && _a !== void 0 ? _a : (this._questionTypes = new QuestionTypes({ client: this.client }));
1144
- },
1145
- enumerable: false,
1146
- configurable: true
1147
- });
1148
- Object.defineProperty(Examplary.prototype, "library", {
1149
- get: function () {
1150
- var _a;
1151
- return (_a = this._library) !== null && _a !== void 0 ? _a : (this._library = new Library({ client: this.client }));
1152
- },
1153
- enumerable: false,
1154
- configurable: true
1155
- });
1156
- Object.defineProperty(Examplary.prototype, "oauth", {
1157
- get: function () {
1158
- var _a;
1159
- return (_a = this._oauth) !== null && _a !== void 0 ? _a : (this._oauth = new Oauth({ client: this.client }));
1160
- },
1161
- enumerable: false,
1162
- configurable: true
1163
- });
1164
- Object.defineProperty(Examplary.prototype, "embedSessions", {
1165
- get: function () {
1166
- var _a;
1167
- return (_a = this._embedSessions) !== null && _a !== void 0 ? _a : (this._embedSessions = new EmbedSessions({ client: this.client }));
1168
- },
1169
- enumerable: false,
1170
- configurable: true
1171
- });
1172
- Object.defineProperty(Examplary.prototype, "me", {
1173
- get: function () {
1174
- var _a;
1175
- return (_a = this._me) !== null && _a !== void 0 ? _a : (this._me = new Me({ client: this.client }));
1176
- },
1177
- enumerable: false,
1178
- configurable: true
1179
- });
1180
- Object.defineProperty(Examplary.prototype, "media", {
1181
- get: function () {
1182
- var _a;
1183
- return (_a = this._media) !== null && _a !== void 0 ? _a : (this._media = new Media({ client: this.client }));
1184
- },
1185
- enumerable: false,
1186
- configurable: true
1187
- });
1188
- Object.defineProperty(Examplary.prototype, "org", {
1189
- get: function () {
1190
- var _a;
1191
- return (_a = this._org) !== null && _a !== void 0 ? _a : (this._org = new Org({ client: this.client }));
1192
- },
1193
- enumerable: false,
1194
- configurable: true
1195
- });
1196
- Object.defineProperty(Examplary.prototype, "orgs", {
1197
- get: function () {
1198
- var _a;
1199
- return (_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Orgs({ client: this.client }));
1200
- },
1201
- enumerable: false,
1202
- configurable: true
1203
- });
1204
- Object.defineProperty(Examplary.prototype, "apiKeys", {
1205
- get: function () {
1206
- var _a;
1207
- return (_a = this._apiKeys) !== null && _a !== void 0 ? _a : (this._apiKeys = new ApiKeys({ client: this.client }));
1208
- },
1209
- enumerable: false,
1210
- configurable: true
1211
- });
1212
- Object.defineProperty(Examplary.prototype, "taxonomies", {
1213
- get: function () {
1214
- var _a;
1215
- return (_a = this._taxonomies) !== null && _a !== void 0 ? _a : (this._taxonomies = new Taxonomies({ client: this.client }));
1216
- },
1217
- enumerable: false,
1218
- configurable: true
1219
- });
1220
- Object.defineProperty(Examplary.prototype, "permissions", {
1221
- get: function () {
1222
- var _a;
1223
- return (_a = this._permissions) !== null && _a !== void 0 ? _a : (this._permissions = new Permissions({ client: this.client }));
1224
- },
1225
- enumerable: false,
1226
- configurable: true
1227
- });
1228
- Object.defineProperty(Examplary.prototype, "studentLevels", {
1229
- get: function () {
1230
- var _a;
1231
- return (_a = this._studentLevels) !== null && _a !== void 0 ? _a : (this._studentLevels = new StudentLevels({ client: this.client }));
1232
- },
1233
- enumerable: false,
1234
- configurable: true
1235
- });
1236
- Object.defineProperty(Examplary.prototype, "users", {
1237
- get: function () {
1238
- var _a;
1239
- return (_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Users({ client: this.client }));
1240
- },
1241
- enumerable: false,
1242
- configurable: true
1243
- });
1244
- Object.defineProperty(Examplary.prototype, "exam", {
1245
- get: function () {
1246
- var _a;
1247
- return (_a = this._exam) !== null && _a !== void 0 ? _a : (this._exam = new Exam({ client: this.client }));
1248
- },
1249
- enumerable: false,
1250
- configurable: true
1251
- });
1252
- Object.defineProperty(Examplary.prototype, "exams", {
1253
- get: function () {
1254
- var _a;
1255
- return (_a = this._exams) !== null && _a !== void 0 ? _a : (this._exams = new Exams({ client: this.client }));
1256
- },
1257
- enumerable: false,
1258
- configurable: true
1259
- });
1260
- Object.defineProperty(Examplary.prototype, "practiceSpaces", {
1261
- get: function () {
1262
- var _a;
1263
- return (_a = this._practiceSpaces) !== null && _a !== void 0 ? _a : (this._practiceSpaces = new PracticeSpaces({ client: this.client }));
1264
- },
1265
- enumerable: false,
1266
- configurable: true
1267
- });
1268
- Object.defineProperty(Examplary.prototype, "sourceMaterials", {
1269
- get: function () {
1270
- var _a;
1271
- return (_a = this._sourceMaterials) !== null && _a !== void 0 ? _a : (this._sourceMaterials = new SourceMaterials({ client: this.client }));
1272
- },
1273
- enumerable: false,
1274
- configurable: true
1275
- });
1276
- Object.defineProperty(Examplary.prototype, "folders", {
1277
- get: function () {
1278
- var _a;
1279
- return (_a = this._folders) !== null && _a !== void 0 ? _a : (this._folders = new Folders({ client: this.client }));
1280
- },
1281
- enumerable: false,
1282
- configurable: true
1283
- });
1284
- Object.defineProperty(Examplary.prototype, "questionBank", {
1285
- get: function () {
1286
- var _a;
1287
- return (_a = this._questionBank) !== null && _a !== void 0 ? _a : (this._questionBank = new QuestionBank({ client: this.client }));
1288
- },
1289
- enumerable: false,
1290
- configurable: true
1291
- });
1292
892
  Examplary.__registry = new HeyApiRegistry();
1293
893
  return Examplary;
1294
894
  }(HeyApiClient));