@iblai/iblai-api 4.108.1-core → 4.109.0-core

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.
@@ -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-core",
3
+ "version": "4.109.0-core",
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-core
4
+ version: 4.109.0-core
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/analytics/content/:
@@ -23017,7 +23017,7 @@ paths:
23017
23017
  /api/notification/v1/orgs/{org}/notifications/:
23018
23018
  get:
23019
23019
  operationId: notification_v1_orgs_notifications_retrieve
23020
- description: Get notifications for a user
23020
+ description: 'Get notifications for a user. Requires: Ibl.Notifications/Notification/list'
23021
23021
  parameters:
23022
23022
  - in: query
23023
23023
  name: channel
@@ -23062,7 +23062,7 @@ paths:
23062
23062
  description: ''
23063
23063
  put:
23064
23064
  operationId: notification_v1_orgs_notifications_update
23065
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
23065
+ description: 'Update notification status for a user. Requires: Ibl.Notifications/Notification/write'
23066
23066
  parameters:
23067
23067
  - in: path
23068
23068
  name: org
@@ -23075,19 +23075,19 @@ paths:
23075
23075
  content:
23076
23076
  application/json:
23077
23077
  schema:
23078
- $ref: '#/components/schemas/Notification'
23078
+ $ref: '#/components/schemas/NotificationsUpdate'
23079
23079
  application/scim+json:
23080
23080
  schema:
23081
- $ref: '#/components/schemas/Notification'
23081
+ $ref: '#/components/schemas/NotificationsUpdate'
23082
23082
  application/x-www-form-urlencoded:
23083
23083
  schema:
23084
- $ref: '#/components/schemas/Notification'
23084
+ $ref: '#/components/schemas/NotificationsUpdate'
23085
23085
  multipart/form-data:
23086
23086
  schema:
23087
- $ref: '#/components/schemas/Notification'
23087
+ $ref: '#/components/schemas/NotificationsUpdate'
23088
23088
  '*/*':
23089
23089
  schema:
23090
- $ref: '#/components/schemas/Notification'
23090
+ $ref: '#/components/schemas/NotificationsUpdate'
23091
23091
  required: true
23092
23092
  security:
23093
23093
  - PlatformApiKeyAuthentication: []
@@ -23101,7 +23101,7 @@ paths:
23101
23101
  /api/notification/v1/orgs/{org}/notifications/bulk-update/:
23102
23102
  patch:
23103
23103
  operationId: notification_v1_orgs_notifications_bulk_update_partial_update
23104
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
23104
+ description: 'Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write'
23105
23105
  parameters:
23106
23106
  - in: path
23107
23107
  name: org
@@ -23139,7 +23139,7 @@ paths:
23139
23139
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications/:
23140
23140
  get:
23141
23141
  operationId: notification_v1_orgs_users_notifications_retrieve
23142
- description: Get notifications for a user
23142
+ description: 'Get notifications for a user. Requires: Ibl.Notifications/Notification/list'
23143
23143
  parameters:
23144
23144
  - in: query
23145
23145
  name: channel
@@ -23189,7 +23189,7 @@ paths:
23189
23189
  description: ''
23190
23190
  put:
23191
23191
  operationId: notification_v1_orgs_users_notifications_update
23192
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
23192
+ description: 'Update notification status for a user. Requires: Ibl.Notifications/Notification/write'
23193
23193
  parameters:
23194
23194
  - in: path
23195
23195
  name: org
@@ -23207,19 +23207,19 @@ paths:
23207
23207
  content:
23208
23208
  application/json:
23209
23209
  schema:
23210
- $ref: '#/components/schemas/Notification'
23210
+ $ref: '#/components/schemas/NotificationsUpdate'
23211
23211
  application/scim+json:
23212
23212
  schema:
23213
- $ref: '#/components/schemas/Notification'
23213
+ $ref: '#/components/schemas/NotificationsUpdate'
23214
23214
  application/x-www-form-urlencoded:
