connectfy-shared 0.0.123 → 0.0.125

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
@@ -9450,6 +9450,9 @@ __export(index_exports, {
9450
9450
  CLS_KEYS: () => CLS_KEYS,
9451
9451
  COLLECTIONS: () => COLLECTIONS,
9452
9452
  COUNTRIES: () => COUNTRIES,
9453
+ ChatMessageType: () => ChatMessageType,
9454
+ ChatParticiantRole: () => ChatParticiantRole,
9455
+ ChatType: () => ChatType,
9453
9456
  DATE_FORMAT: () => DATE_FORMAT,
9454
9457
  DELETE_REASON: () => DELETE_REASON,
9455
9458
  DELETE_REASON_CODE: () => DELETE_REASON_CODE,
@@ -9993,6 +9996,27 @@ var NotificationResource = /* @__PURE__ */ ((NotificationResource2) => {
9993
9996
  NotificationResource2["Account"] = "account";
9994
9997
  return NotificationResource2;
9995
9998
  })(NotificationResource || {});
9999
+ var ChatType = /* @__PURE__ */ ((ChatType2) => {
10000
+ ChatType2["Direct"] = "direct";
10001
+ ChatType2["Group"] = "group";
10002
+ return ChatType2;
10003
+ })(ChatType || {});
10004
+ var ChatParticiantRole = /* @__PURE__ */ ((ChatParticiantRole2) => {
10005
+ ChatParticiantRole2["Admin"] = "admin";
10006
+ ChatParticiantRole2["Owner"] = "owner";
10007
+ ChatParticiantRole2["Member"] = "member";
10008
+ return ChatParticiantRole2;
10009
+ })(ChatParticiantRole || {});
10010
+ var ChatMessageType = /* @__PURE__ */ ((ChatMessageType2) => {
10011
+ ChatMessageType2["Text"] = "text";
10012
+ ChatMessageType2["Image"] = "image";
10013
+ ChatMessageType2["Audio"] = "audio";
10014
+ ChatMessageType2["Video"] = "video";
10015
+ ChatMessageType2["File"] = "file";
10016
+ ChatMessageType2["Call"] = "call";
10017
+ ChatMessageType2["System"] = "system";
10018
+ return ChatMessageType2;
10019
+ })(ChatMessageType || {});
9996
10020
 
9997
10021
  // src/constants/server/constants.ts
9998
10022
  var MICROSERVICE_NAMES = {
@@ -11753,6 +11777,9 @@ var BaseRepository = class {
11753
11777
  CLS_KEYS,
11754
11778
  COLLECTIONS,
11755
11779
  COUNTRIES,
11780
+ ChatMessageType,
11781
+ ChatParticiantRole,
11782
+ ChatType,
11756
11783
  DATE_FORMAT,
11757
11784
  DELETE_REASON,
11758
11785
  DELETE_REASON_CODE,
package/dist/index.d.cts CHANGED
@@ -418,6 +418,24 @@ declare enum NotificationResource {
418
418
  System = "system",
419
419
  Account = "account"
420
420
  }
421
+ declare enum ChatType {
422
+ Direct = "direct",
423
+ Group = "group"
424
+ }
425
+ declare enum ChatParticiantRole {
426
+ Admin = "admin",
427
+ Owner = "owner",
428
+ Member = "member"
429
+ }
430
+ declare enum ChatMessageType {
431
+ Text = "text",
432
+ Image = "image",
433
+ Audio = "audio",
434
+ Video = "video",
435
+ File = "file",
436
+ Call = "call",
437
+ System = "system"
438
+ }
421
439
 
422
440
  interface ICountry {
423
441
  key: string;
@@ -858,4 +876,4 @@ declare abstract class BaseRepository<TDocument extends Document<any, any, any>,
858
876
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
859
877
  }
860
878
 
861
- 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 IEmitTcpWithContextClientParams, 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, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
879
+ export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, ChatMessageType, ChatParticiantRole, ChatType, 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 IEmitTcpWithContextClientParams, 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, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
package/dist/index.d.ts CHANGED
@@ -418,6 +418,24 @@ declare enum NotificationResource {
418
418
  System = "system",
419
419
  Account = "account"
420
420
  }
421
+ declare enum ChatType {
422
+ Direct = "direct",
423
+ Group = "group"
424
+ }
425
+ declare enum ChatParticiantRole {
426
+ Admin = "admin",
427
+ Owner = "owner",
428
+ Member = "member"
429
+ }
430
+ declare enum ChatMessageType {
431
+ Text = "text",
432
+ Image = "image",
433
+ Audio = "audio",
434
+ Video = "video",
435
+ File = "file",
436
+ Call = "call",
437
+ System = "system"
438
+ }
421
439
 
422
440
  interface ICountry {
423
441
  key: string;
@@ -858,4 +876,4 @@ declare abstract class BaseRepository<TDocument extends Document<any, any, any>,
858
876
  aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
859
877
  }
860
878
 
861
- 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 IEmitTcpWithContextClientParams, 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, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
879
+ export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, ChatMessageType, ChatParticiantRole, ChatType, 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 IEmitTcpWithContextClientParams, 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, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
package/dist/index.mjs CHANGED
@@ -9892,6 +9892,27 @@ var NotificationResource = /* @__PURE__ */ ((NotificationResource2) => {
9892
9892
  NotificationResource2["Account"] = "account";
9893
9893
  return NotificationResource2;
9894
9894
  })(NotificationResource || {});
9895
+ var ChatType = /* @__PURE__ */ ((ChatType2) => {
9896
+ ChatType2["Direct"] = "direct";
9897
+ ChatType2["Group"] = "group";
9898
+ return ChatType2;
9899
+ })(ChatType || {});
9900
+ var ChatParticiantRole = /* @__PURE__ */ ((ChatParticiantRole2) => {
9901
+ ChatParticiantRole2["Admin"] = "admin";
9902
+ ChatParticiantRole2["Owner"] = "owner";
9903
+ ChatParticiantRole2["Member"] = "member";
9904
+ return ChatParticiantRole2;
9905
+ })(ChatParticiantRole || {});
9906
+ var ChatMessageType = /* @__PURE__ */ ((ChatMessageType2) => {
9907
+ ChatMessageType2["Text"] = "text";
9908
+ ChatMessageType2["Image"] = "image";
9909
+ ChatMessageType2["Audio"] = "audio";
9910
+ ChatMessageType2["Video"] = "video";
9911
+ ChatMessageType2["File"] = "file";
9912
+ ChatMessageType2["Call"] = "call";
9913
+ ChatMessageType2["System"] = "system";
9914
+ return ChatMessageType2;
9915
+ })(ChatMessageType || {});
9895
9916
 
9896
9917
  // src/constants/server/constants.ts
9897
9918
  var MICROSERVICE_NAMES = {
@@ -11693,6 +11714,9 @@ export {
11693
11714
  CLS_KEYS,
11694
11715
  COLLECTIONS,
11695
11716
  COUNTRIES,
11717
+ ChatMessageType,
11718
+ ChatParticiantRole,
11719
+ ChatType,
11696
11720
  DATE_FORMAT,
11697
11721
  DELETE_REASON,
11698
11722
  DELETE_REASON_CODE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.123",
3
+ "version": "0.0.125",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {