@experts_hub/shared 1.0.569 → 1.0.571

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.
Files changed (67) hide show
  1. package/dist/index.d.mts +242 -2
  2. package/dist/index.d.ts +242 -2
  3. package/dist/index.js +1739 -1002
  4. package/dist/index.mjs +1569 -875
  5. package/dist/modules/authentication/dto/index.d.ts +3 -0
  6. package/dist/modules/authentication/dto/social-auth.dto.d.ts +7 -0
  7. package/dist/modules/authentication/dto/validate-email.dto.d.ts +3 -0
  8. package/dist/modules/authentication/dto/validate-mobile.dto.d.ts +3 -0
  9. package/dist/modules/contract/dto/escrow-fund-contract.dto.d.ts +6 -0
  10. package/dist/modules/contract/dto/esign-contract-client.dto.d.ts +3 -0
  11. package/dist/modules/contract/dto/esign-contract-freelancer.dto.d.ts +3 -0
  12. package/dist/modules/contract/dto/generate-contract.dto.d.ts +5 -0
  13. package/dist/modules/contract/dto/index.d.ts +4 -0
  14. package/dist/modules/freelancer-admin/dto/index.d.ts +2 -0
  15. package/dist/modules/freelancer-admin/dto/send-ai-assessment-link.dto.d.ts +3 -0
  16. package/dist/modules/freelancer-admin/dto/update-assessment-request-status.dto.d.ts +10 -0
  17. package/dist/modules/interview/dto/capture-ai-interview-result-public.dto.d.ts +5 -0
  18. package/dist/modules/interview/dto/create-interview-basic-information.dto.d.ts +10 -0
  19. package/dist/modules/interview/dto/index.d.ts +4 -0
  20. package/dist/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.d.ts +1 -1
  21. package/dist/modules/interview/dto/update-interview-basic-information.dto.d.ts +8 -0
  22. package/dist/modules/job/dto/create-job-application.dto.d.ts +1 -1
  23. package/dist/modules/notification/dto/index.d.ts +1 -0
  24. package/dist/modules/notification/dto/test-notification.dto.d.ts +7 -0
  25. package/dist/modules/notification/index.d.ts +1 -0
  26. package/dist/modules/onboarding/dto/index.d.ts +1 -0
  27. package/dist/modules/onboarding/dto/verify-onboarding-token.dto.d.ts +3 -0
  28. package/dist/modules/otp/dto/index.d.ts +2 -0
  29. package/dist/modules/otp/dto/send-otp.dto.d.ts +9 -0
  30. package/dist/modules/otp/dto/verify-otp.dto.d.ts +5 -0
  31. package/dist/modules/question/dto/index.d.ts +2 -0
  32. package/dist/modules/question/dto/record-assessment-answer.dto.d.ts +6 -0
  33. package/dist/modules/question/dto/record-assessment-answers.dto.d.ts +5 -0
  34. package/dist/modules/senseloaf/dto/ai-assessment-creation.dto.d.ts +6 -0
  35. package/dist/modules/senseloaf/dto/ai-interview-link-generation.dto.d.ts +6 -0
  36. package/dist/modules/senseloaf/dto/ai-interview-template-generation.dto.d.ts +6 -0
  37. package/dist/modules/senseloaf/dto/check-resume-eligibility.dto.d.ts +5 -0
  38. package/dist/modules/senseloaf/dto/index.d.ts +6 -0
  39. package/dist/modules/senseloaf/dto/resume-data-processing.dto.d.ts +5 -0
  40. package/dist/modules/senseloaf/dto/resume-parsing-by-url.dto.d.ts +4 -0
  41. package/dist/modules/stripe/dto/client-add-fund.dto.d.ts +5 -0
  42. package/dist/modules/stripe/dto/create-payout.dto.d.ts +6 -0
  43. package/dist/modules/stripe/dto/index.d.ts +4 -0
  44. package/dist/modules/stripe/dto/pre-checkout-calculation.dto.d.ts +5 -0
  45. package/dist/modules/stripe/dto/transfer-funds.dto.d.ts +5 -0
  46. package/dist/modules/timesheet/dto/create-default-timesheet-line.dto.d.ts +5 -0
  47. package/dist/modules/timesheet/dto/index.d.ts +1 -0
  48. package/dist/modules/user/client-candidate-preference/dto/index.d.ts +2 -0
  49. package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.d.ts +3 -0
  50. package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.d.ts +3 -0
  51. package/dist/modules/user/client-candidate-preference/index.d.ts +1 -0
  52. package/dist/modules/user/client-profile/dto/client-e-signature.dto.d.ts +3 -0
  53. package/dist/modules/user/client-profile/dto/client-service-agreement-upload.dto.d.ts +3 -0
  54. package/dist/modules/user/client-profile/dto/fetch-freelancer-info-for-chat.dto.d.ts +3 -0
  55. package/dist/modules/user/client-profile/dto/index.d.ts +3 -0
  56. package/dist/modules/user/freelancer-profile/dto/capture-ai-assessment-result.dto.d.ts +5 -0
  57. package/dist/modules/user/freelancer-profile/dto/fetch-client-info-for-chat.dto.d.ts +3 -0
  58. package/dist/modules/user/freelancer-profile/dto/freelancer-e-signature.dto.d.ts +3 -0
  59. package/dist/modules/user/freelancer-profile/dto/index.d.ts +3 -0
  60. package/dist/modules/user/signature/dto/index.d.ts +1 -0
  61. package/dist/modules/user/signature/dto/save-signature.dto.d.ts +4 -0
  62. package/dist/modules/user/signature/index.d.ts +1 -0
  63. package/dist/modules/wallet/dto/add-topup-escrow-amount.dto.d.ts +3 -0
  64. package/dist/modules/wallet/dto/debit-commission-fte-hiring.dto.d.ts +4 -0
  65. package/dist/modules/wallet/dto/index.d.ts +2 -0
  66. package/dist/modules/wallet/index.d.ts +1 -0
  67. package/package.json +1 -1
