@experts_hub/shared 1.0.595 → 1.0.597

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 (37) hide show
  1. package/dist/index.d.mts +1986 -1876
  2. package/dist/index.d.ts +1986 -1876
  3. package/dist/index.js +6149 -5798
  4. package/dist/index.mjs +6318 -5944
  5. package/dist/modules/authentication/dto/index.d.ts +1 -0
  6. package/dist/modules/authentication/dto/validate-email-for-login.dto.d.ts +10 -0
  7. package/dist/modules/authentication/dto/validate-email.dto.d.ts +7 -0
  8. package/dist/modules/authentication/dto/validate-mobile.dto.d.ts +1 -0
  9. package/dist/modules/client-admin/dto/create-client.dto.d.ts +10 -0
  10. package/dist/modules/contract/dto/escrow-fund-contract.dto.d.ts +1 -4
  11. package/dist/modules/contract/dto/generate-contract.dto.d.ts +18 -3
  12. package/dist/modules/contract/dto/index.d.ts +1 -0
  13. package/dist/modules/contract/dto/send-nda-contract-to-freelancer.dto.d.ts +3 -0
  14. package/dist/modules/freelancer-admin/dto/create-freelancer.dto.d.ts +11 -1
  15. package/dist/modules/freelancer-admin/dto/send-ai-assessment-link.dto.d.ts +1 -1
  16. package/dist/modules/freelancer-admin/dto/update-freelancer.dto.d.ts +7 -1
  17. package/dist/modules/interview/dto/create-f2f-interview-reschedule-request.dto.d.ts +1 -1
  18. package/dist/modules/interview/dto/create-interview-questions.dto.d.ts +13 -0
  19. package/dist/modules/interview/dto/create-interview-skills.dto.d.ts +8 -0
  20. package/dist/modules/interview/dto/index.d.ts +4 -0
  21. package/dist/modules/interview/dto/send-interview-invite.dto.d.ts +20 -0
  22. package/dist/modules/interview/dto/update-interview-setting.dto.d.ts +9 -0
  23. package/dist/modules/onboarding/dto/verify-onboarding-token.dto.d.ts +1 -1
  24. package/dist/modules/otp/dto/send-otp.dto.d.ts +1 -6
  25. package/dist/modules/otp/dto/verify-otp.dto.d.ts +1 -1
  26. package/dist/modules/stripe/dto/index.d.ts +0 -1
  27. package/dist/modules/stripe/dto/transfer-funds.dto.d.ts +1 -3
  28. package/dist/modules/timesheet/dto/approve-timesheets.dto.d.ts +1 -1
  29. package/dist/modules/timesheet/dto/send-back-timesheets.dto.d.ts +2 -2
  30. package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.d.ts +1 -0
  31. package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.d.ts +1 -0
  32. package/dist/modules/user/client-profile/dto/client-e-signature.dto.d.ts +1 -1
  33. package/dist/modules/user/freelancer-profile/dto/freelancer-e-signature.dto.d.ts +1 -1
  34. package/dist/modules/user/subadmin/dto/create-subadmin.dto.d.ts +5 -1
  35. package/dist/modules/user/subadmin/dto/update-subadmin.dto.d.ts +5 -1
  36. package/dist/modules/wallet/dto/debit-commission-fte-hiring.dto.d.ts +1 -2
  37. package/package.json +1 -1
@@ -7,5 +7,6 @@ export * from './reset-password.dto';
7
7
  export * from './set-password.dto';
8
8
  export * from './reset-password-token-validation.dto';
9
9
  export * from './validate-email.dto';
10
+ export * from './validate-email-for-login.dto';
10
11
  export * from './validate-mobile.dto';
11
12
  export * from './social-auth.dto';
