@iblai/iblai-api 4.7.2-ai-plus → 4.7.3-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/index.cjs.js +1 -1394
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +2 -1393
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +1 -1394
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +0 -39
  8. package/package.json +1 -1
  9. package/src/core/OpenAPI.ts +1 -1
  10. package/src/index.ts +0 -39
  11. package/dist/types/models/Bot.d.ts +0 -15
  12. package/dist/types/models/BotCommand.d.ts +0 -6
  13. package/dist/types/models/BotCreate.d.ts +0 -12
  14. package/dist/types/models/DataSet.d.ts +0 -21
  15. package/dist/types/models/DataSetCreate.d.ts +0 -12
  16. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  17. package/dist/types/models/DiscordConfig.d.ts +0 -7
  18. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  19. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  20. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  21. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  22. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  23. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  24. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  25. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  26. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  27. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  28. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  29. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  30. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  31. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  32. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  33. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  34. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  35. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  36. package/dist/types/models/SlackConfig.d.ts +0 -8
  37. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  38. package/dist/types/models/SlackWebhook.d.ts +0 -6
  39. package/dist/types/models/TeamsConfig.d.ts +0 -7
  40. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  41. package/dist/types/models/Training.d.ts +0 -41
  42. package/dist/types/models/TrainingCreate.d.ts +0 -31
  43. package/dist/types/models/WebexConfig.d.ts +0 -10
  44. package/dist/types/models/WebexWebhook.d.ts +0 -4
  45. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  46. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  47. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  48. package/dist/types/services/AiBotService.d.ts +0 -642
  49. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  50. package/src/models/Bot.ts +0 -20
  51. package/src/models/BotCommand.ts +0 -11
  52. package/src/models/BotCreate.ts +0 -17
  53. package/src/models/DataSet.ts +0 -26
  54. package/src/models/DataSetCreate.ts +0 -17
  55. package/src/models/DataSetStatusEnum.ts +0 -16
  56. package/src/models/DiscordConfig.ts +0 -12
  57. package/src/models/DiscordUserConfig.ts +0 -15
  58. package/src/models/DiscordWebhook.ts +0 -11
  59. package/src/models/PaginatedDataSetList.ts +0 -12
  60. package/src/models/PaginatedTrainingList.ts +0 -12
  61. package/src/models/PatchedBotCommand.ts +0 -11
  62. package/src/models/PatchedBotCreate.ts +0 -17
  63. package/src/models/PatchedDataSet.ts +0 -26
  64. package/src/models/PatchedDiscordConfig.ts +0 -12
  65. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  66. package/src/models/PatchedSlackConfig.ts +0 -13
  67. package/src/models/PatchedSlackUserConfig.ts +0 -22
  68. package/src/models/PatchedTeamsConfig.ts +0 -12
  69. package/src/models/PatchedTrainingCreate.ts +0 -36
  70. package/src/models/PatchedWebexConfig.ts +0 -15
  71. package/src/models/PatchedWhatsappConfig.ts +0 -16
  72. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  73. package/src/models/Provider05cEnum.ts +0 -18
  74. package/src/models/Provider63aEnum.ts +0 -10
  75. package/src/models/SlackConfig.ts +0 -13
  76. package/src/models/SlackUserConfig.ts +0 -22
  77. package/src/models/SlackWebhook.ts +0 -11
  78. package/src/models/TeamsConfig.ts +0 -12
  79. package/src/models/TeamsWebhook.ts +0 -22
  80. package/src/models/Training.ts +0 -46
  81. package/src/models/TrainingCreate.ts +0 -36
  82. package/src/models/WebexConfig.ts +0 -15
  83. package/src/models/WebexWebhook.ts +0 -9
  84. package/src/models/WhatAppWebHook.ts +0 -8
  85. package/src/models/WhatsappConfig.ts +0 -16
  86. package/src/models/WhatsappUserConfig.ts +0 -15
  87. package/src/services/AiBotService.ts +0 -1330
  88. 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: '4.7.2-ai-plus',
117
+ VERSION: '4.7.3-ai',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -275,24 +275,6 @@
275
275
  CrawlerPatternTypeEnum["REGEX"] = "regex";
276
276
  })(exports.CrawlerPatternTypeEnum || (exports.CrawlerPatternTypeEnum = {}));
277
277
 
278
- /* generated using openapi-typescript-codegen -- do not edit */
279
- /* istanbul ignore file */
280
- /* tslint:disable */
281
- /* eslint-disable */
282
- /**
283
- * * `pending` - Pending
284
- * * `processing` - Processing
285
- * * `completed` - Completed
286
- * * `failed` - Failed
287
- */
288
- exports.DataSetStatusEnum = void 0;
289
- (function (DataSetStatusEnum) {
290
- DataSetStatusEnum["PENDING"] = "pending";
291
- DataSetStatusEnum["PROCESSING"] = "processing";
292
- DataSetStatusEnum["COMPLETED"] = "completed";
293
- DataSetStatusEnum["FAILED"] = "failed";
294
- })(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
295
-
296
278
  /* generated using openapi-typescript-codegen -- do not edit */
297
279
  /* istanbul ignore file */
298
280
  /* tslint:disable */
@@ -589,26 +571,6 @@
589
571
  PromptVisibilityEnum["VIEWABLE_BY_ANYONE"] = "viewable_by_anyone";
590
572
  })(exports.PromptVisibilityEnum || (exports.PromptVisibilityEnum = {}));
591
573
 
