docs: function saveNotifications(options) {
              const defaults = {
                      dismissible: true,
                      location: 'bottom',
                      status: 'alert',
                      id: ObjectId.generate()
                  },
                  overrides = {
                      seen: false,
                      addedAt: moment().toDate()
                  },
                  notificationsToCheck = options.data.notifications;
              let addedNotifications = [];
  
              return _private.fetchAllNotifications()
                  .then((allNotifications) => {
                      notificationsToCheck.forEach((notification) => {
                          const isDuplicate = allNotifications.find((n) => {
                              return n.id === notification.id;
                          });
  
                          if (!isDuplicate) {
                              addedNotifications.push(merge({}, defaults, notification, overrides));
                          }
                      });
  
                      const hasReleaseNotification = notificationsToCheck.find((notification) => {
                          return !notification.custom;
                      });
  
                      // CASE: remove any existing release notifications if a new release notification comes in
                      if (hasReleaseNotification) {
                          remove(allNotifications, (el) => {
                              return !el.custom;
                          });
                      }
  
                      // CASE: nothing to add, skip
                      if (!addedNotifications.length) {
                          return Promise.resolve();
                      }
  
                      const addedReleaseNotifications = addedNotifications.filter((notification) => {
                          return !notification.custom;
                      });
  
                      // CASE: only latest release notification
                      if (addedReleaseNotifications.length > 1) {
                          addedNotifications = addedNotifications.filter((notification) => {
                              return notification.custom;
                          });
                          addedNotifications.push(orderBy(addedReleaseNotifications, 'created_at', 'desc')[0]);
                      }
  
                      return SettingsAPI.edit({
                          settings: [{
                              key: 'notifications',
                              value: allNotifications.concat(addedNotifications)
                          }]
                      }, internalContext);
                  })
                  .then(() => {
                      return _private.publicResponse(addedNotifications);
                  });
          }