connectfy-shared 0.0.115 → 0.0.116

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
@@ -9473,12 +9473,16 @@ __export(index_exports, {
9473
9473
  LOCAL_STORAGE_KEYS: () => LOCAL_STORAGE_KEYS,
9474
9474
  MICROSERVICE_NAMES: () => MICROSERVICE_NAMES,
9475
9475
  MODULE_TO_TOPIC_MAP: () => MODULE_TO_TOPIC_MAP,
9476
+ NOTIFICATION_CHANNEL: () => NOTIFICATION_CHANNEL,
9476
9477
  NOTIFICATION_CONTENT_MODE: () => NOTIFICATION_CONTENT_MODE,
9477
9478
  NOTIFICATION_SOUND_MODE: () => NOTIFICATION_SOUND_MODE,
9479
+ NOTIFICATION_STATUS: () => NOTIFICATION_STATUS,
9480
+ NOTIFICATION_TYPE: () => NOTIFICATION_TYPE,
9478
9481
  OS_TYPE: () => OS_TYPE,
9479
9482
  PHONE_NUMBER_ACTION: () => PHONE_NUMBER_ACTION,
9480
9483
  PRIVACY_SETTINGS_CHOICE: () => PRIVACY_SETTINGS_CHOICE,
9481
9484
  PROVIDER: () => PROVIDER,
9485
+ PUSH_DELIVERY_STATUS: () => PUSH_DELIVERY_STATUS,
9482
9486
  PopulateOption: () => PopulateOption,
9483
9487
  ProfilePhotoUpdateAction: () => ProfilePhotoUpdateAction,
9484
9488
  REDIS_KEYS: () => REDIS_KEYS,
@@ -9948,6 +9952,34 @@ var FriendshipRequestType = /* @__PURE__ */ ((FriendshipRequestType2) => {
9948
9952
  FriendshipRequestType2["Sent"] = "Sent";
9949
9953
  return FriendshipRequestType2;
9950
9954
  })(FriendshipRequestType || {});
9955
+ var NOTIFICATION_TYPE = /* @__PURE__ */ ((NOTIFICATION_TYPE2) => {
9956
+ NOTIFICATION_TYPE2["FRIENDSHIP_REQUEST_SENT"] = "friendship.request.sent";
9957
+ NOTIFICATION_TYPE2["FRIENDSHIP_REQUEST_ACCEPTED"] = "friendship.request.accepted";
9958
+ NOTIFICATION_TYPE2["FRIENDSHIP_REQUEST_DECLINED"] = "friendship.request.declined";
9959
+ NOTIFICATION_TYPE2["NEW_MESSAGE"] = "message.new";
9960
+ NOTIFICATION_TYPE2["SYSTEM_ALERT"] = "system.alert";
9961
+ NOTIFICATION_TYPE2["ACCOUNT_WARNING"] = "account.warning";
9962
+ return NOTIFICATION_TYPE2;
9963
+ })(NOTIFICATION_TYPE || {});
9964
+ var NOTIFICATION_STATUS = /* @__PURE__ */ ((NOTIFICATION_STATUS2) => {
9965
+ NOTIFICATION_STATUS2["UNREAD"] = "unread";
9966
+ NOTIFICATION_STATUS2["READ"] = "read";
9967
+ NOTIFICATION_STATUS2["ARCHIVED"] = "archived";
9968
+ return NOTIFICATION_STATUS2;
9969
+ })(NOTIFICATION_STATUS || {});
9970
+ var NOTIFICATION_CHANNEL = /* @__PURE__ */ ((NOTIFICATION_CHANNEL2) => {
9971
+ NOTIFICATION_CHANNEL2["IN_APP"] = "in_app";
9972
+ NOTIFICATION_CHANNEL2["PUSH"] = "push";
9973
+ NOTIFICATION_CHANNEL2["BOTH"] = "both";
9974
+ return NOTIFICATION_CHANNEL2;
9975
+ })(NOTIFICATION_CHANNEL || {});
9976
+ var PUSH_DELIVERY_STATUS = /* @__PURE__ */ ((PUSH_DELIVERY_STATUS2) => {
9977
+ PUSH_DELIVERY_STATUS2["PENDING"] = "pending";
9978
+ PUSH_DELIVERY_STATUS2["DELIVERED"] = "delivered";
9979
+ PUSH_DELIVERY_STATUS2["FAILED"] = "failed";
9980
+ PUSH_DELIVERY_STATUS2["SKIPPED"] = "skipped";
9981
+ return PUSH_DELIVERY_STATUS2;
9982
+ })(PUSH_DELIVERY_STATUS || {});
9951
9983
 
9952
9984
  // src/constants/server/constants.ts
9953
9985
  var MICROSERVICE_NAMES = {
@@ -9985,6 +10017,10 @@ var COLLECTIONS = {
9985
10017
  RELATIONSHIP: {
9986
10018
  FRIENDSHIPS: "friendships",
9987
10019
  BLOCKS_LIST: "blocks_list"
10020
+ },
10021
+ NOTIFICATION: {
10022
+ NOTIFICATIONS: "notifications",
10023
+ DEVICE_TOKENS: "device_tokens"
9988
10024
  }
9989
10025
  };
9990
10026
  var EXPIRE_DATES = {
@@ -11714,12 +11750,16 @@ var BaseRepository = class {
11714
11750
  LOCAL_STORAGE_KEYS,
11715
11751
  MICROSERVICE_NAMES,
11716
11752
  MODULE_TO_TOPIC_MAP,
11753
+ NOTIFICATION_CHANNEL,
11717
11754
  NOTIFICATION_CONTENT_MODE,
11718
11755
  NOTIFICATION_SOUND_MODE,
11756
+ NOTIFICATION_STATUS,
11757
+ NOTIFICATION_TYPE,
11719
11758
  OS_TYPE,
11720
11759
  PHONE_NUMBER_ACTION,
11721
11760
  PRIVACY_SETTINGS_CHOICE,
11722
11761
  PROVIDER,
11762
+ PUSH_DELIVERY_STATUS,
11723
11763
  PopulateOption,
11724
11764
  ProfilePhotoUpdateAction,
11725
11765
  REDIS_KEYS,
package/dist/index.d.cts CHANGED
@@ -384,6 +384,30 @@ declare enum FriendshipRequestType {
384
384
  Received = "Received",
385
385
  Sent = "Sent"
386
386
  }
387
+ declare enum NOTIFICATION_TYPE {
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 NOTIFICATION_STATUS {
396
+ UNREAD = "unread",
397
+ READ = "read",
398
+ ARCHIVED = "archived"
399
+ }
400
+ declare enum NOTIFICATION_CHANNEL {
401
+ IN_APP = "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
+ }
387
411
 
388
412
  interface ICountry {
389
413
  key: string;
@@ -456,6 +480,10 @@ declare const COLLECTIONS: {
456
480
  FRIENDSHIPS: string;
457
481
  BLOCKS_LIST: string;
458
482
  };
483
+ NOTIFICATION: {
484
+ NOTIFICATIONS: string;
485
+ DEVICE_TOKENS: string;
486
+ };
459
487
  };
460
488
  declare const EXPIRE_DATES: {
461
489
  JWT: {
@@ -817,4 +845,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
817
845
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
818
846
  }
819
847
 
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 };
848
+ 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_CHANNEL, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PUSH_DELIVERY_STATUS, 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 };
package/dist/index.d.ts CHANGED
@@ -384,6 +384,30 @@ declare enum FriendshipRequestType {
384
384
  Received = "Received",
385
385
  Sent = "Sent"
386
386
  }
387
+ declare enum NOTIFICATION_TYPE {
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 NOTIFICATION_STATUS {
396
+ UNREAD = "unread",
397
+ READ = "read",
398
+ ARCHIVED = "archived"
399
+ }
400
+ declare enum NOTIFICATION_CHANNEL {
401
+ IN_APP = "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
+ }
387
411
 
388
412
  interface ICountry {
389
413
  key: string;
@@ -456,6 +480,10 @@ declare const COLLECTIONS: {
456
480
  FRIENDSHIPS: string;
457
481
  BLOCKS_LIST: string;
458
482
  };
483
+ NOTIFICATION: {
484
+ NOTIFICATIONS: string;
485
+ DEVICE_TOKENS: string;
486
+ };
459
487
  };
460
488
  declare const EXPIRE_DATES: {
461
489
  JWT: {
@@ -817,4 +845,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
817
845
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
818
846
  }
819
847
 
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 };
848
+ 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_CHANNEL, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PUSH_DELIVERY_STATUS, 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 };
package/dist/index.mjs CHANGED
@@ -9853,6 +9853,34 @@ var FriendshipRequestType = /* @__PURE__ */ ((FriendshipRequestType2) => {
9853
9853
  FriendshipRequestType2["Sent"] = "Sent";
9854
9854
  return FriendshipRequestType2;
9855
9855
  })(FriendshipRequestType || {});
9856
+ var NOTIFICATION_TYPE = /* @__PURE__ */ ((NOTIFICATION_TYPE2) => {
9857
+ NOTIFICATION_TYPE2["FRIENDSHIP_REQUEST_SENT"] = "friendship.request.sent";
9858
+ NOTIFICATION_TYPE2["FRIENDSHIP_REQUEST_ACCEPTED"] = "friendship.request.accepted";
9859
+ NOTIFICATION_TYPE2["FRIENDSHIP_REQUEST_DECLINED"] = "friendship.request.declined";
9860
+ NOTIFICATION_TYPE2["NEW_MESSAGE"] = "message.new";
9861
+ NOTIFICATION_TYPE2["SYSTEM_ALERT"] = "system.alert";
9862
+ NOTIFICATION_TYPE2["ACCOUNT_WARNING"] = "account.warning";
9863
+ return NOTIFICATION_TYPE2;
9864
+ })(NOTIFICATION_TYPE || {});
9865
+ var NOTIFICATION_STATUS = /* @__PURE__ */ ((NOTIFICATION_STATUS2) => {
9866
+ NOTIFICATION_STATUS2["UNREAD"] = "unread";
9867
+ NOTIFICATION_STATUS2["READ"] = "read";
9868
+ NOTIFICATION_STATUS2["ARCHIVED"] = "archived";
9869
+ return NOTIFICATION_STATUS2;
9870
+ })(NOTIFICATION_STATUS || {});
9871
+ var NOTIFICATION_CHANNEL = /* @__PURE__ */ ((NOTIFICATION_CHANNEL2) => {
9872
+ NOTIFICATION_CHANNEL2["IN_APP"] = "in_app";
9873
+ NOTIFICATION_CHANNEL2["PUSH"] = "push";
9874
+ NOTIFICATION_CHANNEL2["BOTH"] = "both";
9875
+ return NOTIFICATION_CHANNEL2;
9876
+ })(NOTIFICATION_CHANNEL || {});
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 || {});
9856
9884
 
9857
9885
  // src/constants/server/constants.ts
9858
9886
  var MICROSERVICE_NAMES = {
@@ -9890,6 +9918,10 @@ var COLLECTIONS = {
9890
9918
  RELATIONSHIP: {
9891
9919
  FRIENDSHIPS: "friendships",
9892
9920
  BLOCKS_LIST: "blocks_list"
9921
+ },
9922
+ NOTIFICATION: {
9923
+ NOTIFICATIONS: "notifications",
9924
+ DEVICE_TOKENS: "device_tokens"
9893
9925
  }
9894
9926
  };
9895
9927
  var EXPIRE_DATES = {
@@ -11660,12 +11692,16 @@ export {
11660
11692
  LOCAL_STORAGE_KEYS,
11661
11693
  MICROSERVICE_NAMES,
11662
11694
  MODULE_TO_TOPIC_MAP,
11695
+ NOTIFICATION_CHANNEL,
11663
11696
  NOTIFICATION_CONTENT_MODE,
11664
11697
  NOTIFICATION_SOUND_MODE,
11698
+ NOTIFICATION_STATUS,
11699
+ NOTIFICATION_TYPE,
11665
11700
  OS_TYPE,
11666
11701
  PHONE_NUMBER_ACTION,
11667
11702
  PRIVACY_SETTINGS_CHOICE,
11668
11703
  PROVIDER,
11704
+ PUSH_DELIVERY_STATUS,
11669
11705
  PopulateOption,
11670
11706
  ProfilePhotoUpdateAction,
11671
11707
  REDIS_KEYS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.115",
3
+ "version": "0.0.116",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {