@iblai/iblai-api 4.5.2-ai-plus → 4.5.3-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.
Files changed (92) hide show
  1. package/dist/index.cjs.js +71 -1396
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +72 -1395
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +71 -1396
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +2 -39
  8. package/dist/types/models/IntegrationCredentialSchema.d.ts +4 -0
  9. package/dist/types/models/LLMCredentialSchema.d.ts +4 -0
  10. package/dist/types/services/AiAccountService.d.ts +56 -2
  11. package/package.json +1 -1
  12. package/src/core/OpenAPI.ts +1 -1
  13. package/src/index.ts +2 -39
  14. package/src/models/{WebexWebhook.ts → IntegrationCredentialSchema.ts} +3 -3
  15. package/src/models/{WhatAppWebHook.ts → LLMCredentialSchema.ts} +3 -2
  16. package/src/services/AiAccountService.ts +84 -2
  17. package/dist/types/models/Bot.d.ts +0 -15
  18. package/dist/types/models/BotCommand.d.ts +0 -6
  19. package/dist/types/models/BotCreate.d.ts +0 -12
  20. package/dist/types/models/DataSet.d.ts +0 -21
  21. package/dist/types/models/DataSetCreate.d.ts +0 -12
  22. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  23. package/dist/types/models/DiscordConfig.d.ts +0 -7
  24. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  25. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  26. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  27. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  28. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  29. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  30. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  31. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  32. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  33. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  34. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  35. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  36. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  37. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  38. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  39. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  40. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  41. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  42. package/dist/types/models/SlackConfig.d.ts +0 -8
  43. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  44. package/dist/types/models/SlackWebhook.d.ts +0 -6
  45. package/dist/types/models/TeamsConfig.d.ts +0 -7
  46. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  47. package/dist/types/models/Training.d.ts +0 -41
  48. package/dist/types/models/TrainingCreate.d.ts +0 -31
  49. package/dist/types/models/WebexConfig.d.ts +0 -10
  50. package/dist/types/models/WebexWebhook.d.ts +0 -4
  51. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  52. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  53. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  54. package/dist/types/services/AiBotService.d.ts +0 -642
  55. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  56. package/src/models/Bot.ts +0 -20
  57. package/src/models/BotCommand.ts +0 -11
  58. package/src/models/BotCreate.ts +0 -17
  59. package/src/models/DataSet.ts +0 -26
  60. package/src/models/DataSetCreate.ts +0 -17
  61. package/src/models/DataSetStatusEnum.ts +0 -16
  62. package/src/models/DiscordConfig.ts +0 -12
  63. package/src/models/DiscordUserConfig.ts +0 -15
  64. package/src/models/DiscordWebhook.ts +0 -11
  65. package/src/models/PaginatedDataSetList.ts +0 -12
  66. package/src/models/PaginatedTrainingList.ts +0 -12
  67. package/src/models/PatchedBotCommand.ts +0 -11
  68. package/src/models/PatchedBotCreate.ts +0 -17
  69. package/src/models/PatchedDataSet.ts +0 -26
  70. package/src/models/PatchedDiscordConfig.ts +0 -12
  71. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  72. package/src/models/PatchedSlackConfig.ts +0 -13
  73. package/src/models/PatchedSlackUserConfig.ts +0 -22
  74. package/src/models/PatchedTeamsConfig.ts +0 -12
  75. package/src/models/PatchedTrainingCreate.ts +0 -36
  76. package/src/models/PatchedWebexConfig.ts +0 -15
  77. package/src/models/PatchedWhatsappConfig.ts +0 -16
  78. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  79. package/src/models/Provider05cEnum.ts +0 -18
  80. package/src/models/Provider63aEnum.ts +0 -10
  81. package/src/models/SlackConfig.ts +0 -13
  82. package/src/models/SlackUserConfig.ts +0 -22
  83. package/src/models/SlackWebhook.ts +0 -11
  84. package/src/models/TeamsConfig.ts +0 -12
  85. package/src/models/TeamsWebhook.ts +0 -22
  86. package/src/models/Training.ts +0 -46
  87. package/src/models/TrainingCreate.ts +0 -36
  88. package/src/models/WebexConfig.ts +0 -15
  89. package/src/models/WhatsappConfig.ts +0 -16
  90. package/src/models/WhatsappUserConfig.ts +0 -15
  91. package/src/services/AiBotService.ts +0 -1330
  92. package/src/services/AiFinetuningService.ts +0 -472
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.5.2-ai-plus',
111
+ VERSION: '4.5.3-ai',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -269,24 +269,6 @@ var CrawlerPatternTypeEnum;
269
269
  CrawlerPatternTypeEnum["REGEX"] = "regex";
270
270
  })(CrawlerPatternTypeEnum || (CrawlerPatternTypeEnum = {}));
271
271
 
272
- /* generated using openapi-typescript-codegen -- do not edit */
273
- /* istanbul ignore file */
274
- /* tslint:disable */
275
- /* eslint-disable */
276
- /**
277
- * * `pending` - Pending
278
- * * `processing` - Processing
279
- * * `completed` - Completed
280
- * * `failed` - Failed
281
- */
282
- var DataSetStatusEnum;
283
- (function (DataSetStatusEnum) {
284
- DataSetStatusEnum["PENDING"] = "pending";
285
- DataSetStatusEnum["PROCESSING"] = "processing";
286
- DataSetStatusEnum["COMPLETED"] = "completed";
287
- DataSetStatusEnum["FAILED"] = "failed";
288
- })(DataSetStatusEnum || (DataSetStatusEnum = {}));
289
-
290
272
  /* generated using openapi-typescript-codegen -- do not edit */
291
273
  /* istanbul ignore file */
292
274
  /* tslint:disable */
@@ -583,26 +565,6 @@ var PromptVisibilityEnum;
583
565
  PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
584
566
  })(PromptVisibilityEnum || (PromptVisibilityEnum = {}));
585
567
 
