@iblai/iblai-api 3.48.4-ai-plus → 3.48.5-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/index.cjs.js +9 -1402
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +10 -1401
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +9 -1402
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -40
  8. package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
  9. package/dist/types/models/Voice.d.ts +2 -2
  10. package/package.json +1 -1
  11. package/src/core/OpenAPI.ts +1 -1
  12. package/src/index.ts +1 -40
  13. package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
  14. package/src/models/Voice.ts +2 -2
  15. package/dist/types/models/Bot.d.ts +0 -15
  16. package/dist/types/models/BotCommand.d.ts +0 -6
  17. package/dist/types/models/BotCreate.d.ts +0 -12
  18. package/dist/types/models/DataSet.d.ts +0 -21
  19. package/dist/types/models/DataSetCreate.d.ts +0 -12
  20. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  21. package/dist/types/models/DiscordConfig.d.ts +0 -7
  22. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  23. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  24. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  25. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  26. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  27. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  28. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  29. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  30. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  31. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  32. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  33. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  34. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  35. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  36. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  37. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  38. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  39. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  40. package/dist/types/models/SlackConfig.d.ts +0 -8
  41. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  42. package/dist/types/models/SlackWebhook.d.ts +0 -6
  43. package/dist/types/models/TeamsConfig.d.ts +0 -7
  44. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  45. package/dist/types/models/Training.d.ts +0 -41
  46. package/dist/types/models/TrainingCreate.d.ts +0 -31
  47. package/dist/types/models/WebexConfig.d.ts +0 -10
  48. package/dist/types/models/WebexWebhook.d.ts +0 -4
  49. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  50. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  51. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  52. package/dist/types/services/AiBotService.d.ts +0 -642
  53. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  54. package/src/models/Bot.ts +0 -20
  55. package/src/models/BotCommand.ts +0 -11
  56. package/src/models/BotCreate.ts +0 -17
  57. package/src/models/DataSet.ts +0 -26
  58. package/src/models/DataSetCreate.ts +0 -17
  59. package/src/models/DataSetStatusEnum.ts +0 -16
  60. package/src/models/DiscordConfig.ts +0 -12
  61. package/src/models/DiscordUserConfig.ts +0 -15
  62. package/src/models/DiscordWebhook.ts +0 -11
  63. package/src/models/PaginatedDataSetList.ts +0 -12
  64. package/src/models/PaginatedTrainingList.ts +0 -12
  65. package/src/models/PatchedBotCommand.ts +0 -11
  66. package/src/models/PatchedBotCreate.ts +0 -17
  67. package/src/models/PatchedDataSet.ts +0 -26
  68. package/src/models/PatchedDiscordConfig.ts +0 -12
  69. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  70. package/src/models/PatchedSlackConfig.ts +0 -13
  71. package/src/models/PatchedSlackUserConfig.ts +0 -22
  72. package/src/models/PatchedTeamsConfig.ts +0 -12
  73. package/src/models/PatchedTrainingCreate.ts +0 -36
  74. package/src/models/PatchedWebexConfig.ts +0 -15
  75. package/src/models/PatchedWhatsappConfig.ts +0 -16
  76. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  77. package/src/models/Provider05cEnum.ts +0 -18
  78. package/src/models/Provider63aEnum.ts +0 -10
  79. package/src/models/SlackConfig.ts +0 -13
  80. package/src/models/SlackUserConfig.ts +0 -22
  81. package/src/models/SlackWebhook.ts +0 -11
  82. package/src/models/TeamsConfig.ts +0 -12
  83. package/src/models/TeamsWebhook.ts +0 -22
  84. package/src/models/Training.ts +0 -46
  85. package/src/models/TrainingCreate.ts +0 -36
  86. package/src/models/WebexConfig.ts +0 -15
  87. package/src/models/WebexWebhook.ts +0 -9
  88. package/src/models/WhatAppWebHook.ts +0 -8
  89. package/src/models/WhatsappConfig.ts +0 -16
  90. package/src/models/WhatsappUserConfig.ts +0 -15
  91. package/src/services/AiBotService.ts +0 -1330
  92. package/src/services/AiFinetuningService.ts +0 -472
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '3.48.3-ai-plus',
117
+ VERSION: '3.48.5-ai',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -235,24 +235,6 @@
235
235
  CourseCreationTaskStatusEnum["IN_PROGRESS"] = "In Progress";
236
236
  })(exports.CourseCreationTaskStatusEnum || (exports.CourseCreationTaskStatusEnum = {}));
237
237
 
