@experts_hub/shared 1.0.504 → 1.0.505

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
@@ -1289,6 +1289,22 @@ declare class EscrowWallet extends BaseEntity {
1289
1289
  escrowWalletTransactions: EscrowWalletTransaction[];
1290
1290
  }
1291
1291
 
1292
+ declare enum ContractHistoryStatusEnum {
1293
+ GENERATED = "GENERATED",
1294
+ DRAFTED = "DRAFTED",
1295
+ SENT = "SENT",
1296
+ SIGNED = "SIGNED",
1297
+ ACTIVE = "ACTIVE",
1298
+ CANCELLED = "CANCELLED",
1299
+ DISPUTED = "DISPUTED",
1300
+ REJECTED = "REJECTED",
1301
+ RENEWED = "RENEWED",
1302
+ EXPIRED = "EXPIRED"
1303
+ }
1304
+ declare enum ContractHistoryTypeEnum {
1305
+ NDA = "NDA",
1306
+ WORK = "WORK"
1307
+ }
1292
1308
  declare enum ContractHistoryActionEnum {
1293
1309
  GENERATED = "GENERATED",
1294
1310
  DRAFTED = "DRAFTED",
@@ -1307,9 +1323,9 @@ declare class ContractHistory extends BaseEntity {
1307
1323
  contract: Contract;
1308
1324
  actionBy: number;
1309
1325
  actionByType: string;
1310
- previousStatus: ContractStatusEnum;
1311
- newStatus: ContractStatusEnum;
1312
- type: ContractTypeEnum;
1326
+ previousStatus: ContractHistoryStatusEnum;
1327
+ newStatus: ContractHistoryStatusEnum;
1328
+ type: ContractHistoryTypeEnum;
1313
1329
  actionType: ContractHistoryActionEnum;
1314
1330
  remarks: string;
1315
1331
  }
@@ -3108,4 +3124,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
3108
3124
  isActive: boolean;
3109
3125
  }
3110
3126
 
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 };
3127
+ 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
@@ -1289,6 +1289,22 @@ declare class EscrowWallet extends BaseEntity {
1289
1289
  escrowWalletTransactions: EscrowWalletTransaction[];
1290
1290
  }
1291
1291
 
1292
+ declare enum ContractHistoryStatusEnum {
1293
+ GENERATED = "GENERATED",
1294
+ DRAFTED = "DRAFTED",
1295
+ SENT = "SENT",
1296
+ SIGNED = "SIGNED",
1297
+ ACTIVE = "ACTIVE",
1298
+ CANCELLED = "CANCELLED",
1299
+ DISPUTED = "DISPUTED",
1300
+ REJECTED = "REJECTED",
1301
+ RENEWED = "RENEWED",
1302
+ EXPIRED = "EXPIRED"
1303
+ }
1304
+ declare enum ContractHistoryTypeEnum {
1305
+ NDA = "NDA",
1306
+ WORK = "WORK"
1307
+ }
1292
1308
  declare enum ContractHistoryActionEnum {
1293
1309
  GENERATED = "GENERATED",
1294
1310
  DRAFTED = "DRAFTED",
@@ -1307,9 +1323,9 @@ declare class ContractHistory extends BaseEntity {
1307
1323
  contract: Contract;
1308
1324
  actionBy: number;
1309
1325
  actionByType: string;
1310
- previousStatus: ContractStatusEnum;
1311
- newStatus: ContractStatusEnum;
1312
- type: ContractTypeEnum;
1326
+ previousStatus: ContractHistoryStatusEnum;
1327
+ newStatus: ContractHistoryStatusEnum;
1328
+ type: ContractHistoryTypeEnum;
1313
1329
  actionType: ContractHistoryActionEnum;
1314
1330
  remarks: string;
1315
1331
  }
@@ -3108,4 +3124,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
3108
3124
  isActive: boolean;
3109
3125
  }
