@iblai/iblai-api 4.58.2-ai → 4.58.3-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/index.umd.js +4 -4
- package/dist/types/index.d.ts +2 -2
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +13 -0
- package/dist/types/models/{OwnedMentorsByEmailResponse.d.ts → AccessibleMentorsByEmailResponse.d.ts} +2 -2
- package/dist/types/services/AiMentorService.d.ts +7 -7
- package/package.json +1 -1
- package/sdk_schema.yml +43 -38
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -2
- package/src/models/AccessibleMentorsByEmailRequest.ts +18 -0
- package/src/models/{OwnedMentorsByEmailResponse.ts → AccessibleMentorsByEmailResponse.ts} +2 -2
- package/src/services/AiMentorService.ts +7 -7
- package/dist/types/models/OwnedMentorsByEmailRequest.d.ts +0 -9
- package/src/models/OwnedMentorsByEmailRequest.ts +0 -14
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.58.
|
|
113
|
+
VERSION: '4.58.3-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -12952,9 +12952,9 @@ class AiMentorService {
|
|
|
12952
12952
|
});
|
|
12953
12953
|
}
|
|
12954
12954
|
/**
|
|
12955
|
-
* Get
|
|
12956
|
-
* Returns a list of mentor unique IDs that a user
|
|
12957
|
-
* @returns
|
|
12955
|
+
* Get accessible mentors by email
|
|
12956
|
+
* Returns a list of mentor unique IDs that a user can access via email in the specified organization.
|
|
12957
|
+
* @returns AccessibleMentorsByEmailResponse
|
|
12958
12958
|
* @throws ApiError
|
|
12959
12959
|
*/
|
|
12960
12960
|
static aiMentorOrgsMentorsByEmailCreate({
|
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.58.
|
|
111
|
+
VERSION: '4.58.3-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -12950,9 +12950,9 @@ class AiMentorService {
|
|
|
12950
12950
|
});
|
|
12951
12951
|
}
|
|
12952
12952
|
/**
|
|
12953
|
-
* Get
|
|
12954
|
-
* Returns a list of mentor unique IDs that a user
|
|
12955
|
-
* @returns
|
|
12953
|
+
* Get accessible mentors by email
|
|
12954
|
+
* Returns a list of mentor unique IDs that a user can access via email in the specified organization.
|
|
12955
|
+
* @returns AccessibleMentorsByEmailResponse
|
|
12956
12956
|
* @throws ApiError
|
|
12957
12957
|
*/
|
|
12958
12958
|
static aiMentorOrgsMentorsByEmailCreate({
|
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '4.58.
|
|
117
|
+
VERSION: '4.58.3-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -12956,9 +12956,9 @@
|
|
|
12956
12956
|
});
|
|
12957
12957
|
}
|
|
12958
12958
|
/**
|
|
12959
|
-
* Get
|
|
12960
|
-
* Returns a list of mentor unique IDs that a user
|
|
12961
|
-
* @returns
|
|
12959
|
+
* Get accessible mentors by email
|
|
12960
|
+
* Returns a list of mentor unique IDs that a user can access via email in the specified organization.
|
|
12961
|
+
* @returns AccessibleMentorsByEmailResponse
|
|
12962
12962
|
* @throws ApiError
|
|
12963
12963
|
*/
|
|
12964
12964
|
static aiMentorOrgsMentorsByEmailCreate({
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { OpenAPI } from './core/OpenAPI';
|
|
|
4
4
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
5
|
export { AcceptanceEnum } from './models/AcceptanceEnum';
|
|
6
6
|
export { AccessEnum } from './models/AccessEnum';
|
|
7
|
+
export type { AccessibleMentorsByEmailRequest } from './models/AccessibleMentorsByEmailRequest';
|
|
8
|
+
export type { AccessibleMentorsByEmailResponse } from './models/AccessibleMentorsByEmailResponse';
|
|
7
9
|
export type { AccessTimesHeatmap } from './models/AccessTimesHeatmap';
|
|
8
10
|
export type { ActionBreakdown } from './models/ActionBreakdown';
|
|
9
11
|
export type { ActivateUserFreeTrial } from './models/ActivateUserFreeTrial';
|
|
@@ -359,8 +361,6 @@ export type { OvertimeDataPoint } from './models/OvertimeDataPoint';
|
|
|
359
361
|
export type { OvertimeMeta } from './models/OvertimeMeta';
|
|
360
362
|
export type { OvertimeWithChangeInfo } from './models/OvertimeWithChangeInfo';
|
|
361
363
|
export type { OverTimeWithTotal } from './models/OverTimeWithTotal';
|
|
362
|
-
export type { OwnedMentorsByEmailRequest } from './models/OwnedMentorsByEmailRequest';
|
|
363
|
-
export type { OwnedMentorsByEmailResponse } from './models/OwnedMentorsByEmailResponse';
|
|
364
364
|
export type { PageContent } from './models/PageContent';
|
|
365
365
|
export type { PaginatedAIGeneratedImageList } from './models/PaginatedAIGeneratedImageList';
|
|
366
366
|
export type { PaginatedAssertionsResponse } from './models/PaginatedAssertionsResponse';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for accessible mentors by email endpoint.
|
|
3
|
+
*/
|
|
4
|
+
export type AccessibleMentorsByEmailRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* The user email to check mentor access for
|
|
7
|
+
*/
|
|
8
|
+
email: string;
|
|
9
|
+
/**
|
|
10
|
+
* If true, return all mentors in the platform. If false (default), return only mentors owned by the user's email.
|
|
11
|
+
*/
|
|
12
|
+
all_mentors?: boolean;
|
|
13
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { AccessibleMentorsByEmailRequest } from '../models/AccessibleMentorsByEmailRequest';
|
|
2
|
+
import type { AccessibleMentorsByEmailResponse } from '../models/AccessibleMentorsByEmailResponse';
|
|
1
3
|
import type { AddMentorToDisclaimer } from '../models/AddMentorToDisclaimer';
|
|
2
4
|
import type { AIGeneratedImage } from '../models/AIGeneratedImage';
|
|
3
5
|
import type { AIUserProfileMemoryRelation } from '../models/AIUserProfileMemoryRelation';
|
|
@@ -64,8 +66,6 @@ import type { MessageView } from '../models/MessageView';
|
|
|
64
66
|
import type { MessageViewRequest } from '../models/MessageViewRequest';
|
|
65
67
|
import type { MessageViewUpdatResponse } from '../models/MessageViewUpdatResponse';
|
|
66
68
|
import type { ModerationLog } from '../models/ModerationLog';
|
|
67
|
-
import type { OwnedMentorsByEmailRequest } from '../models/OwnedMentorsByEmailRequest';
|
|
68
|
-
import type { OwnedMentorsByEmailResponse } from '../models/OwnedMentorsByEmailResponse';
|
|
69
69
|
import type { PaginatedAIGeneratedImageList } from '../models/PaginatedAIGeneratedImageList';
|
|
70
70
|
import type { PaginatedCourseCreationTaskFileList } from '../models/PaginatedCourseCreationTaskFileList';
|
|
71
71
|
import type { PaginatedCourseCreationTaskList } from '../models/PaginatedCourseCreationTaskList';
|
|
@@ -278,15 +278,15 @@ export declare class AiMentorService {
|
|
|
278
278
|
requestBody: LinkCourseRequest;
|
|
279
279
|
}): CancelablePromise<LinkCourseResponse>;
|
|
280
280
|
/**
|
|
281
|
-
* Get
|
|
282
|
-
* Returns a list of mentor unique IDs that a user
|
|
283
|
-
* @returns
|
|
281
|
+
* Get accessible mentors by email
|
|
282
|
+
* Returns a list of mentor unique IDs that a user can access via email in the specified organization.
|
|
283
|
+
* @returns AccessibleMentorsByEmailResponse
|
|
284
284
|
* @throws ApiError
|
|
285
285
|
*/
|
|
286
286
|
static aiMentorOrgsMentorsByEmailCreate({ org, requestBody, }: {
|
|
287
287
|
org: string;
|
|
288
|
-
requestBody:
|
|
289
|
-
}): CancelablePromise<
|
|
288
|
+
requestBody: AccessibleMentorsByEmailRequest;
|
|
289
|
+
}): CancelablePromise<AccessibleMentorsByEmailResponse>;
|
|
290
290
|
/**
|
|
291
291
|
* Create or update metadata for a mentor.
|
|
292
292
|
*
|
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.58.
|
|
4
|
+
version: 4.58.3-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -13310,9 +13310,9 @@ paths:
|
|
|
13310
13310
|
/api/ai-mentor/orgs/{org}/mentors/by-email/:
|
|
13311
13311
|
post:
|
|
13312
13312
|
operationId: ai_mentor_orgs_mentors_by_email_create
|
|
13313
|
-
description: Returns a list of mentor unique IDs that a user
|
|
13314
|
-
in the specified organization.
|
|
13315
|
-
summary: Get
|
|
13313
|
+
description: Returns a list of mentor unique IDs that a user can access via
|
|
13314
|
+
email in the specified organization.
|
|
13315
|
+
summary: Get accessible mentors by email
|
|
13316
13316
|
parameters:
|
|
13317
13317
|
- in: path
|
|
13318
13318
|
name: org
|
|
@@ -13325,26 +13325,26 @@ paths:
|
|
|
13325
13325
|
content:
|
|
13326
13326
|
application/json:
|
|
13327
13327
|
schema:
|
|
13328
|
-
$ref: '#/components/schemas/
|
|
13328
|
+
$ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
|
|
13329
13329
|
application/scim+json:
|
|
13330
13330
|
schema:
|
|
13331
|
-
$ref: '#/components/schemas/
|
|
13331
|
+
$ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
|
|
13332
13332
|
application/x-www-form-urlencoded:
|
|
13333
13333
|
schema:
|
|
13334
|
-
$ref: '#/components/schemas/
|
|
13334
|
+
$ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
|
|
13335
13335
|
multipart/form-data:
|
|
13336
13336
|
schema:
|
|
13337
|
-
$ref: '#/components/schemas/
|
|
13337
|
+
$ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
|
|
13338
13338
|
'*/*':
|
|
13339
13339
|
schema:
|
|
13340
|
-
$ref: '#/components/schemas/
|
|
13340
|
+
$ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
|
|
13341
13341
|
required: true
|
|
13342
13342
|
responses:
|
|
13343
13343
|
'200':
|
|
13344
13344
|
content:
|
|
13345
13345
|
application/json:
|
|
13346
13346
|
schema:
|
|
13347
|
-
$ref: '#/components/schemas/
|
|
13347
|
+
$ref: '#/components/schemas/AccessibleMentorsByEmailResponse'
|
|
13348
13348
|
examples:
|
|
13349
13349
|
SuccessfulResponse:
|
|
13350
13350
|
value:
|
|
@@ -65773,6 +65773,39 @@ components:
|
|
|
65773
65773
|
- day_of_week
|
|
65774
65774
|
- hour
|
|
65775
65775
|
- value
|
|
65776
|
+
AccessibleMentorsByEmailRequest:
|
|
65777
|
+
type: object
|
|
65778
|
+
description: Request serializer for accessible mentors by email endpoint.
|
|
65779
|
+
properties:
|
|
65780
|
+
email:
|
|
65781
|
+
type: string
|
|
65782
|
+
format: email
|
|
65783
|
+
description: The user email to check mentor access for
|
|
65784
|
+
all_mentors:
|
|
65785
|
+
type: boolean
|
|
65786
|
+
default: false
|
|
65787
|
+
description: If true, return all mentors in the platform. If false (default),
|
|
65788
|
+
return only mentors owned by the user's email.
|
|
65789
|
+
required:
|
|
65790
|
+
- email
|
|
65791
|
+
AccessibleMentorsByEmailResponse:
|
|
65792
|
+
type: object
|
|
65793
|
+
description: Response serializer for accessible mentors by email.
|
|
65794
|
+
properties:
|
|
65795
|
+
mentors:
|
|
65796
|
+
type: array
|
|
65797
|
+
items:
|
|
65798
|
+
type: string
|
|
65799
|
+
format: uuid
|
|
65800
|
+
readOnly: true
|
|
65801
|
+
description: List of mentor unique IDs
|
|
65802
|
+
user_id:
|
|
65803
|
+
type: integer
|
|
65804
|
+
readOnly: true
|
|
65805
|
+
description: The user ID that mentors belong to
|
|
65806
|
+
required:
|
|
65807
|
+
- mentors
|
|
65808
|
+
- user_id
|
|
65776
65809
|
ActionBreakdown:
|
|
65777
65810
|
type: object
|
|
65778
65811
|
description: Action/trace name cost breakdown.
|
|
@@ -74648,34 +74681,6 @@ components:
|
|
|
74648
74681
|
$ref: '#/components/schemas/OvertimeMeta'
|
|
74649
74682
|
required:
|
|
74650
74683
|
- meta
|
|
74651
|
-
OwnedMentorsByEmailRequest:
|
|
74652
|
-
type: object
|
|
74653
|
-
description: Request serializer for owned mentors by email endpoint.
|
|
74654
|
-
properties:
|
|
74655
|
-
email:
|
|
74656
|
-
type: string
|
|
74657
|
-
format: email
|
|
74658
|
-
description: The user email to check mentor access for
|
|
74659
|
-
required:
|
|
74660
|
-
- email
|
|
74661
|
-
OwnedMentorsByEmailResponse:
|
|
74662
|
-
type: object
|
|
74663
|
-
description: Response serializer for owned mentors by email.
|
|
74664
|
-
properties:
|
|
74665
|
-
mentors:
|
|
74666
|
-
type: array
|
|
74667
|
-
items:
|
|
74668
|
-
type: string
|
|
74669
|
-
format: uuid
|
|
74670
|
-
readOnly: true
|
|
74671
|
-
description: List of mentor unique IDs
|
|
74672
|
-
user_id:
|
|
74673
|
-
type: integer
|
|
74674
|
-
readOnly: true
|
|
74675
|
-
description: The user ID that mentors belong to
|
|
74676
|
-
required:
|
|
74677
|
-
- mentors
|
|
74678
|
-
- user_id
|
|
74679
74684
|
PageContent:
|
|
74680
74685
|
type: object
|
|
74681
74686
|
properties:
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -9,6 +9,8 @@ export type { OpenAPIConfig } from './core/OpenAPI';
|
|
|
9
9
|
|
|
10
10
|
export { AcceptanceEnum } from './models/AcceptanceEnum';
|
|
11
11
|
export { AccessEnum } from './models/AccessEnum';
|
|
12
|
+
export type { AccessibleMentorsByEmailRequest } from './models/AccessibleMentorsByEmailRequest';
|
|
13
|
+
export type { AccessibleMentorsByEmailResponse } from './models/AccessibleMentorsByEmailResponse';
|
|
12
14
|
export type { AccessTimesHeatmap } from './models/AccessTimesHeatmap';
|
|
13
15
|
export type { ActionBreakdown } from './models/ActionBreakdown';
|
|
14
16
|
export type { ActivateUserFreeTrial } from './models/ActivateUserFreeTrial';
|
|
@@ -364,8 +366,6 @@ export type { OvertimeDataPoint } from './models/OvertimeDataPoint';
|
|
|
364
366
|
export type { OvertimeMeta } from './models/OvertimeMeta';
|
|
365
367
|
export type { OvertimeWithChangeInfo } from './models/OvertimeWithChangeInfo';
|
|
366
368
|
export type { OverTimeWithTotal } from './models/OverTimeWithTotal';
|
|
367
|
-
export type { OwnedMentorsByEmailRequest } from './models/OwnedMentorsByEmailRequest';
|
|
368
|
-
export type { OwnedMentorsByEmailResponse } from './models/OwnedMentorsByEmailResponse';
|
|
369
369
|
export type { PageContent } from './models/PageContent';
|
|
370
370
|
export type { PaginatedAIGeneratedImageList } from './models/PaginatedAIGeneratedImageList';
|
|
371
371
|
export type { PaginatedAssertionsResponse } from './models/PaginatedAssertionsResponse';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Request serializer for accessible mentors by email endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type AccessibleMentorsByEmailRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The user email to check mentor access for
|
|
11
|
+
*/
|
|
12
|
+
email: string;
|
|
13
|
+
/**
|
|
14
|
+
* If true, return all mentors in the platform. If false (default), return only mentors owned by the user's email.
|
|
15
|
+
*/
|
|
16
|
+
all_mentors?: boolean;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
|
-
* Response serializer for
|
|
6
|
+
* Response serializer for accessible mentors by email.
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
8
|
+
export type AccessibleMentorsByEmailResponse = {
|
|
9
9
|
/**
|
|
10
10
|
* List of mentor unique IDs
|
|
11
11
|
*/
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { AccessibleMentorsByEmailRequest } from '../models/AccessibleMentorsByEmailRequest';
|
|
6
|
+
import type { AccessibleMentorsByEmailResponse } from '../models/AccessibleMentorsByEmailResponse';
|
|
5
7
|
import type { AddMentorToDisclaimer } from '../models/AddMentorToDisclaimer';
|
|
6
8
|
import type { AIGeneratedImage } from '../models/AIGeneratedImage';
|
|
7
9
|
import type { AIUserProfileMemoryRelation } from '../models/AIUserProfileMemoryRelation';
|
|
@@ -68,8 +70,6 @@ import type { MessageView } from '../models/MessageView';
|
|
|
68
70
|
import type { MessageViewRequest } from '../models/MessageViewRequest';
|
|
69
71
|
import type { MessageViewUpdatResponse } from '../models/MessageViewUpdatResponse';
|
|
70
72
|
import type { ModerationLog } from '../models/ModerationLog';
|
|
71
|
-
import type { OwnedMentorsByEmailRequest } from '../models/OwnedMentorsByEmailRequest';
|
|
72
|
-
import type { OwnedMentorsByEmailResponse } from '../models/OwnedMentorsByEmailResponse';
|
|
73
73
|
import type { PaginatedAIGeneratedImageList } from '../models/PaginatedAIGeneratedImageList';
|
|
74
74
|
import type { PaginatedCourseCreationTaskFileList } from '../models/PaginatedCourseCreationTaskFileList';
|
|
75
75
|
import type { PaginatedCourseCreationTaskList } from '../models/PaginatedCourseCreationTaskList';
|
|
@@ -384,9 +384,9 @@ export class AiMentorService {
|
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
/**
|
|
387
|
-
* Get
|
|
388
|
-
* Returns a list of mentor unique IDs that a user
|
|
389
|
-
* @returns
|
|
387
|
+
* Get accessible mentors by email
|
|
388
|
+
* Returns a list of mentor unique IDs that a user can access via email in the specified organization.
|
|
389
|
+
* @returns AccessibleMentorsByEmailResponse
|
|
390
390
|
* @throws ApiError
|
|
391
391
|
*/
|
|
392
392
|
public static aiMentorOrgsMentorsByEmailCreate({
|
|
@@ -394,8 +394,8 @@ export class AiMentorService {
|
|
|
394
394
|
requestBody,
|
|
395
395
|
}: {
|
|
396
396
|
org: string,
|
|
397
|
-
requestBody:
|
|
398
|
-
}): CancelablePromise<
|
|
397
|
+
requestBody: AccessibleMentorsByEmailRequest,
|
|
398
|
+
}): CancelablePromise<AccessibleMentorsByEmailResponse> {
|
|
399
399
|
return __request(OpenAPI, {
|
|
400
400
|
method: 'POST',
|
|
401
401
|
url: '/api/ai-mentor/orgs/{org}/mentors/by-email/',
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Request serializer for owned mentors by email endpoint.
|
|
7
|
-
*/
|
|
8
|
-
export type OwnedMentorsByEmailRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* The user email to check mentor access for
|
|
11
|
-
*/
|
|
12
|
-
email: string;
|
|
13
|
-
};
|
|
14
|
-
|