@iblai/iblai-api 5.0.0-ai → 6.0.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.
@@ -54,8 +54,6 @@ import type { DomainAttach } from '../models/DomainAttach';
54
54
  import type { EdxCourse } from '../models/EdxCourse';
55
55
  import type { ElevenlabsCustomVoice } from '../models/ElevenlabsCustomVoice';
56
56
  import type { ElevenlabsCustomVoiceResponse } from '../models/ElevenlabsCustomVoiceResponse';
57
- import type { EmailPromptDetail } from '../models/EmailPromptDetail';
58
- import type { EmailPromptSummary } from '../models/EmailPromptSummary';
59
57
  import type { ExperimentCreate } from '../models/ExperimentCreate';
60
58
  import type { FileUploadURLRequest } from '../models/FileUploadURLRequest';
61
59
  import type { FileUploadURLResponse } from '../models/FileUploadURLResponse';
@@ -138,7 +136,6 @@ import type { PaginatedDatasetList } from '../models/PaginatedDatasetList';
138
136
  import type { PaginatedDisclaimerAgreementList } from '../models/PaginatedDisclaimerAgreementList';
139
137
  import type { PaginatedDisclaimerList } from '../models/PaginatedDisclaimerList';
140
138
  import type { PaginatedEdxCourseList } from '../models/PaginatedEdxCourseList';
141
- import type { PaginatedEmailPromptListList } from '../models/PaginatedEmailPromptListList';
142
139
  import type { PaginatedGraderCriterionList } from '../models/PaginatedGraderCriterionList';
143
140
  import type { PaginatedGradeResultList } from '../models/PaginatedGradeResultList';
144
141
  import type { PaginatedHumanSupportTicketList } from '../models/PaginatedHumanSupportTicketList';
@@ -1998,133 +1995,6 @@ export class AiMentorService {
1998
1995
  },
1999
1996
  });
2000
1997
  }
