@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 CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.101.1-ai-plus',
113
+ VERSION: '4.101.2-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
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.101.1-ai-plus',
111
+ VERSION: '4.101.2-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
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.101.1-ai-plus',
117
+ VERSION: '4.101.2-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -5,9 +5,9 @@ export type AccessibleMentorsByEmailRequest = {
5
5
  /**
6
6
  * The user email to check mentor access for
7
7
  */
8
- email: string;
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: AccessibleMentorsByEmailRequest;
302
+ requestBody?: AccessibleMentorsByEmailRequest;
303
303
  }): CancelablePromise<AccessibleMentorsByEmailResponse>;
304
304
  /**
305
305
  * Create or update metadata for a mentor.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.101.1-ai",
3
+ "version": "4.101.2-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
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.1-ai-plus
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. If false (default),
69451
- return only mentors owned by the user's email.
69452
- required:
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
- description: The user ID that mentors belong to
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
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.101.1-ai-plus',
24
+ VERSION: '4.101.2-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -9,9 +9,9 @@ export type AccessibleMentorsByEmailRequest = {
9
9
  /**
10
10
  * The user email to check mentor access for
11
11
  */
12
- email: string;
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: AccessibleMentorsByEmailRequest,
411
+ requestBody?: AccessibleMentorsByEmailRequest,
412
412
  }): CancelablePromise<AccessibleMentorsByEmailResponse> {
413
413
  return __request(OpenAPI, {
414
414
  method: 'POST',