connectfy-shared 0.0.115 → 0.0.117

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 CHANGED
@@ -9475,12 +9475,17 @@ __export(index_exports, {
9475
9475
  MODULE_TO_TOPIC_MAP: () => MODULE_TO_TOPIC_MAP,
9476
9476
  NOTIFICATION_CONTENT_MODE: () => NOTIFICATION_CONTENT_MODE,
9477
9477
  NOTIFICATION_SOUND_MODE: () => NOTIFICATION_SOUND_MODE,
9478
+ NotificationChannel: () => NotificationChannel,
9479
+ NotificationResource: () => NotificationResource,
9480
+ NotificationStatus: () => NotificationStatus,
9481
+ NotificationType: () => NotificationType,
9478
9482
  OS_TYPE: () => OS_TYPE,
9479
9483
  PHONE_NUMBER_ACTION: () => PHONE_NUMBER_ACTION,
9480
9484
  PRIVACY_SETTINGS_CHOICE: () => PRIVACY_SETTINGS_CHOICE,
9481
9485
  PROVIDER: () => PROVIDER,
9482
9486
  PopulateOption: () => PopulateOption,
9483
9487
  ProfilePhotoUpdateAction: () => ProfilePhotoUpdateAction,
9488
+ Push_DELIVERY_STATUS: () => Push_DELIVERY_STATUS,
9484
9489
  REDIS_KEYS: () => REDIS_KEYS,
9485
9490
  REDUCER_PATH: () => REDUCER_PATH,
9486
9491
  RESOURCE: () => RESOURCE,
@@ -9948,6 +9953,41 @@ var FriendshipRequestType = /* @__PURE__ */ ((FriendshipRequestType2) => {
9948
9953
  FriendshipRequestType2["Sent"] = "Sent";
9949
9954
  return FriendshipRequestType2;
9950
9955
  })(FriendshipRequestType || {});
9956
+ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
9957
+ NotificationType2["FRIENDSHIP_REQUEST_SENT"] = "friendship.request.sent";
9958
+ NotificationType2["FRIENDSHIP_REQUEST_ACCEPTED"] = "friendship.request.accepted";
9959
+ NotificationType2["FRIENDSHIP_REQUEST_DECLINED"] = "friendship.request.declined";
9960
+ NotificationType2["NEW_MESSAGE"] = "message.new";
9961
+ NotificationType2["SYSTEM_ALERT"] = "system.alert";
9962
+ NotificationType2["ACCOUNT_WARNING"] = "account.warning";
9963
+ return NotificationType2;
9964
+ })(NotificationType || {});
9965
+ var NotificationStatus = /* @__PURE__ */ ((NotificationStatus2) => {
9966
+ NotificationStatus2["Unread"] = "unread";
9967
+ NotificationStatus2["Read"] = "read";
9968
+ NotificationStatus2["Archived"] = "archived";
9969
+ return NotificationStatus2;
9970
+ })(NotificationStatus || {});
9971
+ var NotificationChannel = /* @__PURE__ */ ((NotificationChannel2) => {
9972
+ NotificationChannel2["InApp"] = "in_app";
9973
+ NotificationChannel2["Push"] = "push";
9974
+ NotificationChannel2["Both"] = "both";
9975
+ return NotificationChannel2;
9976
+ })(NotificationChannel || {});
9977
+ var Push_DELIVERY_STATUS = /* @__PURE__ */ ((Push_DELIVERY_STATUS2) => {
9978
+ Push_DELIVERY_STATUS2["PENDING"] = "pending";
9979
+ Push_DELIVERY_STATUS2["DELIVERED"] = "delivered";
9980
+ Push_DELIVERY_STATUS2["FAILED"] = "failed";
9981
+ Push_DELIVERY_STATUS2["SKIPPED"] = "skipped";
9982
+ return Push_DELIVERY_STATUS2;
9983
+ })(Push_DELIVERY_STATUS || {});
9984
+ var NotificationResource = /* @__PURE__ */ ((NotificationResource2) => {
9985
+ NotificationResource2["Friendship"] = "friendship";
9986
+ NotificationResource2["Message"] = "message";
9987
+ NotificationResource2["System"] = "system";
9988
+ NotificationResource2["Account"] = "account";
9989
+ return NotificationResource2;
9990
+ })(NotificationResource || {});
9951
9991
 
9952
9992
  // src/constants/server/constants.ts
