@spytecgps/nova-orm 0.0.181 → 0.0.182

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.
@@ -59,9 +59,9 @@ export declare class NotificationRecipientsRepository extends BaseRepository {
59
59
  * - params.filters.userPhone: The user phone
60
60
  * - params.filters.userCountryCode: The user country code
61
61
  * - params.values.unsubscribed: The unsubscribed flag, optional
62
- * @returns Whether the users notifications unsubscribed status was updated or not
62
+ * @returns array with userId of notification recipients that where updated, if no notificationRecipients where updated returns null
63
63
  */
64
- updateUsersNotificationsUnsuscribedInfoStatus(params: UpdateUsersNotificationsUnsubscribedInfoStatusParams): Promise<boolean>;
64
+ updateUsersNotificationsUnsuscribedInfoStatus(params: UpdateUsersNotificationsUnsubscribedInfoStatusParams): Promise<string[]>;
65
65
  /**
66
66
  * Delete notification recipients
67
67
  * @param {DeleteNotificationRecipientsParams} params containing information to delete notification recipients
@@ -1,4 +1,4 @@
1
1
  import { NovaDataSource } from '../../novaDataSource';
2
2
  import { Logger } from '../../types/logger';
3
3
  import { UpdateUsersNotificationsUnsubscribedInfoStatusParams } from '../../types/notificationRecipients';
4
- export declare const updateUsersNotificationsUnsuscribedInfoStatus: (novaDataSource: NovaDataSource, params: UpdateUsersNotificationsUnsubscribedInfoStatusParams, logger: Logger) => Promise<boolean>;
4
+ export declare const updateUsersNotificationsUnsuscribedInfoStatus: (novaDataSource: NovaDataSource, params: UpdateUsersNotificationsUnsubscribedInfoStatusParams, logger: Logger) => Promise<string[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "0.0.181",
3
+ "version": "0.0.182",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",