238
- /* generated using openapi-typescript-codegen -- do not edit */
239
- /* istanbul ignore file */
240
- /* tslint:disable */
241
- /* eslint-disable */
242
- /**
243
- * * `pending` - Pending
244
- * * `processing` - Processing
245
- * * `completed` - Completed
246
- * * `failed` - Failed
247
- */
248
- exports.DataSetStatusEnum = void 0;
249
- (function (DataSetStatusEnum) {
250
- DataSetStatusEnum["PENDING"] = "pending";
251
- DataSetStatusEnum["PROCESSING"] = "processing";
252
- DataSetStatusEnum["COMPLETED"] = "completed";
253
- DataSetStatusEnum["FAILED"] = "failed";
254
- })(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
255
-
256
238
  /* generated using openapi-typescript-codegen -- do not edit */
257
239
  /* istanbul ignore file */
258
240
  /* tslint:disable */
@@ -535,37 +517,21 @@
535
517
  PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
536
518
  })(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
537
519
 
538
- /* generated using openapi-typescript-codegen -- do not edit */
539
- /* istanbul ignore file */
540
- /* tslint:disable */
541
- /* eslint-disable */
542
- /**
543
- * * `webex` - Webex
544
- * * `slack` - Slack
545
- * * `whatsapp` - Whatsapp
546
- * * `discord` - Discord
547
- * * `teams` - Teams
548
- */
549
- exports.Provider05cEnum = void 0;
550
- (function (Provider05cEnum) {
551
- Provider05cEnum["WEBEX"] = "webex";
552
- Provider05cEnum["SLACK"] = "slack";
553
- Provider05cEnum["WHATSAPP"] = "whatsapp";
554
- Provider05cEnum["DISCORD"] = "discord";
555
- Provider05cEnum["TEAMS"] = "teams";
556
- })(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
557
-
558
520
  /* generated using openapi-typescript-codegen -- do not edit */
559
521
  /* istanbul ignore file */
560
522
  /* tslint:disable */
561
523
  /* eslint-disable */
562
524
  /**
563
525
  * * `openai` - Openai
526
+ * * `google` - Google
527
+ * * `elevenlabs` - Elevenlabs
564
528
  */
565
- exports.Provider63aEnum = void 0;
566
- (function (Provider63aEnum) {
567
- Provider63aEnum["OPENAI"] = "openai";
568
- })(exports.Provider63aEnum || (exports.Provider63aEnum = {}));
529
+ exports.ProviderEnum = void 0;
530
+ (function (ProviderEnum) {
531
+ ProviderEnum["OPENAI"] = "openai";
532
+ ProviderEnum["GOOGLE"] = "google";
533
+ ProviderEnum["ELEVENLABS"] = "elevenlabs";
534
+ })(exports.ProviderEnum || (exports.ProviderEnum = {}));
569
535
 
570
536
  /* generated using openapi-typescript-codegen -- do not edit */
571
537
  /* istanbul ignore file */
@@ -735,22 +701,6 @@
735
701
  TypeC42Enum["ASSESSMENT"] = "assessment";
736
702
  })(exports.TypeC42Enum || (exports.TypeC42Enum = {}));
737
703
 
738
- /* generated using openapi-typescript-codegen -- do not edit */
739
- /* istanbul ignore file */
740
- /* tslint:disable */
741
- /* eslint-disable */
742
- /**
743
- * * `openai` - Openai
744
- * * `google` - Google
745
- * * `elevenlabs` - Elevenlabs
746
- */
747
- exports.VoiceProviderEnum = void 0;
748
- (function (VoiceProviderEnum) {
749
- VoiceProviderEnum["OPENAI"] = "openai";
750
- VoiceProviderEnum["GOOGLE"] = "google";
751
- VoiceProviderEnum["ELEVENLABS"] = "elevenlabs";
752
- })(exports.VoiceProviderEnum || (exports.VoiceProviderEnum = {}));
753
-
754
704
  /* generated using openapi-typescript-codegen -- do not edit */
755
705
  /* istanbul ignore file */
756
706
  /* tslint:disable */
@@ -5727,1347 +5677,6 @@
5727
5677
  }
5728
5678
  }
5729
5679
 