2001
- /**
2002
- * Retrieve a list of emails in a mentor's inbox.
2003
- *
2004
- * The list can be filtered using the 'search' query parameter to search
2005
- * for specific terms in the email content or subject.
2006
- *
2007
- * Args:
2008
- * mentor: The unique identifier of the mentor.
2009
- *
2010
- * Returns:
2011
- * Response: A paginated list of emails in the mentor's inbox.
2012
- *
2013
- * Raises:
2014
- * NotFound: If the specified mentor does not exist.
2015
- * @returns PaginatedEmailPromptListList
2016
- * @throws ApiError
2017
- */
2018
- public static aiMentorOrgsAgentsEmailInboxList({
2019
- mentor,
2020
- org,
2021
- page,
2022
- pageSize,
2023
- search,
2024
- }: {
2025
- mentor: string,
2026
- org: string,
2027
- /**
2028
- * A page number within the paginated result set.
2029
- */
2030
- page?: number,
2031
- /**
2032
- * Number of results to return per page.
2033
- */
2034
- pageSize?: number,
2035
- /**
2036
- * Search term to filter emails by content or subject
2037
- */
2038
- search?: string,
2039
- }): CancelablePromise<PaginatedEmailPromptListList> {
2040
- return __request(OpenAPI, {
2041
- method: 'GET',
2042
- url: '/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/',
2043
- path: {
2044
- 'mentor': mentor,
2045
- 'org': org,
2046
- },
2047
- query: {
2048
- 'page': page,
2049
- 'page_size': pageSize,
2050
- 'search': search,
2051
- },
2052
- errors: {
2053
- 404: `Mentor not found`,
2054
- },
2055
- });
2056
- }
2057
- /**
2058
- * Retrieve a summary of a mentor's email inbox.
2059
- *
2060
- * Args:
2061
- * request: The HTTP request.
2062
- * mentor: The unique identifier of the mentor.
2063
- *
2064
- * Returns:
2065
- * Response: A summary of the mentor's email inbox statistics.
2066
- *
2067
- * Raises:
2068
- * NotFound: If the specified mentor does not exist.
2069
- * @returns EmailPromptSummary
2070
- * @throws ApiError
2071
- */
2072
- public static aiMentorOrgsAgentsEmailInboxSummaryRetrieve({
2073
- mentor,
2074
- org,
2075
- }: {
2076
- mentor: string,
2077
- org: string,
2078
- }): CancelablePromise<EmailPromptSummary> {
2079
- return __request(OpenAPI, {
2080
- method: 'GET',
2081
- url: '/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox-summary/',
2082
- path: {
2083
- 'mentor': mentor,
2084
- 'org': org,
2085
- },
2086
- errors: {
2087
- 404: `Mentor not found`,
2088
- },
2089
- });
2090
- }
2091
- /**
2092
- * Retrieve details of a specific email in a mentor's inbox.
2093
- *
2094
- * Args:
2095
- * request: The HTTP request.
2096
- * email_prompt_id: The ID of the email to retrieve.
2097
- *
2098
- * Returns:
2099
- * Response: The detailed information about the email.
2100
- *
2101
- * Raises:
2102
- * NotFound: If the specified email does not exist.
2103
- * @returns EmailPromptDetail
2104
- * @throws ApiError
2105
- */
2106
- public static aiMentorOrgsAgentsEmailInboxRetrieve({
2107
- emailPromptId,
2108
- mentor,
2109
- org,
2110
- }: {
2111
- emailPromptId: number,
2112
- mentor: string,
2113
- org: string,
2114
- }): CancelablePromise<EmailPromptDetail> {
2115
- return __request(OpenAPI, {
2116
- method: 'GET',
2117
- url: '/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/{email_prompt_id}/',
2118
- path: {
2119
- 'email_prompt_id': emailPromptId,
2120
- 'mentor': mentor,
2121
- 'org': org,
2122
- },
2123
- errors: {
2124
- 404: `Email not found`,
2125
- },
2126
- });
2127
- }
2128
1998
  /**
2129
1999
  * API endpoint to link mentor with a course and enable guided mode.
2130
2000
  *
@@ -4767,142 +4637,6 @@ export class AiMentorService {
4767
4637
  },
4768
4638
  });
4769
4639
  }
4770
- /**
4771
- * @deprecated
4772
- * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/` (`mentor` → `agent`) and will be removed in a future release.
4773
- *
4774
- * Retrieve a list of emails in a mentor's inbox.
4775
- *
4776
- * The list can be filtered using the 'search' query parameter to search
4777
- * for specific terms in the email content or subject.
4778
- *
4779
- * Args:
4780
- * mentor: The unique identifier of the mentor.
4781
- *
4782
- * Returns:
4783
- * Response: A paginated list of emails in the mentor's inbox.
4784
- *
4785
- * Raises:
4786
- * NotFound: If the specified mentor does not exist.
4787
- * @returns PaginatedEmailPromptListList
4788
- * @throws ApiError
4789
- */
4790
- public static aiMentorOrgsMentorsEmailInboxList({
4791
- mentor,
4792
- org,
4793
- page,
4794
- pageSize,
4795
- search,
4796
- }: {
4797
- mentor: string,
4798
- org: string,
4799
- /**
4800
- * A page number within the paginated result set.
4801
- */
4802
- page?: number,
4803
- /**
4804
- * Number of results to return per page.
4805
- */
4806
- pageSize?: number,
4807
- /**
4808
- * Search term to filter emails by content or subject
4809
- */
4810
- search?: string,
4811
- }): CancelablePromise<PaginatedEmailPromptListList> {
4812
- return __request(OpenAPI, {
4813
- method: 'GET',
4814
- url: '/api/ai-mentor/orgs/{org}/mentors/{mentor}/email-inbox/',
4815
- path: {
4816
- 'mentor': mentor,
4817
- 'org': org,
4818
- },
4819
- query: {
4820
- 'page': page,
4821
- 'page_size': pageSize,
4822
- 'search': search,
4823
- },
4824
- errors: {
4825
- 404: `Mentor not found`,
4826
- },
4827
- });
4828
- }
4829
- /**
4830
- * @deprecated
4831
- * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox-summary/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox-summary/` (`mentor` → `agent`) and will be removed in a future release.
4832
- *
4833
- * Retrieve a summary of a mentor's email inbox.
4834
- *
4835
- * Args:
4836
- * request: The HTTP request.
4837
- * mentor: The unique identifier of the mentor.
4838
- *
4839
- * Returns:
4840
- * Response: A summary of the mentor's email inbox statistics.
4841
- *
4842
- * Raises:
4843
- * NotFound: If the specified mentor does not exist.
4844
- * @returns EmailPromptSummary
4845
- * @throws ApiError
4846
- */
4847
- public static aiMentorOrgsMentorsEmailInboxSummaryRetrieve({
4848
- mentor,
4849
- org,
4850
- }: {
4851
- mentor: string,
4852
- org: string,
4853
- }): CancelablePromise<EmailPromptSummary> {
4854
- return __request(OpenAPI, {
4855
- method: 'GET',
4856
- url: '/api/ai-mentor/orgs/{org}/mentors/{mentor}/email-inbox-summary/',
4857
- path: {
4858
- 'mentor': mentor,
4859
- 'org': org,
4860
- },
4861
- errors: {
4862
- 404: `Mentor not found`,
4863
- },
4864
- });
4865
- }
4866
- /**
4867
- * @deprecated
4868
- * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/{email_prompt_id}/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/{email_prompt_id}/` (`mentor` → `agent`) and will be removed in a future release.
4869
- *
4870
- * Retrieve details of a specific email in a mentor's inbox.
4871
- *
4872
- * Args:
4873
- * request: The HTTP request.
4874
- * email_prompt_id: The ID of the email to retrieve.
4875
- *
4876
- * Returns:
4877
- * Response: The detailed information about the email.
4878
- *
4879
- * Raises:
4880
- * NotFound: If the specified email does not exist.
4881
- * @returns EmailPromptDetail
4882
- * @throws ApiError
4883
- */
4884
- public static aiMentorOrgsMentorsEmailInboxRetrieve({
4885
- emailPromptId,
4886
- mentor,
4887
- org,
4888
- }: {
4889
- emailPromptId: number,
4890
- mentor: string,
4891
- org: string,
4892
- }): CancelablePromise<EmailPromptDetail> {
4893
- return __request(OpenAPI, {
4894
- method: 'GET',
4895
- url: '/api/ai-mentor/orgs/{org}/mentors/{mentor}/email-inbox/{email_prompt_id}/',
4896
- path: {
4897
- 'email_prompt_id': emailPromptId,
4898
- 'mentor': mentor,
4899
- 'org': org,
4900
- },
4901
- errors: {
4902
- 404: `Email not found`,
4903
- },
4904
- });
4905
- }
4906
4640
  /**
4907
4641
  * @deprecated
4908
4642
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor}/link-course/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor}/link-course/` (`mentor` → `agent`) and will be removed in a future release.
@@ -23818,16 +23552,6 @@ export class AiMentorService {
23818
23552
  url: '/api/ai-mentor/voice-transcription/health/',
23819
23553
  });
23820
23554
  }
23821
- /**
23822
- * @returns any No response body
23823
- * @throws ApiError
23824
- */
23825
- public static aiMentorWebhooksAzureEmailchatCreate(): CancelablePromise<any> {
23826
- return __request(OpenAPI, {
23827
- method: 'POST',
23828
- url: '/api/ai-mentor/webhooks/azure/emailchat/',
23829
- });
23830
- }
23831
23555
  /**
23832
23556
  * This is the endpoint called by N8N workflows from N8N, to report progress to the mentor SPA(DM)
23833
23557
  *
@@ -159,7 +159,7 @@ export class V1ChannelsService {
159
159
  }
160
160
  /**
161
161
  * Update a channel credential
162
- * Changes the label and/or the given value fields; other fields are kept. A changed value is checked with the provider again. The channel and webhook id never change. Requires Ibl.Mentor/ChannelCredentials/write.
162
+ * Changes the label and/or the given value fields; other fields are kept. A changed value is checked with the provider again. A Telegram bot replaced on a verified credential is unhooked from the webhook. The channel and webhook id never change. Requires Ibl.Mentor/ChannelCredentials/write.
163
163
  * @returns ChannelCredential
164
164
  * @throws ApiError
165
165
  */
