@iblai/iblai-api 4.108.1-ai → 4.109.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.
@@ -0,0 +1,5 @@
1
+ import type { Status3daEnum } from './Status3daEnum';
2
+ export type NotificationsUpdate = {
3
+ notification_id?: string;
4
+ status: Status3daEnum;
5
+ };
@@ -1,11 +1,11 @@
1
1
  import type { BlankEnum } from './BlankEnum';
2
- import type { NotificationStatusEnum } from './NotificationStatusEnum';
2
+ import type { Status3daEnum } from './Status3daEnum';
3
3
  export type PatchedNotification = {
4
4
  readonly id?: string;
5
5
  username?: string;
6
6
  readonly title?: string;
7
7
  readonly body?: string;
8
- status?: (NotificationStatusEnum | BlankEnum);
8
+ status?: (Status3daEnum | BlankEnum);
9
9
  readonly channel?: string | null;
10
10
  context?: any;
11
11
  readonly short_message?: string;
@@ -3,7 +3,7 @@
3
3
  * * `UNREAD` - Unread
4
4
  * * `CANCELLED` - Cancelled
5
5
  */
6
- export declare enum NotificationStatusEnum {
6
+ export declare enum Status3daEnum {
7
7
  READ = "READ",
8
8
  UNREAD = "UNREAD",
9
9
  CANCELLED = "CANCELLED"
@@ -7,6 +7,7 @@ import type { Notification } from '../models/Notification';
7
7
  import type { NotificationCount } from '../models/NotificationCount';
8
8
  import type { NotificationPreview } from '../models/NotificationPreview';
9
9
  import type { NotificationSource } from '../models/NotificationSource';
10
+ import type { NotificationsUpdate } from '../models/NotificationsUpdate';
10
11
  import type { NotificationTemplateDetail } from '../models/NotificationTemplateDetail';
11
12
  import type { NotificationTemplateList } from '../models/NotificationTemplateList';
12
13
  import type { NotificationTemplateTest } from '../models/NotificationTemplateTest';
@@ -36,7 +37,7 @@ export declare class NotificationsService {
36
37
  message?: string;
37
38
  }>;
38
39
  /**
39
- * Get notifications for a user
40
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
40
41
  * @returns Notification
41
42
  * @throws ApiError
42
43
  */
@@ -49,16 +50,16 @@ export declare class NotificationsService {
49
50
  status?: string;
50
51
  }): CancelablePromise<Notification>;
51
52
  /**
52
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
53
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
53
54
  * @returns Notification
54
55
  * @throws ApiError
55
56
  */
56
57
  static notificationV1OrgsNotificationsUpdate({ org, requestBody, }: {
57
58
  org: string;
58
- requestBody: Notification;
59
+ requestBody: NotificationsUpdate;
59
60
  }): CancelablePromise<Notification>;
60
61
  /**
61
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
62
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
62
63
  * @returns Notification
63
64
  * @throws ApiError
64
65
  */
@@ -67,7 +68,7 @@ export declare class NotificationsService {
67
68
  requestBody?: PatchedNotification;
68
69
  }): CancelablePromise<Notification>;
69
70
  /**
70
- * Get notifications for a user
71
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
71
72
  * @returns Notification
72
73
  * @throws ApiError
73
74
  */
@@ -80,16 +81,16 @@ export declare class NotificationsService {
80
81
  status?: string;
81
82
  }): CancelablePromise<Notification>;
82
83
  /**
83
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
84
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
84
85
  * @returns Notification
85
86
  * @throws ApiError
86
87
  */
87
88
  static notificationV1OrgsUsersNotificationsUpdate({ org, userId, requestBody, }: {
88
89
  org: string;
89
- requestBody: Notification;
90
+ requestBody: NotificationsUpdate;
90
91
  }): CancelablePromise<Notification>;
91
92
  /**
92
- * Get notifications count for a user
93
+ * Get notifications count for a user. Requires: Ibl.Notifications/Notification/list
93
94
  * @returns NotificationCount
94
95
  * @throws ApiError
95
96
  */
@@ -99,7 +100,7 @@ export declare class NotificationsService {
99
100
  status?: string;
100
101
  }): CancelablePromise<NotificationCount>;
101
102
  /**
102
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
103
+ * Delete a notification for a user. Requires: Ibl.Notifications/Notification/delete
103
104
  * @returns void
104
105
  * @throws ApiError
105
106
  */
