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