@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 CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.275.3-ai-plus',
113
+ VERSION: '4.276.0-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.275.3-ai-plus',
111
+ VERSION: '4.276.0-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.275.3-ai-plus',
117
+ VERSION: '4.276.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -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;
@@ -98,4 +98,8 @@ export type MentorSettingsRequest = {
98
98
  categories?: Array<number>;
99
99
  types?: Array<number>;
100
100
  subjects?: Array<number>;
101
+ /**
102
+ * ID of the segment, or null to clear it
103
+ */
104
+ segment?: number | null;
101
105
  };
@@ -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;
@@ -0,0 +1,5 @@
1
+ export type Segment = {
2
+ readonly id: number;
3
+ name: string;
4
+ description?: string | null;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.275.3-ai",
3
+ "version": "4.276.0-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.275.3-ai-plus
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.
@@ -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.275.3-ai-plus',
24
+ VERSION: '4.276.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
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;
@@ -102,5 +102,9 @@ export type MentorSettingsRequest = {
102
102
  categories?: Array<number>;
103
103
  types?: Array<number>;
104
104
  subjects?: Array<number>;
105
+ /**
106
+ * ID of the segment, or null to clear it
107
+ */
108
+ segment?: number | null;
105
109
  };
106
110
 
@@ -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;
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type Segment = {
6
+ readonly id: number;
7
+ name: string;
8
+ description?: string | null;
9
+ };
10
+