592
- /* generated using openapi-typescript-codegen -- do not edit */
593
- /* istanbul ignore file */
594
- /* tslint:disable */
595
- /* eslint-disable */
596
- /**
597
- * * `webex` - Webex
598
- * * `slack` - Slack
599
- * * `whatsapp` - Whatsapp
600
- * * `discord` - Discord
601
- * * `teams` - Teams
602
- */
603
- exports.Provider05cEnum = void 0;
604
- (function (Provider05cEnum) {
605
- Provider05cEnum["WEBEX"] = "webex";
606
- Provider05cEnum["SLACK"] = "slack";
607
- Provider05cEnum["WHATSAPP"] = "whatsapp";
608
- Provider05cEnum["DISCORD"] = "discord";
609
- Provider05cEnum["TEAMS"] = "teams";
610
- })(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
611
-
612
574
  /* generated using openapi-typescript-codegen -- do not edit */
613
575
  /* istanbul ignore file */
614
576
  /* tslint:disable */
@@ -625,18 +587,6 @@
625
587
  Provider637Enum["ELEVENLABS"] = "elevenlabs";
626
588
  })(exports.Provider637Enum || (exports.Provider637Enum = {}));
627
589
 
628
- /* generated using openapi-typescript-codegen -- do not edit */
629
- /* istanbul ignore file */
630
- /* tslint:disable */
631
- /* eslint-disable */
632
- /**
633
- * * `openai` - Openai
634
- */
635
- exports.Provider63aEnum = void 0;
636
- (function (Provider63aEnum) {
637
- Provider63aEnum["OPENAI"] = "openai";
638
- })(exports.Provider63aEnum || (exports.Provider63aEnum = {}));
639
-
640
590
  /* generated using openapi-typescript-codegen -- do not edit */
641
591
  /* istanbul ignore file */
642
592
  /* tslint:disable */
@@ -9622,1347 +9572,6 @@
9622
9572
  }
9623
9573
  }
9624
9574
 
