@iblai/iblai-api 4.101.1-ai → 4.101.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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +2 -2
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +2 -2
- package/dist/types/services/AiMentorService.d.ts +1 -1
- package/package.json +1 -1
- package/sdk_schema.yml +6 -7
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/AccessibleMentorsByEmailRequest.ts +2 -2
- package/src/models/AccessibleMentorsByEmailResponse.ts +2 -2
- package/src/services/AiMentorService.ts +1 -1
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -5,9 +5,9 @@ export type AccessibleMentorsByEmailRequest = {
|
|
|
5
5
|
/**
|
|
6
6
|
* The user email to check mentor access for
|
|
7
7
|
*/
|
|
8
|
-
email
|
|
8
|
+
email?: string;
|
|
9
9
|
/**
|
|
10
|
-
* If true, return all mentors in the platform. If false (default), return only mentors owned by the user's email.
|
|
10
|
+
* If true, return all mentors in the platform (ignoring email if present). If false (default), return only mentors owned by the user's email.
|
|
11
11
|
*/
|
|
12
12
|
all_mentors?: boolean;
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@ export type AccessibleMentorsByEmailResponse = {
|
|
|
7
7
|
*/
|
|
8
8
|
readonly mentors: Array<string>;
|
|
9
9
|
/**
|
|
10
|
-
* The user ID that mentors belong to
|
|
10
|
+
* The user ID that mentors belong to when all_mentors is False
|
|
11
11
|
*/
|
|
12
|
-
readonly user_id: number;
|
|
12
|
+
readonly user_id: number | null;
|
|
13
13
|
};
|
|
@@ -299,7 +299,7 @@ export declare class AiMentorService {
|
|
|
299
299
|
*/
|
|
300
300
|
static aiMentorOrgsMentorsByEmailCreate({ org, requestBody, }: {
|
|
301
301
|
org: string;
|
|
302
|
-
requestBody
|
|
302
|
+
requestBody?: AccessibleMentorsByEmailRequest;
|
|
303
303
|
}): CancelablePromise<AccessibleMentorsByEmailResponse>;
|
|
304
304
|
/**
|
|
305
305
|
* Create or update metadata for a mentor.
|
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.101.
|
|
4
|
+
version: 4.101.2-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -13811,7 +13811,6 @@ paths:
|
|
|
13811
13811
|
'*/*':
|
|
13812
13812
|
schema:
|
|
13813
13813
|
$ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
|
|
13814
|
-
required: true
|
|
13815
13814
|
responses:
|
|
13816
13815
|
'200':
|
|
13817
13816
|
content:
|
|
@@ -69447,10 +69446,9 @@ components:
|
|
|
69447
69446
|
all_mentors:
|
|
69448
69447
|
type: boolean
|
|
69449
69448
|
default: false
|
|
69450
|
-
description: If true, return all mentors in the platform
|
|
69451
|
-
return only mentors owned by the user's
|
|
69452
|
-
|
|
69453
|
-
- email
|
|
69449
|
+
description: If true, return all mentors in the platform (ignoring email
|
|
69450
|
+
if present). If false (default), return only mentors owned by the user's
|
|
69451
|
+
email.
|
|
69454
69452
|
AccessibleMentorsByEmailResponse:
|
|
69455
69453
|
type: object
|
|
69456
69454
|
description: Response serializer for accessible mentors by email.
|
|
@@ -69465,7 +69463,8 @@ components:
|
|
|
69465
69463
|
user_id:
|
|
69466
69464
|
type: integer
|
|
69467
69465
|
readOnly: true
|
|
69468
|
-
|
|
69466
|
+
nullable: true
|
|
69467
|
+
description: The user ID that mentors belong to when all_mentors is False
|
|
69469
69468
|
required:
|
|
69470
69469
|
- mentors
|
|
69471
69470
|
- user_id
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -9,9 +9,9 @@ export type AccessibleMentorsByEmailRequest = {
|
|
|
9
9
|
/**
|
|
10
10
|
* The user email to check mentor access for
|
|
11
11
|
*/
|
|
12
|
-
email
|
|
12
|
+
email?: string;
|
|
13
13
|
/**
|
|
14
|
-
* If true, return all mentors in the platform. If false (default), return only mentors owned by the user's email.
|
|
14
|
+
* If true, return all mentors in the platform (ignoring email if present). If false (default), return only mentors owned by the user's email.
|
|
15
15
|
*/
|
|
16
16
|
all_mentors?: boolean;
|
|
17
17
|
};
|
|
@@ -11,8 +11,8 @@ export type AccessibleMentorsByEmailResponse = {
|
|
|
11
11
|
*/
|
|
12
12
|
readonly mentors: Array<string>;
|
|
13
13
|
/**
|
|
14
|
-
* The user ID that mentors belong to
|
|
14
|
+
* The user ID that mentors belong to when all_mentors is False
|
|
15
15
|
*/
|
|
16
|
-
readonly user_id: number;
|
|
16
|
+
readonly user_id: number | null;
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -408,7 +408,7 @@ export class AiMentorService {
|
|
|
408
408
|
requestBody,
|
|
409
409
|
}: {
|
|
410
410
|
org: string,
|
|
411
|
-
requestBody
|
|
411
|
+
requestBody?: AccessibleMentorsByEmailRequest,
|
|
412
412
|
}): CancelablePromise<AccessibleMentorsByEmailResponse> {
|
|
413
413
|
return __request(OpenAPI, {
|
|
414
414
|
method: 'POST',
|