@@ -108,7 +109,7 @@ export declare class NotificationsService {
108
109
  org: string;
109
110
  }): CancelablePromise<void>;
110
111
  /**
111
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
112
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
112
113
  * @returns Notification
113
114
  * @throws ApiError
114
115
  */
@@ -117,7 +118,7 @@ export declare class NotificationsService {
117
118
  requestBody?: PatchedNotification;
118
119
  }): CancelablePromise<Notification>;
119
120
  /**
120
- * Re-enable campaigns for a user
121
+ * Re-enable campaigns for a user. Requires: Ibl.Notifications/Campaigns/action
121
122
  * @returns any
122
123
  * @throws ApiError
123
124
  */
@@ -129,7 +130,7 @@ export declare class NotificationsService {
129
130
  message?: string;
130
131
  }>;
131
132
  /**
132
- * Exclude a user from specified campaigns
133
+ * Exclude a user from specified campaigns. Requires: Ibl.Notifications/Campaigns/action
133
134
  * @returns any
134
135
  * @throws ApiError
135
136
  */
@@ -141,7 +142,7 @@ export declare class NotificationsService {
141
142
  message?: string;
142
143
  }>;
143
144
  /**
144
- * Mark all notifications as read for a user. Optionally provide specific notification IDs.
145
+ * Mark all notifications as read for a user. Optionally provide specific notification IDs. Requires: Ibl.Notifications/Notification/write
145
146
  * @returns MarkAllReadResponse
146
147
  * @throws ApiError
147
148
  */
@@ -212,7 +213,7 @@ export declare class NotificationsService {
212
213
  }): CancelablePromise<ValidateSourceResponse>;
213
214
  /**
214
215
  * Test SMTP credentials for a platform
215
- * Test SMTP credentials by sending a test email to the specified address
216
+ * Test SMTP credentials by sending a test email to the specified address. Requires: Ibl.Notifications/SMTP/action
216
217
  * @returns TestSMTPResponse
217
218
  * @throws ApiError
218
219
  */
@@ -222,7 +223,7 @@ export declare class NotificationsService {
222
223
  }): CancelablePromise<TestSMTPResponse>;
223
224
  /**
224
225
  * List notification templates
225
- * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main.
226
+ * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main. Requires permission: Ibl.Notifications/NotificationTemplate/list
226
227
  * @returns NotificationTemplateList
227
228
  * @throws ApiError
228
229
  */
@@ -231,7 +232,7 @@ export declare class NotificationsService {
231
232
  }): CancelablePromise<Array<NotificationTemplateList>>;
232
233
  /**
233
234
  * Get notification template details
234
- * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template.
235
+ * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template. Requires permission: Ibl.Notifications/NotificationTemplate/read
235
236
  * @returns NotificationTemplateDetail
236
237
  * @throws ApiError
237
238
  */
@@ -241,7 +242,7 @@ export declare class NotificationsService {
241
242
  }): CancelablePromise<NotificationTemplateDetail>;
242
243
  /**
243
244
  * Update notification template
244
- * Update notification template. Creates platform-specific copy on first edit.
245
+ * Update notification template. Creates platform-specific copy on first edit. Requires permission: Ibl.Notifications/NotificationTemplate/write
245
246
  * @returns NotificationTemplateDetail
246
247
  * @throws ApiError
247
248
  */
@@ -252,7 +253,7 @@ export declare class NotificationsService {
252
253
  }): CancelablePromise<NotificationTemplateDetail>;
253
254
  /**
254
255
  * Reset template to default
255
- * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved.
256
+ * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved. Requires permission: Ibl.Notifications/NotificationTemplate/write
256
257
  * @returns any
257
258
  * @throws ApiError
258
259
  */
@@ -265,7 +266,7 @@ export declare class NotificationsService {
265
266
  }>;
266
267
  /**
267
268
  * Send test notification
268
- * Send a test notification to verify template rendering and delivery. Sends to the requesting admin's email or a specified test email.
269
+ * Send a test notification to verify template rendering and delivery. Sends to the requesting admin's email or a specified test email. Requires permission: Ibl.Notifications/NotificationTemplate/action
269
270
  * @returns NotificationTemplateTestResponse
270
271
  * @throws ApiError
271
272
  */
@@ -276,7 +277,7 @@ export declare class NotificationsService {
276
277
  }): CancelablePromise<NotificationTemplateTestResponse>;