5730
- class AiBotService {
5731
- /**
5732
- * Create modify and update bot information for a specific tenant.
5733
- * @returns Bot
5734
- * @throws ApiError
5735
- */
5736
- static aiBotV1BotsBotList({
5737
- org
5738
- }) {
5739
- return request(OpenAPI, {
5740
- method: 'GET',
5741
- url: '/api/ai-bot/v1/bots/{org}/bot/',
5742
- path: {
5743
- 'org': org
5744
- }
5745
- });
5746
- }
5747
- /**
5748
- * Create modify and update bot information for a specific tenant.
5749
- * @returns BotCreate
5750
- * @throws ApiError
5751
- */
5752
- static aiBotV1BotsBotCreate({
5753
- org,
5754
- requestBody
5755
- }) {
5756
- return request(OpenAPI, {
5757
- method: 'POST',
5758
- url: '/api/ai-bot/v1/bots/{org}/bot/',
5759
- path: {
5760
- 'org': org
5761
- },
5762
- body: requestBody,
5763
- mediaType: 'application/json'
5764
- });
5765
- }
5766
- /**
5767
- * Create slash commands for a specific bot
5768
- * eg. /iblai-baseline
5769
- * @returns BotCommand
5770
- * @throws ApiError
5771
- */
5772
- static aiBotV1BotsBotCommandsList({
5773
- org
5774
- }) {
5775
- return request(OpenAPI, {
5776
- method: 'GET',
5777
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
5778
- path: {
5779
- 'org': org
5780
- }
5781
- });
5782
- }
5783
- /**
5784
- * Create slash commands for a specific bot
5785
- * eg. /iblai-baseline
5786
- * @returns BotCommand
5787
- * @throws ApiError
5788
- */
5789
- static aiBotV1BotsBotCommandsCreate({
5790
- org,
5791
- requestBody
5792
- }) {
5793
- return request(OpenAPI, {
5794
- method: 'POST',
5795
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
5796
- path: {
5797
- 'org': org
5798
- },
5799
- body: requestBody,
5800
- mediaType: 'application/json'
5801
- });
5802
- }
5803
- /**
5804
- * Create slash commands for a specific bot
5805
- * eg. /iblai-baseline
5806
- * @returns BotCommand
5807
- * @throws ApiError
5808
- */
5809
- static aiBotV1BotsBotCommandsRetrieve({
5810
- id,
5811
- org
5812
- }) {
5813
- return request(OpenAPI, {
5814
- method: 'GET',
5815
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
5816
- path: {
5817
- 'id': id,
5818
- 'org': org
5819
- }
5820
- });
5821
- }
5822
- /**
5823
- * Create slash commands for a specific bot
5824
- * eg. /iblai-baseline
5825
- * @returns BotCommand
5826
- * @throws ApiError
5827
- */
5828
- static aiBotV1BotsBotCommandsUpdate({
5829
- id,
5830
- org,
5831
- requestBody
5832
- }) {
5833
- return request(OpenAPI, {
5834
- method: 'PUT',
5835
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
5836
- path: {
5837
- 'id': id,
5838
- 'org': org
5839
- },
5840
- body: requestBody,
5841
- mediaType: 'application/json'
5842
- });
5843
- }
5844
- /**
5845
- * Create slash commands for a specific bot
5846
- * eg. /iblai-baseline
5847
- * @returns BotCommand
5848
- * @throws ApiError
5849
- */
5850
- static aiBotV1BotsBotCommandsPartialUpdate({
5851
- id,
5852
- org,
5853
- requestBody
5854
- }) {
5855
- return request(OpenAPI, {
5856
- method: 'PATCH',
5857
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
5858
- path: {
5859
- 'id': id,
5860
- 'org': org
5861
- },
5862
- body: requestBody,
5863
- mediaType: 'application/json'
5864
- });
5865
- }
5866
- /**
5867
- * Create slash commands for a specific bot
5868
- * eg. /iblai-baseline
5869
- * @returns void
5870
- * @throws ApiError
5871
- */
5872
- static aiBotV1BotsBotCommandsDestroy({
5873
- id,
5874
- org
5875
- }) {
5876
- return request(OpenAPI, {
5877
- method: 'DELETE',
5878
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
5879
- path: {
5880
- 'id': id,
5881
- 'org': org
5882
- }
5883
- });
5884
- }
5885
- /**
5886
- * Create modify and update bot information for a specific tenant.
5887
- * @returns Bot
5888
- * @throws ApiError
5889
- */
5890
- static aiBotV1BotsBotRetrieve({
5891
- id,
5892
- org
5893
- }) {
5894
- return request(OpenAPI, {
5895
- method: 'GET',
5896
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
5897
- path: {
5898
- 'id': id,
5899
- 'org': org
5900
- }
5901
- });
5902
- }
5903
- /**
5904
- * Create modify and update bot information for a specific tenant.
5905
- * @returns BotCreate
5906
- * @throws ApiError
5907
- */
5908
- static aiBotV1BotsBotUpdate({
5909
- id,
5910
- org,
5911
- requestBody
5912
- }) {
5913
- return request(OpenAPI, {
5914
- method: 'PUT',
5915
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
5916
- path: {
5917
- 'id': id,
5918
- 'org': org
5919
- },
5920
- body: requestBody,
5921
- mediaType: 'application/json'
5922
- });
5923
- }
5924
- /**
5925
- * Create modify and update bot information for a specific tenant.
5926
- * @returns BotCreate
5927
- * @throws ApiError
5928
- */
5929
- static aiBotV1BotsBotPartialUpdate({
5930
- id,
5931
- org,
5932
- requestBody
5933
- }) {
5934
- return request(OpenAPI, {
5935
- method: 'PATCH',
5936
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
5937
- path: {
5938
- 'id': id,
5939
- 'org': org
5940
- },
5941
- body: requestBody,
5942
- mediaType: 'application/json'
5943
- });
5944
- }
5945
- /**
5946
- * Create modify and update bot information for a specific tenant.
5947
- * @returns void
5948
- * @throws ApiError
5949
- */
5950
- static aiBotV1BotsBotDestroy({
5951
- id,
5952
- org
5953
- }) {
5954
- return request(OpenAPI, {
5955
- method: 'DELETE',
5956
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
5957
- path: {
5958
- 'id': id,
5959
- 'org': org
5960
- }
5961
- });
5962
- }
5963
- /**
5964
- * Create modify and update bot information for a specific tenant.
5965
- * @returns DiscordConfig
5966
- * @throws ApiError
5967
- */
5968
- static aiBotV1BotsBotConfigDiscordRetrieve({
5969
- id,
5970
- org
5971
- }) {
5972
- return request(OpenAPI, {
5973
- method: 'GET',
5974
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
5975
- path: {
5976
- 'id': id,
5977
- 'org': org
5978
- }
5979
- });
5980
- }
5981
- /**
5982
- * Create modify and update bot information for a specific tenant.
5983
- * @returns DiscordConfig
5984
- * @throws ApiError
5985
- */
5986
- static aiBotV1BotsBotConfigDiscordPartialUpdate({
5987
- id,
5988
- org,
5989
- requestBody
5990
- }) {
5991
- return request(OpenAPI, {
5992
- method: 'PATCH',
5993
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
5994
- path: {
5995
- 'id': id,
5996
- 'org': org
5997
- },
5998
- body: requestBody,
5999
- mediaType: 'application/json'
6000
- });
6001
- }
6002
- /**
6003
- * Create modify and update bot information for a specific tenant.
6004
- * @returns SlackConfig
6005
- * @throws ApiError
6006
- */
6007
- static aiBotV1BotsBotConfigSlackRetrieve({
6008
- id,
6009
- org
6010
- }) {
6011
- return request(OpenAPI, {
6012
- method: 'GET',
6013
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
6014
- path: {
6015
- 'id': id,
6016
- 'org': org
6017
- }
6018
- });
6019
- }
6020
- /**
6021
- * Create modify and update bot information for a specific tenant.
6022
- * @returns SlackConfig
6023
- * @throws ApiError
6024
- */
6025
- static aiBotV1BotsBotConfigSlackUpdateCreate({
6026
- id,
6027
- org,
6028
- requestBody
6029
- }) {
6030
- return request(OpenAPI, {
6031
- method: 'POST',
6032
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
6033
- path: {
6034
- 'id': id,
6035
- 'org': org
6036
- },
6037
- body: requestBody,
6038
- mediaType: 'application/json'
6039
- });
6040
- }
6041
- /**
6042
- * Create modify and update bot information for a specific tenant.
6043
- * @returns SlackConfig
6044
- * @throws ApiError
6045
- */
6046
- static aiBotV1BotsBotConfigSlackUpdateUpdate({
6047
- id,
6048
- org,
6049
- requestBody
6050
- }) {
6051
- return request(OpenAPI, {
6052
- method: 'PUT',
6053
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
6054
- path: {
6055
- 'id': id,
6056
- 'org': org
6057
- },
6058
- body: requestBody,
6059
- mediaType: 'application/json'
6060
- });
6061
- }
6062
- /**
6063
- * Create modify and update bot information for a specific tenant.
6064
- * @returns SlackConfig
6065
- * @throws ApiError
6066
- */
6067
- static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
6068
- id,
6069
- org,
6070
- requestBody
6071
- }) {
6072
- return request(OpenAPI, {
6073
- method: 'PATCH',
6074
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
6075
- path: {
6076
- 'id': id,
6077
- 'org': org
6078
- },
6079
- body: requestBody,
6080
- mediaType: 'application/json'
6081
- });
6082
- }
6083
- /**
6084
- * Create modify and update bot information for a specific tenant.
6085
- * @returns TeamsConfig
6086
- * @throws ApiError
6087
- */
6088
- static aiBotV1BotsBotConfigTeamsRetrieve({
6089
- id,
6090
- org
6091
- }) {
6092
- return request(OpenAPI, {
6093
- method: 'GET',
6094
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
6095
- path: {
6096
- 'id': id,
6097
- 'org': org
6098
- }
6099
- });
6100
- }
6101
- /**
6102
- * Create modify and update bot information for a specific tenant.
6103
- * @returns TeamsConfig
6104
- * @throws ApiError
6105
- */
6106
- static aiBotV1BotsBotConfigTeamsUpdateCreate({
6107
- id,
6108
- org,
6109
- requestBody
6110
- }) {
6111
- return request(OpenAPI, {
6112
- method: 'POST',
6113
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
6114
- path: {
6115
- 'id': id,
6116
- 'org': org
6117
- },
6118
- body: requestBody,
6119
- mediaType: 'application/json'
6120
- });
6121
- }
6122
- /**
6123
- * Create modify and update bot information for a specific tenant.
6124
- * @returns TeamsConfig
6125
- * @throws ApiError
6126
- */
6127
- static aiBotV1BotsBotConfigTeamsUpdateUpdate({
6128
- id,
6129
- org,
6130
- requestBody
6131
- }) {
6132
- return request(OpenAPI, {
6133
- method: 'PUT',
6134
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
6135
- path: {
6136
- 'id': id,
6137
- 'org': org
6138
- },
6139
- body: requestBody,
6140
- mediaType: 'application/json'
6141
- });
6142
- }
6143
- /**
6144
- * Create modify and update bot information for a specific tenant.
6145
- * @returns TeamsConfig
6146
- * @throws ApiError
6147
- */
6148
- static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
6149
- id,
6150
- org,
6151
- requestBody
6152
- }) {
6153
- return request(OpenAPI, {
6154
- method: 'PATCH',
6155
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
6156
- path: {
6157
- 'id': id,
6158
- 'org': org
6159
- },
6160
- body: requestBody,
6161
- mediaType: 'application/json'
6162
- });
6163
- }
6164
- /**
6165
- * Create modify and update bot information for a specific tenant.
6166
- * @returns WebexConfig
6167
- * @throws ApiError
6168
- */
6169
- static aiBotV1BotsBotConfigWebexRetrieve({
6170
- id,
6171
- org
6172
- }) {
6173
- return request(OpenAPI, {
6174
- method: 'GET',
6175
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
6176
- path: {
6177
- 'id': id,
6178
- 'org': org
6179
- }
6180
- });
6181
- }
6182
- /**
6183
- * Create modify and update bot information for a specific tenant.
6184
- * @returns WebexConfig
6185
- * @throws ApiError
6186
- */
6187
- static aiBotV1BotsBotConfigWebexPartialUpdate({
6188
- id,
6189
- org,
6190
- requestBody
6191
- }) {
6192
- return request(OpenAPI, {
6193
- method: 'PATCH',
6194
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
6195
- path: {
6196
- 'id': id,
6197
- 'org': org
6198
- },
6199
- body: requestBody,
6200
- mediaType: 'application/json'
6201
- });
6202
- }
6203
- /**
6204
- * Create modify and update bot information for a specific tenant.
6205
- * @returns WhatsappConfig
6206
- * @throws ApiError
6207
- */
6208
- static aiBotV1BotsBotConfigWhatsappRetrieve({
6209
- id,
6210
- org
6211
- }) {
6212
- return request(OpenAPI, {
6213
- method: 'GET',
6214
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
6215
- path: {
6216
- 'id': id,
6217
- 'org': org
6218
- }
6219
- });
6220
- }
6221
- /**
6222
- * Create modify and update bot information for a specific tenant.
6223
- * @returns WhatsappConfig
6224
- * @throws ApiError
6225
- */
6226
- static aiBotV1BotsBotWhatsappConfigUpdate({
6227
- id,
6228
- org,
6229
- requestBody
6230
- }) {
6231
- return request(OpenAPI, {
6232
- method: 'PUT',
6233
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
6234
- path: {
6235
- 'id': id,
6236
- 'org': org
6237
- },
6238
- body: requestBody,
6239
- mediaType: 'application/json'
6240
- });
6241
- }
6242
- /**
6243
- * Create modify and update bot information for a specific tenant.
6244
- * @returns WhatsappConfig
6245
- * @throws ApiError
6246
- */
6247
- static aiBotV1BotsBotWhatsappConfigPartialUpdate({
6248
- id,
6249
- org,
6250
- requestBody
6251
- }) {
6252
- return request(OpenAPI, {
6253
- method: 'PATCH',
6254
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
6255
- path: {
6256
- 'id': id,
6257
- 'org': org
6258
- },
6259
- body: requestBody,
6260
- mediaType: 'application/json'
6261
- });
6262
- }
6263
- /**
6264
- * Setup discord user id linkage with discord bots
6265
- * this will be used to authenticate the user when interracting with discord bots.
6266
- * the user id can be copied from the discord app after tapping on the user profile.
6267
- * @returns DiscordUserConfig
6268
- * @throws ApiError
6269
- */
6270
- static aiBotV1BotsDiscordUserConfigList({
6271
- org
6272
- }) {
6273
- return request(OpenAPI, {
6274
- method: 'GET',
6275
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
6276
- path: {
6277
- 'org': org
6278
- }
6279
- });
6280
- }
6281
- /**
6282
- * Setup discord user id linkage with discord bots
6283
- * this will be used to authenticate the user when interracting with discord bots.
6284
- * the user id can be copied from the discord app after tapping on the user profile.
6285
- * @returns DiscordUserConfig
6286
- * @throws ApiError
6287
- */
6288
- static aiBotV1BotsDiscordUserConfigCreate({
6289
- org,
6290
- requestBody
6291
- }) {
6292
- return request(OpenAPI, {
6293
- method: 'POST',
6294
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
6295
- path: {
6296
- 'org': org
6297
- },
6298
- body: requestBody,
6299
- mediaType: 'application/json'
6300
- });
6301
- }
6302
- /**
6303
- * Setup discord user id linkage with discord bots
6304
- * this will be used to authenticate the user when interracting with discord bots.
6305
- * the user id can be copied from the discord app after tapping on the user profile.
6306
- * @returns DiscordUserConfig
6307
- * @throws ApiError
6308
- */
6309
- static aiBotV1BotsDiscordUserConfigRetrieve({
6310
- id,
6311
- org
6312
- }) {
6313
- return request(OpenAPI, {
6314
- method: 'GET',
6315
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
6316
- path: {
6317
- 'id': id,
6318
- 'org': org
6319
- }
6320
- });
6321
- }
6322
- /**
6323
- * Setup discord user id linkage with discord bots
6324
- * this will be used to authenticate the user when interracting with discord bots.
6325
- * the user id can be copied from the discord app after tapping on the user profile.
6326
- * @returns DiscordUserConfig
6327
- * @throws ApiError
6328
- */
6329
- static aiBotV1BotsDiscordUserConfigUpdate({
6330
- id,
6331
- org,
6332
- requestBody
6333
- }) {
6334
- return request(OpenAPI, {
6335
- method: 'PUT',
6336
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
6337
- path: {
6338
- 'id': id,
6339
- 'org': org
6340
- },
6341
- body: requestBody,
6342
- mediaType: 'application/json'
6343
- });
6344
- }
6345
- /**
6346
- * Setup discord user id linkage with discord bots
6347
- * this will be used to authenticate the user when interracting with discord bots.
6348
- * the user id can be copied from the discord app after tapping on the user profile.
6349
- * @returns DiscordUserConfig
6350
- * @throws ApiError
6351
- */
6352
- static aiBotV1BotsDiscordUserConfigPartialUpdate({
6353
- id,
6354
- org,
6355
- requestBody
6356
- }) {
6357
- return request(OpenAPI, {
6358
- method: 'PATCH',
6359
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
6360
- path: {
6361
- 'id': id,
6362
- 'org': org
6363
- },
6364
- body: requestBody,
6365
- mediaType: 'application/json'
6366
- });
6367
- }
6368
- /**
6369
- * Setup discord user id linkage with discord bots
6370
- * this will be used to authenticate the user when interracting with discord bots.
6371
- * the user id can be copied from the discord app after tapping on the user profile.
6372
- * @returns void
6373
- * @throws ApiError
6374
- */
6375
- static aiBotV1BotsDiscordUserConfigDestroy({
6376
- id,
6377
- org
6378
- }) {
6379
- return request(OpenAPI, {
6380
- method: 'DELETE',
6381
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
6382
- path: {
6383
- 'id': id,
6384
- 'org': org
6385
- }
6386
- });
6387
- }
6388
- /**
6389
- * Setup slack username and domain linkage with slack bots
6390
- * this will be used to authenticate the user when interracting with slack bots.
6391
- * @returns SlackUserConfig
6392
- * @throws ApiError
6393
- */
6394
- static aiBotV1BotsSlackUserConfigList({
6395
- org
6396
- }) {
6397
- return request(OpenAPI, {
6398
- method: 'GET',
6399
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
6400
- path: {
6401
- 'org': org
6402
- }
6403
- });
6404
- }
6405
- /**
6406
- * Setup slack username and domain linkage with slack bots
6407
- * this will be used to authenticate the user when interracting with slack bots.
6408
- * @returns SlackUserConfig
6409
- * @throws ApiError
6410
- */
6411
- static aiBotV1BotsSlackUserConfigCreate({
6412
- org,
6413
- requestBody
6414
- }) {
6415
- return request(OpenAPI, {
6416
- method: 'POST',
6417
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
6418
- path: {
6419
- 'org': org
6420
- },
6421
- body: requestBody,
6422
- mediaType: 'application/json'
6423
- });
6424
- }
6425
- /**
6426
- * Setup slack username and domain linkage with slack bots
6427
- * this will be used to authenticate the user when interracting with slack bots.
6428
- * @returns SlackUserConfig
6429
- * @throws ApiError
6430
- */
6431
- static aiBotV1BotsSlackUserConfigRetrieve({
6432
- id,
6433
- org
6434
- }) {
6435
- return request(OpenAPI, {
6436
- method: 'GET',
6437
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
6438
- path: {
6439
- 'id': id,
6440
- 'org': org
6441
- }
6442
- });
6443
- }
6444
- /**
6445
- * Setup slack username and domain linkage with slack bots
6446
- * this will be used to authenticate the user when interracting with slack bots.
6447
- * @returns SlackUserConfig
6448
- * @throws ApiError
6449
- */
6450
- static aiBotV1BotsSlackUserConfigUpdate({
6451
- id,
6452
- org,
6453
- requestBody
6454
- }) {
6455
- return request(OpenAPI, {
6456
- method: 'PUT',
6457
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
6458
- path: {
6459
- 'id': id,
6460
- 'org': org
6461
- },
6462
- body: requestBody,
6463
- mediaType: 'application/json'
6464
- });
6465
- }
6466
- /**
6467
- * Setup slack username and domain linkage with slack bots
6468
- * this will be used to authenticate the user when interracting with slack bots.
6469
- * @returns SlackUserConfig
6470
- * @throws ApiError
6471
- */
6472
- static aiBotV1BotsSlackUserConfigPartialUpdate({
6473
- id,
6474
- org,
6475
- requestBody
6476
- }) {
6477
- return request(OpenAPI, {
6478
- method: 'PATCH',
6479
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
6480
- path: {
6481
- 'id': id,
6482
- 'org': org
6483
- },
6484
- body: requestBody,
6485
- mediaType: 'application/json'
6486
- });
6487
- }
6488
- /**
6489
- * Setup slack username and domain linkage with slack bots
6490
- * this will be used to authenticate the user when interracting with slack bots.
6491
- * @returns void
6492
- * @throws ApiError
6493
- */
6494
- static aiBotV1BotsSlackUserConfigDestroy({
6495
- id,
6496
- org
6497
- }) {
6498
- return request(OpenAPI, {
6499
- method: 'DELETE',
6500
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
6501
- path: {
6502
- 'id': id,
6503
- 'org': org
6504
- }
6505
- });
6506
- }
6507
- /**
6508
- * Setup phone number linkage with whatsapp bots
6509
- * This phone number will be used to authenticate and allow access to whatsapp bots.
6510
- * @returns WhatsappUserConfig
6511
- * @throws ApiError
6512
- */
6513
- static aiBotV1BotsWhatsappUserConfigList({
6514
- org
6515
- }) {
6516
- return request(OpenAPI, {
6517
- method: 'GET',
6518
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
6519
- path: {
6520
- 'org': org
6521
- }
6522
- });
6523
- }
6524
- /**
6525
- * Setup phone number linkage with whatsapp bots
6526
- * This phone number will be used to authenticate and allow access to whatsapp bots.
6527
- * @returns WhatsappUserConfig
6528
- * @throws ApiError
6529
- */
6530
- static aiBotV1BotsWhatsappUserConfigCreate({
6531
- org,
6532
- requestBody
6533
- }) {
6534
- return request(OpenAPI, {
6535
- method: 'POST',
6536
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
6537
- path: {
6538
- 'org': org
6539
- },
6540
- body: requestBody,
6541
- mediaType: 'application/json'
6542
- });
6543
- }
6544
- /**
6545
- * Setup phone number linkage with whatsapp bots
6546
- * This phone number will be used to authenticate and allow access to whatsapp bots.
6547
- * @returns WhatsappUserConfig
6548
- * @throws ApiError
6549
- */
6550
- static aiBotV1BotsWhatsappUserConfigRetrieve({
6551
- id,
6552
- org
6553
- }) {
6554
- return request(OpenAPI, {
6555
- method: 'GET',
6556
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
6557
- path: {
6558
- 'id': id,
6559
- 'org': org
6560
- }
6561
- });
6562
- }
6563
- /**
6564
- * Setup phone number linkage with whatsapp bots
6565
- * This phone number will be used to authenticate and allow access to whatsapp bots.
6566
- * @returns WhatsappUserConfig
6567
- * @throws ApiError
6568
- */
6569
- static aiBotV1BotsWhatsappUserConfigUpdate({
6570
- id,
6571
- org,
6572
- requestBody
6573
- }) {
6574
- return request(OpenAPI, {
6575
- method: 'PUT',
6576
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
6577
- path: {
6578
- 'id': id,
6579
- 'org': org
6580
- },
6581
- body: requestBody,
6582
- mediaType: 'application/json'
6583
- });
6584
- }
6585
- /**
6586
- * Setup phone number linkage with whatsapp bots
6587
- * This phone number will be used to authenticate and allow access to whatsapp bots.
6588
- * @returns WhatsappUserConfig
6589
- * @throws ApiError
6590
- */
6591
- static aiBotV1BotsWhatsappUserConfigPartialUpdate({
6592
- id,
6593
- org,
6594
- requestBody
6595
- }) {
6596
- return request(OpenAPI, {
6597
- method: 'PATCH',
6598
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
6599
- path: {
6600
- 'id': id,
6601
- 'org': org
6602
- },
6603
- body: requestBody,
6604
- mediaType: 'application/json'
6605
- });
6606
- }
6607
- /**
6608
- * Setup phone number linkage with whatsapp bots
6609
- * This phone number will be used to authenticate and allow access to whatsapp bots.
6610
- * @returns void
6611
- * @throws ApiError
6612
- */
6613
- static aiBotV1BotsWhatsappUserConfigDestroy({
6614
- id,
6615
- org
6616
- }) {
6617
- return request(OpenAPI, {
6618
- method: 'DELETE',
6619
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
6620
- path: {
6621
- 'id': id,
6622
- 'org': org
6623
- }
6624
- });
6625
- }
6626
- /**
6627
- * Webhook endpoint to receive and process discord messages.
6628
- * @returns DiscordWebhook
6629
- * @throws ApiError
6630
- */
6631
- static aiBotV1BotsWebhooksDiscordCreate({
6632
- name,
6633
- org,
6634
- requestBody
6635
- }) {
6636
- return request(OpenAPI, {
6637
- method: 'POST',
6638
- url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
6639
- path: {
6640
- 'name': name,
6641
- 'org': org
6642
- },
6643
- body: requestBody,
6644
- mediaType: 'application/json'
6645
- });
6646
- }
6647
- /**
6648
- * @returns SlackWebhook
6649
- * @throws ApiError
6650
- */
6651
- static aiBotV1BotsWebhooksSlackCreate({
6652
- name,
6653
- org,
6654
- requestBody
6655
- }) {
6656
- return request(OpenAPI, {
6657
- method: 'POST',
6658
- url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
6659
- path: {
6660
- 'name': name,
6661
- 'org': org
6662
- },
6663
- body: requestBody,
6664
- mediaType: 'application/json'
6665
- });
6666
- }
6667
- /**
6668
- * @returns TeamsWebhook
6669
- * @throws ApiError
6670
- */
6671
- static aiBotV1BotsWebhooksTeamsCreate({
6672
- name,
6673
- org,
6674
- requestBody
6675
- }) {
6676
- return request(OpenAPI, {
6677
- method: 'POST',
6678
- url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
6679
- path: {
6680
- 'name': name,
6681
- 'org': org
6682
- },
6683
- body: requestBody,
6684
- mediaType: 'application/json'
6685
- });
6686
- }
6687
- /**
6688
- * Webhook endpoint to receive and process discord messages.
6689
- * @returns WebexWebhook
6690
- * @throws ApiError
6691
- */
6692
- static aiBotV1BotsWebhooksWebexCreate({
6693
- name,
6694
- org,
6695
- requestBody
6696
- }) {
6697
- return request(OpenAPI, {
6698
- method: 'POST',
6699
- url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
6700
- path: {
6701
- 'name': name,
6702
- 'org': org
6703
- },
6704
- body: requestBody,
6705
- mediaType: 'application/json'
6706
- });
6707
- }
6708
- /**
6709
- * Respond to whatsapp's webhook challenge.
6710
- * Parameters Required include the tenant key (org) and the name of the bot: (name)
6711
- * @returns WhatAppWebHook
6712
- * @throws ApiError
6713
- */
6714
- static aiBotV1BotsWebhooksWhatsappRetrieve({
6715
- name,
6716
- org
6717
- }) {
6718
- return request(OpenAPI, {
6719
- method: 'GET',
6720
- url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
6721
- path: {
6722
- 'name': name,
6723
- 'org': org
6724
- }
6725
- });
6726
- }
6727
- /**
6728
- * Accept and process webhook events from whatsapp.
6729
- * @returns WhatAppWebHook
6730
- * @throws ApiError
6731
- */
6732
- static aiBotV1BotsWebhooksWhatsappCreate({
6733
- name,
6734
- org,
6735
- requestBody
6736
- }) {
6737
- return request(OpenAPI, {
6738
- method: 'POST',
6739
- url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
6740
- path: {
6741
- 'name': name,
6742
- 'org': org
6743
- },
6744
- body: requestBody,
6745
- mediaType: 'application/json'
6746
- });
6747
- }
6748
- }
6749
-
6750
- class AiFinetuningService {
6751
- /**
6752
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6753
- * @returns PaginatedDataSetList
6754
- * @throws ApiError
6755
- */
6756
- static aiFinetuningV1OrgUserDatasetsList({
6757
- org,
6758
- username,
6759
- dateCreated,
6760
- numDataPoints,
6761
- ordering,
6762
- page,
6763
- pageSize,
6764
- retryAttempts,
6765
- search,
6766
- status
6767
- }) {
6768
- return request(OpenAPI, {
6769
- method: 'GET',
6770
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
6771
- path: {
6772
- 'org': org,
6773
- 'username': username
6774
- },
6775
- query: {
6776
- 'date_created': dateCreated,
6777
- 'num_data_points': numDataPoints,
6778
- 'ordering': ordering,
6779
- 'page': page,
6780
- 'page_size': pageSize,
6781
- 'retry_attempts': retryAttempts,
6782
- 'search': search,
6783
- 'status': status
6784
- }
6785
- });
6786
- }
6787
- /**
6788
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6789
- * @returns DataSetCreate
6790
- * @throws ApiError
6791
- */
6792
- static aiFinetuningV1OrgUserDatasetsCreate({
6793
- org,
6794
- username,
6795
- requestBody
6796
- }) {
6797
- return request(OpenAPI, {
6798
- method: 'POST',
6799
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
6800
- path: {
6801
- 'org': org,
6802
- 'username': username
6803
- },
6804
- body: requestBody,
6805
- mediaType: 'application/json'
6806
- });
6807
- }
6808
- /**
6809
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6810
- * @returns DataSet
6811
- * @throws ApiError
6812
- */
6813
- static aiFinetuningV1OrgUserDatasetsRetrieve({
6814
- id,
6815
- org,
6816
- username
6817
- }) {
6818
- return request(OpenAPI, {
6819
- method: 'GET',
6820
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
6821
- path: {
6822
- 'id': id,
6823
- 'org': org,
6824
- 'username': username
6825
- }
6826
- });
6827
- }
6828
- /**
6829
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6830
- * @returns DataSet
6831
- * @throws ApiError
6832
- */
6833
- static aiFinetuningV1OrgUserDatasetsUpdate({
6834
- id,
6835
- org,
6836
- username,
6837
- requestBody
6838
- }) {
6839
- return request(OpenAPI, {
6840
- method: 'PUT',
6841
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
6842
- path: {
6843
- 'id': id,
6844
- 'org': org,
6845
- 'username': username
6846
- },
6847
- body: requestBody,
6848
- mediaType: 'application/json'
6849
- });
6850
- }
6851
- /**
6852
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6853
- * @returns DataSet
6854
- * @throws ApiError
6855
- */
6856
- static aiFinetuningV1OrgUserDatasetsPartialUpdate({
6857
- id,
6858
- org,
6859
- username,
6860
- requestBody
6861
- }) {
6862
- return request(OpenAPI, {
6863
- method: 'PATCH',
6864
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
6865
- path: {
6866
- 'id': id,
6867
- 'org': org,
6868
- 'username': username
6869
- },
6870
- body: requestBody,
6871
- mediaType: 'application/json'
6872
- });
6873
- }
6874
- /**
6875
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6876
- * @returns void
6877
- * @throws ApiError
6878
- */
6879
- static aiFinetuningV1OrgUserDatasetsDestroy({
6880
- id,
6881
- org,
6882
- username
6883
- }) {
6884
- return request(OpenAPI, {
6885
- method: 'DELETE',
6886
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
6887
- path: {
6888
- 'id': id,
6889
- 'org': org,
6890
- 'username': username
6891
- }
6892
- });
6893
- }
6894
- /**
6895
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6896
- * @returns PaginatedTrainingList
6897
- * @throws ApiError
6898
- */
6899
- static aiFinetuningV1OrgUserTrainingsList({
6900
- org,
6901
- username,
6902
- baseModelName,
6903
- dataset,
6904
- dateCreated,
6905
- fineTunedModel,
6906
- lastModified,
6907
- ordering,
6908
- page,
6909
- pageSize,
6910
- preprocessDataset,
6911
- provider,
6912
- search,
6913
- status
6914
- }) {
6915
- return request(OpenAPI, {
6916
- method: 'GET',
6917
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
6918
- path: {
6919
- 'org': org,
6920
- 'username': username
6921
- },
6922
- query: {
6923
- 'base_model_name': baseModelName,
6924
- 'dataset': dataset,
6925
- 'date_created': dateCreated,
6926
- 'fine_tuned_model': fineTunedModel,
6927
- 'last_modified': lastModified,
6928
- 'ordering': ordering,
6929
- 'page': page,
6930
- 'page_size': pageSize,
6931
- 'preprocess_dataset': preprocessDataset,
6932
- 'provider': provider,
6933
- 'search': search,
6934
- 'status': status
6935
- }
6936
- });
6937
- }
6938
- /**
6939
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6940
- * @returns TrainingCreate
6941
- * @throws ApiError
6942
- */
6943
- static aiFinetuningV1OrgUserTrainingsCreate({
6944
- org,
6945
- username,
6946
- requestBody
6947
- }) {
6948
- return request(OpenAPI, {
6949
- method: 'POST',
6950
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
6951
- path: {
6952
- 'org': org,
6953
- 'username': username
6954
- },
6955
- body: requestBody,
6956
- mediaType: 'application/json'
6957
- });
6958
- }
6959
- /**
6960
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6961
- * @returns Training
6962
- * @throws ApiError
6963
- */
6964
- static aiFinetuningV1OrgUserTrainingsRetrieve({
6965
- id,
6966
- org,
6967
- username
6968
- }) {
6969
- return request(OpenAPI, {
6970
- method: 'GET',
6971
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
6972
- path: {
6973
- 'id': id,
6974
- 'org': org,
6975
- 'username': username
6976
- }
6977
- });
6978
- }
6979
- /**
6980
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
6981
- * @returns TrainingCreate
6982
- * @throws ApiError
6983
- */
6984
- static aiFinetuningV1OrgUserTrainingsUpdate({
6985
- id,
6986
- org,
6987
- username,
6988
- requestBody
6989
- }) {
6990
- return request(OpenAPI, {
6991
- method: 'PUT',
6992
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
6993
- path: {
6994
- 'id': id,
6995
- 'org': org,
6996
- 'username': username
6997
- },
6998
- body: requestBody,
6999
- mediaType: 'application/json'
7000
- });
7001
- }
7002
- /**
7003
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
7004
- * @returns TrainingCreate
7005
- * @throws ApiError
7006
- */
7007
- static aiFinetuningV1OrgUserTrainingsPartialUpdate({
7008
- id,
7009
- org,
7010
- username,
7011
- requestBody
7012
- }) {
7013
- return request(OpenAPI, {
7014
- method: 'PATCH',
7015
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
7016
- path: {
7017
- 'id': id,
7018
- 'org': org,
7019
- 'username': username
7020
- },
7021
- body: requestBody,
7022
- mediaType: 'application/json'
7023
- });
7024
- }
7025
- /**
7026
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
7027
- * @returns void
7028
- * @throws ApiError
7029
- */
7030
- static aiFinetuningV1OrgUserTrainingsDestroy({
7031
- id,
7032
- org,
7033
- username
7034
- }) {
7035
- return request(OpenAPI, {
7036
- method: 'DELETE',
7037
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
7038
- path: {
7039
- 'id': id,
7040
- 'org': org,
7041
- 'username': username
7042
- }
7043
- });
7044
- }
7045
- /**
7046
- * Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
7047
- * Filtering and pagination is allowed.
7048
- *
7049
- * NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
7050
- * training list endpoint.
7051
- * Returns:
7052
- * Response: A paginated response containing the serialized fine-tuned models.
7053
- * @returns Training
7054
- * @throws ApiError
7055
- */
7056
- static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
7057
- org,
7058
- username
7059
- }) {
7060
- return request(OpenAPI, {
7061
- method: 'GET',
7062
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
7063
- path: {
7064
- 'org': org,
7065
- 'username': username
7066
- }
7067
- });
7068
- }
7069
- }
7070
-
7071
5680
  class AiIndexService {
7072
5681
  /**
7073
5682
  * Retrieve details of a specific document embedding.
@@ -34887,8 +33496,6 @@
34887
33496
 
34888
33497
  exports.AiAccountService = AiAccountService;
34889
33498
  exports.AiAnalyticsService = AiAnalyticsService;
34890
- exports.AiBotService = AiBotService;
34891
- exports.AiFinetuningService = AiFinetuningService;
34892
33499
  exports.AiIndexService = AiIndexService;
34893
33500
  exports.AiMarketingService = AiMarketingService;
34894
33501
  exports.AiMediaService = AiMediaService;