9953
9993
  var MICROSERVICE_NAMES = {
@@ -9985,6 +10025,10 @@ var COLLECTIONS = {
9985
10025
  RELATIONSHIP: {
9986
10026
  FRIENDSHIPS: "friendships",
9987
10027
  BLOCKS_LIST: "blocks_list"
10028
+ },
10029
+ NOTIFICATION: {
10030
+ NOTIFICATIONS: "notifications",
10031
+ DEVICE_TOKENS: "device_tokens"
9988
10032
  }
9989
10033
  };
9990
10034
  var EXPIRE_DATES = {
@@ -11716,12 +11760,17 @@ var BaseRepository = class {
11716
11760
  MODULE_TO_TOPIC_MAP,
11717
11761
  NOTIFICATION_CONTENT_MODE,
11718
11762
  NOTIFICATION_SOUND_MODE,
11763
+ NotificationChannel,
11764
+ NotificationResource,
11765
+ NotificationStatus,
11766
+ NotificationType,
11719
11767
  OS_TYPE,
11720
11768
  PHONE_NUMBER_ACTION,
11721
11769
  PRIVACY_SETTINGS_CHOICE,
11722
11770
  PROVIDER,
11723
11771
  PopulateOption,
11724
11772
  ProfilePhotoUpdateAction,
11773
+ Push_DELIVERY_STATUS,
11725
11774
  REDIS_KEYS,
11726
11775
  REDUCER_PATH,
11727
11776
  RESOURCE,
package/dist/index.d.cts CHANGED
@@ -384,6 +384,36 @@ declare enum FriendshipRequestType {
384
384
  Received = "Received",
385
385
  Sent = "Sent"
386
386
  }
387
+ declare enum NotificationType {
388
+ FRIENDSHIP_REQUEST_SENT = "friendship.request.sent",
389
+ FRIENDSHIP_REQUEST_ACCEPTED = "friendship.request.accepted",
390
+ FRIENDSHIP_REQUEST_DECLINED = "friendship.request.declined",
391
+ NEW_MESSAGE = "message.new",
392
+ SYSTEM_ALERT = "system.alert",
393
+ ACCOUNT_WARNING = "account.warning"
394
+ }
395
+ declare enum NotificationStatus {
396
+ Unread = "unread",
397
+ Read = "read",
398
+ Archived = "archived"
399
+ }
400
+ declare enum NotificationChannel {
401
+ InApp = "in_app",
402
+ Push = "push",
403
+ Both = "both"
404
+ }
405
+ declare enum Push_DELIVERY_STATUS {
406
+ PENDING = "pending",
407
+ DELIVERED = "delivered",
408
+ FAILED = "failed",
409
+ SKIPPED = "skipped"
410
+ }
411
+ declare enum NotificationResource {
412
+ Friendship = "friendship",
413
+ Message = "message",
414
+ System = "system",
415
+ Account = "account"
416
+ }
387
417
 
388
418
  interface ICountry {
389
419
  key: string;
@@ -456,6 +486,10 @@ declare const COLLECTIONS: {
456
486
  FRIENDSHIPS: string;
457
487
  BLOCKS_LIST: string;
458
488
  };
489
+ NOTIFICATION: {
490
+ NOTIFICATIONS: string;
491
+ DEVICE_TOKENS: string;
492
+ };
459
493
  };
460
494
  declare const EXPIRE_DATES: {
461
495
  JWT: {
@@ -817,4 +851,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
817
851
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
818
852
  }
819
853
 
820
- export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
854
+ export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NotificationChannel, NotificationResource, NotificationStatus, NotificationType, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, Push_DELIVERY_STATUS, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
package/dist/index.d.ts CHANGED
@@ -384,6 +384,36 @@ declare enum FriendshipRequestType {
384
384
  Received = "Received",
385
385
  Sent = "Sent"
386
386
  }
387
+ declare enum NotificationType {
388
+ FRIENDSHIP_REQUEST_SENT = "friendship.request.sent",
389
+ FRIENDSHIP_REQUEST_ACCEPTED = "friendship.request.accepted",
390
+ FRIENDSHIP_REQUEST_DECLINED = "friendship.request.declined",
391
+ NEW_MESSAGE = "message.new",
392
+ SYSTEM_ALERT = "system.alert",
393
+ ACCOUNT_WARNING = "account.warning"
394
+ }
395
+ declare enum NotificationStatus {
396
+ Unread = "unread",
397
+ Read = "read",
398
+ Archived = "archived"
399
+ }
400
+ declare enum NotificationChannel {
401
+ InApp = "in_app",
402
+ Push = "push",
403
+ Both = "both"
404
+ }
405
+ declare enum Push_DELIVERY_STATUS {
406
+ PENDING = "pending",
407
+ DELIVERED = "delivered",
408
+ FAILED = "failed",
409
+ SKIPPED = "skipped"
410
+ }
411
+ declare enum NotificationResource {
412
+ Friendship = "friendship",
413
+ Message = "message",
414
+ System = "system",
415
+ Account = "account"
416
+ }
387
417
 
388
418
  interface ICountry {
389
419
  key: string;
@@ -456,6 +486,10 @@ declare const COLLECTIONS: {
456
486
  FRIENDSHIPS: string;
457
487
  BLOCKS_LIST: string;
458
488
  };
489
+ NOTIFICATION: {
490
+ NOTIFICATIONS: string;
491
+ DEVICE_TOKENS: string;
492
+ };
459
493
  };
460
494
  declare const EXPIRE_DATES: {
461
495
  JWT: {
@@ -817,4 +851,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
817
851
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
818
852
  }
819
853
 
820
- export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
854
+ export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NotificationChannel, NotificationResource, NotificationStatus, NotificationType, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, Push_DELIVERY_STATUS, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
package/dist/index.mjs CHANGED
@@ -9853,6 +9853,41 @@ var FriendshipRequestType = /* @__PURE__ */ ((FriendshipRequestType2) => {
9853
9853
  FriendshipRequestType2["Sent"] = "Sent";
9854
9854
  return FriendshipRequestType2;
9855
9855
  })(FriendshipRequestType || {});
9856
+ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
9857
+ NotificationType2["FRIENDSHIP_REQUEST_SENT"] = "friendship.request.sent";
9858
+ NotificationType2["FRIENDSHIP_REQUEST_ACCEPTED"] = "friendship.request.accepted";
9859
+ NotificationType2["FRIENDSHIP_REQUEST_DECLINED"] = "friendship.request.declined";
9860
+ NotificationType2["NEW_MESSAGE"] = "message.new";
9861
+ NotificationType2["SYSTEM_ALERT"] = "system.alert";
9862
+ NotificationType2["ACCOUNT_WARNING"] = "account.warning";
9863
+ return NotificationType2;
9864
+ })(NotificationType || {});
9865
+ var NotificationStatus = /* @__PURE__ */ ((NotificationStatus2) => {
9866
+ NotificationStatus2["Unread"] = "unread";
9867
+ NotificationStatus2["Read"] = "read";
9868
+ NotificationStatus2["Archived"] = "archived";
9869
+ return NotificationStatus2;
9870
+ })(NotificationStatus || {});
9871
+ var NotificationChannel = /* @__PURE__ */ ((NotificationChannel2) => {
9872
+ NotificationChannel2["InApp"] = "in_app";
9873
+ NotificationChannel2["Push"] = "push";
9874
+ NotificationChannel2["Both"] = "both";
9875
+ return NotificationChannel2;
9876
+ })(NotificationChannel || {});
9877
+ var Push_DELIVERY_STATUS = /* @__PURE__ */ ((Push_DELIVERY_STATUS2) => {
9878
+ Push_DELIVERY_STATUS2["PENDING"] = "pending";
9879
+ Push_DELIVERY_STATUS2["DELIVERED"] = "delivered";
9880
+ Push_DELIVERY_STATUS2["FAILED"] = "failed";
9881
+ Push_DELIVERY_STATUS2["SKIPPED"] = "skipped";
9882
+ return Push_DELIVERY_STATUS2;
9883
+ })(Push_DELIVERY_STATUS || {});
9884
+ var NotificationResource = /* @__PURE__ */ ((NotificationResource2) => {
9885
+ NotificationResource2["Friendship"] = "friendship";
9886
+ NotificationResource2["Message"] = "message";
9887
+ NotificationResource2["System"] = "system";
9888
+ NotificationResource2["Account"] = "account";
9889
+ return NotificationResource2;
9890
+ })(NotificationResource || {});
9856
9891
 
9857
9892
  // src/constants/server/constants.ts
9858
9893
  var MICROSERVICE_NAMES = {
@@ -9890,6 +9925,10 @@ var COLLECTIONS = {
9890
9925
  RELATIONSHIP: {
9891
9926
  FRIENDSHIPS: "friendships",
9892
9927
  BLOCKS_LIST: "blocks_list"
9928
+ },
9929
+ NOTIFICATION: {
9930
+ NOTIFICATIONS: "notifications",
9931
+ DEVICE_TOKENS: "device_tokens"
9893
9932
  }
9894
9933
  };
9895
9934
  var EXPIRE_DATES = {
@@ -11662,12 +11701,17 @@ export {
11662
11701
  MODULE_TO_TOPIC_MAP,
11663
11702
  NOTIFICATION_CONTENT_MODE,
11664
11703
  NOTIFICATION_SOUND_MODE,
11704
+ NotificationChannel,
11705
+ NotificationResource,
11706
+ NotificationStatus,
11707
+ NotificationType,
11665
11708
  OS_TYPE,
11666
11709
  PHONE_NUMBER_ACTION,
11667
11710
  PRIVACY_SETTINGS_CHOICE,
11668
11711
  PROVIDER,
11669
11712
  PopulateOption,
11670
11713
  ProfilePhotoUpdateAction,
11714
+ Push_DELIVERY_STATUS,
11671
11715
  REDIS_KEYS,
11672
11716
  REDUCER_PATH,
11673
11717
  RESOURCE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.115",
3
+ "version": "0.0.117",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {