@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.
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.108.1-ai-plus',
113
+ VERSION: '4.109.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -519,22 +519,6 @@ exports.NotificationSourceTypeEnum = void 0;
519
519
  NotificationSourceTypeEnum["PROGRAM"] = "program";
520
520
  })(exports.NotificationSourceTypeEnum || (exports.NotificationSourceTypeEnum = {}));
521
521
 
522
- /* generated using openapi-typescript-codegen -- do not edit */
523
- /* istanbul ignore file */
524
- /* tslint:disable */
525
- /* eslint-disable */
526
- /**
527
- * * `READ` - Read
528
- * * `UNREAD` - Unread
529
- * * `CANCELLED` - Cancelled
530
- */
531
- exports.NotificationStatusEnum = void 0;
532
- (function (NotificationStatusEnum) {
533
- NotificationStatusEnum["READ"] = "READ";
534
- NotificationStatusEnum["UNREAD"] = "UNREAD";
535
- NotificationStatusEnum["CANCELLED"] = "CANCELLED";
536
- })(exports.NotificationStatusEnum || (exports.NotificationStatusEnum = {}));
537
-
538
522
  /* generated using openapi-typescript-codegen -- do not edit */
539
523
  /* istanbul ignore file */
540
524
  /* tslint:disable */
@@ -791,6 +775,22 @@ exports.StateEnum = void 0;
791
775
  StateEnum["EXPIRED"] = "expired";
792
776
  })(exports.StateEnum || (exports.StateEnum = {}));
793
777
 
778
+ /* generated using openapi-typescript-codegen -- do not edit */
779
+ /* istanbul ignore file */
780
+ /* tslint:disable */
781
+ /* eslint-disable */
782
+ /**
783
+ * * `READ` - Read
784
+ * * `UNREAD` - Unread
785
+ * * `CANCELLED` - Cancelled
786
+ */
787
+ exports.Status3daEnum = void 0;
788
+ (function (Status3daEnum) {
789
+ Status3daEnum["READ"] = "READ";
790
+ Status3daEnum["UNREAD"] = "UNREAD";
791
+ Status3daEnum["CANCELLED"] = "CANCELLED";
792
+ })(exports.Status3daEnum || (exports.Status3daEnum = {}));
793
+
794
794
  /* generated using openapi-typescript-codegen -- do not edit */
795
795
  /* istanbul ignore file */
796
796
  /* tslint:disable */
@@ -39350,7 +39350,7 @@ class NotificationsService {
39350
39350
  });
39351
39351
  }
39352
39352
  /**
39353
- * Get notifications for a user
39353
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
39354
39354
  * @returns Notification
39355
39355
  * @throws ApiError
39356
39356
  */
@@ -39378,7 +39378,7 @@ class NotificationsService {
39378
39378
  });
39379
39379
  }
39380
39380
  /**
39381
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39381
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
39382
39382
  * @returns Notification
39383
39383
  * @throws ApiError
39384
39384
  */
@@ -39397,7 +39397,7 @@ class NotificationsService {
39397
39397
  });
39398
39398
  }
39399
39399
  /**
39400
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39400
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
39401
39401
  * @returns Notification
39402
39402
  * @throws ApiError
39403
39403
  */
@@ -39416,7 +39416,7 @@ class NotificationsService {
39416
39416
  });
39417
39417
  }
39418
39418
  /**
39419
- * Get notifications for a user
39419
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
39420
39420
  * @returns Notification
39421
39421
  * @throws ApiError
39422
39422
  */
@@ -39446,7 +39446,7 @@ class NotificationsService {
39446
39446
  });
39447
39447
  }
39448
39448
  /**
39449
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39449
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
39450
39450
  * @returns Notification
39451
39451
  * @throws ApiError
39452
39452
  */
@@ -39467,7 +39467,7 @@ class NotificationsService {
39467
39467
  });
39468
39468
  }
39469
39469
  /**
39470
- * Get notifications count for a user
39470
+ * Get notifications count for a user. Requires: Ibl.Notifications/Notification/list
39471
39471
  * @returns NotificationCount
39472
39472
  * @throws ApiError
39473
39473
  */
@@ -39491,7 +39491,7 @@ class NotificationsService {
39491
39491
  });
39492
39492
  }
39493
39493
  /**
39494
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39494
+ * Delete a notification for a user. Requires: Ibl.Notifications/Notification/delete
39495
39495
  * @returns void
39496
39496
  * @throws ApiError
39497
39497
  */
@@ -39511,7 +39511,7 @@ class NotificationsService {
39511
39511
  });
39512
39512
  }
39513
39513
  /**
39514
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39514
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
39515
39515
  * @returns Notification
39516
39516
  * @throws ApiError
39517
39517
  */
@@ -39532,7 +39532,7 @@ class NotificationsService {
39532
39532
  });
39533
39533
  }
39534
39534
  /**
39535
- * Re-enable campaigns for a user
39535
+ * Re-enable campaigns for a user. Requires: Ibl.Notifications/Campaigns/action
39536
39536
  * @returns any
39537
39537
  * @throws ApiError
39538
39538
  */
@@ -39551,7 +39551,7 @@ class NotificationsService {
39551
39551
  });
39552
39552
  }
39553
39553
  /**
39554
- * Exclude a user from specified campaigns
39554
+ * Exclude a user from specified campaigns. Requires: Ibl.Notifications/Campaigns/action
39555
39555
  * @returns any
39556
39556
  * @throws ApiError
39557
39557
  */
@@ -39570,7 +39570,7 @@ class NotificationsService {
39570
39570
  });
39571
39571
  }
39572
39572
  /**
39573
- * Mark all notifications as read for a user. Optionally provide specific notification IDs.
39573
+ * Mark all notifications as read for a user. Optionally provide specific notification IDs. Requires: Ibl.Notifications/Notification/write
39574
39574
  * @returns MarkAllReadResponse
39575
39575
  * @throws ApiError
39576
39576
  */
@@ -39694,7 +39694,7 @@ class NotificationsService {
39694
39694
  }
39695
39695
  /**
39696
39696
  * Test SMTP credentials for a platform
39697
- * Test SMTP credentials by sending a test email to the specified address
39697
+ * Test SMTP credentials by sending a test email to the specified address. Requires: Ibl.Notifications/SMTP/action
39698
39698
  * @returns TestSMTPResponse
39699
39699
  * @throws ApiError
39700
39700
  */
@@ -39714,7 +39714,7 @@ class NotificationsService {
39714
39714
  }
39715
39715
  /**
39716
39716
  * List notification templates
39717
- * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main.
39717
+ * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main. Requires permission: Ibl.Notifications/NotificationTemplate/list
39718
39718
  * @returns NotificationTemplateList
39719
39719
  * @throws ApiError
39720
39720
  */
@@ -39731,7 +39731,7 @@ class NotificationsService {
39731
39731
  }
39732
39732
  /**
39733
39733
  * Get notification template details
39734
- * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template.
39734
+ * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template. Requires permission: Ibl.Notifications/NotificationTemplate/read
39735
39735
  * @returns NotificationTemplateDetail
39736
39736
  * @throws ApiError
39737
39737
  */
@@ -39750,7 +39750,7 @@ class NotificationsService {
39750
39750
  }
39751
39751
  /**
39752
39752
  * Update notification template
39753
- * Update notification template. Creates platform-specific copy on first edit.
39753
+ * Update notification template. Creates platform-specific copy on first edit. Requires permission: Ibl.Notifications/NotificationTemplate/write
39754
39754
  * @returns NotificationTemplateDetail
39755
39755
  * @throws ApiError
39756
39756
  */
@@ -39772,7 +39772,7 @@ class NotificationsService {
39772
39772
  }
39773
39773
  /**
39774
39774
  * Reset template to default
39775
- * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved.
39775
+ * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved. Requires permission: Ibl.Notifications/NotificationTemplate/write
39776
39776
  * @returns any
39777
39777
  * @throws ApiError
39778
39778
  */
@@ -39791,7 +39791,7 @@ class NotificationsService {
39791
39791
  }
39792
39792
  /**
39793
39793
  * Send test notification
39794
- * Send a test notification to verify template rendering and delivery. Sends to the requesting admin's email or a specified test email.
39794
+ * 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
39795
39795
  * @returns NotificationTemplateTestResponse
39796
39796
  * @throws ApiError
39797
39797
  */
@@ -39813,7 +39813,7 @@ class NotificationsService {
39813
39813
  }
39814
39814
  /**
39815
39815
  * Toggle notification preference
39816
- * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template.
39816
+ * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template. Requires permission: Ibl.Notifications/NotificationTemplate/write
39817
39817
  * @returns NotificationToggle
39818
39818
  * @throws ApiError
39819
39819
  */
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.108.1-ai-plus',
111
+ VERSION: '4.109.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -517,22 +517,6 @@ var NotificationSourceTypeEnum;
517
517
  NotificationSourceTypeEnum["PROGRAM"] = "program";
518
518
  })(NotificationSourceTypeEnum || (NotificationSourceTypeEnum = {}));
519
519
 
520
- /* generated using openapi-typescript-codegen -- do not edit */
521
- /* istanbul ignore file */
522
- /* tslint:disable */
523
- /* eslint-disable */
524
- /**
525
- * * `READ` - Read
526
- * * `UNREAD` - Unread
527
- * * `CANCELLED` - Cancelled
528
- */
529
- var NotificationStatusEnum;
530
- (function (NotificationStatusEnum) {
531
- NotificationStatusEnum["READ"] = "READ";
532
- NotificationStatusEnum["UNREAD"] = "UNREAD";
533
- NotificationStatusEnum["CANCELLED"] = "CANCELLED";
534
- })(NotificationStatusEnum || (NotificationStatusEnum = {}));
535
-
536
520
  /* generated using openapi-typescript-codegen -- do not edit */
537
521
  /* istanbul ignore file */
538
522
  /* tslint:disable */
@@ -789,6 +773,22 @@ var StateEnum;
789
773
  StateEnum["EXPIRED"] = "expired";
790
774
  })(StateEnum || (StateEnum = {}));
791
775
 
776
+ /* generated using openapi-typescript-codegen -- do not edit */
777
+ /* istanbul ignore file */
778
+ /* tslint:disable */
779
+ /* eslint-disable */
780
+ /**
781
+ * * `READ` - Read
782
+ * * `UNREAD` - Unread
783
+ * * `CANCELLED` - Cancelled
784
+ */
785
+ var Status3daEnum;
786
+ (function (Status3daEnum) {
787
+ Status3daEnum["READ"] = "READ";
788
+ Status3daEnum["UNREAD"] = "UNREAD";
789
+ Status3daEnum["CANCELLED"] = "CANCELLED";
790
+ })(Status3daEnum || (Status3daEnum = {}));
791
+
792
792
  /* generated using openapi-typescript-codegen -- do not edit */
793
793
  /* istanbul ignore file */
794
794
  /* tslint:disable */
@@ -39348,7 +39348,7 @@ class NotificationsService {
39348
39348
  });
39349
39349
  }
39350
39350
  /**
39351
- * Get notifications for a user
39351
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
39352
39352
  * @returns Notification
39353
39353
  * @throws ApiError
39354
39354
  */
@@ -39376,7 +39376,7 @@ class NotificationsService {
39376
39376
  });
39377
39377
  }
39378
39378
  /**
39379
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39379
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
39380
39380
  * @returns Notification
39381
39381
  * @throws ApiError
39382
39382
  */
@@ -39395,7 +39395,7 @@ class NotificationsService {
39395
39395
  });
39396
39396
  }
39397
39397
  /**
39398
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39398
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
39399
39399
  * @returns Notification
39400
39400
  * @throws ApiError
39401
39401
  */
@@ -39414,7 +39414,7 @@ class NotificationsService {
39414
39414
  });
39415
39415
  }
39416
39416
  /**
39417
- * Get notifications for a user
39417
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
39418
39418
  * @returns Notification
39419
39419
  * @throws ApiError
39420
39420
  */
@@ -39444,7 +39444,7 @@ class NotificationsService {
39444
39444
  });
39445
39445
  }
39446
39446
  /**
39447
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39447
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
39448
39448
  * @returns Notification
39449
39449
  * @throws ApiError
39450
39450
  */
@@ -39465,7 +39465,7 @@ class NotificationsService {
39465
39465
  });
39466
39466
  }
39467
39467
  /**
39468
- * Get notifications count for a user
39468
+ * Get notifications count for a user. Requires: Ibl.Notifications/Notification/list
39469
39469
  * @returns NotificationCount
39470
39470
  * @throws ApiError
39471
39471
  */
@@ -39489,7 +39489,7 @@ class NotificationsService {
39489
39489
  });
39490
39490
  }
39491
39491
  /**
39492
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39492
+ * Delete a notification for a user. Requires: Ibl.Notifications/Notification/delete
39493
39493
  * @returns void
39494
39494
  * @throws ApiError
39495
39495
  */
@@ -39509,7 +39509,7 @@ class NotificationsService {
39509
39509
  });
39510
39510
  }
39511
39511
  /**
39512
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39512
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
39513
39513
  * @returns Notification
39514
39514
  * @throws ApiError
39515
39515
  */
@@ -39530,7 +39530,7 @@ class NotificationsService {
39530
39530
  });
39531
39531
  }
39532
39532
  /**
39533
- * Re-enable campaigns for a user
39533
+ * Re-enable campaigns for a user. Requires: Ibl.Notifications/Campaigns/action
39534
39534
  * @returns any
39535
39535
  * @throws ApiError
39536
39536
  */
@@ -39549,7 +39549,7 @@ class NotificationsService {
39549
39549
  });
39550
39550
  }
39551
39551
  /**
39552
- * Exclude a user from specified campaigns
39552
+ * Exclude a user from specified campaigns. Requires: Ibl.Notifications/Campaigns/action
39553
39553
  * @returns any
39554
39554
  * @throws ApiError
39555
39555
  */
@@ -39568,7 +39568,7 @@ class NotificationsService {
39568
39568
  });
39569
39569
  }
39570
39570
  /**
39571
- * Mark all notifications as read for a user. Optionally provide specific notification IDs.
39571
+ * Mark all notifications as read for a user. Optionally provide specific notification IDs. Requires: Ibl.Notifications/Notification/write
39572
39572
  * @returns MarkAllReadResponse
39573
39573
  * @throws ApiError
39574
39574
  */
@@ -39692,7 +39692,7 @@ class NotificationsService {
39692
39692
  }
39693
39693
  /**
39694
39694
  * Test SMTP credentials for a platform
39695
- * Test SMTP credentials by sending a test email to the specified address
39695
+ * Test SMTP credentials by sending a test email to the specified address. Requires: Ibl.Notifications/SMTP/action
39696
39696
  * @returns TestSMTPResponse
39697
39697
  * @throws ApiError
39698
39698
  */
@@ -39712,7 +39712,7 @@ class NotificationsService {
39712
39712
  }
39713
39713
  /**
39714
39714
  * List notification templates
39715
- * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main.
39715
+ * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main. Requires permission: Ibl.Notifications/NotificationTemplate/list
39716
39716
  * @returns NotificationTemplateList
39717
39717
  * @throws ApiError
39718
39718
  */
@@ -39729,7 +39729,7 @@ class NotificationsService {
39729
39729
  }
39730
39730
  /**
39731
39731
  * Get notification template details
39732
- * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template.
39732
+ * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template. Requires permission: Ibl.Notifications/NotificationTemplate/read
39733
39733
  * @returns NotificationTemplateDetail
39734
39734
  * @throws ApiError
39735
39735
  */
@@ -39748,7 +39748,7 @@ class NotificationsService {
39748
39748
  }
39749
39749
  /**
39750
39750
  * Update notification template
39751
- * Update notification template. Creates platform-specific copy on first edit.
39751
+ * Update notification template. Creates platform-specific copy on first edit. Requires permission: Ibl.Notifications/NotificationTemplate/write
39752
39752
  * @returns NotificationTemplateDetail
39753
39753
  * @throws ApiError
39754
39754
  */
@@ -39770,7 +39770,7 @@ class NotificationsService {
39770
39770
  }
39771
39771
  /**
39772
39772
  * Reset template to default
39773
- * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved.
39773
+ * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved. Requires permission: Ibl.Notifications/NotificationTemplate/write
39774
39774
  * @returns any
39775
39775
  * @throws ApiError
39776
39776
  */
@@ -39789,7 +39789,7 @@ class NotificationsService {
39789
39789
  }
39790
39790
  /**
39791
39791
  * Send test notification
39792
- * Send a test notification to verify template rendering and delivery. Sends to the requesting admin's email or a specified test email.
39792
+ * 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
39793
39793
  * @returns NotificationTemplateTestResponse
39794
39794
  * @throws ApiError
39795
39795
  */
@@ -39811,7 +39811,7 @@ class NotificationsService {
39811
39811
  }
39812
39812
  /**
39813
39813
  * Toggle notification preference
39814
- * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template.
39814
+ * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template. Requires permission: Ibl.Notifications/NotificationTemplate/write
39815
39815
  * @returns NotificationToggle
39816
39816
  * @throws ApiError
39817
39817
  */
@@ -42154,5 +42154,5 @@ class SkillsService {
42154
42154
  }
42155
42155
  }
42156
42156
 
42157
- export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AiSearchService, AlignMentorBubbleEnum, AnalyticsService, ApiError, AuthTypeEnum, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, DisclaimerScopeEnum, EntityTypeEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MCPServerConnectionScopeEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodEnum, PeriodicAgentLogStatusEnum, PeriodicFrequencyEnum, PeriodicLearnerScopeEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider63aEnum, RatingEnum, RecommendationTypeEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, Type2a5Enum, TypeC42Enum, VoiceProviderEnum };
42157
+ export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AiSearchService, AlignMentorBubbleEnum, AnalyticsService, ApiError, AuthTypeEnum, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, DisclaimerScopeEnum, EntityTypeEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MCPServerConnectionScopeEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationsService, OpenAPI, PeriodEnum, PeriodicAgentLogStatusEnum, PeriodicFrequencyEnum, PeriodicLearnerScopeEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider63aEnum, RatingEnum, RecommendationTypeEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, SearchService, SkillsService, StateEnum, Status3daEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, Type2a5Enum, TypeC42Enum, VoiceProviderEnum };
42158
42158
  //# sourceMappingURL=index.esm.js.map
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.108.1-ai-plus',
117
+ VERSION: '4.109.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -523,22 +523,6 @@
523
523
  NotificationSourceTypeEnum["PROGRAM"] = "program";
524
524
  })(exports.NotificationSourceTypeEnum || (exports.NotificationSourceTypeEnum = {}));
525
525
 
526
- /* generated using openapi-typescript-codegen -- do not edit */
527
- /* istanbul ignore file */
528
- /* tslint:disable */
529
- /* eslint-disable */
530
- /**
531
- * * `READ` - Read
532
- * * `UNREAD` - Unread
533
- * * `CANCELLED` - Cancelled
534
- */
535
- exports.NotificationStatusEnum = void 0;
536
- (function (NotificationStatusEnum) {
537
- NotificationStatusEnum["READ"] = "READ";
538
- NotificationStatusEnum["UNREAD"] = "UNREAD";
539
- NotificationStatusEnum["CANCELLED"] = "CANCELLED";
540
- })(exports.NotificationStatusEnum || (exports.NotificationStatusEnum = {}));
541
-
542
526
  /* generated using openapi-typescript-codegen -- do not edit */
543
527
  /* istanbul ignore file */
544
528
  /* tslint:disable */
@@ -795,6 +779,22 @@
795
779
  StateEnum["EXPIRED"] = "expired";
796
780
  })(exports.StateEnum || (exports.StateEnum = {}));
797
781
 