586
- /* generated using openapi-typescript-codegen -- do not edit */
587
- /* istanbul ignore file */
588
- /* tslint:disable */
589
- /* eslint-disable */
590
- /**
591
- * * `webex` - Webex
592
- * * `slack` - Slack
593
- * * `whatsapp` - Whatsapp
594
- * * `discord` - Discord
595
- * * `teams` - Teams
596
- */
597
- var Provider05cEnum;
598
- (function (Provider05cEnum) {
599
- Provider05cEnum["WEBEX"] = "webex";
600
- Provider05cEnum["SLACK"] = "slack";
601
- Provider05cEnum["WHATSAPP"] = "whatsapp";
602
- Provider05cEnum["DISCORD"] = "discord";
603
- Provider05cEnum["TEAMS"] = "teams";
604
- })(Provider05cEnum || (Provider05cEnum = {}));
605
-
606
568
  /* generated using openapi-typescript-codegen -- do not edit */
607
569
  /* istanbul ignore file */
608
570
  /* tslint:disable */
@@ -619,18 +581,6 @@ var Provider637Enum;
619
581
  Provider637Enum["ELEVENLABS"] = "elevenlabs";
620
582
  })(Provider637Enum || (Provider637Enum = {}));
621
583
 
622
- /* generated using openapi-typescript-codegen -- do not edit */
623
- /* istanbul ignore file */
624
- /* tslint:disable */
625
- /* eslint-disable */
626
- /**
627
- * * `openai` - Openai
628
- */
629
- var Provider63aEnum;
630
- (function (Provider63aEnum) {
631
- Provider63aEnum["OPENAI"] = "openai";
632
- })(Provider63aEnum || (Provider63aEnum = {}));
633
-
634
584
  /* generated using openapi-typescript-codegen -- do not edit */
635
585
  /* istanbul ignore file */
636
586
  /* tslint:disable */
@@ -1239,7 +1189,7 @@ class AiAccountService {
1239
1189
  * Delete an existing LLM credential for an organization.
1240
1190
  *
1241
1191
  * Args:
1242
- * request: The HTTP request containing updated credential information
1192
+ * request: The HTTP request containing credential information (must include 'name')
1243
1193
  * org: Organization key identifier
1244
1194
  *
1245
1195
  * Returns:
@@ -1262,6 +1212,40 @@ class AiAccountService {
1262
1212
  }
1263
1213
  });
1264
1214
  }
