@experts_hub/shared 1.0.194 → 1.0.196

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.
@@ -0,0 +1,12 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ import { Country } from "./country.entity";
3
+ import { State } from "./state.entity";
4
+ export declare class City extends BaseEntity {
5
+ countryId: number;
6
+ country: Country;
7
+ stateId: number;
8
+ state: State;
9
+ cityCode: string;
10
+ cityName: string;
11
+ isActive: boolean;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ import { State } from "./state.entity";
3
+ export declare class Country extends BaseEntity {
4
+ states: State[];
5
+ countryName: string;
6
+ countryIsoCode: string;
7
+ countryPhoneCode: string;
8
+ currency: string;
9
+ isActive: boolean;
10
+ }
@@ -32,3 +32,6 @@ export * from './rating.entity';
32
32
  export * from './permission.entity';
33
33
  export * from './cms.entity';
34
34
  export * from './company-members-roles.entity';
35
+ export * from './country.entity';
36
+ export * from './state.entity';
37
+ export * from './city.entity';
@@ -0,0 +1,10 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ import { Country } from "./country.entity";
3
+ import { City } from "./city.entity";
4
+ export declare class State extends BaseEntity {
5
+ countryId: number;
6
+ country: Country;
7
+ cities: City[];
8
+ stateName: string;
9
+ isActive: boolean;
10
+ }
package/dist/index.d.mts CHANGED
@@ -1567,4 +1567,31 @@ declare class Cms extends BaseEntity {
1567
1567
  isActive: boolean;
1568
1568
  }
1569
1569
 
1570
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
1570
+ declare class City extends BaseEntity {
1571
+ countryId: number;
1572
+ country: Country;
1573
+ stateId: number;
1574
+ state: State;
1575
+ cityCode: string;
1576
+ cityName: string;
1577
+ isActive: boolean;
1578
+ }
1579
+
1580
+ declare class State extends BaseEntity {
1581
+ countryId: number;
1582
+ country: Country;
1583
+ cities: City[];
1584
+ stateName: string;
1585
+ isActive: boolean;
1586
+ }
1587
+
1588
+ declare class Country extends BaseEntity {
1589
+ states: State[];
1590
+ countryName: string;
1591
+ countryIsoCode: string;
1592
+ countryPhoneCode: string;
1593
+ currency: string;
1594
+ isActive: boolean;
1595
+ }
1596
+
1597
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
package/dist/index.d.ts CHANGED
@@ -1567,4 +1567,31 @@ declare class Cms extends BaseEntity {
1567
1567
  isActive: boolean;
1568
1568
  }
1569
1569
 
1570
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
1570
+ declare class City extends BaseEntity {
1571
+ countryId: number;
1572
+ country: Country;
1573
+ stateId: number;
1574
+ state: State;
1575
+ cityCode: string;
1576
+ cityName: string;
1577
+ isActive: boolean;
1578
+ }
1579
+
1580
+ declare class State extends BaseEntity {
1581
+ countryId: number;
1582
+ country: Country;
1583
+ cities: City[];
1584
+ stateName: string;
1585
+ isActive: boolean;
1586
+ }
1587
+
1588
+ declare class Country extends BaseEntity {
1589
+ states: State[];
1590
+ countryName: string;
1591
+ countryIsoCode: string;
1592
+ countryPhoneCode: string;
1593
+ currency: string;
1594
+ isActive: boolean;
1595
+ }
1596
+
1597
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
package/dist/index.js CHANGED
@@ -44,6 +44,7 @@ __export(index_exports, {
44
44
  COMPANY_MEMBERS_PATTERNS: () => COMPANY_MEMBERS_PATTERNS,
45
45
  COMPANY_ROLES_PATTERNS: () => COMPANY_ROLES_PATTERNS,
46
46
  CaseStudyDto: () => CaseStudyDto,
47
+ City: () => City,
47
48
  ClientChangePasswordDto: () => ClientChangePasswordDto,
48
49
  ClientCreateAccountDto: () => ClientCreateAccountDto,
49
50
  ClientProfileQuestionDto: () => ClientProfileQuestionDto,
@@ -53,6 +54,7 @@ __export(index_exports, {
53
54
  CompanyProfile: () => CompanyProfile,
54
55
  CompanyRole: () => CompanyRole,
55
56
  CompanyRolePermission: () => CompanyRolePermission,
57
+ Country: () => Country,
56
58
  CreateClientDto: () => CreateClientDto,
57
59
  CreateClientHiringModeEnum: () => CreateClientHiringModeEnum,
58
60
  CreateClientHiringTypeEnum: () => CreateClientHiringTypeEnum,
@@ -161,6 +163,7 @@ __export(index_exports, {
161
163
  SenseloafLog: () => SenseloafLog,
162
164
  SetPasswordDto: () => SetPasswordDto,
163
165
  Skill: () => Skill,
166
+ State: () => State,
164
167
  Step: () => Step,
165
168
  SystemPreference: () => SystemPreference,
166
169
  SystemPreferenceDto: () => SystemPreferenceDto,
@@ -3613,6 +3616,167 @@ __decorateClass([
3613
3616
  Cms = __decorateClass([
3614
3617
  (0, import_typeorm34.Entity)("cms")
3615
3618
  ], Cms);
3619
+
3620
+ // src/entities/country.entity.ts
3621
+ var import_typeorm37 = require("typeorm");
3622
+
3623
+ // src/entities/state.entity.ts
3624
+ var import_typeorm36 = require("typeorm");
3625
+
3626
+ // src/entities/city.entity.ts
3627
+ var import_typeorm35 = require("typeorm");
3628
+ var City = class extends BaseEntity {
3629
+ };
3630
+ __decorateClass([
3631
+ (0, import_typeorm35.Column)({
3632
+ name: "country_id",
3633
+ type: "int",
3634
+ nullable: true,
3635
+ comment: "Id of the country"
3636
+ })
3637
+ ], City.prototype, "countryId", 2);
3638
+ __decorateClass([
3639
+ (0, import_typeorm35.ManyToOne)(() => Country),
3640
+ (0, import_typeorm35.JoinColumn)({ name: "country_id" })
3641
+ ], City.prototype, "country", 2);
3642
+ __decorateClass([
3643
+ (0, import_typeorm35.Column)({
3644
+ name: "state_id",
3645
+ type: "int",
3646
+ nullable: false,
3647
+ comment: "Id of the state"
3648
+ })
3649
+ ], City.prototype, "stateId", 2);
3650
+ __decorateClass([
3651
+ (0, import_typeorm35.ManyToOne)(() => State, (state) => state.cities),
3652
+ (0, import_typeorm35.JoinColumn)({ name: "state_id" })
3653
+ ], City.prototype, "state", 2);
3654
+ __decorateClass([
3655
+ (0, import_typeorm35.Column)({
3656
+ name: "city_code",
3657
+ type: "varchar",
3658
+ length: 100,
3659
+ nullable: false,
3660
+ unique: true,
3661
+ comment: "Code of the city"
3662
+ })
3663
+ ], City.prototype, "cityCode", 2);
3664
+ __decorateClass([
3665
+ (0, import_typeorm35.Column)({
3666
+ name: "city_name",
3667
+ type: "varchar",
3668
+ length: 100,
3669
+ nullable: false,
3670
+ comment: "Name of the city"
3671
+ })
3672
+ ], City.prototype, "cityName", 2);
3673
+ __decorateClass([
3674
+ (0, import_typeorm35.Column)({
3675
+ name: "is_active",
3676
+ type: "boolean",
3677
+ default: true,
3678
+ comment: "Flag indicating if the city is active"
3679
+ })
3680
+ ], City.prototype, "isActive", 2);
3681
+ City = __decorateClass([
3682
+ (0, import_typeorm35.Entity)("cities")
3683
+ ], City);
3684
+
3685
+ // src/entities/state.entity.ts
3686
+ var State = class extends BaseEntity {
3687
+ };
3688
+ __decorateClass([
3689
+ (0, import_typeorm36.Column)({
3690
+ name: "country_id",
3691
+ type: "int",
3692
+ nullable: false,
3693
+ comment: "Id of the country"
3694
+ })
3695
+ ], State.prototype, "countryId", 2);
3696
+ __decorateClass([
3697
+ (0, import_typeorm36.ManyToOne)(() => Country, (country) => country.states),
3698
+ (0, import_typeorm36.JoinColumn)({ name: "country_id" })
3699
+ ], State.prototype, "country", 2);
3700
+ __decorateClass([
3701
+ (0, import_typeorm36.OneToMany)(() => City, (city) => city.state)
3702
+ ], State.prototype, "cities", 2);
3703
+ __decorateClass([
3704
+ (0, import_typeorm36.Column)({
3705
+ name: "state_name",
3706
+ type: "varchar",
3707
+ length: 100,
3708
+ nullable: false,
3709
+ comment: "Name of the state"
3710
+ })
3711
+ ], State.prototype, "stateName", 2);
3712
+ __decorateClass([
3713
+ (0, import_typeorm36.Column)({
3714
+ name: "is_active",
3715
+ type: "boolean",
3716
+ default: true,
3717
+ comment: "Flag indicating if the state is active"
3718
+ })
3719
+ ], State.prototype, "isActive", 2);
3720
+ State = __decorateClass([
3721
+ (0, import_typeorm36.Entity)("states")
3722
+ ], State);
3723
+
3724
+ // src/entities/country.entity.ts
3725
+ var Country = class extends BaseEntity {
3726
+ };
3727
+ __decorateClass([
3728
+ (0, import_typeorm37.OneToMany)(() => State, (state) => state.country)
3729
+ ], Country.prototype, "states", 2);
3730
+ __decorateClass([
3731
+ (0, import_typeorm37.Column)({
3732
+ name: "country_name",
3733
+ type: "varchar",
3734
+ length: 100,
3735
+ nullable: false,
3736
+ // Set to false for required
3737
+ comment: "Name of the country"
3738
+ })
3739
+ ], Country.prototype, "countryName", 2);
3740
+ __decorateClass([
3741
+ (0, import_typeorm37.Column)({
3742
+ name: "country_iso_code",
3743
+ type: "varchar",
3744
+ length: 2,
3745
+ nullable: false,
3746
+ // Must be required if it's unique
3747
+ unique: true,
3748
+ comment: "ISO 3166-1 alpha-2 country code"
3749
+ })
3750
+ ], Country.prototype, "countryIsoCode", 2);
3751
+ __decorateClass([
3752
+ (0, import_typeorm37.Column)({
3753
+ name: "country_phone_code",
3754
+ type: "varchar",
3755
+ length: 10,
3756
+ nullable: true,
3757
+ comment: "International dialing code for the country"
3758
+ })
3759
+ ], Country.prototype, "countryPhoneCode", 2);
3760
+ __decorateClass([
3761
+ (0, import_typeorm37.Column)({
3762
+ name: "currency",
3763
+ type: "varchar",
3764
+ length: 3,
3765
+ nullable: true,
3766
+ comment: "ISO 4217 currency code"
3767
+ })
3768
+ ], Country.prototype, "currency", 2);
3769
+ __decorateClass([
3770
+ (0, import_typeorm37.Column)({
3771
+ name: "is_active",
3772
+ type: "boolean",
3773
+ default: true,
3774
+ comment: "Flag indicating if the country is active"
3775
+ })
3776
+ ], Country.prototype, "isActive", 2);
3777
+ Country = __decorateClass([
3778
+ (0, import_typeorm37.Entity)("countries")
3779
+ ], Country);
3616
3780
  // Annotate the CommonJS export names for ESM import in node:
3617
3781
  0 && (module.exports = {
3618
3782
  AUTHENTICATION_PATTERN,
@@ -3632,6 +3796,7 @@ Cms = __decorateClass([
3632
3796
  COMPANY_MEMBERS_PATTERNS,
3633
3797
  COMPANY_ROLES_PATTERNS,
3634
3798
  CaseStudyDto,
3799
+ City,
3635
3800
  ClientChangePasswordDto,
3636
3801
  ClientCreateAccountDto,
3637
3802
  ClientProfileQuestionDto,
@@ -3641,6 +3806,7 @@ Cms = __decorateClass([
3641
3806
  CompanyProfile,
3642
3807
  CompanyRole,
3643
3808
  CompanyRolePermission,
3809
+ Country,
3644
3810
  CreateClientDto,
3645
3811
  CreateClientHiringModeEnum,
3646
3812
  CreateClientHiringTypeEnum,
@@ -3749,6 +3915,7 @@ Cms = __decorateClass([
3749
3915
  SenseloafLog,
3750
3916
  SetPasswordDto,
3751
3917
  Skill,
3918
+ State,
3752
3919
  Step,
3753
3920
  SystemPreference,
3754
3921
  SystemPreferenceDto,
package/dist/index.mjs CHANGED
@@ -3707,6 +3707,182 @@ __decorateClass([
3707
3707
  Cms = __decorateClass([
3708
3708
  Entity33("cms")
3709
3709
  ], Cms);
3710
+
3711
+ // src/entities/country.entity.ts
3712
+ import {
3713
+ Entity as Entity36,
3714
+ Column as Column37,
3715
+ OneToMany as OneToMany13
3716
+ } from "typeorm";
3717
+
3718
+ // src/entities/state.entity.ts
3719
+ import {
3720
+ Entity as Entity35,
3721
+ Column as Column36,
3722
+ ManyToOne as ManyToOne28,
3723
+ JoinColumn as JoinColumn28,
3724
+ OneToMany as OneToMany12
3725
+ } from "typeorm";
3726
+
3727
+ // src/entities/city.entity.ts
3728
+ import {
3729
+ Entity as Entity34,
3730
+ Column as Column35,
3731
+ ManyToOne as ManyToOne27,
3732
+ JoinColumn as JoinColumn27
3733
+ } from "typeorm";
3734
+ var City = class extends BaseEntity {
3735
+ };
3736
+ __decorateClass([
3737
+ Column35({
3738
+ name: "country_id",
3739
+ type: "int",
3740
+ nullable: true,
3741
+ comment: "Id of the country"
3742
+ })
3743
+ ], City.prototype, "countryId", 2);
3744
+ __decorateClass([
3745
+ ManyToOne27(() => Country),
3746
+ JoinColumn27({ name: "country_id" })
3747
+ ], City.prototype, "country", 2);
3748
+ __decorateClass([
3749
+ Column35({
3750
+ name: "state_id",
3751
+ type: "int",
3752
+ nullable: false,
3753
+ comment: "Id of the state"
3754
+ })
3755
+ ], City.prototype, "stateId", 2);
3756
+ __decorateClass([
3757
+ ManyToOne27(() => State, (state) => state.cities),
3758
+ JoinColumn27({ name: "state_id" })
3759
+ ], City.prototype, "state", 2);
3760
+ __decorateClass([
3761
+ Column35({
3762
+ name: "city_code",
3763
+ type: "varchar",
3764
+ length: 100,
3765
+ nullable: false,
3766
+ unique: true,
3767
+ comment: "Code of the city"
3768
+ })
3769
+ ], City.prototype, "cityCode", 2);
3770
+ __decorateClass([
3771
+ Column35({
3772
+ name: "city_name",
3773
+ type: "varchar",
3774
+ length: 100,
3775
+ nullable: false,
3776
+ comment: "Name of the city"
3777
+ })
3778
+ ], City.prototype, "cityName", 2);
3779
+ __decorateClass([
3780
+ Column35({
3781
+ name: "is_active",
3782
+ type: "boolean",
3783
+ default: true,
3784
+ comment: "Flag indicating if the city is active"
3785
+ })
3786
+ ], City.prototype, "isActive", 2);
3787
+ City = __decorateClass([
3788
+ Entity34("cities")
3789
+ ], City);
3790
+
3791
+ // src/entities/state.entity.ts
3792
+ var State = class extends BaseEntity {
3793
+ };
3794
+ __decorateClass([
3795
+ Column36({
3796
+ name: "country_id",
3797
+ type: "int",
3798
+ nullable: false,
3799
+ comment: "Id of the country"
3800
+ })
3801
+ ], State.prototype, "countryId", 2);
3802
+ __decorateClass([
3803
+ ManyToOne28(() => Country, (country) => country.states),
3804
+ JoinColumn28({ name: "country_id" })
3805
+ ], State.prototype, "country", 2);
3806
+ __decorateClass([
3807
+ OneToMany12(() => City, (city) => city.state)
3808
+ ], State.prototype, "cities", 2);
3809
+ __decorateClass([
3810
+ Column36({
3811
+ name: "state_name",
3812
+ type: "varchar",
3813
+ length: 100,
3814
+ nullable: false,
3815
+ comment: "Name of the state"
3816
+ })
3817
+ ], State.prototype, "stateName", 2);
3818
+ __decorateClass([
3819
+ Column36({
3820
+ name: "is_active",
3821
+ type: "boolean",
3822
+ default: true,
3823
+ comment: "Flag indicating if the state is active"
3824
+ })
3825
+ ], State.prototype, "isActive", 2);
3826
+ State = __decorateClass([
3827
+ Entity35("states")
3828
+ ], State);
3829
+
3830
+ // src/entities/country.entity.ts
3831
+ var Country = class extends BaseEntity {
3832
+ };
3833
+ __decorateClass([
3834
+ OneToMany13(() => State, (state) => state.country)
3835
+ ], Country.prototype, "states", 2);
3836
+ __decorateClass([
3837
+ Column37({
3838
+ name: "country_name",
3839
+ type: "varchar",
3840
+ length: 100,
3841
+ nullable: false,
3842
+ // Set to false for required
3843
+ comment: "Name of the country"
3844
+ })
3845
+ ], Country.prototype, "countryName", 2);
3846
+ __decorateClass([
3847
+ Column37({
3848
+ name: "country_iso_code",
3849
+ type: "varchar",
3850
+ length: 2,
3851
+ nullable: false,
3852
+ // Must be required if it's unique
3853
+ unique: true,
3854
+ comment: "ISO 3166-1 alpha-2 country code"
3855
+ })
3856
+ ], Country.prototype, "countryIsoCode", 2);
3857
+ __decorateClass([
3858
+ Column37({
3859
+ name: "country_phone_code",
3860
+ type: "varchar",
3861
+ length: 10,
3862
+ nullable: true,
3863
+ comment: "International dialing code for the country"
3864
+ })
3865
+ ], Country.prototype, "countryPhoneCode", 2);
3866
+ __decorateClass([
3867
+ Column37({
3868
+ name: "currency",
3869
+ type: "varchar",
3870
+ length: 3,
3871
+ nullable: true,
3872
+ comment: "ISO 4217 currency code"
3873
+ })
3874
+ ], Country.prototype, "currency", 2);
3875
+ __decorateClass([
3876
+ Column37({
3877
+ name: "is_active",
3878
+ type: "boolean",
3879
+ default: true,
3880
+ comment: "Flag indicating if the country is active"
3881
+ })
3882
+ ], Country.prototype, "isActive", 2);
3883
+ Country = __decorateClass([
3884
+ Entity36("countries")
3885
+ ], Country);
3710
3886
  export {
3711
3887
  AUTHENTICATION_PATTERN,
3712
3888
  AccountStatus,
@@ -3725,6 +3901,7 @@ export {
3725
3901
  COMPANY_MEMBERS_PATTERNS,
3726
3902
  COMPANY_ROLES_PATTERNS,
3727
3903
  CaseStudyDto,
3904
+ City,
3728
3905
  ClientChangePasswordDto,
3729
3906
  ClientCreateAccountDto,
3730
3907
  ClientProfileQuestionDto,
@@ -3734,6 +3911,7 @@ export {
3734
3911
  CompanyProfile,
3735
3912
  CompanyRole,
3736
3913
  CompanyRolePermission,
3914
+ Country,
3737
3915
  CreateClientDto,
3738
3916
  CreateClientHiringModeEnum,
3739
3917
  CreateClientHiringTypeEnum,
@@ -3842,6 +4020,7 @@ export {
3842
4020
  SenseloafLog,
3843
4021
  SetPasswordDto,
3844
4022
  Skill,
4023
+ State,
3845
4024
  Step,
3846
4025
  SystemPreference,
3847
4026
  SystemPreferenceDto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.194",
3
+ "version": "1.0.196",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",