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