@@ -1,13 +0,0 @@
1
- export type EmailPromptDetail = {
2
- readonly id: number;
3
- readonly inserted_at: string;
4
- sender_email: string;
5
- sender_name?: string | null;
6
- subject?: string | null;
7
- content: string;
8
- mentor_name?: string | null;
9
- mentor_email: string;
10
- is_processed?: boolean;
11
- mentor_response?: string | null;
12
- send_status?: string | null;
13
- };
@@ -1,11 +0,0 @@
1
- export type EmailPromptList = {
2
- readonly id: number;
3
- sender_email: string;
4
- sender_name?: string | null;
5
- subject?: string | null;
6
- readonly content_summary: string | null;
7
- mentor_name?: string | null;
8
- mentor_email: string;
9
- is_processed?: boolean;
10
- readonly inserted_at: string;
11
- };
@@ -1,5 +0,0 @@
1
- export type EmailPromptSummary = {
2
- readonly total_emails: number;
3
- readonly replied_emails: number;
4
- readonly pending_emails: number;
5
- };
@@ -1,7 +0,0 @@
1
- import type { EmailPromptList } from './EmailPromptList';
2
- export type PaginatedEmailPromptListList = {
3
- count: number;
4
- next?: string | null;
5
- previous?: string | null;
6
- results: Array<EmailPromptList>;
7
- };
@@ -1,18 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type EmailPromptDetail = {
6
- readonly id: number;
7
- readonly inserted_at: string;
8
- sender_email: string;
9
- sender_name?: string | null;
10
- subject?: string | null;
11
- content: string;
12
- mentor_name?: string | null;
13
- mentor_email: string;
14
- is_processed?: boolean;
15
- mentor_response?: string | null;
16
- send_status?: string | null;
17
- };
18
-
@@ -1,16 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type EmailPromptList = {
6
- readonly id: number;
7
- sender_email: string;
8
- sender_name?: string | null;
9
- subject?: string | null;
10
- readonly content_summary: string | null;
11
- mentor_name?: string | null;
12
- mentor_email: string;
13
- is_processed?: boolean;
14
- readonly inserted_at: string;
15
- };
16
-
@@ -1,10 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type EmailPromptSummary = {
6
- readonly total_emails: number;
7
- readonly replied_emails: number;
8
- readonly pending_emails: number;
9
- };
10
-
@@ -1,12 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { EmailPromptList } from './EmailPromptList';
6
- export type PaginatedEmailPromptListList = {
7
- count: number;
8
- next?: string | null;
9
- previous?: string | null;
10
- results: Array<EmailPromptList>;
11
- };
12
-