@iblai/iblai-api 4.338.1-core → 4.340.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.
- package/dist/index.cjs.js +44 -62
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +45 -63
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +44 -62
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/types/models/EventsEnum.d.ts +1 -1
- package/dist/types/models/NotificationTemplateDetail.d.ts +56 -12
- package/dist/types/models/NotificationTemplateList.d.ts +3 -3
- package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +56 -12
- package/dist/types/models/{TypeAf9Enum.d.ts → TypeF30Enum.d.ts} +4 -4
- package/package.json +1 -1
- package/sdk_schema.yml +151 -41
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -2
- package/src/models/EventsEnum.ts +1 -1
- package/src/models/NotificationTemplateDetail.ts +56 -12
- package/src/models/NotificationTemplateList.ts +3 -3
- package/src/models/PatchedNotificationTemplateDetail.ts +56 -12
- package/src/models/{TypeAf9Enum.ts → TypeF30Enum.ts} +3 -3
- package/dist/types/models/PeriodicFrequencyEnum.d.ts +0 -12
- package/src/models/PeriodicFrequencyEnum.ts +0 -16
|
@@ -7,11 +7,10 @@ import type { CoursesProgressFrequencyEnum } from './CoursesProgressFrequencyEnu
|
|
|
7
7
|
import type { GradePostedNotifyModeEnum } from './GradePostedNotifyModeEnum';
|
|
8
8
|
import type { HumanSupportRecipientModeEnum } from './HumanSupportRecipientModeEnum';
|
|
9
9
|
import type { NullEnum } from './NullEnum';
|
|
10
|
-
import type { PeriodicFrequencyEnum } from './PeriodicFrequencyEnum';
|
|
11
10
|
import type { PeriodicLearnerScopeEnum } from './PeriodicLearnerScopeEnum';
|
|
12
11
|
import type { RecipientsRecipientModeEnum } from './RecipientsRecipientModeEnum';
|
|
13
12
|
import type { Spa } from './Spa';
|
|
14
|
-
import type {
|
|
13
|
+
import type { TypeF30Enum } from './TypeF30Enum';
|
|
15
14
|
/**
|
|
16
15
|
* Serializer for detailed template view and editing
|
|
17
16
|
*/
|
|
@@ -31,7 +30,6 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
31
30
|
* * `COURSE_LICENSE_ASSIGNMENT` - Course License Assignment
|
|
32
31
|
* * `COURSE_LICENSE_GROUP_ASSIGNMENT` - Course License Group Assignment
|
|
33
32
|
* * `COURSE_SCHEDULE_CHANGE` - Course Schedule Change
|
|
34
|
-
* * `COURSES_PROGRESS_SUMMARY` - Courses Progress Summary
|
|
35
33
|
* * `CRM_DEAL_STAGE_CHANGED` - Crm Deal Stage Changed
|
|
36
34
|
* * `CRM_PERSON_CREATED` - Crm Person Created
|
|
37
35
|
* * `CRM_PERSON_LINKED_TO_USER` - Crm Person Linked To User
|
|
@@ -61,8 +59,9 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
61
59
|
* * `USER_NOTIF_LEARNER_PROGRESS` - User Notif Learner Progress
|
|
62
60
|
* * `USER_NOTIF_USER_INACTIVITY` - User Notif User Inactivity
|
|
63
61
|
* * `USER_NOTIF_USER_REGISTRATION` - User Notif User Registration
|
|
62
|
+
* * `COURSES_PROGRESS_SUMMARY` - User Progress Summary
|
|
64
63
|
*/
|
|
65
|
-
readonly type?: (
|
|
64
|
+
readonly type?: (TypeF30Enum | NullEnum) | null;
|
|
66
65
|
/**
|
|
67
66
|
* Template display name
|
|
68
67
|
*/
|
|
@@ -95,6 +94,14 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
95
94
|
* HTML email body (supports Django template syntax)
|
|
96
95
|
*/
|
|
97
96
|
email_html_template?: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* Watcher-variant email HTML template (e.g., 'Your child completed...'). Falls back to email_html_template if null.
|
|
99
|
+
*/
|
|
100
|
+
watcher_email_html_template?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* Watcher-variant email subject. Falls back to email_subject if null.
|
|
103
|
+
*/
|
|
104
|
+
watcher_email_subject?: string | null;
|
|
98
105
|
/**
|
|
99
106
|
* Free-form tags for categorization (e.g. ['activity', 'learning'])
|
|
100
107
|
*/
|
|
@@ -133,6 +140,10 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
133
140
|
* Context variables available for template rendering
|
|
134
141
|
*/
|
|
135
142
|
readonly available_context?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Context variables available in the watcher email variant (null for notification types without a watcher variant)
|
|
145
|
+
*/
|
|
146
|
+
readonly watcher_available_context?: string;
|
|
136
147
|
/**
|
|
137
148
|
* Default prompt message for AI agent notifications
|
|
138
149
|
*/
|
|
@@ -164,7 +175,7 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
164
175
|
* * `MONTHLY` - MONTHLY
|
|
165
176
|
* * `CUSTOM` - CUSTOM
|
|
166
177
|
*/
|
|
167
|
-
periodic_frequency?:
|
|
178
|
+
periodic_frequency?: CoursesProgressFrequencyEnum;
|
|
168
179
|
/**
|
|
169
180
|
* Custom interval in days (when frequency is CUSTOM)
|
|
170
181
|
*/
|
|
@@ -265,19 +276,52 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
265
276
|
*/
|
|
266
277
|
schedule_change_enabled_signals?: Array<string>;
|
|
267
278
|
/**
|
|
268
|
-
*
|
|
279
|
+
* User progress summary config (COURSES_PROGRESS_SUMMARY only)
|
|
280
|
+
*/
|
|
281
|
+
readonly user_progress_config?: Record<string, any> | null;
|
|
282
|
+
/**
|
|
283
|
+
* Lookback window in days for the user progress summary
|
|
284
|
+
*/
|
|
285
|
+
user_progress_lookback_days?: number;
|
|
286
|
+
/**
|
|
287
|
+
* Data points to include: courses_progressed, courses_completed, credentials_earned, time_spent, active_days, mentors_accessed (AI agent activity)
|
|
288
|
+
*/
|
|
289
|
+
user_progress_enabled_data_points?: Array<string>;
|
|
290
|
+
/**
|
|
291
|
+
* How often to send the user progress summary
|
|
292
|
+
*
|
|
293
|
+
* * `DAILY` - DAILY
|
|
294
|
+
* * `WEEKLY` - WEEKLY
|
|
295
|
+
* * `MONTHLY` - MONTHLY
|
|
296
|
+
* * `CUSTOM` - CUSTOM
|
|
297
|
+
*/
|
|
298
|
+
user_progress_frequency?: CoursesProgressFrequencyEnum;
|
|
299
|
+
/**
|
|
300
|
+
* Custom interval in days (when frequency is CUSTOM)
|
|
301
|
+
*/
|
|
302
|
+
user_progress_custom_interval_days?: number;
|
|
303
|
+
/**
|
|
304
|
+
* Time of day to send (HH:MM format)
|
|
305
|
+
*/
|
|
306
|
+
user_progress_execution_time?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Timezone for execution (e.g. America/New_York)
|
|
309
|
+
*/
|
|
310
|
+
user_progress_timezone?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Deprecated alias of user_progress_config (COURSES_PROGRESS_SUMMARY only)
|
|
269
313
|
*/
|
|
270
314
|
readonly courses_progress_config?: Record<string, any> | null;
|
|
271
315
|
/**
|
|
272
|
-
*
|
|
316
|
+
* Deprecated alias of user_progress_lookback_days
|
|
273
317
|
*/
|
|
274
318
|
courses_progress_lookback_days?: number;
|
|
275
319
|
/**
|
|
276
|
-
*
|
|
320
|
+
* Deprecated alias of user_progress_enabled_data_points
|
|
277
321
|
*/
|
|
278
322
|
courses_progress_enabled_data_points?: Array<string>;
|
|
279
323
|
/**
|
|
280
|
-
*
|
|
324
|
+
* Deprecated alias of user_progress_frequency
|
|
281
325
|
*
|
|
282
326
|
* * `DAILY` - DAILY
|
|
283
327
|
* * `WEEKLY` - WEEKLY
|
|
@@ -286,15 +330,15 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
286
330
|
*/
|
|
287
331
|
courses_progress_frequency?: CoursesProgressFrequencyEnum;
|
|
288
332
|
/**
|
|
289
|
-
*
|
|
333
|
+
* Deprecated alias of user_progress_custom_interval_days
|
|
290
334
|
*/
|
|
291
335
|
courses_progress_custom_interval_days?: number;
|
|
292
336
|
/**
|
|
293
|
-
*
|
|
337
|
+
* Deprecated alias of user_progress_execution_time
|
|
294
338
|
*/
|
|
295
339
|
courses_progress_execution_time?: string;
|
|
296
340
|
/**
|
|
297
|
-
*
|
|
341
|
+
* Deprecated alias of user_progress_timezone
|
|
298
342
|
*/
|
|
299
343
|
courses_progress_timezone?: string;
|
|
300
344
|
/**
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* * `COURSE_LICENSE_ASSIGNMENT` - Course License Assignment
|
|
12
12
|
* * `COURSE_LICENSE_GROUP_ASSIGNMENT` - Course License Group Assignment
|
|
13
13
|
* * `COURSE_SCHEDULE_CHANGE` - Course Schedule Change
|
|
14
|
-
* * `COURSES_PROGRESS_SUMMARY` - Courses Progress Summary
|
|
15
14
|
* * `CRM_DEAL_STAGE_CHANGED` - Crm Deal Stage Changed
|
|
16
15
|
* * `CRM_PERSON_CREATED` - Crm Person Created
|
|
17
16
|
* * `CRM_PERSON_LINKED_TO_USER` - Crm Person Linked To User
|
|
@@ -41,8 +40,9 @@
|
|
|
41
40
|
* * `USER_NOTIF_LEARNER_PROGRESS` - User Notif Learner Progress
|
|
42
41
|
* * `USER_NOTIF_USER_INACTIVITY` - User Notif User Inactivity
|
|
43
42
|
* * `USER_NOTIF_USER_REGISTRATION` - User Notif User Registration
|
|
43
|
+
* * `COURSES_PROGRESS_SUMMARY` - User Progress Summary
|
|
44
44
|
*/
|
|
45
|
-
export enum
|
|
45
|
+
export enum TypeF30Enum {
|
|
46
46
|
ACTIVITY_COURSE_MILESTONE = 'ACTIVITY_COURSE_MILESTONE',
|
|
47
47
|
ACTIVITY_NEW_CONTENT = 'ACTIVITY_NEW_CONTENT',
|
|
48
48
|
ADMIN_NOTIF_COURSE_ENROLLMENT = 'ADMIN_NOTIF_COURSE_ENROLLMENT',
|
|
@@ -51,7 +51,6 @@ export enum TypeAf9Enum {
|
|
|
51
51
|
COURSE_LICENSE_ASSIGNMENT = 'COURSE_LICENSE_ASSIGNMENT',
|
|
52
52
|
COURSE_LICENSE_GROUP_ASSIGNMENT = 'COURSE_LICENSE_GROUP_ASSIGNMENT',
|
|
53
53
|
COURSE_SCHEDULE_CHANGE = 'COURSE_SCHEDULE_CHANGE',
|
|
54
|
-
COURSES_PROGRESS_SUMMARY = 'COURSES_PROGRESS_SUMMARY',
|
|
55
54
|
CRM_DEAL_STAGE_CHANGED = 'CRM_DEAL_STAGE_CHANGED',
|
|
56
55
|
CRM_PERSON_CREATED = 'CRM_PERSON_CREATED',
|
|
57
56
|
CRM_PERSON_LINKED_TO_USER = 'CRM_PERSON_LINKED_TO_USER',
|
|
@@ -81,4 +80,5 @@ export enum TypeAf9Enum {
|
|
|
81
80
|
USER_NOTIF_LEARNER_PROGRESS = 'USER_NOTIF_LEARNER_PROGRESS',
|
|
82
81
|
USER_NOTIF_USER_INACTIVITY = 'USER_NOTIF_USER_INACTIVITY',
|
|
83
82
|
USER_NOTIF_USER_REGISTRATION = 'USER_NOTIF_USER_REGISTRATION',
|
|
83
|
+
COURSES_PROGRESS_SUMMARY = 'COURSES_PROGRESS_SUMMARY',
|
|
84
84
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
* * `CUSTOM` - CUSTOM
|
|
10
|
-
*/
|
|
11
|
-
export enum PeriodicFrequencyEnum {
|
|
12
|
-
DAILY = 'DAILY',
|
|
13
|
-
WEEKLY = 'WEEKLY',
|
|
14
|
-
MONTHLY = 'MONTHLY',
|
|
15
|
-
CUSTOM = 'CUSTOM',
|
|
16
|
-
}
|