connectfy-shared 0.0.116 → 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
@@ -9473,18 +9473,19 @@ __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,
9477
9476
  NOTIFICATION_CONTENT_MODE: () => NOTIFICATION_CONTENT_MODE,
9478
9477
  NOTIFICATION_SOUND_MODE: () => NOTIFICATION_SOUND_MODE,
9479
- NOTIFICATION_STATUS: () => NOTIFICATION_STATUS,
9480
- NOTIFICATION_TYPE: () => NOTIFICATION_TYPE,
9478
+ NotificationChannel: () => NotificationChannel,
9479
+ NotificationResource: () => NotificationResource,
9480
+ NotificationStatus: () => NotificationStatus,
9481
+ NotificationType: () => NotificationType,
9481
9482
  OS_TYPE: () => OS_TYPE,
9482
9483
  PHONE_NUMBER_ACTION: () => PHONE_NUMBER_ACTION,
9483
9484
  PRIVACY_SETTINGS_CHOICE: () => PRIVACY_SETTINGS_CHOICE,
9484
9485
  PROVIDER: () => PROVIDER,
9485
- PUSH_DELIVERY_STATUS: () => PUSH_DELIVERY_STATUS,
9486
9486
  PopulateOption: () => PopulateOption,
9487
9487
  ProfilePhotoUpdateAction: () => ProfilePhotoUpdateAction,
9488
+ Push_DELIVERY_STATUS: () => Push_DELIVERY_STATUS,
9488
9489
  REDIS_KEYS: () => REDIS_KEYS,
9489
9490
  REDUCER_PATH: () => REDUCER_PATH,
9490
9491
  RESOURCE: () => RESOURCE,
@@ -9952,34 +9953,41 @@ var FriendshipRequestType = /* @__PURE__ */ ((FriendshipRequestType2) => {
9952
9953
  FriendshipRequestType2["Sent"] = "Sent";
9953
9954
  return FriendshipRequestType2;
9954
9955
  })(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 || {});
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 || {});
9983
9991
 
9984
9992
  // src/constants/server/constants.ts