782
+ /* generated using openapi-typescript-codegen -- do not edit */
783
+ /* istanbul ignore file */
784
+ /* tslint:disable */
785
+ /* eslint-disable */
786
+ /**
787
+ * * `READ` - Read
788
+ * * `UNREAD` - Unread
789
+ * * `CANCELLED` - Cancelled
790
+ */
791
+ exports.Status3daEnum = void 0;
792
+ (function (Status3daEnum) {
793
+ Status3daEnum["READ"] = "READ";
794
+ Status3daEnum["UNREAD"] = "UNREAD";
795
+ Status3daEnum["CANCELLED"] = "CANCELLED";
796
+ })(exports.Status3daEnum || (exports.Status3daEnum = {}));
797
+
798
798
  /* generated using openapi-typescript-codegen -- do not edit */
799
799
  /* istanbul ignore file */
800
800
  /* tslint:disable */
@@ -39354,7 +39354,7 @@
39354
39354
  });
39355
39355
  }
39356
39356
  /**
39357
- * Get notifications for a user
39357
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
39358
39358
  * @returns Notification
39359
39359
  * @throws ApiError
39360
39360
  */
@@ -39382,7 +39382,7 @@
39382
39382
  });
39383
39383
  }
39384
39384
  /**
39385
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39385
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
39386
39386
  * @returns Notification
39387
39387
  * @throws ApiError
39388
39388
  */
@@ -39401,7 +39401,7 @@
39401
39401
  });
39402
39402
  }
39403
39403
  /**
39404
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39404
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
39405
39405
  * @returns Notification
39406
39406
  * @throws ApiError
39407
39407
  */
@@ -39420,7 +39420,7 @@
39420
39420
  });
39421
39421
  }
39422
39422
  /**
39423
- * Get notifications for a user
39423
+ * Get notifications for a user. Requires: Ibl.Notifications/Notification/list
39424
39424
  * @returns Notification
39425
39425
  * @throws ApiError
39426
39426
  */
@@ -39450,7 +39450,7 @@
39450
39450
  });
39451
39451
  }
39452
39452
  /**
39453
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39453
+ * Update notification status for a user. Requires: Ibl.Notifications/Notification/write
39454
39454
  * @returns Notification
39455
39455
  * @throws ApiError
39456
39456
  */
@@ -39471,7 +39471,7 @@
39471
39471
  });
39472
39472
  }
39473
39473
  /**
39474
- * Get notifications count for a user
39474
+ * Get notifications count for a user. Requires: Ibl.Notifications/Notification/list
39475
39475
  * @returns NotificationCount
39476
39476
  * @throws ApiError
39477
39477
  */
@@ -39495,7 +39495,7 @@
39495
39495
  });
39496
39496
  }
39497
39497
  /**
39498
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39498
+ * Delete a notification for a user. Requires: Ibl.Notifications/Notification/delete
39499
39499
  * @returns void
39500
39500
  * @throws ApiError
39501
39501
  */
@@ -39515,7 +39515,7 @@
39515
39515
  });
39516
39516
  }
39517
39517
  /**
39518
- * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
39518
+ * Bulk update notification status for a user. Requires: Ibl.Notifications/Notification/write
39519
39519
  * @returns Notification
39520
39520
  * @throws ApiError
39521
39521
  */
@@ -39536,7 +39536,7 @@
39536
39536
  });
39537
39537
  }
39538
39538
  /**
39539
- * Re-enable campaigns for a user
39539
+ * Re-enable campaigns for a user. Requires: Ibl.Notifications/Campaigns/action
39540
39540
  * @returns any
39541
39541
  * @throws ApiError
39542
39542
  */
@@ -39555,7 +39555,7 @@
39555
39555
  });
39556
39556
  }
39557
39557
  /**
39558
- * Exclude a user from specified campaigns
39558
+ * Exclude a user from specified campaigns. Requires: Ibl.Notifications/Campaigns/action
39559
39559
  * @returns any
39560
39560
  * @throws ApiError
39561
39561
  */
@@ -39574,7 +39574,7 @@
39574
39574
  });
39575
39575
  }
39576
39576
  /**
39577
- * Mark all notifications as read for a user. Optionally provide specific notification IDs.
39577
+ * Mark all notifications as read for a user. Optionally provide specific notification IDs. Requires: Ibl.Notifications/Notification/write
39578
39578
  * @returns MarkAllReadResponse
39579
39579
  * @throws ApiError
39580
39580
  */
@@ -39698,7 +39698,7 @@
39698
39698
  }
