@experts_hub/shared 1.0.386 → 1.0.387
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/index.d.ts +2 -0
- package/dist/adapters/rmq/contract.rmq.adapter.d.ts +2 -0
- package/dist/adapters/tcp/contract.tcp.adapter.d.ts +2 -0
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +99 -23
- package/dist/index.mjs +97 -23
- package/package.json +1 -1
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './tcp/user.tcp.adapter';
|
|
2
2
|
export * from './tcp/job.tcp.adapter';
|
|
3
|
+
export * from './tcp/contract.tcp.adapter';
|
|
3
4
|
export * from './tcp/notification.tcp.adapter';
|
|
4
5
|
export * from './rmq/user.rmq.adapter';
|
|
5
6
|
export * from './rmq/job.rmq.adapter';
|
|
7
|
+
export * from './rmq/contract.rmq.adapter';
|
|
6
8
|
export * from './rmq/notification.rmq.adapter';
|
package/dist/index.d.mts
CHANGED
|
@@ -2394,12 +2394,16 @@ declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
|
2394
2394
|
|
|
2395
2395
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
2396
2396
|
|
|
2397
|
+
declare const ContractTCPAdapter: () => MicroserviceOptions;
|
|
2398
|
+
|
|
2397
2399
|
declare const NotificationTCPAdapter: () => MicroserviceOptions;
|
|
2398
2400
|
|
|
2399
2401
|
declare const UserRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2400
2402
|
|
|
2401
2403
|
declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2402
2404
|
|
|
2405
|
+
declare const ContractRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2406
|
+
|
|
2403
2407
|
declare const NotificationRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2404
2408
|
|
|
2405
2409
|
declare class SequenceGenerator extends BaseEntity {
|
|
@@ -2578,4 +2582,4 @@ declare class StripeLog extends BaseEntity {
|
|
|
2578
2582
|
rawWebhookData: string;
|
|
2579
2583
|
}
|
|
2580
2584
|
|
|
2581
|
-
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, 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, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractStatusEnum, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, 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, 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, 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, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, 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, 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, Skill, State, Step, StripeLog, StripeWallet, StripeWalletAccountTypeEnum, StripeWalletOnboardingStatusEnum, StripeWalletTransaction, StripeWalletTransactionStatusEnum, StripeWalletTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, Timesheet, TimesheetStatusEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, ZoomMeetingLog };
|
|
2585
|
+
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, 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, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, 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, 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, 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, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, 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, 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, Skill, State, Step, StripeLog, StripeWallet, StripeWalletAccountTypeEnum, StripeWalletOnboardingStatusEnum, StripeWalletTransaction, StripeWalletTransactionStatusEnum, StripeWalletTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, Timesheet, TimesheetStatusEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, ZoomMeetingLog };
|
package/dist/index.d.ts
CHANGED
|
@@ -2394,12 +2394,16 @@ declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
|
2394
2394
|
|
|
2395
2395
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
2396
2396
|
|
|
2397
|
+
declare const ContractTCPAdapter: () => MicroserviceOptions;
|
|
2398
|
+
|
|
2397
2399
|
declare const NotificationTCPAdapter: () => MicroserviceOptions;
|
|
2398
2400
|
|
|
2399
2401
|
declare const UserRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2400
2402
|
|
|
2401
2403
|
declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2402
2404
|
|
|
2405
|
+
declare const ContractRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2406
|
+
|
|
2403
2407
|
declare const NotificationRMQAdapter: (mode?: string) => MicroserviceOptions;
|
|
2404
2408
|
|
|
2405
2409
|
declare class SequenceGenerator extends BaseEntity {
|
|
@@ -2578,4 +2582,4 @@ declare class StripeLog extends BaseEntity {
|
|
|
2578
2582
|
rawWebhookData: string;
|
|
2579
2583
|
}
|
|
2580
2584
|
|
|
2581
|
-
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, 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, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractStatusEnum, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, 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, 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, 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, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, 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, 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, Skill, State, Step, StripeLog, StripeWallet, StripeWalletAccountTypeEnum, StripeWalletOnboardingStatusEnum, StripeWalletTransaction, StripeWalletTransactionStatusEnum, StripeWalletTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, Timesheet, TimesheetStatusEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, ZoomMeetingLog };
|
|
2585
|
+
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, 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, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, 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, 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, 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, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, 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, 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, Skill, State, Step, StripeLog, StripeWallet, StripeWalletAccountTypeEnum, StripeWalletOnboardingStatusEnum, StripeWalletTransaction, StripeWalletTransactionStatusEnum, StripeWalletTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, Timesheet, TimesheetStatusEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, ZoomMeetingLog };
|
package/dist/index.js
CHANGED
|
@@ -86,7 +86,9 @@ __export(index_exports, {
|
|
|
86
86
|
CompanyRolePermission: () => CompanyRolePermission,
|
|
87
87
|
CompanySkill: () => CompanySkill,
|
|
88
88
|
Contract: () => Contract,
|
|
89
|
+
ContractRMQAdapter: () => ContractRMQAdapter,
|
|
89
90
|
ContractStatusEnum: () => ContractStatusEnum,
|
|
91
|
+
ContractTCPAdapter: () => ContractTCPAdapter,
|
|
90
92
|
ContractTypeEnum: () => ContractTypeEnum,
|
|
91
93
|
Country: () => Country,
|
|
92
94
|
CreateAdminRoleDto: () => CreateAdminRoleDto,
|
|
@@ -5928,14 +5930,29 @@ var JobTCPAdapter = () => {
|
|
|
5928
5930
|
};
|
|
5929
5931
|
};
|
|
5930
5932
|
|
|
5931
|
-
// src/adapters/tcp/
|
|
5933
|
+
// src/adapters/tcp/contract.tcp.adapter.ts
|
|
5932
5934
|
var import_dotenv3 = require("dotenv");
|
|
5933
5935
|
var import_microservices3 = require("@nestjs/microservices");
|
|
5934
5936
|
(0, import_dotenv3.config)();
|
|
5937
|
+
var ContractTCPAdapter = () => {
|
|
5938
|
+
return {
|
|
5939
|
+
name: "CONTRACT_MICROSERVICE",
|
|
5940
|
+
transport: import_microservices3.Transport.TCP,
|
|
5941
|
+
options: {
|
|
5942
|
+
host: process.env.CONTRACT_MICROSERVICE_TCP_HOST || "localhost",
|
|
5943
|
+
port: parseInt(process.env.CONTRACT_MICROSERVICE_TCP_PORT || "4004", 10)
|
|
5944
|
+
}
|
|
5945
|
+
};
|
|
5946
|
+
};
|
|
5947
|
+
|
|
5948
|
+
// src/adapters/tcp/notification.tcp.adapter.ts
|
|
5949
|
+
var import_dotenv4 = require("dotenv");
|
|
5950
|
+
var import_microservices4 = require("@nestjs/microservices");
|
|
5951
|
+
(0, import_dotenv4.config)();
|
|
5935
5952
|
var NotificationTCPAdapter = () => {
|
|
5936
5953
|
return {
|
|
5937
5954
|
name: "NOTIFICATION_MICROSERVICE",
|
|
5938
|
-
transport:
|
|
5955
|
+
transport: import_microservices4.Transport.TCP,
|
|
5939
5956
|
options: {
|
|
5940
5957
|
host: process.env.NOTIFICATION_MICROSERVICE_TCP_HOST || "localhost",
|
|
5941
5958
|
port: parseInt(process.env.NOTIFICATION_MICROSERVICE_TCP_PORT || "4003", 10)
|
|
@@ -5944,9 +5961,9 @@ var NotificationTCPAdapter = () => {
|
|
|
5944
5961
|
};
|
|
5945
5962
|
|
|
5946
5963
|
// src/adapters/rmq/user.rmq.adapter.ts
|
|
5947
|
-
var
|
|
5948
|
-
var
|
|
5949
|
-
(0,
|
|
5964
|
+
var import_dotenv5 = require("dotenv");
|
|
5965
|
+
var import_microservices5 = require("@nestjs/microservices");
|
|
5966
|
+
(0, import_dotenv5.config)();
|
|
5950
5967
|
var UserRMQAdapter = (mode = "microservice") => {
|
|
5951
5968
|
const urls = process.env.USER_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
5952
5969
|
"amqp://localhost:5672"
|
|
@@ -5963,9 +5980,9 @@ var UserRMQAdapter = (mode = "microservice") => {
|
|
|
5963
5980
|
const messageTtl = parseInt(
|
|
5964
5981
|
process.env.USER_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
5965
5982
|
);
|
|
5966
|
-
const
|
|
5983
|
+
const config9 = {
|
|
5967
5984
|
name: "USER_MICROSERVICE",
|
|
5968
|
-
transport:
|
|
5985
|
+
transport: import_microservices5.Transport.RMQ,
|
|
5969
5986
|
options: {
|
|
5970
5987
|
urls,
|
|
5971
5988
|
queue,
|
|
@@ -5995,15 +6012,15 @@ var UserRMQAdapter = (mode = "microservice") => {
|
|
|
5995
6012
|
}
|
|
5996
6013
|
};
|
|
5997
6014
|
if (mode === "microservice") {
|
|
5998
|
-
|
|
6015
|
+
config9["options"]["noAck"] = false;
|
|
5999
6016
|
}
|
|
6000
|
-
return
|
|
6017
|
+
return config9;
|
|
6001
6018
|
};
|
|
6002
6019
|
|
|
6003
6020
|
// src/adapters/rmq/job.rmq.adapter.ts
|
|
6004
|
-
var
|
|
6005
|
-
var
|
|
6006
|
-
(0,
|
|
6021
|
+
var import_dotenv6 = require("dotenv");
|
|
6022
|
+
var import_microservices6 = require("@nestjs/microservices");
|
|
6023
|
+
(0, import_dotenv6.config)();
|
|
6007
6024
|
var JobRMQAdapter = (mode = "microservice") => {
|
|
6008
6025
|
const urls = process.env.JOB_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6009
6026
|
"amqp://localhost:5672"
|
|
@@ -6020,9 +6037,9 @@ var JobRMQAdapter = (mode = "microservice") => {
|
|
|
6020
6037
|
const messageTtl = parseInt(
|
|
6021
6038
|
process.env.JOB_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6022
6039
|
);
|
|
6023
|
-
const
|
|
6040
|
+
const config9 = {
|
|
6024
6041
|
name: "JOB_MICROSERVICE",
|
|
6025
|
-
transport:
|
|
6042
|
+
transport: import_microservices6.Transport.RMQ,
|
|
6026
6043
|
options: {
|
|
6027
6044
|
urls,
|
|
6028
6045
|
queue,
|
|
@@ -6052,15 +6069,72 @@ var JobRMQAdapter = (mode = "microservice") => {
|
|
|
6052
6069
|
}
|
|
6053
6070
|
};
|
|
6054
6071
|
if (mode === "microservice") {
|
|
6055
|
-
|
|
6072
|
+
config9["options"]["noAck"] = false;
|
|
6073
|
+
}
|
|
6074
|
+
return config9;
|
|
6075
|
+
};
|
|
6076
|
+
|
|
6077
|
+
// src/adapters/rmq/contract.rmq.adapter.ts
|
|
6078
|
+
var import_dotenv7 = require("dotenv");
|
|
6079
|
+
var import_microservices7 = require("@nestjs/microservices");
|
|
6080
|
+
(0, import_dotenv7.config)();
|
|
6081
|
+
var ContractRMQAdapter = (mode = "microservice") => {
|
|
6082
|
+
const urls = process.env.CONTRACT_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6083
|
+
"amqp://localhost:5672"
|
|
6084
|
+
];
|
|
6085
|
+
const queue = process.env.CONTRACT_MICROSERVICE_RMQ_QUEUE || "contract_queue";
|
|
6086
|
+
const prefetchCount = parseInt(
|
|
6087
|
+
process.env.CONTRACT_MICROSERVICE_RMQ_PREFETCH_COUNT || "10"
|
|
6088
|
+
);
|
|
6089
|
+
const heartbeat = parseInt(
|
|
6090
|
+
process.env.CONTRACT_MICROSERVICE_RMQ_HEARTBEAT || "60"
|
|
6091
|
+
);
|
|
6092
|
+
const deadLetterExchange = process.env.CONTRACT_MICROSERVICE_RMQ_DLX || "contract_dlx";
|
|
6093
|
+
const deadLetterQueue = process.env.CONTRACT_MICROSERVICE_RMQ_DLQ || "contract_dlq";
|
|
6094
|
+
const messageTtl = parseInt(
|
|
6095
|
+
process.env.CONTRACT_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6096
|
+
);
|
|
6097
|
+
const config9 = {
|
|
6098
|
+
name: "CONTRACT_MICROSERVICE",
|
|
6099
|
+
transport: import_microservices7.Transport.RMQ,
|
|
6100
|
+
options: {
|
|
6101
|
+
urls,
|
|
6102
|
+
queue,
|
|
6103
|
+
prefetchCount,
|
|
6104
|
+
heartbeat,
|
|
6105
|
+
queueOptions: {
|
|
6106
|
+
durable: true,
|
|
6107
|
+
arguments: {
|
|
6108
|
+
"x-dead-letter-exchange": deadLetterExchange,
|
|
6109
|
+
"x-dead-letter-routing-key": deadLetterQueue,
|
|
6110
|
+
"x-message-ttl": messageTtl
|
|
6111
|
+
}
|
|
6112
|
+
},
|
|
6113
|
+
connectionOptions: {
|
|
6114
|
+
heartbeat,
|
|
6115
|
+
retry: true,
|
|
6116
|
+
retryAttempts: 5,
|
|
6117
|
+
retryDelay: 3e3,
|
|
6118
|
+
timeout: 1e4,
|
|
6119
|
+
poolSize: parseInt(process.env.CONTRACT_MICROSERVICE_RMQ_POOL_SIZE || "5"),
|
|
6120
|
+
...process.env.CONTRACT_MICROSERVICE_RMQ_USE_SSL === "true" && {
|
|
6121
|
+
ssl: {
|
|
6122
|
+
rejectUnauthorized: false
|
|
6123
|
+
}
|
|
6124
|
+
}
|
|
6125
|
+
}
|
|
6126
|
+
}
|
|
6127
|
+
};
|
|
6128
|
+
if (mode === "microservice") {
|
|
6129
|
+
config9["options"]["noAck"] = false;
|
|
6056
6130
|
}
|
|
6057
|
-
return
|
|
6131
|
+
return config9;
|
|
6058
6132
|
};
|
|
6059
6133
|
|
|
6060
6134
|
// src/adapters/rmq/notification.rmq.adapter.ts
|
|
6061
|
-
var
|
|
6062
|
-
var
|
|
6063
|
-
(0,
|
|
6135
|
+
var import_dotenv8 = require("dotenv");
|
|
6136
|
+
var import_microservices8 = require("@nestjs/microservices");
|
|
6137
|
+
(0, import_dotenv8.config)();
|
|
6064
6138
|
var NotificationRMQAdapter = (mode = "microservice") => {
|
|
6065
6139
|
const urls = process.env.NOTIFICATION_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6066
6140
|
"amqp://localhost:5672"
|
|
@@ -6077,9 +6151,9 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
6077
6151
|
const messageTtl = parseInt(
|
|
6078
6152
|
process.env.NOTIFICATION_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6079
6153
|
);
|
|
6080
|
-
const
|
|
6154
|
+
const config9 = {
|
|
6081
6155
|
name: "NOTIFICATION_MICROSERVICE",
|
|
6082
|
-
transport:
|
|
6156
|
+
transport: import_microservices8.Transport.RMQ,
|
|
6083
6157
|
options: {
|
|
6084
6158
|
urls,
|
|
6085
6159
|
queue,
|
|
@@ -6109,9 +6183,9 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
6109
6183
|
}
|
|
6110
6184
|
};
|
|
6111
6185
|
if (mode === "microservice") {
|
|
6112
|
-
|
|
6186
|
+
config9["options"]["noAck"] = false;
|
|
6113
6187
|
}
|
|
6114
|
-
return
|
|
6188
|
+
return config9;
|
|
6115
6189
|
};
|
|
6116
6190
|
|
|
6117
6191
|
// src/entities/sequence-generator.entity.ts
|
|
@@ -6716,7 +6790,9 @@ StripeLog = __decorateClass([
|
|
|
6716
6790
|
CompanyRolePermission,
|
|
6717
6791
|
CompanySkill,
|
|
6718
6792
|
Contract,
|
|
6793
|
+
ContractRMQAdapter,
|
|
6719
6794
|
ContractStatusEnum,
|
|
6795
|
+
ContractTCPAdapter,
|
|
6720
6796
|
ContractTypeEnum,
|
|
6721
6797
|
Country,
|
|
6722
6798
|
CreateAdminRoleDto,
|
package/dist/index.mjs
CHANGED
|
@@ -6063,14 +6063,29 @@ var JobTCPAdapter = () => {
|
|
|
6063
6063
|
};
|
|
6064
6064
|
};
|
|
6065
6065
|
|
|
6066
|
-
// src/adapters/tcp/
|
|
6066
|
+
// src/adapters/tcp/contract.tcp.adapter.ts
|
|
6067
6067
|
import { config as config3 } from "dotenv";
|
|
6068
6068
|
import { Transport as Transport3 } from "@nestjs/microservices";
|
|
6069
6069
|
config3();
|
|
6070
|
+
var ContractTCPAdapter = () => {
|
|
6071
|
+
return {
|
|
6072
|
+
name: "CONTRACT_MICROSERVICE",
|
|
6073
|
+
transport: Transport3.TCP,
|
|
6074
|
+
options: {
|
|
6075
|
+
host: process.env.CONTRACT_MICROSERVICE_TCP_HOST || "localhost",
|
|
6076
|
+
port: parseInt(process.env.CONTRACT_MICROSERVICE_TCP_PORT || "4004", 10)
|
|
6077
|
+
}
|
|
6078
|
+
};
|
|
6079
|
+
};
|
|
6080
|
+
|
|
6081
|
+
// src/adapters/tcp/notification.tcp.adapter.ts
|
|
6082
|
+
import { config as config4 } from "dotenv";
|
|
6083
|
+
import { Transport as Transport4 } from "@nestjs/microservices";
|
|
6084
|
+
config4();
|
|
6070
6085
|
var NotificationTCPAdapter = () => {
|
|
6071
6086
|
return {
|
|
6072
6087
|
name: "NOTIFICATION_MICROSERVICE",
|
|
6073
|
-
transport:
|
|
6088
|
+
transport: Transport4.TCP,
|
|
6074
6089
|
options: {
|
|
6075
6090
|
host: process.env.NOTIFICATION_MICROSERVICE_TCP_HOST || "localhost",
|
|
6076
6091
|
port: parseInt(process.env.NOTIFICATION_MICROSERVICE_TCP_PORT || "4003", 10)
|
|
@@ -6079,9 +6094,9 @@ var NotificationTCPAdapter = () => {
|
|
|
6079
6094
|
};
|
|
6080
6095
|
|
|
6081
6096
|
// src/adapters/rmq/user.rmq.adapter.ts
|
|
6082
|
-
import { config as
|
|
6083
|
-
import { Transport as
|
|
6084
|
-
|
|
6097
|
+
import { config as config5 } from "dotenv";
|
|
6098
|
+
import { Transport as Transport5 } from "@nestjs/microservices";
|
|
6099
|
+
config5();
|
|
6085
6100
|
var UserRMQAdapter = (mode = "microservice") => {
|
|
6086
6101
|
const urls = process.env.USER_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6087
6102
|
"amqp://localhost:5672"
|
|
@@ -6098,9 +6113,9 @@ var UserRMQAdapter = (mode = "microservice") => {
|
|
|
6098
6113
|
const messageTtl = parseInt(
|
|
6099
6114
|
process.env.USER_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6100
6115
|
);
|
|
6101
|
-
const
|
|
6116
|
+
const config9 = {
|
|
6102
6117
|
name: "USER_MICROSERVICE",
|
|
6103
|
-
transport:
|
|
6118
|
+
transport: Transport5.RMQ,
|
|
6104
6119
|
options: {
|
|
6105
6120
|
urls,
|
|
6106
6121
|
queue,
|
|
@@ -6130,15 +6145,15 @@ var UserRMQAdapter = (mode = "microservice") => {
|
|
|
6130
6145
|
}
|
|
6131
6146
|
};
|
|
6132
6147
|
if (mode === "microservice") {
|
|
6133
|
-
|
|
6148
|
+
config9["options"]["noAck"] = false;
|
|
6134
6149
|
}
|
|
6135
|
-
return
|
|
6150
|
+
return config9;
|
|
6136
6151
|
};
|
|
6137
6152
|
|
|
6138
6153
|
// src/adapters/rmq/job.rmq.adapter.ts
|
|
6139
|
-
import { config as
|
|
6140
|
-
import { Transport as
|
|
6141
|
-
|
|
6154
|
+
import { config as config6 } from "dotenv";
|
|
6155
|
+
import { Transport as Transport6 } from "@nestjs/microservices";
|
|
6156
|
+
config6();
|
|
6142
6157
|
var JobRMQAdapter = (mode = "microservice") => {
|
|
6143
6158
|
const urls = process.env.JOB_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6144
6159
|
"amqp://localhost:5672"
|
|
@@ -6155,9 +6170,9 @@ var JobRMQAdapter = (mode = "microservice") => {
|
|
|
6155
6170
|
const messageTtl = parseInt(
|
|
6156
6171
|
process.env.JOB_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6157
6172
|
);
|
|
6158
|
-
const
|
|
6173
|
+
const config9 = {
|
|
6159
6174
|
name: "JOB_MICROSERVICE",
|
|
6160
|
-
transport:
|
|
6175
|
+
transport: Transport6.RMQ,
|
|
6161
6176
|
options: {
|
|
6162
6177
|
urls,
|
|
6163
6178
|
queue,
|
|
@@ -6187,15 +6202,72 @@ var JobRMQAdapter = (mode = "microservice") => {
|
|
|
6187
6202
|
}
|
|
6188
6203
|
};
|
|
6189
6204
|
if (mode === "microservice") {
|
|
6190
|
-
|
|
6205
|
+
config9["options"]["noAck"] = false;
|
|
6206
|
+
}
|
|
6207
|
+
return config9;
|
|
6208
|
+
};
|
|
6209
|
+
|
|
6210
|
+
// src/adapters/rmq/contract.rmq.adapter.ts
|
|
6211
|
+
import { config as config7 } from "dotenv";
|
|
6212
|
+
import { Transport as Transport7 } from "@nestjs/microservices";
|
|
6213
|
+
config7();
|
|
6214
|
+
var ContractRMQAdapter = (mode = "microservice") => {
|
|
6215
|
+
const urls = process.env.CONTRACT_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6216
|
+
"amqp://localhost:5672"
|
|
6217
|
+
];
|
|
6218
|
+
const queue = process.env.CONTRACT_MICROSERVICE_RMQ_QUEUE || "contract_queue";
|
|
6219
|
+
const prefetchCount = parseInt(
|
|
6220
|
+
process.env.CONTRACT_MICROSERVICE_RMQ_PREFETCH_COUNT || "10"
|
|
6221
|
+
);
|
|
6222
|
+
const heartbeat = parseInt(
|
|
6223
|
+
process.env.CONTRACT_MICROSERVICE_RMQ_HEARTBEAT || "60"
|
|
6224
|
+
);
|
|
6225
|
+
const deadLetterExchange = process.env.CONTRACT_MICROSERVICE_RMQ_DLX || "contract_dlx";
|
|
6226
|
+
const deadLetterQueue = process.env.CONTRACT_MICROSERVICE_RMQ_DLQ || "contract_dlq";
|
|
6227
|
+
const messageTtl = parseInt(
|
|
6228
|
+
process.env.CONTRACT_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6229
|
+
);
|
|
6230
|
+
const config9 = {
|
|
6231
|
+
name: "CONTRACT_MICROSERVICE",
|
|
6232
|
+
transport: Transport7.RMQ,
|
|
6233
|
+
options: {
|
|
6234
|
+
urls,
|
|
6235
|
+
queue,
|
|
6236
|
+
prefetchCount,
|
|
6237
|
+
heartbeat,
|
|
6238
|
+
queueOptions: {
|
|
6239
|
+
durable: true,
|
|
6240
|
+
arguments: {
|
|
6241
|
+
"x-dead-letter-exchange": deadLetterExchange,
|
|
6242
|
+
"x-dead-letter-routing-key": deadLetterQueue,
|
|
6243
|
+
"x-message-ttl": messageTtl
|
|
6244
|
+
}
|
|
6245
|
+
},
|
|
6246
|
+
connectionOptions: {
|
|
6247
|
+
heartbeat,
|
|
6248
|
+
retry: true,
|
|
6249
|
+
retryAttempts: 5,
|
|
6250
|
+
retryDelay: 3e3,
|
|
6251
|
+
timeout: 1e4,
|
|
6252
|
+
poolSize: parseInt(process.env.CONTRACT_MICROSERVICE_RMQ_POOL_SIZE || "5"),
|
|
6253
|
+
...process.env.CONTRACT_MICROSERVICE_RMQ_USE_SSL === "true" && {
|
|
6254
|
+
ssl: {
|
|
6255
|
+
rejectUnauthorized: false
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
};
|
|
6261
|
+
if (mode === "microservice") {
|
|
6262
|
+
config9["options"]["noAck"] = false;
|
|
6191
6263
|
}
|
|
6192
|
-
return
|
|
6264
|
+
return config9;
|
|
6193
6265
|
};
|
|
6194
6266
|
|
|
6195
6267
|
// src/adapters/rmq/notification.rmq.adapter.ts
|
|
6196
|
-
import { config as
|
|
6197
|
-
import { Transport as
|
|
6198
|
-
|
|
6268
|
+
import { config as config8 } from "dotenv";
|
|
6269
|
+
import { Transport as Transport8 } from "@nestjs/microservices";
|
|
6270
|
+
config8();
|
|
6199
6271
|
var NotificationRMQAdapter = (mode = "microservice") => {
|
|
6200
6272
|
const urls = process.env.NOTIFICATION_MICROSERVICE_RMQ_URL?.split(",") || [
|
|
6201
6273
|
"amqp://localhost:5672"
|
|
@@ -6212,9 +6284,9 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
6212
6284
|
const messageTtl = parseInt(
|
|
6213
6285
|
process.env.NOTIFICATION_MICROSERVICE_RMQ_MESSAGE_TTL || "30000"
|
|
6214
6286
|
);
|
|
6215
|
-
const
|
|
6287
|
+
const config9 = {
|
|
6216
6288
|
name: "NOTIFICATION_MICROSERVICE",
|
|
6217
|
-
transport:
|
|
6289
|
+
transport: Transport8.RMQ,
|
|
6218
6290
|
options: {
|
|
6219
6291
|
urls,
|
|
6220
6292
|
queue,
|
|
@@ -6244,9 +6316,9 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
6244
6316
|
}
|
|
6245
6317
|
};
|
|
6246
6318
|
if (mode === "microservice") {
|
|
6247
|
-
|
|
6319
|
+
config9["options"]["noAck"] = false;
|
|
6248
6320
|
}
|
|
6249
|
-
return
|
|
6321
|
+
return config9;
|
|
6250
6322
|
};
|
|
6251
6323
|
|
|
6252
6324
|
// src/entities/sequence-generator.entity.ts
|
|
@@ -6861,7 +6933,9 @@ export {
|
|
|
6861
6933
|
CompanyRolePermission,
|
|
6862
6934
|
CompanySkill,
|
|
6863
6935
|
Contract,
|
|
6936
|
+
ContractRMQAdapter,
|
|
6864
6937
|
ContractStatusEnum,
|
|
6938
|
+
ContractTCPAdapter,
|
|
6865
6939
|
ContractTypeEnum,
|
|
6866
6940
|
Country,
|
|
6867
6941
|
CreateAdminRoleDto,
|