9985
9993
  var MICROSERVICE_NAMES = {
@@ -11750,18 +11758,19 @@ var BaseRepository = class {
11750
11758
  LOCAL_STORAGE_KEYS,
11751
11759
  MICROSERVICE_NAMES,
11752
11760
  MODULE_TO_TOPIC_MAP,
11753
- NOTIFICATION_CHANNEL,
11754
11761
  NOTIFICATION_CONTENT_MODE,
11755
11762
  NOTIFICATION_SOUND_MODE,
11756
- NOTIFICATION_STATUS,
11757
- NOTIFICATION_TYPE,
11763
+ NotificationChannel,
11764
+ NotificationResource,
11765
+ NotificationStatus,
11766
+ NotificationType,
11758
11767
  OS_TYPE,
11759
11768
  PHONE_NUMBER_ACTION,
11760
11769
  PRIVACY_SETTINGS_CHOICE,
11761
11770
  PROVIDER,
11762
- PUSH_DELIVERY_STATUS,
11763
11771
  PopulateOption,
11764
11772
  ProfilePhotoUpdateAction,
11773
+ Push_DELIVERY_STATUS,
11765
11774
  REDIS_KEYS,
11766
11775
  REDUCER_PATH,
11767
11776
  RESOURCE,
package/dist/index.d.cts CHANGED
@@ -384,7 +384,7 @@ declare enum FriendshipRequestType {
384
384
  Received = "Received",
385
385
  Sent = "Sent"
386
386
  }
387
- declare enum NOTIFICATION_TYPE {
387
+ declare enum NotificationType {
388
388
  FRIENDSHIP_REQUEST_SENT = "friendship.request.sent",
389
389
  FRIENDSHIP_REQUEST_ACCEPTED = "friendship.request.accepted",
390
390
  FRIENDSHIP_REQUEST_DECLINED = "friendship.request.declined",
@@ -392,22 +392,28 @@ declare enum NOTIFICATION_TYPE {
392
392
  SYSTEM_ALERT = "system.alert",
393
393
  ACCOUNT_WARNING = "account.warning"
394
394
  }
395
- declare enum NOTIFICATION_STATUS {
396
- UNREAD = "unread",
397
- READ = "read",
398
- ARCHIVED = "archived"
395
+ declare enum NotificationStatus {
396
+ Unread = "unread",
397
+ Read = "read",
398
+ Archived = "archived"
399
399
  }
400
- declare enum NOTIFICATION_CHANNEL {
401
- IN_APP = "in_app",
402
- PUSH = "push",
403
- BOTH = "both"
400
+ declare enum NotificationChannel {
401
+ InApp = "in_app",
402
+ Push = "push",
403
+ Both = "both"
404
404
  }
405
- declare enum PUSH_DELIVERY_STATUS {
405
+ declare enum Push_DELIVERY_STATUS {
406
406
  PENDING = "pending",
407
407
  DELIVERED = "delivered",
408
408
  FAILED = "failed",
409
409
  SKIPPED = "skipped"
410
410
  }
411
+ declare enum NotificationResource {
412
+ Friendship = "friendship",
413
+ Message = "message",
414
+ System = "system",
415
+ Account = "account"
416
+ }
411
417
 
412
418
  interface ICountry {
413
419
  key: string;
@@ -845,4 +851,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
845
851
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
846
852
  }
847
853
 
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 };
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,7 +384,7 @@ declare enum FriendshipRequestType {
384
384
  Received = "Received",
385
385
  Sent = "Sent"
386
386
  }
387
- declare enum NOTIFICATION_TYPE {
387
+ declare enum NotificationType {
388
388
  FRIENDSHIP_REQUEST_SENT = "friendship.request.sent",
389
389
  FRIENDSHIP_REQUEST_ACCEPTED = "friendship.request.accepted",
390
390
  FRIENDSHIP_REQUEST_DECLINED = "friendship.request.declined",
@@ -392,22 +392,28 @@ declare enum NOTIFICATION_TYPE {
392
392
  SYSTEM_ALERT = "system.alert",
393
393
  ACCOUNT_WARNING = "account.warning"
394
394
  }
395
- declare enum NOTIFICATION_STATUS {
396
- UNREAD = "unread",
397
- READ = "read",
398
- ARCHIVED = "archived"
395
+ declare enum NotificationStatus {
396
+ Unread = "unread",
397
+ Read = "read",
398
+ Archived = "archived"
399
399
  }
400
- declare enum NOTIFICATION_CHANNEL {
401
- IN_APP = "in_app",
402
- PUSH = "push",
403
- BOTH = "both"
400
+ declare enum NotificationChannel {
401
+ InApp = "in_app",
402
+ Push = "push",
403
+ Both = "both"
404
404
  }
405
- declare enum PUSH_DELIVERY_STATUS {
405
+ declare enum Push_DELIVERY_STATUS {
406
406
  PENDING = "pending",
407
407
  DELIVERED = "delivered",
408
408
  FAILED = "failed",
409
409
  SKIPPED = "skipped"
410
410
  }
411
+ declare enum NotificationResource {
412
+ Friendship = "friendship",
413
+ Message = "message",
414
+ System = "system",
415
+ Account = "account"
416
+ }
411
417
 
412
418
  interface ICountry {
413
419
  key: string;
@@ -845,4 +851,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
845
851
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
846
852
  }
847
853
 
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 };
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,34 +9853,41 @@ 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
+ 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 || {});
9884
9891
 
9885
9892
  // src/constants/server/constants.ts
9886
9893
  var MICROSERVICE_NAMES = {
@@ -11692,18 +11699,19 @@ export {
11692
11699
  LOCAL_STORAGE_KEYS,
11693
11700
  MICROSERVICE_NAMES,
11694
11701
  MODULE_TO_TOPIC_MAP,
11695
- NOTIFICATION_CHANNEL,
11696
11702
  NOTIFICATION_CONTENT_MODE,
11697
11703
  NOTIFICATION_SOUND_MODE,
11698
- NOTIFICATION_STATUS,
11699
- NOTIFICATION_TYPE,
11704
+ NotificationChannel,
11705
+ NotificationResource,
11706
+ NotificationStatus,
11707
+ NotificationType,
11700
11708
  OS_TYPE,
11701
11709
  PHONE_NUMBER_ACTION,
11702
11710
  PRIVACY_SETTINGS_CHOICE,
11703
11711
  PROVIDER,
11704
- PUSH_DELIVERY_STATUS,
11705
11712
  PopulateOption,
11706
11713
  ProfilePhotoUpdateAction,
11714
+ Push_DELIVERY_STATUS,
11707
11715
  REDIS_KEYS,
11708
11716
  REDUCER_PATH,
11709
11717
  RESOURCE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {