@iblai/iblai-api 3.48.3-ai-plus → 3.48.4-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +5918 -6748
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5919 -6747
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +5918 -6748
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -40
- package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiAccountService.d.ts +66 -41
- package/dist/types/services/AiAnalyticsService.d.ts +2021 -923
- package/dist/types/services/AiIndexService.d.ts +78 -71
- package/dist/types/services/AiMarketingService.d.ts +17 -13
- package/dist/types/services/AiMediaService.d.ts +45 -41
- package/dist/types/services/AiMentorService.d.ts +1545 -1037
- package/dist/types/services/AiPromptService.d.ts +342 -228
- package/dist/types/services/AnalyticsService.d.ts +42 -13
- package/dist/types/services/AudienceService.d.ts +345 -149
- package/dist/types/services/CareerService.d.ts +117 -90
- package/dist/types/services/CatalogService.d.ts +3735 -1072
- package/dist/types/services/CoreService.d.ts +441 -215
- package/dist/types/services/CredentialsService.d.ts +173 -138
- package/dist/types/services/DepartmentsService.d.ts +53 -16
- package/dist/types/services/EngagementService.d.ts +459 -179
- package/dist/types/services/FeaturesService.d.ts +16 -7
- package/dist/types/services/FinanceService.d.ts +49 -20
- package/dist/types/services/MediaResourcesService.d.ts +243 -67
- package/dist/types/services/NotificationBuilderService.d.ts +31 -17
- package/dist/types/services/NotificationService.d.ts +56 -49
- package/dist/types/services/OrgsService.d.ts +106 -77
- package/dist/types/services/OverviewService.d.ts +154 -55
- package/dist/types/services/PerformanceService.d.ts +132 -56
- package/dist/types/services/PerlearnerService.d.ts +431 -217
- package/dist/types/services/PlatformService.d.ts +221 -116
- package/dist/types/services/ProviderAssociationService.d.ts +3 -2
- package/dist/types/services/ProvidersService.d.ts +27 -18
- package/dist/types/services/ProvisionService.d.ts +3 -2
- package/dist/types/services/RecommendationsService.d.ts +3 -3
- package/dist/types/services/ReportsService.d.ts +22 -16
- package/dist/types/services/RolesService.d.ts +8 -6
- package/dist/types/services/SearchService.d.ts +730 -195
- package/dist/types/services/ServiceService.d.ts +33 -29
- package/dist/types/services/SkillsService.d.ts +40 -32
- package/dist/types/services/UserGroupsService.d.ts +53 -16
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -40
- package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
- package/src/models/Voice.ts +2 -2
- package/src/services/AiAccountService.ts +81 -55
- package/src/services/AiAnalyticsService.ts +2422 -1181
- package/src/services/AiIndexService.ts +112 -87
- package/src/services/AiMarketingService.ts +25 -16
- package/src/services/AiMediaService.ts +67 -51
- package/src/services/AiMentorService.ts +2105 -1265
- package/src/services/AiPromptService.ts +484 -275
- package/src/services/AnalyticsService.ts +45 -16
- package/src/services/AudienceService.ts +380 -184
- package/src/services/CareerService.ts +144 -117
- package/src/services/CatalogService.ts +3995 -1332
- package/src/services/CoreService.ts +523 -291
- package/src/services/CredentialsService.ts +253 -173
- package/src/services/DepartmentsService.ts +56 -19
- package/src/services/EngagementService.ts +528 -236
- package/src/services/FeaturesService.ts +19 -10
- package/src/services/FinanceService.ts +54 -25
- package/src/services/MediaResourcesService.ts +251 -75
- package/src/services/NotificationBuilderService.ts +36 -22
- package/src/services/NotificationService.ts +73 -61
- package/src/services/OrgsService.ts +135 -106
- package/src/services/OverviewService.ts +172 -73
- package/src/services/PerformanceService.ts +153 -77
- package/src/services/PerlearnerService.ts +591 -279
- package/src/services/PlatformService.ts +278 -157
- package/src/services/ProviderAssociationService.ts +4 -3
- package/src/services/ProvidersService.ts +36 -27
- package/src/services/ProvisionService.ts +4 -3
- package/src/services/RecommendationsService.ts +5 -4
- package/src/services/ReportsService.ts +28 -22
- package/src/services/RolesService.ts +10 -8
- package/src/services/SearchService.ts +771 -236
- package/src/services/ServiceService.ts +49 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiBotService.d.ts +0 -486
- package/dist/types/services/AiFinetuningService.d.ts +0 -162
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1174
- package/src/services/AiFinetuningService.ts +0 -402
|
@@ -36,15 +36,16 @@ export class AiPromptService {
|
|
|
36
36
|
*
|
|
37
37
|
* Raises:
|
|
38
38
|
* BadRequest: If the provided data is invalid.
|
|
39
|
-
* @param org
|
|
40
|
-
* @param requestBody
|
|
41
39
|
* @returns Metadata
|
|
42
40
|
* @throws ApiError
|
|
43
41
|
*/
|
|
44
|
-
public static aiPromptOrgsMetadataCreate(
|
|
42
|
+
public static aiPromptOrgsMetadataCreate({
|
|
43
|
+
org,
|
|
44
|
+
requestBody,
|
|
45
|
+
}: {
|
|
45
46
|
org: string,
|
|
46
47
|
requestBody: Metadata,
|
|
47
|
-
): CancelablePromise<Metadata> {
|
|
48
|
+
}): CancelablePromise<Metadata> {
|
|
48
49
|
return __request(OpenAPI, {
|
|
49
50
|
method: 'POST',
|
|
50
51
|
url: '/api/ai-prompt/orgs/{org}/metadata/',
|
|
@@ -71,15 +72,16 @@ export class AiPromptService {
|
|
|
71
72
|
*
|
|
72
73
|
* Raises:
|
|
73
74
|
* NotFound: If no chat memory exists for the user.
|
|
74
|
-
* @param org
|
|
75
|
-
* @param userId
|
|
76
75
|
* @returns UserAllChatMemoryView
|
|
77
76
|
* @throws ApiError
|
|
78
77
|
*/
|
|
79
|
-
public static aiPromptOrgsUsersAllChatsMemoryRetrieve(
|
|
78
|
+
public static aiPromptOrgsUsersAllChatsMemoryRetrieve({
|
|
79
|
+
org,
|
|
80
|
+
userId,
|
|
81
|
+
}: {
|
|
80
82
|
org: string,
|
|
81
83
|
userId: string,
|
|
82
|
-
): CancelablePromise<UserAllChatMemoryView> {
|
|
84
|
+
}): CancelablePromise<UserAllChatMemoryView> {
|
|
83
85
|
return __request(OpenAPI, {
|
|
84
86
|
method: 'GET',
|
|
85
87
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
@@ -105,17 +107,18 @@ export class AiPromptService {
|
|
|
105
107
|
*
|
|
106
108
|
* Raises:
|
|
107
109
|
* BadRequest: If the provided data is invalid.
|
|
108
|
-
* @param org
|
|
109
|
-
* @param userId
|
|
110
|
-
* @param requestBody
|
|
111
110
|
* @returns UserAllChatMemoryView
|
|
112
111
|
* @throws ApiError
|
|
113
112
|
*/
|
|
114
|
-
public static aiPromptOrgsUsersAllChatsMemoryCreate(
|
|
113
|
+
public static aiPromptOrgsUsersAllChatsMemoryCreate({
|
|
114
|
+
org,
|
|
115
|
+
userId,
|
|
116
|
+
requestBody,
|
|
117
|
+
}: {
|
|
115
118
|
org: string,
|
|
116
119
|
userId: string,
|
|
117
120
|
requestBody: UserAllChatMemoryView,
|
|
118
|
-
): CancelablePromise<UserAllChatMemoryView> {
|
|
121
|
+
}): CancelablePromise<UserAllChatMemoryView> {
|
|
119
122
|
return __request(OpenAPI, {
|
|
120
123
|
method: 'POST',
|
|
121
124
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
@@ -144,17 +147,18 @@ export class AiPromptService {
|
|
|
144
147
|
* Raises:
|
|
145
148
|
* BadRequest: If the provided data is invalid.
|
|
146
149
|
* NotFound: If no chat memory exists for the user.
|
|
147
|
-
* @param org
|
|
148
|
-
* @param userId
|
|
149
|
-
* @param requestBody
|
|
150
150
|
* @returns UserChatMemoryUpdateView
|
|
151
151
|
* @throws ApiError
|
|
152
152
|
*/
|
|
153
|
-
public static aiPromptOrgsUsersAllChatsMemoryUpdate(
|
|
153
|
+
public static aiPromptOrgsUsersAllChatsMemoryUpdate({
|
|
154
|
+
org,
|
|
155
|
+
userId,
|
|
156
|
+
requestBody,
|
|
157
|
+
}: {
|
|
154
158
|
org: string,
|
|
155
159
|
userId: string,
|
|
156
160
|
requestBody: UserAllChatMemoryView,
|
|
157
|
-
): CancelablePromise<UserChatMemoryUpdateView> {
|
|
161
|
+
}): CancelablePromise<UserChatMemoryUpdateView> {
|
|
158
162
|
return __request(OpenAPI, {
|
|
159
163
|
method: 'PUT',
|
|
160
164
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
@@ -183,15 +187,16 @@ export class AiPromptService {
|
|
|
183
187
|
*
|
|
184
188
|
* Raises:
|
|
185
189
|
* NotFound: If no chat memory exists for the user.
|
|
186
|
-
* @param org
|
|
187
|
-
* @param userId
|
|
188
190
|
* @returns void
|
|
189
191
|
* @throws ApiError
|
|
190
192
|
*/
|
|
191
|
-
public static aiPromptOrgsUsersAllChatsMemoryDestroy(
|
|
193
|
+
public static aiPromptOrgsUsersAllChatsMemoryDestroy({
|
|
194
|
+
org,
|
|
195
|
+
userId,
|
|
196
|
+
}: {
|
|
192
197
|
org: string,
|
|
193
198
|
userId: string,
|
|
194
|
-
): CancelablePromise<void> {
|
|
199
|
+
}): CancelablePromise<void> {
|
|
195
200
|
return __request(OpenAPI, {
|
|
196
201
|
method: 'DELETE',
|
|
197
202
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
@@ -219,19 +224,20 @@ export class AiPromptService {
|
|
|
219
224
|
* Raises:
|
|
220
225
|
* BadRequest: If the provided data is invalid.
|
|
221
226
|
* NotFound: If the specified memory entry does not exist.
|
|
222
|
-
* @param memoryId
|
|
223
|
-
* @param org
|
|
224
|
-
* @param userId
|
|
225
|
-
* @param requestBody
|
|
226
227
|
* @returns UserAllChatMemoryView
|
|
227
228
|
* @throws ApiError
|
|
228
229
|
*/
|
|
229
|
-
public static aiPromptOrgsUsersAllChatsMemoryUpdate2(
|
|
230
|
+
public static aiPromptOrgsUsersAllChatsMemoryUpdate2({
|
|
231
|
+
memoryId,
|
|
232
|
+
org,
|
|
233
|
+
userId,
|
|
234
|
+
requestBody,
|
|
235
|
+
}: {
|
|
230
236
|
memoryId: number,
|
|
231
237
|
org: string,
|
|
232
238
|
userId: string,
|
|
233
239
|
requestBody: UserAllChatMemoryView,
|
|
234
|
-
): CancelablePromise<UserAllChatMemoryView> {
|
|
240
|
+
}): CancelablePromise<UserAllChatMemoryView> {
|
|
235
241
|
return __request(OpenAPI, {
|
|
236
242
|
method: 'PUT',
|
|
237
243
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/',
|
|
@@ -262,17 +268,18 @@ export class AiPromptService {
|
|
|
262
268
|
*
|
|
263
269
|
* Raises:
|
|
264
270
|
* NotFound: If the specified memory entry does not exist.
|
|
265
|
-
* @param memoryId
|
|
266
|
-
* @param org
|
|
267
|
-
* @param userId
|
|
268
271
|
* @returns void
|
|
269
272
|
* @throws ApiError
|
|
270
273
|
*/
|
|
271
|
-
public static aiPromptOrgsUsersAllChatsMemoryDestroy2(
|
|
274
|
+
public static aiPromptOrgsUsersAllChatsMemoryDestroy2({
|
|
275
|
+
memoryId,
|
|
276
|
+
org,
|
|
277
|
+
userId,
|
|
278
|
+
}: {
|
|
272
279
|
memoryId: number,
|
|
273
280
|
org: string,
|
|
274
281
|
userId: string,
|
|
275
|
-
): CancelablePromise<void> {
|
|
282
|
+
}): CancelablePromise<void> {
|
|
276
283
|
return __request(OpenAPI, {
|
|
277
284
|
method: 'DELETE',
|
|
278
285
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/',
|
|
@@ -299,15 +306,16 @@ export class AiPromptService {
|
|
|
299
306
|
*
|
|
300
307
|
* Raises:
|
|
301
308
|
* NotFound: If no memory status exists for the user.
|
|
302
|
-
* @param org
|
|
303
|
-
* @param userId
|
|
304
309
|
* @returns UserChatMemoryStatusView
|
|
305
310
|
* @throws ApiError
|
|
306
311
|
*/
|
|
307
|
-
public static aiPromptOrgsUsersChatMemoryStatusRetrieve(
|
|
312
|
+
public static aiPromptOrgsUsersChatMemoryStatusRetrieve({
|
|
313
|
+
org,
|
|
314
|
+
userId,
|
|
315
|
+
}: {
|
|
308
316
|
org: string,
|
|
309
317
|
userId: string,
|
|
310
|
-
): CancelablePromise<UserChatMemoryStatusView> {
|
|
318
|
+
}): CancelablePromise<UserChatMemoryStatusView> {
|
|
311
319
|
return __request(OpenAPI, {
|
|
312
320
|
method: 'GET',
|
|
313
321
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/',
|
|
@@ -333,17 +341,18 @@ export class AiPromptService {
|
|
|
333
341
|
*
|
|
334
342
|
* Raises:
|
|
335
343
|
* BadRequest: If the provided data is invalid.
|
|
336
|
-
* @param org
|
|
337
|
-
* @param userId
|
|
338
|
-
* @param requestBody
|
|
339
344
|
* @returns UserChatMemoryStatusView
|
|
340
345
|
* @throws ApiError
|
|
341
346
|
*/
|
|
342
|
-
public static aiPromptOrgsUsersChatMemoryStatusUpdate(
|
|
347
|
+
public static aiPromptOrgsUsersChatMemoryStatusUpdate({
|
|
348
|
+
org,
|
|
349
|
+
userId,
|
|
350
|
+
requestBody,
|
|
351
|
+
}: {
|
|
343
352
|
org: string,
|
|
344
353
|
userId: string,
|
|
345
354
|
requestBody: UserChatMemoryStatusRequestView,
|
|
346
|
-
): CancelablePromise<UserChatMemoryStatusView> {
|
|
355
|
+
}): CancelablePromise<UserChatMemoryStatusView> {
|
|
347
356
|
return __request(OpenAPI, {
|
|
348
357
|
method: 'PUT',
|
|
349
358
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/',
|
|
@@ -368,15 +377,16 @@ export class AiPromptService {
|
|
|
368
377
|
*
|
|
369
378
|
* Returns:
|
|
370
379
|
* Response: A list of available prompt languages.
|
|
371
|
-
* @param org
|
|
372
|
-
* @param userId
|
|
373
380
|
* @returns LanguagesView
|
|
374
381
|
* @throws ApiError
|
|
375
382
|
*/
|
|
376
|
-
public static aiPromptOrgsUsersLanguagesRetrieve(
|
|
383
|
+
public static aiPromptOrgsUsersLanguagesRetrieve({
|
|
384
|
+
org,
|
|
385
|
+
userId,
|
|
386
|
+
}: {
|
|
377
387
|
org: string,
|
|
378
388
|
userId: string,
|
|
379
|
-
): CancelablePromise<LanguagesView> {
|
|
389
|
+
}): CancelablePromise<LanguagesView> {
|
|
380
390
|
return __request(OpenAPI, {
|
|
381
391
|
method: 'GET',
|
|
382
392
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/',
|
|
@@ -399,17 +409,18 @@ export class AiPromptService {
|
|
|
399
409
|
*
|
|
400
410
|
* Raises:
|
|
401
411
|
* BadRequest: If the provided data is invalid.
|
|
402
|
-
* @param org
|
|
403
|
-
* @param userId
|
|
404
|
-
* @param requestBody
|
|
405
412
|
* @returns LanguagesView
|
|
406
413
|
* @throws ApiError
|
|
407
414
|
*/
|
|
408
|
-
public static aiPromptOrgsUsersLanguagesCreate(
|
|
415
|
+
public static aiPromptOrgsUsersLanguagesCreate({
|
|
416
|
+
org,
|
|
417
|
+
userId,
|
|
418
|
+
requestBody,
|
|
419
|
+
}: {
|
|
409
420
|
org: string,
|
|
410
421
|
userId: string,
|
|
411
422
|
requestBody: LanguagesView,
|
|
412
|
-
): CancelablePromise<LanguagesView> {
|
|
423
|
+
}): CancelablePromise<LanguagesView> {
|
|
413
424
|
return __request(OpenAPI, {
|
|
414
425
|
method: 'POST',
|
|
415
426
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/',
|
|
@@ -439,19 +450,20 @@ export class AiPromptService {
|
|
|
439
450
|
* Raises:
|
|
440
451
|
* BadRequest: If the provided data is invalid.
|
|
441
452
|
* NotFound: If the specified language does not exist.
|
|
442
|
-
* @param languageId
|
|
443
|
-
* @param org
|
|
444
|
-
* @param userId
|
|
445
|
-
* @param requestBody
|
|
446
453
|
* @returns LanguagesView
|
|
447
454
|
* @throws ApiError
|
|
448
455
|
*/
|
|
449
|
-
public static aiPromptOrgsUsersLanguagesUpdate(
|
|
456
|
+
public static aiPromptOrgsUsersLanguagesUpdate({
|
|
457
|
+
languageId,
|
|
458
|
+
org,
|
|
459
|
+
userId,
|
|
460
|
+
requestBody,
|
|
461
|
+
}: {
|
|
450
462
|
languageId: number,
|
|
451
463
|
org: string,
|
|
452
464
|
userId: string,
|
|
453
465
|
requestBody: LanguagesView,
|
|
454
|
-
): CancelablePromise<LanguagesView> {
|
|
466
|
+
}): CancelablePromise<LanguagesView> {
|
|
455
467
|
return __request(OpenAPI, {
|
|
456
468
|
method: 'PUT',
|
|
457
469
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/{language_id}/',
|
|
@@ -482,17 +494,18 @@ export class AiPromptService {
|
|
|
482
494
|
*
|
|
483
495
|
* Raises:
|
|
484
496
|
* NotFound: If the specified language does not exist.
|
|
485
|
-
* @param languageId
|
|
486
|
-
* @param org
|
|
487
|
-
* @param userId
|
|
488
497
|
* @returns void
|
|
489
498
|
* @throws ApiError
|
|
490
499
|
*/
|
|
491
|
-
public static aiPromptOrgsUsersLanguagesDestroy(
|
|
500
|
+
public static aiPromptOrgsUsersLanguagesDestroy({
|
|
501
|
+
languageId,
|
|
502
|
+
org,
|
|
503
|
+
userId,
|
|
504
|
+
}: {
|
|
492
505
|
languageId: number,
|
|
493
506
|
org: string,
|
|
494
507
|
userId: string,
|
|
495
|
-
): CancelablePromise<void> {
|
|
508
|
+
}): CancelablePromise<void> {
|
|
496
509
|
return __request(OpenAPI, {
|
|
497
510
|
method: 'DELETE',
|
|
498
511
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/{language_id}/',
|
|
@@ -519,15 +532,16 @@ export class AiPromptService {
|
|
|
519
532
|
*
|
|
520
533
|
* Raises:
|
|
521
534
|
* NotFound: If no catalog item memory exists for the user.
|
|
522
|
-
* @param org
|
|
523
|
-
* @param userId
|
|
524
535
|
* @returns UserCatalogItemMemoryView
|
|
525
536
|
* @throws ApiError
|
|
526
537
|
*/
|
|
527
|
-
public static aiPromptOrgsUsersMemoryRetrieve(
|
|
538
|
+
public static aiPromptOrgsUsersMemoryRetrieve({
|
|
539
|
+
org,
|
|
540
|
+
userId,
|
|
541
|
+
}: {
|
|
528
542
|
org: string,
|
|
529
543
|
userId: string,
|
|
530
|
-
): CancelablePromise<UserCatalogItemMemoryView> {
|
|
544
|
+
}): CancelablePromise<UserCatalogItemMemoryView> {
|
|
531
545
|
return __request(OpenAPI, {
|
|
532
546
|
method: 'GET',
|
|
533
547
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
|
|
@@ -553,17 +567,18 @@ export class AiPromptService {
|
|
|
553
567
|
*
|
|
554
568
|
* Raises:
|
|
555
569
|
* BadRequest: If the provided data is invalid.
|
|
556
|
-
* @param org
|
|
557
|
-
* @param userId
|
|
558
|
-
* @param requestBody
|
|
559
570
|
* @returns UserCatalogItemMemoryView
|
|
560
571
|
* @throws ApiError
|
|
561
572
|
*/
|
|
562
|
-
public static aiPromptOrgsUsersMemoryCreate(
|
|
573
|
+
public static aiPromptOrgsUsersMemoryCreate({
|
|
574
|
+
org,
|
|
575
|
+
userId,
|
|
576
|
+
requestBody,
|
|
577
|
+
}: {
|
|
563
578
|
org: string,
|
|
564
579
|
userId: string,
|
|
565
580
|
requestBody: UserCatalogItemMemoryView,
|
|
566
|
-
): CancelablePromise<UserCatalogItemMemoryView> {
|
|
581
|
+
}): CancelablePromise<UserCatalogItemMemoryView> {
|
|
567
582
|
return __request(OpenAPI, {
|
|
568
583
|
method: 'POST',
|
|
569
584
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
|
|
@@ -591,15 +606,16 @@ export class AiPromptService {
|
|
|
591
606
|
*
|
|
592
607
|
* Raises:
|
|
593
608
|
* NotFound: If no catalog item memory exists for the user.
|
|
594
|
-
* @param org
|
|
595
|
-
* @param userId
|
|
596
609
|
* @returns void
|
|
597
610
|
* @throws ApiError
|
|
598
611
|
*/
|
|
599
|
-
public static aiPromptOrgsUsersMemoryDestroy(
|
|
612
|
+
public static aiPromptOrgsUsersMemoryDestroy({
|
|
613
|
+
org,
|
|
614
|
+
userId,
|
|
615
|
+
}: {
|
|
600
616
|
org: string,
|
|
601
617
|
userId: string,
|
|
602
|
-
): CancelablePromise<void> {
|
|
618
|
+
}): CancelablePromise<void> {
|
|
603
619
|
return __request(OpenAPI, {
|
|
604
620
|
method: 'DELETE',
|
|
605
621
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
|
|
@@ -614,15 +630,16 @@ export class AiPromptService {
|
|
|
614
630
|
}
|
|
615
631
|
/**
|
|
616
632
|
* Retrieve a user's memory context settings.
|
|
617
|
-
* @param org
|
|
618
|
-
* @param userId
|
|
619
633
|
* @returns UserMemoryContextResponse
|
|
620
634
|
* @throws ApiError
|
|
621
635
|
*/
|
|
622
|
-
public static aiPromptOrgsUsersMemoryContextRetrieve(
|
|
636
|
+
public static aiPromptOrgsUsersMemoryContextRetrieve({
|
|
637
|
+
org,
|
|
638
|
+
userId,
|
|
639
|
+
}: {
|
|
623
640
|
org: string,
|
|
624
641
|
userId: string,
|
|
625
|
-
): CancelablePromise<UserMemoryContextResponse> {
|
|
642
|
+
}): CancelablePromise<UserMemoryContextResponse> {
|
|
626
643
|
return __request(OpenAPI, {
|
|
627
644
|
method: 'GET',
|
|
628
645
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-context/',
|
|
@@ -638,17 +655,18 @@ export class AiPromptService {
|
|
|
638
655
|
* Returns:
|
|
639
656
|
*
|
|
640
657
|
* 200: list of user memory context data.
|
|
641
|
-
* @param org
|
|
642
|
-
* @param userId
|
|
643
|
-
* @param requestBody
|
|
644
658
|
* @returns UserMemoryContextResponse
|
|
645
659
|
* @throws ApiError
|
|
646
660
|
*/
|
|
647
|
-
public static aiPromptOrgsUsersMemoryContextUpdate(
|
|
661
|
+
public static aiPromptOrgsUsersMemoryContextUpdate({
|
|
662
|
+
org,
|
|
663
|
+
userId,
|
|
664
|
+
requestBody,
|
|
665
|
+
}: {
|
|
648
666
|
org: string,
|
|
649
667
|
userId: string,
|
|
650
668
|
requestBody?: UserMemoryContextRequest,
|
|
651
|
-
): CancelablePromise<UserMemoryContextResponse> {
|
|
669
|
+
}): CancelablePromise<UserMemoryContextResponse> {
|
|
652
670
|
return __request(OpenAPI, {
|
|
653
671
|
method: 'PUT',
|
|
654
672
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-context/',
|
|
@@ -673,15 +691,16 @@ export class AiPromptService {
|
|
|
673
691
|
*
|
|
674
692
|
* Raises:
|
|
675
693
|
* NotFound: If no memory status exists for the user.
|
|
676
|
-
* @param org
|
|
677
|
-
* @param userId
|
|
678
694
|
* @returns MemoryStatusView
|
|
679
695
|
* @throws ApiError
|
|
680
696
|
*/
|
|
681
|
-
public static aiPromptOrgsUsersMemoryStatusRetrieve(
|
|
697
|
+
public static aiPromptOrgsUsersMemoryStatusRetrieve({
|
|
698
|
+
org,
|
|
699
|
+
userId,
|
|
700
|
+
}: {
|
|
682
701
|
org: string,
|
|
683
702
|
userId: string,
|
|
684
|
-
): CancelablePromise<MemoryStatusView> {
|
|
703
|
+
}): CancelablePromise<MemoryStatusView> {
|
|
685
704
|
return __request(OpenAPI, {
|
|
686
705
|
method: 'GET',
|
|
687
706
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-status/',
|
|
@@ -707,17 +726,18 @@ export class AiPromptService {
|
|
|
707
726
|
*
|
|
708
727
|
* Raises:
|
|
709
728
|
* BadRequest: If the provided data is invalid.
|
|
710
|
-
* @param org
|
|
711
|
-
* @param userId
|
|
712
|
-
* @param requestBody
|
|
713
729
|
* @returns MemoryStatusView
|
|
714
730
|
* @throws ApiError
|
|
715
731
|
*/
|
|
716
|
-
public static aiPromptOrgsUsersMemoryStatusUpdate(
|
|
732
|
+
public static aiPromptOrgsUsersMemoryStatusUpdate({
|
|
733
|
+
org,
|
|
734
|
+
userId,
|
|
735
|
+
requestBody,
|
|
736
|
+
}: {
|
|
717
737
|
org: string,
|
|
718
738
|
userId: string,
|
|
719
739
|
requestBody: MemoryStatusRequestView,
|
|
720
|
-
): CancelablePromise<MemoryStatusView> {
|
|
740
|
+
}): CancelablePromise<MemoryStatusView> {
|
|
721
741
|
return __request(OpenAPI, {
|
|
722
742
|
method: 'PUT',
|
|
723
743
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-status/',
|
|
@@ -747,19 +767,20 @@ export class AiPromptService {
|
|
|
747
767
|
* Raises:
|
|
748
768
|
* BadRequest: If the provided data is invalid.
|
|
749
769
|
* NotFound: If the specified memory entry does not exist.
|
|
750
|
-
* @param memoryId
|
|
751
|
-
* @param org
|
|
752
|
-
* @param userId
|
|
753
|
-
* @param requestBody
|
|
754
770
|
* @returns UserCatalogItemMemoryView
|
|
755
771
|
* @throws ApiError
|
|
756
772
|
*/
|
|
757
|
-
public static aiPromptOrgsUsersMemoryUpdate(
|
|
773
|
+
public static aiPromptOrgsUsersMemoryUpdate({
|
|
774
|
+
memoryId,
|
|
775
|
+
org,
|
|
776
|
+
userId,
|
|
777
|
+
requestBody,
|
|
778
|
+
}: {
|
|
758
779
|
memoryId: number,
|
|
759
780
|
org: string,
|
|
760
781
|
userId: string,
|
|
761
782
|
requestBody: UserCatalogItemMemoryView,
|
|
762
|
-
): CancelablePromise<UserCatalogItemMemoryView> {
|
|
783
|
+
}): CancelablePromise<UserCatalogItemMemoryView> {
|
|
763
784
|
return __request(OpenAPI, {
|
|
764
785
|
method: 'PUT',
|
|
765
786
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/{memory_id}/',
|
|
@@ -790,17 +811,18 @@ export class AiPromptService {
|
|
|
790
811
|
*
|
|
791
812
|
* Raises:
|
|
792
813
|
* NotFound: If the specified memory entry does not exist.
|
|
793
|
-
* @param memoryId
|
|
794
|
-
* @param org
|
|
795
|
-
* @param userId
|
|
796
814
|
* @returns void
|
|
797
815
|
* @throws ApiError
|
|
798
816
|
*/
|
|
799
|
-
public static aiPromptOrgsUsersMemoryDestroy2(
|
|
817
|
+
public static aiPromptOrgsUsersMemoryDestroy2({
|
|
818
|
+
memoryId,
|
|
819
|
+
org,
|
|
820
|
+
userId,
|
|
821
|
+
}: {
|
|
800
822
|
memoryId: number,
|
|
801
823
|
org: string,
|
|
802
824
|
userId: string,
|
|
803
|
-
): CancelablePromise<void> {
|
|
825
|
+
}): CancelablePromise<void> {
|
|
804
826
|
return __request(OpenAPI, {
|
|
805
827
|
method: 'DELETE',
|
|
806
828
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/{memory_id}/',
|
|
@@ -827,15 +849,16 @@ export class AiPromptService {
|
|
|
827
849
|
*
|
|
828
850
|
* Raises:
|
|
829
851
|
* NotFound: If no metadata exists for the specific prompt
|
|
830
|
-
* @param org
|
|
831
|
-
* @param userId
|
|
832
852
|
* @returns Metadata
|
|
833
853
|
* @throws ApiError
|
|
834
854
|
*/
|
|
835
|
-
public static aiPromptOrgsUsersMetadataRetrieve(
|
|
855
|
+
public static aiPromptOrgsUsersMetadataRetrieve({
|
|
856
|
+
org,
|
|
857
|
+
userId,
|
|
858
|
+
}: {
|
|
836
859
|
org: string,
|
|
837
860
|
userId: string,
|
|
838
|
-
): CancelablePromise<Metadata> {
|
|
861
|
+
}): CancelablePromise<Metadata> {
|
|
839
862
|
return __request(OpenAPI, {
|
|
840
863
|
method: 'GET',
|
|
841
864
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/metadata',
|
|
@@ -856,27 +879,46 @@ export class AiPromptService {
|
|
|
856
879
|
*
|
|
857
880
|
* Permissions:
|
|
858
881
|
* - Accessible to both tenant administrators and students
|
|
859
|
-
* @param org
|
|
860
|
-
* @param userId
|
|
861
|
-
* @param category Category of the prompt
|
|
862
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
863
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
864
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
865
|
-
* @param tag Tag of the prompt
|
|
866
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
867
882
|
* @returns Prompt
|
|
868
883
|
* @throws ApiError
|
|
869
884
|
*/
|
|
870
|
-
public static aiPromptOrgsUsersPromptList(
|
|
885
|
+
public static aiPromptOrgsUsersPromptList({
|
|
886
|
+
org,
|
|
887
|
+
userId,
|
|
888
|
+
category,
|
|
889
|
+
createdBy,
|
|
890
|
+
filterBy,
|
|
891
|
+
mentorUniqueId,
|
|
892
|
+
tag,
|
|
893
|
+
visibility,
|
|
894
|
+
}: {
|
|
871
895
|
org: string,
|
|
872
896
|
userId: string,
|
|
897
|
+
/**
|
|
898
|
+
* Category of the prompt
|
|
899
|
+
*/
|
|
873
900
|
category?: number,
|
|
901
|
+
/**
|
|
902
|
+
* Option to filter by username of the prompt creators.
|
|
903
|
+
*/
|
|
874
904
|
createdBy?: string,
|
|
905
|
+
/**
|
|
906
|
+
* Filter options include, date, prompt, default is date
|
|
907
|
+
*/
|
|
875
908
|
filterBy?: string,
|
|
909
|
+
/**
|
|
910
|
+
* Mentor unique id of the prompt
|
|
911
|
+
*/
|
|
876
912
|
mentorUniqueId?: string,
|
|
913
|
+
/**
|
|
914
|
+
* Tag of the prompt
|
|
915
|
+
*/
|
|
877
916
|
tag?: number,
|
|
917
|
+
/**
|
|
918
|
+
* Visibility trype the mentor of the prompt
|
|
919
|
+
*/
|
|
878
920
|
visibility?: string,
|
|
879
|
-
): CancelablePromise<Array<Prompt>> {
|
|
921
|
+
}): CancelablePromise<Array<Prompt>> {
|
|
880
922
|
return __request(OpenAPI, {
|
|
881
923
|
method: 'GET',
|
|
882
924
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/',
|
|
@@ -905,29 +947,48 @@ export class AiPromptService {
|
|
|
905
947
|
*
|
|
906
948
|
* Raises:
|
|
907
949
|
* ValidationError: If the input data is invalid.
|
|
908
|
-
* @param org
|
|
909
|
-
* @param userId
|
|
910
|
-
* @param requestBody
|
|
911
|
-
* @param category Category of the prompt
|
|
912
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
913
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
914
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
915
|
-
* @param tag Tag of the prompt
|
|
916
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
917
950
|
* @returns Prompt
|
|
918
951
|
* @throws ApiError
|
|
919
952
|
*/
|
|
920
|
-
public static aiPromptOrgsUsersPromptCreate(
|
|
953
|
+
public static aiPromptOrgsUsersPromptCreate({
|
|
954
|
+
org,
|
|
955
|
+
userId,
|
|
956
|
+
requestBody,
|
|
957
|
+
category,
|
|
958
|
+
createdBy,
|
|
959
|
+
filterBy,
|
|
960
|
+
mentorUniqueId,
|
|
961
|
+
tag,
|
|
962
|
+
visibility,
|
|
963
|
+
}: {
|
|
921
964
|
org: string,
|
|
922
965
|
userId: string,
|
|
923
966
|
requestBody: Prompt,
|
|
967
|
+
/**
|
|
968
|
+
* Category of the prompt
|
|
969
|
+
*/
|
|
924
970
|
category?: number,
|
|
971
|
+
/**
|
|
972
|
+
* Option to filter by username of the prompt creators.
|
|
973
|
+
*/
|
|
925
974
|
createdBy?: string,
|
|
975
|
+
/**
|
|
976
|
+
* Filter options include, date, prompt, default is date
|
|
977
|
+
*/
|
|
926
978
|
filterBy?: string,
|
|
979
|
+
/**
|
|
980
|
+
* Mentor unique id of the prompt
|
|
981
|
+
*/
|
|
927
982
|
mentorUniqueId?: string,
|
|
983
|
+
/**
|
|
984
|
+
* Tag of the prompt
|
|
985
|
+
*/
|
|
928
986
|
tag?: number,
|
|
987
|
+
/**
|
|
988
|
+
* Visibility trype the mentor of the prompt
|
|
989
|
+
*/
|
|
929
990
|
visibility?: string,
|
|
930
|
-
): CancelablePromise<Prompt> {
|
|
991
|
+
}): CancelablePromise<Prompt> {
|
|
931
992
|
return __request(OpenAPI, {
|
|
932
993
|
method: 'POST',
|
|
933
994
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/',
|
|
@@ -955,29 +1016,51 @@ export class AiPromptService {
|
|
|
955
1016
|
*
|
|
956
1017
|
* Permissions:
|
|
957
1018
|
* - Accessible to both tenant administrators and students
|
|
958
|
-
* @param id A unique integer value identifying this prompt.
|
|
959
|
-
* @param org
|
|
960
|
-
* @param userId
|
|
961
|
-
* @param category Category of the prompt
|
|
962
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
963
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
964
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
965
|
-
* @param tag Tag of the prompt
|
|
966
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
967
1019
|
* @returns Prompt
|
|
968
1020
|
* @throws ApiError
|
|
969
1021
|
*/
|
|
970
|
-
public static aiPromptOrgsUsersPromptRetrieve(
|
|
1022
|
+
public static aiPromptOrgsUsersPromptRetrieve({
|
|
1023
|
+
id,
|
|
1024
|
+
org,
|
|
1025
|
+
userId,
|
|
1026
|
+
category,
|
|
1027
|
+
createdBy,
|
|
1028
|
+
filterBy,
|
|
1029
|
+
mentorUniqueId,
|
|
1030
|
+
tag,
|
|
1031
|
+
visibility,
|
|
1032
|
+
}: {
|
|
1033
|
+
/**
|
|
1034
|
+
* A unique integer value identifying this prompt.
|
|
1035
|
+
*/
|
|
971
1036
|
id: number,
|
|
972
1037
|
org: string,
|
|
973
1038
|
userId: string,
|
|
1039
|
+
/**
|
|
1040
|
+
* Category of the prompt
|
|
1041
|
+
*/
|
|
974
1042
|
category?: number,
|
|
1043
|
+
/**
|
|
1044
|
+
* Option to filter by username of the prompt creators.
|
|
1045
|
+
*/
|
|
975
1046
|
createdBy?: string,
|
|
1047
|
+
/**
|
|
1048
|
+
* Filter options include, date, prompt, default is date
|
|
1049
|
+
*/
|
|
976
1050
|
filterBy?: string,
|
|
1051
|
+
/**
|
|
1052
|
+
* Mentor unique id of the prompt
|
|
1053
|
+
*/
|
|
977
1054
|
mentorUniqueId?: string,
|
|
1055
|
+
/**
|
|
1056
|
+
* Tag of the prompt
|
|
1057
|
+
*/
|
|
978
1058
|
tag?: number,
|
|
1059
|
+
/**
|
|
1060
|
+
* Visibility trype the mentor of the prompt
|
|
1061
|
+
*/
|
|
979
1062
|
visibility?: string,
|
|
980
|
-
): CancelablePromise<Prompt> {
|
|
1063
|
+
}): CancelablePromise<Prompt> {
|
|
981
1064
|
return __request(OpenAPI, {
|
|
982
1065
|
method: 'GET',
|
|
983
1066
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
@@ -1008,31 +1091,53 @@ export class AiPromptService {
|
|
|
1008
1091
|
* Raises:
|
|
1009
1092
|
* ValidationError: If the input data is invalid.
|
|
1010
1093
|
* PermissionDenied: If the prompt is system-generated and cannot be edited.
|
|
1011
|
-
* @param id A unique integer value identifying this prompt.
|
|
1012
|
-
* @param org
|
|
1013
|
-
* @param userId
|
|
1014
|
-
* @param requestBody
|
|
1015
|
-
* @param category Category of the prompt
|
|
1016
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
1017
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
1018
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
1019
|
-
* @param tag Tag of the prompt
|
|
1020
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
1021
1094
|
* @returns Prompt
|
|
1022
1095
|
* @throws ApiError
|
|
1023
1096
|
*/
|
|
1024
|
-
public static aiPromptOrgsUsersPromptUpdate(
|
|
1097
|
+
public static aiPromptOrgsUsersPromptUpdate({
|
|
1098
|
+
id,
|
|
1099
|
+
org,
|
|
1100
|
+
userId,
|
|
1101
|
+
requestBody,
|
|
1102
|
+
category,
|
|
1103
|
+
createdBy,
|
|
1104
|
+
filterBy,
|
|
1105
|
+
mentorUniqueId,
|
|
1106
|
+
tag,
|
|
1107
|
+
visibility,
|
|
1108
|
+
}: {
|
|
1109
|
+
/**
|
|
1110
|
+
* A unique integer value identifying this prompt.
|
|
1111
|
+
*/
|
|
1025
1112
|
id: number,
|
|
1026
1113
|
org: string,
|
|
1027
1114
|
userId: string,
|
|
1028
1115
|
requestBody: Prompt,
|
|
1116
|
+
/**
|
|
1117
|
+
* Category of the prompt
|
|
1118
|
+
*/
|
|
1029
1119
|
category?: number,
|
|
1120
|
+
/**
|
|
1121
|
+
* Option to filter by username of the prompt creators.
|
|
1122
|
+
*/
|
|
1030
1123
|
createdBy?: string,
|
|
1124
|
+
/**
|
|
1125
|
+
* Filter options include, date, prompt, default is date
|
|
1126
|
+
*/
|
|
1031
1127
|
filterBy?: string,
|
|
1128
|
+
/**
|
|
1129
|
+
* Mentor unique id of the prompt
|
|
1130
|
+
*/
|
|
1032
1131
|
mentorUniqueId?: string,
|
|
1132
|
+
/**
|
|
1133
|
+
* Tag of the prompt
|
|
1134
|
+
*/
|
|
1033
1135
|
tag?: number,
|
|
1136
|
+
/**
|
|
1137
|
+
* Visibility trype the mentor of the prompt
|
|
1138
|
+
*/
|
|
1034
1139
|
visibility?: string,
|
|
1035
|
-
): CancelablePromise<Prompt> {
|
|
1140
|
+
}): CancelablePromise<Prompt> {
|
|
1036
1141
|
return __request(OpenAPI, {
|
|
1037
1142
|
method: 'PUT',
|
|
1038
1143
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
@@ -1061,31 +1166,53 @@ export class AiPromptService {
|
|
|
1061
1166
|
*
|
|
1062
1167
|
* Permissions:
|
|
1063
1168
|
* - Accessible to both tenant administrators and students
|
|
1064
|
-
* @param id A unique integer value identifying this prompt.
|
|
1065
|
-
* @param org
|
|
1066
|
-
* @param userId
|
|
1067
|
-
* @param category Category of the prompt
|
|
1068
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
1069
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
1070
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
1071
|
-
* @param tag Tag of the prompt
|
|
1072
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
1073
|
-
* @param requestBody
|
|
1074
1169
|
* @returns Prompt
|
|
1075
1170
|
* @throws ApiError
|
|
1076
1171
|
*/
|
|
1077
|
-
public static aiPromptOrgsUsersPromptPartialUpdate(
|
|
1172
|
+
public static aiPromptOrgsUsersPromptPartialUpdate({
|
|
1173
|
+
id,
|
|
1174
|
+
org,
|
|
1175
|
+
userId,
|
|
1176
|
+
category,
|
|
1177
|
+
createdBy,
|
|
1178
|
+
filterBy,
|
|
1179
|
+
mentorUniqueId,
|
|
1180
|
+
tag,
|
|
1181
|
+
visibility,
|
|
1182
|
+
requestBody,
|
|
1183
|
+
}: {
|
|
1184
|
+
/**
|
|
1185
|
+
* A unique integer value identifying this prompt.
|
|
1186
|
+
*/
|
|
1078
1187
|
id: number,
|
|
1079
1188
|
org: string,
|
|
1080
1189
|
userId: string,
|
|
1190
|
+
/**
|
|
1191
|
+
* Category of the prompt
|
|
1192
|
+
*/
|
|
1081
1193
|
category?: number,
|
|
1194
|
+
/**
|
|
1195
|
+
* Option to filter by username of the prompt creators.
|
|
1196
|
+
*/
|
|
1082
1197
|
createdBy?: string,
|
|
1198
|
+
/**
|
|
1199
|
+
* Filter options include, date, prompt, default is date
|
|
1200
|
+
*/
|
|
1083
1201
|
filterBy?: string,
|
|
1202
|
+
/**
|
|
1203
|
+
* Mentor unique id of the prompt
|
|
1204
|
+
*/
|
|
1084
1205
|
mentorUniqueId?: string,
|
|
1206
|
+
/**
|
|
1207
|
+
* Tag of the prompt
|
|
1208
|
+
*/
|
|
1085
1209
|
tag?: number,
|
|
1210
|
+
/**
|
|
1211
|
+
* Visibility trype the mentor of the prompt
|
|
1212
|
+
*/
|
|
1086
1213
|
visibility?: string,
|
|
1087
1214
|
requestBody?: PatchedPrompt,
|
|
1088
|
-
): CancelablePromise<Prompt> {
|
|
1215
|
+
}): CancelablePromise<Prompt> {
|
|
1089
1216
|
return __request(OpenAPI, {
|
|
1090
1217
|
method: 'PATCH',
|
|
1091
1218
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
@@ -1114,29 +1241,51 @@ export class AiPromptService {
|
|
|
1114
1241
|
*
|
|
1115
1242
|
* Permissions:
|
|
1116
1243
|
* - Accessible to both tenant administrators and students
|
|
1117
|
-
* @param id A unique integer value identifying this prompt.
|
|
1118
|
-
* @param org
|
|
1119
|
-
* @param userId
|
|
1120
|
-
* @param category Category of the prompt
|
|
1121
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
1122
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
1123
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
1124
|
-
* @param tag Tag of the prompt
|
|
1125
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
1126
1244
|
* @returns void
|
|
1127
1245
|
* @throws ApiError
|
|
1128
1246
|
*/
|
|
1129
|
-
public static aiPromptOrgsUsersPromptDestroy(
|
|
1247
|
+
public static aiPromptOrgsUsersPromptDestroy({
|
|
1248
|
+
id,
|
|
1249
|
+
org,
|
|
1250
|
+
userId,
|
|
1251
|
+
category,
|
|
1252
|
+
createdBy,
|
|
1253
|
+
filterBy,
|
|
1254
|
+
mentorUniqueId,
|
|
1255
|
+
tag,
|
|
1256
|
+
visibility,
|
|
1257
|
+
}: {
|
|
1258
|
+
/**
|
|
1259
|
+
* A unique integer value identifying this prompt.
|
|
1260
|
+
*/
|
|
1130
1261
|
id: number,
|
|
1131
1262
|
org: string,
|
|
1132
1263
|
userId: string,
|
|
1264
|
+
/**
|
|
1265
|
+
* Category of the prompt
|
|
1266
|
+
*/
|
|
1133
1267
|
category?: number,
|
|
1268
|
+
/**
|
|
1269
|
+
* Option to filter by username of the prompt creators.
|
|
1270
|
+
*/
|
|
1134
1271
|
createdBy?: string,
|
|
1272
|
+
/**
|
|
1273
|
+
* Filter options include, date, prompt, default is date
|
|
1274
|
+
*/
|
|
1135
1275
|
filterBy?: string,
|
|
1276
|
+
/**
|
|
1277
|
+
* Mentor unique id of the prompt
|
|
1278
|
+
*/
|
|
1136
1279
|
mentorUniqueId?: string,
|
|
1280
|
+
/**
|
|
1281
|
+
* Tag of the prompt
|
|
1282
|
+
*/
|
|
1137
1283
|
tag?: number,
|
|
1284
|
+
/**
|
|
1285
|
+
* Visibility trype the mentor of the prompt
|
|
1286
|
+
*/
|
|
1138
1287
|
visibility?: string,
|
|
1139
|
-
): CancelablePromise<void> {
|
|
1288
|
+
}): CancelablePromise<void> {
|
|
1140
1289
|
return __request(OpenAPI, {
|
|
1141
1290
|
method: 'DELETE',
|
|
1142
1291
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
@@ -1168,17 +1317,21 @@ export class AiPromptService {
|
|
|
1168
1317
|
* Returns:
|
|
1169
1318
|
* - 200: List of prompt categories.
|
|
1170
1319
|
* - 400: If query parameters are invalid.
|
|
1171
|
-
* @param org
|
|
1172
|
-
* @param userId
|
|
1173
|
-
* @param filterBy Filter options include, date, name, default is date
|
|
1174
1320
|
* @returns PromptCategory
|
|
1175
1321
|
* @throws ApiError
|
|
1176
1322
|
*/
|
|
1177
|
-
public static aiPromptOrgsUsersPromptsCategoryRetrieve(
|
|
1323
|
+
public static aiPromptOrgsUsersPromptsCategoryRetrieve({
|
|
1324
|
+
org,
|
|
1325
|
+
userId,
|
|
1326
|
+
filterBy,
|
|
1327
|
+
}: {
|
|
1178
1328
|
org: string,
|
|
1179
1329
|
userId: string,
|
|
1330
|
+
/**
|
|
1331
|
+
* Filter options include, date, name, default is date
|
|
1332
|
+
*/
|
|
1180
1333
|
filterBy?: string,
|
|
1181
|
-
): CancelablePromise<PromptCategory> {
|
|
1334
|
+
}): CancelablePromise<PromptCategory> {
|
|
1182
1335
|
return __request(OpenAPI, {
|
|
1183
1336
|
method: 'GET',
|
|
1184
1337
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
|
|
@@ -1203,17 +1356,18 @@ export class AiPromptService {
|
|
|
1203
1356
|
* - 201: Created prompt category.
|
|
1204
1357
|
* - 401: If the user is not a tenant admin.
|
|
1205
1358
|
* - 400: If request data is invalid.
|
|
1206
|
-
* @param org
|
|
1207
|
-
* @param userId
|
|
1208
|
-
* @param requestBody
|
|
1209
1359
|
* @returns PromptCategory Created prompt category
|
|
1210
1360
|
* @throws ApiError
|
|
1211
1361
|
*/
|
|
1212
|
-
public static aiPromptOrgsUsersPromptsCategoryCreate(
|
|
1362
|
+
public static aiPromptOrgsUsersPromptsCategoryCreate({
|
|
1363
|
+
org,
|
|
1364
|
+
userId,
|
|
1365
|
+
requestBody,
|
|
1366
|
+
}: {
|
|
1213
1367
|
org: string,
|
|
1214
1368
|
userId: string,
|
|
1215
1369
|
requestBody: PromptCategory,
|
|
1216
|
-
): CancelablePromise<PromptCategory> {
|
|
1370
|
+
}): CancelablePromise<PromptCategory> {
|
|
1217
1371
|
return __request(OpenAPI, {
|
|
1218
1372
|
method: 'POST',
|
|
1219
1373
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
|
|
@@ -1238,15 +1392,16 @@ export class AiPromptService {
|
|
|
1238
1392
|
* - 401: If the user is not a tenant admin.
|
|
1239
1393
|
* - 400: If request data is invalid.
|
|
1240
1394
|
* - 404: If the category does not exist.
|
|
1241
|
-
* @param org
|
|
1242
|
-
* @param userId
|
|
1243
1395
|
* @returns void
|
|
1244
1396
|
* @throws ApiError
|
|
1245
1397
|
*/
|
|
1246
|
-
public static aiPromptOrgsUsersPromptsCategoryDestroy(
|
|
1398
|
+
public static aiPromptOrgsUsersPromptsCategoryDestroy({
|
|
1399
|
+
org,
|
|
1400
|
+
userId,
|
|
1401
|
+
}: {
|
|
1247
1402
|
org: string,
|
|
1248
1403
|
userId: string,
|
|
1249
|
-
): CancelablePromise<void> {
|
|
1404
|
+
}): CancelablePromise<void> {
|
|
1250
1405
|
return __request(OpenAPI, {
|
|
1251
1406
|
method: 'DELETE',
|
|
1252
1407
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
|
|
@@ -1268,27 +1423,46 @@ export class AiPromptService {
|
|
|
1268
1423
|
*
|
|
1269
1424
|
* Permissions:
|
|
1270
1425
|
* - Accessible to anyone
|
|
1271
|
-
* @param org
|
|
1272
|
-
* @param userId
|
|
1273
|
-
* @param category Category of the prompt
|
|
1274
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
1275
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
1276
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
1277
|
-
* @param tag Tag of the prompt
|
|
1278
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
1279
1426
|
* @returns Prompt
|
|
1280
1427
|
* @throws ApiError
|
|
1281
1428
|
*/
|
|
1282
|
-
public static aiPromptOrgsUsersPromptsPublicList(
|
|
1429
|
+
public static aiPromptOrgsUsersPromptsPublicList({
|
|
1430
|
+
org,
|
|
1431
|
+
userId,
|
|
1432
|
+
category,
|
|
1433
|
+
createdBy,
|
|
1434
|
+
filterBy,
|
|
1435
|
+
mentorUniqueId,
|
|
1436
|
+
tag,
|
|
1437
|
+
visibility,
|
|
1438
|
+
}: {
|
|
1283
1439
|
org: string,
|
|
1284
1440
|
userId: string,
|
|
1441
|
+
/**
|
|
1442
|
+
* Category of the prompt
|
|
1443
|
+
*/
|
|
1285
1444
|
category?: number,
|
|
1445
|
+
/**
|
|
1446
|
+
* Option to filter by username of the prompt creators.
|
|
1447
|
+
*/
|
|
1286
1448
|
createdBy?: string,
|
|
1449
|
+
/**
|
|
1450
|
+
* Filter options include, date, prompt, default is date
|
|
1451
|
+
*/
|
|
1287
1452
|
filterBy?: string,
|
|
1453
|
+
/**
|
|
1454
|
+
* Mentor unique id of the prompt
|
|
1455
|
+
*/
|
|
1288
1456
|
mentorUniqueId?: string,
|
|
1457
|
+
/**
|
|
1458
|
+
* Tag of the prompt
|
|
1459
|
+
*/
|
|
1289
1460
|
tag?: number,
|
|
1461
|
+
/**
|
|
1462
|
+
* Visibility trype the mentor of the prompt
|
|
1463
|
+
*/
|
|
1290
1464
|
visibility?: string,
|
|
1291
|
-
): CancelablePromise<Array<Prompt>> {
|
|
1465
|
+
}): CancelablePromise<Array<Prompt>> {
|
|
1292
1466
|
return __request(OpenAPI, {
|
|
1293
1467
|
method: 'GET',
|
|
1294
1468
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/public/',
|
|
@@ -1314,29 +1488,51 @@ export class AiPromptService {
|
|
|
1314
1488
|
*
|
|
1315
1489
|
* Permissions:
|
|
1316
1490
|
* - Accessible to anyone
|
|
1317
|
-
* @param id A unique integer value identifying this prompt.
|
|
1318
|
-
* @param org
|
|
1319
|
-
* @param userId
|
|
1320
|
-
* @param category Category of the prompt
|
|
1321
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
1322
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
1323
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
1324
|
-
* @param tag Tag of the prompt
|
|
1325
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
1326
1491
|
* @returns Prompt
|
|
1327
1492
|
* @throws ApiError
|
|
1328
1493
|
*/
|
|
1329
|
-
public static aiPromptOrgsUsersPromptsPublicRetrieve(
|
|
1494
|
+
public static aiPromptOrgsUsersPromptsPublicRetrieve({
|
|
1495
|
+
id,
|
|
1496
|
+
org,
|
|
1497
|
+
userId,
|
|
1498
|
+
category,
|
|
1499
|
+
createdBy,
|
|
1500
|
+
filterBy,
|
|
1501
|
+
mentorUniqueId,
|
|
1502
|
+
tag,
|
|
1503
|
+
visibility,
|
|
1504
|
+
}: {
|
|
1505
|
+
/**
|
|
1506
|
+
* A unique integer value identifying this prompt.
|
|
1507
|
+
*/
|
|
1330
1508
|
id: number,
|
|
1331
1509
|
org: string,
|
|
1332
1510
|
userId: string,
|
|
1511
|
+
/**
|
|
1512
|
+
* Category of the prompt
|
|
1513
|
+
*/
|
|
1333
1514
|
category?: number,
|
|
1515
|
+
/**
|
|
1516
|
+
* Option to filter by username of the prompt creators.
|
|
1517
|
+
*/
|
|
1334
1518
|
createdBy?: string,
|
|
1519
|
+
/**
|
|
1520
|
+
* Filter options include, date, prompt, default is date
|
|
1521
|
+
*/
|
|
1335
1522
|
filterBy?: string,
|
|
1523
|
+
/**
|
|
1524
|
+
* Mentor unique id of the prompt
|
|
1525
|
+
*/
|
|
1336
1526
|
mentorUniqueId?: string,
|
|
1527
|
+
/**
|
|
1528
|
+
* Tag of the prompt
|
|
1529
|
+
*/
|
|
1337
1530
|
tag?: number,
|
|
1531
|
+
/**
|
|
1532
|
+
* Visibility trype the mentor of the prompt
|
|
1533
|
+
*/
|
|
1338
1534
|
visibility?: string,
|
|
1339
|
-
): CancelablePromise<Prompt> {
|
|
1535
|
+
}): CancelablePromise<Prompt> {
|
|
1340
1536
|
return __request(OpenAPI, {
|
|
1341
1537
|
method: 'GET',
|
|
1342
1538
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/public/{id}/',
|
|
@@ -1358,17 +1554,18 @@ export class AiPromptService {
|
|
|
1358
1554
|
/**
|
|
1359
1555
|
* Retrieve guided prompts for a chat session
|
|
1360
1556
|
* Fetches AI-generated guided prompts for a given session and organization.
|
|
1361
|
-
* @param org
|
|
1362
|
-
* @param sessionId
|
|
1363
|
-
* @param userId
|
|
1364
1557
|
* @returns GuidedPromptsResponse
|
|
1365
1558
|
* @throws ApiError
|
|
1366
1559
|
*/
|
|
1367
|
-
public static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve(
|
|
1560
|
+
public static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve({
|
|
1561
|
+
org,
|
|
1562
|
+
sessionId,
|
|
1563
|
+
userId,
|
|
1564
|
+
}: {
|
|
1368
1565
|
org: string,
|
|
1369
1566
|
sessionId: string,
|
|
1370
1567
|
userId: string,
|
|
1371
|
-
): CancelablePromise<GuidedPromptsResponse> {
|
|
1568
|
+
}): CancelablePromise<GuidedPromptsResponse> {
|
|
1372
1569
|
return __request(OpenAPI, {
|
|
1373
1570
|
method: 'GET',
|
|
1374
1571
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/sessions/{session_id}/guided-prompts/',
|
|
@@ -1387,15 +1584,16 @@ export class AiPromptService {
|
|
|
1387
1584
|
* Returns:
|
|
1388
1585
|
*
|
|
1389
1586
|
* 200: List of styles.
|
|
1390
|
-
* @param org
|
|
1391
|
-
* @param userId
|
|
1392
1587
|
* @returns StylesView
|
|
1393
1588
|
* @throws ApiError
|
|
1394
1589
|
*/
|
|
1395
|
-
public static aiPromptOrgsUsersStylesRetrieve(
|
|
1590
|
+
public static aiPromptOrgsUsersStylesRetrieve({
|
|
1591
|
+
org,
|
|
1592
|
+
userId,
|
|
1593
|
+
}: {
|
|
1396
1594
|
org: string,
|
|
1397
1595
|
userId: string,
|
|
1398
|
-
): CancelablePromise<StylesView> {
|
|
1596
|
+
}): CancelablePromise<StylesView> {
|
|
1399
1597
|
return __request(OpenAPI, {
|
|
1400
1598
|
method: 'GET',
|
|
1401
1599
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/',
|
|
@@ -1415,17 +1613,18 @@ export class AiPromptService {
|
|
|
1415
1613
|
* 201: style Object.
|
|
1416
1614
|
*
|
|
1417
1615
|
* 400: When data is not valid.
|
|
1418
|
-
* @param org
|
|
1419
|
-
* @param userId
|
|
1420
|
-
* @param requestBody
|
|
1421
1616
|
* @returns StylesView
|
|
1422
1617
|
* @throws ApiError
|
|
1423
1618
|
*/
|
|
1424
|
-
public static aiPromptOrgsUsersStylesCreate(
|
|
1619
|
+
public static aiPromptOrgsUsersStylesCreate({
|
|
1620
|
+
org,
|
|
1621
|
+
userId,
|
|
1622
|
+
requestBody,
|
|
1623
|
+
}: {
|
|
1425
1624
|
org: string,
|
|
1426
1625
|
userId: string,
|
|
1427
1626
|
requestBody: StylesView,
|
|
1428
|
-
): CancelablePromise<StylesView> {
|
|
1627
|
+
}): CancelablePromise<StylesView> {
|
|
1429
1628
|
return __request(OpenAPI, {
|
|
1430
1629
|
method: 'POST',
|
|
1431
1630
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/',
|
|
@@ -1447,19 +1646,20 @@ export class AiPromptService {
|
|
|
1447
1646
|
* 200: style Object.
|
|
1448
1647
|
*
|
|
1449
1648
|
* 400: When data is not valid.
|
|
1450
|
-
* @param org
|
|
1451
|
-
* @param styleId
|
|
1452
|
-
* @param userId
|
|
1453
|
-
* @param requestBody
|
|
1454
1649
|
* @returns StylesView
|
|
1455
1650
|
* @throws ApiError
|
|
1456
1651
|
*/
|
|
1457
|
-
public static aiPromptOrgsUsersStylesUpdate(
|
|
1652
|
+
public static aiPromptOrgsUsersStylesUpdate({
|
|
1653
|
+
org,
|
|
1654
|
+
styleId,
|
|
1655
|
+
userId,
|
|
1656
|
+
requestBody,
|
|
1657
|
+
}: {
|
|
1458
1658
|
org: string,
|
|
1459
1659
|
styleId: number,
|
|
1460
1660
|
userId: string,
|
|
1461
1661
|
requestBody: StylesView,
|
|
1462
|
-
): CancelablePromise<StylesView> {
|
|
1662
|
+
}): CancelablePromise<StylesView> {
|
|
1463
1663
|
return __request(OpenAPI, {
|
|
1464
1664
|
method: 'PUT',
|
|
1465
1665
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/{style_id}/',
|
|
@@ -1482,17 +1682,18 @@ export class AiPromptService {
|
|
|
1482
1682
|
* 204: No response data.
|
|
1483
1683
|
*
|
|
1484
1684
|
* 400: When data is not valid.
|
|
1485
|
-
* @param org
|
|
1486
|
-
* @param styleId
|
|
1487
|
-
* @param userId
|
|
1488
1685
|
* @returns void
|
|
1489
1686
|
* @throws ApiError
|
|
1490
1687
|
*/
|
|
1491
|
-
public static aiPromptOrgsUsersStylesDestroy(
|
|
1688
|
+
public static aiPromptOrgsUsersStylesDestroy({
|
|
1689
|
+
org,
|
|
1690
|
+
styleId,
|
|
1691
|
+
userId,
|
|
1692
|
+
}: {
|
|
1492
1693
|
org: string,
|
|
1493
1694
|
styleId: number,
|
|
1494
1695
|
userId: string,
|
|
1495
|
-
): CancelablePromise<void> {
|
|
1696
|
+
}): CancelablePromise<void> {
|
|
1496
1697
|
return __request(OpenAPI, {
|
|
1497
1698
|
method: 'DELETE',
|
|
1498
1699
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/{style_id}/',
|
|
@@ -1511,15 +1712,16 @@ export class AiPromptService {
|
|
|
1511
1712
|
* Returns:
|
|
1512
1713
|
*
|
|
1513
1714
|
* 200: List of tags.
|
|
1514
|
-
* @param org
|
|
1515
|
-
* @param userId
|
|
1516
1715
|
* @returns TagsView
|
|
1517
1716
|
* @throws ApiError
|
|
1518
1717
|
*/
|
|
1519
|
-
public static aiPromptOrgsUsersTagsRetrieve(
|
|
1718
|
+
public static aiPromptOrgsUsersTagsRetrieve({
|
|
1719
|
+
org,
|
|
1720
|
+
userId,
|
|
1721
|
+
}: {
|
|
1520
1722
|
org: string,
|
|
1521
1723
|
userId: string,
|
|
1522
|
-
): CancelablePromise<TagsView> {
|
|
1724
|
+
}): CancelablePromise<TagsView> {
|
|
1523
1725
|
return __request(OpenAPI, {
|
|
1524
1726
|
method: 'GET',
|
|
1525
1727
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/',
|
|
@@ -1556,17 +1758,18 @@ export class AiPromptService {
|
|
|
1556
1758
|
* "name": "Programming",
|
|
1557
1759
|
* "description": "tags for programing prompts"
|
|
1558
1760
|
* }
|
|
1559
|
-
* @param org
|
|
1560
|
-
* @param userId
|
|
1561
|
-
* @param requestBody
|
|
1562
1761
|
* @returns TagsView
|
|
1563
1762
|
* @throws ApiError
|
|
1564
1763
|
*/
|
|
1565
|
-
public static aiPromptOrgsUsersTagsCreate(
|
|
1764
|
+
public static aiPromptOrgsUsersTagsCreate({
|
|
1765
|
+
org,
|
|
1766
|
+
userId,
|
|
1767
|
+
requestBody,
|
|
1768
|
+
}: {
|
|
1566
1769
|
org: string,
|
|
1567
1770
|
userId: string,
|
|
1568
1771
|
requestBody: TagsView,
|
|
1569
|
-
): CancelablePromise<TagsView> {
|
|
1772
|
+
}): CancelablePromise<TagsView> {
|
|
1570
1773
|
return __request(OpenAPI, {
|
|
1571
1774
|
method: 'POST',
|
|
1572
1775
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/',
|
|
@@ -1588,19 +1791,20 @@ export class AiPromptService {
|
|
|
1588
1791
|
* 200: tag Object.
|
|
1589
1792
|
*
|
|
1590
1793
|
* 400: When data is not valid.
|
|
1591
|
-
* @param org
|
|
1592
|
-
* @param tagId
|
|
1593
|
-
* @param userId
|
|
1594
|
-
* @param requestBody
|
|
1595
1794
|
* @returns TagsView
|
|
1596
1795
|
* @throws ApiError
|
|
1597
1796
|
*/
|
|
1598
|
-
public static aiPromptOrgsUsersTagsUpdate(
|
|
1797
|
+
public static aiPromptOrgsUsersTagsUpdate({
|
|
1798
|
+
org,
|
|
1799
|
+
tagId,
|
|
1800
|
+
userId,
|
|
1801
|
+
requestBody,
|
|
1802
|
+
}: {
|
|
1599
1803
|
org: string,
|
|
1600
1804
|
tagId: number,
|
|
1601
1805
|
userId: string,
|
|
1602
1806
|
requestBody: TagsView,
|
|
1603
|
-
): CancelablePromise<TagsView> {
|
|
1807
|
+
}): CancelablePromise<TagsView> {
|
|
1604
1808
|
return __request(OpenAPI, {
|
|
1605
1809
|
method: 'PUT',
|
|
1606
1810
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/{tag_id}/',
|
|
@@ -1623,17 +1827,18 @@ export class AiPromptService {
|
|
|
1623
1827
|
* 204: No response data.
|
|
1624
1828
|
*
|
|
1625
1829
|
* 400: When data is not valid.
|
|
1626
|
-
* @param org
|
|
1627
|
-
* @param tagId
|
|
1628
|
-
* @param userId
|
|
1629
1830
|
* @returns void
|
|
1630
1831
|
* @throws ApiError
|
|
1631
1832
|
*/
|
|
1632
|
-
public static aiPromptOrgsUsersTagsDestroy(
|
|
1833
|
+
public static aiPromptOrgsUsersTagsDestroy({
|
|
1834
|
+
org,
|
|
1835
|
+
tagId,
|
|
1836
|
+
userId,
|
|
1837
|
+
}: {
|
|
1633
1838
|
org: string,
|
|
1634
1839
|
tagId: number,
|
|
1635
1840
|
userId: string,
|
|
1636
|
-
): CancelablePromise<void> {
|
|
1841
|
+
}): CancelablePromise<void> {
|
|
1637
1842
|
return __request(OpenAPI, {
|
|
1638
1843
|
method: 'DELETE',
|
|
1639
1844
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/{tag_id}/',
|
|
@@ -1652,15 +1857,16 @@ export class AiPromptService {
|
|
|
1652
1857
|
* Returns:
|
|
1653
1858
|
*
|
|
1654
1859
|
* 200: List of tones.
|
|
1655
|
-
* @param org
|
|
1656
|
-
* @param userId
|
|
1657
1860
|
* @returns TonesView
|
|
1658
1861
|
* @throws ApiError
|
|
1659
1862
|
*/
|
|
1660
|
-
public static aiPromptOrgsUsersTonesRetrieve(
|
|
1863
|
+
public static aiPromptOrgsUsersTonesRetrieve({
|
|
1864
|
+
org,
|
|
1865
|
+
userId,
|
|
1866
|
+
}: {
|
|
1661
1867
|
org: string,
|
|
1662
1868
|
userId: string,
|
|
1663
|
-
): CancelablePromise<TonesView> {
|
|
1869
|
+
}): CancelablePromise<TonesView> {
|
|
1664
1870
|
return __request(OpenAPI, {
|
|
1665
1871
|
method: 'GET',
|
|
1666
1872
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/',
|
|
@@ -1680,17 +1886,18 @@ export class AiPromptService {
|
|
|
1680
1886
|
* 201: tone Object.
|
|
1681
1887
|
*
|
|
1682
1888
|
* 400: When data is not valid.
|
|
1683
|
-
* @param org
|
|
1684
|
-
* @param userId
|
|
1685
|
-
* @param requestBody
|
|
1686
1889
|
* @returns TonesView
|
|
1687
1890
|
* @throws ApiError
|
|
1688
1891
|
*/
|
|
1689
|
-
public static aiPromptOrgsUsersTonesCreate(
|
|
1892
|
+
public static aiPromptOrgsUsersTonesCreate({
|
|
1893
|
+
org,
|
|
1894
|
+
userId,
|
|
1895
|
+
requestBody,
|
|
1896
|
+
}: {
|
|
1690
1897
|
org: string,
|
|
1691
1898
|
userId: string,
|
|
1692
1899
|
requestBody?: TonesView,
|
|
1693
|
-
): CancelablePromise<TonesView> {
|
|
1900
|
+
}): CancelablePromise<TonesView> {
|
|
1694
1901
|
return __request(OpenAPI, {
|
|
1695
1902
|
method: 'POST',
|
|
1696
1903
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/',
|
|
@@ -1712,19 +1919,20 @@ export class AiPromptService {
|
|
|
1712
1919
|
* 200: tone Object.
|
|
1713
1920
|
*
|
|
1714
1921
|
* 400: When data is not valid.
|
|
1715
|
-
* @param org
|
|
1716
|
-
* @param toneId
|
|
1717
|
-
* @param userId
|
|
1718
|
-
* @param requestBody
|
|
1719
1922
|
* @returns TonesView
|
|
1720
1923
|
* @throws ApiError
|
|
1721
1924
|
*/
|
|
1722
|
-
public static aiPromptOrgsUsersTonesUpdate(
|
|
1925
|
+
public static aiPromptOrgsUsersTonesUpdate({
|
|
1926
|
+
org,
|
|
1927
|
+
toneId,
|
|
1928
|
+
userId,
|
|
1929
|
+
requestBody,
|
|
1930
|
+
}: {
|
|
1723
1931
|
org: string,
|
|
1724
1932
|
toneId: number,
|
|
1725
1933
|
userId: string,
|
|
1726
1934
|
requestBody?: TonesView,
|
|
1727
|
-
): CancelablePromise<TonesView> {
|
|
1935
|
+
}): CancelablePromise<TonesView> {
|
|
1728
1936
|
return __request(OpenAPI, {
|
|
1729
1937
|
method: 'PUT',
|
|
1730
1938
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/{tone_id}/',
|
|
@@ -1747,17 +1955,18 @@ export class AiPromptService {
|
|
|
1747
1955
|
* 204: No response data.
|
|
1748
1956
|
*
|
|
1749
1957
|
* 400: When data is not valid.
|
|
1750
|
-
* @param org
|
|
1751
|
-
* @param toneId
|
|
1752
|
-
* @param userId
|
|
1753
1958
|
* @returns void
|
|
1754
1959
|
* @throws ApiError
|
|
1755
1960
|
*/
|
|
1756
|
-
public static aiPromptOrgsUsersTonesDestroy(
|
|
1961
|
+
public static aiPromptOrgsUsersTonesDestroy({
|
|
1962
|
+
org,
|
|
1963
|
+
toneId,
|
|
1964
|
+
userId,
|
|
1965
|
+
}: {
|
|
1757
1966
|
org: string,
|
|
1758
1967
|
toneId: number,
|
|
1759
1968
|
userId: string,
|
|
1760
|
-
): CancelablePromise<void> {
|
|
1969
|
+
}): CancelablePromise<void> {
|
|
1761
1970
|
return __request(OpenAPI, {
|
|
1762
1971
|
method: 'DELETE',
|
|
1763
1972
|
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/{tone_id}/',
|