@iblai/iblai-api 4.250.4-core → 4.250.5-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.
- package/dist/index.cjs.js +1311 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1312 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1311 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +7 -0
- package/dist/types/models/AvailableNotificationType.d.ts +29 -0
- package/dist/types/models/NotificationFrequencyEnum.d.ts +12 -0
- package/dist/types/models/NotificationTypePreference.d.ts +9 -0
- package/dist/types/models/PatchedNotificationTypePreference.d.ts +9 -0
- package/dist/types/models/PatchedUserNotificationPreferences.d.ts +617 -0
- package/dist/types/models/TimezoneNameEnum.d.ts +1186 -0
- package/dist/types/models/UserNotificationPreferences.d.ts +617 -0
- package/dist/types/services/NotificationsService.d.ts +76 -0
- package/package.json +1 -1
- package/sdk_schema.yml +2685 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +7 -0
- package/src/models/AvailableNotificationType.ts +34 -0
- package/src/models/NotificationFrequencyEnum.ts +16 -0
- package/src/models/NotificationTypePreference.ts +14 -0
- package/src/models/PatchedNotificationTypePreference.ts +14 -0
- package/src/models/PatchedUserNotificationPreferences.ts +622 -0
- package/src/models/TimezoneNameEnum.ts +1190 -0
- package/src/models/UserNotificationPreferences.ts +622 -0
- package/src/services/NotificationsService.ts +148 -0
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -27,6 +27,7 @@ export type { AuthToken } from './models/AuthToken';
|
|
|
27
27
|
export type { AutoRechargeTriggerRequest } from './models/AutoRechargeTriggerRequest';
|
|
28
28
|
export type { AutoRechargeTriggerResponse } from './models/AutoRechargeTriggerResponse';
|
|
29
29
|
export { AutoRechargeTriggerResponseStatusEnum } from './models/AutoRechargeTriggerResponseStatusEnum';
|
|
30
|
+
export type { AvailableNotificationType } from './models/AvailableNotificationType';
|
|
30
31
|
export type { Average } from './models/Average';
|
|
31
32
|
export type { AverageData } from './models/AverageData';
|
|
32
33
|
export type { AverageOvertime } from './models/AverageOvertime';
|
|
@@ -216,6 +217,7 @@ export type { NewPerLearnerList } from './models/NewPerLearnerList';
|
|
|
216
217
|
export type { NewPerLearnerListData } from './models/NewPerLearnerListData';
|
|
217
218
|
export type { Notification } from './models/Notification';
|
|
218
219
|
export type { NotificationCount } from './models/NotificationCount';
|
|
220
|
+
export { NotificationFrequencyEnum } from './models/NotificationFrequencyEnum';
|
|
219
221
|
export type { NotificationPreview } from './models/NotificationPreview';
|
|
220
222
|
export type { NotificationSource } from './models/NotificationSource';
|
|
221
223
|
export { NotificationSourceTypeEnum } from './models/NotificationSourceTypeEnum';
|
|
@@ -226,6 +228,7 @@ export type { NotificationTemplateList } from './models/NotificationTemplateList
|
|
|
226
228
|
export type { NotificationTemplateTest } from './models/NotificationTemplateTest';
|
|
227
229
|
export type { NotificationTemplateTestResponse } from './models/NotificationTemplateTestResponse';
|
|
228
230
|
export type { NotificationToggle } from './models/NotificationToggle';
|
|
231
|
+
export type { NotificationTypePreference } from './models/NotificationTypePreference';
|
|
229
232
|
export type { NullEnum } from './models/NullEnum';
|
|
230
233
|
export type { OnboardingStatusUpdate } from './models/OnboardingStatusUpdate';
|
|
231
234
|
export type { OverTime } from './models/OverTime';
|
|
@@ -270,6 +273,7 @@ export type { PatchedMediaResource } from './models/PatchedMediaResource';
|
|
|
270
273
|
export type { PatchedNotification } from './models/PatchedNotification';
|
|
271
274
|
export type { PatchedNotificationTemplateDetail } from './models/PatchedNotificationTemplateDetail';
|
|
272
275
|
export type { PatchedNotificationToggle } from './models/PatchedNotificationToggle';
|
|
276
|
+
export type { PatchedNotificationTypePreference } from './models/PatchedNotificationTypePreference';
|
|
273
277
|
export type { PatchedPlatformPublicImageAsset } from './models/PatchedPlatformPublicImageAsset';
|
|
274
278
|
export type { PatchedPlatformPublicMetadata } from './models/PatchedPlatformPublicMetadata';
|
|
275
279
|
export type { PatchedRbacGroup } from './models/PatchedRbacGroup';
|
|
@@ -279,6 +283,7 @@ export type { PatchedSCIMGroup } from './models/PatchedSCIMGroup';
|
|
|
279
283
|
export type { PatchedSCIMUserResponse } from './models/PatchedSCIMUserResponse';
|
|
280
284
|
export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
|
|
281
285
|
export type { PatchedUserGroup } from './models/PatchedUserGroup';
|
|
286
|
+
export type { PatchedUserNotificationPreferences } from './models/PatchedUserNotificationPreferences';
|
|
282
287
|
export type { PatchedUserPlatformMetadataUpdate } from './models/PatchedUserPlatformMetadataUpdate';
|
|
283
288
|
export type { Pathway } from './models/Pathway';
|
|
284
289
|
export type { PathwayCompletion } from './models/PathwayCompletion';
|
|
@@ -475,6 +480,7 @@ export type { TimeSpentPerCourseData } from './models/TimeSpentPerCourseData';
|
|
|
475
480
|
export type { TimeSpentPerUserResponse } from './models/TimeSpentPerUserResponse';
|
|
476
481
|
export type { TimeSpentUpdateRequest } from './models/TimeSpentUpdateRequest';
|
|
477
482
|
export type { TimeSpentUpdateResponse } from './models/TimeSpentUpdateResponse';
|
|
483
|
+
export { TimezoneNameEnum } from './models/TimezoneNameEnum';
|
|
478
484
|
export type { TokenProxyInput } from './models/TokenProxyInput';
|
|
479
485
|
export type { TokenProxyOutput } from './models/TokenProxyOutput';
|
|
480
486
|
export type { TokenProxyOutputSerializerData } from './models/TokenProxyOutputSerializerData';
|
|
@@ -501,6 +507,7 @@ export type { UserLicenseDetail } from './models/UserLicenseDetail';
|
|
|
501
507
|
export type { UserLicenseGroupAssignmentCreate } from './models/UserLicenseGroupAssignmentCreate';
|
|
502
508
|
export type { UserLicenseGroupAssignmentDetail } from './models/UserLicenseGroupAssignmentDetail';
|
|
503
509
|
export type { UserLicenseUpdate } from './models/UserLicenseUpdate';
|
|
510
|
+
export type { UserNotificationPreferences } from './models/UserNotificationPreferences';
|
|
504
511
|
export type { UserPlatformLink } from './models/UserPlatformLink';
|
|
505
512
|
export type { UserPlatformManagementListViewGetResponse } from './models/UserPlatformManagementListViewGetResponse';
|
|
506
513
|
export type { UserPlatformMetadata } from './models/UserPlatformMetadata';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for available notification types with user preferences.
|
|
7
|
+
*/
|
|
8
|
+
export type AvailableNotificationType = {
|
|
9
|
+
/**
|
|
10
|
+
* Notification type identifier
|
|
11
|
+
*/
|
|
12
|
+
type: string;
|
|
13
|
+
/**
|
|
14
|
+
* Human-readable name
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Description of the notification type
|
|
19
|
+
*/
|
|
20
|
+
description: string;
|
|
21
|
+
/**
|
|
22
|
+
* Tags from the notification template
|
|
23
|
+
*/
|
|
24
|
+
tags?: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Whether this type is enabled for the platform
|
|
27
|
+
*/
|
|
28
|
+
is_enabled: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* User's per-type preference (enabled, frequency)
|
|
31
|
+
*/
|
|
32
|
+
user_preference?: Record<string, any>;
|
|
33
|
+
};
|
|
34
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `daily` - Daily
|
|
7
|
+
* * `weekly` - Weekly
|
|
8
|
+
* * `monthly` - Monthly
|
|
9
|
+
* * `important_only` - Important only
|
|
10
|
+
*/
|
|
11
|
+
export enum NotificationFrequencyEnum {
|
|
12
|
+
DAILY = 'daily',
|
|
13
|
+
WEEKLY = 'weekly',
|
|
14
|
+
MONTHLY = 'monthly',
|
|
15
|
+
IMPORTANT_ONLY = 'important_only',
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for per-type notification preference updates.
|
|
7
|
+
*/
|
|
8
|
+
export type NotificationTypePreference = {
|
|
9
|
+
/**
|
|
10
|
+
* Whether this notification type is enabled
|
|
11
|
+
*/
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for per-type notification preference updates.
|
|
7
|
+
*/
|
|
8
|
+
export type PatchedNotificationTypePreference = {
|
|
9
|
+
/**
|
|
10
|
+
* Whether this notification type is enabled
|
|
11
|
+
*/
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
|