intelica-library-components 1.1.43 → 1.1.44

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.
@@ -10899,14 +10899,14 @@ class NotificationOrchestratorService {
10899
10899
  await firstValueFrom(this.jobService.createNotifications(job.jobId, notifications));
10900
10900
  return { jobId: this.currentJobId, mode: "created" };
10901
10901
  }
10902
- async ensureCreateJobNotifications(origin, featureCode, totalCount, totalNotificationsCount, notificationDraft) {
10903
- if (!origin || featureCode)
10902
+ async ensureCreateJobNotifications(origin, featureCode, notificationDraft) {
10903
+ if (!origin || !featureCode)
10904
10904
  throw new Error("Scope not initialized.");
10905
10905
  const jobPayload = {
10906
10906
  featureCode: featureCode,
10907
10907
  origin: origin,
10908
- totalCount,
10909
- totalNotificationsCount,
10908
+ totalCount: 1,
10909
+ totalNotificationsCount: 1,
10910
10910
  notifications: notificationDraft.map(draft => ({
10911
10911
  originReference: draft.originReference,
10912
10912
  notificationTypeCode: draft.notificationTypeCode,