@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
|
@@ -30,12 +30,13 @@ export declare class AiPromptService {
|
|
|
30
30
|
*
|
|
31
31
|
* Raises:
|
|
32
32
|
* BadRequest: If the provided data is invalid.
|
|
33
|
-
* @param org
|
|
34
|
-
* @param requestBody
|
|
35
33
|
* @returns Metadata
|
|
36
34
|
* @throws ApiError
|
|
37
35
|
*/
|
|
38
|
-
static aiPromptOrgsMetadataCreate(org
|
|
36
|
+
static aiPromptOrgsMetadataCreate({ org, requestBody, }: {
|
|
37
|
+
org: string;
|
|
38
|
+
requestBody: Metadata;
|
|
39
|
+
}): CancelablePromise<Metadata>;
|
|
39
40
|
/**
|
|
40
41
|
* Retrieve chat memory for a specific user.
|
|
41
42
|
*
|
|
@@ -49,12 +50,12 @@ export declare class AiPromptService {
|
|
|
49
50
|
*
|
|
50
51
|
* Raises:
|
|
51
52
|
* NotFound: If no chat memory exists for the user.
|
|
52
|
-
* @param org
|
|
53
|
-
* @param userId
|
|
54
53
|
* @returns UserAllChatMemoryView
|
|
55
54
|
* @throws ApiError
|
|
56
55
|
*/
|
|
57
|
-
static aiPromptOrgsUsersAllChatsMemoryRetrieve(org
|
|
56
|
+
static aiPromptOrgsUsersAllChatsMemoryRetrieve({ org, userId, }: {
|
|
57
|
+
org: string;
|
|
58
|
+
}): CancelablePromise<UserAllChatMemoryView>;
|
|
58
59
|
/**
|
|
59
60
|
* Create a new chat memory entry for a user.
|
|
60
61
|
*
|
|
@@ -68,13 +69,13 @@ export declare class AiPromptService {
|
|
|
68
69
|
*
|
|
69
70
|
* Raises:
|
|
70
71
|
* BadRequest: If the provided data is invalid.
|
|
71
|
-
* @param org
|
|
72
|
-
* @param userId
|
|
73
|
-
* @param requestBody
|
|
74
72
|
* @returns UserAllChatMemoryView
|
|
75
73
|
* @throws ApiError
|
|
76
74
|
*/
|
|
77
|
-
static aiPromptOrgsUsersAllChatsMemoryCreate(org
|
|
75
|
+
static aiPromptOrgsUsersAllChatsMemoryCreate({ org, userId, requestBody, }: {
|
|
76
|
+
org: string;
|
|
77
|
+
requestBody: UserAllChatMemoryView;
|
|
78
|
+
}): CancelablePromise<UserAllChatMemoryView>;
|
|
78
79
|
/**
|
|
79
80
|
* Update chat memory for a specific user.
|
|
80
81
|
*
|
|
@@ -89,13 +90,13 @@ export declare class AiPromptService {
|
|
|
89
90
|
* Raises:
|
|
90
91
|
* BadRequest: If the provided data is invalid.
|
|
91
92
|
* NotFound: If no chat memory exists for the user.
|
|
92
|
-
* @param org
|
|
93
|
-
* @param userId
|
|
94
|
-
* @param requestBody
|
|
95
93
|
* @returns UserChatMemoryUpdateView
|
|
96
94
|
* @throws ApiError
|
|
97
95
|
*/
|
|
98
|
-
static aiPromptOrgsUsersAllChatsMemoryUpdate(org
|
|
96
|
+
static aiPromptOrgsUsersAllChatsMemoryUpdate({ org, userId, requestBody, }: {
|
|
97
|
+
org: string;
|
|
98
|
+
requestBody: UserAllChatMemoryView;
|
|
99
|
+
}): CancelablePromise<UserChatMemoryUpdateView>;
|
|
99
100
|
/**
|
|
100
101
|
* Delete all chat memory for a specific user.
|
|
101
102
|
*
|
|
@@ -109,12 +110,12 @@ export declare class AiPromptService {
|
|
|
109
110
|
*
|
|
110
111
|
* Raises:
|
|
111
112
|
* NotFound: If no chat memory exists for the user.
|
|
112
|
-
* @param org
|
|
113
|
-
* @param userId
|
|
114
113
|
* @returns void
|
|
115
114
|
* @throws ApiError
|
|
116
115
|
*/
|
|
117
|
-
static aiPromptOrgsUsersAllChatsMemoryDestroy(org
|
|
116
|
+
static aiPromptOrgsUsersAllChatsMemoryDestroy({ org, userId, }: {
|
|
117
|
+
org: string;
|
|
118
|
+
}): CancelablePromise<void>;
|
|
118
119
|
/**
|
|
119
120
|
* Update a specific chat memory entry.
|
|
120
121
|
*
|
|
@@ -130,14 +131,14 @@ export declare class AiPromptService {
|
|
|
130
131
|
* Raises:
|
|
131
132
|
* BadRequest: If the provided data is invalid.
|
|
132
133
|
* NotFound: If the specified memory entry does not exist.
|
|
133
|
-
* @param memoryId
|
|
134
|
-
* @param org
|
|
135
|
-
* @param userId
|
|
136
|
-
* @param requestBody
|
|
137
134
|
* @returns UserAllChatMemoryView
|
|
138
135
|
* @throws ApiError
|
|
139
136
|
*/
|
|
140
|
-
static aiPromptOrgsUsersAllChatsMemoryUpdate2(memoryId
|
|
137
|
+
static aiPromptOrgsUsersAllChatsMemoryUpdate2({ memoryId, org, userId, requestBody, }: {
|
|
138
|
+
memoryId: number;
|
|
139
|
+
org: string;
|
|
140
|
+
requestBody: UserAllChatMemoryView;
|
|
141
|
+
}): CancelablePromise<UserAllChatMemoryView>;
|
|
141
142
|
/**
|
|
142
143
|
* Delete a specific chat memory entry.
|
|
143
144
|
*
|
|
@@ -152,13 +153,13 @@ export declare class AiPromptService {
|
|
|
152
153
|
*
|
|
153
154
|
* Raises:
|
|
154
155
|
* NotFound: If the specified memory entry does not exist.
|
|
155
|
-
* @param memoryId
|
|
156
|
-
* @param org
|
|
157
|
-
* @param userId
|
|
158
156
|
* @returns void
|
|
159
157
|
* @throws ApiError
|
|
160
158
|
*/
|
|
161
|
-
static aiPromptOrgsUsersAllChatsMemoryDestroy2(memoryId
|
|
159
|
+
static aiPromptOrgsUsersAllChatsMemoryDestroy2({ memoryId, org, userId, }: {
|
|
160
|
+
memoryId: number;
|
|
161
|
+
org: string;
|
|
162
|
+
}): CancelablePromise<void>;
|
|
162
163
|
/**
|
|
163
164
|
* Retrieve the chat memory status for a specific user.
|
|
164
165
|
*
|
|
@@ -172,12 +173,12 @@ export declare class AiPromptService {
|
|
|
172
173
|
*
|
|
173
174
|
* Raises:
|
|
174
175
|
* NotFound: If no memory status exists for the user.
|
|
175
|
-
* @param org
|
|
176
|
-
* @param userId
|
|
177
176
|
* @returns UserChatMemoryStatusView
|
|
178
177
|
* @throws ApiError
|
|
179
178
|
*/
|
|
180
|
-
static aiPromptOrgsUsersChatMemoryStatusRetrieve(org
|
|
179
|
+
static aiPromptOrgsUsersChatMemoryStatusRetrieve({ org, userId, }: {
|
|
180
|
+
org: string;
|
|
181
|
+
}): CancelablePromise<UserChatMemoryStatusView>;
|
|
181
182
|
/**
|
|
182
183
|
* Update the chat memory status for a specific user.
|
|
183
184
|
*
|
|
@@ -191,13 +192,13 @@ export declare class AiPromptService {
|
|
|
191
192
|
*
|
|
192
193
|
* Raises:
|
|
193
194
|
* BadRequest: If the provided data is invalid.
|
|
194
|
-
* @param org
|
|
195
|
-
* @param userId
|
|
196
|
-
* @param requestBody
|
|
197
195
|
* @returns UserChatMemoryStatusView
|
|
198
196
|
* @throws ApiError
|
|
199
197
|
*/
|
|
200
|
-
static aiPromptOrgsUsersChatMemoryStatusUpdate(org
|
|
198
|
+
static aiPromptOrgsUsersChatMemoryStatusUpdate({ org, userId, requestBody, }: {
|
|
199
|
+
org: string;
|
|
200
|
+
requestBody: UserChatMemoryStatusRequestView;
|
|
201
|
+
}): CancelablePromise<UserChatMemoryStatusView>;
|
|
201
202
|
/**
|
|
202
203
|
* Retrieve all available prompt languages.
|
|
203
204
|
*
|
|
@@ -208,12 +209,12 @@ export declare class AiPromptService {
|
|
|
208
209
|
*
|
|
209
210
|
* Returns:
|
|
210
211
|
* Response: A list of available prompt languages.
|
|
211
|
-
* @param org
|
|
212
|
-
* @param userId
|
|
213
212
|
* @returns LanguagesView
|
|
214
213
|
* @throws ApiError
|
|
215
214
|
*/
|
|
216
|
-
static aiPromptOrgsUsersLanguagesRetrieve(org
|
|
215
|
+
static aiPromptOrgsUsersLanguagesRetrieve({ org, userId, }: {
|
|
216
|
+
org: string;
|
|
217
|
+
}): CancelablePromise<LanguagesView>;
|
|
217
218
|
/**
|
|
218
219
|
* Create a new prompt language.
|
|
219
220
|
*
|
|
@@ -227,13 +228,13 @@ export declare class AiPromptService {
|
|
|
227
228
|
*
|
|
228
229
|
* Raises:
|
|
229
230
|
* BadRequest: If the provided data is invalid.
|
|
230
|
-
* @param org
|
|
231
|
-
* @param userId
|
|
232
|
-
* @param requestBody
|
|
233
231
|
* @returns LanguagesView
|
|
234
232
|
* @throws ApiError
|
|
235
233
|
*/
|
|
236
|
-
static aiPromptOrgsUsersLanguagesCreate(org
|
|
234
|
+
static aiPromptOrgsUsersLanguagesCreate({ org, userId, requestBody, }: {
|
|
235
|
+
org: string;
|
|
236
|
+
requestBody: LanguagesView;
|
|
237
|
+
}): CancelablePromise<LanguagesView>;
|
|
237
238
|
/**
|
|
238
239
|
* Update a specific prompt language.
|
|
239
240
|
*
|
|
@@ -249,14 +250,14 @@ export declare class AiPromptService {
|
|
|
249
250
|
* Raises:
|
|
250
251
|
* BadRequest: If the provided data is invalid.
|
|
251
252
|
* NotFound: If the specified language does not exist.
|
|
252
|
-
* @param languageId
|
|
253
|
-
* @param org
|
|
254
|
-
* @param userId
|
|
255
|
-
* @param requestBody
|
|
256
253
|
* @returns LanguagesView
|
|
257
254
|
* @throws ApiError
|
|
258
255
|
*/
|
|
259
|
-
static aiPromptOrgsUsersLanguagesUpdate(languageId
|
|
256
|
+
static aiPromptOrgsUsersLanguagesUpdate({ languageId, org, userId, requestBody, }: {
|
|
257
|
+
languageId: number;
|
|
258
|
+
org: string;
|
|
259
|
+
requestBody: LanguagesView;
|
|
260
|
+
}): CancelablePromise<LanguagesView>;
|
|
260
261
|
/**
|
|
261
262
|
* Delete a specific prompt language.
|
|
262
263
|
*
|
|
@@ -271,13 +272,13 @@ export declare class AiPromptService {
|
|
|
271
272
|
*
|
|
272
273
|
* Raises:
|
|
273
274
|
* NotFound: If the specified language does not exist.
|
|
274
|
-
* @param languageId
|
|
275
|
-
* @param org
|
|
276
|
-
* @param userId
|
|
277
275
|
* @returns void
|
|
278
276
|
* @throws ApiError
|
|
279
277
|
*/
|
|
280
|
-
static aiPromptOrgsUsersLanguagesDestroy(languageId
|
|
278
|
+
static aiPromptOrgsUsersLanguagesDestroy({ languageId, org, userId, }: {
|
|
279
|
+
languageId: number;
|
|
280
|
+
org: string;
|
|
281
|
+
}): CancelablePromise<void>;
|
|
281
282
|
/**
|
|
282
283
|
* Retrieve catalog item memory for a specific user.
|
|
283
284
|
*
|
|
@@ -291,12 +292,12 @@ export declare class AiPromptService {
|
|
|
291
292
|
*
|
|
292
293
|
* Raises:
|
|
293
294
|
* NotFound: If no catalog item memory exists for the user.
|
|
294
|
-
* @param org
|
|
295
|
-
* @param userId
|
|
296
295
|
* @returns UserCatalogItemMemoryView
|
|
297
296
|
* @throws ApiError
|
|
298
297
|
*/
|
|
299
|
-
static aiPromptOrgsUsersMemoryRetrieve(org
|
|
298
|
+
static aiPromptOrgsUsersMemoryRetrieve({ org, userId, }: {
|
|
299
|
+
org: string;
|
|
300
|
+
}): CancelablePromise<UserCatalogItemMemoryView>;
|
|
300
301
|
/**
|
|
301
302
|
* Create a new catalog item memory entry for a user.
|
|
302
303
|
*
|
|
@@ -310,13 +311,13 @@ export declare class AiPromptService {
|
|
|
310
311
|
*
|
|
311
312
|
* Raises:
|
|
312
313
|
* BadRequest: If the provided data is invalid.
|
|
313
|
-
* @param org
|
|
314
|
-
* @param userId
|
|
315
|
-
* @param requestBody
|
|
316
314
|
* @returns UserCatalogItemMemoryView
|
|
317
315
|
* @throws ApiError
|
|
318
316
|
*/
|
|
319
|
-
static aiPromptOrgsUsersMemoryCreate(org
|
|
317
|
+
static aiPromptOrgsUsersMemoryCreate({ org, userId, requestBody, }: {
|
|
318
|
+
org: string;
|
|
319
|
+
requestBody: UserCatalogItemMemoryView;
|
|
320
|
+
}): CancelablePromise<UserCatalogItemMemoryView>;
|
|
320
321
|
/**
|
|
321
322
|
* Delete all catalog item memory for a specific user.
|
|
322
323
|
*
|
|
@@ -330,33 +331,33 @@ export declare class AiPromptService {
|
|
|
330
331
|
*
|
|
331
332
|
* Raises:
|
|
332
333
|
* NotFound: If no catalog item memory exists for the user.
|
|
333
|
-
* @param org
|
|
334
|
-
* @param userId
|
|
335
334
|
* @returns void
|
|
336
335
|
* @throws ApiError
|
|
337
336
|
*/
|
|
338
|
-
static aiPromptOrgsUsersMemoryDestroy(org
|
|
337
|
+
static aiPromptOrgsUsersMemoryDestroy({ org, userId, }: {
|
|
338
|
+
org: string;
|
|
339
|
+
}): CancelablePromise<void>;
|
|
339
340
|
/**
|
|
340
341
|
* Retrieve a user's memory context settings.
|
|
341
|
-
* @param org
|
|
342
|
-
* @param userId
|
|
343
342
|
* @returns UserMemoryContextResponse
|
|
344
343
|
* @throws ApiError
|
|
345
344
|
*/
|
|
346
|
-
static aiPromptOrgsUsersMemoryContextRetrieve(org
|
|
345
|
+
static aiPromptOrgsUsersMemoryContextRetrieve({ org, userId, }: {
|
|
346
|
+
org: string;
|
|
347
|
+
}): CancelablePromise<UserMemoryContextResponse>;
|
|
347
348
|
/**
|
|
348
349
|
* Updates the user's memory context settings.
|
|
349
350
|
*
|
|
350
351
|
* Returns:
|
|
351
352
|
*
|
|
352
353
|
* 200: list of user memory context data.
|
|
353
|
-
* @param org
|
|
354
|
-
* @param userId
|
|
355
|
-
* @param requestBody
|
|
356
354
|
* @returns UserMemoryContextResponse
|
|
357
355
|
* @throws ApiError
|
|
358
356
|
*/
|
|
359
|
-
static aiPromptOrgsUsersMemoryContextUpdate(org
|
|
357
|
+
static aiPromptOrgsUsersMemoryContextUpdate({ org, userId, requestBody, }: {
|
|
358
|
+
org: string;
|
|
359
|
+
requestBody?: UserMemoryContextRequest;
|
|
360
|
+
}): CancelablePromise<UserMemoryContextResponse>;
|
|
360
361
|
/**
|
|
361
362
|
* Retrieve the memory status for a specific user.
|
|
362
363
|
*
|
|
@@ -370,12 +371,12 @@ export declare class AiPromptService {
|
|
|
370
371
|
*
|
|
371
372
|
* Raises:
|
|
372
373
|
* NotFound: If no memory status exists for the user.
|
|
373
|
-
* @param org
|
|
374
|
-
* @param userId
|
|
375
374
|
* @returns MemoryStatusView
|
|
376
375
|
* @throws ApiError
|
|
377
376
|
*/
|
|
378
|
-
static aiPromptOrgsUsersMemoryStatusRetrieve(org
|
|
377
|
+
static aiPromptOrgsUsersMemoryStatusRetrieve({ org, userId, }: {
|
|
378
|
+
org: string;
|
|
379
|
+
}): CancelablePromise<MemoryStatusView>;
|
|
379
380
|
/**
|
|
380
381
|
* Update the memory status for a specific user.
|
|
381
382
|
*
|
|
@@ -389,13 +390,13 @@ export declare class AiPromptService {
|
|
|
389
390
|
*
|
|
390
391
|
* Raises:
|
|
391
392
|
* BadRequest: If the provided data is invalid.
|
|
392
|
-
* @param org
|
|
393
|
-
* @param userId
|
|
394
|
-
* @param requestBody
|
|
395
393
|
* @returns MemoryStatusView
|
|
396
394
|
* @throws ApiError
|
|
397
395
|
*/
|
|
398
|
-
static aiPromptOrgsUsersMemoryStatusUpdate(org
|
|
396
|
+
static aiPromptOrgsUsersMemoryStatusUpdate({ org, userId, requestBody, }: {
|
|
397
|
+
org: string;
|
|
398
|
+
requestBody: MemoryStatusRequestView;
|
|
399
|
+
}): CancelablePromise<MemoryStatusView>;
|
|
399
400
|
/**
|
|
400
401
|
* Update a specific catalog item memory entry.
|
|
401
402
|
*
|
|
@@ -411,14 +412,14 @@ export declare class AiPromptService {
|
|
|
411
412
|
* Raises:
|
|
412
413
|
* BadRequest: If the provided data is invalid.
|
|
413
414
|
* NotFound: If the specified memory entry does not exist.
|
|
414
|
-
* @param memoryId
|
|
415
|
-
* @param org
|
|
416
|
-
* @param userId
|
|
417
|
-
* @param requestBody
|
|
418
415
|
* @returns UserCatalogItemMemoryView
|
|
419
416
|
* @throws ApiError
|
|
420
417
|
*/
|
|
421
|
-
static aiPromptOrgsUsersMemoryUpdate(memoryId
|
|
418
|
+
static aiPromptOrgsUsersMemoryUpdate({ memoryId, org, userId, requestBody, }: {
|
|
419
|
+
memoryId: number;
|
|
420
|
+
org: string;
|
|
421
|
+
requestBody: UserCatalogItemMemoryView;
|
|
422
|
+
}): CancelablePromise<UserCatalogItemMemoryView>;
|
|
422
423
|
/**
|
|
423
424
|
* Delete a specific catalog item memory entry.
|
|
424
425
|
*
|
|
@@ -433,13 +434,13 @@ export declare class AiPromptService {
|
|
|
433
434
|
*
|
|
434
435
|
* Raises:
|
|
435
436
|
* NotFound: If the specified memory entry does not exist.
|
|
436
|
-
* @param memoryId
|
|
437
|
-
* @param org
|
|
438
|
-
* @param userId
|
|
439
437
|
* @returns void
|
|
440
438
|
* @throws ApiError
|
|
441
439
|
*/
|
|
442
|
-
static aiPromptOrgsUsersMemoryDestroy2(memoryId
|
|
440
|
+
static aiPromptOrgsUsersMemoryDestroy2({ memoryId, org, userId, }: {
|
|
441
|
+
memoryId: number;
|
|
442
|
+
org: string;
|
|
443
|
+
}): CancelablePromise<void>;
|
|
443
444
|
/**
|
|
444
445
|
* Retrieve metadata for a prompt.
|
|
445
446
|
*
|
|
@@ -453,12 +454,12 @@ export declare class AiPromptService {
|
|
|
453
454
|
*
|
|
454
455
|
* Raises:
|
|
455
456
|
* NotFound: If no metadata exists for the specific prompt
|
|
456
|
-
* @param org
|
|
457
|
-
* @param userId
|
|
458
457
|
* @returns Metadata
|
|
459
458
|
* @throws ApiError
|
|
460
459
|
*/
|
|
461
|
-
static aiPromptOrgsUsersMetadataRetrieve(org
|
|
460
|
+
static aiPromptOrgsUsersMetadataRetrieve({ org, userId, }: {
|
|
461
|
+
org: string;
|
|
462
|
+
}): CancelablePromise<Metadata>;
|
|
462
463
|
/**
|
|
463
464
|
* API viewset for managing prompts.
|
|
464
465
|
*
|
|
@@ -467,18 +468,30 @@ export declare class AiPromptService {
|
|
|
467
468
|
*
|
|
468
469
|
* Permissions:
|
|
469
470
|
* - Accessible to both tenant administrators and students
|
|
470
|
-
* @param org
|
|
471
|
-
* @param userId
|
|
472
|
-
* @param category Category of the prompt
|
|
473
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
474
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
475
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
476
|
-
* @param tag Tag of the prompt
|
|
477
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
478
471
|
* @returns Prompt
|
|
479
472
|
* @throws ApiError
|
|
480
473
|
*/
|
|
481
|
-
static aiPromptOrgsUsersPromptList(org
|
|
474
|
+
static aiPromptOrgsUsersPromptList({ org, userId, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
475
|
+
org: string; /**
|
|
476
|
+
* Category of the prompt
|
|
477
|
+
*/
|
|
478
|
+
category?: number; /**
|
|
479
|
+
* Option to filter by username of the prompt creators.
|
|
480
|
+
*/
|
|
481
|
+
createdBy?: string; /**
|
|
482
|
+
* Filter options include, date, prompt, default is date
|
|
483
|
+
*/
|
|
484
|
+
filterBy?: string; /**
|
|
485
|
+
* Mentor unique id of the prompt
|
|
486
|
+
*/
|
|
487
|
+
mentorUniqueId?: string; /**
|
|
488
|
+
* Tag of the prompt
|
|
489
|
+
*/
|
|
490
|
+
tag?: number; /**
|
|
491
|
+
* Visibility trype the mentor of the prompt
|
|
492
|
+
*/
|
|
493
|
+
visibility?: string;
|
|
494
|
+
}): CancelablePromise<Array<Prompt>>;
|
|
482
495
|
/**
|
|
483
496
|
* Create a new prompt.
|
|
484
497
|
*
|
|
@@ -490,19 +503,31 @@ export declare class AiPromptService {
|
|
|
490
503
|
*
|
|
491
504
|
* Raises:
|
|
492
505
|
* ValidationError: If the input data is invalid.
|
|
493
|
-
* @param org
|
|
494
|
-
* @param userId
|
|
495
|
-
* @param requestBody
|
|
496
|
-
* @param category Category of the prompt
|
|
497
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
498
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
499
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
500
|
-
* @param tag Tag of the prompt
|
|
501
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
502
506
|
* @returns Prompt
|
|
503
507
|
* @throws ApiError
|
|
504
508
|
*/
|
|
505
|
-
static aiPromptOrgsUsersPromptCreate(org
|
|
509
|
+
static aiPromptOrgsUsersPromptCreate({ org, userId, requestBody, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
510
|
+
org: string;
|
|
511
|
+
requestBody: Prompt; /**
|
|
512
|
+
* Category of the prompt
|
|
513
|
+
*/
|
|
514
|
+
category?: number; /**
|
|
515
|
+
* Option to filter by username of the prompt creators.
|
|
516
|
+
*/
|
|
517
|
+
createdBy?: string; /**
|
|
518
|
+
* Filter options include, date, prompt, default is date
|
|
519
|
+
*/
|
|
520
|
+
filterBy?: string; /**
|
|
521
|
+
* Mentor unique id of the prompt
|
|
522
|
+
*/
|
|
523
|
+
mentorUniqueId?: string; /**
|
|
524
|
+
* Tag of the prompt
|
|
525
|
+
*/
|
|
526
|
+
tag?: number; /**
|
|
527
|
+
* Visibility trype the mentor of the prompt
|
|
528
|
+
*/
|
|
529
|
+
visibility?: string;
|
|
530
|
+
}): CancelablePromise<Prompt>;
|
|
506
531
|
/**
|
|
507
532
|
* API viewset for managing prompts.
|
|
508
533
|
*
|
|
@@ -511,19 +536,34 @@ export declare class AiPromptService {
|
|
|
511
536
|
*
|
|
512
537
|
* Permissions:
|
|
513
538
|
* - Accessible to both tenant administrators and students
|
|
514
|
-
* @param id A unique integer value identifying this prompt.
|
|
515
|
-
* @param org
|
|
516
|
-
* @param userId
|
|
517
|
-
* @param category Category of the prompt
|
|
518
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
519
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
520
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
521
|
-
* @param tag Tag of the prompt
|
|
522
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
523
539
|
* @returns Prompt
|
|
524
540
|
* @throws ApiError
|
|
525
541
|
*/
|
|
526
|
-
static aiPromptOrgsUsersPromptRetrieve(id
|
|
542
|
+
static aiPromptOrgsUsersPromptRetrieve({ id, org, userId, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
543
|
+
/**
|
|
544
|
+
* A unique integer value identifying this prompt.
|
|
545
|
+
*/
|
|
546
|
+
id: number;
|
|
547
|
+
org: string; /**
|
|
548
|
+
* Category of the prompt
|
|
549
|
+
*/
|
|
550
|
+
category?: number; /**
|
|
551
|
+
* Option to filter by username of the prompt creators.
|
|
552
|
+
*/
|
|
553
|
+
createdBy?: string; /**
|
|
554
|
+
* Filter options include, date, prompt, default is date
|
|
555
|
+
*/
|
|
556
|
+
filterBy?: string; /**
|
|
557
|
+
* Mentor unique id of the prompt
|
|
558
|
+
*/
|
|
559
|
+
mentorUniqueId?: string; /**
|
|
560
|
+
* Tag of the prompt
|
|
561
|
+
*/
|
|
562
|
+
tag?: number; /**
|
|
563
|
+
* Visibility trype the mentor of the prompt
|
|
564
|
+
*/
|
|
565
|
+
visibility?: string;
|
|
566
|
+
}): CancelablePromise<Prompt>;
|
|
527
567
|
/**
|
|
528
568
|
* Update an existing prompt.
|
|
529
569
|
*
|
|
@@ -536,20 +576,35 @@ export declare class AiPromptService {
|
|
|
536
576
|
* Raises:
|
|
537
577
|
* ValidationError: If the input data is invalid.
|
|
538
578
|
* PermissionDenied: If the prompt is system-generated and cannot be edited.
|
|
539
|
-
* @param id A unique integer value identifying this prompt.
|
|
540
|
-
* @param org
|
|
541
|
-
* @param userId
|
|
542
|
-
* @param requestBody
|
|
543
|
-
* @param category Category of the prompt
|
|
544
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
545
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
546
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
547
|
-
* @param tag Tag of the prompt
|
|
548
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
549
579
|
* @returns Prompt
|
|
550
580
|
* @throws ApiError
|
|
551
581
|
*/
|
|
552
|
-
static aiPromptOrgsUsersPromptUpdate(id
|
|
582
|
+
static aiPromptOrgsUsersPromptUpdate({ id, org, userId, requestBody, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
583
|
+
/**
|
|
584
|
+
* A unique integer value identifying this prompt.
|
|
585
|
+
*/
|
|
586
|
+
id: number;
|
|
587
|
+
org: string;
|
|
588
|
+
requestBody: Prompt; /**
|
|
589
|
+
* Category of the prompt
|
|
590
|
+
*/
|
|
591
|
+
category?: number; /**
|
|
592
|
+
* Option to filter by username of the prompt creators.
|
|
593
|
+
*/
|
|
594
|
+
createdBy?: string; /**
|
|
595
|
+
* Filter options include, date, prompt, default is date
|
|
596
|
+
*/
|
|
597
|
+
filterBy?: string; /**
|
|
598
|
+
* Mentor unique id of the prompt
|
|
599
|
+
*/
|
|
600
|
+
mentorUniqueId?: string; /**
|
|
601
|
+
* Tag of the prompt
|
|
602
|
+
*/
|
|
603
|
+
tag?: number; /**
|
|
604
|
+
* Visibility trype the mentor of the prompt
|
|
605
|
+
*/
|
|
606
|
+
visibility?: string;
|
|
607
|
+
}): CancelablePromise<Prompt>;
|
|
553
608
|
/**
|
|
554
609
|
* API viewset for managing prompts.
|
|
555
610
|
*
|
|
@@ -558,20 +613,35 @@ export declare class AiPromptService {
|
|
|
558
613
|
*
|
|
559
614
|
* Permissions:
|
|
560
615
|
* - Accessible to both tenant administrators and students
|
|
561
|
-
* @param id A unique integer value identifying this prompt.
|
|
562
|
-
* @param org
|
|
563
|
-
* @param userId
|
|
564
|
-
* @param category Category of the prompt
|
|
565
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
566
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
567
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
568
|
-
* @param tag Tag of the prompt
|
|
569
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
570
|
-
* @param requestBody
|
|
571
616
|
* @returns Prompt
|
|
572
617
|
* @throws ApiError
|
|
573
618
|
*/
|
|
574
|
-
static aiPromptOrgsUsersPromptPartialUpdate(id
|
|
619
|
+
static aiPromptOrgsUsersPromptPartialUpdate({ id, org, userId, category, createdBy, filterBy, mentorUniqueId, tag, visibility, requestBody, }: {
|
|
620
|
+
/**
|
|
621
|
+
* A unique integer value identifying this prompt.
|
|
622
|
+
*/
|
|
623
|
+
id: number;
|
|
624
|
+
org: string; /**
|
|
625
|
+
* Category of the prompt
|
|
626
|
+
*/
|
|
627
|
+
category?: number; /**
|
|
628
|
+
* Option to filter by username of the prompt creators.
|
|
629
|
+
*/
|
|
630
|
+
createdBy?: string; /**
|
|
631
|
+
* Filter options include, date, prompt, default is date
|
|
632
|
+
*/
|
|
633
|
+
filterBy?: string; /**
|
|
634
|
+
* Mentor unique id of the prompt
|
|
635
|
+
*/
|
|
636
|
+
mentorUniqueId?: string; /**
|
|
637
|
+
* Tag of the prompt
|
|
638
|
+
*/
|
|
639
|
+
tag?: number; /**
|
|
640
|
+
* Visibility trype the mentor of the prompt
|
|
641
|
+
*/
|
|
642
|
+
visibility?: string;
|
|
643
|
+
requestBody?: PatchedPrompt;
|
|
644
|
+
}): CancelablePromise<Prompt>;
|
|
575
645
|
/**
|
|
576
646
|
* API viewset for managing prompts.
|
|
577
647
|
*
|
|
@@ -580,19 +650,34 @@ export declare class AiPromptService {
|
|
|
580
650
|
*
|
|
581
651
|
* Permissions:
|
|
582
652
|
* - Accessible to both tenant administrators and students
|
|
583
|
-
* @param id A unique integer value identifying this prompt.
|
|
584
|
-
* @param org
|
|
585
|
-
* @param userId
|
|
586
|
-
* @param category Category of the prompt
|
|
587
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
588
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
589
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
590
|
-
* @param tag Tag of the prompt
|
|
591
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
592
653
|
* @returns void
|
|
593
654
|
* @throws ApiError
|
|
594
655
|
*/
|
|
595
|
-
static aiPromptOrgsUsersPromptDestroy(id
|
|
656
|
+
static aiPromptOrgsUsersPromptDestroy({ id, org, userId, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
657
|
+
/**
|
|
658
|
+
* A unique integer value identifying this prompt.
|
|
659
|
+
*/
|
|
660
|
+
id: number;
|
|
661
|
+
org: string; /**
|
|
662
|
+
* Category of the prompt
|
|
663
|
+
*/
|
|
664
|
+
category?: number; /**
|
|
665
|
+
* Option to filter by username of the prompt creators.
|
|
666
|
+
*/
|
|
667
|
+
createdBy?: string; /**
|
|
668
|
+
* Filter options include, date, prompt, default is date
|
|
669
|
+
*/
|
|
670
|
+
filterBy?: string; /**
|
|
671
|
+
* Mentor unique id of the prompt
|
|
672
|
+
*/
|
|
673
|
+
mentorUniqueId?: string; /**
|
|
674
|
+
* Tag of the prompt
|
|
675
|
+
*/
|
|
676
|
+
tag?: number; /**
|
|
677
|
+
* Visibility trype the mentor of the prompt
|
|
678
|
+
*/
|
|
679
|
+
visibility?: string;
|
|
680
|
+
}): CancelablePromise<void>;
|
|
596
681
|
/**
|
|
597
682
|
* Retrieve a list of prompt categories.
|
|
598
683
|
*
|
|
@@ -606,13 +691,15 @@ export declare class AiPromptService {
|
|
|
606
691
|
* Returns:
|
|
607
692
|
* - 200: List of prompt categories.
|
|
608
693
|
* - 400: If query parameters are invalid.
|
|
609
|
-
* @param org
|
|
610
|
-
* @param userId
|
|
611
|
-
* @param filterBy Filter options include, date, name, default is date
|
|
612
694
|
* @returns PromptCategory
|
|
613
695
|
* @throws ApiError
|
|
614
696
|
*/
|
|
615
|
-
static aiPromptOrgsUsersPromptsCategoryRetrieve(org
|
|
697
|
+
static aiPromptOrgsUsersPromptsCategoryRetrieve({ org, userId, filterBy, }: {
|
|
698
|
+
org: string; /**
|
|
699
|
+
* Filter options include, date, name, default is date
|
|
700
|
+
*/
|
|
701
|
+
filterBy?: string;
|
|
702
|
+
}): CancelablePromise<PromptCategory>;
|
|
616
703
|
/**
|
|
617
704
|
* Create a new prompt category.
|
|
618
705
|
*
|
|
@@ -625,13 +712,13 @@ export declare class AiPromptService {
|
|
|
625
712
|
* - 201: Created prompt category.
|
|
626
713
|
* - 401: If the user is not a tenant admin.
|
|
627
714
|
* - 400: If request data is invalid.
|
|
628
|
-
* @param org
|
|
629
|
-
* @param userId
|
|
630
|
-
* @param requestBody
|
|
631
715
|
* @returns PromptCategory Created prompt category
|
|
632
716
|
* @throws ApiError
|
|
633
717
|
*/
|
|
634
|
-
static aiPromptOrgsUsersPromptsCategoryCreate(org
|
|
718
|
+
static aiPromptOrgsUsersPromptsCategoryCreate({ org, userId, requestBody, }: {
|
|
719
|
+
org: string;
|
|
720
|
+
requestBody: PromptCategory;
|
|
721
|
+
}): CancelablePromise<PromptCategory>;
|
|
635
722
|
/**
|
|
636
723
|
* Delete a prompt category.
|
|
637
724
|
*
|
|
@@ -645,12 +732,12 @@ export declare class AiPromptService {
|
|
|
645
732
|
* - 401: If the user is not a tenant admin.
|
|
646
733
|
* - 400: If request data is invalid.
|
|
647
734
|
* - 404: If the category does not exist.
|
|
648
|
-
* @param org
|
|
649
|
-
* @param userId
|
|
650
735
|
* @returns void
|
|
651
736
|
* @throws ApiError
|
|
652
737
|
*/
|
|
653
|
-
static aiPromptOrgsUsersPromptsCategoryDestroy(org
|
|
738
|
+
static aiPromptOrgsUsersPromptsCategoryDestroy({ org, userId, }: {
|
|
739
|
+
org: string;
|
|
740
|
+
}): CancelablePromise<void>;
|
|
654
741
|
/**
|
|
655
742
|
* API viewset for managing prompts.
|
|
656
743
|
*
|
|
@@ -659,18 +746,30 @@ export declare class AiPromptService {
|
|
|
659
746
|
*
|
|
660
747
|
* Permissions:
|
|
661
748
|
* - Accessible to anyone
|
|
662
|
-
* @param org
|
|
663
|
-
* @param userId
|
|
664
|
-
* @param category Category of the prompt
|
|
665
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
666
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
667
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
668
|
-
* @param tag Tag of the prompt
|
|
669
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
670
749
|
* @returns Prompt
|
|
671
750
|
* @throws ApiError
|
|
672
751
|
*/
|
|
673
|
-
static aiPromptOrgsUsersPromptsPublicList(org
|
|
752
|
+
static aiPromptOrgsUsersPromptsPublicList({ org, userId, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
753
|
+
org: string; /**
|
|
754
|
+
* Category of the prompt
|
|
755
|
+
*/
|
|
756
|
+
category?: number; /**
|
|
757
|
+
* Option to filter by username of the prompt creators.
|
|
758
|
+
*/
|
|
759
|
+
createdBy?: string; /**
|
|
760
|
+
* Filter options include, date, prompt, default is date
|
|
761
|
+
*/
|
|
762
|
+
filterBy?: string; /**
|
|
763
|
+
* Mentor unique id of the prompt
|
|
764
|
+
*/
|
|
765
|
+
mentorUniqueId?: string; /**
|
|
766
|
+
* Tag of the prompt
|
|
767
|
+
*/
|
|
768
|
+
tag?: number; /**
|
|
769
|
+
* Visibility trype the mentor of the prompt
|
|
770
|
+
*/
|
|
771
|
+
visibility?: string;
|
|
772
|
+
}): CancelablePromise<Array<Prompt>>;
|
|
674
773
|
/**
|
|
675
774
|
* API viewset for managing prompts.
|
|
676
775
|
*
|
|
@@ -679,29 +778,44 @@ export declare class AiPromptService {
|
|
|
679
778
|
*
|
|
680
779
|
* Permissions:
|
|
681
780
|
* - Accessible to anyone
|
|
682
|
-
* @param id A unique integer value identifying this prompt.
|
|
683
|
-
* @param org
|
|
684
|
-
* @param userId
|
|
685
|
-
* @param category Category of the prompt
|
|
686
|
-
* @param createdBy Option to filter by username of the prompt creators.
|
|
687
|
-
* @param filterBy Filter options include, date, prompt, default is date
|
|
688
|
-
* @param mentorUniqueId Mentor unique id of the prompt
|
|
689
|
-
* @param tag Tag of the prompt
|
|
690
|
-
* @param visibility Visibility trype the mentor of the prompt
|
|
691
781
|
* @returns Prompt
|
|
692
782
|
* @throws ApiError
|
|
693
783
|
*/
|
|
694
|
-
static aiPromptOrgsUsersPromptsPublicRetrieve(id
|
|
784
|
+
static aiPromptOrgsUsersPromptsPublicRetrieve({ id, org, userId, category, createdBy, filterBy, mentorUniqueId, tag, visibility, }: {
|
|
785
|
+
/**
|
|
786
|
+
* A unique integer value identifying this prompt.
|
|
787
|
+
*/
|
|
788
|
+
id: number;
|
|
789
|
+
org: string; /**
|
|
790
|
+
* Category of the prompt
|
|
791
|
+
*/
|
|
792
|
+
category?: number; /**
|
|
793
|
+
* Option to filter by username of the prompt creators.
|
|
794
|
+
*/
|
|
795
|
+
createdBy?: string; /**
|
|
796
|
+
* Filter options include, date, prompt, default is date
|
|
797
|
+
*/
|
|
798
|
+
filterBy?: string; /**
|
|
799
|
+
* Mentor unique id of the prompt
|
|
800
|
+
*/
|
|
801
|
+
mentorUniqueId?: string; /**
|
|
802
|
+
* Tag of the prompt
|
|
803
|
+
*/
|
|
804
|
+
tag?: number; /**
|
|
805
|
+
* Visibility trype the mentor of the prompt
|
|
806
|
+
*/
|
|
807
|
+
visibility?: string;
|
|
808
|
+
}): CancelablePromise<Prompt>;
|
|
695
809
|
/**
|
|
696
810
|
* Retrieve guided prompts for a chat session
|
|
697
811
|
* Fetches AI-generated guided prompts for a given session and organization.
|
|
698
|
-
* @param org
|
|
699
|
-
* @param sessionId
|
|
700
|
-
* @param userId
|
|
701
812
|
* @returns GuidedPromptsResponse
|
|
702
813
|
* @throws ApiError
|
|
703
814
|
*/
|
|
704
|
-
static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve(org
|
|
815
|
+
static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve({ org, sessionId, userId, }: {
|
|
816
|
+
org: string;
|
|
817
|
+
sessionId: string;
|
|
818
|
+
}): CancelablePromise<GuidedPromptsResponse>;
|
|
705
819
|
/**
|
|
706
820
|
* Endpoint for getting prompt styles.
|
|
707
821
|
*
|
|
@@ -710,12 +824,12 @@ export declare class AiPromptService {
|
|
|
710
824
|
* Returns:
|
|
711
825
|
*
|
|
712
826
|
* 200: List of styles.
|
|
713
|
-
* @param org
|
|
714
|
-
* @param userId
|
|
715
827
|
* @returns StylesView
|
|
716
828
|
* @throws ApiError
|
|
717
829
|
*/
|
|
718
|
-
static aiPromptOrgsUsersStylesRetrieve(org
|
|
830
|
+
static aiPromptOrgsUsersStylesRetrieve({ org, userId, }: {
|
|
831
|
+
org: string;
|
|
832
|
+
}): CancelablePromise<StylesView>;
|
|
719
833
|
/**
|
|
720
834
|
* Endpoint for Adding prompt style.
|
|
721
835
|
*
|
|
@@ -726,13 +840,13 @@ export declare class AiPromptService {
|
|
|
726
840
|
* 201: style Object.
|
|
727
841
|
*
|
|
728
842
|
* 400: When data is not valid.
|
|
729
|
-
* @param org
|
|
730
|
-
* @param userId
|
|
731
|
-
* @param requestBody
|
|
732
843
|
* @returns StylesView
|
|
733
844
|
* @throws ApiError
|
|
734
845
|
*/
|
|
735
|
-
static aiPromptOrgsUsersStylesCreate(org
|
|
846
|
+
static aiPromptOrgsUsersStylesCreate({ org, userId, requestBody, }: {
|
|
847
|
+
org: string;
|
|
848
|
+
requestBody: StylesView;
|
|
849
|
+
}): CancelablePromise<StylesView>;
|
|
736
850
|
/**
|
|
737
851
|
* Endpoint for Adding prompt style.
|
|
738
852
|
*
|
|
@@ -743,14 +857,14 @@ export declare class AiPromptService {
|
|
|
743
857
|
* 200: style Object.
|
|
744
858
|
*
|
|
745
859
|
* 400: When data is not valid.
|
|
746
|
-
* @param org
|
|
747
|
-
* @param styleId
|
|
748
|
-
* @param userId
|
|
749
|
-
* @param requestBody
|
|
750
860
|
* @returns StylesView
|
|
751
861
|
* @throws ApiError
|
|
752
862
|
*/
|
|
753
|
-
static aiPromptOrgsUsersStylesUpdate(org
|
|
863
|
+
static aiPromptOrgsUsersStylesUpdate({ org, styleId, userId, requestBody, }: {
|
|
864
|
+
org: string;
|
|
865
|
+
styleId: number;
|
|
866
|
+
requestBody: StylesView;
|
|
867
|
+
}): CancelablePromise<StylesView>;
|
|
754
868
|
/**
|
|
755
869
|
* Endpoint for deleting prompt style.
|
|
756
870
|
*
|
|
@@ -761,13 +875,13 @@ export declare class AiPromptService {
|
|
|
761
875
|
* 204: No response data.
|
|
762
876
|
*
|
|
763
877
|
* 400: When data is not valid.
|
|
764
|
-
* @param org
|
|
765
|
-
* @param styleId
|
|
766
|
-
* @param userId
|
|
767
878
|
* @returns void
|
|
768
879
|
* @throws ApiError
|
|
769
880
|
*/
|
|
770
|
-
static aiPromptOrgsUsersStylesDestroy(org
|
|
881
|
+
static aiPromptOrgsUsersStylesDestroy({ org, styleId, userId, }: {
|
|
882
|
+
org: string;
|
|
883
|
+
styleId: number;
|
|
884
|
+
}): CancelablePromise<void>;
|
|
771
885
|
/**
|
|
772
886
|
* Endpoint for getting prompt tags.
|
|
773
887
|
*
|
|
@@ -776,12 +890,12 @@ export declare class AiPromptService {
|
|
|
776
890
|
* Returns:
|
|
777
891
|
*
|
|
778
892
|
* 200: List of tags.
|
|
779
|
-
* @param org
|
|
780
|
-
* @param userId
|
|
781
893
|
* @returns TagsView
|
|
782
894
|
* @throws ApiError
|
|
783
895
|
*/
|
|
784
|
-
static aiPromptOrgsUsersTagsRetrieve(org
|
|
896
|
+
static aiPromptOrgsUsersTagsRetrieve({ org, userId, }: {
|
|
897
|
+
org: string;
|
|
898
|
+
}): CancelablePromise<TagsView>;
|
|
785
899
|
/**
|
|
786
900
|
* Endpoint for Adding prompt tag.
|
|
787
901
|
*
|
|
@@ -809,13 +923,13 @@ export declare class AiPromptService {
|
|
|
809
923
|
* "name": "Programming",
|
|
810
924
|
* "description": "tags for programing prompts"
|
|
811
925
|
* }
|
|
812
|
-
* @param org
|
|
813
|
-
* @param userId
|
|
814
|
-
* @param requestBody
|
|
815
926
|
* @returns TagsView
|
|
816
927
|
* @throws ApiError
|
|
817
928
|
*/
|
|
818
|
-
static aiPromptOrgsUsersTagsCreate(org
|
|
929
|
+
static aiPromptOrgsUsersTagsCreate({ org, userId, requestBody, }: {
|
|
930
|
+
org: string;
|
|
931
|
+
requestBody: TagsView;
|
|
932
|
+
}): CancelablePromise<TagsView>;
|
|
819
933
|
/**
|
|
820
934
|
* Endpoint for updating prompt tag.
|
|
821
935
|
*
|
|
@@ -826,14 +940,14 @@ export declare class AiPromptService {
|
|
|
826
940
|
* 200: tag Object.
|
|
827
941
|
*
|
|
828
942
|
* 400: When data is not valid.
|
|
829
|
-
* @param org
|
|
830
|
-
* @param tagId
|
|
831
|
-
* @param userId
|
|
832
|
-
* @param requestBody
|
|
833
943
|
* @returns TagsView
|
|
834
944
|
* @throws ApiError
|
|
835
945
|
*/
|
|
836
|
-
static aiPromptOrgsUsersTagsUpdate(org
|
|
946
|
+
static aiPromptOrgsUsersTagsUpdate({ org, tagId, userId, requestBody, }: {
|
|
947
|
+
org: string;
|
|
948
|
+
tagId: number;
|
|
949
|
+
requestBody: TagsView;
|
|
950
|
+
}): CancelablePromise<TagsView>;
|
|
837
951
|
/**
|
|
838
952
|
* Endpoint for deleting prompt tag.
|
|
839
953
|
*
|
|
@@ -844,13 +958,13 @@ export declare class AiPromptService {
|
|
|
844
958
|
* 204: No response data.
|
|
845
959
|
*
|
|
846
960
|
* 400: When data is not valid.
|
|
847
|
-
* @param org
|
|
848
|
-
* @param tagId
|
|
849
|
-
* @param userId
|
|
850
961
|
* @returns void
|
|
851
962
|
* @throws ApiError
|
|
852
963
|
*/
|
|
853
|
-
static aiPromptOrgsUsersTagsDestroy(org
|
|
964
|
+
static aiPromptOrgsUsersTagsDestroy({ org, tagId, userId, }: {
|
|
965
|
+
org: string;
|
|
966
|
+
tagId: number;
|
|
967
|
+
}): CancelablePromise<void>;
|
|
854
968
|
/**
|
|
855
969
|
* Endpoint for getting prompt tones.
|
|
856
970
|
*
|
|
@@ -859,12 +973,12 @@ export declare class AiPromptService {
|
|
|
859
973
|
* Returns:
|
|
860
974
|
*
|
|
861
975
|
* 200: List of tones.
|
|
862
|
-
* @param org
|
|
863
|
-
* @param userId
|
|
864
976
|
* @returns TonesView
|
|
865
977
|
* @throws ApiError
|
|
866
978
|
*/
|
|
867
|
-
static aiPromptOrgsUsersTonesRetrieve(org
|
|
979
|
+
static aiPromptOrgsUsersTonesRetrieve({ org, userId, }: {
|
|
980
|
+
org: string;
|
|
981
|
+
}): CancelablePromise<TonesView>;
|
|
868
982
|
/**
|
|
869
983
|
* Endpoint for Adding prompt tone.
|
|
870
984
|
*
|
|
@@ -875,13 +989,13 @@ export declare class AiPromptService {
|
|
|
875
989
|
* 201: tone Object.
|
|
876
990
|
*
|
|
877
991
|
* 400: When data is not valid.
|
|
878
|
-
* @param org
|
|
879
|
-
* @param userId
|
|
880
|
-
* @param requestBody
|
|
881
992
|
* @returns TonesView
|
|
882
993
|
* @throws ApiError
|
|
883
994
|
*/
|
|
884
|
-
static aiPromptOrgsUsersTonesCreate(org
|
|
995
|
+
static aiPromptOrgsUsersTonesCreate({ org, userId, requestBody, }: {
|
|
996
|
+
org: string;
|
|
997
|
+
requestBody?: TonesView;
|
|
998
|
+
}): CancelablePromise<TonesView>;
|
|
885
999
|
/**
|
|
886
1000
|
* Endpoint for updating prompt tone.
|
|
887
1001
|
*
|
|
@@ -892,14 +1006,14 @@ export declare class AiPromptService {
|
|
|
892
1006
|
* 200: tone Object.
|
|
893
1007
|
*
|
|
894
1008
|
* 400: When data is not valid.
|
|
895
|
-
* @param org
|
|
896
|
-
* @param toneId
|
|
897
|
-
* @param userId
|
|
898
|
-
* @param requestBody
|
|
899
1009
|
* @returns TonesView
|
|
900
1010
|
* @throws ApiError
|
|
901
1011
|
*/
|
|
902
|
-
static aiPromptOrgsUsersTonesUpdate(org
|
|
1012
|
+
static aiPromptOrgsUsersTonesUpdate({ org, toneId, userId, requestBody, }: {
|
|
1013
|
+
org: string;
|
|
1014
|
+
toneId: number;
|
|
1015
|
+
requestBody?: TonesView;
|
|
1016
|
+
}): CancelablePromise<TonesView>;
|
|
903
1017
|
/**
|
|
904
1018
|
* Endpoint for deleting prompt tone.
|
|
905
1019
|
*
|
|
@@ -910,11 +1024,11 @@ export declare class AiPromptService {
|
|
|
910
1024
|
* 204: No response data.
|
|
911
1025
|
*
|
|
912
1026
|
* 400: When data is not valid.
|
|
913
|
-
* @param org
|
|
914
|
-
* @param toneId
|
|
915
|
-
* @param userId
|
|
916
1027
|
* @returns void
|
|
917
1028
|
* @throws ApiError
|
|
918
1029
|
*/
|
|
919
|
-
static aiPromptOrgsUsersTonesDestroy(org
|
|
1030
|
+
static aiPromptOrgsUsersTonesDestroy({ org, toneId, userId, }: {
|
|
1031
|
+
org: string;
|
|
1032
|
+
toneId: number;
|
|
1033
|
+
}): CancelablePromise<void>;
|
|
920
1034
|
}
|