277
278
  /**
278
279
  * Toggle notification preference
279
- * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template.
280
+ * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template. Requires permission: Ibl.Notifications/NotificationTemplate/write
280
281
  * @returns NotificationToggle
281
282
  * @throws ApiError
282
283
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.108.1-ai",
3
+ "version": "4.109.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.108.1-ai-plus
4
+ version: 4.109.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -59645,7 +59645,7 @@ paths:
59645
59645
  /api/notification/v1/orgs/{org}/notifications/:
59646
59646
  get:
59647
59647
  operationId: notification_v1_orgs_notifications_retrieve
59648
- description: Get notifications for a user
59648
+ description: 'Get notifications for a user. Requires: Ibl.Notifications/Notification/list'
59649
59649
  parameters:
59650
59650
  - in: query
59651
59651
  name: channel
@@ -59690,7 +59690,7 @@ paths:
59690
59690
  description: ''
59691
59691
  put:
59692
59692
  operationId: notification_v1_orgs_notifications_update
59693
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
59693
+ description: 'Update notification status for a user. Requires: Ibl.Notifications/Notification/write'
59694
59694
  parameters:
59695
59695
  - in: path
59696
59696
  name: org
@@ -59703,19 +59703,19 @@ paths:
59703
59703
  content:
59704
59704
  application/json:
59705
59705
  schema:
59706
- $ref: '#/components/schemas/Notification'
59706
+ $ref: '#/components/schemas/NotificationsUpdate'
59707
59707
  application/scim+json:
59708
59708
  schema:
59709
- $ref: '#/components/schemas/Notification'
59709
+ $ref: '#/components/schemas/NotificationsUpdate'
59710
59710
  application/x-www-form-urlencoded:
59711
59711
  schema:
59712
- $ref: '#/components/schemas/Notification'
59712
+ $ref: '#/components/schemas/NotificationsUpdate'
59713
59713
  multipart/form-data:
59714
59714
  schema:
59715
- $ref: '#/components/schemas/Notification'
59715
+ $ref: '#/components/schemas/NotificationsUpdate'
59716
59716
  '*/*':
59717
59717
  schema:
59718
- $ref: '#/components/schemas/Notification'
59718
+ $ref: '#/components/schemas/NotificationsUpdate'
59719
59719
  required: true
59720
59720
  security:
59721
59721
  - PlatformApiKeyAuthentication: []
@@ -59729,7 +59729,7 @@ paths:
59729
59729
  /api/notification/v1/orgs/{org}/notifications/bulk-update/:
59730
59730
  patch:
59731
59731
  operationId: notification_v1_orgs_notifications_bulk_update_partial_update
59732
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
59732
+ description: 'Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write'
59733
59733
  parameters:
59734
59734
  - in: path
59735
59735
  name: org
@@ -59767,7 +59767,7 @@ paths:
59767
59767
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications/:
59768
59768
  get:
59769
59769
  operationId: notification_v1_orgs_users_notifications_retrieve
59770
- description: Get notifications for a user
59770
+ description: 'Get notifications for a user. Requires: Ibl.Notifications/Notification/list'
59771
59771
  parameters:
59772
59772
  - in: query
59773
59773
  name: channel
@@ -59817,7 +59817,7 @@ paths:
59817
59817
  description: ''
59818
59818
  put:
59819
59819
  operationId: notification_v1_orgs_users_notifications_update
59820
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
59820
+ description: 'Update notification status for a user. Requires: Ibl.Notifications/Notification/write'
59821
59821
  parameters:
59822
59822
  - in: path
59823
59823
  name: org
@@ -59835,19 +59835,19 @@ paths:
59835
59835
  content:
59836
59836
  application/json:
59837
59837
  schema:
59838
- $ref: '#/components/schemas/Notification'
59838
+ $ref: '#/components/schemas/NotificationsUpdate'
59839
59839
  application/scim+json:
59840
59840
  schema:
59841
- $ref: '#/components/schemas/Notification'
59841
+ $ref: '#/components/schemas/NotificationsUpdate'
59842
59842
  application/x-www-form-urlencoded:
59843
59843
  schema:
59844
- $ref: '#/components/schemas/Notification'
59844
+ $ref: '#/components/schemas/NotificationsUpdate'
59845
59845
  multipart/form-data:
59846
59846
  schema:
59847
- $ref: '#/components/schemas/Notification'
59847
+ $ref: '#/components/schemas/NotificationsUpdate'
59848
59848
  '*/*':
59849
59849
  schema:
59850
- $ref: '#/components/schemas/Notification'
59850
+ $ref: '#/components/schemas/NotificationsUpdate'
59851
59851
  required: true
59852
59852
  security:
59853
59853
  - PlatformApiKeyAuthentication: []
@@ -59861,7 +59861,7 @@ paths:
59861
59861
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications-count/:
59862
59862
  get:
59863
59863
  operationId: notification_v1_orgs_users_notifications_count_retrieve
59864
- description: Get notifications count for a user
59864
+ description: 'Get notifications count for a user. Requires: Ibl.Notifications/Notification/list'
59865
59865
  parameters:
59866
59866
  - in: query
59867
59867
  name: channel
@@ -59897,7 +59897,7 @@ paths:
59897
59897
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications/{notification_id}/:
59898
59898
  delete:
59899
59899
  operationId: notification_v1_orgs_users_notifications_destroy
59900
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
59900
+ description: 'Delete a notification for a user. Requires: Ibl.Notifications/Notification/delete'
59901
59901
  parameters:
59902
59902
  - in: path
59903
59903
  name: notification_id
@@ -59924,7 +59924,7 @@ paths:
59924
59924
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications/bulk-update/:
59925
59925
  patch:
59926
59926
  operationId: notification_v1_orgs_users_notifications_bulk_update_partial_update
59927
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
59927
+ description: 'Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write'
59928
59928
  parameters:
59929
59929
  - in: path
59930
59930
  name: org
@@ -59967,7 +59967,7 @@ paths:
59967
59967
  /api/notification/v1/orgs/{platform_key}/campaigns/enable/:
59968
59968
  post:
59969
59969
  operationId: notification_v1_orgs_campaigns_enable_create
59970
- description: Re-enable campaigns for a user
59970
+ description: 'Re-enable campaigns for a user. Requires: Ibl.Notifications/Campaigns/action'
59971
59971
  parameters:
59972
59972
  - in: path
59973
59973
  name: platform_key
@@ -60010,7 +60010,7 @@ paths:
60010
60010
  /api/notification/v1/orgs/{platform_key}/campaigns/exclude/:
60011
60011
  post:
60012
60012
  operationId: notification_v1_orgs_campaigns_exclude_create
60013
- description: Exclude a user from specified campaigns
60013
+ description: 'Exclude a user from specified campaigns. Requires: Ibl.Notifications/Campaigns/action'
60014
60014
  parameters:
60015
60015
  - in: path
60016
60016
  name: platform_key
@@ -60053,8 +60053,8 @@ paths:
60053
60053
  /api/notification/v1/orgs/{platform_key}/mark-all-as-read:
60054
60054
  post:
60055
60055
  operationId: notification_v1_orgs_mark_all_as_read_create
60056
- description: Mark all notifications as read for a user. Optionally provide specific
60057
- notification IDs.
60056
+ description: 'Mark all notifications as read for a user. Optionally provide
60057
+ specific notification IDs. Requires: Ibl.Notifications/Notification/write'
60058
60058
  parameters:
60059
60059
  - in: path
60060
60060
  name: platform_key
@@ -60334,8 +60334,8 @@ paths:
60334
60334
  /api/notification/v1/platforms/{platform_key}/config/test-smtp/:
60335
60335
  post:
60336
60336
  operationId: notification_v1_platforms_config_test_smtp_create
60337
- description: Test SMTP credentials by sending a test email to the specified
60338
- address
60337
+ description: 'Test SMTP credentials by sending a test email to the specified
60338
+ address. Requires: Ibl.Notifications/SMTP/action'
60339
60339
  summary: Test SMTP credentials for a platform
60340
60340
  parameters:
60341
60341
  - in: path
@@ -60375,8 +60375,9 @@ paths:
60375
60375
  /api/notification/v1/platforms/{platform_key}/templates/:
60376
60376
  get:
60377
60377
  operationId: notification_v1_platforms_templates_list
60378
- description: Get all notification templates for the platform. Includes both
60379
- platform-specific and inherited templates from main.
60378
+ description: 'Get all notification templates for the platform. Includes both
60379
+ platform-specific and inherited templates from main. Requires permission:
60380
+ Ibl.Notifications/NotificationTemplate/list'
60380
60381
  summary: List notification templates
60381
60382
  parameters:
60382
60383
  - in: path
@@ -60400,8 +60401,9 @@ paths:
60400
60401
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/:
60401
60402
  get:
60402
60403
  operationId: notification_v1_platforms_templates_retrieve
60403
- description: Get detailed view of a notification template by type. Returns platform-specific
60404
- template if exists, otherwise main template.
60404
+ description: 'Get detailed view of a notification template by type. Returns
60405
+ platform-specific template if exists, otherwise main template. Requires permission:
60406
+ Ibl.Notifications/NotificationTemplate/read'
60405
60407
  summary: Get notification template details
60406
60408
  parameters:
60407
60409
  - in: path
@@ -60427,8 +60429,8 @@ paths:
60427
60429
  description: ''
60428
60430
  patch:
60429
60431
  operationId: notification_v1_platforms_templates_partial_update
60430
- description: Update notification template. Creates platform-specific copy on
60431
- first edit.
60432
+ description: 'Update notification template. Creates platform-specific copy on
60433
+ first edit. Requires permission: Ibl.Notifications/NotificationTemplate/write'
60432
60434
  summary: Update notification template
60433
60435
  parameters:
60434
60436
  - in: path
@@ -60472,8 +60474,9 @@ paths:
60472
60474
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/reset/:
60473
60475
  post:
60474
60476
  operationId: notification_v1_platforms_templates_reset_create
60475
- description: Delete platform-specific template override and revert to main template.
60476
- Notification preference (on/off) is preserved.
60477
+ description: 'Delete platform-specific template override and revert to main
60478
+ template. Notification preference (on/off) is preserved. Requires permission:
60479
+ Ibl.Notifications/NotificationTemplate/write'
60477
60480
  summary: Reset template to default
60478
60481
  parameters:
60479
60482
  - in: path
@@ -60505,8 +60508,9 @@ paths:
60505
60508
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/test/:
60506
60509
  post:
60507
60510
  operationId: notification_v1_platforms_templates_test_create
60508
- description: Send a test notification to verify template rendering and delivery.
60509
- Sends to the requesting admin's email or a specified test email.
60511
+ description: 'Send a test notification to verify template rendering and delivery.
60512
+ Sends to the requesting admin''s email or a specified test email. Requires
60513
+ permission: Ibl.Notifications/NotificationTemplate/action'
60510
60514
  summary: Send test notification
60511
60515
  parameters:
60512
60516
  - in: path
@@ -60550,8 +60554,8 @@ paths:
60550
60554
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/toggle/:
60551
60555
  patch:
60552
60556
  operationId: notification_v1_platforms_templates_toggle_partial_update
60553
- description: Enable or disable a notification type for the platform. This sets
60554
- the NotificationPreference, not the template.
60557
+ description: 'Enable or disable a notification type for the platform. This sets
60558
+ the NotificationPreference, not the template. Requires permission: Ibl.Notifications/NotificationTemplate/write'
60555
60559
  summary: Toggle notification preference
60556
60560
  parameters:
60557
60561
  - in: path
@@ -79241,7 +79245,7 @@ components:
79241
79245
  status:
79242
79246
  title: Message status
79243
79247
  oneOf:
79244
- - $ref: '#/components/schemas/NotificationStatusEnum'
79248
+ - $ref: '#/components/schemas/Status3daEnum'
79245
79249
  - $ref: '#/components/schemas/BlankEnum'
79246
79250
  channel:
79247
79251
  type: string
@@ -79343,16 +79347,6 @@ components:
79343
79347
  * `department` - department
79344
79348
  * `pathway` - pathway
79345
79349
  * `program` - program
79346
- NotificationStatusEnum:
79347
- enum:
79348
- - READ
79349
- - UNREAD
79350
- - CANCELLED
79351
- type: string
79352
- description: |-
79353
- * `READ` - Read
79354
- * `UNREAD` - Unread
79355
- * `CANCELLED` - Cancelled
79356
79350
  NotificationTemplateData:
79357
79351
  type: object
79358
79352
  properties:
@@ -79671,6 +79665,16 @@ components:
79671
79665
  type: boolean
79672
79666
  required:
79673
79667
  - allow_notification
79668
+ NotificationsUpdate:
79669
+ type: object
79670
+ properties:
79671
+ notification_id:
79672
+ type: string
79673
+ default: ''
79674
+ status:
79675
+ $ref: '#/components/schemas/Status3daEnum'
79676
+ required:
79677
+ - status
79674
79678
  NullEnum:
