@iblai/iblai-api 4.275.3-ai → 4.276.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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/MentorSettings.d.ts +2 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +2 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +4 -0
- package/dist/types/models/PatchedMentorSettings.d.ts +2 -0
- package/dist/types/models/Segment.d.ts +5 -0
- package/package.json +1 -1
- package/sdk_schema.yml +37 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -0
- package/src/models/MentorSettings.ts +2 -0
- package/src/models/MentorSettingsPublic.ts +2 -0
- package/src/models/MentorSettingsRequest.ts +4 -0
- package/src/models/PatchedMentorSettings.ts +2 -0
- package/src/models/Segment.ts +10 -0
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/dist/index.umd.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -892,6 +892,7 @@ export type { ScoreConfigCreate } from './models/ScoreConfigCreate';
|
|
|
892
892
|
export type { ScoreCreate } from './models/ScoreCreate';
|
|
893
893
|
export type { ScoreCreateResponse } from './models/ScoreCreateResponse';
|
|
894
894
|
export type { SeedMentorsView } from './models/SeedMentorsView';
|
|
895
|
+
export type { Segment } from './models/Segment';
|
|
895
896
|
export type { SellableItem } from './models/SellableItem';
|
|
896
897
|
export type { SellableItemPaywall } from './models/SellableItemPaywall';
|
|
897
898
|
export type { SellableItemsResponse } from './models/SellableItemsResponse';
|
|
@@ -6,6 +6,7 @@ import type { MentorCategory } from './MentorCategory';
|
|
|
6
6
|
import type { MentorType } from './MentorType';
|
|
7
7
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
8
8
|
import type { NullEnum } from './NullEnum';
|
|
9
|
+
import type { Segment } from './Segment';
|
|
9
10
|
import type { Subject } from './Subject';
|
|
10
11
|
import type { ThemeEnum } from './ThemeEnum';
|
|
11
12
|
export type MentorSettings = {
|
|
@@ -81,6 +82,7 @@ export type MentorSettings = {
|
|
|
81
82
|
readonly categories: Array<MentorCategory>;
|
|
82
83
|
readonly types: Array<MentorType>;
|
|
83
84
|
readonly subjects: Array<Subject>;
|
|
85
|
+
readonly segment: Segment | null;
|
|
84
86
|
readonly recently_accessed_at: string;
|
|
85
87
|
readonly created_by: string;
|
|
86
88
|
readonly created_at: string;
|
|
@@ -4,6 +4,7 @@ import type { MentorCategory } from './MentorCategory';
|
|
|
4
4
|
import type { MentorType } from './MentorType';
|
|
5
5
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
6
6
|
import type { NullEnum } from './NullEnum';
|
|
7
|
+
import type { Segment } from './Segment';
|
|
7
8
|
import type { Subject } from './Subject';
|
|
8
9
|
import type { ThemeEnum } from './ThemeEnum';
|
|
9
10
|
export type MentorSettingsPublic = {
|
|
@@ -79,6 +80,7 @@ export type MentorSettingsPublic = {
|
|
|
79
80
|
readonly categories: Array<MentorCategory>;
|
|
80
81
|
readonly types: Array<MentorType>;
|
|
81
82
|
readonly subjects: Array<Subject>;
|
|
83
|
+
readonly segment: Segment | null;
|
|
82
84
|
readonly recently_accessed_at: string;
|
|
83
85
|
readonly created_by: string;
|
|
84
86
|
readonly created_at: string;
|
|
@@ -6,6 +6,7 @@ import type { MentorCategory } from './MentorCategory';
|
|
|
6
6
|
import type { MentorType } from './MentorType';
|
|
7
7
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
8
8
|
import type { NullEnum } from './NullEnum';
|
|
9
|
+
import type { Segment } from './Segment';
|
|
9
10
|
import type { Subject } from './Subject';
|
|
10
11
|
import type { ThemeEnum } from './ThemeEnum';
|
|
11
12
|
export type PatchedMentorSettings = {
|
|
@@ -81,6 +82,7 @@ export type PatchedMentorSettings = {
|
|
|
81
82
|
readonly categories?: Array<MentorCategory>;
|
|
82
83
|
readonly types?: Array<MentorType>;
|
|
83
84
|
readonly subjects?: Array<Subject>;
|
|
85
|
+
readonly segment?: Segment | null;
|
|
84
86
|
readonly recently_accessed_at?: string;
|
|
85
87
|
readonly created_by?: string;
|
|
86
88
|
readonly created_at?: string;
|
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.276.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/access-check/{item_type}/{item_id}/:
|
|
@@ -98784,6 +98784,11 @@ components:
|
|
|
98784
98784
|
items:
|
|
98785
98785
|
$ref: '#/components/schemas/Subject'
|
|
98786
98786
|
readOnly: true
|
|
98787
|
+
segment:
|
|
98788
|
+
allOf:
|
|
98789
|
+
- $ref: '#/components/schemas/Segment'
|
|
98790
|
+
nullable: true
|
|
98791
|
+
readOnly: true
|
|
98787
98792
|
recently_accessed_at:
|
|
98788
98793
|
type: string
|
|
98789
98794
|
format: date-time
|
|
@@ -98974,6 +98979,7 @@ components:
|
|
|
98974
98979
|
- safety_response
|
|
98975
98980
|
- safety_system_prompt
|
|
98976
98981
|
- save_flagged_prompts
|
|
98982
|
+
- segment
|
|
98977
98983
|
- seo_tags
|
|
98978
98984
|
- show_attachment
|
|
98979
98985
|
- show_catalogue
|
|
@@ -99217,6 +99223,11 @@ components:
|
|
|
99217
99223
|
items:
|
|
99218
99224
|
$ref: '#/components/schemas/Subject'
|
|
99219
99225
|
readOnly: true
|
|
99226
|
+
segment:
|
|
99227
|
+
allOf:
|
|
99228
|
+
- $ref: '#/components/schemas/Segment'
|
|
99229
|
+
nullable: true
|
|
99230
|
+
readOnly: true
|
|
99220
99231
|
recently_accessed_at:
|
|
99221
99232
|
type: string
|
|
99222
99233
|
format: date-time
|
|
@@ -99295,6 +99306,7 @@ components:
|
|
|
99295
99306
|
- proactive_response
|
|
99296
99307
|
- recently_accessed_at
|
|
99297
99308
|
- save_flagged_prompts
|
|
99309
|
+
- segment
|
|
99298
99310
|
- show_attachment
|
|
99299
99311
|
- show_catalogue
|
|
99300
99312
|
- show_explore_mentors
|
|
@@ -99536,6 +99548,10 @@ components:
|
|
|
99536
99548
|
items:
|
|
99537
99549
|
type: integer
|
|
99538
99550
|
description: ID of the subject
|
|
99551
|
+
segment:
|
|
99552
|
+
type: integer
|
|
99553
|
+
nullable: true
|
|
99554
|
+
description: ID of the segment, or null to clear it
|
|
99539
99555
|
MentorSettingsRequestPrivacyActionEnum:
|
|
99540
99556
|
enum:
|
|
99541
99557
|
- redact
|
|
@@ -105303,6 +105319,11 @@ components:
|
|
|
105303
105319
|
items:
|
|
105304
105320
|
$ref: '#/components/schemas/Subject'
|
|
105305
105321
|
readOnly: true
|
|
105322
|
+
segment:
|
|
105323
|
+
allOf:
|
|
105324
|
+
- $ref: '#/components/schemas/Segment'
|
|
105325
|
+
nullable: true
|
|
105326
|
+
readOnly: true
|
|
105306
105327
|
recently_accessed_at:
|
|
105307
105328
|
type: string
|
|
105308
105329
|
format: date-time
|
|
@@ -113475,6 +113496,21 @@ components:
|
|
|
113475
113496
|
type: string
|
|
113476
113497
|
required:
|
|
113477
113498
|
- detail
|
|
113499
|
+
Segment:
|
|
113500
|
+
type: object
|
|
113501
|
+
properties:
|
|
113502
|
+
id:
|
|
113503
|
+
type: integer
|
|
113504
|
+
readOnly: true
|
|
113505
|
+
name:
|
|
113506
|
+
type: string
|
|
113507
|
+
maxLength: 255
|
|
113508
|
+
description:
|
|
113509
|
+
type: string
|
|
113510
|
+
nullable: true
|
|
113511
|
+
required:
|
|
113512
|
+
- id
|
|
113513
|
+
- name
|
|
113478
113514
|
SellableItem:
|
|
113479
113515
|
type: object
|
|
113480
113516
|
description: Response serializer for a single sellable item.
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -897,6 +897,7 @@ export type { ScoreConfigCreate } from './models/ScoreConfigCreate';
|
|
|
897
897
|
export type { ScoreCreate } from './models/ScoreCreate';
|
|
898
898
|
export type { ScoreCreateResponse } from './models/ScoreCreateResponse';
|
|
899
899
|
export type { SeedMentorsView } from './models/SeedMentorsView';
|
|
900
|
+
export type { Segment } from './models/Segment';
|
|
900
901
|
export type { SellableItem } from './models/SellableItem';
|
|
901
902
|
export type { SellableItemPaywall } from './models/SellableItemPaywall';
|
|
902
903
|
export type { SellableItemsResponse } from './models/SellableItemsResponse';
|
|
@@ -10,6 +10,7 @@ import type { MentorCategory } from './MentorCategory';
|
|
|
10
10
|
import type { MentorType } from './MentorType';
|
|
11
11
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
12
12
|
import type { NullEnum } from './NullEnum';
|
|
13
|
+
import type { Segment } from './Segment';
|
|
13
14
|
import type { Subject } from './Subject';
|
|
14
15
|
import type { ThemeEnum } from './ThemeEnum';
|
|
15
16
|
export type MentorSettings = {
|
|
@@ -85,6 +86,7 @@ export type MentorSettings = {
|
|
|
85
86
|
readonly categories: Array<MentorCategory>;
|
|
86
87
|
readonly types: Array<MentorType>;
|
|
87
88
|
readonly subjects: Array<Subject>;
|
|
89
|
+
readonly segment: Segment | null;
|
|
88
90
|
readonly recently_accessed_at: string;
|
|
89
91
|
readonly created_by: string;
|
|
90
92
|
readonly created_at: string;
|
|
@@ -8,6 +8,7 @@ import type { MentorCategory } from './MentorCategory';
|
|
|
8
8
|
import type { MentorType } from './MentorType';
|
|
9
9
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
10
10
|
import type { NullEnum } from './NullEnum';
|
|
11
|
+
import type { Segment } from './Segment';
|
|
11
12
|
import type { Subject } from './Subject';
|
|
12
13
|
import type { ThemeEnum } from './ThemeEnum';
|
|
13
14
|
export type MentorSettingsPublic = {
|
|
@@ -83,6 +84,7 @@ export type MentorSettingsPublic = {
|
|
|
83
84
|
readonly categories: Array<MentorCategory>;
|
|
84
85
|
readonly types: Array<MentorType>;
|
|
85
86
|
readonly subjects: Array<Subject>;
|
|
87
|
+
readonly segment: Segment | null;
|
|
86
88
|
readonly recently_accessed_at: string;
|
|
87
89
|
readonly created_by: string;
|
|
88
90
|
readonly created_at: string;
|
|
@@ -10,6 +10,7 @@ import type { MentorCategory } from './MentorCategory';
|
|
|
10
10
|
import type { MentorType } from './MentorType';
|
|
11
11
|
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
12
12
|
import type { NullEnum } from './NullEnum';
|
|
13
|
+
import type { Segment } from './Segment';
|
|
13
14
|
import type { Subject } from './Subject';
|
|
14
15
|
import type { ThemeEnum } from './ThemeEnum';
|
|
15
16
|
export type PatchedMentorSettings = {
|
|
@@ -85,6 +86,7 @@ export type PatchedMentorSettings = {
|
|
|
85
86
|
readonly categories?: Array<MentorCategory>;
|
|
86
87
|
readonly types?: Array<MentorType>;
|
|
87
88
|
readonly subjects?: Array<Subject>;
|
|
89
|
+
readonly segment?: Segment | null;
|
|
88
90
|
readonly recently_accessed_at?: string;
|
|
89
91
|
readonly created_by?: string;
|
|
90
92
|
readonly created_at?: string;
|