3110
3126
 
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 };
3127
+ 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,
@@ -3817,6 +3819,24 @@ EscrowWallet = __decorateClass([
3817
3819
 
3818
3820
  // src/entities/contract-history.entity.ts
3819
3821
  var import_typeorm28 = require("typeorm");
3822
+ var ContractHistoryStatusEnum = /* @__PURE__ */ ((ContractHistoryStatusEnum2) => {
3823
+ ContractHistoryStatusEnum2["GENERATED"] = "GENERATED";
3824
+ ContractHistoryStatusEnum2["DRAFTED"] = "DRAFTED";
3825
+ ContractHistoryStatusEnum2["SENT"] = "SENT";
3826
+ ContractHistoryStatusEnum2["SIGNED"] = "SIGNED";
3827
+ ContractHistoryStatusEnum2["ACTIVE"] = "ACTIVE";
3828
+ ContractHistoryStatusEnum2["CANCELLED"] = "CANCELLED";
3829
+ ContractHistoryStatusEnum2["DISPUTED"] = "DISPUTED";
3830
+ ContractHistoryStatusEnum2["REJECTED"] = "REJECTED";
3831
+ ContractHistoryStatusEnum2["RENEWED"] = "RENEWED";
3832
+ ContractHistoryStatusEnum2["EXPIRED"] = "EXPIRED";
3833
+ return ContractHistoryStatusEnum2;
3834
+ })(ContractHistoryStatusEnum || {});
3835
+ var ContractHistoryTypeEnum = /* @__PURE__ */ ((ContractHistoryTypeEnum2) => {
3836
+ ContractHistoryTypeEnum2["NDA"] = "NDA";
3837
+ ContractHistoryTypeEnum2["WORK"] = "WORK";
3838
+ return ContractHistoryTypeEnum2;
3839
+ })(ContractHistoryTypeEnum || {});
3820
3840
  var ContractHistoryActionEnum = /* @__PURE__ */ ((ContractHistoryActionEnum2) => {
3821
3841
  ContractHistoryActionEnum2["GENERATED"] = "GENERATED";
3822
3842
  ContractHistoryActionEnum2["DRAFTED"] = "DRAFTED";
@@ -3851,7 +3871,7 @@ __decorateClass([
3851
3871
  (0, import_typeorm28.Column)({
3852
3872
  name: "previous_status",
3853
3873
  type: "enum",
3854
- enum: ContractStatusEnum,
3874
+ enum: ContractHistoryStatusEnum,
3855
3875
  nullable: true
3856
3876
  })
3857
3877
  ], ContractHistory.prototype, "previousStatus", 2);
@@ -3859,7 +3879,7 @@ __decorateClass([
3859
3879
  (0, import_typeorm28.Column)({
3860
3880
  name: "new_status",
3861
3881
  type: "enum",
3862
- enum: ContractStatusEnum,
3882
+ enum: ContractHistoryStatusEnum,
3863
3883
  nullable: false
3864
3884
  })
3865
3885
  ], ContractHistory.prototype, "newStatus", 2);
@@ -3867,7 +3887,7 @@ __decorateClass([
3867
3887
  (0, import_typeorm28.Column)({
3868
3888
  name: "type",
3869
3889
  type: "enum",
3870
- enum: ContractTypeEnum,
3890
+ enum: ContractHistoryTypeEnum,
3871
3891
  nullable: true
3872
3892
  })
3873
3893
  ], ContractHistory.prototype, "type", 2);
@@ -8507,6 +8527,8 @@ RecommendationWeightageConfig = __decorateClass([
8507
8527
  Contract,
8508
8528
  ContractHistory,
8509
8529
  ContractHistoryActionEnum,
8530
+ ContractHistoryStatusEnum,
8531
+ ContractHistoryTypeEnum,
8510
8532
  ContractRMQAdapter,
8511
8533
  ContractStatusEnum,
8512
8534
  ContractTCPAdapter,
package/dist/index.mjs CHANGED
@@ -3729,6 +3729,24 @@ EscrowWallet = __decorateClass([
3729
3729
 
3730
3730
  // src/entities/contract-history.entity.ts
3731
3731
  import { Entity as Entity27, Column as Column28, Index as Index21, ManyToOne as ManyToOne26, JoinColumn as JoinColumn26 } from "typeorm";
3732
+ var ContractHistoryStatusEnum = /* @__PURE__ */ ((ContractHistoryStatusEnum2) => {
3733
+ ContractHistoryStatusEnum2["GENERATED"] = "GENERATED";
3734
+ ContractHistoryStatusEnum2["DRAFTED"] = "DRAFTED";
3735
+ ContractHistoryStatusEnum2["SENT"] = "SENT";
3736
+ ContractHistoryStatusEnum2["SIGNED"] = "SIGNED";
3737
+ ContractHistoryStatusEnum2["ACTIVE"] = "ACTIVE";
3738
+ ContractHistoryStatusEnum2["CANCELLED"] = "CANCELLED";
3739
+ ContractHistoryStatusEnum2["DISPUTED"] = "DISPUTED";
3740
+ ContractHistoryStatusEnum2["REJECTED"] = "REJECTED";
3741
+ ContractHistoryStatusEnum2["RENEWED"] = "RENEWED";
3742
+ ContractHistoryStatusEnum2["EXPIRED"] = "EXPIRED";
3743
+ return ContractHistoryStatusEnum2;
3744
+ })(ContractHistoryStatusEnum || {});
3745
+ var ContractHistoryTypeEnum = /* @__PURE__ */ ((ContractHistoryTypeEnum2) => {
3746
+ ContractHistoryTypeEnum2["NDA"] = "NDA";
3747
+ ContractHistoryTypeEnum2["WORK"] = "WORK";
3748
+ return ContractHistoryTypeEnum2;
3749
+ })(ContractHistoryTypeEnum || {});
3732
3750
  var ContractHistoryActionEnum = /* @__PURE__ */ ((ContractHistoryActionEnum2) => {
3733
3751
  ContractHistoryActionEnum2["GENERATED"] = "GENERATED";
3734
3752
  ContractHistoryActionEnum2["DRAFTED"] = "DRAFTED";
@@ -3763,7 +3781,7 @@ __decorateClass([
3763
3781
  Column28({
3764
3782
  name: "previous_status",
3765
3783
  type: "enum",
3766
- enum: ContractStatusEnum,
3784
+ enum: ContractHistoryStatusEnum,
3767
3785
  nullable: true
3768
3786
  })
3769
3787
  ], ContractHistory.prototype, "previousStatus", 2);
@@ -3771,7 +3789,7 @@ __decorateClass([
3771
3789
  Column28({
3772
3790
  name: "new_status",
3773
3791
  type: "enum",
3774
- enum: ContractStatusEnum,
3792
+ enum: ContractHistoryStatusEnum,
3775
3793
  nullable: false
3776
3794
  })
3777
3795
  ], ContractHistory.prototype, "newStatus", 2);
@@ -3779,7 +3797,7 @@ __decorateClass([
3779
3797
  Column28({
3780
3798
  name: "type",
3781
3799
  type: "enum",
3782
- enum: ContractTypeEnum,
3800
+ enum: ContractHistoryTypeEnum,
3783
3801
  nullable: true
3784
3802
  })
3785
3803
  ], ContractHistory.prototype, "type", 2);
@@ -8670,6 +8688,8 @@ export {
8670
8688
  Contract,
8671
8689
  ContractHistory,
8672
8690
  ContractHistoryActionEnum,
8691
+ ContractHistoryStatusEnum,
8692
+ ContractHistoryTypeEnum,
8673
8693
  ContractRMQAdapter,
8674
8694
  ContractStatusEnum,
8675
8695
  ContractTCPAdapter,
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.505",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",