23215
23215
  schema:
23216
- $ref: '#/components/schemas/Notification'
23216
+ $ref: '#/components/schemas/NotificationsUpdate'
23217
23217
  multipart/form-data:
23218
23218
  schema:
23219
- $ref: '#/components/schemas/Notification'
23219
+ $ref: '#/components/schemas/NotificationsUpdate'
23220
23220
  '*/*':
23221
23221
  schema:
23222
- $ref: '#/components/schemas/Notification'
23222
+ $ref: '#/components/schemas/NotificationsUpdate'
23223
23223
  required: true
23224
23224
  security:
23225
23225
  - PlatformApiKeyAuthentication: []
@@ -23233,7 +23233,7 @@ paths:
23233
23233
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications-count/:
23234
23234
  get:
23235
23235
  operationId: notification_v1_orgs_users_notifications_count_retrieve
23236
- description: Get notifications count for a user
23236
+ description: 'Get notifications count for a user. Requires: Ibl.Notifications/Notification/list'
23237
23237
  parameters:
23238
23238
  - in: query
23239
23239
  name: channel
@@ -23269,7 +23269,7 @@ paths:
23269
23269
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications/{notification_id}/:
23270
23270
  delete:
23271
23271
  operationId: notification_v1_orgs_users_notifications_destroy
23272
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
23272
+ description: 'Delete a notification for a user. Requires: Ibl.Notifications/Notification/delete'
23273
23273
  parameters:
23274
23274
  - in: path
23275
23275
  name: notification_id
@@ -23296,7 +23296,7 @@ paths:
23296
23296
  /api/notification/v1/orgs/{org}/users/{user_id}/notifications/bulk-update/:
23297
23297
  patch:
23298
23298
  operationId: notification_v1_orgs_users_notifications_bulk_update_partial_update
23299
- description: Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
23299
+ description: 'Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write'
23300
23300
  parameters:
23301
23301
  - in: path
23302
23302
  name: org
@@ -23339,7 +23339,7 @@ paths:
23339
23339
  /api/notification/v1/orgs/{platform_key}/campaigns/enable/:
23340
23340
  post:
23341
23341
  operationId: notification_v1_orgs_campaigns_enable_create
23342
- description: Re-enable campaigns for a user
23342
+ description: 'Re-enable campaigns for a user. Requires: Ibl.Notifications/Campaigns/action'
23343
23343
  parameters:
23344
23344
  - in: path
23345
23345
  name: platform_key
@@ -23382,7 +23382,7 @@ paths:
23382
23382
  /api/notification/v1/orgs/{platform_key}/campaigns/exclude/:
23383
23383
  post:
23384
23384
  operationId: notification_v1_orgs_campaigns_exclude_create
23385
- description: Exclude a user from specified campaigns
23385
+ description: 'Exclude a user from specified campaigns. Requires: Ibl.Notifications/Campaigns/action'
23386
23386
  parameters:
23387
23387
  - in: path
23388
23388
  name: platform_key
@@ -23425,8 +23425,8 @@ paths:
23425
23425
  /api/notification/v1/orgs/{platform_key}/mark-all-as-read:
23426
23426
  post:
23427
23427
  operationId: notification_v1_orgs_mark_all_as_read_create
23428
- description: Mark all notifications as read for a user. Optionally provide specific
23429
- notification IDs.
23428
+ description: 'Mark all notifications as read for a user. Optionally provide
23429
+ specific notification IDs. Requires: Ibl.Notifications/Notification/write'
23430
23430
  parameters:
23431
23431
  - in: path
23432
23432
  name: platform_key
@@ -23706,8 +23706,8 @@ paths:
23706
23706
  /api/notification/v1/platforms/{platform_key}/config/test-smtp/:
23707
23707
  post:
23708
23708
  operationId: notification_v1_platforms_config_test_smtp_create