39699
39699
  /**
39700
39700
  * Test SMTP credentials for a platform
39701
- * Test SMTP credentials by sending a test email to the specified address
39701
+ * Test SMTP credentials by sending a test email to the specified address. Requires: Ibl.Notifications/SMTP/action
39702
39702
  * @returns TestSMTPResponse
39703
39703
  * @throws ApiError
39704
39704
  */
@@ -39718,7 +39718,7 @@
39718
39718
  }
39719
39719
  /**
39720
39720
  * List notification templates
39721
- * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main.
39721
+ * Get all notification templates for the platform. Includes both platform-specific and inherited templates from main. Requires permission: Ibl.Notifications/NotificationTemplate/list
39722
39722
  * @returns NotificationTemplateList
39723
39723
  * @throws ApiError
39724
39724
  */
@@ -39735,7 +39735,7 @@
39735
39735
  }
39736
39736
  /**
39737
39737
  * Get notification template details
39738
- * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template.
39738
+ * Get detailed view of a notification template by type. Returns platform-specific template if exists, otherwise main template. Requires permission: Ibl.Notifications/NotificationTemplate/read
39739
39739
  * @returns NotificationTemplateDetail
39740
39740
  * @throws ApiError
39741
39741
  */
@@ -39754,7 +39754,7 @@
39754
39754
  }
39755
39755
  /**
39756
39756
  * Update notification template
39757
- * Update notification template. Creates platform-specific copy on first edit.
39757
+ * Update notification template. Creates platform-specific copy on first edit. Requires permission: Ibl.Notifications/NotificationTemplate/write
39758
39758
  * @returns NotificationTemplateDetail
39759
39759
  * @throws ApiError
39760
39760
  */
@@ -39776,7 +39776,7 @@
39776
39776
  }
39777
39777
  /**
39778
39778
  * Reset template to default
39779
- * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved.
39779
+ * Delete platform-specific template override and revert to main template. Notification preference (on/off) is preserved. Requires permission: Ibl.Notifications/NotificationTemplate/write
39780
39780
  * @returns any
39781
39781
  * @throws ApiError
39782
39782
  */
@@ -39795,7 +39795,7 @@
39795
39795
  }
39796
39796
  /**
39797
39797
  * Send test notification
39798
- * Send a test notification to verify template rendering and delivery. Sends to the requesting admin's email or a specified test email.
39798
+ * 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
39799
39799
  * @returns NotificationTemplateTestResponse
39800
39800
  * @throws ApiError
39801
39801
  */
@@ -39817,7 +39817,7 @@
39817
39817
  }
39818
39818
  /**
39819
39819
  * Toggle notification preference
39820
- * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template.
39820
+ * Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template. Requires permission: Ibl.Notifications/NotificationTemplate/write
39821
39821
  * @returns NotificationToggle
39822
39822
  * @throws ApiError
39823
39823
  */
@@ -363,7 +363,7 @@ export type { NotificationCount } from './models/NotificationCount';
363
363
  export type { NotificationPreview } from './models/NotificationPreview';
364
364
  export type { NotificationSource } from './models/NotificationSource';
365
365
  export { NotificationSourceTypeEnum } from './models/NotificationSourceTypeEnum';
366
- export { NotificationStatusEnum } from './models/NotificationStatusEnum';
366
+ export type { NotificationsUpdate } from './models/NotificationsUpdate';
367
367
  export type { NotificationTemplateData } from './models/NotificationTemplateData';
368
368
  export type { NotificationTemplateDetail } from './models/NotificationTemplateDetail';
369
369
  export type { NotificationTemplateList } from './models/NotificationTemplateList';
@@ -725,6 +725,7 @@ export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLear
725
725
  export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
726
726
  export type { StarMentor } from './models/StarMentor';
727
727
  export { StateEnum } from './models/StateEnum';
728
+ export { Status3daEnum } from './models/Status3daEnum';
728
729
  export { Status6eeEnum } from './models/Status6eeEnum';
729
730
  export type { Step } from './models/Step';
730
731
  export { StepStatusEnum } from './models/StepStatusEnum';
@@ -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 Notification = {
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;