@@ -0,0 +1,10 @@
1
+ export declare enum ScopeEmailForLoginEnumDto {
2
+ ADMIN = "ADMIN",
3
+ SUB_ADMIN = "SUB_ADMIN",
4
+ CLIENT = "CLIENT",
5
+ FREELANCER = "FREELANCER"
6
+ }
7
+ export declare class ValidateEmailForLoginDto {
8
+ email: string;
9
+ scope: ScopeEmailForLoginEnumDto;
10
+ }
@@ -1,3 +1,10 @@
1
+ export declare enum ScopeEmailEnumDto {
2
+ ADMIN = "ADMIN",
3
+ SUB_ADMIN = "SUB_ADMIN",
4
+ CLIENT = "CLIENT",
5
+ FREELANCER = "FREELANCER"
6
+ }
1
7
  export declare class ValidateEmailDto {
2
8
  email: string;
9
+ scope?: ScopeEmailEnumDto;
3
10
  }
@@ -1,3 +1,4 @@
1
1
  export declare class ValidateMobileDto {
2
+ mobileCode: string;
2
3
  mobile: string;
3
4
  }
@@ -12,6 +12,8 @@ export declare class CreateClientDto {
12
12
  firstName: string;
13
13
  lastName: string;
14
14
  email: string;
15
+ mobileCode: string;
16
+ phoneNumber: string;
15
17
  password: string;
16
18
  confirmPassword: string;
17
19
  companyName: string;
@@ -23,4 +25,12 @@ export declare class CreateClientDto {
23
25
  foundUsOnDetail?: string;
24
26
  hiringCommisionTypeForFte?: string;
25
27
  hiringCommissionValueForFte?: string;
28
+ about?: string;
29
+ webSite?: string;
30
+ companyAddress?: string;
31
+ addressLine?: string;
32
+ postalCode?: string;
33
+ countryId?: number;
34
+ stateId?: number;
35
+ cityId?: number;
26
36
  }
@@ -1,6 +1,3 @@
1
1
  export declare class EscrowFundContractDto {
2
- contractId: number;
3
- amount: number;
4
- currency?: string;
5
- description?: string;
2
+ contractId: string;
6
3
  }
@@ -1,5 +1,20 @@
1
+ export declare enum ContractSourceEnum {
2
+ AI_INTERVIEW = "AI_INTERVIEW",
3
+ F2F_INTERVIEW = "F2F_INTERVIEW",
4
+ JOB = "JOB"
5
+ }
6
+ export declare enum ContractTypeEnumDto {
7
+ NDA = "NDA",
8
+ WORK = "WORK",
9
+ SOW = "SOW",
10
+ MSA = "MSA"
11
+ }
1
12
  export declare class GenerateContractDto {
2
- hiringId: number;
3
- contractType?: string;
4
- templateId?: string;
13
+ jobId: string;
14
+ freelancerId: number;
15
+ contractType?: ContractTypeEnumDto;
16
+ contractStartDate?: string;
17
+ contractInvoicingCycle?: string;
18
+ source?: ContractSourceEnum;
19
+ sourceUuid?: string;
5
20
  }
@@ -4,3 +4,4 @@ export * from './generate-contract.dto';
4
4
  export * from './esign-contract-client.dto';
5
5
  export * from './esign-contract-freelancer.dto';
6
6
  export * from './escrow-fund-contract.dto';
7
+ export * from './send-nda-contract-to-freelancer.dto';
@@ -0,0 +1,3 @@
1
+ export declare class SendNdaContractToFreelancerDto {
2
+ contractUuid: string;
3
+ }
@@ -22,7 +22,7 @@ export declare class CreateFreelancerDto {
22
22
  confirmPassword: string;
23
23
  developer: boolean;
24
24
  natureOfWork: NatureOfWorkEnum;
25
- expectedHourlyCompensation: number;
25
+ expectedHourlyCompensation: string;
26
26
  expectedAnnualCompensation: string;
27
27
  numberOfHours?: number;
28
28
  modeOfWork: ModeOfWorkEnum;
@@ -33,5 +33,15 @@ export declare class CreateFreelancerDto {
33
33
  githubProfileLink?: string;
34
34
  stackOverflowProfileLink?: string;
35
35
  portfolioLink?: string;
36
+ file?: any;
37
+ designation?: string;
38
+ experience?: number;
39
+ address?: string;
40
+ addressLine?: string;
41
+ postalCode?: string;
42
+ about?: string;
43
+ countryId?: number;
44
+ stateId?: number;
45
+ cityId?: number;
36
46
  }
37
47
  export {};
@@ -1,3 +1,3 @@
1
1
  export declare class SendAiAssessmentLinkDto {
2
- userId: number;
2
+ uuid: string;
3
3
  }
@@ -13,10 +13,15 @@ export declare class UpdateFreelancerDto {
13
13
  email?: string;
14
14
  mobileCode?: string;
15
15
  mobile?: string;
16
+ address: string;
17
+ addressLine?: string;
18
+ countryId: number;
19
+ stateId: number;
20
+ cityId: number;
16
21
  password?: string;
17
22
  developer?: boolean;
18
23
  natureOfWork?: NatureOfWorkEnum;
19
- expectedHourlyCompensation?: number;
24
+ expectedHourlyCompensation: string;
20
25
  expectedAnnualCompensation: string;
21
26
  numberOfHours?: number;
22
27
  modeOfWork?: ModeOfWorkEnum;
@@ -27,5 +32,6 @@ export declare class UpdateFreelancerDto {
27
32
  githubProfileLink?: string;
28
33
  stackOverflowProfileLink?: string;
29
34
  portfolioLink?: string;
35
+ file?: any;
30
36
  }
31
37
  export {};
@@ -2,5 +2,5 @@ export declare class CreateF2FInterviewRescheduleRequestDto {
2
2
  f2FInterviewId: string;
3
3
  rescheduledDate: string;
4
4
  rescheduledSlot: string;
5
- freelancerRequestReason: string;
5
+ freelancerRequestReason?: string;
6
6
  }
@@ -0,0 +1,13 @@
1
+ export declare class CustomQuestionItemDto {
2
+ uuid?: string;
3
+ question: string;
4
+ }
5
+ export declare class AiQuestionItemDto {
6
+ uuid?: string;
7
+ question: string;
8
+ concepts?: string;
9
+ }
10
+ export declare class CreateInterviewQuestionsDto {
11
+ questions?: CustomQuestionItemDto[];
12
+ aiQuestions?: AiQuestionItemDto[];
13
+ }
@@ -0,0 +1,8 @@
1
+ export declare class InterviewSkillItemDto {
2
+ uuid?: string;
3
+ skill: string;
4
+ description?: string;
5
+ }
6
+ export declare class CreateInterviewSkillsDto {
7
+ skills: InterviewSkillItemDto[];
8
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './interview-invite.dto';
2
+ export * from './send-interview-invite.dto';
2
3
  export * from './create-f2f-interview.dto';
3
4
  export * from './create-f2f-interview-direct.dto';
4
5
  export * from './create-f2f-interview-reschedule-request.dto';
@@ -8,3 +9,6 @@ export * from './reject-f2f-interview-reschedule-request.dto';
8
9
  export * from './capture-ai-interview-result-public.dto';
9
10
  export * from './create-interview-basic-information.dto';
10
11
  export * from './update-interview-basic-information.dto';
12
+ export * from './create-interview-skills.dto';
13
+ export * from './create-interview-questions.dto';
14
+ export * from './update-interview-setting.dto';
@@ -0,0 +1,20 @@
1
+ export declare enum InterviewInviteCandidateType {
2
+ SHORTLISTED = "SHORTLISTED",
3
+ APPLICANTS = "APPLICANTS",
4
+ RECOMMENDED = "RECOMMENDED",
5
+ NEW = "NEW"
6
+ }
7
+ export declare class ExistingCandidateDto {
8
+ id: string;
9
+ type: InterviewInviteCandidateType;
10
+ }
11
+ export declare class NewCandidateDto {
12
+ name: string;
13
+ email: string;
14
+ type: InterviewInviteCandidateType;
15
+ }
16
+ export declare class SendInterviewInviteDto {
17
+ jobId: string;
18
+ existingCandidates?: ExistingCandidateDto[];
19
+ newCandidates?: NewCandidateDto[];
20
+ }
@@ -0,0 +1,9 @@
1
+ export declare class UpdateInterviewSettingDto {
2
+ interviewLanguage?: string;
3
+ allowProctoring?: boolean;
4
+ interviewDuration?: string;
5
+ interviewValidityPeriod?: string;
6
+ maximumAttemptsAllowed?: string;
7
+ startInterviewMessage?: string;
8
+ endInterviewMessage?: string;
9
+ }
@@ -1,3 +1,3 @@
1
1
  export declare class VerifyOnboardingTokenDto {
2
- token: string;
2
+ uuid: string;
3
3
  }
@@ -1,9 +1,4 @@
1
- export declare enum OtpType {
2
- SMS = "SMS",
3
- EMAIL = "EMAIL"
4
- }
5
1
  export declare class SendOtpDto {
6
- recipient: string;
7
- type?: OtpType;
2
+ userId: string;
8
3
  purpose?: string;
9
4
  }
@@ -1,5 +1,5 @@
1
1
  export declare class VerifyOtpDto {
2
- recipient: string;
2
+ userId: string;
3
3
  otp: string;
4
4
  purpose?: string;
5
5
  }
@@ -2,4 +2,3 @@ export * from './create-checkout-session.dto';
2
2
  export * from './pre-checkout-calculation.dto';
3
3
  export * from './client-add-fund.dto';
4
4
  export * from './transfer-funds.dto';
5
- export * from './create-payout.dto';
@@ -1,5 +1,3 @@
1
1
  export declare class TransferFundsDto {
2
- amount: number;
3
- connectedAccountId: string;
4
- description?: string;
2
+ invoiceUuid: string;
5
3
  }
@@ -1,3 +1,3 @@
1
1
  export declare class ApproveTimesheetsDto {
2
- timesheetLineIds: number[];
2
+ timesheetLineId: number;
3
3
  }
@@ -1,4 +1,4 @@
1
1
  export declare class SendBackTimesheetsDto {
2
- timesheetLineIds: number[];
3
- reason?: string;
2
+ timesheetLineId: number;
3
+ clientSendBackReason?: string;
4
4
  }
@@ -1,3 +1,4 @@
1
1
  export declare class MarkCandidateStatusBulkDto {
2
2
  candidateIds: number[];
3
+ jobId?: number;
3
4
  }
@@ -1,3 +1,4 @@
1
1
  export declare class MarkCandidateStatusDto {
2
2
  candidateId: number;
3
+ jobId?: number;
3
4
  }
@@ -1,3 +1,3 @@
1
1
  export declare class ClientESignatureDto {
2
- agreementUuid: string;
2
+ uuid: string;
3
3
  }
@@ -1,3 +1,3 @@
1
1
  export declare class FreelancerESignatureDto {
2
- agreementUuid: string;
2
+ uuid: string;
3
3
  }
@@ -1,4 +1,7 @@
1
- import { AccountType } from "../../../../entities/user.entity";
1
+ declare enum AccountType {
2
+ ADMIN = "ADMIN",
3
+ SUB_ADMIN = "SUB_ADMIN"
4
+ }
2
5
  export declare class CreateSubAdminDto {
3
6
  userName: string;
4
7
  firstName: string;
@@ -10,3 +13,4 @@ export declare class CreateSubAdminDto {
10
13
  password: string;
11
14
  roleIds: string;
12
15
  }
16
+ export {};
@@ -1,4 +1,7 @@
1
- import { AccountType } from '../../../../entities/user.entity';
1
+ declare enum AccountType {
2
+ ADMIN = "ADMIN",
3
+ SUB_ADMIN = "SUB_ADMIN"
4
+ }
2
5
  export declare class UpdateSubAdminDto {
3
6
  userName: string;
4
7
  firstName: string;
@@ -10,3 +13,4 @@ export declare class UpdateSubAdminDto {
10
13
  password?: string;
11
14
  roleIds: string;
12
15
  }
16
+ export {};
@@ -1,4 +1,3 @@
1
1
  export declare class DebitCommissionFteHiringDto {
2
- hiringId: number;
3
- amount: number;
2
+ invoiceUuid: string;
4
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.595",
3
+ "version": "1.0.597",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",