23709
- description: Test SMTP credentials by sending a test email to the specified
23710
- address
23709
+ description: 'Test SMTP credentials by sending a test email to the specified
23710
+ address. Requires: Ibl.Notifications/SMTP/action'
23711
23711
  summary: Test SMTP credentials for a platform
23712
23712
  parameters:
23713
23713
  - in: path
@@ -23747,8 +23747,9 @@ paths:
23747
23747
  /api/notification/v1/platforms/{platform_key}/templates/:
23748
23748
  get:
23749
23749
  operationId: notification_v1_platforms_templates_list
23750
- description: Get all notification templates for the platform. Includes both
23751
- platform-specific and inherited templates from main.
23750
+ description: 'Get all notification templates for the platform. Includes both
23751
+ platform-specific and inherited templates from main. Requires permission:
23752
+ Ibl.Notifications/NotificationTemplate/list'
23752
23753
  summary: List notification templates
23753
23754
  parameters:
23754
23755
  - in: path
@@ -23772,8 +23773,9 @@ paths:
23772
23773
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/:
23773
23774
  get:
23774
23775
  operationId: notification_v1_platforms_templates_retrieve
23775
- description: Get detailed view of a notification template by type. Returns platform-specific
23776
- template if exists, otherwise main template.
23776
+ description: 'Get detailed view of a notification template by type. Returns
23777
+ platform-specific template if exists, otherwise main template. Requires permission:
23778
+ Ibl.Notifications/NotificationTemplate/read'
23777
23779
  summary: Get notification template details
23778
23780
  parameters:
23779
23781
  - in: path
@@ -23799,8 +23801,8 @@ paths:
23799
23801
  description: ''
23800
23802
  patch:
23801
23803
  operationId: notification_v1_platforms_templates_partial_update
23802
- description: Update notification template. Creates platform-specific copy on
23803
- first edit.
23804
+ description: 'Update notification template. Creates platform-specific copy on
23805
+ first edit. Requires permission: Ibl.Notifications/NotificationTemplate/write'
23804
23806
  summary: Update notification template
23805
23807
  parameters:
23806
23808
  - in: path
@@ -23844,8 +23846,9 @@ paths:
23844
23846
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/reset/:
23845
23847
  post:
23846
23848
  operationId: notification_v1_platforms_templates_reset_create
23847
- description: Delete platform-specific template override and revert to main template.
23848
- Notification preference (on/off) is preserved.
23849
+ description: 'Delete platform-specific template override and revert to main
23850
+ template. Notification preference (on/off) is preserved. Requires permission:
23851
+ Ibl.Notifications/NotificationTemplate/write'
23849
23852
  summary: Reset template to default
23850
23853
  parameters:
23851
23854
  - in: path
@@ -23877,8 +23880,9 @@ paths:
23877
23880
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/test/:
23878
23881
  post:
23879
23882
  operationId: notification_v1_platforms_templates_test_create
23880
- description: Send a test notification to verify template rendering and delivery.
23881
- Sends to the requesting admin's email or a specified test email.
23883
+ description: 'Send a test notification to verify template rendering and delivery.
23884
+ Sends to the requesting admin''s email or a specified test email. Requires
23885
+ permission: Ibl.Notifications/NotificationTemplate/action'
23882
23886
  summary: Send test notification
23883
23887
  parameters:
23884
23888
  - in: path
@@ -23922,8 +23926,8 @@ paths:
23922
23926
  /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/toggle/:
23923
23927
  patch:
23924
23928
  operationId: notification_v1_platforms_templates_toggle_partial_update
23925
- description: Enable or disable a notification type for the platform. This sets
23926
- the NotificationPreference, not the template.
23929
+ description: 'Enable or disable a notification type for the platform. This sets
23930
+ the NotificationPreference, not the template. Requires permission: Ibl.Notifications/NotificationTemplate/write'
23927
23931
  summary: Toggle notification preference
23928
23932
  parameters:
23929
23933
  - in: path
@@ -36281,7 +36285,7 @@ components:
36281
36285
  status:
36282
36286
  title: Message status
36283
36287
  oneOf:
36284
- - $ref: '#/components/schemas/NotificationStatusEnum'
36288
+ - $ref: '#/components/schemas/Status3daEnum'
36285
36289
  - $ref: '#/components/schemas/BlankEnum'
36286
36290
  channel:
36287
36291
  type: string
@@ -36383,16 +36387,6 @@ components:
36383
36387
  * `department` - department
36384
36388
  * `pathway` - pathway
36385
36389
  * `program` - program
36386
- NotificationStatusEnum:
36387
- enum:
36388
- - READ
36389
- - UNREAD
36390
- - CANCELLED
36391
- type: string
36392
- description: |-
36393
- * `READ` - Read
36394
- * `UNREAD` - Unread
36395
- * `CANCELLED` - Cancelled
36396
36390
  NotificationTemplateData:
36397
36391
  type: object
36398
36392
  properties:
@@ -36711,6 +36705,16 @@ components:
36711
36705
  type: boolean
36712
36706
  required:
36713
36707
  - allow_notification
36708
+ NotificationsUpdate:
36709
+ type: object
36710
+ properties:
36711
+ notification_id:
36712
+ type: string
36713
+ default: ''
36714
+ status:
36715
+ $ref: '#/components/schemas/Status3daEnum'
36716
+ required:
36717
+ - status
36714
36718
  NullEnum:
36715
36719
  enum:
36716
36720
  - null
@@ -37705,7 +37709,7 @@ components:
37705
37709
  status:
37706
37710
  title: Message status
37707
37711
  oneOf:
37708
- - $ref: '#/components/schemas/NotificationStatusEnum'
37712
+ - $ref: '#/components/schemas/Status3daEnum'
37709
37713
  - $ref: '#/components/schemas/BlankEnum'
37710
37714
  channel:
37711
37715
  type: string
@@ -42717,6 +42721,16 @@ components:
42717
42721
  * `cancelled` - Cancelled
42718
42722
  * `error` - Error
42719
42723
  * `expired` - Expired
42724
+ Status3daEnum:
42725
+ enum:
42726
+ - READ
42727
+ - UNREAD
42728
+ - CANCELLED
42729
+ type: string
42730
+ description: |-
42731
+ * `READ` - Read
42732
+ * `UNREAD` - Unread
42733
+ * `CANCELLED` - Cancelled
42720
42734
  StripeBillingPageIdentifierResponse:
42721
42735
  type: object
42722
42736
  properties:
@@ -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-core',
24
+ VERSION: '4.109.0-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -187,7 +187,7 @@ export type { NotificationCount } from './models/NotificationCount';
187
187
  export type { NotificationPreview } from './models/NotificationPreview';
188
188
  export type { NotificationSource } from './models/NotificationSource';
189
189
  export { NotificationSourceTypeEnum } from './models/NotificationSourceTypeEnum';
190
- export { NotificationStatusEnum } from './models/NotificationStatusEnum';
190
+ export type { NotificationsUpdate } from './models/NotificationsUpdate';
191
191
  export type { NotificationTemplateData } from './models/NotificationTemplateData';
192
192
  export type { NotificationTemplateDetail } from './models/NotificationTemplateDetail';
193
193
  export type { NotificationTemplateList } from './models/NotificationTemplateList';
@@ -396,6 +396,7 @@ export type { SkillsMetric } from './models/SkillsMetric';
396
396
  export type { SkillThreshold } from './models/SkillThreshold';
397
397
  export type { Spa } from './models/Spa';
398
398
  export { StateEnum } from './models/StateEnum';
399
+ export { Status3daEnum } from './models/Status3daEnum';
399
400
  export type { StripeBillingPageIdentifierResponse } from './models/StripeBillingPageIdentifierResponse';
400
401
  export type { StripeCheckoutSessionRequest } from './models/StripeCheckoutSessionRequest';
401
402
  export type { StripeCheckoutSessionResponse } from './models/StripeCheckoutSessionResponse';
@@ -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',