@iblai/iblai-api 3.63.3-ai-plus → 3.64.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/index.cjs.js +427 -1400
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +428 -1399
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +427 -1400
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +8 -40
  8. package/dist/types/models/HumanSupportTicket.d.ts +21 -0
  9. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
  10. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
  11. package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
  12. package/dist/types/models/PatchedHumanSupportTicket.d.ts +21 -0
  13. package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
  14. package/dist/types/models/{Provider637Enum.d.ts → ProviderEnum.d.ts} +1 -1
  15. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +1 -1
  16. package/dist/types/models/TicketMessage.d.ts +10 -0
  17. package/dist/types/models/Voice.d.ts +2 -2
  18. package/dist/types/services/AiMentorService.d.ts +296 -0
  19. package/package.json +1 -1
  20. package/src/core/OpenAPI.ts +1 -1
  21. package/src/index.ts +8 -40
  22. package/src/models/HumanSupportTicket.ts +26 -0
  23. package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
  24. package/src/models/{PaginatedDataSetList.ts → PaginatedHumanSupportTicketList.ts} +3 -3
  25. package/src/models/{PaginatedTrainingList.ts → PaginatedTicketMessageList.ts} +3 -3
  26. package/src/models/PatchedHumanSupportTicket.ts +26 -0
  27. package/src/models/{PatchedWhatsappUserConfig.ts → PatchedTicketMessage.ts} +5 -5
  28. package/src/models/{Provider637Enum.ts → ProviderEnum.ts} +1 -1
  29. package/src/models/RetrieverDocumentEmbeddingRequest.ts +1 -1
  30. package/src/models/{WhatsappUserConfig.ts → TicketMessage.ts} +5 -5
  31. package/src/models/Voice.ts +2 -2
  32. package/src/services/AiMentorService.ts +514 -0
  33. package/dist/types/models/Bot.d.ts +0 -15
  34. package/dist/types/models/BotCommand.d.ts +0 -6
  35. package/dist/types/models/BotCreate.d.ts +0 -12
  36. package/dist/types/models/DataSet.d.ts +0 -21
  37. package/dist/types/models/DataSetCreate.d.ts +0 -12
  38. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  39. package/dist/types/models/DiscordConfig.d.ts +0 -7
  40. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  41. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  42. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  43. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  44. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  45. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  46. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  47. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  48. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  49. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  50. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  51. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  52. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  53. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  54. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  55. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  56. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  57. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  58. package/dist/types/models/SlackConfig.d.ts +0 -8
  59. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  60. package/dist/types/models/SlackWebhook.d.ts +0 -6
  61. package/dist/types/models/TeamsConfig.d.ts +0 -7
  62. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  63. package/dist/types/models/Training.d.ts +0 -41
  64. package/dist/types/models/TrainingCreate.d.ts +0 -31
  65. package/dist/types/models/WebexConfig.d.ts +0 -10
  66. package/dist/types/models/WebexWebhook.d.ts +0 -4
  67. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  68. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  69. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  70. package/dist/types/services/AiBotService.d.ts +0 -642
  71. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  72. package/src/models/Bot.ts +0 -20
  73. package/src/models/BotCommand.ts +0 -11
  74. package/src/models/BotCreate.ts +0 -17
  75. package/src/models/DataSet.ts +0 -26
  76. package/src/models/DataSetCreate.ts +0 -17
  77. package/src/models/DataSetStatusEnum.ts +0 -16
  78. package/src/models/DiscordConfig.ts +0 -12
  79. package/src/models/DiscordUserConfig.ts +0 -15
  80. package/src/models/DiscordWebhook.ts +0 -11
  81. package/src/models/PatchedBotCommand.ts +0 -11
  82. package/src/models/PatchedBotCreate.ts +0 -17
  83. package/src/models/PatchedDataSet.ts +0 -26
  84. package/src/models/PatchedDiscordConfig.ts +0 -12
  85. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  86. package/src/models/PatchedSlackConfig.ts +0 -13
  87. package/src/models/PatchedSlackUserConfig.ts +0 -22
  88. package/src/models/PatchedTeamsConfig.ts +0 -12
  89. package/src/models/PatchedTrainingCreate.ts +0 -36
  90. package/src/models/PatchedWebexConfig.ts +0 -15
  91. package/src/models/PatchedWhatsappConfig.ts +0 -16
  92. package/src/models/Provider05cEnum.ts +0 -18
  93. package/src/models/Provider63aEnum.ts +0 -10
  94. package/src/models/SlackConfig.ts +0 -13
  95. package/src/models/SlackUserConfig.ts +0 -22
  96. package/src/models/SlackWebhook.ts +0 -11
  97. package/src/models/TeamsConfig.ts +0 -12
  98. package/src/models/TeamsWebhook.ts +0 -22
  99. package/src/models/Training.ts +0 -46
  100. package/src/models/TrainingCreate.ts +0 -36
  101. package/src/models/WebexConfig.ts +0 -15
  102. package/src/models/WebexWebhook.ts +0 -9
  103. package/src/models/WhatAppWebHook.ts +0 -8
  104. package/src/models/WhatsappConfig.ts +0 -16
  105. package/src/services/AiBotService.ts +0 -1330
  106. package/src/services/AiFinetuningService.ts +0 -472
@@ -21,6 +21,7 @@ import type { EmailPromptDetail } from '../models/EmailPromptDetail';
21
21
  import type { EmailPromptSummary } from '../models/EmailPromptSummary';
22
22
  import type { FreeUsageCount } from '../models/FreeUsageCount';
23
23
  import type { FullCourse } from '../models/FullCourse';
24
+ import type { HumanSupportTicket } from '../models/HumanSupportTicket';
24
25
  import type { JobRun } from '../models/JobRun';
25
26
  import type { LinkCourseRequest } from '../models/LinkCourseRequest';
26
27
  import type { LinkCourseResponse } from '../models/LinkCourseResponse';
@@ -61,6 +62,7 @@ import type { PaginatedCourseCreationTaskFileList } from '../models/PaginatedCou
61
62
  import type { PaginatedCourseCreationTaskList } from '../models/PaginatedCourseCreationTaskList';
62
63
  import type { PaginatedEdxCourseList } from '../models/PaginatedEdxCourseList';
63
64
  import type { PaginatedEmailPromptListList } from '../models/PaginatedEmailPromptListList';
65
+ import type { PaginatedHumanSupportTicketList } from '../models/PaginatedHumanSupportTicketList';
64
66
  import type { PaginatedJobRunList } from '../models/PaginatedJobRunList';
65
67
  import type { PaginatedMCPServerList } from '../models/PaginatedMCPServerList';
66
68
  import type { PaginatedMentorList } from '../models/PaginatedMentorList';
@@ -70,11 +72,13 @@ import type { PaginatedPeriodicAgentLogList } from '../models/PaginatedPeriodicA
70
72
  import type { PaginatedPlayWrightScriptList } from '../models/PaginatedPlayWrightScriptList';
71
73
  import type { PaginatedSectionList } from '../models/PaginatedSectionList';
72
74
  import type { PaginatedSubSectionList } from '../models/PaginatedSubSectionList';
75
+ import type { PaginatedTicketMessageList } from '../models/PaginatedTicketMessageList';
73
76
  import type { PaginatedUnitList } from '../models/PaginatedUnitList';
74
77
  import type { PaginatedUserEdxMemoryList } from '../models/PaginatedUserEdxMemoryList';
75
78
  import type { PaginatedVoiceList } from '../models/PaginatedVoiceList';
76
79
  import type { PatchedCallConfiguration } from '../models/PatchedCallConfiguration';
77
80
  import type { PatchedCourseCreationTaskFile } from '../models/PatchedCourseCreationTaskFile';
81
+ import type { PatchedHumanSupportTicket } from '../models/PatchedHumanSupportTicket';
78
82
  import type { PatchedMCPServer } from '../models/PatchedMCPServer';
79
83
  import type { PatchedMentorCategoryGroupCreate } from '../models/PatchedMentorCategoryGroupCreate';
80
84
  import type { PatchedMentorCreate } from '../models/PatchedMentorCreate';
@@ -82,6 +86,7 @@ import type { PatchedPeriodicAgentCreate } from '../models/PatchedPeriodicAgentC
82
86
  import type { PatchedPlayWrightScript } from '../models/PatchedPlayWrightScript';
83
87
  import type { PatchedSection } from '../models/PatchedSection';
84
88
  import type { PatchedSubSection } from '../models/PatchedSubSection';
89
+ import type { PatchedTicketMessage } from '../models/PatchedTicketMessage';
85
90
  import type { PatchedUnit } from '../models/PatchedUnit';
86
91
  import type { PeriodicAgent } from '../models/PeriodicAgent';
87
92
  import type { PeriodicAgentCreate } from '../models/PeriodicAgentCreate';
@@ -114,6 +119,7 @@ import type { StarMentor } from '../models/StarMentor';
114
119
  import type { SubSection } from '../models/SubSection';
115
120
  import type { TaskView } from '../models/TaskView';
116
121
  import type { TemplateMentor } from '../models/TemplateMentor';
122
+ import type { TicketMessage } from '../models/TicketMessage';
117
123
  import type { ToolResponse } from '../models/ToolResponse';
118
124
  import type { TriggerRequest } from '../models/TriggerRequest';
119
125
  import type { TriggerResponse } from '../models/TriggerResponse';