@@ -6,3 +6,6 @@ export * from './forgot-password.dto';
6
6
  export * from './reset-password.dto';
7
7
  export * from './set-password.dto';
8
8
  export * from './reset-password-token-validation.dto';
9
+ export * from './validate-email.dto';
10
+ export * from './validate-mobile.dto';
11
+ export * from './social-auth.dto';
@@ -0,0 +1,7 @@
1
+ export declare class SocialAuthDto {
2
+ accessToken?: string;
3
+ refreshToken?: string;
4
+ profile?: any;
5
+ provider?: string;
6
+ providerId?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ export declare class ValidateEmailDto {
2
+ email: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class ValidateMobileDto {
2
+ mobile: string;
3
+ }
@@ -0,0 +1,6 @@
1
+ export declare class EscrowFundContractDto {
2
+ contractId: number;
3
+ amount: number;
4
+ currency?: string;
5
+ description?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ export declare class EsignContractClientDto {
2
+ contractUuid: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class EsignContractFreelancerDto {
2
+ contractUuid: string;
3
+ }
@@ -0,0 +1,5 @@
1
+ export declare class GenerateContractDto {
2
+ hiringId: number;
3
+ contractType?: string;
4
+ templateId?: string;
5
+ }
@@ -1,2 +1,6 @@
1
1
  export * from './sign-contract-for-client.dto';
2
2
  export * from './sign-contract-for-freelancer.dto';
3
+ export * from './generate-contract.dto';
4
+ export * from './esign-contract-client.dto';
5
+ export * from './esign-contract-freelancer.dto';
6
+ export * from './escrow-fund-contract.dto';
@@ -1,2 +1,4 @@
1
1
  export * from './create-freelancer.dto';
2
2
  export * from './update-freelancer.dto';
3
+ export * from './send-ai-assessment-link.dto';
4
+ export * from './update-assessment-request-status.dto';
@@ -0,0 +1,3 @@
1
+ export declare class SendAiAssessmentLinkDto {
2
+ userId: number;
3
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum AssessmentRequestStatus {
2
+ PENDING = "PENDING",
3
+ APPROVED = "APPROVED",
4
+ REJECTED = "REJECTED",
5
+ EXPIRED = "EXPIRED"
6
+ }
7
+ export declare class UpdateAssessmentRequestStatusDto {
8
+ status: AssessmentRequestStatus;
9
+ remarks?: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ export declare class CaptureAiInterviewResultPublicDto {
2
+ aiInterviewUuid: string;
3
+ result?: any;
4
+ status?: string;
5
+ }
@@ -0,0 +1,10 @@
1
+ export declare class CreateInterviewBasicInformationDto {
2
+ jobId: number;
3
+ interviewType: string;
4
+ title?: string;
5
+ description?: string;
6
+ scheduledAt?: string;
7
+ duration?: number;
8
+ skillIds?: number[];
9
+ location?: string;
10
+ }
@@ -4,3 +4,7 @@ export * from './create-f2f-interview-direct.dto';
4
4
  export * from './create-f2f-interview-reschedule-request.dto';
5
5
  export * from './create-ai-interview-reschedule-request.dto';
6
6
  export * from './reject-ai-interview-reschedule-request.dto';
7
+ export * from './reject-f2f-interview-reschedule-request.dto';
8
+ export * from './capture-ai-interview-result-public.dto';
9
+ export * from './create-interview-basic-information.dto';
10
+ export * from './update-interview-basic-information.dto';
@@ -1,3 +1,3 @@
1
1
  export declare class RejectF2FInterviewRescheduleRequestDto {
2
- clientRejectReason: string;
2
+ reason?: string;
3
3
  }
@@ -0,0 +1,8 @@
1
+ export declare class UpdateInterviewBasicInformationDto {
2
+ title?: string;
3
+ description?: string;
4
+ scheduledAt?: string;
5
+ duration?: number;
6
+ skillIds?: number[];
7
+ location?: string;
8
+ }
@@ -1,4 +1,4 @@
1
1
  export declare class CreateJobApplicationDto {
2
- jobId: number;
2
+ jobId: string;
3
3
  isCta?: boolean;
4
4
  }
@@ -0,0 +1 @@
1
+ export * from './test-notification.dto';
@@ -0,0 +1,7 @@
1
+ export declare class TestNotificationDto {
2
+ email?: string;
3
+ phone?: string;
4
+ message?: string;
5
+ data?: any;
6
+ type?: string;
7
+ }
@@ -1 +1,2 @@
1
1
  export * from './pattern/pattern';
2
+ export * from './dto';
@@ -10,3 +10,4 @@ export * from './freelancer-profile-question.dto';
10
10
  export * from './freelancer-work-showcase.dto';
11
11
  export * from './client-profile-question.dto';
12
12
  export * from './client-create-account.dto';
13
+ export * from './verify-onboarding-token.dto';
@@ -0,0 +1,3 @@
1
+ export declare class VerifyOnboardingTokenDto {
2
+ token: string;
3
+ }
@@ -1,3 +1,5 @@
1
1
  export * from './send-guest-otp.dto';
2
2
  export * from './send-login-otp.dto';
3
3
  export * from './verify-guest-otp.dto';
4
+ export * from './send-otp.dto';
5
+ export * from './verify-otp.dto';
@@ -0,0 +1,9 @@
1
+ export declare enum OtpType {
2
+ SMS = "SMS",
3
+ EMAIL = "EMAIL"
4
+ }
5
+ export declare class SendOtpDto {
6
+ recipient: string;
7
+ type?: OtpType;
8
+ purpose?: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ export declare class VerifyOtpDto {
2
+ recipient: string;
3
+ otp: string;
4
+ purpose?: string;
5
+ }
@@ -1 +1,3 @@
1
1
  export * from './create-question.dto';
2
+ export * from './record-assessment-answer.dto';
3
+ export * from './record-assessment-answers.dto';
@@ -0,0 +1,6 @@
1
+ export declare class RecordAssessmentAnswerDto {
2
+ questionId: string;
3
+ answer: any;
4
+ assessmentId?: string;
5
+ userId?: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare class RecordAssessmentAnswersDto {
2
+ answers: any[];
3
+ assessmentId?: string;
4
+ userId?: string;
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare class AiAssessmentCreationDto {
2
+ userId: string;
3
+ assessmentType?: string;
4
+ numberOfQuestions?: number;
5
+ difficulty?: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare class AiInterviewLinkGenerationDto {
2
+ templateId: string;
3
+ freelancerId: string;
4
+ jobId?: string;
5
+ expiryHours?: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare class AiInterviewTemplateGenerationDto {
2
+ jobId: string;
3
+ skills?: string[];
4
+ numberOfQuestions?: number;
5
+ difficulty?: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare class CheckResumeEligibilityDto {
2
+ resumeData: any;
3
+ jobId?: string;
4
+ userId?: string;
5
+ }
@@ -1 +1,7 @@
1
1
  export * from './ai-interview-question-generate.dto';
2
+ export * from './resume-parsing-by-url.dto';
3
+ export * from './resume-data-processing.dto';
4
+ export * from './check-resume-eligibility.dto';
5
+ export * from './ai-interview-template-generation.dto';
6
+ export * from './ai-interview-link-generation.dto';
7
+ export * from './ai-assessment-creation.dto';
@@ -0,0 +1,5 @@
1
+ export declare class ResumeDataProcessingDto {
2
+ resumeData: any;
3
+ userId?: string;
4
+ processingType?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare class ResumeParsingByUrlDto {
2
+ resumeUrl: string;
3
+ fileName?: string;
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare class ClientAddFundDto {
2
+ amount: number;
3
+ currency?: string;
4
+ description?: string;
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare class CreatePayoutDto {
2
+ amount: number;
3
+ connectedAccountId: string;
4
+ method?: string;
5
+ description?: string;
6
+ }
@@ -1 +1,5 @@
1
1
  export * from './create-checkout-session.dto';
2
+ export * from './pre-checkout-calculation.dto';
3
+ export * from './client-add-fund.dto';
4
+ export * from './transfer-funds.dto';
5
+ export * from './create-payout.dto';
@@ -0,0 +1,5 @@
1
+ export declare class PreCheckoutCalculationDto {
2
+ amount: number;
3
+ currency?: string;
4
+ description?: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare class TransferFundsDto {
2
+ amount: number;
3
+ connectedAccountId: string;
4
+ description?: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare class CreateDefaultTimesheetLineDto {
2
+ contractId: number;
3
+ freelancerId: number;
4
+ clientId: number;
5
+ }
@@ -4,3 +4,4 @@ export * from './submit-timesheet.dto';
4
4
  export * from './resubmit-timesheet.dto';
5
5
  export * from './approve-timesheets.dto';
6
6
  export * from './send-back-timesheets.dto';
7
+ export * from './create-default-timesheet-line.dto';
@@ -0,0 +1,2 @@
1
+ export * from './mark-candidate-status.dto';
2
+ export * from './mark-candidate-status-bulk.dto';
@@ -0,0 +1,3 @@
1
+ export declare class MarkCandidateStatusBulkDto {
2
+ freelancerIds: number[];
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class MarkCandidateStatusDto {
2
+ freelancerId: number;
3
+ }
@@ -1 +1,2 @@
1
1
  export * from './pattern/pattern';
2
+ export * from './dto';
@@ -0,0 +1,3 @@
1
+ export declare class ClientESignatureDto {
2
+ agreementUuid: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class ClientServiceAgreementUploadDto {
2
+ agreementType?: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class FetchFreelancerInfoForChatDto {
2
+ freelancerId: number;
3
+ }
@@ -1,2 +1,5 @@
1
1
  export * from '../dto/update-client-profile.dto';
2
2
  export * from './client-change-password.dto';
3
+ export * from './client-service-agreement-upload.dto';
4
+ export * from './client-e-signature.dto';
5
+ export * from './fetch-freelancer-info-for-chat.dto';
@@ -0,0 +1,5 @@
1
+ export declare class CaptureAiAssessmentResultDto {
2
+ aiAssessmentUuid: string;
3
+ result?: any;
4
+ status?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ export declare class FetchClientInfoForChatDto {
2
+ clientId: number;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class FreelancerESignatureDto {
2
+ agreementUuid: string;
3
+ }
@@ -1,2 +1,5 @@
1
1
  export * from './freelancer-change-password.dto';
2
2
  export * from './update-freelancer-profile.dto';
3
+ export * from './freelancer-e-signature.dto';
4
+ export * from './fetch-client-info-for-chat.dto';
5
+ export * from './capture-ai-assessment-result.dto';
@@ -0,0 +1 @@
1
+ export * from './save-signature.dto';
@@ -0,0 +1,4 @@
1
+ export declare class SaveSignatureDto {
2
+ signatureType?: string;
3
+ description?: string;
4
+ }
@@ -1 +1,2 @@
1
1
  export * from './pattern/pattern';
2
+ export * from './dto';
@@ -0,0 +1,3 @@
1
+ export declare class AddTopupEscrowAmountDto {
2
+ amount: number;
3
+ }
@@ -0,0 +1,4 @@
1
+ export declare class DebitCommissionFteHiringDto {
2
+ hiringId: number;
3
+ amount: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './add-topup-escrow-amount.dto';
2
+ export * from './debit-commission-fte-hiring.dto';
@@ -1 +1,2 @@
1
1
  export * from './pattern/pattern';
2
+ export * from './dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.569",
3
+ "version": "1.0.571",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",