79675
79679
  enum:
79676
79680
  - null
@@ -82581,7 +82585,7 @@ components:
82581
82585
  status:
82582
82586
  title: Message status
82583
82587
  oneOf:
82584
- - $ref: '#/components/schemas/NotificationStatusEnum'
82588
+ - $ref: '#/components/schemas/Status3daEnum'
82585
82589
  - $ref: '#/components/schemas/BlankEnum'
82586
82590
  channel:
82587
82591
  type: string
@@ -89804,6 +89808,16 @@ components:
89804
89808
  * `cancelled` - Cancelled
89805
89809
  * `error` - Error
89806
89810
  * `expired` - Expired
89811
+ Status3daEnum:
89812
+ enum:
89813
+ - READ
89814
+ - UNREAD
89815
+ - CANCELLED
89816
+ type: string
89817
+ description: |-
89818
+ * `READ` - Read
89819
+ * `UNREAD` - Unread
89820
+ * `CANCELLED` - Cancelled
89807
89821
  Status6eeEnum:
89808
89822
  enum:
89809
89823
  - published
@@ -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.108.1-ai-plus',
24
+ VERSION: '4.109.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -368,7 +368,7 @@ export type { NotificationCount } from './models/NotificationCount';
368
368
  export type { NotificationPreview } from './models/NotificationPreview';
369
369
  export type { NotificationSource } from './models/NotificationSource';
370
370
  export { NotificationSourceTypeEnum } from './models/NotificationSourceTypeEnum';
371
- export { NotificationStatusEnum } from './models/NotificationStatusEnum';
371
+ export type { NotificationsUpdate } from './models/NotificationsUpdate';
372
372
  export type { NotificationTemplateData } from './models/NotificationTemplateData';
373
373
  export type { NotificationTemplateDetail } from './models/NotificationTemplateDetail';
374
374
  export type { NotificationTemplateList } from './models/NotificationTemplateList';
@@ -730,6 +730,7 @@ export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLear
730
730
  export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
731
731
  export type { StarMentor } from './models/StarMentor';
732
732
  export { StateEnum } from './models/StateEnum';
733
+ export { Status3daEnum } from './models/Status3daEnum';
733
734
  export { Status6eeEnum } from './models/Status6eeEnum';
734
735
  export type { Step } from './models/Step';
735
736
  export { StepStatusEnum } from './models/StepStatusEnum';
@@ -3,13 +3,13 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  import type { BlankEnum } from './BlankEnum';
6
- import type { NotificationStatusEnum } from './NotificationStatusEnum';
6
+ import type { Status3daEnum } from './Status3daEnum';
7
7
  export type Notification = {
8
8
  readonly id: string;
9
9
  username: string;
10
10
  readonly title: string;
11
11
  readonly body: string;
12
- status?: (NotificationStatusEnum | BlankEnum);
12
+ status?: (Status3daEnum | BlankEnum);
13
13
  readonly channel: string | null;
14
14
  context?: any;
15
15
  readonly short_message: 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
+ import type { Status3daEnum } from './Status3daEnum';
6
+ export type NotificationsUpdate = {
7
+ notification_id?: string;
8
+ status: Status3daEnum;
9
+ };
10
+
@@ -3,13 +3,13 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  import type { BlankEnum } from './BlankEnum';
6
- import type { NotificationStatusEnum } from './NotificationStatusEnum';
6
+ import type { Status3daEnum } from './Status3daEnum';
7
7
  export type PatchedNotification = {
8
8
  readonly id?: string;
9
9
  username?: string;
10
10
  readonly title?: string;
11
11
  readonly body?: string;
12
- status?: (NotificationStatusEnum | BlankEnum);
12
+ status?: (Status3daEnum | BlankEnum);
13
13
  readonly channel?: string | null;
14
14
  context?: any;
15
15
  readonly short_message?: string;
@@ -7,7 +7,7 @@
7
7
  * * `UNREAD` - Unread
8
8
  * * `CANCELLED` - Cancelled
9
9
  */
10
- export enum NotificationStatusEnum {
10
+ export enum Status3daEnum {
11
11
  READ = 'READ',
12
12
  UNREAD = 'UNREAD',
13
13
  CANCELLED = 'CANCELLED',