@@ -4848,6 +4854,296 @@ export declare class AiMentorService {
4848
4854
  static aiMentorOrgsUsersStarredMentorsList({ org, userId, }: {
4849
4855
  org: string;
4850
4856
  }): CancelablePromise<Array<StarMentor>>;
4857
+ /**
4858
+ * ViewSet for managing ticket messages.
4859
+ *
4860
+ * This ViewSet provides endpoints to retrieve, create, and update ticket messages.
4861
+ *
4862
+ * Permissions:
4863
+ * - Platform Admins:
4864
+ * - Platform admins are able to view all ticket messages for the tenant.
4865
+ * - Students:
4866
+ * - Students are able to view all ticket messages for only the ticket they are associated with.
4867
+ * @returns PaginatedTicketMessageList
4868
+ * @throws ApiError
4869
+ */
4870
+ static aiMentorOrgsUsersSupportTicketMessagesList({ org, userId, page, pageSize, sender, ticket, }: {
4871
+ org: string; /**
4872
+ * A page number within the paginated result set.
4873
+ */
4874
+ page?: number; /**
4875
+ * Number of results to return per page.
4876
+ */
4877
+ pageSize?: number;
4878
+ sender?: string;
4879
+ ticket?: number;
4880
+ }): CancelablePromise<PaginatedTicketMessageList>;
4881
+ /**
4882
+ * ViewSet for managing ticket messages.
4883
+ *
4884
+ * This ViewSet provides endpoints to retrieve, create, and update ticket messages.
4885
+ *
4886
+ * Permissions:
4887
+ * - Platform Admins:
4888
+ * - Platform admins are able to view all ticket messages for the tenant.
4889
+ * - Students:
4890
+ * - Students are able to view all ticket messages for only the ticket they are associated with.
4891
+ * @returns TicketMessage
4892
+ * @throws ApiError
4893
+ */
4894
+ static aiMentorOrgsUsersSupportTicketMessagesCreate({ org, userId, requestBody, }: {
4895
+ org: string;
4896
+ requestBody: TicketMessage;
4897
+ }): CancelablePromise<TicketMessage>;
4898
+ /**
4899
+ * ViewSet for managing ticket messages.
4900
+ *
4901
+ * This ViewSet provides endpoints to retrieve, create, and update ticket messages.
4902
+ *
4903
+ * Permissions:
4904
+ * - Platform Admins:
4905
+ * - Platform admins are able to view all ticket messages for the tenant.
4906
+ * - Students:
4907
+ * - Students are able to view all ticket messages for only the ticket they are associated with.
4908
+ * @returns TicketMessage
4909
+ * @throws ApiError
4910
+ */
4911
+ static aiMentorOrgsUsersSupportTicketMessagesRetrieve({ id, org, userId, }: {
4912
+ /**
4913
+ * A unique integer value identifying this ticket message.
4914
+ */
4915
+ id: number;
4916
+ org: string;
4917
+ }): CancelablePromise<TicketMessage>;
4918
+ /**
4919
+ * ViewSet for managing ticket messages.
4920
+ *
4921
+ * This ViewSet provides endpoints to retrieve, create, and update ticket messages.
4922
+ *
4923
+ * Permissions:
4924
+ * - Platform Admins:
4925
+ * - Platform admins are able to view all ticket messages for the tenant.
4926
+ * - Students:
4927
+ * - Students are able to view all ticket messages for only the ticket they are associated with.
4928
+ * @returns TicketMessage
4929
+ * @throws ApiError
4930
+ */
4931
+ static aiMentorOrgsUsersSupportTicketMessagesUpdate({ id, org, userId, requestBody, }: {
4932
+ /**
4933
+ * A unique integer value identifying this ticket message.
4934
+ */
4935
+ id: number;
4936
+ org: string;
4937
+ requestBody: TicketMessage;
4938
+ }): CancelablePromise<TicketMessage>;
4939
+ /**
4940
+ * ViewSet for managing ticket messages.
4941
+ *
4942
+ * This ViewSet provides endpoints to retrieve, create, and update ticket messages.
4943
+ *
4944
+ * Permissions:
4945
+ * - Platform Admins:
4946
+ * - Platform admins are able to view all ticket messages for the tenant.
4947
+ * - Students:
4948
+ * - Students are able to view all ticket messages for only the ticket they are associated with.
4949
+ * @returns TicketMessage
4950
+ * @throws ApiError
4951
+ */
4952
+ static aiMentorOrgsUsersSupportTicketMessagesPartialUpdate({ id, org, userId, requestBody, }: {
4953
+ /**
4954
+ * A unique integer value identifying this ticket message.
4955
+ */
4956
+ id: number;
4957
+ org: string;
4958
+ requestBody?: PatchedTicketMessage;
4959
+ }): CancelablePromise<TicketMessage>;
4960
+ /**
4961
+ * ViewSet for managing ticket messages.
4962
+ *
4963
+ * This ViewSet provides endpoints to retrieve, create, and update ticket messages.
4964
+ *
4965
+ * Permissions:
4966
+ * - Platform Admins:
4967
+ * - Platform admins are able to view all ticket messages for the tenant.
4968
+ * - Students:
4969
+ * - Students are able to view all ticket messages for only the ticket they are associated with.
4970
+ * @returns void
4971
+ * @throws ApiError
4972
+ */
4973
+ static aiMentorOrgsUsersSupportTicketMessagesDestroy({ id, org, userId, }: {
4974
+ /**
4975
+ * A unique integer value identifying this ticket message.
4976
+ */
4977
+ id: number;
4978
+ org: string;
4979
+ }): CancelablePromise<void>;
4980
+ /**
4981
+ * ViewSet for managing Human Support Tickets.
4982
+ *
4983
+ * This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
4984
+ *
4985
+ * Permissions:
4986
+ * Platform Admins:
4987
+ * - Platform admins are able to update the ticket status, and view all tickets for the tenant.
4988
+ * - Platform admins can only update the `subject`, `description` and `status` fields.
4989
+ * Students:
4990
+ * - Students are only able to view their own created tickets.
4991
+ * - students can modify only the `subject` and `description` entries
4992
+ *
4993
+ * Field Updates:
4994
+ * - subject: Modifiable by both student and platform admin
4995
+ * - description: Modifiable by only student.
4996
+ * - status: Modifiable by only platform admin.
4997
+ * @returns PaginatedHumanSupportTicketList
4998
+ * @throws ApiError
4999
+ */
5000
+ static aiMentorOrgsUsersSupportTicketsList({ org, userId, mentorId, page, pageSize, session, status, username, }: {
5001
+ org: string;
5002
+ mentorId?: number; /**
5003
+ * A page number within the paginated result set.
5004
+ */
5005
+ page?: number; /**
5006
+ * Number of results to return per page.
5007
+ */
5008
+ pageSize?: number;
5009
+ session?: string; /**
5010
+ * * `open` - Open
5011
+ * * `in_progress` - In Progress
5012
+ * * `closed` - Closed
5013
+ */
5014
+ status?: 'closed' | 'in_progress' | 'open';
5015
+ username?: string;
5016
+ }): CancelablePromise<PaginatedHumanSupportTicketList>;
5017
+ /**
5018
+ * ViewSet for managing Human Support Tickets.
5019
+ *
5020
+ * This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
5021
+ *
5022
+ * Permissions:
5023
+ * Platform Admins:
5024
+ * - Platform admins are able to update the ticket status, and view all tickets for the tenant.
5025
+ * - Platform admins can only update the `subject`, `description` and `status` fields.
5026
+ * Students:
5027
+ * - Students are only able to view their own created tickets.
5028
+ * - students can modify only the `subject` and `description` entries
5029
+ *
5030
+ * Field Updates:
5031
+ * - subject: Modifiable by both student and platform admin
5032
+ * - description: Modifiable by only student.
5033
+ * - status: Modifiable by only platform admin.
5034
+ * @returns HumanSupportTicket
5035
+ * @throws ApiError
5036
+ */
5037
+ static aiMentorOrgsUsersSupportTicketsRetrieve({ id, org, userId, }: {
5038
+ /**
5039
+ * A unique integer value identifying this human support ticket.
5040
+ */
5041
+ id: number;
5042
+ org: string;
5043
+ }): CancelablePromise<HumanSupportTicket>;
5044
+ /**
5045
+ * ViewSet for managing Human Support Tickets.
5046
+ *
5047
+ * This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
5048
+ *
5049
+ * Permissions:
5050
+ * Platform Admins:
5051
+ * - Platform admins are able to update the ticket status, and view all tickets for the tenant.
5052
+ * - Platform admins can only update the `subject`, `description` and `status` fields.
5053
+ * Students:
5054
+ * - Students are only able to view their own created tickets.
5055
+ * - students can modify only the `subject` and `description` entries
5056
+ *
5057
+ * Field Updates:
5058
+ * - subject: Modifiable by both student and platform admin
5059
+ * - description: Modifiable by only student.
5060
+ * - status: Modifiable by only platform admin.
5061
+ * @returns HumanSupportTicket
5062
+ * @throws ApiError
5063
+ */
5064
+ static aiMentorOrgsUsersSupportTicketsUpdate({ id, org, userId, requestBody, }: {
5065
+ /**
5066
+ * A unique integer value identifying this human support ticket.
5067
+ */
5068
+ id: number;
5069
+ org: string;
5070
+ requestBody: HumanSupportTicket;
5071
+ }): CancelablePromise<HumanSupportTicket>;
5072
+ /**
5073
+ * ViewSet for managing Human Support Tickets.
5074
+ *
5075
+ * This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
5076
+ *
5077
+ * Permissions:
5078
+ * Platform Admins:
5079
+ * - Platform admins are able to update the ticket status, and view all tickets for the tenant.
5080
+ * - Platform admins can only update the `subject`, `description` and `status` fields.
5081
+ * Students:
5082
+ * - Students are only able to view their own created tickets.
5083
+ * - students can modify only the `subject` and `description` entries
5084
+ *
5085
+ * Field Updates:
5086
+ * - subject: Modifiable by both student and platform admin
5087
+ * - description: Modifiable by only student.
5088
+ * - status: Modifiable by only platform admin.
5089
+ * @returns HumanSupportTicket
5090
+ * @throws ApiError
5091
+ */
5092
+ static aiMentorOrgsUsersSupportTicketsPartialUpdate({ id, org, userId, requestBody, }: {
5093
+ /**
5094
+ * A unique integer value identifying this human support ticket.
5095
+ */
5096
+ id: number;
5097
+ org: string;
5098
+ requestBody?: PatchedHumanSupportTicket;
5099
+ }): CancelablePromise<HumanSupportTicket>;
5100
+ /**
5101
+ * ViewSet for managing Human Support Tickets.
5102
+ *
5103
+ * This ViewSet provides endpoints to retrieve, create, and update Human Support Tickets.
5104
+ *
5105
+ * Permissions:
5106
+ * Platform Admins:
5107
+ * - Platform admins are able to update the ticket status, and view all tickets for the tenant.
5108
+ * - Platform admins can only update the `subject`, `description` and `status` fields.
5109
+ * Students:
5110
+ * - Students are only able to view their own created tickets.
5111
+ * - students can modify only the `subject` and `description` entries
5112
+ *
5113
+ * Field Updates:
5114
+ * - subject: Modifiable by both student and platform admin
5115
+ * - description: Modifiable by only student.
5116
+ * - status: Modifiable by only platform admin.
5117
+ * @returns void
5118
+ * @throws ApiError
5119
+ */
5120
+ static aiMentorOrgsUsersSupportTicketsDestroy({ id, org, userId, }: {
5121
+ /**
5122
+ * A unique integer value identifying this human support ticket.
5123
+ */
5124
+ id: number;
5125
+ org: string;
5126
+ }): CancelablePromise<void>;
5127
+ /**
5128
+ * Endpoint to close a Human support ticket.
5129
+ *
5130
+ * This endpoint is used to close a Human support ticket.
5131
+ *
5132
+ * Permissions:
5133
+ * - available to both platform admins and the student who created the ticket.
5134
+ *
5135
+ * Returns:
5136
+ * Response: A response object containing the closed ticket data.
5137
+ * @returns any No response body
5138
+ * @throws ApiError
5139
+ */
5140
+ static aiMentorOrgsUsersSupportTicketsCloseCreate({ id, org, userId, }: {
5141
+ /**
5142
+ * A unique integer value identifying this human support ticket.
5143
+ */
5144
+ id: number;
5145
+ org: string;
5146
+ }): CancelablePromise<any>;
4851
5147
  /**
4852
5148
  * Retrieves the status of a task using its task ID.
4853
5149
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "3.63.3-ai-plus",
3
+ "version": "3.64.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '3.63.3-ai-plus',
24
+ VERSION: '3.64.0-ai',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -48,9 +48,6 @@ export { BlankEnum } from './models/BlankEnum';
48
48
  export type { BlankPlatformInvitationCreate } from './models/BlankPlatformInvitationCreate';
49
49
  export type { BlankProgramInvitationCreate } from './models/BlankProgramInvitationCreate';
50
50
  export type { BlockSkillPointInfoRequest } from './models/BlockSkillPointInfoRequest';
51
- export type { Bot } from './models/Bot';
52
- export type { BotCommand } from './models/BotCommand';
53
- export type { BotCreate } from './models/BotCreate';
54
51
  export type { BulkCourseInvitationCreate } from './models/BulkCourseInvitationCreate';
55
52
  export type { BulkCourseInvitationResponse } from './models/BulkCourseInvitationResponse';
56
53
  export type { BulkCreateAssertion } from './models/BulkCreateAssertion';
@@ -143,9 +140,6 @@ export type { Credential } from './models/Credential';
143
140
  export type { CredentialRequest } from './models/CredentialRequest';
144
141
  export type { CrontabSchedule } from './models/CrontabSchedule';
145
142
  export type { CustomInstructionResponse } from './models/CustomInstructionResponse';
146
- export type { DataSet } from './models/DataSet';
147
- export type { DataSetCreate } from './models/DataSetCreate';
148
- export { DataSetStatusEnum } from './models/DataSetStatusEnum';
149
143
  export type { DateRange } from './models/DateRange';
150
144
  export type { DesiredRole } from './models/DesiredRole';
151
145
  export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
@@ -154,9 +148,6 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
154
148
  export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
155
149
  export type { DetailedGradeView } from './models/DetailedGradeView';
156
150
  export type { DetailedGradeViewData } from './models/DetailedGradeViewData';
157
- export type { DiscordConfig } from './models/DiscordConfig';
158
- export type { DiscordUserConfig } from './models/DiscordUserConfig';
159
- export type { DiscordWebhook } from './models/DiscordWebhook';
160
151
  export type { Document } from './models/Document';
161
152
  export type { DocumentFacet } from './models/DocumentFacet';
162
153
  export type { DocumentSearchResponse } from './models/DocumentSearchResponse';
@@ -196,6 +187,8 @@ export type { HeygenTemplateRequest } from './models/HeygenTemplateRequest';
196
187
  export type { HeygenTemplateResponseSingle } from './models/HeygenTemplateResponseSingle';
197
188
  export type { HeygenVideoDetail } from './models/HeygenVideoDetail';
198
189
  export type { HeygenVideoRequest } from './models/HeygenVideoRequest';
190
+ export type { HumanSupportTicket } from './models/HumanSupportTicket';
191
+ export { HumanSupportTicketStatusEnum } from './models/HumanSupportTicketStatusEnum';
199
192
  export type { IBLAIPlatformMeta } from './models/IBLAIPlatformMeta';
200
193
  export type { IBLAIPlatformMetaRequest } from './models/IBLAIPlatformMetaRequest';
201
194
  export type { IBLAIPlatformMetaUpdateRequest } from './models/IBLAIPlatformMetaUpdateRequest';
@@ -308,11 +301,11 @@ export type { PaginatedCourseLicense } from './models/PaginatedCourseLicense';
308
301
  export type { PaginatedCourseLicenseAssignment } from './models/PaginatedCourseLicenseAssignment';
309
302
  export type { PaginatedCourseLicenseGroupAssignment } from './models/PaginatedCourseLicenseGroupAssignment';
310
303
  export type { PaginatedCourseSuggestion } from './models/PaginatedCourseSuggestion';
311
- export type { PaginatedDataSetList } from './models/PaginatedDataSetList';
312
304
  export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
313
305
  export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
314
306
  export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
315
307
  export type { PaginatedHeygenTemplateResponseSingleList } from './models/PaginatedHeygenTemplateResponseSingleList';
308
+ export type { PaginatedHumanSupportTicketList } from './models/PaginatedHumanSupportTicketList';
316
309
  export type { PaginatedJobRunList } from './models/PaginatedJobRunList';
317
310
  export type { PaginatedMCPServerList } from './models/PaginatedMCPServerList';
318
311
  export type { PaginatedMentorList } from './models/PaginatedMentorList';
@@ -338,9 +331,9 @@ export type { PaginatedRetrieverDocumentEmbeddingList } from './models/Paginated
338
331
  export type { PaginatedSectionList } from './models/PaginatedSectionList';
339
332
  export type { PaginatedSkill } from './models/PaginatedSkill';
340
333
  export type { PaginatedSubSectionList } from './models/PaginatedSubSectionList';
334
+ export type { PaginatedTicketMessageList } from './models/PaginatedTicketMessageList';
341
335
  export type { PaginatedTopicStatisticsResponse } from './models/PaginatedTopicStatisticsResponse';
342
336
  export type { PaginatedTraceList } from './models/PaginatedTraceList';
343
- export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
344
337
  export type { PaginatedUnitList } from './models/PaginatedUnitList';
345
338
  export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
346
339
  export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
@@ -349,15 +342,11 @@ export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicen
349
342
  export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
350
343
  export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
351
344
  export type { Pagination } from './models/Pagination';
352
- export type { PatchedBotCommand } from './models/PatchedBotCommand';
353
- export type { PatchedBotCreate } from './models/PatchedBotCreate';
354
345
  export type { PatchedCallConfiguration } from './models/PatchedCallConfiguration';
355
346
  export type { PatchedConversations } from './models/PatchedConversations';
356
347
  export type { PatchedCourseCreationTaskFile } from './models/PatchedCourseCreationTaskFile';
357
348
  export type { PatchedCredentialRequest } from './models/PatchedCredentialRequest';
358
- export type { PatchedDataSet } from './models/PatchedDataSet';
359
- export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
360
- export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
349
+ export type { PatchedHumanSupportTicket } from './models/PatchedHumanSupportTicket';
361
350
  export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
362
351
  export type { PatchedMCPServer } from './models/PatchedMCPServer';
363
352
  export type { PatchedMediaResource } from './models/PatchedMediaResource';
@@ -373,15 +362,9 @@ export type { PatchedRbacPolicy } from './models/PatchedRbacPolicy';
373
362
  export type { PatchedRbacRole } from './models/PatchedRbacRole';
374
363
  export type { PatchedSection } from './models/PatchedSection';
375
364
  export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
376
- export type { PatchedSlackConfig } from './models/PatchedSlackConfig';
377
- export type { PatchedSlackUserConfig } from './models/PatchedSlackUserConfig';
378
365
  export type { PatchedSubSection } from './models/PatchedSubSection';
379
- export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
380
- export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
366
+ export type { PatchedTicketMessage } from './models/PatchedTicketMessage';
381
367
  export type { PatchedUnit } from './models/PatchedUnit';
382
- export type { PatchedWebexConfig } from './models/PatchedWebexConfig';
383
- export type { PatchedWhatsappConfig } from './models/PatchedWhatsappConfig';
384
- export type { PatchedWhatsappUserConfig } from './models/PatchedWhatsappUserConfig';
385
368
  export type { Pathway } from './models/Pathway';
386
369
  export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
387
370
  export type { PathwayCreateUpdateRequest } from './models/PathwayCreateUpdateRequest';
@@ -484,9 +467,7 @@ export type { PromptCategory } from './models/PromptCategory';
484
467
  export type { PromptFacet } from './models/PromptFacet';
485
468
  export type { PromptSearchResponse } from './models/PromptSearchResponse';
486
469
  export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
487
- export { Provider05cEnum } from './models/Provider05cEnum';
488
- export { Provider637Enum } from './models/Provider637Enum';
489
- export { Provider63aEnum } from './models/Provider63aEnum';
470
+ export { ProviderEnum } from './models/ProviderEnum';
490
471
  export type { QuestionCardTag } from './models/QuestionCardTag';
491
472
  export type { QuestionRequest } from './models/QuestionRequest';
492
473
  export type { QuestionResponse } from './models/QuestionResponse';
@@ -558,9 +539,6 @@ export type { SkillCreateUpdateRequest } from './models/SkillCreateUpdateRequest
558
539
  export type { SkillDetail } from './models/SkillDetail';
559
540
  export type { SkillInfo } from './models/SkillInfo';
560
541
  export type { SkillThreshold } from './models/SkillThreshold';
561
- export type { SlackConfig } from './models/SlackConfig';
562
- export type { SlackUserConfig } from './models/SlackUserConfig';
563
- export type { SlackWebhook } from './models/SlackWebhook';
564
542
  export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLearningPath';
565
543
  export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
566
544
  export type { StarMentor } from './models/StarMentor';
@@ -588,8 +566,6 @@ export type { SubTimeChild } from './models/SubTimeChild';
588
566
  export type { TagsView } from './models/TagsView';
589
567
  export { TargetSystemEnum } from './models/TargetSystemEnum';
590
568
  export type { TaskView } from './models/TaskView';
591
- export type { TeamsConfig } from './models/TeamsConfig';
592
- export type { TeamsWebhook } from './models/TeamsWebhook';
593
569
  export type { TemplateMentor } from './models/TemplateMentor';
594
570
  export type { TenantLaunchError } from './models/TenantLaunchError';
595
571
  export type { TenantLaunchFailed } from './models/TenantLaunchFailed';
@@ -597,6 +573,7 @@ export type { TenantLaunchRequest } from './models/TenantLaunchRequest';
597
573
  export type { TenantLaunchResponse } from './models/TenantLaunchResponse';
598
574
  export type { TenantMentorTraces } from './models/TenantMentorTraces';
599
575
  export { ThemeEnum } from './models/ThemeEnum';
576
+ export type { TicketMessage } from './models/TicketMessage';
600
577
  export type { TimeChildData } from './models/TimeChildData';
601
578
  export type { TimeDetail } from './models/TimeDetail';
602
579
  export type { TimeDetailChild } from './models/TimeDetailChild';
@@ -624,8 +601,6 @@ export type { TrainChatSessionDocumentView } from './models/TrainChatSessionDocu
624
601
  export type { TrainChatSessionDocumentViewRequest } from './models/TrainChatSessionDocumentViewRequest';
625
602
  export type { TrainDocumentViewRequest } from './models/TrainDocumentViewRequest';
626
603
  export type { TrainDocumentViewResponse } from './models/TrainDocumentViewResponse';
627
- export type { Training } from './models/Training';
628
- export type { TrainingCreate } from './models/TrainingCreate';
629
604
  export { TrainingStatusEnum } from './models/TrainingStatusEnum';
630
605
  export { TransportEnum } from './models/TransportEnum';
631
606
  export type { TrendEntry } from './models/TrendEntry';
@@ -699,20 +674,13 @@ export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
699
674
  export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
700
675
  export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
701
676
  export type { WatchedVideosPerUserData } from './models/WatchedVideosPerUserData';
702
- export type { WebexConfig } from './models/WebexConfig';
703
- export type { WebexWebhook } from './models/WebexWebhook';
704
677
  export type { WebResource } from './models/WebResource';
705
678
  export type { WebResourceCard } from './models/WebResourceCard';
706
679
  export type { WebResourcesQuery } from './models/WebResourcesQuery';
707
- export type { WhatAppWebHook } from './models/WhatAppWebHook';
708
- export type { WhatsappConfig } from './models/WhatsappConfig';
709
- export type { WhatsappUserConfig } from './models/WhatsappUserConfig';
710
680
  export type { WhitelistedDomain } from './models/WhitelistedDomain';
711
681
 
712
682
  export { AiAccountService } from './services/AiAccountService';
713
683
  export { AiAnalyticsService } from './services/AiAnalyticsService';
714
- export { AiBotService } from './services/AiBotService';
715
- export { AiFinetuningService } from './services/AiFinetuningService';
716
684
  export { AiIndexService } from './services/AiIndexService';
717
685
  export { AiMarketingService } from './services/AiMarketingService';
718
686
  export { AiMediaService } from './services/AiMediaService';
@@ -0,0 +1,26 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { HumanSupportTicketStatusEnum } from './HumanSupportTicketStatusEnum';
6
+ /**
7
+ * serializer interface intended for students/ non-admin users.
8
+ * This limits students to only update the subject and description of a ticket.
9
+ */
10
+ export type HumanSupportTicket = {
11
+ readonly id: number;
12
+ readonly username: string;
13
+ /**
14
+ * edX user ID
15
+ */
16
+ readonly user: number;
17
+ readonly session: string;
18
+ subject: string;
19
+ description: string;
20
+ status?: HumanSupportTicketStatusEnum;
21
+ readonly mentor_id: string;
22
+ readonly created_at: string;
23
+ readonly updated_at: string;
24
+ readonly resolved_at: string | null;
25
+ };
26
+
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * * `open` - Open
7
+ * * `in_progress` - In Progress
8
+ * * `closed` - Closed
9
+ */
10
+ export enum HumanSupportTicketStatusEnum {
11
+ OPEN = 'open',
12
+ IN_PROGRESS = 'in_progress',
13
+ CLOSED = 'closed',
14
+ }
@@ -2,11 +2,11 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- import type { DataSet } from './DataSet';
6
- export type PaginatedDataSetList = {
5
+ import type { HumanSupportTicket } from './HumanSupportTicket';
6
+ export type PaginatedHumanSupportTicketList = {
7
7
  count: number;
8
8
  next?: string | null;
9
9
  previous?: string | null;
10
- results: Array<DataSet>;
10
+ results: Array<HumanSupportTicket>;
11
11
  };
12
12
 
@@ -2,11 +2,11 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- import type { Training } from './Training';
6
- export type PaginatedTrainingList = {
5
+ import type { TicketMessage } from './TicketMessage';
6
+ export type PaginatedTicketMessageList = {
7
7
  count: number;
8
8
  next?: string | null;
9
9
  previous?: string | null;
10
- results: Array<Training>;
10
+ results: Array<TicketMessage>;
11
11
  };
12
12
 
@@ -0,0 +1,26 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { HumanSupportTicketStatusEnum } from './HumanSupportTicketStatusEnum';
6
+ /**
7
+ * serializer interface intended for students/ non-admin users.
8
+ * This limits students to only update the subject and description of a ticket.
9
+ */
10
+ export type PatchedHumanSupportTicket = {
11
+ readonly id?: number;
12
+ readonly username?: string;
13
+ /**
14
+ * edX user ID
15
+ */
16
+ readonly user?: number;
17
+ readonly session?: string;
18
+ subject?: string;
19
+ description?: string;
20
+ status?: HumanSupportTicketStatusEnum;
21
+ readonly mentor_id?: string;
22
+ readonly created_at?: string;
23
+ readonly updated_at?: string;
24
+ readonly resolved_at?: string | null;
25
+ };
26
+
@@ -2,14 +2,14 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- export type PatchedWhatsappUserConfig = {
5
+ export type PatchedTicketMessage = {
6
6
  readonly id?: number;
7
+ ticket?: number;
7
8
  /**
8
9
  * edX user ID
9
10
  */
10
- readonly user?: number;
11
- phone_number?: string;
12
- readonly date_created?: string;
13
- readonly last_modified?: string;
11
+ sender?: number | null;
12
+ message?: string;
13
+ readonly timestamp?: string;
14
14
  };
15
15
 
@@ -7,7 +7,7 @@
7
7
  * * `google` - Google
8
8
  * * `elevenlabs` - Elevenlabs
9
9
  */
10
- export enum Provider637Enum {
10
+ export enum ProviderEnum {
11
11
  OPENAI = 'openai',
12
12
  GOOGLE = 'google',
13
13
  ELEVENLABS = 'elevenlabs',