@iblai/iblai-api 3.60.0-ai → 3.60.0-ai-plus

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