1215
+ /**
1216
+ * Retrieve LLM credentials schemas.
1217
+ *
1218
+ * Query Parameters:
1219
+ * name (optional): Filter results by LLM service name
1220
+ *
1221
+ * Args:
1222
+ * request: The HTTP request
1223
+ * org: Organization key identifier
1224
+ *
1225
+ * Returns:
1226
+ * Response: List of integration credentials schema available.
1227
+ *
1228
+ * Raises:
1229
+ * NotFound: When no credentials match the filters
1230
+ * ValidationError: When query parameters are invalid
1231
+ * @returns LLMCredentialSchema
1232
+ * @throws ApiError
1233
+ */
1234
+ static aiAccountOrgsCredentialSchemaRetrieve({
1235
+ org,
1236
+ name
1237
+ }) {
1238
+ return request(OpenAPI, {
1239
+ method: 'GET',
1240
+ url: '/api/ai-account/orgs/{org}/credential/schema/',
1241
+ path: {
1242
+ 'org': org
1243
+ },
1244
+ query: {
1245
+ 'name': name
1246
+ }
1247
+ });
1248
+ }
1265
1249
  /**
1266
1250
  * Retrieve integration credentials for an organization.
1267
1251
  *
@@ -1360,7 +1344,7 @@ class AiAccountService {
1360
1344
  * Delete an existing integration credential for an organization.
1361
1345
  *
1362
1346
  * Args:
1363
- * request: The HTTP request containing credential information (must include 'id')
1347
+ * request: The HTTP request containing credential information (must include 'name')
1364
1348
  * org: Organization key identifier
1365
1349
  *
1366
1350
  * Returns:
@@ -1383,6 +1367,40 @@ class AiAccountService {
1383
1367
  }
1384
1368
  });
1385
1369
  }
1370
+ /**
1371
+ * Retrieve integration credentials schema for.
1372
+ *
1373
+ * Query Parameters:
1374
+ * name (optional): Filter results by integration service name
1375
+ *
1376
+ * Args:
1377
+ * request: The HTTP request
1378
+ * org: Organization key identifier
1379
+ *
1380
+ * Returns:
1381
+ * Response: List of integration credentials schema available.
1382
+ *
1383
+ * Raises:
1384
+ * NotFound: When no credentials match the filters
1385
+ * ValidationError: When query parameters are invalid
1386
+ * @returns IntegrationCredentialSchema
1387
+ * @throws ApiError
1388
+ */
1389
+ static aiAccountOrgsIntegrationCredentialSchemaRetrieve({
1390
+ org,
1391
+ name
1392
+ }) {
1393
+ return request(OpenAPI, {
1394
+ method: 'GET',
1395
+ url: '/api/ai-account/orgs/{org}/integration-credential/schema/',
1396
+ path: {
1397
+ 'org': org
1398
+ },
1399
+ query: {
1400
+ 'name': name
1401
+ }
1402
+ });
1403
+ }
1386
1404
  /**
1387
1405
  * Enable or disable the use of main LLM credentials for an organization.
1388
1406
  *
@@ -9150,1347 +9168,6 @@ class AiAnalyticsService {
9150
9168
  }
9151
9169
  }
9152
9170
 
9153
- class AiBotService {
9154
- /**
9155
- * Create modify and update bot information for a specific tenant.
9156
- * @returns Bot
9157
- * @throws ApiError
9158
- */
9159
- static aiBotV1BotsBotList({
9160
- org
9161
- }) {
9162
- return request(OpenAPI, {
9163
- method: 'GET',
9164
- url: '/api/ai-bot/v1/bots/{org}/bot/',
9165
- path: {
9166
- 'org': org
9167
- }
9168
- });
9169
- }
9170
- /**
9171
- * Create modify and update bot information for a specific tenant.
9172
- * @returns BotCreate
9173
- * @throws ApiError
9174
- */
9175
- static aiBotV1BotsBotCreate({
9176
- org,
9177
- requestBody
9178
- }) {
9179
- return request(OpenAPI, {
9180
- method: 'POST',
9181
- url: '/api/ai-bot/v1/bots/{org}/bot/',
9182
- path: {
9183
- 'org': org
9184
- },
9185
- body: requestBody,
9186
- mediaType: 'application/json'
9187
- });
9188
- }
9189
- /**
9190
- * Create slash commands for a specific bot
9191
- * eg. /iblai-baseline
9192
- * @returns BotCommand
9193
- * @throws ApiError
9194
- */
9195
- static aiBotV1BotsBotCommandsList({
9196
- org
9197
- }) {
9198
- return request(OpenAPI, {
9199
- method: 'GET',
9200
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
9201
- path: {
9202
- 'org': org
9203
- }
9204
- });
9205
- }
9206
- /**
9207
- * Create slash commands for a specific bot
9208
- * eg. /iblai-baseline
9209
- * @returns BotCommand
9210
- * @throws ApiError
9211
- */
9212
- static aiBotV1BotsBotCommandsCreate({
9213
- org,
9214
- requestBody
9215
- }) {
9216
- return request(OpenAPI, {
9217
- method: 'POST',
9218
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
9219
- path: {
9220
- 'org': org
9221
- },
9222
- body: requestBody,
9223
- mediaType: 'application/json'
9224
- });
9225
- }
9226
- /**
9227
- * Create slash commands for a specific bot
9228
- * eg. /iblai-baseline
9229
- * @returns BotCommand
9230
- * @throws ApiError
9231
- */
9232
- static aiBotV1BotsBotCommandsRetrieve({
9233
- id,
9234
- org
9235
- }) {
9236
- return request(OpenAPI, {
9237
- method: 'GET',
9238
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9239
- path: {
9240
- 'id': id,
9241
- 'org': org
9242
- }
9243
- });
9244
- }
9245
- /**
9246
- * Create slash commands for a specific bot
9247
- * eg. /iblai-baseline
9248
- * @returns BotCommand
9249
- * @throws ApiError
9250
- */
9251
- static aiBotV1BotsBotCommandsUpdate({
9252
- id,
9253
- org,
9254
- requestBody
9255
- }) {
9256
- return request(OpenAPI, {
9257
- method: 'PUT',
9258
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9259
- path: {
9260
- 'id': id,
9261
- 'org': org
9262
- },
9263
- body: requestBody,
9264
- mediaType: 'application/json'
9265
- });
9266
- }
9267
- /**
9268
- * Create slash commands for a specific bot
9269
- * eg. /iblai-baseline
9270
- * @returns BotCommand
9271
- * @throws ApiError
9272
- */
9273
- static aiBotV1BotsBotCommandsPartialUpdate({
9274
- id,
9275
- org,
9276
- requestBody
9277
- }) {
9278
- return request(OpenAPI, {
9279
- method: 'PATCH',
9280
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9281
- path: {
9282
- 'id': id,
9283
- 'org': org
9284
- },
9285
- body: requestBody,
9286
- mediaType: 'application/json'
9287
- });
9288
- }
9289
- /**
9290
- * Create slash commands for a specific bot
9291
- * eg. /iblai-baseline
9292
- * @returns void
9293
- * @throws ApiError
9294
- */
9295
- static aiBotV1BotsBotCommandsDestroy({
9296
- id,
9297
- org
9298
- }) {
9299
- return request(OpenAPI, {
9300
- method: 'DELETE',
9301
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9302
- path: {
9303
- 'id': id,
9304
- 'org': org
9305
- }
9306
- });
9307
- }
9308
- /**
9309
- * Create modify and update bot information for a specific tenant.
9310
- * @returns Bot
9311
- * @throws ApiError
9312
- */
9313
- static aiBotV1BotsBotRetrieve({
9314
- id,
9315
- org
9316
- }) {
9317
- return request(OpenAPI, {
9318
- method: 'GET',
9319
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9320
- path: {
9321
- 'id': id,
9322
- 'org': org
9323
- }
9324
- });
9325
- }
9326
- /**
9327
- * Create modify and update bot information for a specific tenant.
9328
- * @returns BotCreate
9329
- * @throws ApiError
9330
- */
9331
- static aiBotV1BotsBotUpdate({
9332
- id,
9333
- org,
9334
- requestBody
9335
- }) {
9336
- return request(OpenAPI, {
9337
- method: 'PUT',
9338
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9339
- path: {
9340
- 'id': id,
9341
- 'org': org
9342
- },
9343
- body: requestBody,
9344
- mediaType: 'application/json'
9345
- });
9346
- }
9347
- /**
9348
- * Create modify and update bot information for a specific tenant.
9349
- * @returns BotCreate
9350
- * @throws ApiError
9351
- */
9352
- static aiBotV1BotsBotPartialUpdate({
9353
- id,
9354
- org,
9355
- requestBody
9356
- }) {
9357
- return request(OpenAPI, {
9358
- method: 'PATCH',
9359
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9360
- path: {
9361
- 'id': id,
9362
- 'org': org
9363
- },
9364
- body: requestBody,
9365
- mediaType: 'application/json'
9366
- });
9367
- }
9368
- /**
9369
- * Create modify and update bot information for a specific tenant.
9370
- * @returns void
9371
- * @throws ApiError
9372
- */
9373
- static aiBotV1BotsBotDestroy({
9374
- id,
9375
- org
9376
- }) {
9377
- return request(OpenAPI, {
9378
- method: 'DELETE',
9379
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9380
- path: {
9381
- 'id': id,
9382
- 'org': org
9383
- }
9384
- });
9385
- }
9386
- /**
9387
- * Create modify and update bot information for a specific tenant.
9388
- * @returns DiscordConfig
9389
- * @throws ApiError
9390
- */
9391
- static aiBotV1BotsBotConfigDiscordRetrieve({
9392
- id,
9393
- org
9394
- }) {
9395
- return request(OpenAPI, {
9396
- method: 'GET',
9397
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
9398
- path: {
9399
- 'id': id,
9400
- 'org': org
9401
- }
9402
- });
9403
- }
9404
- /**
9405
- * Create modify and update bot information for a specific tenant.
9406
- * @returns DiscordConfig
9407
- * @throws ApiError
9408
- */
9409
- static aiBotV1BotsBotConfigDiscordPartialUpdate({
9410
- id,
9411
- org,
9412
- requestBody
9413
- }) {
9414
- return request(OpenAPI, {
9415
- method: 'PATCH',
9416
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
9417
- path: {
9418
- 'id': id,
9419
- 'org': org
9420
- },
9421
- body: requestBody,
9422
- mediaType: 'application/json'
9423
- });
9424
- }
9425
- /**
9426
- * Create modify and update bot information for a specific tenant.
9427
- * @returns SlackConfig
9428
- * @throws ApiError
9429
- */
9430
- static aiBotV1BotsBotConfigSlackRetrieve({
9431
- id,
9432
- org
9433
- }) {
9434
- return request(OpenAPI, {
9435
- method: 'GET',
9436
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
9437
- path: {
9438
- 'id': id,
9439
- 'org': org
9440
- }
9441
- });
9442
- }
9443
- /**
9444
- * Create modify and update bot information for a specific tenant.
9445
- * @returns SlackConfig
9446
- * @throws ApiError
9447
- */
9448
- static aiBotV1BotsBotConfigSlackUpdateCreate({
9449
- id,
9450
- org,
9451
- requestBody
9452
- }) {
9453
- return request(OpenAPI, {
9454
- method: 'POST',
9455
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
9456
- path: {
9457
- 'id': id,
9458
- 'org': org
9459
- },
9460
- body: requestBody,
9461
- mediaType: 'application/json'
9462
- });
9463
- }
9464
- /**
9465
- * Create modify and update bot information for a specific tenant.
9466
- * @returns SlackConfig
9467
- * @throws ApiError
9468
- */
9469
- static aiBotV1BotsBotConfigSlackUpdateUpdate({
9470
- id,
9471
- org,
9472
- requestBody
9473
- }) {
9474
- return request(OpenAPI, {
9475
- method: 'PUT',
9476
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
9477
- path: {
9478
- 'id': id,
9479
- 'org': org
9480
- },
9481
- body: requestBody,
9482
- mediaType: 'application/json'
9483
- });
9484
- }
9485
- /**
9486
- * Create modify and update bot information for a specific tenant.
9487
- * @returns SlackConfig
9488
- * @throws ApiError
9489
- */
9490
- static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
9491
- id,
9492
- org,
9493
- requestBody
9494
- }) {
9495
- return request(OpenAPI, {
9496
- method: 'PATCH',
9497
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
9498
- path: {
9499
- 'id': id,
9500
- 'org': org
9501
- },
9502
- body: requestBody,
9503
- mediaType: 'application/json'
9504
- });
9505
- }
9506
- /**
9507
- * Create modify and update bot information for a specific tenant.
9508
- * @returns TeamsConfig
9509
- * @throws ApiError
9510
- */
9511
- static aiBotV1BotsBotConfigTeamsRetrieve({
9512
- id,
9513
- org
9514
- }) {
9515
- return request(OpenAPI, {
9516
- method: 'GET',
9517
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
9518
- path: {
9519
- 'id': id,
9520
- 'org': org
9521
- }
9522
- });
9523
- }
9524
- /**
9525
- * Create modify and update bot information for a specific tenant.
9526
- * @returns TeamsConfig
9527
- * @throws ApiError
9528
- */
9529
- static aiBotV1BotsBotConfigTeamsUpdateCreate({
9530
- id,
9531
- org,
9532
- requestBody
9533
- }) {
9534
- return request(OpenAPI, {
9535
- method: 'POST',
9536
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
9537
- path: {
9538
- 'id': id,
9539
- 'org': org
9540
- },
9541
- body: requestBody,
9542
- mediaType: 'application/json'
9543
- });
9544
- }
9545
- /**
9546
- * Create modify and update bot information for a specific tenant.
9547
- * @returns TeamsConfig
9548
- * @throws ApiError
9549
- */
9550
- static aiBotV1BotsBotConfigTeamsUpdateUpdate({
9551
- id,
9552
- org,
9553
- requestBody
9554
- }) {
9555
- return request(OpenAPI, {
9556
- method: 'PUT',
9557
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
9558
- path: {
9559
- 'id': id,
9560
- 'org': org
9561
- },
9562
- body: requestBody,
9563
- mediaType: 'application/json'
9564
- });
9565
- }
9566
- /**
9567
- * Create modify and update bot information for a specific tenant.
9568
- * @returns TeamsConfig
9569
- * @throws ApiError
9570
- */
9571
- static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
9572
- id,
9573
- org,
9574
- requestBody
9575
- }) {
9576
- return request(OpenAPI, {
9577
- method: 'PATCH',
9578
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
9579
- path: {
9580
- 'id': id,
9581
- 'org': org
9582
- },
9583
- body: requestBody,
9584
- mediaType: 'application/json'
9585
- });
9586
- }
9587
- /**
9588
- * Create modify and update bot information for a specific tenant.
9589
- * @returns WebexConfig
9590
- * @throws ApiError
9591
- */
9592
- static aiBotV1BotsBotConfigWebexRetrieve({
9593
- id,
9594
- org
9595
- }) {
9596
- return request(OpenAPI, {
9597
- method: 'GET',
9598
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
9599
- path: {
9600
- 'id': id,
9601
- 'org': org
9602
- }
9603
- });
9604
- }
9605
- /**
9606
- * Create modify and update bot information for a specific tenant.
9607
- * @returns WebexConfig
9608
- * @throws ApiError
9609
- */
9610
- static aiBotV1BotsBotConfigWebexPartialUpdate({
9611
- id,
9612
- org,
9613
- requestBody
9614
- }) {
9615
- return request(OpenAPI, {
9616
- method: 'PATCH',
9617
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
9618
- path: {
9619
- 'id': id,
9620
- 'org': org
9621
- },
9622
- body: requestBody,
9623
- mediaType: 'application/json'
9624
- });
9625
- }
9626
- /**
9627
- * Create modify and update bot information for a specific tenant.
9628
- * @returns WhatsappConfig
9629
- * @throws ApiError
9630
- */
9631
- static aiBotV1BotsBotConfigWhatsappRetrieve({
9632
- id,
9633
- org
9634
- }) {
9635
- return request(OpenAPI, {
9636
- method: 'GET',
9637
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
9638
- path: {
9639
- 'id': id,
9640
- 'org': org
9641
- }
9642
- });
9643
- }
9644
- /**
9645
- * Create modify and update bot information for a specific tenant.
9646
- * @returns WhatsappConfig
9647
- * @throws ApiError
9648
- */
9649
- static aiBotV1BotsBotWhatsappConfigUpdate({
9650
- id,
9651
- org,
9652
- requestBody
9653
- }) {
9654
- return request(OpenAPI, {
9655
- method: 'PUT',
9656
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
9657
- path: {
9658
- 'id': id,
9659
- 'org': org
9660
- },
9661
- body: requestBody,
9662
- mediaType: 'application/json'
9663
- });
9664
- }
9665
- /**
9666
- * Create modify and update bot information for a specific tenant.
9667
- * @returns WhatsappConfig
9668
- * @throws ApiError
9669
- */
9670
- static aiBotV1BotsBotWhatsappConfigPartialUpdate({
9671
- id,
9672
- org,
9673
- requestBody
9674
- }) {
9675
- return request(OpenAPI, {
9676
- method: 'PATCH',
9677
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
9678
- path: {
9679
- 'id': id,
9680
- 'org': org
9681
- },
9682
- body: requestBody,
9683
- mediaType: 'application/json'
9684
- });
9685
- }
9686
- /**
9687
- * Setup discord user id linkage with discord bots
9688
- * this will be used to authenticate the user when interracting with discord bots.
9689
- * the user id can be copied from the discord app after tapping on the user profile.
9690
- * @returns DiscordUserConfig
9691
- * @throws ApiError
9692
- */
9693
- static aiBotV1BotsDiscordUserConfigList({
9694
- org
9695
- }) {
9696
- return request(OpenAPI, {
9697
- method: 'GET',
9698
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
9699
- path: {
9700
- 'org': org
9701
- }
9702
- });
9703
- }
9704
- /**
9705
- * Setup discord user id linkage with discord bots
9706
- * this will be used to authenticate the user when interracting with discord bots.
9707
- * the user id can be copied from the discord app after tapping on the user profile.
9708
- * @returns DiscordUserConfig
9709
- * @throws ApiError
9710
- */
9711
- static aiBotV1BotsDiscordUserConfigCreate({
9712
- org,
9713
- requestBody
9714
- }) {
9715
- return request(OpenAPI, {
9716
- method: 'POST',
9717
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
9718
- path: {
9719
- 'org': org
9720
- },
9721
- body: requestBody,
9722
- mediaType: 'application/json'
9723
- });
9724
- }
9725
- /**
9726
- * Setup discord user id linkage with discord bots
9727
- * this will be used to authenticate the user when interracting with discord bots.
9728
- * the user id can be copied from the discord app after tapping on the user profile.
9729
- * @returns DiscordUserConfig
9730
- * @throws ApiError
9731
- */
9732
- static aiBotV1BotsDiscordUserConfigRetrieve({
9733
- id,
9734
- org
9735
- }) {
9736
- return request(OpenAPI, {
9737
- method: 'GET',
9738
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
9739
- path: {
9740
- 'id': id,
9741
- 'org': org
9742
- }
9743
- });
9744
- }
9745
- /**
9746
- * Setup discord user id linkage with discord bots
9747
- * this will be used to authenticate the user when interracting with discord bots.
9748
- * the user id can be copied from the discord app after tapping on the user profile.
9749
- * @returns DiscordUserConfig
9750
- * @throws ApiError
9751
- */
9752
- static aiBotV1BotsDiscordUserConfigUpdate({
9753
- id,
9754
- org,
9755
- requestBody
9756
- }) {
9757
- return request(OpenAPI, {
9758
- method: 'PUT',
9759
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
9760
- path: {
9761
- 'id': id,
9762
- 'org': org
9763
- },
9764
- body: requestBody,
9765
- mediaType: 'application/json'
9766
- });
9767
- }
9768
- /**
9769
- * Setup discord user id linkage with discord bots
9770
- * this will be used to authenticate the user when interracting with discord bots.
9771
- * the user id can be copied from the discord app after tapping on the user profile.
9772
- * @returns DiscordUserConfig
9773
- * @throws ApiError
9774
- */
9775
- static aiBotV1BotsDiscordUserConfigPartialUpdate({
9776
- id,
9777
- org,
9778
- requestBody
9779
- }) {
9780
- return request(OpenAPI, {
9781
- method: 'PATCH',
9782
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
9783
- path: {
9784
- 'id': id,
9785
- 'org': org
9786
- },
9787
- body: requestBody,
9788
- mediaType: 'application/json'
9789
- });
9790
- }
9791
- /**
9792
- * Setup discord user id linkage with discord bots
9793
- * this will be used to authenticate the user when interracting with discord bots.
9794
- * the user id can be copied from the discord app after tapping on the user profile.
9795
- * @returns void
9796
- * @throws ApiError
9797
- */
9798
- static aiBotV1BotsDiscordUserConfigDestroy({
9799
- id,
9800
- org
9801
- }) {
9802
- return request(OpenAPI, {
9803
- method: 'DELETE',
9804
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
9805
- path: {
9806
- 'id': id,
9807
- 'org': org
9808
- }
9809
- });
9810
- }
9811
- /**
9812
- * Setup slack username and domain linkage with slack bots
9813
- * this will be used to authenticate the user when interracting with slack bots.
9814
- * @returns SlackUserConfig
9815
- * @throws ApiError
9816
- */
9817
- static aiBotV1BotsSlackUserConfigList({
9818
- org
9819
- }) {
9820
- return request(OpenAPI, {
9821
- method: 'GET',
9822
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
9823
- path: {
9824
- 'org': org
9825
- }
9826
- });
9827
- }
9828
- /**
9829
- * Setup slack username and domain linkage with slack bots
9830
- * this will be used to authenticate the user when interracting with slack bots.
9831
- * @returns SlackUserConfig
9832
- * @throws ApiError
9833
- */
9834
- static aiBotV1BotsSlackUserConfigCreate({
9835
- org,
9836
- requestBody
9837
- }) {
9838
- return request(OpenAPI, {
9839
- method: 'POST',
9840
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
9841
- path: {
9842
- 'org': org
9843
- },
9844
- body: requestBody,
9845
- mediaType: 'application/json'
9846
- });
9847
- }
9848
- /**
9849
- * Setup slack username and domain linkage with slack bots
9850
- * this will be used to authenticate the user when interracting with slack bots.
9851
- * @returns SlackUserConfig
9852
- * @throws ApiError
9853
- */
9854
- static aiBotV1BotsSlackUserConfigRetrieve({
9855
- id,
9856
- org
9857
- }) {
9858
- return request(OpenAPI, {
9859
- method: 'GET',
9860
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
9861
- path: {
9862
- 'id': id,
9863
- 'org': org
9864
- }
9865
- });
9866
- }
9867
- /**
9868
- * Setup slack username and domain linkage with slack bots
9869
- * this will be used to authenticate the user when interracting with slack bots.
9870
- * @returns SlackUserConfig
9871
- * @throws ApiError
9872
- */
9873
- static aiBotV1BotsSlackUserConfigUpdate({
9874
- id,
9875
- org,
9876
- requestBody
9877
- }) {
9878
- return request(OpenAPI, {
9879
- method: 'PUT',
9880
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
9881
- path: {
9882
- 'id': id,
9883
- 'org': org
9884
- },
9885
- body: requestBody,
9886
- mediaType: 'application/json'
9887
- });
9888
- }
9889
- /**
9890
- * Setup slack username and domain linkage with slack bots
9891
- * this will be used to authenticate the user when interracting with slack bots.
9892
- * @returns SlackUserConfig
9893
- * @throws ApiError
9894
- */
9895
- static aiBotV1BotsSlackUserConfigPartialUpdate({
9896
- id,
9897
- org,
9898
- requestBody
9899
- }) {
9900
- return request(OpenAPI, {
9901
- method: 'PATCH',
9902
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
9903
- path: {
9904
- 'id': id,
9905
- 'org': org
9906
- },
9907
- body: requestBody,
9908
- mediaType: 'application/json'
9909
- });
9910
- }
9911
- /**
9912
- * Setup slack username and domain linkage with slack bots
9913
- * this will be used to authenticate the user when interracting with slack bots.
9914
- * @returns void
9915
- * @throws ApiError
9916
- */
9917
- static aiBotV1BotsSlackUserConfigDestroy({
9918
- id,
9919
- org
9920
- }) {
9921
- return request(OpenAPI, {
9922
- method: 'DELETE',
9923
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
9924
- path: {
9925
- 'id': id,
9926
- 'org': org
9927
- }
9928
- });
9929
- }
9930
- /**
9931
- * Setup phone number linkage with whatsapp bots
9932
- * This phone number will be used to authenticate and allow access to whatsapp bots.
9933
- * @returns WhatsappUserConfig
9934
- * @throws ApiError
9935
- */
9936
- static aiBotV1BotsWhatsappUserConfigList({
9937
- org
9938
- }) {
9939
- return request(OpenAPI, {
9940
- method: 'GET',
9941
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
9942
- path: {
9943
- 'org': org
9944
- }
9945
- });
9946
- }
9947
- /**
9948
- * Setup phone number linkage with whatsapp bots
9949
- * This phone number will be used to authenticate and allow access to whatsapp bots.
9950
- * @returns WhatsappUserConfig
9951
- * @throws ApiError
9952
- */
9953
- static aiBotV1BotsWhatsappUserConfigCreate({
9954
- org,
9955
- requestBody
9956
- }) {
9957
- return request(OpenAPI, {
9958
- method: 'POST',
9959
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
9960
- path: {
9961
- 'org': org
9962
- },
9963
- body: requestBody,
9964
- mediaType: 'application/json'
9965
- });
9966
- }
9967
- /**
9968
- * Setup phone number linkage with whatsapp bots
9969
- * This phone number will be used to authenticate and allow access to whatsapp bots.
9970
- * @returns WhatsappUserConfig
9971
- * @throws ApiError
9972
- */
9973
- static aiBotV1BotsWhatsappUserConfigRetrieve({
9974
- id,
9975
- org
9976
- }) {
9977
- return request(OpenAPI, {
9978
- method: 'GET',
9979
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
9980
- path: {
9981
- 'id': id,
9982
- 'org': org
9983
- }
9984
- });
9985
- }
9986
- /**
9987
- * Setup phone number linkage with whatsapp bots
9988
- * This phone number will be used to authenticate and allow access to whatsapp bots.
9989
- * @returns WhatsappUserConfig
9990
- * @throws ApiError
9991
- */
9992
- static aiBotV1BotsWhatsappUserConfigUpdate({
9993
- id,
9994
- org,
9995
- requestBody
9996
- }) {
9997
- return request(OpenAPI, {
9998
- method: 'PUT',
9999
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10000
- path: {
10001
- 'id': id,
10002
- 'org': org
10003
- },
10004
- body: requestBody,
10005
- mediaType: 'application/json'
10006
- });
10007
- }
10008
- /**
10009
- * Setup phone number linkage with whatsapp bots
10010
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10011
- * @returns WhatsappUserConfig
10012
- * @throws ApiError
10013
- */
10014
- static aiBotV1BotsWhatsappUserConfigPartialUpdate({
10015
- id,
10016
- org,
10017
- requestBody
10018
- }) {
10019
- return request(OpenAPI, {
10020
- method: 'PATCH',
10021
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10022
- path: {
10023
- 'id': id,
10024
- 'org': org
10025
- },
10026
- body: requestBody,
10027
- mediaType: 'application/json'
10028
- });
10029
- }
10030
- /**
10031
- * Setup phone number linkage with whatsapp bots
10032
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10033
- * @returns void
10034
- * @throws ApiError
10035
- */
10036
- static aiBotV1BotsWhatsappUserConfigDestroy({
10037
- id,
10038
- org
10039
- }) {
10040
- return request(OpenAPI, {
10041
- method: 'DELETE',
10042
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10043
- path: {
10044
- 'id': id,
10045
- 'org': org
10046
- }
10047
- });
10048
- }
10049
- /**
10050
- * Webhook endpoint to receive and process discord messages.
10051
- * @returns DiscordWebhook
10052
- * @throws ApiError
10053
- */
10054
- static aiBotV1BotsWebhooksDiscordCreate({
10055
- name,
10056
- org,
10057
- requestBody
10058
- }) {
10059
- return request(OpenAPI, {
10060
- method: 'POST',
10061
- url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
10062
- path: {
10063
- 'name': name,
10064
- 'org': org
10065
- },
10066
- body: requestBody,
10067
- mediaType: 'application/json'
10068
- });
10069
- }
10070
- /**
10071
- * @returns SlackWebhook
10072
- * @throws ApiError
10073
- */
10074
- static aiBotV1BotsWebhooksSlackCreate({
10075
- name,
10076
- org,
10077
- requestBody
10078
- }) {
10079
- return request(OpenAPI, {
10080
- method: 'POST',
10081
- url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
10082
- path: {
10083
- 'name': name,
10084
- 'org': org
10085
- },
10086
- body: requestBody,
10087
- mediaType: 'application/json'
10088
- });
10089
- }
10090
- /**
10091
- * @returns TeamsWebhook
10092
- * @throws ApiError
10093
- */
10094
- static aiBotV1BotsWebhooksTeamsCreate({
10095
- name,
10096
- org,
10097
- requestBody
10098
- }) {
10099
- return request(OpenAPI, {
10100
- method: 'POST',
10101
- url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
10102
- path: {
10103
- 'name': name,
10104
- 'org': org
10105
- },
10106
- body: requestBody,
10107
- mediaType: 'application/json'
10108
- });
10109
- }
10110
- /**
10111
- * Webhook endpoint to receive and process discord messages.
10112
- * @returns WebexWebhook
10113
- * @throws ApiError
10114
- */
10115
- static aiBotV1BotsWebhooksWebexCreate({
10116
- name,
10117
- org,
10118
- requestBody
10119
- }) {
10120
- return request(OpenAPI, {
10121
- method: 'POST',
10122
- url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
10123
- path: {
10124
- 'name': name,
10125
- 'org': org
10126
- },
10127
- body: requestBody,
10128
- mediaType: 'application/json'
10129
- });
10130
- }
10131
- /**
10132
- * Respond to whatsapp's webhook challenge.
10133
- * Parameters Required include the tenant key (org) and the name of the bot: (name)
10134
- * @returns WhatAppWebHook
10135
- * @throws ApiError
10136
- */
10137
- static aiBotV1BotsWebhooksWhatsappRetrieve({
10138
- name,
10139
- org
10140
- }) {
10141
- return request(OpenAPI, {
10142
- method: 'GET',
10143
- url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
10144
- path: {
10145
- 'name': name,
10146
- 'org': org
10147
- }
10148
- });
10149
- }
10150
- /**
10151
- * Accept and process webhook events from whatsapp.
10152
- * @returns WhatAppWebHook
10153
- * @throws ApiError
10154
- */
10155
- static aiBotV1BotsWebhooksWhatsappCreate({
10156
- name,
10157
- org,
10158
- requestBody
10159
- }) {
10160
- return request(OpenAPI, {
10161
- method: 'POST',
10162
- url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
10163
- path: {
10164
- 'name': name,
10165
- 'org': org
10166
- },
10167
- body: requestBody,
10168
- mediaType: 'application/json'
10169
- });
10170
- }
10171
- }
10172
-
10173
- class AiFinetuningService {
10174
- /**
10175
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10176
- * @returns PaginatedDataSetList
10177
- * @throws ApiError
10178
- */
10179
- static aiFinetuningV1OrgUserDatasetsList({
10180
- org,
10181
- username,
10182
- dateCreated,
10183
- numDataPoints,
10184
- ordering,
10185
- page,
10186
- pageSize,
10187
- retryAttempts,
10188
- search,
10189
- status
10190
- }) {
10191
- return request(OpenAPI, {
10192
- method: 'GET',
10193
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
10194
- path: {
10195
- 'org': org,
10196
- 'username': username
10197
- },
10198
- query: {
10199
- 'date_created': dateCreated,
10200
- 'num_data_points': numDataPoints,
10201
- 'ordering': ordering,
10202
- 'page': page,
10203
- 'page_size': pageSize,
10204
- 'retry_attempts': retryAttempts,
10205
- 'search': search,
10206
- 'status': status
10207
- }
10208
- });
10209
- }
10210
- /**
10211
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10212
- * @returns DataSetCreate
10213
- * @throws ApiError
10214
- */
10215
- static aiFinetuningV1OrgUserDatasetsCreate({
10216
- org,
10217
- username,
10218
- requestBody
10219
- }) {
10220
- return request(OpenAPI, {
10221
- method: 'POST',
10222
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
10223
- path: {
10224
- 'org': org,
10225
- 'username': username
10226
- },
10227
- body: requestBody,
10228
- mediaType: 'application/json'
10229
- });
10230
- }
10231
- /**
10232
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10233
- * @returns DataSet
10234
- * @throws ApiError
10235
- */
10236
- static aiFinetuningV1OrgUserDatasetsRetrieve({
10237
- id,
10238
- org,
10239
- username
10240
- }) {
10241
- return request(OpenAPI, {
10242
- method: 'GET',
10243
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10244
- path: {
10245
- 'id': id,
10246
- 'org': org,
10247
- 'username': username
10248
- }
10249
- });
10250
- }
10251
- /**
10252
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10253
- * @returns DataSet
10254
- * @throws ApiError
10255
- */
10256
- static aiFinetuningV1OrgUserDatasetsUpdate({
10257
- id,
10258
- org,
10259
- username,
10260
- requestBody
10261
- }) {
10262
- return request(OpenAPI, {
10263
- method: 'PUT',
10264
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10265
- path: {
10266
- 'id': id,
10267
- 'org': org,
10268
- 'username': username
10269
- },
10270
- body: requestBody,
10271
- mediaType: 'application/json'
10272
- });
10273
- }
10274
- /**
10275
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10276
- * @returns DataSet
10277
- * @throws ApiError
10278
- */
10279
- static aiFinetuningV1OrgUserDatasetsPartialUpdate({
10280
- id,
10281
- org,
10282
- username,
10283
- requestBody
10284
- }) {
10285
- return request(OpenAPI, {
10286
- method: 'PATCH',
10287
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10288
- path: {
10289
- 'id': id,
10290
- 'org': org,
10291
- 'username': username
10292
- },
10293
- body: requestBody,
10294
- mediaType: 'application/json'
10295
- });
10296
- }
10297
- /**
10298
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10299
- * @returns void
10300
- * @throws ApiError
10301
- */
10302
- static aiFinetuningV1OrgUserDatasetsDestroy({
10303
- id,
10304
- org,
10305
- username
10306
- }) {
10307
- return request(OpenAPI, {
10308
- method: 'DELETE',
10309
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10310
- path: {
10311
- 'id': id,
10312
- 'org': org,
10313
- 'username': username
10314
- }
10315
- });
10316
- }
10317
- /**
10318
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10319
- * @returns PaginatedTrainingList
10320
- * @throws ApiError
10321
- */
10322
- static aiFinetuningV1OrgUserTrainingsList({
10323
- org,
10324
- username,
10325
- baseModelName,
10326
- dataset,
10327
- dateCreated,
10328
- fineTunedModel,
10329
- lastModified,
10330
- ordering,
10331
- page,
10332
- pageSize,
10333
- preprocessDataset,
10334
- provider,
10335
- search,
10336
- status
10337
- }) {
10338
- return request(OpenAPI, {
10339
- method: 'GET',
10340
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
10341
- path: {
10342
- 'org': org,
10343
- 'username': username
10344
- },
10345
- query: {
10346
- 'base_model_name': baseModelName,
10347
- 'dataset': dataset,
10348
- 'date_created': dateCreated,
10349
- 'fine_tuned_model': fineTunedModel,
10350
- 'last_modified': lastModified,
10351
- 'ordering': ordering,
10352
- 'page': page,
10353
- 'page_size': pageSize,
10354
- 'preprocess_dataset': preprocessDataset,
10355
- 'provider': provider,
10356
- 'search': search,
10357
- 'status': status
10358
- }
10359
- });
10360
- }
10361
- /**
10362
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10363
- * @returns TrainingCreate
10364
- * @throws ApiError
10365
- */
10366
- static aiFinetuningV1OrgUserTrainingsCreate({
10367
- org,
10368
- username,
10369
- requestBody
10370
- }) {
10371
- return request(OpenAPI, {
10372
- method: 'POST',
10373
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
10374
- path: {
10375
- 'org': org,
10376
- 'username': username
10377
- },
10378
- body: requestBody,
10379
- mediaType: 'application/json'
10380
- });
10381
- }
10382
- /**
10383
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10384
- * @returns Training
10385
- * @throws ApiError
10386
- */
10387
- static aiFinetuningV1OrgUserTrainingsRetrieve({
10388
- id,
10389
- org,
10390
- username
10391
- }) {
10392
- return request(OpenAPI, {
10393
- method: 'GET',
10394
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10395
- path: {
10396
- 'id': id,
10397
- 'org': org,
10398
- 'username': username
10399
- }
10400
- });
10401
- }
10402
- /**
10403
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10404
- * @returns TrainingCreate
10405
- * @throws ApiError
10406
- */
10407
- static aiFinetuningV1OrgUserTrainingsUpdate({
10408
- id,
10409
- org,
10410
- username,
10411
- requestBody
10412
- }) {
10413
- return request(OpenAPI, {
10414
- method: 'PUT',
10415
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10416
- path: {
10417
- 'id': id,
10418
- 'org': org,
10419
- 'username': username
10420
- },
10421
- body: requestBody,
10422
- mediaType: 'application/json'
10423
- });
10424
- }
10425
- /**
10426
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10427
- * @returns TrainingCreate
10428
- * @throws ApiError
10429
- */
10430
- static aiFinetuningV1OrgUserTrainingsPartialUpdate({
10431
- id,
10432
- org,
10433
- username,
10434
- requestBody
10435
- }) {
10436
- return request(OpenAPI, {
10437
- method: 'PATCH',
10438
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10439
- path: {
10440
- 'id': id,
10441
- 'org': org,
10442
- 'username': username
10443
- },
10444
- body: requestBody,
10445
- mediaType: 'application/json'
10446
- });
10447
- }
10448
- /**
10449
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10450
- * @returns void
10451
- * @throws ApiError
10452
- */
10453
- static aiFinetuningV1OrgUserTrainingsDestroy({
10454
- id,
10455
- org,
10456
- username
10457
- }) {
10458
- return request(OpenAPI, {
10459
- method: 'DELETE',
10460
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10461
- path: {
10462
- 'id': id,
10463
- 'org': org,
10464
- 'username': username
10465
- }
10466
- });
10467
- }
10468
- /**
10469
- * Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
10470
- * Filtering and pagination is allowed.
10471
- *
10472
- * NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
10473
- * training list endpoint.
10474
- * Returns:
10475
- * Response: A paginated response containing the serialized fine-tuned models.
10476
- * @returns Training
10477
- * @throws ApiError
10478
- */
10479
- static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
10480
- org,
10481
- username
10482
- }) {
10483
- return request(OpenAPI, {
10484
- method: 'GET',
10485
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
10486
- path: {
10487
- 'org': org,
10488
- 'username': username
10489
- }
10490
- });
10491
- }
10492
- }
10493
-
10494
9171
  class AiIndexService {
10495
9172
  /**
10496
9173
  * Retrieve details of a specific document embedding.
@@ -35613,5 +34290,5 @@ class SkillsService {
35613
34290
  }
35614
34291
  }
35615
34292
 
35616
- export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AlignMentorBubbleEnum, ApiError, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, ConnectedServiceProviderEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodicAgentLogStatusEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider637Enum, Provider63aEnum, RatingEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, ServiceEnum, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, TypeC42Enum };
34293
+ export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AlignMentorBubbleEnum, ApiError, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, ConnectedServiceProviderEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodicAgentLogStatusEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider637Enum, RatingEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, ServiceEnum, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, TypeC42Enum };
35617
34294
  //# sourceMappingURL=index.esm.js.map