@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.
- package/dist/index.cjs.js +2 -102
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -102
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -102
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/models/ChannelCatalogEntry.d.ts +1 -1
- package/dist/types/models/MentorSettings.d.ts +0 -1
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -1
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -1
- package/dist/types/services/AiMentorService.d.ts +0 -161
- package/dist/types/services/V1ChannelsService.d.ts +1 -1
- package/package.json +1 -1
- package/sdk_schema.yml +3 -452
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +0 -4
- package/src/models/ChannelCatalogEntry.ts +1 -1
- package/src/models/MentorSettings.ts +0 -1
- package/src/models/MentorSettingsPublic.ts +0 -1
- package/src/models/MentorSettingsRequest.ts +0 -1
- package/src/services/AiMentorService.ts +0 -276
- package/src/services/V1ChannelsService.ts +1 -1
- package/dist/types/models/EmailPromptDetail.d.ts +0 -13
- package/dist/types/models/EmailPromptList.d.ts +0 -11
- package/dist/types/models/EmailPromptSummary.d.ts +0 -5
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
- package/src/models/EmailPromptDetail.ts +0 -18
- package/src/models/EmailPromptList.ts +0 -16
- package/src/models/EmailPromptSummary.ts +0 -10
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version:
|
|
4
|
+
version: 6.0.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -12951,160 +12951,6 @@ paths:
|
|
|
12951
12951
|
description: Permission denied
|
|
12952
12952
|
'404':
|
|
12953
12953
|
description: User spend cap not found
|
|
12954
|
-
/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/:
|
|
12955
|
-
get:
|
|
12956
|
-
operationId: ai_mentor_orgs_agents_email_inbox_list
|
|
12957
|
-
description: "Retrieve a list of emails in a mentor's inbox.\n\nThe list can be filtered using the 'search' query parameter to search\nfor specific terms in the email content or subject.\n\nArgs:\n mentor: The unique identifier of the mentor.\n\nReturns:\n Response: A paginated list of emails in the mentor's inbox.\n\nRaises:\n NotFound: If the specified mentor does not exist."
|
|
12958
|
-
parameters:
|
|
12959
|
-
- in: path
|
|
12960
|
-
name: mentor
|
|
12961
|
-
schema:
|
|
12962
|
-
type: string
|
|
12963
|
-
required: true
|
|
12964
|
-
- in: path
|
|
12965
|
-
name: org
|
|
12966
|
-
schema:
|
|
12967
|
-
type: string
|
|
12968
|
-
required: true
|
|
12969
|
-
- name: page
|
|
12970
|
-
required: false
|
|
12971
|
-
in: query
|
|
12972
|
-
description: A page number within the paginated result set.
|
|
12973
|
-
schema:
|
|
12974
|
-
type: integer
|
|
12975
|
-
- name: page_size
|
|
12976
|
-
required: false
|
|
12977
|
-
in: query
|
|
12978
|
-
description: Number of results to return per page.
|
|
12979
|
-
schema:
|
|
12980
|
-
type: integer
|
|
12981
|
-
- in: query
|
|
12982
|
-
name: search
|
|
12983
|
-
schema:
|
|
12984
|
-
type: string
|
|
12985
|
-
description: Search term to filter emails by content or subject
|
|
12986
|
-
tags:
|
|
12987
|
-
- ai-mentor
|
|
12988
|
-
security:
|
|
12989
|
-
- PlatformApiKeyAuthentication: []
|
|
12990
|
-
responses:
|
|
12991
|
-
'200':
|
|
12992
|
-
content:
|
|
12993
|
-
application/json:
|
|
12994
|
-
schema:
|
|
12995
|
-
$ref: '#/components/schemas/PaginatedEmailPromptListList'
|
|
12996
|
-
examples:
|
|
12997
|
-
EmailInboxResponseExample:
|
|
12998
|
-
value:
|
|
12999
|
-
count: 123
|
|
13000
|
-
next: http://api.example.org/accounts/?page=4
|
|
13001
|
-
previous: http://api.example.org/accounts/?page=2
|
|
13002
|
-
results:
|
|
13003
|
-
- - id: 123
|
|
13004
|
-
sender_email: user@example.com
|
|
13005
|
-
sender_name: alice
|
|
13006
|
-
subject: Question about machine learning
|
|
13007
|
-
content_summary: Hello, I have a question about implementing neural networks...
|
|
13008
|
-
inserted_at: '2024-01-15T10:30:00Z'
|
|
13009
|
-
mentor_name: mentor_ai
|
|
13010
|
-
mentor_email: mentor_ai@example.com
|
|
13011
|
-
is_processed: true
|
|
13012
|
-
- id: 124
|
|
13013
|
-
sender_email: another@example.com
|
|
13014
|
-
sender_name: bob
|
|
13015
|
-
subject: Help with Python code
|
|
13016
|
-
content_summary: I'm trying to debug this Python function...
|
|
13017
|
-
inserted_at: '2024-01-14T15:45:00Z'
|
|
13018
|
-
mentor_name: mentor_ai
|
|
13019
|
-
mentor_email: mentor_ai@example.com
|
|
13020
|
-
is_processed: true
|
|
13021
|
-
summary: Email Inbox Response Example
|
|
13022
|
-
description: ''
|
|
13023
|
-
'404':
|
|
13024
|
-
description: Mentor not found
|
|
13025
|
-
/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox-summary/:
|
|
13026
|
-
get:
|
|
13027
|
-
operationId: ai_mentor_orgs_agents_email_inbox_summary_retrieve
|
|
13028
|
-
description: "Retrieve a summary of a mentor's email inbox.\n\nArgs:\n request: The HTTP request.\n mentor: The unique identifier of the mentor.\n\nReturns:\n Response: A summary of the mentor's email inbox statistics.\n\nRaises:\n NotFound: If the specified mentor does not exist."
|
|
13029
|
-
parameters:
|
|
13030
|
-
- in: path
|
|
13031
|
-
name: mentor
|
|
13032
|
-
schema:
|
|
13033
|
-
type: string
|
|
13034
|
-
required: true
|
|
13035
|
-
- in: path
|
|
13036
|
-
name: org
|
|
13037
|
-
schema:
|
|
13038
|
-
type: string
|
|
13039
|
-
required: true
|
|
13040
|
-
tags:
|
|
13041
|
-
- ai-mentor
|
|
13042
|
-
security:
|
|
13043
|
-
- PlatformApiKeyAuthentication: []
|
|
13044
|
-
responses:
|
|
13045
|
-
'200':
|
|
13046
|
-
content:
|
|
13047
|
-
application/json:
|
|
13048
|
-
schema:
|
|
13049
|
-
$ref: '#/components/schemas/EmailPromptSummary'
|
|
13050
|
-
examples:
|
|
13051
|
-
EmailInboxSummaryResponseExample:
|
|
13052
|
-
value:
|
|
13053
|
-
total_emails: 25
|
|
13054
|
-
replied_emails: 18
|
|
13055
|
-
pending_emails: 7
|
|
13056
|
-
summary: Email Inbox Summary Response Example
|
|
13057
|
-
description: ''
|
|
13058
|
-
'404':
|
|
13059
|
-
description: Mentor not found
|
|
13060
|
-
/api/ai-mentor/orgs/{org}/agents/{mentor}/email-inbox/{email_prompt_id}/:
|
|
13061
|
-
get:
|
|
13062
|
-
operationId: ai_mentor_orgs_agents_email_inbox_retrieve
|
|
13063
|
-
description: "Retrieve details of a specific email in a mentor's inbox.\n\nArgs:\n request: The HTTP request.\n email_prompt_id: The ID of the email to retrieve.\n\nReturns:\n Response: The detailed information about the email.\n\nRaises:\n NotFound: If the specified email does not exist."
|
|
13064
|
-
parameters:
|
|
13065
|
-
- in: path
|
|
13066
|
-
name: email_prompt_id
|
|
13067
|
-
schema:
|
|
13068
|
-
type: integer
|
|
13069
|
-
required: true
|
|
13070
|
-
- in: path
|
|
13071
|
-
name: mentor
|
|
13072
|
-
schema:
|
|
13073
|
-
type: string
|
|
13074
|
-
required: true
|
|
13075
|
-
- in: path
|
|
13076
|
-
name: org
|
|
13077
|
-
schema:
|
|
13078
|
-
type: string
|
|
13079
|
-
required: true
|
|
13080
|
-
tags:
|
|
13081
|
-
- ai-mentor
|
|
13082
|
-
security:
|
|
13083
|
-
- PlatformApiKeyAuthentication: []
|
|
13084
|
-
responses:
|
|
13085
|
-
'200':
|
|
13086
|
-
content:
|
|
13087
|
-
application/json:
|
|
13088
|
-
schema:
|
|
13089
|
-
$ref: '#/components/schemas/EmailPromptDetail'
|
|
13090
|
-
examples:
|
|
13091
|
-
EmailDetailResponseExample:
|
|
13092
|
-
value:
|
|
13093
|
-
id: 123
|
|
13094
|
-
sender_email: user@example.com
|
|
13095
|
-
sender_name: John Doe
|
|
13096
|
-
subject: Question about machine learning
|
|
13097
|
-
content: Hello, I have a question about implementing neural networks...
|
|
13098
|
-
mentor_name: ai-mentor
|
|
13099
|
-
mentor_email: ai-mentor@example.com
|
|
13100
|
-
inserted_at: '2024-01-15T10:30:00Z'
|
|
13101
|
-
is_processed: true
|
|
13102
|
-
mentor_response: Thanks for your question. I don't know about it either. Thank you.
|
|
13103
|
-
send_status: Email is sent via internal API.
|
|
13104
|
-
summary: Email Detail Response Example
|
|
13105
|
-
description: ''
|
|
13106
|
-
'404':
|
|
13107
|
-
description: Email not found
|
|
13108
12954
|
/api/ai-mentor/orgs/{org}/agents/{mentor}/link-course/:
|
|
13109
12955
|
get:
|
|
13110
12956
|
operationId: ai_mentor_orgs_agents_link_course_retrieve
|
|
@@ -17016,163 +16862,6 @@ paths:
|
|
|
17016
16862
|
'404':
|
|
17017
16863
|
description: User spend cap not found
|
|
17018
16864
|
deprecated: true
|
|
17019
|
-
/api/ai-mentor/orgs/{org}/mentors/{mentor}/email-inbox/:
|
|
17020
|
-
get:
|
|
17021
|
-
operationId: ai_mentor_orgs_mentors_email_inbox_list
|
|
17022
|
-
description: "**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.\n\nRetrieve a list of emails in a mentor's inbox.\n\nThe list can be filtered using the 'search' query parameter to search\nfor specific terms in the email content or subject.\n\nArgs:\n mentor: The unique identifier of the mentor.\n\nReturns:\n Response: A paginated list of emails in the mentor's inbox.\n\nRaises:\n NotFound: If the specified mentor does not exist."
|
|
17023
|
-
parameters:
|
|
17024
|
-
- in: path
|
|
17025
|
-
name: mentor
|
|
17026
|
-
schema:
|
|
17027
|
-
type: string
|
|
17028
|
-
required: true
|
|
17029
|
-
- in: path
|
|
17030
|
-
name: org
|
|
17031
|
-
schema:
|
|
17032
|
-
type: string
|
|
17033
|
-
required: true
|
|
17034
|
-
- name: page
|
|
17035
|
-
required: false
|
|
17036
|
-
in: query
|
|
17037
|
-
description: A page number within the paginated result set.
|
|
17038
|
-
schema:
|
|
17039
|
-
type: integer
|
|
17040
|
-
- name: page_size
|
|
17041
|
-
required: false
|
|
17042
|
-
in: query
|
|
17043
|
-
description: Number of results to return per page.
|
|
17044
|
-
schema:
|
|
17045
|
-
type: integer
|
|
17046
|
-
- in: query
|
|
17047
|
-
name: search
|
|
17048
|
-
schema:
|
|
17049
|
-
type: string
|
|
17050
|
-
description: Search term to filter emails by content or subject
|
|
17051
|
-
tags:
|
|
17052
|
-
- ai-mentor
|
|
17053
|
-
security:
|
|
17054
|
-
- PlatformApiKeyAuthentication: []
|
|
17055
|
-
responses:
|
|
17056
|
-
'200':
|
|
17057
|
-
content:
|
|
17058
|
-
application/json:
|
|
17059
|
-
schema:
|
|
17060
|
-
$ref: '#/components/schemas/PaginatedEmailPromptListList'
|
|
17061
|
-
examples:
|
|
17062
|
-
EmailInboxResponseExample:
|
|
17063
|
-
value:
|
|
17064
|
-
count: 123
|
|
17065
|
-
next: http://api.example.org/accounts/?page=4
|
|
17066
|
-
previous: http://api.example.org/accounts/?page=2
|
|
17067
|
-
results:
|
|
17068
|
-
- - id: 123
|
|
17069
|
-
sender_email: user@example.com
|
|
17070
|
-
sender_name: alice
|
|
17071
|
-
subject: Question about machine learning
|
|
17072
|
-
content_summary: Hello, I have a question about implementing neural networks...
|
|
17073
|
-
inserted_at: '2024-01-15T10:30:00Z'
|
|
17074
|
-
mentor_name: mentor_ai
|
|
17075
|
-
mentor_email: mentor_ai@example.com
|
|
17076
|
-
is_processed: true
|
|
17077
|
-
- id: 124
|
|
17078
|
-
sender_email: another@example.com
|
|
17079
|
-
sender_name: bob
|
|
17080
|
-
subject: Help with Python code
|
|
17081
|
-
content_summary: I'm trying to debug this Python function...
|
|
17082
|
-
inserted_at: '2024-01-14T15:45:00Z'
|
|
17083
|
-
mentor_name: mentor_ai
|
|
17084
|
-
mentor_email: mentor_ai@example.com
|
|
17085
|
-
is_processed: true
|
|
17086
|
-
summary: Email Inbox Response Example
|
|
17087
|
-
description: ''
|
|
17088
|
-
'404':
|
|
17089
|
-
description: Mentor not found
|
|
17090
|
-
deprecated: true
|
|
17091
|
-
/api/ai-mentor/orgs/{org}/mentors/{mentor}/email-inbox-summary/:
|
|
17092
|
-
get:
|
|
17093
|
-
operationId: ai_mentor_orgs_mentors_email_inbox_summary_retrieve
|
|
17094
|
-
description: "**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.\n\nRetrieve a summary of a mentor's email inbox.\n\nArgs:\n request: The HTTP request.\n mentor: The unique identifier of the mentor.\n\nReturns:\n Response: A summary of the mentor's email inbox statistics.\n\nRaises:\n NotFound: If the specified mentor does not exist."
|
|
17095
|
-
parameters:
|
|
17096
|
-
- in: path
|
|
17097
|
-
name: mentor
|
|
17098
|
-
schema:
|
|
17099
|
-
type: string
|
|
17100
|
-
required: true
|
|
17101
|
-
- in: path
|
|
17102
|
-
name: org
|
|
17103
|
-
schema:
|
|
17104
|
-
type: string
|
|
17105
|
-
required: true
|
|
17106
|
-
tags:
|
|
17107
|
-
- ai-mentor
|
|
17108
|
-
security:
|
|
17109
|
-
- PlatformApiKeyAuthentication: []
|
|
17110
|
-
responses:
|
|
17111
|
-
'200':
|
|
17112
|
-
content:
|
|
17113
|
-
application/json:
|
|
17114
|
-
schema:
|
|
17115
|
-
$ref: '#/components/schemas/EmailPromptSummary'
|
|
17116
|
-
examples:
|
|
17117
|
-
EmailInboxSummaryResponseExample:
|
|
17118
|
-
value:
|
|
17119
|
-
total_emails: 25
|
|
17120
|
-
replied_emails: 18
|
|
17121
|
-
pending_emails: 7
|
|
17122
|
-
summary: Email Inbox Summary Response Example
|
|
17123
|
-
description: ''
|
|
17124
|
-
'404':
|
|
17125
|
-
description: Mentor not found
|
|
17126
|
-
deprecated: true
|
|
17127
|
-
/api/ai-mentor/orgs/{org}/mentors/{mentor}/email-inbox/{email_prompt_id}/:
|
|
17128
|
-
get:
|
|
17129
|
-
operationId: ai_mentor_orgs_mentors_email_inbox_retrieve
|
|
17130
|
-
description: "**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.\n\nRetrieve details of a specific email in a mentor's inbox.\n\nArgs:\n request: The HTTP request.\n email_prompt_id: The ID of the email to retrieve.\n\nReturns:\n Response: The detailed information about the email.\n\nRaises:\n NotFound: If the specified email does not exist."
|
|
17131
|
-
parameters:
|
|
17132
|
-
- in: path
|
|
17133
|
-
name: email_prompt_id
|
|
17134
|
-
schema:
|
|
17135
|
-
type: integer
|
|
17136
|
-
required: true
|
|
17137
|
-
- in: path
|
|
17138
|
-
name: mentor
|
|
17139
|
-
schema:
|
|
17140
|
-
type: string
|
|
17141
|
-
required: true
|
|
17142
|
-
- in: path
|
|
17143
|
-
name: org
|
|
17144
|
-
schema:
|
|
17145
|
-
type: string
|
|
17146
|
-
required: true
|
|
17147
|
-
tags:
|
|
17148
|
-
- ai-mentor
|
|
17149
|
-
security:
|
|
17150
|
-
- PlatformApiKeyAuthentication: []
|
|
17151
|
-
responses:
|
|
17152
|
-
'200':
|
|
17153
|
-
content:
|
|
17154
|
-
application/json:
|
|
17155
|
-
schema:
|
|
17156
|
-
$ref: '#/components/schemas/EmailPromptDetail'
|
|
17157
|
-
examples:
|
|
17158
|
-
EmailDetailResponseExample:
|
|
17159
|
-
value:
|
|
17160
|
-
id: 123
|
|
17161
|
-
sender_email: user@example.com
|
|
17162
|
-
sender_name: John Doe
|
|
17163
|
-
subject: Question about machine learning
|
|
17164
|
-
content: Hello, I have a question about implementing neural networks...
|
|
17165
|
-
mentor_name: ai-mentor
|
|
17166
|
-
mentor_email: ai-mentor@example.com
|
|
17167
|
-
inserted_at: '2024-01-15T10:30:00Z'
|
|
17168
|
-
is_processed: true
|
|
17169
|
-
mentor_response: Thanks for your question. I don't know about it either. Thank you.
|
|
17170
|
-
send_status: Email is sent via internal API.
|
|
17171
|
-
summary: Email Detail Response Example
|
|
17172
|
-
description: ''
|
|
17173
|
-
'404':
|
|
17174
|
-
description: Email not found
|
|
17175
|
-
deprecated: true
|
|
17176
16865
|
/api/ai-mentor/orgs/{org}/mentors/{mentor}/link-course/:
|
|
17177
16866
|
get:
|
|
17178
16867
|
operationId: ai_mentor_orgs_mentors_link_course_retrieve
|
|
@@ -40477,14 +40166,6 @@ paths:
|
|
|
40477
40166
|
responses:
|
|
40478
40167
|
'200':
|
|
40479
40168
|
description: No response body
|
|
40480
|
-
/api/ai-mentor/webhooks/azure/emailchat/:
|
|
40481
|
-
post:
|
|
40482
|
-
operationId: ai_mentor_webhooks_azure_emailchat_create
|
|
40483
|
-
tags:
|
|
40484
|
-
- ai-mentor
|
|
40485
|
-
responses:
|
|
40486
|
-
'200':
|
|
40487
|
-
description: No response body
|
|
40488
40169
|
/api/ai-mentor/webhooks/n8n-progress/:
|
|
40489
40170
|
post:
|
|
40490
40171
|
operationId: ai_mentor_webhooks_n8n_progress_create
|
|
@@ -89872,7 +89553,7 @@ paths:
|
|
|
89872
89553
|
description: No such credential on this platform, or not readable
|
|
89873
89554
|
patch:
|
|
89874
89555
|
operationId: v1_channels_credentials_partial_update
|
|
89875
|
-
description: 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.
|
|
89556
|
+
description: 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.
|
|
89876
89557
|
summary: Update a channel credential
|
|
89877
89558
|
parameters:
|
|
89878
89559
|
- in: path
|
|
@@ -95122,7 +94803,7 @@ components:
|
|
|
95122
94803
|
credential_schema:
|
|
95123
94804
|
type: object
|
|
95124
94805
|
additionalProperties: {}
|
|
95125
|
-
description: '{field: {"type": "string", "is_sensitive": bool, "system_managed": bool}}. system_managed fields are generated by the server and cannot be sent.'
|
|
94806
|
+
description: '{field: {"type": "string", "is_sensitive": bool, "system_managed": bool, "pattern": str, "pattern_hint": str}}. system_managed fields are generated by the server and cannot be sent. pattern is an anchored regular expression the whole value must match, and pattern_hint completes the sentence "<field> must be ..."; both are present only on fields with a required format.'
|
|
95126
94807
|
address_label:
|
|
95127
94808
|
type: string
|
|
95128
94809
|
nullable: true
|
|
@@ -101040,102 +100721,6 @@ components:
|
|
|
101040
100721
|
- owner_full_name
|
|
101041
100722
|
- owner_student
|
|
101042
100723
|
- sample_audio_url
|
|
101043
|
-
EmailPromptDetail:
|
|
101044
|
-
type: object
|
|
101045
|
-
properties:
|
|
101046
|
-
id:
|
|
101047
|
-
type: integer
|
|
101048
|
-
readOnly: true
|
|
101049
|
-
inserted_at:
|
|
101050
|
-
type: string
|
|
101051
|
-
readOnly: true
|
|
101052
|
-
sender_email:
|
|
101053
|
-
type: string
|
|
101054
|
-
format: email
|
|
101055
|
-
maxLength: 254
|
|
101056
|
-
sender_name:
|
|
101057
|
-
type: string
|
|
101058
|
-
nullable: true
|
|
101059
|
-
subject:
|
|
101060
|
-
type: string
|
|
101061
|
-
nullable: true
|
|
101062
|
-
content:
|
|
101063
|
-
type: string
|
|
101064
|
-
mentor_name:
|
|
101065
|
-
type: string
|
|
101066
|
-
nullable: true
|
|
101067
|
-
mentor_email:
|
|
101068
|
-
type: string
|
|
101069
|
-
format: email
|
|
101070
|
-
maxLength: 254
|
|
101071
|
-
is_processed:
|
|
101072
|
-
type: boolean
|
|
101073
|
-
mentor_response:
|
|
101074
|
-
type: string
|
|
101075
|
-
nullable: true
|
|
101076
|
-
send_status:
|
|
101077
|
-
type: string
|
|
101078
|
-
nullable: true
|
|
101079
|
-
required:
|
|
101080
|
-
- content
|
|
101081
|
-
- id
|
|
101082
|
-
- inserted_at
|
|
101083
|
-
- mentor_email
|
|
101084
|
-
- sender_email
|
|
101085
|
-
EmailPromptList:
|
|
101086
|
-
type: object
|
|
101087
|
-
properties:
|
|
101088
|
-
id:
|
|
101089
|
-
type: integer
|
|
101090
|
-
readOnly: true
|
|
101091
|
-
sender_email:
|
|
101092
|
-
type: string
|
|
101093
|
-
format: email
|
|
101094
|
-
maxLength: 254
|
|
101095
|
-
sender_name:
|
|
101096
|
-
type: string
|
|
101097
|
-
nullable: true
|
|
101098
|
-
subject:
|
|
101099
|
-
type: string
|
|
101100
|
-
nullable: true
|
|
101101
|
-
content_summary:
|
|
101102
|
-
type: string
|
|
101103
|
-
nullable: true
|
|
101104
|
-
readOnly: true
|
|
101105
|
-
mentor_name:
|
|
101106
|
-
type: string
|
|
101107
|
-
nullable: true
|
|
101108
|
-
mentor_email:
|
|
101109
|
-
type: string
|
|
101110
|
-
format: email
|
|
101111
|
-
maxLength: 254
|
|
101112
|
-
is_processed:
|
|
101113
|
-
type: boolean
|
|
101114
|
-
inserted_at:
|
|
101115
|
-
type: string
|
|
101116
|
-
readOnly: true
|
|
101117
|
-
required:
|
|
101118
|
-
- content_summary
|
|
101119
|
-
- id
|
|
101120
|
-
- inserted_at
|
|
101121
|
-
- mentor_email
|
|
101122
|
-
- sender_email
|
|
101123
|
-
EmailPromptSummary:
|
|
101124
|
-
type: object
|
|
101125
|
-
properties:
|
|
101126
|
-
total_emails:
|
|
101127
|
-
type: integer
|
|
101128
|
-
readOnly: true
|
|
101129
|
-
replied_emails:
|
|
101130
|
-
type: integer
|
|
101131
|
-
readOnly: true
|
|
101132
|
-
pending_emails:
|
|
101133
|
-
type: integer
|
|
101134
|
-
readOnly: true
|
|
101135
|
-
required:
|
|
101136
|
-
- pending_emails
|
|
101137
|
-
- replied_emails
|
|
101138
|
-
- total_emails
|
|
101139
100724
|
EnforcementEnum:
|
|
101140
100725
|
enum:
|
|
101141
100726
|
- block
|
|
@@ -107723,9 +107308,6 @@ components:
|
|
|
107723
107308
|
placeholder_prompt:
|
|
107724
107309
|
type: string
|
|
107725
107310
|
readOnly: true
|
|
107726
|
-
enable_email_chat:
|
|
107727
|
-
type: boolean
|
|
107728
|
-
readOnly: true
|
|
107729
107311
|
enable_spaced_repetition:
|
|
107730
107312
|
type: boolean
|
|
107731
107313
|
readOnly: true
|
|
@@ -108002,7 +107584,6 @@ components:
|
|
|
108002
107584
|
- enable_custom_javascript
|
|
108003
107585
|
- enable_disclaimer
|
|
108004
107586
|
- enable_document_filter
|
|
108005
|
-
- enable_email_chat
|
|
108006
107587
|
- enable_guided_prompts
|
|
108007
107588
|
- enable_in_chat_llm_change
|
|
108008
107589
|
- enable_instruction_mode
|
|
@@ -108320,9 +107901,6 @@ components:
|
|
|
108320
107901
|
placeholder_prompt:
|
|
108321
107902
|
type: string
|
|
108322
107903
|
readOnly: true
|
|
108323
|
-
enable_email_chat:
|
|
108324
|
-
type: boolean
|
|
108325
|
-
readOnly: true
|
|
108326
107904
|
enable_spaced_repetition:
|
|
108327
107905
|
type: boolean
|
|
108328
107906
|
readOnly: true
|
|
@@ -108455,7 +108033,6 @@ components:
|
|
|
108455
108033
|
- enable_custom_javascript
|
|
108456
108034
|
- enable_disclaimer
|
|
108457
108035
|
- enable_document_filter
|
|
108458
|
-
- enable_email_chat
|
|
108459
108036
|
- enable_guided_prompts
|
|
108460
108037
|
- enable_in_chat_llm_change
|
|
108461
108038
|
- enable_instruction_mode
|
|
@@ -108827,9 +108404,6 @@ components:
|
|
|
108827
108404
|
is_featured:
|
|
108828
108405
|
type: boolean
|
|
108829
108406
|
default: false
|
|
108830
|
-
enable_email_chat:
|
|
108831
|
-
type: boolean
|
|
108832
|
-
default: false
|
|
108833
108407
|
categories:
|
|
108834
108408
|
type: array
|
|
108835
108409
|
items:
|
|
@@ -111869,29 +111443,6 @@ components:
|
|
|
111869
111443
|
type: array
|
|
111870
111444
|
items:
|
|
111871
111445
|
$ref: '#/components/schemas/EdxCourse'
|
|
111872
|
-
PaginatedEmailPromptListList:
|
|
111873
|
-
type: object
|
|
111874
|
-
required:
|
|
111875
|
-
- count
|
|
111876
|
-
- results
|
|
111877
|
-
properties:
|
|
111878
|
-
count:
|
|
111879
|
-
type: integer
|
|
111880
|
-
example: 123
|
|
111881
|
-
next:
|
|
111882
|
-
type: string
|
|
111883
|
-
nullable: true
|
|
111884
|
-
format: uri
|
|
111885
|
-
example: http://api.example.org/accounts/?page=4
|
|
111886
|
-
previous:
|
|
111887
|
-
type: string
|
|
111888
|
-
nullable: true
|
|
111889
|
-
format: uri
|
|
111890
|
-
example: http://api.example.org/accounts/?page=2
|
|
111891
|
-
results:
|
|
111892
|
-
type: array
|
|
111893
|
-
items:
|
|
111894
|
-
$ref: '#/components/schemas/EmailPromptList'
|
|
111895
111446
|
PaginatedFavoriteList:
|
|
111896
111447
|
type: object
|
|
111897
111448
|
required:
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -294,9 +294,6 @@ export type { EdxSignalReceiverRequest } from './models/EdxSignalReceiverRequest
|
|
|
294
294
|
export { EffectiveDmPolicyEnum } from './models/EffectiveDmPolicyEnum';
|
|
295
295
|
export type { ElevenlabsCustomVoice } from './models/ElevenlabsCustomVoice';
|
|
296
296
|
export type { ElevenlabsCustomVoiceResponse } from './models/ElevenlabsCustomVoiceResponse';
|
|
297
|
-
export type { EmailPromptDetail } from './models/EmailPromptDetail';
|
|
298
|
-
export type { EmailPromptList } from './models/EmailPromptList';
|
|
299
|
-
export type { EmailPromptSummary } from './models/EmailPromptSummary';
|
|
300
297
|
export { EnforcementEnum } from './models/EnforcementEnum';
|
|
301
298
|
export type { EngagementPerCourse } from './models/EngagementPerCourse';
|
|
302
299
|
export type { EngagementPerCourseData } from './models/EngagementPerCourseData';
|
|
@@ -603,7 +600,6 @@ export type { PaginatedDealList } from './models/PaginatedDealList';
|
|
|
603
600
|
export type { PaginatedDisclaimerAgreementList } from './models/PaginatedDisclaimerAgreementList';
|
|
604
601
|
export type { PaginatedDisclaimerList } from './models/PaginatedDisclaimerList';
|
|
605
602
|
export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
|
|
606
|
-
export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
|
|
607
603
|
export type { PaginatedFavoriteList } from './models/PaginatedFavoriteList';
|
|
608
604
|
export type { PaginatedGraderCriterionList } from './models/PaginatedGraderCriterionList';
|
|
609
605
|
export type { PaginatedGradeResultList } from './models/PaginatedGradeResultList';
|
|
@@ -7,7 +7,7 @@ export type ChannelCatalogEntry = {
|
|
|
7
7
|
channel: ChannelEnum;
|
|
8
8
|
name: string;
|
|
9
9
|
/**
|
|
10
|
-
* {field: {"type": "string", "is_sensitive": bool, "system_managed": bool}}. system_managed fields are generated by the server and cannot be sent.
|
|
10
|
+
* {field: {"type": "string", "is_sensitive": bool, "system_managed": bool, "pattern": str, "pattern_hint": str}}. system_managed fields are generated by the server and cannot be sent. pattern is an anchored regular expression the whole value must match, and pattern_hint completes the sentence "<field> must be ..."; both are present only on fields with a required format.
|
|
11
11
|
*/
|
|
12
12
|
credential_schema: Record<string, any>;
|
|
13
13
|
/**
|
|
@@ -89,7 +89,6 @@ export type MentorSettings = {
|
|
|
89
89
|
readonly embed_icon_selection_data: any;
|
|
90
90
|
embed_custom_image?: string | null;
|
|
91
91
|
readonly placeholder_prompt: string;
|
|
92
|
-
readonly enable_email_chat: boolean;
|
|
93
92
|
readonly enable_spaced_repetition: boolean;
|
|
94
93
|
readonly enable_instruction_mode: boolean;
|
|
95
94
|
readonly enable_socratic_mode: boolean;
|
|
@@ -86,7 +86,6 @@ export type MentorSettingsPublic = {
|
|
|
86
86
|
readonly embed_icon_selection_data: any;
|
|
87
87
|
embed_custom_image?: string | null;
|
|
88
88
|
readonly placeholder_prompt: string;
|
|
89
|
-
readonly enable_email_chat: boolean;
|
|
90
89
|
readonly enable_spaced_repetition: boolean;
|
|
91
90
|
readonly enable_instruction_mode: boolean;
|
|
92
91
|
readonly enable_socratic_mode: boolean;
|
|
@@ -145,7 +145,6 @@ export type MentorSettingsRequest = {
|
|
|
145
145
|
enable_socratic_mode?: boolean;
|
|
146
146
|
is_guided_mentor?: boolean;
|
|
147
147
|
is_featured?: boolean;
|
|
148
|
-
enable_email_chat?: boolean;
|
|
149
148
|
categories?: Array<number>;
|
|
150
149
|
types?: Array<number>;
|
|
151
150
|
subjects?: Array<number>;
|