9625
- class AiBotService {
9626
- /**
9627
- * Create modify and update bot information for a specific tenant.
9628
- * @returns Bot
9629
- * @throws ApiError
9630
- */
9631
- static aiBotV1BotsBotList({
9632
- org
9633
- }) {
9634
- return request(OpenAPI, {
9635
- method: 'GET',
9636
- url: '/api/ai-bot/v1/bots/{org}/bot/',
9637
- path: {
9638
- 'org': org
9639
- }
9640
- });
9641
- }
9642
- /**
9643
- * Create modify and update bot information for a specific tenant.
9644
- * @returns BotCreate
9645
- * @throws ApiError
9646
- */
9647
- static aiBotV1BotsBotCreate({
9648
- org,
9649
- requestBody
9650
- }) {
9651
- return request(OpenAPI, {
9652
- method: 'POST',
9653
- url: '/api/ai-bot/v1/bots/{org}/bot/',
9654
- path: {
9655
- 'org': org
9656
- },
9657
- body: requestBody,
9658
- mediaType: 'application/json'
9659
- });
9660
- }
9661
- /**
9662
- * Create slash commands for a specific bot
9663
- * eg. /iblai-baseline
9664
- * @returns BotCommand
9665
- * @throws ApiError
9666
- */
9667
- static aiBotV1BotsBotCommandsList({
9668
- org
9669
- }) {
9670
- return request(OpenAPI, {
9671
- method: 'GET',
9672
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
9673
- path: {
9674
- 'org': org
9675
- }
9676
- });
9677
- }
9678
- /**
9679
- * Create slash commands for a specific bot
9680
- * eg. /iblai-baseline
9681
- * @returns BotCommand
9682
- * @throws ApiError
9683
- */
9684
- static aiBotV1BotsBotCommandsCreate({
9685
- org,
9686
- requestBody
9687
- }) {
9688
- return request(OpenAPI, {
9689
- method: 'POST',
9690
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
9691
- path: {
9692
- 'org': org
9693
- },
9694
- body: requestBody,
9695
- mediaType: 'application/json'
9696
- });
9697
- }
9698
- /**
9699
- * Create slash commands for a specific bot
9700
- * eg. /iblai-baseline
9701
- * @returns BotCommand
9702
- * @throws ApiError
9703
- */
9704
- static aiBotV1BotsBotCommandsRetrieve({
9705
- id,
9706
- org
9707
- }) {
9708
- return request(OpenAPI, {
9709
- method: 'GET',
9710
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9711
- path: {
9712
- 'id': id,
9713
- 'org': org
9714
- }
9715
- });
9716
- }
9717
- /**
9718
- * Create slash commands for a specific bot
9719
- * eg. /iblai-baseline
9720
- * @returns BotCommand
9721
- * @throws ApiError
9722
- */
9723
- static aiBotV1BotsBotCommandsUpdate({
9724
- id,
9725
- org,
9726
- requestBody
9727
- }) {
9728
- return request(OpenAPI, {
9729
- method: 'PUT',
9730
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9731
- path: {
9732
- 'id': id,
9733
- 'org': org
9734
- },
9735
- body: requestBody,
9736
- mediaType: 'application/json'
9737
- });
9738
- }
9739
- /**
9740
- * Create slash commands for a specific bot
9741
- * eg. /iblai-baseline
9742
- * @returns BotCommand
9743
- * @throws ApiError
9744
- */
9745
- static aiBotV1BotsBotCommandsPartialUpdate({
9746
- id,
9747
- org,
9748
- requestBody
9749
- }) {
9750
- return request(OpenAPI, {
9751
- method: 'PATCH',
9752
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9753
- path: {
9754
- 'id': id,
9755
- 'org': org
9756
- },
9757
- body: requestBody,
9758
- mediaType: 'application/json'
9759
- });
9760
- }
9761
- /**
9762
- * Create slash commands for a specific bot
9763
- * eg. /iblai-baseline
9764
- * @returns void
9765
- * @throws ApiError
9766
- */
9767
- static aiBotV1BotsBotCommandsDestroy({
9768
- id,
9769
- org
9770
- }) {
9771
- return request(OpenAPI, {
9772
- method: 'DELETE',
9773
- url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
9774
- path: {
9775
- 'id': id,
9776
- 'org': org
9777
- }
9778
- });
9779
- }
9780
- /**
9781
- * Create modify and update bot information for a specific tenant.
9782
- * @returns Bot
9783
- * @throws ApiError
9784
- */
9785
- static aiBotV1BotsBotRetrieve({
9786
- id,
9787
- org
9788
- }) {
9789
- return request(OpenAPI, {
9790
- method: 'GET',
9791
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9792
- path: {
9793
- 'id': id,
9794
- 'org': org
9795
- }
9796
- });
9797
- }
9798
- /**
9799
- * Create modify and update bot information for a specific tenant.
9800
- * @returns BotCreate
9801
- * @throws ApiError
9802
- */
9803
- static aiBotV1BotsBotUpdate({
9804
- id,
9805
- org,
9806
- requestBody
9807
- }) {
9808
- return request(OpenAPI, {
9809
- method: 'PUT',
9810
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9811
- path: {
9812
- 'id': id,
9813
- 'org': org
9814
- },
9815
- body: requestBody,
9816
- mediaType: 'application/json'
9817
- });
9818
- }
9819
- /**
9820
- * Create modify and update bot information for a specific tenant.
9821
- * @returns BotCreate
9822
- * @throws ApiError
9823
- */
9824
- static aiBotV1BotsBotPartialUpdate({
9825
- id,
9826
- org,
9827
- requestBody
9828
- }) {
9829
- return request(OpenAPI, {
9830
- method: 'PATCH',
9831
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9832
- path: {
9833
- 'id': id,
9834
- 'org': org
9835
- },
9836
- body: requestBody,
9837
- mediaType: 'application/json'
9838
- });
9839
- }
9840
- /**
9841
- * Create modify and update bot information for a specific tenant.
9842
- * @returns void
9843
- * @throws ApiError
9844
- */
9845
- static aiBotV1BotsBotDestroy({
9846
- id,
9847
- org
9848
- }) {
9849
- return request(OpenAPI, {
9850
- method: 'DELETE',
9851
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
9852
- path: {
9853
- 'id': id,
9854
- 'org': org
9855
- }
9856
- });
9857
- }
9858
- /**
9859
- * Create modify and update bot information for a specific tenant.
9860
- * @returns DiscordConfig
9861
- * @throws ApiError
9862
- */
9863
- static aiBotV1BotsBotConfigDiscordRetrieve({
9864
- id,
9865
- org
9866
- }) {
9867
- return request(OpenAPI, {
9868
- method: 'GET',
9869
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
9870
- path: {
9871
- 'id': id,
9872
- 'org': org
9873
- }
9874
- });
9875
- }
9876
- /**
9877
- * Create modify and update bot information for a specific tenant.
9878
- * @returns DiscordConfig
9879
- * @throws ApiError
9880
- */
9881
- static aiBotV1BotsBotConfigDiscordPartialUpdate({
9882
- id,
9883
- org,
9884
- requestBody
9885
- }) {
9886
- return request(OpenAPI, {
9887
- method: 'PATCH',
9888
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
9889
- path: {
9890
- 'id': id,
9891
- 'org': org
9892
- },
9893
- body: requestBody,
9894
- mediaType: 'application/json'
9895
- });
9896
- }
9897
- /**
9898
- * Create modify and update bot information for a specific tenant.
9899
- * @returns SlackConfig
9900
- * @throws ApiError
9901
- */
9902
- static aiBotV1BotsBotConfigSlackRetrieve({
9903
- id,
9904
- org
9905
- }) {
9906
- return request(OpenAPI, {
9907
- method: 'GET',
9908
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
9909
- path: {
9910
- 'id': id,
9911
- 'org': org
9912
- }
9913
- });
9914
- }
9915
- /**
9916
- * Create modify and update bot information for a specific tenant.
9917
- * @returns SlackConfig
9918
- * @throws ApiError
9919
- */
9920
- static aiBotV1BotsBotConfigSlackUpdateCreate({
9921
- id,
9922
- org,
9923
- requestBody
9924
- }) {
9925
- return request(OpenAPI, {
9926
- method: 'POST',
9927
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
9928
- path: {
9929
- 'id': id,
9930
- 'org': org
9931
- },
9932
- body: requestBody,
9933
- mediaType: 'application/json'
9934
- });
9935
- }
9936
- /**
9937
- * Create modify and update bot information for a specific tenant.
9938
- * @returns SlackConfig
9939
- * @throws ApiError
9940
- */
9941
- static aiBotV1BotsBotConfigSlackUpdateUpdate({
9942
- id,
9943
- org,
9944
- requestBody
9945
- }) {
9946
- return request(OpenAPI, {
9947
- method: 'PUT',
9948
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
9949
- path: {
9950
- 'id': id,
9951
- 'org': org
9952
- },
9953
- body: requestBody,
9954
- mediaType: 'application/json'
9955
- });
9956
- }
9957
- /**
9958
- * Create modify and update bot information for a specific tenant.
9959
- * @returns SlackConfig
9960
- * @throws ApiError
9961
- */
9962
- static aiBotV1BotsBotConfigSlackUpdatePartialUpdate({
9963
- id,
9964
- org,
9965
- requestBody
9966
- }) {
9967
- return request(OpenAPI, {
9968
- method: 'PATCH',
9969
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
9970
- path: {
9971
- 'id': id,
9972
- 'org': org
9973
- },
9974
- body: requestBody,
9975
- mediaType: 'application/json'
9976
- });
9977
- }
9978
- /**
9979
- * Create modify and update bot information for a specific tenant.
9980
- * @returns TeamsConfig
9981
- * @throws ApiError
9982
- */
9983
- static aiBotV1BotsBotConfigTeamsRetrieve({
9984
- id,
9985
- org
9986
- }) {
9987
- return request(OpenAPI, {
9988
- method: 'GET',
9989
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
9990
- path: {
9991
- 'id': id,
9992
- 'org': org
9993
- }
9994
- });
9995
- }
9996
- /**
9997
- * Create modify and update bot information for a specific tenant.
9998
- * @returns TeamsConfig
9999
- * @throws ApiError
10000
- */
10001
- static aiBotV1BotsBotConfigTeamsUpdateCreate({
10002
- id,
10003
- org,
10004
- requestBody
10005
- }) {
10006
- return request(OpenAPI, {
10007
- method: 'POST',
10008
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
10009
- path: {
10010
- 'id': id,
10011
- 'org': org
10012
- },
10013
- body: requestBody,
10014
- mediaType: 'application/json'
10015
- });
10016
- }
10017
- /**
10018
- * Create modify and update bot information for a specific tenant.
10019
- * @returns TeamsConfig
10020
- * @throws ApiError
10021
- */
10022
- static aiBotV1BotsBotConfigTeamsUpdateUpdate({
10023
- id,
10024
- org,
10025
- requestBody
10026
- }) {
10027
- return request(OpenAPI, {
10028
- method: 'PUT',
10029
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
10030
- path: {
10031
- 'id': id,
10032
- 'org': org
10033
- },
10034
- body: requestBody,
10035
- mediaType: 'application/json'
10036
- });
10037
- }
10038
- /**
10039
- * Create modify and update bot information for a specific tenant.
10040
- * @returns TeamsConfig
10041
- * @throws ApiError
10042
- */
10043
- static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate({
10044
- id,
10045
- org,
10046
- requestBody
10047
- }) {
10048
- return request(OpenAPI, {
10049
- method: 'PATCH',
10050
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
10051
- path: {
10052
- 'id': id,
10053
- 'org': org
10054
- },
10055
- body: requestBody,
10056
- mediaType: 'application/json'
10057
- });
10058
- }
10059
- /**
10060
- * Create modify and update bot information for a specific tenant.
10061
- * @returns WebexConfig
10062
- * @throws ApiError
10063
- */
10064
- static aiBotV1BotsBotConfigWebexRetrieve({
10065
- id,
10066
- org
10067
- }) {
10068
- return request(OpenAPI, {
10069
- method: 'GET',
10070
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
10071
- path: {
10072
- 'id': id,
10073
- 'org': org
10074
- }
10075
- });
10076
- }
10077
- /**
10078
- * Create modify and update bot information for a specific tenant.
10079
- * @returns WebexConfig
10080
- * @throws ApiError
10081
- */
10082
- static aiBotV1BotsBotConfigWebexPartialUpdate({
10083
- id,
10084
- org,
10085
- requestBody
10086
- }) {
10087
- return request(OpenAPI, {
10088
- method: 'PATCH',
10089
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
10090
- path: {
10091
- 'id': id,
10092
- 'org': org
10093
- },
10094
- body: requestBody,
10095
- mediaType: 'application/json'
10096
- });
10097
- }
10098
- /**
10099
- * Create modify and update bot information for a specific tenant.
10100
- * @returns WhatsappConfig
10101
- * @throws ApiError
10102
- */
10103
- static aiBotV1BotsBotConfigWhatsappRetrieve({
10104
- id,
10105
- org
10106
- }) {
10107
- return request(OpenAPI, {
10108
- method: 'GET',
10109
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
10110
- path: {
10111
- 'id': id,
10112
- 'org': org
10113
- }
10114
- });
10115
- }
10116
- /**
10117
- * Create modify and update bot information for a specific tenant.
10118
- * @returns WhatsappConfig
10119
- * @throws ApiError
10120
- */
10121
- static aiBotV1BotsBotWhatsappConfigUpdate({
10122
- id,
10123
- org,
10124
- requestBody
10125
- }) {
10126
- return request(OpenAPI, {
10127
- method: 'PUT',
10128
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
10129
- path: {
10130
- 'id': id,
10131
- 'org': org
10132
- },
10133
- body: requestBody,
10134
- mediaType: 'application/json'
10135
- });
10136
- }
10137
- /**
10138
- * Create modify and update bot information for a specific tenant.
10139
- * @returns WhatsappConfig
10140
- * @throws ApiError
10141
- */
10142
- static aiBotV1BotsBotWhatsappConfigPartialUpdate({
10143
- id,
10144
- org,
10145
- requestBody
10146
- }) {
10147
- return request(OpenAPI, {
10148
- method: 'PATCH',
10149
- url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
10150
- path: {
10151
- 'id': id,
10152
- 'org': org
10153
- },
10154
- body: requestBody,
10155
- mediaType: 'application/json'
10156
- });
10157
- }
10158
- /**
10159
- * Setup discord user id linkage with discord bots
10160
- * this will be used to authenticate the user when interracting with discord bots.
10161
- * the user id can be copied from the discord app after tapping on the user profile.
10162
- * @returns DiscordUserConfig
10163
- * @throws ApiError
10164
- */
10165
- static aiBotV1BotsDiscordUserConfigList({
10166
- org
10167
- }) {
10168
- return request(OpenAPI, {
10169
- method: 'GET',
10170
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
10171
- path: {
10172
- 'org': org
10173
- }
10174
- });
10175
- }
10176
- /**
10177
- * Setup discord user id linkage with discord bots
10178
- * this will be used to authenticate the user when interracting with discord bots.
10179
- * the user id can be copied from the discord app after tapping on the user profile.
10180
- * @returns DiscordUserConfig
10181
- * @throws ApiError
10182
- */
10183
- static aiBotV1BotsDiscordUserConfigCreate({
10184
- org,
10185
- requestBody
10186
- }) {
10187
- return request(OpenAPI, {
10188
- method: 'POST',
10189
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
10190
- path: {
10191
- 'org': org
10192
- },
10193
- body: requestBody,
10194
- mediaType: 'application/json'
10195
- });
10196
- }
10197
- /**
10198
- * Setup discord user id linkage with discord bots
10199
- * this will be used to authenticate the user when interracting with discord bots.
10200
- * the user id can be copied from the discord app after tapping on the user profile.
10201
- * @returns DiscordUserConfig
10202
- * @throws ApiError
10203
- */
10204
- static aiBotV1BotsDiscordUserConfigRetrieve({
10205
- id,
10206
- org
10207
- }) {
10208
- return request(OpenAPI, {
10209
- method: 'GET',
10210
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
10211
- path: {
10212
- 'id': id,
10213
- 'org': org
10214
- }
10215
- });
10216
- }
10217
- /**
10218
- * Setup discord user id linkage with discord bots
10219
- * this will be used to authenticate the user when interracting with discord bots.
10220
- * the user id can be copied from the discord app after tapping on the user profile.
10221
- * @returns DiscordUserConfig
10222
- * @throws ApiError
10223
- */
10224
- static aiBotV1BotsDiscordUserConfigUpdate({
10225
- id,
10226
- org,
10227
- requestBody
10228
- }) {
10229
- return request(OpenAPI, {
10230
- method: 'PUT',
10231
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
10232
- path: {
10233
- 'id': id,
10234
- 'org': org
10235
- },
10236
- body: requestBody,
10237
- mediaType: 'application/json'
10238
- });
10239
- }
10240
- /**
10241
- * Setup discord user id linkage with discord bots
10242
- * this will be used to authenticate the user when interracting with discord bots.
10243
- * the user id can be copied from the discord app after tapping on the user profile.
10244
- * @returns DiscordUserConfig
10245
- * @throws ApiError
10246
- */
10247
- static aiBotV1BotsDiscordUserConfigPartialUpdate({
10248
- id,
10249
- org,
10250
- requestBody
10251
- }) {
10252
- return request(OpenAPI, {
10253
- method: 'PATCH',
10254
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
10255
- path: {
10256
- 'id': id,
10257
- 'org': org
10258
- },
10259
- body: requestBody,
10260
- mediaType: 'application/json'
10261
- });
10262
- }
10263
- /**
10264
- * Setup discord user id linkage with discord bots
10265
- * this will be used to authenticate the user when interracting with discord bots.
10266
- * the user id can be copied from the discord app after tapping on the user profile.
10267
- * @returns void
10268
- * @throws ApiError
10269
- */
10270
- static aiBotV1BotsDiscordUserConfigDestroy({
10271
- id,
10272
- org
10273
- }) {
10274
- return request(OpenAPI, {
10275
- method: 'DELETE',
10276
- url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
10277
- path: {
10278
- 'id': id,
10279
- 'org': org
10280
- }
10281
- });
10282
- }
10283
- /**
10284
- * Setup slack username and domain linkage with slack bots
10285
- * this will be used to authenticate the user when interracting with slack bots.
10286
- * @returns SlackUserConfig
10287
- * @throws ApiError
10288
- */
10289
- static aiBotV1BotsSlackUserConfigList({
10290
- org
10291
- }) {
10292
- return request(OpenAPI, {
10293
- method: 'GET',
10294
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
10295
- path: {
10296
- 'org': org
10297
- }
10298
- });
10299
- }
10300
- /**
10301
- * Setup slack username and domain linkage with slack bots
10302
- * this will be used to authenticate the user when interracting with slack bots.
10303
- * @returns SlackUserConfig
10304
- * @throws ApiError
10305
- */
10306
- static aiBotV1BotsSlackUserConfigCreate({
10307
- org,
10308
- requestBody
10309
- }) {
10310
- return request(OpenAPI, {
10311
- method: 'POST',
10312
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
10313
- path: {
10314
- 'org': org
10315
- },
10316
- body: requestBody,
10317
- mediaType: 'application/json'
10318
- });
10319
- }
10320
- /**
10321
- * Setup slack username and domain linkage with slack bots
10322
- * this will be used to authenticate the user when interracting with slack bots.
10323
- * @returns SlackUserConfig
10324
- * @throws ApiError
10325
- */
10326
- static aiBotV1BotsSlackUserConfigRetrieve({
10327
- id,
10328
- org
10329
- }) {
10330
- return request(OpenAPI, {
10331
- method: 'GET',
10332
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
10333
- path: {
10334
- 'id': id,
10335
- 'org': org
10336
- }
10337
- });
10338
- }
10339
- /**
10340
- * Setup slack username and domain linkage with slack bots
10341
- * this will be used to authenticate the user when interracting with slack bots.
10342
- * @returns SlackUserConfig
10343
- * @throws ApiError
10344
- */
10345
- static aiBotV1BotsSlackUserConfigUpdate({
10346
- id,
10347
- org,
10348
- requestBody
10349
- }) {
10350
- return request(OpenAPI, {
10351
- method: 'PUT',
10352
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
10353
- path: {
10354
- 'id': id,
10355
- 'org': org
10356
- },
10357
- body: requestBody,
10358
- mediaType: 'application/json'
10359
- });
10360
- }
10361
- /**
10362
- * Setup slack username and domain linkage with slack bots
10363
- * this will be used to authenticate the user when interracting with slack bots.
10364
- * @returns SlackUserConfig
10365
- * @throws ApiError
10366
- */
10367
- static aiBotV1BotsSlackUserConfigPartialUpdate({
10368
- id,
10369
- org,
10370
- requestBody
10371
- }) {
10372
- return request(OpenAPI, {
10373
- method: 'PATCH',
10374
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
10375
- path: {
10376
- 'id': id,
10377
- 'org': org
10378
- },
10379
- body: requestBody,
10380
- mediaType: 'application/json'
10381
- });
10382
- }
10383
- /**
10384
- * Setup slack username and domain linkage with slack bots
10385
- * this will be used to authenticate the user when interracting with slack bots.
10386
- * @returns void
10387
- * @throws ApiError
10388
- */
10389
- static aiBotV1BotsSlackUserConfigDestroy({
10390
- id,
10391
- org
10392
- }) {
10393
- return request(OpenAPI, {
10394
- method: 'DELETE',
10395
- url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
10396
- path: {
10397
- 'id': id,
10398
- 'org': org
10399
- }
10400
- });
10401
- }
10402
- /**
10403
- * Setup phone number linkage with whatsapp bots
10404
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10405
- * @returns WhatsappUserConfig
10406
- * @throws ApiError
10407
- */
10408
- static aiBotV1BotsWhatsappUserConfigList({
10409
- org
10410
- }) {
10411
- return request(OpenAPI, {
10412
- method: 'GET',
10413
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
10414
- path: {
10415
- 'org': org
10416
- }
10417
- });
10418
- }
10419
- /**
10420
- * Setup phone number linkage with whatsapp bots
10421
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10422
- * @returns WhatsappUserConfig
10423
- * @throws ApiError
10424
- */
10425
- static aiBotV1BotsWhatsappUserConfigCreate({
10426
- org,
10427
- requestBody
10428
- }) {
10429
- return request(OpenAPI, {
10430
- method: 'POST',
10431
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
10432
- path: {
10433
- 'org': org
10434
- },
10435
- body: requestBody,
10436
- mediaType: 'application/json'
10437
- });
10438
- }
10439
- /**
10440
- * Setup phone number linkage with whatsapp bots
10441
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10442
- * @returns WhatsappUserConfig
10443
- * @throws ApiError
10444
- */
10445
- static aiBotV1BotsWhatsappUserConfigRetrieve({
10446
- id,
10447
- org
10448
- }) {
10449
- return request(OpenAPI, {
10450
- method: 'GET',
10451
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10452
- path: {
10453
- 'id': id,
10454
- 'org': org
10455
- }
10456
- });
10457
- }
10458
- /**
10459
- * Setup phone number linkage with whatsapp bots
10460
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10461
- * @returns WhatsappUserConfig
10462
- * @throws ApiError
10463
- */
10464
- static aiBotV1BotsWhatsappUserConfigUpdate({
10465
- id,
10466
- org,
10467
- requestBody
10468
- }) {
10469
- return request(OpenAPI, {
10470
- method: 'PUT',
10471
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10472
- path: {
10473
- 'id': id,
10474
- 'org': org
10475
- },
10476
- body: requestBody,
10477
- mediaType: 'application/json'
10478
- });
10479
- }
10480
- /**
10481
- * Setup phone number linkage with whatsapp bots
10482
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10483
- * @returns WhatsappUserConfig
10484
- * @throws ApiError
10485
- */
10486
- static aiBotV1BotsWhatsappUserConfigPartialUpdate({
10487
- id,
10488
- org,
10489
- requestBody
10490
- }) {
10491
- return request(OpenAPI, {
10492
- method: 'PATCH',
10493
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10494
- path: {
10495
- 'id': id,
10496
- 'org': org
10497
- },
10498
- body: requestBody,
10499
- mediaType: 'application/json'
10500
- });
10501
- }
10502
- /**
10503
- * Setup phone number linkage with whatsapp bots
10504
- * This phone number will be used to authenticate and allow access to whatsapp bots.
10505
- * @returns void
10506
- * @throws ApiError
10507
- */
10508
- static aiBotV1BotsWhatsappUserConfigDestroy({
10509
- id,
10510
- org
10511
- }) {
10512
- return request(OpenAPI, {
10513
- method: 'DELETE',
10514
- url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
10515
- path: {
10516
- 'id': id,
10517
- 'org': org
10518
- }
10519
- });
10520
- }
10521
- /**
10522
- * Webhook endpoint to receive and process discord messages.
10523
- * @returns DiscordWebhook
10524
- * @throws ApiError
10525
- */
10526
- static aiBotV1BotsWebhooksDiscordCreate({
10527
- name,
10528
- org,
10529
- requestBody
10530
- }) {
10531
- return request(OpenAPI, {
10532
- method: 'POST',
10533
- url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
10534
- path: {
10535
- 'name': name,
10536
- 'org': org
10537
- },
10538
- body: requestBody,
10539
- mediaType: 'application/json'
10540
- });
10541
- }
10542
- /**
10543
- * @returns SlackWebhook
10544
- * @throws ApiError
10545
- */
10546
- static aiBotV1BotsWebhooksSlackCreate({
10547
- name,
10548
- org,
10549
- requestBody
10550
- }) {
10551
- return request(OpenAPI, {
10552
- method: 'POST',
10553
- url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
10554
- path: {
10555
- 'name': name,
10556
- 'org': org
10557
- },
10558
- body: requestBody,
10559
- mediaType: 'application/json'
10560
- });
10561
- }
10562
- /**
10563
- * @returns TeamsWebhook
10564
- * @throws ApiError
10565
- */
10566
- static aiBotV1BotsWebhooksTeamsCreate({
10567
- name,
10568
- org,
10569
- requestBody
10570
- }) {
10571
- return request(OpenAPI, {
10572
- method: 'POST',
10573
- url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
10574
- path: {
10575
- 'name': name,
10576
- 'org': org
10577
- },
10578
- body: requestBody,
10579
- mediaType: 'application/json'
10580
- });
10581
- }
10582
- /**
10583
- * Webhook endpoint to receive and process discord messages.
10584
- * @returns WebexWebhook
10585
- * @throws ApiError
10586
- */
10587
- static aiBotV1BotsWebhooksWebexCreate({
10588
- name,
10589
- org,
10590
- requestBody
10591
- }) {
10592
- return request(OpenAPI, {
10593
- method: 'POST',
10594
- url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
10595
- path: {
10596
- 'name': name,
10597
- 'org': org
10598
- },
10599
- body: requestBody,
10600
- mediaType: 'application/json'
10601
- });
10602
- }
10603
- /**
10604
- * Respond to whatsapp's webhook challenge.
10605
- * Parameters Required include the tenant key (org) and the name of the bot: (name)
10606
- * @returns WhatAppWebHook
10607
- * @throws ApiError
10608
- */
10609
- static aiBotV1BotsWebhooksWhatsappRetrieve({
10610
- name,
10611
- org
10612
- }) {
10613
- return request(OpenAPI, {
10614
- method: 'GET',
10615
- url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
10616
- path: {
10617
- 'name': name,
10618
- 'org': org
10619
- }
10620
- });
10621
- }
10622
- /**
10623
- * Accept and process webhook events from whatsapp.
10624
- * @returns WhatAppWebHook
10625
- * @throws ApiError
10626
- */
10627
- static aiBotV1BotsWebhooksWhatsappCreate({
10628
- name,
10629
- org,
10630
- requestBody
10631
- }) {
10632
- return request(OpenAPI, {
10633
- method: 'POST',
10634
- url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
10635
- path: {
10636
- 'name': name,
10637
- 'org': org
10638
- },
10639
- body: requestBody,
10640
- mediaType: 'application/json'
10641
- });
10642
- }
10643
- }
10644
-
10645
- class AiFinetuningService {
10646
- /**
10647
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10648
- * @returns PaginatedDataSetList
10649
- * @throws ApiError
10650
- */
10651
- static aiFinetuningV1OrgUserDatasetsList({
10652
- org,
10653
- username,
10654
- dateCreated,
10655
- numDataPoints,
10656
- ordering,
10657
- page,
10658
- pageSize,
10659
- retryAttempts,
10660
- search,
10661
- status
10662
- }) {
10663
- return request(OpenAPI, {
10664
- method: 'GET',
10665
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
10666
- path: {
10667
- 'org': org,
10668
- 'username': username
10669
- },
10670
- query: {
10671
- 'date_created': dateCreated,
10672
- 'num_data_points': numDataPoints,
10673
- 'ordering': ordering,
10674
- 'page': page,
10675
- 'page_size': pageSize,
10676
- 'retry_attempts': retryAttempts,
10677
- 'search': search,
10678
- 'status': status
10679
- }
10680
- });
10681
- }
10682
- /**
10683
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10684
- * @returns DataSetCreate
10685
- * @throws ApiError
10686
- */
10687
- static aiFinetuningV1OrgUserDatasetsCreate({
10688
- org,
10689
- username,
10690
- requestBody
10691
- }) {
10692
- return request(OpenAPI, {
10693
- method: 'POST',
10694
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/',
10695
- path: {
10696
- 'org': org,
10697
- 'username': username
10698
- },
10699
- body: requestBody,
10700
- mediaType: 'application/json'
10701
- });
10702
- }
10703
- /**
10704
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10705
- * @returns DataSet
10706
- * @throws ApiError
10707
- */
10708
- static aiFinetuningV1OrgUserDatasetsRetrieve({
10709
- id,
10710
- org,
10711
- username
10712
- }) {
10713
- return request(OpenAPI, {
10714
- method: 'GET',
10715
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10716
- path: {
10717
- 'id': id,
10718
- 'org': org,
10719
- 'username': username
10720
- }
10721
- });
10722
- }
10723
- /**
10724
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10725
- * @returns DataSet
10726
- * @throws ApiError
10727
- */
10728
- static aiFinetuningV1OrgUserDatasetsUpdate({
10729
- id,
10730
- org,
10731
- username,
10732
- requestBody
10733
- }) {
10734
- return request(OpenAPI, {
10735
- method: 'PUT',
10736
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10737
- path: {
10738
- 'id': id,
10739
- 'org': org,
10740
- 'username': username
10741
- },
10742
- body: requestBody,
10743
- mediaType: 'application/json'
10744
- });
10745
- }
10746
- /**
10747
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10748
- * @returns DataSet
10749
- * @throws ApiError
10750
- */
10751
- static aiFinetuningV1OrgUserDatasetsPartialUpdate({
10752
- id,
10753
- org,
10754
- username,
10755
- requestBody
10756
- }) {
10757
- return request(OpenAPI, {
10758
- method: 'PATCH',
10759
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10760
- path: {
10761
- 'id': id,
10762
- 'org': org,
10763
- 'username': username
10764
- },
10765
- body: requestBody,
10766
- mediaType: 'application/json'
10767
- });
10768
- }
10769
- /**
10770
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10771
- * @returns void
10772
- * @throws ApiError
10773
- */
10774
- static aiFinetuningV1OrgUserDatasetsDestroy({
10775
- id,
10776
- org,
10777
- username
10778
- }) {
10779
- return request(OpenAPI, {
10780
- method: 'DELETE',
10781
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/datasets/{id}/',
10782
- path: {
10783
- 'id': id,
10784
- 'org': org,
10785
- 'username': username
10786
- }
10787
- });
10788
- }
10789
- /**
10790
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10791
- * @returns PaginatedTrainingList
10792
- * @throws ApiError
10793
- */
10794
- static aiFinetuningV1OrgUserTrainingsList({
10795
- org,
10796
- username,
10797
- baseModelName,
10798
- dataset,
10799
- dateCreated,
10800
- fineTunedModel,
10801
- lastModified,
10802
- ordering,
10803
- page,
10804
- pageSize,
10805
- preprocessDataset,
10806
- provider,
10807
- search,
10808
- status
10809
- }) {
10810
- return request(OpenAPI, {
10811
- method: 'GET',
10812
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
10813
- path: {
10814
- 'org': org,
10815
- 'username': username
10816
- },
10817
- query: {
10818
- 'base_model_name': baseModelName,
10819
- 'dataset': dataset,
10820
- 'date_created': dateCreated,
10821
- 'fine_tuned_model': fineTunedModel,
10822
- 'last_modified': lastModified,
10823
- 'ordering': ordering,
10824
- 'page': page,
10825
- 'page_size': pageSize,
10826
- 'preprocess_dataset': preprocessDataset,
10827
- 'provider': provider,
10828
- 'search': search,
10829
- 'status': status
10830
- }
10831
- });
10832
- }
10833
- /**
10834
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10835
- * @returns TrainingCreate
10836
- * @throws ApiError
10837
- */
10838
- static aiFinetuningV1OrgUserTrainingsCreate({
10839
- org,
10840
- username,
10841
- requestBody
10842
- }) {
10843
- return request(OpenAPI, {
10844
- method: 'POST',
10845
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/',
10846
- path: {
10847
- 'org': org,
10848
- 'username': username
10849
- },
10850
- body: requestBody,
10851
- mediaType: 'application/json'
10852
- });
10853
- }
10854
- /**
10855
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10856
- * @returns Training
10857
- * @throws ApiError
10858
- */
10859
- static aiFinetuningV1OrgUserTrainingsRetrieve({
10860
- id,
10861
- org,
10862
- username
10863
- }) {
10864
- return request(OpenAPI, {
10865
- method: 'GET',
10866
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10867
- path: {
10868
- 'id': id,
10869
- 'org': org,
10870
- 'username': username
10871
- }
10872
- });
10873
- }
10874
- /**
10875
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10876
- * @returns TrainingCreate
10877
- * @throws ApiError
10878
- */
10879
- static aiFinetuningV1OrgUserTrainingsUpdate({
10880
- id,
10881
- org,
10882
- username,
10883
- requestBody
10884
- }) {
10885
- return request(OpenAPI, {
10886
- method: 'PUT',
10887
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10888
- path: {
10889
- 'id': id,
10890
- 'org': org,
10891
- 'username': username
10892
- },
10893
- body: requestBody,
10894
- mediaType: 'application/json'
10895
- });
10896
- }
10897
- /**
10898
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10899
- * @returns TrainingCreate
10900
- * @throws ApiError
10901
- */
10902
- static aiFinetuningV1OrgUserTrainingsPartialUpdate({
10903
- id,
10904
- org,
10905
- username,
10906
- requestBody
10907
- }) {
10908
- return request(OpenAPI, {
10909
- method: 'PATCH',
10910
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10911
- path: {
10912
- 'id': id,
10913
- 'org': org,
10914
- 'username': username
10915
- },
10916
- body: requestBody,
10917
- mediaType: 'application/json'
10918
- });
10919
- }
10920
- /**
10921
- * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
10922
- * @returns void
10923
- * @throws ApiError
10924
- */
10925
- static aiFinetuningV1OrgUserTrainingsDestroy({
10926
- id,
10927
- org,
10928
- username
10929
- }) {
10930
- return request(OpenAPI, {
10931
- method: 'DELETE',
10932
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/{id}/',
10933
- path: {
10934
- 'id': id,
10935
- 'org': org,
10936
- 'username': username
10937
- }
10938
- });
10939
- }
10940
- /**
10941
- * Retrieves a paginated list of completed fine-tuned models, excluding those without a fine-tuned model.
10942
- * Filtering and pagination is allowed.
10943
- *
10944
- * NB: This is only a helper endpoint. The same functionality can be achieved with the appropriate filters using the
10945
- * training list endpoint.
10946
- * Returns:
10947
- * Response: A paginated response containing the serialized fine-tuned models.
10948
- * @returns Training
10949
- * @throws ApiError
10950
- */
10951
- static aiFinetuningV1OrgUserTrainingsFinetunedModelsRetrieve({
10952
- org,
10953
- username
10954
- }) {
10955
- return request(OpenAPI, {
10956
- method: 'GET',
10957
- url: '/api/ai-finetuning/v1/org/{org}/user/{username}/trainings/finetuned-models/',
10958
- path: {
10959
- 'org': org,
10960
- 'username': username
10961
- }
10962
- });
10963
- }
10964
- }
10965
-
10966
9575
  class AiIndexService {
10967
9576
  /**
10968
9577
  * Retrieve details of a specific document embedding.
@@ -36505,8 +35114,6 @@
36505
35114
 
36506
35115
  exports.AiAccountService = AiAccountService;
36507
35116
  exports.AiAnalyticsService = AiAnalyticsService;
36508
- exports.AiBotService = AiBotService;
36509
- exports.AiFinetuningService = AiFinetuningService;
36510
35117
  exports.AiIndexService = AiIndexService;
36511
35118
  exports.AiMarketingService = AiMarketingService;
36512
35119
  exports.AiMediaService = AiMediaService;