@iblai/iblai-api 2025.11.6-teams-bot-renovation-ai → 2025.11.6-teams-bot-renovation-2-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 +34 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +34 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +34 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
- package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
- package/dist/types/models/Mentor.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +1 -0
- package/dist/types/models/MentorSettings.d.ts +1 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +1 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +1 -0
- package/dist/types/services/AiMentorService.d.ts +35 -6
- package/package.json +1 -1
- package/sdk_schema.yml +163 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -0
- package/src/models/FileUploadURLRequest.ts +26 -0
- package/src/models/FileUploadURLResponse.ts +30 -0
- package/src/models/Mentor.ts +4 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +1 -0
- package/src/models/MentorSettings.ts +1 -0
- package/src/models/MentorSettingsPublic.ts +1 -0
- package/src/models/MentorSettingsRequest.ts +1 -0
- package/src/services/AiMentorService.ts +63 -0
|
@@ -26,6 +26,8 @@ import type { ElevenlabsCustomVoice } from '../models/ElevenlabsCustomVoice';
|
|
|
26
26
|
import type { ElevenlabsCustomVoiceResponse } from '../models/ElevenlabsCustomVoiceResponse';
|
|
27
27
|
import type { EmailPromptDetail } from '../models/EmailPromptDetail';
|
|
28
28
|
import type { EmailPromptSummary } from '../models/EmailPromptSummary';
|
|
29
|
+
import type { FileUploadURLRequest } from '../models/FileUploadURLRequest';
|
|
30
|
+
import type { FileUploadURLResponse } from '../models/FileUploadURLResponse';
|
|
29
31
|
import type { FreeUsageCount } from '../models/FreeUsageCount';
|
|
30
32
|
import type { FullCourse } from '../models/FullCourse';
|
|
31
33
|
import type { HumanSupportTicket } from '../models/HumanSupportTicket';
|
|
@@ -563,7 +565,7 @@ export declare class AiMentorService {
|
|
|
563
565
|
* @returns PaginatedMentorList
|
|
564
566
|
* @throws ApiError
|
|
565
567
|
*/
|
|
566
|
-
static aiMentorOrgsUsersList({ org, userId, departmentId, filterBy, metadataKey, metadataValue, page, pageSize, returnSessionInformation, visibility, }: {
|
|
568
|
+
static aiMentorOrgsUsersList({ org, userId, departmentId, filterBy, isFeatured, metadataKey, metadataValue, page, pageSize, returnSessionInformation, visibility, }: {
|
|
567
569
|
org: string; /**
|
|
568
570
|
* Department to filter by
|
|
569
571
|
*/
|
|
@@ -571,6 +573,9 @@ export declare class AiMentorService {
|
|
|
571
573
|
* Filter options include, date, name, default is date
|
|
572
574
|
*/
|
|
573
575
|
filterBy?: string; /**
|
|
576
|
+
* Whether the mentor is featured or not
|
|
577
|
+
*/
|
|
578
|
+
isFeatured?: boolean; /**
|
|
574
579
|
* Metadata key to be queried with
|
|
575
580
|
*/
|
|
576
581
|
metadataKey?: string; /**
|
|
@@ -600,7 +605,7 @@ export declare class AiMentorService {
|
|
|
600
605
|
* @returns Mentor
|
|
601
606
|
* @throws ApiError
|
|
602
607
|
*/
|
|
603
|
-
static aiMentorOrgsUsersCreate({ org, userId, requestBody, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
608
|
+
static aiMentorOrgsUsersCreate({ org, userId, requestBody, departmentId, filterBy, isFeatured, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
604
609
|
org: string;
|
|
605
610
|
requestBody: MentorCreate; /**
|
|
606
611
|
* Department to filter by
|
|
@@ -609,6 +614,9 @@ export declare class AiMentorService {
|
|
|
609
614
|
* Filter options include, date, name, default is date
|
|
610
615
|
*/
|
|
611
616
|
filterBy?: string; /**
|
|
617
|
+
* Whether the mentor is featured or not
|
|
618
|
+
*/
|
|
619
|
+
isFeatured?: boolean; /**
|
|
612
620
|
* Metadata key to be queried with
|
|
613
621
|
*/
|
|
614
622
|
metadataKey?: string; /**
|
|
@@ -632,7 +640,7 @@ export declare class AiMentorService {
|
|
|
632
640
|
* @returns Mentor
|
|
633
641
|
* @throws ApiError
|
|
634
642
|
*/
|
|
635
|
-
static aiMentorOrgsUsersRetrieve({ name, org, userId, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
643
|
+
static aiMentorOrgsUsersRetrieve({ name, org, userId, departmentId, filterBy, isFeatured, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
636
644
|
name: string;
|
|
637
645
|
org: string; /**
|
|
638
646
|
* Department to filter by
|
|
@@ -641,6 +649,9 @@ export declare class AiMentorService {
|
|
|
641
649
|
* Filter options include, date, name, default is date
|
|
642
650
|
*/
|
|
643
651
|
filterBy?: string; /**
|
|
652
|
+
* Whether the mentor is featured or not
|
|
653
|
+
*/
|
|
654
|
+
isFeatured?: boolean; /**
|
|
644
655
|
* Metadata key to be queried with
|
|
645
656
|
*/
|
|
646
657
|
metadataKey?: string; /**
|
|
@@ -659,7 +670,7 @@ export declare class AiMentorService {
|
|
|
659
670
|
* @returns Mentor
|
|
660
671
|
* @throws ApiError
|
|
661
672
|
*/
|
|
662
|
-
static aiMentorOrgsUsersUpdate({ name, org, userId, requestBody, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
673
|
+
static aiMentorOrgsUsersUpdate({ name, org, userId, requestBody, departmentId, filterBy, isFeatured, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
663
674
|
name: string;
|
|
664
675
|
org: string;
|
|
665
676
|
requestBody: MentorCreate; /**
|
|
@@ -669,6 +680,9 @@ export declare class AiMentorService {
|
|
|
669
680
|
* Filter options include, date, name, default is date
|
|
670
681
|
*/
|
|
671
682
|
filterBy?: string; /**
|
|
683
|
+
* Whether the mentor is featured or not
|
|
684
|
+
*/
|
|
685
|
+
isFeatured?: boolean; /**
|
|
672
686
|
* Metadata key to be queried with
|
|
673
687
|
*/
|
|
674
688
|
metadataKey?: string; /**
|
|
@@ -692,7 +706,7 @@ export declare class AiMentorService {
|
|
|
692
706
|
* @returns MentorCreate
|
|
693
707
|
* @throws ApiError
|
|
694
708
|
*/
|
|
695
|
-
static aiMentorOrgsUsersPartialUpdate({ name, org, userId, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, requestBody, }: {
|
|
709
|
+
static aiMentorOrgsUsersPartialUpdate({ name, org, userId, departmentId, filterBy, isFeatured, metadataKey, metadataValue, returnSessionInformation, visibility, requestBody, }: {
|
|
696
710
|
name: string;
|
|
697
711
|
org: string; /**
|
|
698
712
|
* Department to filter by
|
|
@@ -701,6 +715,9 @@ export declare class AiMentorService {
|
|
|
701
715
|
* Filter options include, date, name, default is date
|
|
702
716
|
*/
|
|
703
717
|
filterBy?: string; /**
|
|
718
|
+
* Whether the mentor is featured or not
|
|
719
|
+
*/
|
|
720
|
+
isFeatured?: boolean; /**
|
|
704
721
|
* Metadata key to be queried with
|
|
705
722
|
*/
|
|
706
723
|
metadataKey?: string; /**
|
|
@@ -720,7 +737,7 @@ export declare class AiMentorService {
|
|
|
720
737
|
* @returns void
|
|
721
738
|
* @throws ApiError
|
|
722
739
|
*/
|
|
723
|
-
static aiMentorOrgsUsersDestroy({ name, org, userId, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
740
|
+
static aiMentorOrgsUsersDestroy({ name, org, userId, departmentId, filterBy, isFeatured, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
|
|
724
741
|
name: string;
|
|
725
742
|
org: string; /**
|
|
726
743
|
* Department to filter by
|
|
@@ -729,6 +746,9 @@ export declare class AiMentorService {
|
|
|
729
746
|
* Filter options include, date, name, default is date
|
|
730
747
|
*/
|
|
731
748
|
filterBy?: string; /**
|
|
749
|
+
* Whether the mentor is featured or not
|
|
750
|
+
*/
|
|
751
|
+
isFeatured?: boolean; /**
|
|
732
752
|
* Metadata key to be queried with
|
|
733
753
|
*/
|
|
734
754
|
metadataKey?: string; /**
|
|
@@ -1319,6 +1339,15 @@ export declare class AiMentorService {
|
|
|
1319
1339
|
id: number;
|
|
1320
1340
|
org: string;
|
|
1321
1341
|
}): CancelablePromise<void>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Generate presigned S3 upload URL for chat file
|
|
1344
|
+
* @returns FileUploadURLResponse
|
|
1345
|
+
* @throws ApiError
|
|
1346
|
+
*/
|
|
1347
|
+
static aiMentorOrgsUsersChatFilesUploadUrlCreate({ org, userId, requestBody, }: {
|
|
1348
|
+
org: string;
|
|
1349
|
+
requestBody: FileUploadURLRequest;
|
|
1350
|
+
}): CancelablePromise<FileUploadURLResponse>;
|
|
1322
1351
|
/**
|
|
1323
1352
|
* Retrieve and clean up vector results from a specific session.
|
|
1324
1353
|
*
|
package/package.json
CHANGED
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.
|
|
4
|
+
version: 4.87.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -14531,6 +14531,11 @@ paths:
|
|
|
14531
14531
|
type: string
|
|
14532
14532
|
minLength: 1
|
|
14533
14533
|
description: 'Filter options include, date, name, default is date '
|
|
14534
|
+
- in: query
|
|
14535
|
+
name: is_featured
|
|
14536
|
+
schema:
|
|
14537
|
+
type: boolean
|
|
14538
|
+
description: Whether the mentor is featured or not
|
|
14534
14539
|
- in: query
|
|
14535
14540
|
name: metadata_key
|
|
14536
14541
|
schema:
|
|
@@ -14627,6 +14632,11 @@ paths:
|
|
|
14627
14632
|
type: string
|
|
14628
14633
|
minLength: 1
|
|
14629
14634
|
description: 'Filter options include, date, name, default is date '
|
|
14635
|
+
- in: query
|
|
14636
|
+
name: is_featured
|
|
14637
|
+
schema:
|
|
14638
|
+
type: boolean
|
|
14639
|
+
description: Whether the mentor is featured or not
|
|
14630
14640
|
- in: query
|
|
14631
14641
|
name: metadata_key
|
|
14632
14642
|
schema:
|
|
@@ -14730,6 +14740,11 @@ paths:
|
|
|
14730
14740
|
type: string
|
|
14731
14741
|
minLength: 1
|
|
14732
14742
|
description: 'Filter options include, date, name, default is date '
|
|
14743
|
+
- in: query
|
|
14744
|
+
name: is_featured
|
|
14745
|
+
schema:
|
|
14746
|
+
type: boolean
|
|
14747
|
+
description: Whether the mentor is featured or not
|
|
14733
14748
|
- in: query
|
|
14734
14749
|
name: metadata_key
|
|
14735
14750
|
schema:
|
|
@@ -14796,6 +14811,11 @@ paths:
|
|
|
14796
14811
|
type: string
|
|
14797
14812
|
minLength: 1
|
|
14798
14813
|
description: 'Filter options include, date, name, default is date '
|
|
14814
|
+
- in: query
|
|
14815
|
+
name: is_featured
|
|
14816
|
+
schema:
|
|
14817
|
+
type: boolean
|
|
14818
|
+
description: Whether the mentor is featured or not
|
|
14799
14819
|
- in: query
|
|
14800
14820
|
name: metadata_key
|
|
14801
14821
|
schema:
|
|
@@ -14903,6 +14923,11 @@ paths:
|
|
|
14903
14923
|
type: string
|
|
14904
14924
|
minLength: 1
|
|
14905
14925
|
description: 'Filter options include, date, name, default is date '
|
|
14926
|
+
- in: query
|
|
14927
|
+
name: is_featured
|
|
14928
|
+
schema:
|
|
14929
|
+
type: boolean
|
|
14930
|
+
description: Whether the mentor is featured or not
|
|
14906
14931
|
- in: query
|
|
14907
14932
|
name: metadata_key
|
|
14908
14933
|
schema:
|
|
@@ -14985,6 +15010,11 @@ paths:
|
|
|
14985
15010
|
type: string
|
|
14986
15011
|
minLength: 1
|
|
14987
15012
|
description: 'Filter options include, date, name, default is date '
|
|
15013
|
+
- in: query
|
|
15014
|
+
name: is_featured
|
|
15015
|
+
schema:
|
|
15016
|
+
type: boolean
|
|
15017
|
+
description: Whether the mentor is featured or not
|
|
14988
15018
|
- in: query
|
|
14989
15019
|
name: metadata_key
|
|
14990
15020
|
schema:
|
|
@@ -16528,6 +16558,68 @@ paths:
|
|
|
16528
16558
|
responses:
|
|
16529
16559
|
'204':
|
|
16530
16560
|
description: No response body
|
|
16561
|
+
/api/ai-mentor/orgs/{org}/users/{user_id}/chat/files/upload-url/:
|
|
16562
|
+
post:
|
|
16563
|
+
operationId: ai_mentor_orgs_users_chat_files_upload_url_create
|
|
16564
|
+
description: Generate presigned S3 upload URL for chat file
|
|
16565
|
+
parameters:
|
|
16566
|
+
- in: path
|
|
16567
|
+
name: org
|
|
16568
|
+
schema:
|
|
16569
|
+
type: string
|
|
16570
|
+
required: true
|
|
16571
|
+
- in: path
|
|
16572
|
+
name: user_id
|
|
16573
|
+
schema:
|
|
16574
|
+
type: string
|
|
16575
|
+
required: true
|
|
16576
|
+
tags:
|
|
16577
|
+
- ai-mentor
|
|
16578
|
+
requestBody:
|
|
16579
|
+
content:
|
|
16580
|
+
application/json:
|
|
16581
|
+
schema:
|
|
16582
|
+
$ref: '#/components/schemas/FileUploadURLRequest'
|
|
16583
|
+
application/scim+json:
|
|
16584
|
+
schema:
|
|
16585
|
+
$ref: '#/components/schemas/FileUploadURLRequest'
|
|
16586
|
+
application/x-www-form-urlencoded:
|
|
16587
|
+
schema:
|
|
16588
|
+
$ref: '#/components/schemas/FileUploadURLRequest'
|
|
16589
|
+
multipart/form-data:
|
|
16590
|
+
schema:
|
|
16591
|
+
$ref: '#/components/schemas/FileUploadURLRequest'
|
|
16592
|
+
'*/*':
|
|
16593
|
+
schema:
|
|
16594
|
+
$ref: '#/components/schemas/FileUploadURLRequest'
|
|
16595
|
+
required: true
|
|
16596
|
+
security:
|
|
16597
|
+
- PlatformApiKeyAuthentication: []
|
|
16598
|
+
responses:
|
|
16599
|
+
'200':
|
|
16600
|
+
content:
|
|
16601
|
+
application/json:
|
|
16602
|
+
schema:
|
|
16603
|
+
$ref: '#/components/schemas/FileUploadURLResponse'
|
|
16604
|
+
description: ''
|
|
16605
|
+
'400':
|
|
16606
|
+
content:
|
|
16607
|
+
application/json:
|
|
16608
|
+
schema:
|
|
16609
|
+
description: Invalid request
|
|
16610
|
+
description: ''
|
|
16611
|
+
'401':
|
|
16612
|
+
content:
|
|
16613
|
+
application/json:
|
|
16614
|
+
schema:
|
|
16615
|
+
description: Unauthorized
|
|
16616
|
+
description: ''
|
|
16617
|
+
'403':
|
|
16618
|
+
content:
|
|
16619
|
+
application/json:
|
|
16620
|
+
schema:
|
|
16621
|
+
description: Forbidden - session access denied
|
|
16622
|
+
description: ''
|
|
16531
16623
|
/api/ai-mentor/orgs/{org}/users/{user_id}/clean-vector-results/{session_id}/:
|
|
16532
16624
|
get:
|
|
16533
16625
|
operationId: ai_mentor_orgs_users_clean_vector_results_list
|
|
@@ -23015,6 +23107,7 @@ paths:
|
|
|
23015
23107
|
enable_total_grounding: false
|
|
23016
23108
|
guided_prompt_instructions: you are...
|
|
23017
23109
|
enable_guided_prompts: true
|
|
23110
|
+
is_featured: true
|
|
23018
23111
|
mcp_servers:
|
|
23019
23112
|
- id: 1
|
|
23020
23113
|
name: mcp-server-1
|
|
@@ -73002,6 +73095,58 @@ components:
|
|
|
73002
73095
|
- display_name
|
|
73003
73096
|
- id
|
|
73004
73097
|
- name
|
|
73098
|
+
FileUploadURLRequest:
|
|
73099
|
+
type: object
|
|
73100
|
+
description: Request serializer for generating presigned upload URL
|
|
73101
|
+
properties:
|
|
73102
|
+
session_id:
|
|
73103
|
+
type: string
|
|
73104
|
+
format: uuid
|
|
73105
|
+
description: Chat session ID
|
|
73106
|
+
file_name:
|
|
73107
|
+
type: string
|
|
73108
|
+
description: Original filename
|
|
73109
|
+
maxLength: 255
|
|
73110
|
+
content_type:
|
|
73111
|
+
type: string
|
|
73112
|
+
description: MIME type of the file
|
|
73113
|
+
maxLength: 255
|
|
73114
|
+
file_size:
|
|
73115
|
+
type: integer
|
|
73116
|
+
minimum: 1
|
|
73117
|
+
description: File size in bytes
|
|
73118
|
+
required:
|
|
73119
|
+
- content_type
|
|
73120
|
+
- file_name
|
|
73121
|
+
- file_size
|
|
73122
|
+
- session_id
|
|
73123
|
+
FileUploadURLResponse:
|
|
73124
|
+
type: object
|
|
73125
|
+
description: Response serializer for presigned upload URL
|
|
73126
|
+
properties:
|
|
73127
|
+
upload_url:
|
|
73128
|
+
type: string
|
|
73129
|
+
format: uri
|
|
73130
|
+
description: Presigned S3 upload URL
|
|
73131
|
+
file_key:
|
|
73132
|
+
type: string
|
|
73133
|
+
description: S3 object key for the uploaded file
|
|
73134
|
+
file_id:
|
|
73135
|
+
type: string
|
|
73136
|
+
format: uuid
|
|
73137
|
+
description: Unique identifier for the ChatFile record
|
|
73138
|
+
expires_in:
|
|
73139
|
+
type: integer
|
|
73140
|
+
description: URL expiration time in seconds
|
|
73141
|
+
upload_method:
|
|
73142
|
+
type: string
|
|
73143
|
+
default: PUT
|
|
73144
|
+
description: HTTP method to use for upload (PUT or POST)
|
|
73145
|
+
required:
|
|
73146
|
+
- expires_in
|
|
73147
|
+
- file_id
|
|
73148
|
+
- file_key
|
|
73149
|
+
- upload_url
|
|
73005
73150
|
FinanceDetailsResponse:
|
|
73006
73151
|
type: object
|
|
73007
73152
|
description: Serializer for /financial/details responses.
|
|
@@ -74959,6 +75104,9 @@ components:
|
|
|
74959
75104
|
type: array
|
|
74960
75105
|
items:
|
|
74961
75106
|
$ref: '#/components/schemas/MentorType'
|
|
75107
|
+
is_featured:
|
|
75108
|
+
type: boolean
|
|
75109
|
+
description: Whether the mentor is featured or not.
|
|
74962
75110
|
subjects:
|
|
74963
75111
|
type: array
|
|
74964
75112
|
items:
|
|
@@ -75735,6 +75883,9 @@ components:
|
|
|
75735
75883
|
guided_prompt_instructions:
|
|
75736
75884
|
type: string
|
|
75737
75885
|
nullable: true
|
|
75886
|
+
is_featured:
|
|
75887
|
+
type: boolean
|
|
75888
|
+
default: false
|
|
75738
75889
|
required:
|
|
75739
75890
|
- new_mentor_name
|
|
75740
75891
|
- template_name
|
|
@@ -76076,6 +76227,9 @@ components:
|
|
|
76076
76227
|
is_guided_mentor:
|
|
76077
76228
|
type: boolean
|
|
76078
76229
|
readOnly: true
|
|
76230
|
+
is_featured:
|
|
76231
|
+
type: boolean
|
|
76232
|
+
readOnly: true
|
|
76079
76233
|
enable_guided_prompts:
|
|
76080
76234
|
type: boolean
|
|
76081
76235
|
readOnly: true
|
|
@@ -76238,6 +76392,7 @@ components:
|
|
|
76238
76392
|
- guided_prompt_instructions
|
|
76239
76393
|
- id
|
|
76240
76394
|
- is_deleted
|
|
76395
|
+
- is_featured
|
|
76241
76396
|
- is_guided_mentor
|
|
76242
76397
|
- llm_config
|
|
76243
76398
|
- llm_name
|
|
@@ -76399,6 +76554,9 @@ components:
|
|
|
76399
76554
|
is_guided_mentor:
|
|
76400
76555
|
type: boolean
|
|
76401
76556
|
readOnly: true
|
|
76557
|
+
is_featured:
|
|
76558
|
+
type: boolean
|
|
76559
|
+
readOnly: true
|
|
76402
76560
|
enable_guided_prompts:
|
|
76403
76561
|
type: boolean
|
|
76404
76562
|
readOnly: true
|
|
@@ -76485,6 +76643,7 @@ components:
|
|
|
76485
76643
|
- forkable_with_training_data
|
|
76486
76644
|
- greeting_method
|
|
76487
76645
|
- id
|
|
76646
|
+
- is_featured
|
|
76488
76647
|
- is_guided_mentor
|
|
76489
76648
|
- llm_config
|
|
76490
76649
|
- llm_name
|
|
@@ -76653,6 +76812,9 @@ components:
|
|
|
76653
76812
|
is_guided_mentor:
|
|
76654
76813
|
type: boolean
|
|
76655
76814
|
default: false
|
|
76815
|
+
is_featured:
|
|
76816
|
+
type: boolean
|
|
76817
|
+
default: false
|
|
76656
76818
|
enable_email_chat:
|
|
76657
76819
|
type: boolean
|
|
76658
76820
|
default: false
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -223,6 +223,8 @@ export { EntityTypeEnum } from './models/EntityTypeEnum';
|
|
|
223
223
|
export type { ErrorResponse } from './models/ErrorResponse';
|
|
224
224
|
export type { Experience } from './models/Experience';
|
|
225
225
|
export type { ExternalServiceInfo } from './models/ExternalServiceInfo';
|
|
226
|
+
export type { FileUploadURLRequest } from './models/FileUploadURLRequest';
|
|
227
|
+
export type { FileUploadURLResponse } from './models/FileUploadURLResponse';
|
|
226
228
|
export type { FinanceDetailsResponse } from './models/FinanceDetailsResponse';
|
|
227
229
|
export type { FinanceFilters } from './models/FinanceFilters';
|
|
228
230
|
export type { FreeUsageCount } from './models/FreeUsageCount';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Request serializer for generating presigned upload URL
|
|
7
|
+
*/
|
|
8
|
+
export type FileUploadURLRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Chat session ID
|
|
11
|
+
*/
|
|
12
|
+
session_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Original filename
|
|
15
|
+
*/
|
|
16
|
+
file_name: string;
|
|
17
|
+
/**
|
|
18
|
+
* MIME type of the file
|
|
19
|
+
*/
|
|
20
|
+
content_type: string;
|
|
21
|
+
/**
|
|
22
|
+
* File size in bytes
|
|
23
|
+
*/
|
|
24
|
+
file_size: number;
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Response serializer for presigned upload URL
|
|
7
|
+
*/
|
|
8
|
+
export type FileUploadURLResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* Presigned S3 upload URL
|
|
11
|
+
*/
|
|
12
|
+
upload_url: string;
|
|
13
|
+
/**
|
|
14
|
+
* S3 object key for the uploaded file
|
|
15
|
+
*/
|
|
16
|
+
file_key: string;
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the ChatFile record
|
|
19
|
+
*/
|
|
20
|
+
file_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* URL expiration time in seconds
|
|
23
|
+
*/
|
|
24
|
+
expires_in: number;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP method to use for upload (PUT or POST)
|
|
27
|
+
*/
|
|
28
|
+
upload_method?: string;
|
|
29
|
+
};
|
|
30
|
+
|
package/src/models/Mentor.ts
CHANGED
|
@@ -47,6 +47,10 @@ export type Mentor = {
|
|
|
47
47
|
openai_voice?: number | null;
|
|
48
48
|
categories: Array<MentorCategory>;
|
|
49
49
|
types: Array<MentorType>;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the mentor is featured or not.
|
|
52
|
+
*/
|
|
53
|
+
is_featured?: boolean;
|
|
50
54
|
subjects: Array<Subject>;
|
|
51
55
|
/**
|
|
52
56
|
* Prompt template used to start a conversation with the user when greeting_type is proactive_prompt. This will be sent to the LLM so it can respond naturally
|
|
@@ -55,6 +55,7 @@ export type MentorSettings = {
|
|
|
55
55
|
readonly enable_instruction_mode: boolean;
|
|
56
56
|
readonly enable_socratic_mode: boolean;
|
|
57
57
|
readonly is_guided_mentor: boolean;
|
|
58
|
+
readonly is_featured: boolean;
|
|
58
59
|
readonly enable_guided_prompts: boolean;
|
|
59
60
|
readonly enable_moderation: boolean;
|
|
60
61
|
readonly enable_multi_query_rag: boolean;
|
|
@@ -53,6 +53,7 @@ export type MentorSettingsPublic = {
|
|
|
53
53
|
readonly enable_instruction_mode: boolean;
|
|
54
54
|
readonly enable_socratic_mode: boolean;
|
|
55
55
|
readonly is_guided_mentor: boolean;
|
|
56
|
+
readonly is_featured: boolean;
|
|
56
57
|
readonly enable_guided_prompts: boolean;
|
|
57
58
|
readonly enable_moderation: boolean;
|
|
58
59
|
readonly enable_multi_query_rag: boolean;
|