@experts_hub/shared 1.0.504 → 1.0.506

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.
@@ -1,6 +1,21 @@
1
1
  import { BaseEntity } from "../entities/base.entity";
2
2
  import { Contract } from "../entities/contract.entity";
3
- import { ContractStatusEnum, ContractTypeEnum } from "../entities/contract.entity";
3
+ export declare enum ContractHistoryStatusEnum {
4
+ GENERATED = "GENERATED",
5
+ DRAFTED = "DRAFTED",
6
+ SENT = "SENT",
7
+ SIGNED = "SIGNED",
8
+ ACTIVE = "ACTIVE",
9
+ CANCELLED = "CANCELLED",
10
+ DISPUTED = "DISPUTED",
11
+ REJECTED = "REJECTED",
12
+ RENEWED = "RENEWED",
13
+ EXPIRED = "EXPIRED"
14
+ }
15
+ export declare enum ContractHistoryTypeEnum {
16
+ NDA = "NDA",
17
+ WORK = "WORK"
18
+ }
4
19
  export declare enum ContractHistoryActionEnum {
5
20
  GENERATED = "GENERATED",
6
21
  DRAFTED = "DRAFTED",
@@ -19,9 +34,9 @@ export declare class ContractHistory extends BaseEntity {
19
34
  contract: Contract;
20
35
  actionBy: number;
21
36
  actionByType: string;
22
- previousStatus: ContractStatusEnum;
23
- newStatus: ContractStatusEnum;
24
- type: ContractTypeEnum;
37
+ previousStatus: ContractHistoryStatusEnum;
38
+ newStatus: ContractHistoryStatusEnum;
39
+ type: ContractHistoryTypeEnum;
25
40
  actionType: ContractHistoryActionEnum;
26
41
  remarks: string;
27
42
  }
package/dist/index.d.mts CHANGED
@@ -144,6 +144,7 @@ declare class FreelancerCreateAccountDto {
144
144
  email: string;
145
145
  mobileCode: string;
146
146
  mobile: string;
147
+ countryISOCode: string;
147
148
  onBoardedBy: string;
148
149
  }
149
150
 
@@ -1289,6 +1290,22 @@ declare class EscrowWallet extends BaseEntity {
1289
1290
  escrowWalletTransactions: EscrowWalletTransaction[];
1290
1291
  }
1291
1292
 
1293
+ declare enum ContractHistoryStatusEnum {
1294
+ GENERATED = "GENERATED",
1295
+ DRAFTED = "DRAFTED",
1296
+ SENT = "SENT",
1297
+ SIGNED = "SIGNED",
1298
+ ACTIVE = "ACTIVE",
1299
+ CANCELLED = "CANCELLED",
1300
+ DISPUTED = "DISPUTED",
1301
+ REJECTED = "REJECTED",
1302
+ RENEWED = "RENEWED",
1303
+ EXPIRED = "EXPIRED"
1304
+ }
1305
+ declare enum ContractHistoryTypeEnum {
1306
+ NDA = "NDA",
1307
+ WORK = "WORK"
1308
+ }
1292
1309
  declare enum ContractHistoryActionEnum {
1293
1310
  GENERATED = "GENERATED",
1294
1311
  DRAFTED = "DRAFTED",
@@ -1307,9 +1324,9 @@ declare class ContractHistory extends BaseEntity {
1307
1324
  contract: Contract;
1308
1325
  actionBy: number;
1309
1326
  actionByType: string;
1310
- previousStatus: ContractStatusEnum;
1311
- newStatus: ContractStatusEnum;
1312
- type: ContractTypeEnum;
1327
+ previousStatus: ContractHistoryStatusEnum;
1328
+ newStatus: ContractHistoryStatusEnum;
1329
+ type: ContractHistoryTypeEnum;
1313
1330
  actionType: ContractHistoryActionEnum;
1314
1331
  remarks: string;
1315
1332
  }
@@ -3108,4 +3125,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
3108
3125
  isActive: boolean;
3109
3126
  }
3110
3127
 
3111
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractHistory, ContractHistoryActionEnum, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, 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 IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, 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 IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
3128
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractHistory, ContractHistoryActionEnum, ContractHistoryStatusEnum, ContractHistoryTypeEnum, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, 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 IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, 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 IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
package/dist/index.d.ts CHANGED
@@ -144,6 +144,7 @@ declare class FreelancerCreateAccountDto {
144
144
  email: string;
145
145
  mobileCode: string;
146
146
  mobile: string;
147
+ countryISOCode: string;
147
148
  onBoardedBy: string;
148
149
  }
149
150
 
@@ -1289,6 +1290,22 @@ declare class EscrowWallet extends BaseEntity {
1289
1290
  escrowWalletTransactions: EscrowWalletTransaction[];
1290
1291
  }
1291
1292
 
1293
+ declare enum ContractHistoryStatusEnum {
1294
+ GENERATED = "GENERATED",
1295
+ DRAFTED = "DRAFTED",
1296
+ SENT = "SENT",
1297
+ SIGNED = "SIGNED",
1298
+ ACTIVE = "ACTIVE",
1299
+ CANCELLED = "CANCELLED",
1300
+ DISPUTED = "DISPUTED",
1301
+ REJECTED = "REJECTED",
1302
+ RENEWED = "RENEWED",
1303
+ EXPIRED = "EXPIRED"
1304
+ }
1305
+ declare enum ContractHistoryTypeEnum {
1306
+ NDA = "NDA",
1307
+ WORK = "WORK"
1308
+ }
1292
1309
  declare enum ContractHistoryActionEnum {
1293
1310
  GENERATED = "GENERATED",
1294
1311
  DRAFTED = "DRAFTED",
@@ -1307,9 +1324,9 @@ declare class ContractHistory extends BaseEntity {
1307
1324
  contract: Contract;
1308
1325
  actionBy: number;
1309
1326
  actionByType: string;
1310
- previousStatus: ContractStatusEnum;
1311
- newStatus: ContractStatusEnum;
1312
- type: ContractTypeEnum;
1327
+ previousStatus: ContractHistoryStatusEnum;
1328
+ newStatus: ContractHistoryStatusEnum;
1329
+ type: ContractHistoryTypeEnum;
1313
1330
  actionType: ContractHistoryActionEnum;
1314
1331
  remarks: string;
1315
1332
  }
@@ -3108,4 +3125,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
3108
3125
  isActive: boolean;
3109
3126
  }
3110
3127
 
3111
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractHistory, ContractHistoryActionEnum, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, 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 IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, 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 IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
3128
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractHistory, ContractHistoryActionEnum, ContractHistoryStatusEnum, ContractHistoryTypeEnum, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, 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 IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, 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 IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
package/dist/index.js CHANGED
@@ -93,6 +93,8 @@ __export(index_exports, {
93
93
  Contract: () => Contract,
94
94
  ContractHistory: () => ContractHistory,
95
95
  ContractHistoryActionEnum: () => ContractHistoryActionEnum,
96
+ ContractHistoryStatusEnum: () => ContractHistoryStatusEnum,
97
+ ContractHistoryTypeEnum: () => ContractHistoryTypeEnum,
96
98
  ContractRMQAdapter: () => ContractRMQAdapter,
97
99
  ContractStatusEnum: () => ContractStatusEnum,
98
100
  ContractTCPAdapter: () => ContractTCPAdapter,
@@ -773,6 +775,9 @@ __decorateClass([
773
775
  (0, import_class_validator15.IsNotEmpty)({ message: "Please enter mobile number." }),
774
776
  IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
775
777
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
778
+ __decorateClass([
779
+ (0, import_class_validator15.IsNotEmpty)({ message: "Please enter country iso code." })
780
+ ], FreelancerCreateAccountDto.prototype, "countryISOCode", 2);
776
781
  __decorateClass([
777
782
  (0, import_class_validator15.IsOptional)()
778
783
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
@@ -3817,6 +3822,24 @@ EscrowWallet = __decorateClass([
3817
3822
 
3818
3823
  // src/entities/contract-history.entity.ts
3819
3824
  var import_typeorm28 = require("typeorm");
3825
+ var ContractHistoryStatusEnum = /* @__PURE__ */ ((ContractHistoryStatusEnum2) => {
3826
+ ContractHistoryStatusEnum2["GENERATED"] = "GENERATED";
3827
+ ContractHistoryStatusEnum2["DRAFTED"] = "DRAFTED";
3828
+ ContractHistoryStatusEnum2["SENT"] = "SENT";
3829
+ ContractHistoryStatusEnum2["SIGNED"] = "SIGNED";
3830
+ ContractHistoryStatusEnum2["ACTIVE"] = "ACTIVE";
3831
+ ContractHistoryStatusEnum2["CANCELLED"] = "CANCELLED";
3832
+ ContractHistoryStatusEnum2["DISPUTED"] = "DISPUTED";
3833
+ ContractHistoryStatusEnum2["REJECTED"] = "REJECTED";
3834
+ ContractHistoryStatusEnum2["RENEWED"] = "RENEWED";
3835
+ ContractHistoryStatusEnum2["EXPIRED"] = "EXPIRED";
3836
+ return ContractHistoryStatusEnum2;
3837
+ })(ContractHistoryStatusEnum || {});
3838
+ var ContractHistoryTypeEnum = /* @__PURE__ */ ((ContractHistoryTypeEnum2) => {
3839
+ ContractHistoryTypeEnum2["NDA"] = "NDA";
3840
+ ContractHistoryTypeEnum2["WORK"] = "WORK";
3841
+ return ContractHistoryTypeEnum2;
3842
+ })(ContractHistoryTypeEnum || {});
3820
3843
  var ContractHistoryActionEnum = /* @__PURE__ */ ((ContractHistoryActionEnum2) => {
3821
3844
  ContractHistoryActionEnum2["GENERATED"] = "GENERATED";
3822
3845
  ContractHistoryActionEnum2["DRAFTED"] = "DRAFTED";
@@ -3851,7 +3874,7 @@ __decorateClass([
3851
3874
  (0, import_typeorm28.Column)({
3852
3875
  name: "previous_status",
3853
3876
  type: "enum",
3854
- enum: ContractStatusEnum,
3877
+ enum: ContractHistoryStatusEnum,
3855
3878
  nullable: true
3856
3879
  })
3857
3880
  ], ContractHistory.prototype, "previousStatus", 2);
@@ -3859,7 +3882,7 @@ __decorateClass([
3859
3882
  (0, import_typeorm28.Column)({
3860
3883
  name: "new_status",
3861
3884
  type: "enum",
3862
- enum: ContractStatusEnum,
3885
+ enum: ContractHistoryStatusEnum,
3863
3886
  nullable: false
3864
3887
  })
3865
3888
  ], ContractHistory.prototype, "newStatus", 2);
@@ -3867,7 +3890,7 @@ __decorateClass([
3867
3890
  (0, import_typeorm28.Column)({
3868
3891
  name: "type",
3869
3892
  type: "enum",
3870
- enum: ContractTypeEnum,
3893
+ enum: ContractHistoryTypeEnum,
3871
3894
  nullable: true
3872
3895
  })
3873
3896
  ], ContractHistory.prototype, "type", 2);
@@ -8507,6 +8530,8 @@ RecommendationWeightageConfig = __decorateClass([
8507
8530
  Contract,
8508
8531
  ContractHistory,
8509
8532
  ContractHistoryActionEnum,
8533
+ ContractHistoryStatusEnum,
8534
+ ContractHistoryTypeEnum,
8510
8535
  ContractRMQAdapter,
8511
8536
  ContractStatusEnum,
8512
8537
  ContractTCPAdapter,
package/dist/index.mjs CHANGED
@@ -491,6 +491,9 @@ __decorateClass([
491
491
  IsNotEmpty12({ message: "Please enter mobile number." }),
492
492
  IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
493
493
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
494
+ __decorateClass([
495
+ IsNotEmpty12({ message: "Please enter country iso code." })
496
+ ], FreelancerCreateAccountDto.prototype, "countryISOCode", 2);
494
497
  __decorateClass([
495
498
  IsOptional3()
496
499
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
@@ -3729,6 +3732,24 @@ EscrowWallet = __decorateClass([
3729
3732
 
3730
3733
  // src/entities/contract-history.entity.ts
3731
3734
  import { Entity as Entity27, Column as Column28, Index as Index21, ManyToOne as ManyToOne26, JoinColumn as JoinColumn26 } from "typeorm";
3735
+ var ContractHistoryStatusEnum = /* @__PURE__ */ ((ContractHistoryStatusEnum2) => {
3736
+ ContractHistoryStatusEnum2["GENERATED"] = "GENERATED";
3737
+ ContractHistoryStatusEnum2["DRAFTED"] = "DRAFTED";
3738
+ ContractHistoryStatusEnum2["SENT"] = "SENT";
3739
+ ContractHistoryStatusEnum2["SIGNED"] = "SIGNED";
3740
+ ContractHistoryStatusEnum2["ACTIVE"] = "ACTIVE";
3741
+ ContractHistoryStatusEnum2["CANCELLED"] = "CANCELLED";
3742
+ ContractHistoryStatusEnum2["DISPUTED"] = "DISPUTED";
3743
+ ContractHistoryStatusEnum2["REJECTED"] = "REJECTED";
3744
+ ContractHistoryStatusEnum2["RENEWED"] = "RENEWED";
3745
+ ContractHistoryStatusEnum2["EXPIRED"] = "EXPIRED";
3746
+ return ContractHistoryStatusEnum2;
3747
+ })(ContractHistoryStatusEnum || {});
3748
+ var ContractHistoryTypeEnum = /* @__PURE__ */ ((ContractHistoryTypeEnum2) => {
3749
+ ContractHistoryTypeEnum2["NDA"] = "NDA";
3750
+ ContractHistoryTypeEnum2["WORK"] = "WORK";
3751
+ return ContractHistoryTypeEnum2;
3752
+ })(ContractHistoryTypeEnum || {});
3732
3753
  var ContractHistoryActionEnum = /* @__PURE__ */ ((ContractHistoryActionEnum2) => {
3733
3754
  ContractHistoryActionEnum2["GENERATED"] = "GENERATED";
3734
3755
  ContractHistoryActionEnum2["DRAFTED"] = "DRAFTED";
@@ -3763,7 +3784,7 @@ __decorateClass([
3763
3784
  Column28({
3764
3785
  name: "previous_status",
3765
3786
  type: "enum",
3766
- enum: ContractStatusEnum,
3787
+ enum: ContractHistoryStatusEnum,
3767
3788
  nullable: true
3768
3789
  })
3769
3790
  ], ContractHistory.prototype, "previousStatus", 2);
@@ -3771,7 +3792,7 @@ __decorateClass([
3771
3792
  Column28({
3772
3793
  name: "new_status",
3773
3794
  type: "enum",
3774
- enum: ContractStatusEnum,
3795
+ enum: ContractHistoryStatusEnum,
3775
3796
  nullable: false
3776
3797
  })
3777
3798
  ], ContractHistory.prototype, "newStatus", 2);
@@ -3779,7 +3800,7 @@ __decorateClass([
3779
3800
  Column28({
3780
3801
  name: "type",
3781
3802
  type: "enum",
3782
- enum: ContractTypeEnum,
3803
+ enum: ContractHistoryTypeEnum,
3783
3804
  nullable: true
3784
3805
  })
3785
3806
  ], ContractHistory.prototype, "type", 2);
@@ -8670,6 +8691,8 @@ export {
8670
8691
  Contract,
8671
8692
  ContractHistory,
8672
8693
  ContractHistoryActionEnum,
8694
+ ContractHistoryStatusEnum,
8695
+ ContractHistoryTypeEnum,
8673
8696
  ContractRMQAdapter,
8674
8697
  ContractStatusEnum,
8675
8698
  ContractTCPAdapter,
@@ -3,5 +3,6 @@ export declare class FreelancerCreateAccountDto {
3
3
  email: string;
4
4
  mobileCode: string;
5
5
  mobile: string;
6
+ countryISOCode: string;
6
7
  onBoardedBy: string;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.504",
3
+ "version": "1.0.506",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",