@experts_hub/shared 1.0.596 → 1.0.598

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/index.d.mts CHANGED
@@ -310,856 +310,740 @@ declare const SUBADMIN_PATTERN: {
310
310
  fetchSubAdminCount: string;
311
311
  };
312
312
 
313
- declare abstract class BaseEntity {
314
- id: number;
315
- uuid: string;
316
- createdAt: Date;
317
- createdBy: number;
318
- updatedAt: Date;
319
- updatedBy: number;
320
- isDeleted: boolean;
321
- deletedBy: number;
322
- deletedAt: Date;
313
+ declare enum AccountType$2 {
314
+ ADMIN = "ADMIN",
315
+ SUB_ADMIN = "SUB_ADMIN"
323
316
  }
324
-
325
- declare class RefreshToken {
326
- id: string;
327
- userId: number;
328
- tokenId: string;
329
- deviceInfo: any;
330
- isRevoked: boolean;
331
- expiresAt: Date;
332
- createdAt: Date;
333
- updatedAt: Date;
334
- user: User;
317
+ declare class CreateSubAdminDto {
318
+ userName: string;
319
+ firstName: string;
320
+ lastName: string;
321
+ accountType: AccountType$2;
322
+ email: string;
323
+ mobileCode: string;
324
+ mobile: string;
325
+ password: string;
326
+ roleIds: string;
335
327
  }
336
328
 
337
- declare class SenseloafLog {
338
- id: number;
339
- userId: number;
340
- type: string;
341
- endpoint: string;
342
- success: boolean;
343
- request: any;
344
- response: any;
345
- errorMessage: string;
346
- scope: string;
347
- createdAt: Date;
348
- user: User;
329
+ declare class UpdateSubAdminAccountStatusDto {
330
+ accountStatus: string;
349
331
  }
350
332
 
351
- declare class Otp {
352
- id: number;
353
- userId: number;
354
- otp: string;
355
- otpPurpose: string;
356
- target: string;
357
- fallbackTarget: string;
358
- expiresAt: Date;
359
- isUsed: boolean;
360
- isVerified: boolean;
361
- resendCount: number;
362
- createdAt: Date;
363
- user: User;
333
+ declare enum AccountType$1 {
334
+ ADMIN = "ADMIN",
335
+ SUB_ADMIN = "SUB_ADMIN"
336
+ }
337
+ declare class UpdateSubAdminDto {
338
+ userName: string;
339
+ firstName: string;
340
+ lastName: string;
341
+ accountType: AccountType$1;
342
+ email: string;
343
+ mobileCode: string;
344
+ mobile: string;
345
+ password?: string;
346
+ roleIds: string;
364
347
  }
365
348
 
366
- declare enum KindOfHire {
367
- FULLTIME = "FULLTIME",
368
- PARTTIME = "PARTTIME",
369
- BOTH = "BOTH",
370
- HOURLY = "HOURLY",
371
- FREELANCE = "FREELANCE",
372
- FTE = "FTE"
349
+ interface IFetchSubAdminQuery {
350
+ page_size?: number;
351
+ page: number;
352
+ searchText?: string;
353
+ username: string;
354
+ right: string;
355
+ sortColumn?: string;
356
+ sortBy?: string;
373
357
  }
374
- declare enum ModeOfHire {
375
- ONSITE = "ONSITE",
376
- REMOTE = "REMOTE",
377
- HYBRID = "HYBRID",
378
- BOTH = "BOTH"
358
+ interface IFetchSubAdminResponse {
359
+ statusCode: number;
360
+ status: boolean;
361
+ message: string;
362
+ data: any;
379
363
  }
380
- declare enum FromUsOn {
381
- LINKEDIN = "LINKEDIN",
382
- GOOGLE = "GOOGLE",
383
- REFERRAL = "REFERRAL",
384
- OTHER = "OTHER"
364
+ interface IFetchSubAdminByIdQuery {
365
+ permission?: string;
385
366
  }
386
- declare enum CompanyOnboardingStepEnum {
387
- SIGN_UP = "SIGN_UP",
388
- PROFILE_COMPLETION = "PROFILE_COMPLETION"
367
+ interface IFetchSubAdminByIdResponse {
368
+ statusCode: number;
369
+ status: boolean;
370
+ message: string;
371
+ data: any;
389
372
  }
390
- declare enum HiringCommissionTypeEnum {
391
- PERCENTAGE = "PERCENTAGE",
392
- AMOUNT = "AMOUNT"
373
+ interface ICreateSubAdminPayload {
374
+ uniqueId: string;
375
+ username: string;
376
+ firstName: string;
377
+ lastName: string;
378
+ email: string;
379
+ mobile: string;
380
+ password: string;
381
+ accountType: string;
382
+ accountStatus: string;
393
383
  }
394
- declare class CompanyProfile extends BaseEntity {
395
- userId: number;
396
- user: User;
397
- companyName: string;
398
- bio: string;
399
- webSite: string;
400
- aboutCompany: string;
401
- isServiceAgreementSigned: boolean;
402
- originalDocumentUrl: string;
403
- serviceAgreementUrl: string;
404
- serviceAggrementSignedOn: Date;
384
+ interface ICreateSubAdminResponse {
385
+ statusCode: number;
386
+ status: boolean;
387
+ message: string;
388
+ }
389
+ interface IUpdateSubAdminPayload {
390
+ uniqueId: string;
391
+ username: string;
392
+ firstName: string;
393
+ lastName: string;
394
+ email: string;
395
+ mobile: string;
396
+ password: string;
397
+ accountType: string;
398
+ accountStatus: string;
399
+ }
400
+ interface IUpdateSubAdminResponse {
401
+ statusCode: number;
402
+ status: boolean;
403
+ message: string;
404
+ }
405
+ interface IUpdateSubAdminAccountStatusPayload {
406
+ accountSatus: string;
407
+ }
408
+ interface IUpdateSubAdminAccountStatusResponse {
409
+ statusCode: number;
410
+ status: boolean;
411
+ message: string;
412
+ }
413
+ interface IDeleteSubAdminResponse {
414
+ statusCode: number;
415
+ status: boolean;
416
+ message: string;
417
+ }
418
+ interface IAttachPermissionsToSubAdminResponse {
419
+ statusCode: number;
420
+ status: boolean;
421
+ message: string;
422
+ }
423
+
424
+ declare const CLIENT_PROFILE_PATTERN: {
425
+ fetchClientProfileQuestions: string;
426
+ fetchClientProfile: string;
427
+ fetchClientPublicProfile: string;
428
+ updateClientProfile: string;
429
+ updateClientLogo: string;
430
+ changeClientPassword: string;
431
+ uploadClientServiceAgreement: string;
432
+ fetchClientServiceAgreement: string;
433
+ generateClientServiceAgreement: string;
434
+ esignClientServiceAgreementForClient: string;
435
+ fetchClientServiceAgreementStatus: string;
436
+ fetchRecommendedFreelancers: string;
437
+ fetchRecommendedFreelancersV2: string;
438
+ fetchRecommendedFreelancersDropdownV2: string;
439
+ clientDataAlteration: string;
440
+ fetchFreelancersForComparison: string;
441
+ deleteClientProfilePic: string;
442
+ fetchFreelancerInfoForChat: string;
443
+ fetchClientAndFreelancerDetailsForChatChannelCreation: string;
444
+ };
445
+
446
+ declare class UpdateCompanyProfileDto {
447
+ companyName?: string;
448
+ webSite?: string;
405
449
  countryId: number;
406
- country: Country;
407
450
  stateId: number;
408
- state: State;
409
451
  cityId: number;
410
- city: City;
411
452
  companyAddress: string;
412
453
  addressLine: string;
413
454
  postalCode: string;
414
- phoneNumber: string;
415
- skills: string[];
416
- requiredFreelancer: string;
417
- kindOfHiring: KindOfHire;
418
- numberOfHours: number;
419
- modeOfHire: ModeOfHire;
420
- foundUsOn: FromUsOn;
421
- foundUsOnDetail: string;
422
- onboardingStepCompleted: CompanyOnboardingStepEnum;
423
- signaturePositions: any;
424
- hiringCommisionTypeForFte: HiringCommissionTypeEnum;
425
- hiringCommissionValueForFte: number;
426
- rating: number;
455
+ mobileCode: string;
456
+ phoneNumber?: string;
457
+ email?: string;
458
+ aboutCompany?: string;
427
459
  }
428
460
 
429
- declare class City extends BaseEntity {
430
- countryId: number;
431
- country: Country;
432
- stateId: number;
433
- state: State;
434
- cityCode: string;
435
- cityName: string;
436
- isActive: boolean;
437
- freelancerProfile: FreelancerProfile[];
438
- companyProfile: CompanyProfile[];
461
+ declare class ClientChangePasswordDto {
462
+ newPassword: string;
463
+ confirmPassword: string;
439
464
  }
440
465
 
441
- declare class State extends BaseEntity {
442
- countryId: number;
443
- country: Country;
444
- cities: City[];
445
- stateName: string;
446
- stateCode: string;
447
- isActive: boolean;
448
- freelancerProfile: FreelancerProfile[];
449
- companyProfile: CompanyProfile[];
466
+ declare class ClientServiceAgreementUploadDto {
467
+ agreementType?: string;
450
468
  }
451
469
 
452
- declare class Country extends BaseEntity {
453
- countryName: string;
454
- countryIsoCode: string;
455
- countryPhoneCode: string;
456
- currency: string;
457
- isActive: boolean;
458
- states: State[];
459
- freelancerProfile: FreelancerProfile[];
460
- companyProfile: CompanyProfile[];
470
+ declare class ClientESignatureDto {
471
+ uuid: string;
461
472
  }
462
473
 
463
- declare enum NatureOfWork {
464
- FULLTIME = "FULLTIME",
465
- PARTTIME = "PARTTIME",
466
- BOTH = "BOTH",
467
- HOURLY = "HOURLY",
468
- FREELANCE = "FREELANCE",
469
- FTE = "FTE"
470
- }
471
- declare enum ModeOfWork {
472
- ONSITE = "ONSITE",
473
- REMOTE = "REMOTE",
474
- HYBRID = "HYBRID",
475
- BOTH = "BOTH"
474
+ declare class FetchFreelancerInfoForChatDto {
475
+ freelancerId: number;
476
476
  }
477
- declare enum OnboardingStepEnum {
478
- SIGN_UP = "SIGN_UP",
479
- UPLOAD_RESUME = "UPLOAD_RESUME",
480
- PARSE_RESUME = "PARSE_RESUME",
481
- MCQ_ASSESSMENT_INITIATED = "MCQ_ASSESSMENT_INITIATED",
482
- MCQ_ASSESSMENT_COMPLETED = "MCQ_ASSESSMENT_COMPLETED",
483
- AI_ASSESSMENT_INITIATED = "AI_ASSESSMENT_INITIATED",
484
- AI_ASSESSMENT_COMPLETED = "AI_ASSESSMENT_COMPLETED",
485
- CODING_CHALLENGE = "CODING_CHALLENGE",
486
- PROFILE_COMPLETION = "PROFILE_COMPLETION"
477
+
478
+ interface IFetchClientProfileQuery {
479
+ page_size?: number;
480
+ page: number;
481
+ searchText?: string;
482
+ companyName: string;
483
+ right: string;
484
+ sortColumn?: string;
485
+ sortBy?: string;
487
486
  }
488
- declare enum McqStatusEnum {
489
- NOT_ATTEMPTED = "NOT_ATTEMPTED",
490
- PASSED = "PASSED",
491
- FAILED = "FAILED"
487
+ interface IFetchClientProfileResponse {
488
+ statusCode: number;
489
+ status: boolean;
490
+ message: string;
491
+ data: any;
492
492
  }
493
- declare enum AiAssessmentStatusEnum {
494
- NOT_ATTEMPTED = "NOT_ATTEMPTED",
495
- COMPELETED = "COMPELETED",
496
- PASSED = "PASSED",
497
- FAILED = "FAILED",
498
- SKIPPED = "SKIPPED",
499
- EXITED = "EXITED"
493
+ interface IUpdateClientProfilePayload {
494
+ userId?: number;
495
+ companyName?: string;
496
+ bio?: string;
497
+ webSite?: string;
498
+ isServiceAgreementSigned?: boolean;
499
+ aboutCompany: string;
500
+ companyAddress: string;
501
+ phoneNumber: string;
502
+ skills?: string[];
503
+ requiredFreelancer?: string;
504
+ kindOfHiring?: string;
505
+ modeOfHire?: string;
506
+ foundUsOn?: string;
500
507
  }
501
- declare class FreelancerProfile extends BaseEntity {
502
- userId: number;
503
- user: User;
504
- countryId: number;
505
- country: Country;
506
- stateId: number;
507
- state: State;
508
- cityId: number;
509
- city: City;
510
- talentId: string;
511
- resumeUrl: string;
512
- resumeUploadedOn: Date;
513
- resumeEligibility: string;
514
- resumeScore: string;
515
- mcqStatus: McqStatusEnum;
516
- mcqScore: number;
517
- isEligibleForAiAssessment: boolean;
518
- aiAssessmentStatus: AiAssessmentStatusEnum;
519
- isDeveloper: boolean;
520
- natureOfWork: NatureOfWork;
521
- numberOfHours: number;
522
- currency: string;
523
- expectedHourlyCompensation: number;
524
- expectedAnnualCompensation: number;
525
- modeOfWork: ModeOfWork;
526
- availabilityToJoin: string;
527
- isImmediateJoiner: boolean;
528
- linkedinProfileLink: string;
529
- kaggleProfileLink: string;
530
- githubProfileLink: string;
531
- stackOverflowProfileLink: string;
532
- portfolioLink: string;
533
- onboardingStepCompleted: OnboardingStepEnum;
534
- designation: string;
535
- experience: string;
536
- address: string;
537
- addressLine: string;
538
- postalCode: string;
539
- about: string;
540
- profileCompletedPercentage: Record<string, number>;
541
- originalDocumentUrl: string;
542
- isServiceAgreementSigned: boolean;
543
- serviceAgreementUrl: string;
544
- serviceAggrementSignedOn: Date;
545
- isExpertshubVerified: boolean;
546
- isFollowedOnLinkedIn: boolean;
547
- signaturePositions: any;
548
- rating: number;
508
+ interface IUpdateClientLogoPayload {
509
+ logo: string;
549
510
  }
550
-
551
- declare enum JobSkillCategoryEnum {
552
- GOOD_TO_HAVE = 0,
553
- MUST_HAVE = 1
511
+ interface IUpdateClientLogoResponse {
512
+ statusCode: number;
513
+ status: boolean;
514
+ message: string;
554
515
  }
555
- declare class JobSkill extends BaseEntity {
556
- jobId: number;
557
- job: Job;
558
- skillName: string;
559
- skillCategory: JobSkillCategoryEnum;
516
+ interface IUpdateClientPasswordPayload {
517
+ oldPassword: string;
518
+ newPassword: string;
560
519
  }
561
-
562
- declare enum ApplicationStatusEnum {
563
- PENDING = "PENDING",
564
- SHORTLISTED = "SHORTLISTED",
565
- INTERVIEW_IN_PROGRESS = "INTERVIEW_IN_PROGRESS",
566
- INTERVIEWED = "INTERVIEWED",
567
- OFFERED = "OFFERED",
568
- HIRED = "HIRED",
569
- REJECTED_BEFORE_INTERVIEW = "REJECTED_BEFORE_INTERVIEW",
570
- REJECTED_IN_INTERVIEW = "REJECTED_IN_INTERVIEW",
571
- REJECTED_AFTER_INTERVIEW = "REJECTED_AFTER_INTERVIEW",
572
- NOT_SUITABLE = "NOT_SUITABLE",
573
- WITHDRAWN = "WITHDRAWN"
520
+ interface IUpdateClientProfileResponse {
521
+ statusCode: number;
522
+ status: boolean;
523
+ message: string;
574
524
  }
575
- declare class JobApplication extends BaseEntity {
576
- jobApplicationId: string;
577
- jobId: number;
578
- job: Job;
579
- userId: number;
580
- user: User;
581
- status: ApplicationStatusEnum;
582
- appliedAt: Date;
583
- shortlistedAt: Date;
584
- interviewStartedAt: Date;
585
- interviewCompletedAt: Date;
586
- offeredAt: Date;
587
- hiredAt: Date;
588
- rejectedAt: Date;
589
- rejectionReason: string;
590
- withdrawnAt: Date;
591
- withdrawnReason: string;
525
+ interface IUpdateClientProfileResponse {
526
+ statusCode: number;
527
+ status: boolean;
528
+ message: string;
592
529
  }
593
530
 
594
- declare class InterviewSkill extends BaseEntity {
595
- interviewId: number;
596
- interview: Interview;
597
- skill: string;
598
- description: string;
599
- isActive: boolean;
600
- }
531
+ declare const ONBOARDING_QUESTION_PATTERN: {
532
+ fetchOnboardingQuestions: string;
533
+ };
534
+ declare const ASSESSMENT_QUESTION_PATTERN: {
535
+ fetchAssessmentQuestions: string;
536
+ handleAssessmentQuestionImport: string;
537
+ handelAssessmentRecordAnswer: string;
538
+ handelAssessmentRecordAnswers: string;
539
+ fetchAssessmentSummary: string;
540
+ };
601
541
 
602
- declare enum InterviewQuestionType {
603
- AI = "AI",
604
- CUSTOM = "CUSTOM"
605
- }
606
- declare class InterviewQuestion extends BaseEntity {
607
- interviewId: number;
608
- interview: Interview;
542
+ declare class CreateQuestionDto {
543
+ questionId: string;
609
544
  question: string;
610
- concepts: string[];
611
- questionType: InterviewQuestionType;
545
+ questionFor: string;
546
+ options: string;
612
547
  isActive: boolean;
613
548
  }
614
549
 
615
- declare enum InterviewInviteStatusEnum {
616
- PENDING = "PENDING",
617
- ACCEPTED = "ACCEPTED",
618
- REJECTED = "REJECTED",
619
- EXPIRED = "EXPIRED"
620
- }
621
- declare class InterviewInvite extends BaseEntity {
622
- interviewId: number;
623
- interview: Interview;
624
- userId: number;
625
- user: User;
626
- jobId: number;
627
- job: Job;
628
- fullName: string;
629
- email: string;
630
- mobileCode: string;
631
- mobile: string;
632
- status: InterviewInviteStatusEnum;
633
- sentAt: Date;
634
- expiresAt: Date;
635
- respondedAt?: Date;
636
- token: string;
637
- talentId: string;
550
+ declare class RecordAssessmentAnswerDto {
551
+ questionId: string;
552
+ answer: any;
553
+ assessmentId?: string;
554
+ userId?: string;
638
555
  }
639
556
 
640
- declare enum AiInterviewRescheduleRequestStatusEnum {
641
- PENDING = "PENDING",
642
- APPROVED = "APPROVED",
643
- REJECTED = "REJECTED"
644
- }
645
- declare class AiInterviewRescheduleRequest extends BaseEntity {
646
- candidateId: number;
647
- candidate: User;
648
- clientId: number;
649
- client: User;
650
- aiInterviewId: number;
651
- aiInterview: AiInterview;
652
- interviewId: number;
653
- rescheduledDate: Date;
654
- status: AiInterviewRescheduleRequestStatusEnum;
655
- clientRejectReason: string;
656
- freelancerRequestReason: string;
557
+ declare class RecordAssessmentAnswersDto {
558
+ answers: any[];
559
+ assessmentId?: string;
560
+ userId?: string;
657
561
  }
658
562
 
659
- declare enum AiInterviewStatusEnum {
660
- NOT_ATTEMPTED = "NOT_ATTEMPTED",
661
- ATTEMPTED = "ATTEMPTED",
662
- PENDING = "PENDING",
663
- ACTIVE = "ACTIVE",
664
- IN_PROGRESS = "IN_PROGRESS",
665
- IN_COMPLETE = "IN_COMPLETE",
666
- COMPELETED = "COMPELETED",
667
- PASSED = "PASSED",
668
- FAILED = "FAILED",
669
- EXPIRED = "EXPIRED",
670
- POSTPONED = "POSTPONED",
671
- RESCHEDULED = "RESCHEDULED",
672
- EXITED = "EXITED"
563
+ interface IFetchQuestionQuery {
564
+ page_size?: number;
565
+ page: number;
566
+ searchText?: string;
567
+ question: string;
568
+ right: string;
569
+ sortColumn?: string;
570
+ sortBy?: string;
571
+ type?: string;
673
572
  }
674
- declare enum ResultStatusEnum {
675
- NOT_EVALUATED = "NOT_EVALUATED",
676
- EVALUATING = "EVALUATING",
677
- PASSED = "PASSED",
678
- FAILED = "FAILED"
573
+ interface IFetchQuestionResponse {
574
+ statusCode: number;
575
+ status: boolean;
576
+ message: string;
577
+ data: any;
679
578
  }
680
- declare enum RecordingStatusEnum {
681
- PROCESSING = "PROCESSING",
682
- COMPLETED = "COMPLETED",
683
- FAILED = "FAILED"
579
+
580
+ declare const JOB_ROLE_PATTERN: {
581
+ fetchJobRolesForDropdown: string;
582
+ };
583
+ declare const JOB_PATTERN: {
584
+ fetchJobs: string;
585
+ fetchJobsPublic: string;
586
+ fetchRecentJobs: string;
587
+ fetchJobCountAsPerStatus: string;
588
+ fetchJobCountPublic: string;
589
+ fetchJobsDropdown: string;
590
+ fetchJobDetail: string;
591
+ fetchJobDetailPublic: string;
592
+ handleJdUpload: string;
593
+ fetchJobBasicInformation: string;
594
+ createJobBasicInformation: string;
595
+ updateJobBasicInformation: string;
596
+ fetchJobAdditionalComments: string;
597
+ updateJobAdditionalComments: string;
598
+ fetchJobDescription: string;
599
+ updateJobDescription: string;
600
+ updateJobStatus: string;
601
+ closeJob: string;
602
+ searchJobsByRoleAndSkills: string;
603
+ handleBulkRecommendationAdjustment: string;
604
+ refreshJobFreelancerRecommendationView: string;
605
+ fetchJobConfig: string;
606
+ fetchJobRoleSuggestions: string;
607
+ fetchJobCount: string;
608
+ fetchJobsDropdownForFilters: string;
609
+ fetchJobsDropdownForInterview: string;
610
+ fetchJobsDropdownForFreelancer: string;
611
+ fetchJobDetailForFreelancer: string;
612
+ fetchJobBasicInformationV2: string;
613
+ createJobBasicInformationV2: string;
614
+ updateJobBasicInformationV2: string;
615
+ deleteJob: string;
616
+ fetchRecommendedFreelancersForJobs: string;
617
+ fetchRecommendedFreelancersForJob: string;
618
+ fetchRecommendedFreelancersForJobV2: string;
619
+ handleJobViwedCountIncrement: string;
620
+ fetchJobByIdForTimesheet: string;
621
+ jobDataSetup: string;
622
+ fetchJobsForComparison: string;
623
+ fetchJobSkillDropdownForClient: string;
624
+ };
625
+ declare const JOB_APPLICATION_PATTERN: {
626
+ fetchJobApplicationCountAsPerStatusByJobId: string;
627
+ fetchJobApplicationsByJobId: string;
628
+ fetchJobApplicants: string;
629
+ createJobApplication: string;
630
+ changeJobApplicationStatus: string;
631
+ changeJobApplicationStatusInBulk: string;
632
+ };
633
+
634
+ declare enum JobLocationEnum$1 {
635
+ ONSITE = "ONSITE",
636
+ REMOTE = "REMOTE",
637
+ HYBRID = "HYBRID"
684
638
  }
685
- declare class AiInterview extends BaseEntity {
686
- aiInterviewUniqueId: string;
687
- candidateId: number;
688
- candidate: User;
689
- interviwerId: number;
690
- interviwer: User;
691
- interviewId: number;
692
- interview: Interview;
693
- inviteId: number;
694
- candidateInterviewId: string;
695
- candidateInterviewLink: string;
696
- hasAttempted: boolean;
697
- attemptedAt: Date;
698
- completedAt: Date;
699
- exitedAt: Date;
700
- expiredAt: Date;
701
- status: AiInterviewStatusEnum;
702
- resultStatus: ResultStatusEnum;
703
- recordingStatus: RecordingStatusEnum;
704
- isRescheduled: boolean;
705
- rescheduledAt: Date;
706
- recordingLink: string;
707
- iframeResponse: string;
708
- interviewInsight: string;
709
- isF2fInterviewScheduled: boolean;
710
- isContractSent: boolean;
711
- attempts: number;
712
- rescheduleRequests: AiInterviewRescheduleRequest[];
639
+ declare enum EmploymentType {
640
+ FULLTIME = "FULLTIME",
641
+ PARTTIME = "PARTTIME",
642
+ BOTH = "BOTH",
643
+ HOURLY = "HOURLY",
644
+ FREELANCE = "FREELANCE",
645
+ FTE = "FTE"
646
+ }
647
+ declare class JobBasicInformationDto {
648
+ isDraft?: boolean;
649
+ jobRole: string;
650
+ jobRoleCanonicalName?: string;
651
+ projectName?: string;
652
+ note?: string;
653
+ skills: string[];
654
+ goodToHaveSkills: string[];
655
+ openings: number;
656
+ location: JobLocationEnum$1;
657
+ countryId: number;
658
+ stateId: number;
659
+ cityId: number;
660
+ typeOfEmployment: EmploymentType;
661
+ currency?: string;
662
+ expectedSalaryFrom: number;
663
+ hideExpectedSalaryFrom: boolean;
664
+ expectedSalaryTo: number;
665
+ hideExpectedSalaryTo: boolean;
666
+ years: string;
667
+ months: string;
668
+ weeks: string;
669
+ days: string;
670
+ numberOfHours: number;
671
+ candidateCommunicationSkills?: string;
672
+ academicQualification?: string;
673
+ yearsOfExperience?: string;
674
+ businessIndustry?: string;
675
+ additionalComment?: string;
713
676
  }
714
677
 
715
- declare enum F2fInterviewRescheduleRequestStatusEnum {
716
- PENDING = "PENDING",
717
- APPROVED = "APPROVED",
718
- REJECTED = "REJECTED",
719
- INPROGRESS = "INPROGRESS",
720
- AUTOCANCELLED = "AUTOCANCELLED"
678
+ declare class JobAdditionalCommentDto {
679
+ additionalComment?: string;
721
680
  }
722
- declare class F2fInterviewRescheduleRequest extends BaseEntity {
723
- candidateId: number;
724
- candidate: User;
725
- f2fInterviewId: number;
726
- f2fInterview: F2FInterview;
727
- rescheduledDate: Date;
728
- rescheduledSlot: string;
729
- status: F2fInterviewRescheduleRequestStatusEnum;
730
- clientRejectReason: string;
731
- freelancerRequestReason: string;
681
+
682
+ declare class JobDescriptionDto {
683
+ isDraft?: boolean;
684
+ description: string;
732
685
  }
733
686
 
734
- declare enum F2fInterviewScheduleStatusEnum {
687
+ declare enum JobStatus {
735
688
  ACTIVE = "ACTIVE",
736
- COMPELETED = "COMPELETED",
737
- RESCHEDULED = "RESCHEDULED",
738
- CANCELLED = "CANCELLED"
689
+ OPEN = "OPEN",
690
+ DRAFT = "DRAFT",
691
+ ONHOLD = "ONHOLD",
692
+ CLOSED = "CLOSED"
739
693
  }
740
- declare class F2FInterviewSchedule extends BaseEntity {
741
- f2fInterviewId: number;
742
- f2fInterview: F2FInterview;
743
- eventId: string;
744
- meetingZoomLink: string;
745
- meetingId: string;
746
- meetingPasscode: string;
747
- rescheduleUrl: string;
748
- cancelUrl: string;
749
- status: F2fInterviewScheduleStatusEnum;
750
- meetingStartTime: Date;
751
- meetingEndTime: Date;
752
- meetingEligibleStartTime: Date;
753
- meetingEligibleExpiryTime: Date;
754
- meetingVideoRecordingUrl: string;
755
- meetingAudioRecordingUrl: string;
756
- meetingTranscript: any;
757
- meetingRecordings: any;
694
+ declare class JobStatusDto {
695
+ status: JobStatus;
758
696
  }
759
697
 
760
- declare enum F2fInterviewStatusEnum {
761
- DRAFTED = "DRAFTED",
762
- NOT_ATTEMPTED = "NOT_ATTEMPTED",
763
- ACTIVE = "ACTIVE",
764
- COMPELETED = "COMPELETED",
765
- EXPIRED = "EXPIRED",
766
- POSTPONED = "POSTPONED",
767
- RESCHEDULED = "RESCHEDULED",
768
- EXITED = "EXITED",
769
- CANCELLED = "CANCELLED"
770
- }
771
- declare class F2FInterview extends BaseEntity {
772
- interviewUniqueId: string;
773
- round: string;
774
- jobId?: number;
775
- job?: Job;
776
- interviewId?: number;
777
- interview?: Interview;
778
- interviwerId: number;
779
- interviwer: User;
780
- candidateId: number;
781
- candidate: User;
782
- inviteeEmail: string;
783
- inviteeName: string;
784
- eventName: string;
785
- status: F2fInterviewStatusEnum;
786
- isRescheduled: boolean;
787
- lastRescheduledAt: Date;
788
- cancelledAt: Date;
789
- cancelReason: string;
790
- provider: string;
791
- meetingStartedOn: Date;
792
- meetingEndedOn: Date;
793
- isContractSent: boolean;
794
- schedules: F2FInterviewSchedule[];
795
- rescheduleRequests: F2fInterviewRescheduleRequest[];
698
+ declare class JobIdParamDto {
699
+ id: string;
796
700
  }
797
701
 
798
- declare enum InterviewStatusEnum {
799
- DRAFTED = "DRAFTED",
800
- PUBLISHED = "PUBLISHED",
801
- INACTIVE = "INACTIVE",
802
- DISCARDED = "DISCARDED",
803
- ARCHIVED = "ARCHIVED"
702
+ declare enum JobLocationEnumV2 {
703
+ ONSITE = "ONSITE",
704
+ REMOTE = "REMOTE",
705
+ HYBRID = "HYBRID"
804
706
  }
805
- declare class Interview extends BaseEntity {
806
- interviewId: string;
807
- userId: number;
808
- user: User;
809
- interviewName: string;
810
- jobId: number;
811
- job: Job;
812
- interviewType: string;
813
- interviewLanguage: string;
814
- allowProctoring: boolean;
815
- interviewDuration: string;
816
- interviewValidityPeriod: string;
817
- maximumAttemptsAllowed: string;
818
- startInterviewPrompt: string;
819
- endInterviewPrompt: string;
820
- interviewTemplateId: string;
821
- status: InterviewStatusEnum;
822
- interviewSkills: InterviewSkill[];
823
- interviewQuestions: InterviewQuestion[];
824
- invites: InterviewInvite[];
825
- aiInterviews: AiInterview[];
826
- f2fInterviews: F2FInterview[];
707
+ declare enum EmploymentTypeV2 {
708
+ FULLTIME = "FULLTIME",
709
+ PARTTIME = "PARTTIME",
710
+ BOTH = "BOTH",
711
+ HOURLY = "HOURLY",
712
+ FREELANCE = "FREELANCE",
713
+ FTE = "FTE"
827
714
  }
828
-
829
- declare enum ClientCandidatePreferenceEnum {
830
- NOT_SUITABLE = "NOT_SUITABLE",
831
- SHORTLISTED = "SHORTLISTED"
715
+ declare enum typeOfExperienceDtoEnumV2 {
716
+ SINGLE = "SINGLE",
717
+ RANGE = "RANGE"
832
718
  }
833
- declare class ClientCandidatePreference extends BaseEntity {
834
- clientId: number;
835
- client: User;
836
- candidateId: number;
837
- candidate: User;
838
- jobId?: number;
839
- job?: Job;
840
- recommendationId?: number;
841
- recommendation?: JobRecommendation;
842
- preference: ClientCandidatePreferenceEnum;
719
+ declare enum StepCompletedEnumV2 {
720
+ BASIC_INFORMATION = "BASIC_INFORMATION",
721
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
843
722
  }
844
-
845
- declare class JobRecommendation {
846
- id: number;
847
- jobId: number;
848
- job: Job;
849
- freelancerId: number;
850
- clientId: number;
851
- matchScore: number;
852
- matchScoreSummary?: Record<string, any>;
853
- matchingSkills: string[];
854
- matchingSkillsCount: number;
855
- requiredSkills: string[];
856
- requiredSkillsCount: number;
857
- lastCalculatedAt: Date;
858
- preference: ClientCandidatePreference[];
723
+ declare class JobLocationDto {
724
+ countryId: number | null;
725
+ stateId: number | null;
726
+ cityId: number | null;
727
+ countryName?: string | null;
728
+ stateName?: string | null;
729
+ cityName?: string | null;
859
730
  }
860
-
861
- declare class TimesheetLogs extends BaseEntity {
862
- timesheetLineId: number;
863
- timesheetLine: TimesheetLine;
864
- startDate: Date;
865
- endDate: Date;
866
- startTime: string;
867
- endTime: string;
868
- workedHours: string;
869
- taskId: number;
731
+ declare class JobBasicInformationV2Dto {
732
+ isDraft?: boolean;
733
+ jobRole: string;
734
+ jobRoleCanonicalName?: string;
870
735
  projectName?: string;
871
- deliverable?: string;
872
- taskName: string;
873
- description: string;
736
+ note?: string;
737
+ skills: string[];
738
+ goodToHaveSkills: string[];
739
+ openings: number;
740
+ locationMode: JobLocationEnumV2;
741
+ locations: JobLocationDto[];
742
+ typeOfEmployment: EmploymentTypeV2;
743
+ currency?: string;
744
+ expectedSalaryFrom: number;
745
+ hideExpectedSalaryFrom: boolean;
746
+ expectedSalaryTo: number;
747
+ hideExpectedSalaryTo: boolean;
748
+ expectedAnnualBudgetFrom: number;
749
+ hideExpectedAnnualBudgetFrom: boolean;
750
+ expectedAnnualBudgetTo: number;
751
+ hideExpectedAnnualBudgetTo: boolean;
752
+ years: string;
753
+ months: string;
754
+ weeks: string;
755
+ days: string;
756
+ numberOfHours: number;
757
+ candidateCommunicationSkills?: string;
758
+ academicQualification?: string;
759
+ yearsOfExperienceFrom?: string;
760
+ yearsOfExperienceTo?: string;
761
+ businessIndustry?: string;
762
+ stepCompleted?: StepCompletedEnumV2;
763
+ additionalComment?: string;
874
764
  }
875
765
 
876
- declare enum TimesheetLineHistoryStatusEnum {
877
- DRAFT = "DRAFT",
878
- SEND = "SEND",
879
- SEND_BACK = "SEND_BACK",
880
- APPROVED = "APPROVED",
881
- REJECTED = "REJECTED",
882
- PAID = "PAID",
883
- MISSING = "MISSING",
884
- ACTIVE = "ACTIVE"
885
- }
886
- declare enum TimesheetSubmissionActionEnum {
887
- SUBMITTED = "SUBMITTED",
888
- RESUBMITTED = "RESUBMITTED",
889
- SEND_BACK = "SEND_BACK",
890
- APPROVED = "APPROVED",
891
- REJECTED = "REJECTED",
892
- PAID = "PAID"
766
+ declare class CloseJobDto {
767
+ reason?: string;
893
768
  }
894
- declare class TimesheetLineHistory extends BaseEntity {
895
- timesheetLineId: number;
896
- timesheetLine: TimesheetLine;
897
- changedBy: number;
898
- previousStatus: TimesheetLineHistoryStatusEnum;
899
- newStatus: TimesheetLineHistoryStatusEnum;
900
- actionType: TimesheetSubmissionActionEnum;
901
- remarks: string;
769
+
770
+ declare class CreateJobApplicationDto {
771
+ jobId: string;
772
+ isCta?: boolean;
902
773
  }
903
774
 
904
- declare enum TimesheetLineStatusEnum {
905
- DRAFT = "DRAFT",
906
- SEND = "SEND",
907
- SEND_BACK = "SEND_BACK",
908
- APPROVED = "APPROVED",
775
+ declare enum JobApplicationStatus {
776
+ PENDING = "PENDING",
777
+ SHORTLISTED = "SHORTLISTED",
909
778
  REJECTED = "REJECTED",
910
- PAID = "PAID",
911
- MISSING = "MISSING",
912
- ACTIVE = "ACTIVE"
779
+ HIRED = "HIRED",
780
+ WITHDRAWN = "WITHDRAWN"
913
781
  }
914
- declare class TimesheetLine extends BaseEntity {
915
- jobId: number;
916
- job: Job;
917
- clientId: number;
918
- client: User;
919
- freelancerId: number;
920
- freelancer: User;
921
- timesheetLogs: TimesheetLogs[];
922
- timesheetLineHistory: TimesheetLineHistory[];
923
- uniqueId: string;
924
- weekStartDate: Date;
925
- weekEndDate: Date;
926
- status: TimesheetLineStatusEnum;
927
- weeklyHoursSum: string;
928
- isInvoiceGenrated: boolean;
929
- isInvoiceApproved: boolean;
930
- invoice: Invoice[];
782
+ declare class ChangeJobApplicationStatusDto {
783
+ status: JobApplicationStatus;
931
784
  }
932
785
 
933
- declare enum HiredFreelancerNatureOfWorkEnum {
934
- FTE = "FTE",
935
- FREELANCE = "FREELANCE"
936
- }
937
- declare class Hiring extends BaseEntity {
938
- jobId: number;
939
- job: Job;
940
- clientId: number;
941
- client: User;
942
- freelancerId: number;
943
- freelancer: User;
944
- invoiceId?: number;
945
- invoice?: Invoice;
946
- freelancerNatureOfWork: HiredFreelancerNatureOfWorkEnum;
947
- isInvoiceGenrated: boolean;
786
+ declare class ChangeJobApplicationStatusBulkDto {
787
+ jobApplicationIds: number[];
788
+ status: JobApplicationStatus;
948
789
  }
949
790
 
950
- declare enum InvoiceTypeEnum {
951
- WEEKLY = "WEEKLY",
952
- MONTHLY = "MONTHLY",
953
- FTE = "FTE"
791
+ declare const PROFILE_PATTERN: {
792
+ fetchFreelancerProfile: string;
793
+ fetchFreelancerPublicProfile: string;
794
+ fetchFreelancerScreeningResult: string;
795
+ fetchFreelancerScreeningResultPublic: string;
796
+ changeFreelancerPassword: string;
797
+ uploadFreelancerProfilePic: string;
798
+ updateFreelancerProfile: string;
799
+ uploadFreelancerServiceAgreement: string;
800
+ fetchFreelancerServiceAgreement: string;
801
+ generateFreelancerServiceAgreement: string;
802
+ esignFreelancerServiceAgreementForClient: string;
803
+ freelancerResumeDataMappingDev: string;
804
+ freelancerMcqScoreMappingDev: string;
805
+ fetchFreelancerDropdown: string;
806
+ fetchFreelancerDesignationDropdown: string;
807
+ deleteFreelancerProfilePic: string;
808
+ fetchRecommendedJobsForFreelancer: string;
809
+ fetchRecommendedClientsDropdownForFreelancerV2: string;
810
+ fetchRecommendedJobsDropdownForFreelancerV2: string;
811
+ fetchRecommendedJobsForFreelancerV2: string;
812
+ fetchAppliedJobsOfFreelancer: string;
813
+ fetchAppliedJobsDropdownForFreelancer: string;
814
+ countOfActiveFreelancers: string;
815
+ findUsersByUuids: string;
816
+ markFollowedOnLinkedIn: string;
817
+ fetchFreelancerResumeByUuId: string;
818
+ fetchClientByIdForContract: string;
819
+ fetchFreelancerByIdForContract: string;
820
+ freelancerDataSetup: string;
821
+ freelancerEmailAndMobileMasking: string;
822
+ fetchClientInfoForChat: string;
823
+ fetchAiAssessmentDetails: string;
824
+ captureAiAssessmentResult: string;
825
+ };
826
+ declare const FREELANCER_ASSESSMENT_REQUEST_PATTERN: {
827
+ fetchAssessmentRequestsForFreelancer: string;
828
+ createFreelancerAssessmentRequest: string;
829
+ };
830
+
831
+ declare class FreelancerChangePasswordDto {
832
+ oldPassword: string;
833
+ newPassword: string;
954
834
  }
955
- declare enum InvoiceStatusEnum {
956
- SUBMITTED = "SUBMITTED",
957
- UNDER_REVIEW = "UNDER_REVIEW",
958
- APPROVED = "APPROVED",
959
- REJECTED = "REJECTED"
835
+
836
+ declare enum NatureOfWorkDto$1 {
837
+ FREELANCE = "FREELANCE",
838
+ FTE = "FTE",
839
+ BOTH = "BOTH"
960
840
  }
961
- declare enum InvoicePaymentStatusEnum {
962
- PENDING = "PENDING",
963
- OVERDUE = "OVERDUE",
964
- INTRANSACTION = "INTRANSACTION",
965
- PAID = "PAID",
966
- REFUNDED = "REFUNDED"
841
+ declare enum ModeOfWorkDto {
842
+ ONSITE = "ONSITE",
843
+ REMOTE = "REMOTE",
844
+ HYBRID = "HYBRID"
967
845
  }
968
- declare class Invoice extends BaseEntity {
969
- timesheetLineId: number;
970
- timesheetLine: TimesheetLine;
971
- jobId: number;
972
- job: Job;
973
- clientId: number;
974
- client: User;
975
- freelancerId: number;
976
- freelancer: User;
977
- invoiceUniqueId: string;
978
- issuedAt: Date;
979
- dueAt: Date;
980
- billingCycleFrom: Date;
981
- billingCycleTo: Date;
982
- billingHours: string;
983
- hourlyRate: string;
984
- billingAmount: string;
985
- invoiceType: InvoiceTypeEnum;
986
- status: InvoiceStatusEnum;
987
- paymentStatus: InvoicePaymentStatusEnum;
988
- clientInvoiceUrl: string;
989
- freelancerInvoiceUrl: string;
990
- escrowWalletTransaction?: EscrowWalletTransaction;
991
- hiring?: Hiring;
846
+ declare class UpdateFreelancerProfileDto {
847
+ firstName: string;
848
+ lastName: string;
849
+ designation: string;
850
+ experience: string;
851
+ email: string;
852
+ mobileCode: string;
853
+ mobile: string;
854
+ countryId: number;
855
+ stateId: number;
856
+ cityId: number;
857
+ expectedHourlyCompensation: string;
858
+ expectedAnnualCompensation: string;
859
+ numberOfHours?: number;
860
+ natureOfWork: NatureOfWorkDto$1;
861
+ modeOfWork: ModeOfWorkDto;
862
+ portfolioLink?: string;
863
+ address: string;
864
+ addressLine?: string;
865
+ postalCode: string;
866
+ about?: string;
867
+ linkedinProfileLink?: string;
868
+ kaggleProfileLink?: string;
869
+ githubProfileLink?: string;
870
+ stackOverflowProfileLink?: string;
871
+ resumeUrl?: string;
992
872
  }
993
873
 
994
- declare enum EscrowWalletTransactionTypeEnum {
995
- CR = "CR",
996
- DR = "DR"
997
- }
998
- declare enum EscrowWalletTransactionForEnum {
999
- CONTRACT = "CONTRACT",
1000
- INVOICE = "INVOICE"
1001
- }
1002
- declare class EscrowWalletTransaction extends BaseEntity {
1003
- escrowWalletId: number;
1004
- escrowWallet: EscrowWallet;
1005
- invoiceId?: number;
1006
- invoice?: Invoice;
1007
- amount: number;
1008
- escrowType: EscrowWalletTransactionTypeEnum;
1009
- description: string;
1010
- completedAt: Date;
1011
- escrowTransactionFor: EscrowWalletTransactionForEnum;
1012
- metaData: string;
874
+ declare class FreelancerESignatureDto {
875
+ uuid: string;
1013
876
  }
1014
877
 
1015
- declare class EscrowWallet extends BaseEntity {
1016
- jobId: number;
1017
- job?: Job;
878
+ declare class FetchClientInfoForChatDto {
1018
879
  clientId: number;
1019
- client?: User;
1020
- freelancerId: number;
1021
- freelancer?: User;
1022
- contractId?: number;
1023
- contract?: Contract;
1024
- escrowBalance: string;
1025
- metadata: Record<string, any>;
1026
- escrowWalletTransactions: EscrowWalletTransaction[];
1027
880
  }
1028
881
 
1029
- declare enum ContractStatusEnum {
1030
- GENERATED = "GENERATED",
1031
- DRAFTED = "DRAFTED",
1032
- SENT = "SENT",
1033
- SIGNED = "SIGNED",
1034
- ACTIVE = "ACTIVE",
1035
- CANCELLED = "CANCELLED",
1036
- DISPUTED = "DISPUTED",
1037
- REJECTED = "REJECTED",
1038
- RENEWED = "RENEWED",
1039
- EXPIRED = "EXPIRED"
1040
- }
1041
- declare enum ContractTypeEnum {
1042
- NDA = "NDA",
1043
- WORK = "WORK",
1044
- SOW = "SOW",
1045
- MSA = "MSA"
1046
- }
1047
- declare class Contract extends BaseEntity {
1048
- contractUniqueId: string;
1049
- jobId: number;
1050
- job: Job;
1051
- clientId: number;
1052
- client: User;
1053
- freelancerId: number;
1054
- freelancer: User;
1055
- duration: number;
1056
- status: ContractStatusEnum;
1057
- type: ContractTypeEnum;
1058
- invoicingCycle: string;
1059
- escrowDepositeAmount: number;
1060
- startDate: Date;
1061
- endDate: Date;
1062
- originalDocumentUrl: string;
1063
- contractDocumentUrl: string;
1064
- clientSignedAt: Date;
1065
- freelancerViewed: boolean;
1066
- freelancerViewedAt: Date;
1067
- freelancerSignedAt: Date;
1068
- rejectedAt: Date;
1069
- rejectReason: string;
1070
- resendCount: number;
1071
- isWorkContractSent: boolean;
1072
- isEscrowDeposited: boolean;
1073
- signaturePositions: any;
1074
- metaData: any;
1075
- escrowWallet: EscrowWallet;
882
+ declare class CaptureAiAssessmentResultDto {
883
+ aiAssessmentUuid: string;
884
+ result?: any;
885
+ status?: string;
1076
886
  }
1077
887
 
1078
- declare enum TimesheetStatusEnum {
1079
- DRAFT = "DRAFT",
1080
- SEND = "SEND",
1081
- SEND_BACK = "SEND_BACK",
1082
- APPROVED = "APPROVED",
1083
- REJECTED = "REJECTED",
1084
- PAID = "PAID"
888
+ declare const BANK_PATTERN: {
889
+ addFreelancerBankDetails: string;
890
+ fetchFreelancerBankDetails: string;
891
+ updateFreelancerBankDetails: string;
892
+ deleteBankAccount: string;
893
+ fetchBankAccounts: string;
894
+ setBankAccountPrimary: string;
895
+ };
896
+
897
+ declare enum BankAccountScope {
898
+ DOMESTIC = "DOMESTIC",
899
+ INTERNATIONAL = "INTERNATIONAL"
1085
900
  }
1086
- declare class Timesheet extends BaseEntity {
1087
- jobId: number;
1088
- job: Job;
1089
- clientId: number;
1090
- client: User;
1091
- freelancerId: number;
1092
- freelancer: User;
1093
- startDate: Date;
1094
- endDate: Date;
1095
- startTime: string;
1096
- endTime: string;
1097
- workedHours: string;
1098
- taskId: number;
1099
- taskName: string;
1100
- description: string;
1101
- weekStartDate: Date;
1102
- weekEndDate: Date;
1103
- rejectedAt: Date;
1104
- submittedAt: Date;
1105
- resubmittedAt: Date;
1106
- approvedAt: Date;
1107
- status: TimesheetStatusEnum;
1108
- clientSendBackReason: string;
901
+ declare class FreelancerBankDetailsDto {
902
+ name: string;
903
+ mobileCode: string;
904
+ mobile: string;
905
+ email: string;
906
+ address: string;
907
+ accountNumber: string;
908
+ bankName: string;
909
+ branchName: string;
910
+ ifscCode: string;
911
+ routingNo: string;
912
+ abaNumber: string;
913
+ iban: string;
914
+ accountType: string;
915
+ accountScope: BankAccountScope;
1109
916
  }
1110
917
 
1111
- declare class JobLocation extends BaseEntity {
1112
- jobId: number;
1113
- job: Job;
1114
- countryId: number;
1115
- countryName: string;
1116
- country: Country;
1117
- stateId: number;
1118
- stateName: string;
1119
- state: State;
1120
- cityId: number;
1121
- cityName: string;
1122
- city: City;
1123
- locationWiseOpenings: number;
918
+ declare const PLAN_PATTERN: {
919
+ fetchPlans: string;
920
+ };
921
+
922
+ interface IFetchPlanResponse {
923
+ statusCode: number;
924
+ status: boolean;
925
+ message: string;
926
+ data: any;
1124
927
  }
1125
928
 
1126
- declare enum RatingTypeEnum {
1127
- FREELANCER_TO_CLIENT = "FREELANCER_TO_CLIENT",
1128
- CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
929
+ declare const SYSTEM_PREFERENCES_PATTERN: {
930
+ fetchSystemPreference: string;
931
+ updateSystemPreference: string;
932
+ createSystemPreference: string;
933
+ };
934
+
935
+ declare enum SystemPreferenceKey {
936
+ EMAIL_NOTIFICATION = "EMAIL_NOTIFICATION",
937
+ DARK_MODE = "DARK_MODE"
1129
938
  }
1130
- declare class Rating extends BaseEntity {
1131
- reviewerId: number;
1132
- reviewer: User;
1133
- revieweeId: number;
1134
- reviewee: User;
1135
- jobId: number;
1136
- job: Job;
1137
- ratingType: RatingTypeEnum;
1138
- reviewerComment: string;
1139
- overAllExperience: number;
1140
- workQuality: number;
1141
- oneTimeDelivery: number;
1142
- understaning: number;
1143
- communication: number;
1144
- skillUtilized: number;
1145
- communicationClarity: number;
1146
- requirementsClarity: number;
1147
- responsiveness: number;
1148
- paymentPromptness: number;
1149
- responsibilitiesAndExpectations: number;
939
+ declare class SystemPreferenceDto {
940
+ value: boolean;
941
+ key: SystemPreferenceKey;
1150
942
  }
1151
943
 
1152
- declare enum JobLocationEnum$1 {
1153
- ONSITE = "ONSITE",
1154
- REMOTE = "REMOTE",
1155
- HYBRID = "HYBRID",
1156
- BOTH = "BOTH"
1157
- }
1158
- declare enum typeOfExperienceEnum {
1159
- SINGLE = "SINGLE",
1160
- RANGE = "RANGE"
944
+ declare const NOTIFICATION_PATTERN: {
945
+ handleAccountVerificationNotification: string;
946
+ handleResetLinkNotification: string;
947
+ handleBusinessAccountCreatedNotification: string;
948
+ handleBusinessAccountSetPasswordNotification: string;
949
+ handleFreelancerAccountSetPasswordNotification: string;
950
+ handleSendBulkInterviewInvites: string;
951
+ handleFreelancerAccountCreatedNotification: string;
952
+ handleSetPasswordLinkNotification: string;
953
+ handleLeadNotificationToAdmin: string;
954
+ handleDailyFreelancerReportToStakeHolders: string;
955
+ handleAiAssessmentLinkNotification: string;
956
+ handleRecordingProcessingErrorNotification: string;
957
+ handleResumeParserErrorNotification: string;
958
+ handleFreelancerExportReadyNotification: string;
959
+ handleFreelancerExportFailedNotification: string;
960
+ handleAiInterviewResultErrorNotification: string;
961
+ handleAiInterviewRecordingErrorNotification: string;
962
+ handleAiAssessmentInterviewResultErrorNotification: string;
963
+ handleAiAssessmentInterviewRecordingErrorNotification: string;
964
+ };
965
+ declare const SMS_PATTERN: {
966
+ sendTest: string;
967
+ queueStats: string;
968
+ cleanQueue: string;
969
+ status: string;
970
+ accountInfo: string;
971
+ };
972
+ declare const EMAIL_PATTERN: {
973
+ sendTest: string;
974
+ send: string;
975
+ sendTemplate: string;
976
+ getQueueStats: string;
977
+ cleanQueue: string;
978
+ };
979
+
980
+ declare class TestNotificationDto {
981
+ email?: string;
982
+ phone?: string;
983
+ message?: string;
984
+ data?: any;
985
+ type?: string;
1161
986
  }
1162
- declare enum TypeOfEmploymentEnum {
987
+
988
+ declare const RATING_PATTERN: {
989
+ addRating: string;
990
+ fetchRating: string;
991
+ };
992
+
993
+ declare abstract class BaseEntity {
994
+ id: number;
995
+ uuid: string;
996
+ createdAt: Date;
997
+ createdBy: number;
998
+ updatedAt: Date;
999
+ updatedBy: number;
1000
+ isDeleted: boolean;
1001
+ deletedBy: number;
1002
+ deletedAt: Date;
1003
+ }
1004
+
1005
+ declare class RefreshToken {
1006
+ id: string;
1007
+ userId: number;
1008
+ tokenId: string;
1009
+ deviceInfo: any;
1010
+ isRevoked: boolean;
1011
+ expiresAt: Date;
1012
+ createdAt: Date;
1013
+ updatedAt: Date;
1014
+ user: User;
1015
+ }
1016
+
1017
+ declare class SenseloafLog {
1018
+ id: number;
1019
+ userId: number;
1020
+ type: string;
1021
+ endpoint: string;
1022
+ success: boolean;
1023
+ request: any;
1024
+ response: any;
1025
+ errorMessage: string;
1026
+ scope: string;
1027
+ createdAt: Date;
1028
+ user: User;
1029
+ }
1030
+
1031
+ declare class Otp {
1032
+ id: number;
1033
+ userId: number;
1034
+ otp: string;
1035
+ otpPurpose: string;
1036
+ target: string;
1037
+ fallbackTarget: string;
1038
+ expiresAt: Date;
1039
+ isUsed: boolean;
1040
+ isVerified: boolean;
1041
+ resendCount: number;
1042
+ createdAt: Date;
1043
+ user: User;
1044
+ }
1045
+
1046
+ declare enum KindOfHire {
1163
1047
  FULLTIME = "FULLTIME",
1164
1048
  PARTTIME = "PARTTIME",
1165
1049
  BOTH = "BOTH",
@@ -1167,190 +1051,298 @@ declare enum TypeOfEmploymentEnum {
1167
1051
  FREELANCE = "FREELANCE",
1168
1052
  FTE = "FTE"
1169
1053
  }
1170
- declare enum Step {
1171
- BASIC_INFORMATION = "BASIC_INFORMATION",
1172
- ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
1173
- JOB_DESCRIPTION = "JOB_DESCRIPTION"
1054
+ declare enum ModeOfHire {
1055
+ ONSITE = "ONSITE",
1056
+ REMOTE = "REMOTE",
1057
+ HYBRID = "HYBRID",
1058
+ BOTH = "BOTH"
1174
1059
  }
1175
- declare enum JobStatusEnum {
1176
- ACTIVE = "ACTIVE",
1177
- OPEN = "OPEN",
1178
- DRAFT = "DRAFT",
1179
- ONHOLD = "ONHOLD",
1180
- CLOSED = "CLOSED",
1181
- COMPLETED = "COMPLETED"
1060
+ declare enum FromUsOn {
1061
+ LINKEDIN = "LINKEDIN",
1062
+ GOOGLE = "GOOGLE",
1063
+ REFERRAL = "REFERRAL",
1064
+ OTHER = "OTHER"
1182
1065
  }
1183
- declare enum DurationTypeEnum {
1184
- DAY = "DAY",
1185
- WEEK = "WEEK",
1186
- MONTH = "MONTH",
1187
- YEAR = "YEAR"
1066
+ declare enum CompanyOnboardingStepEnum {
1067
+ SIGN_UP = "SIGN_UP",
1068
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
1188
1069
  }
1189
- declare class Job extends BaseEntity {
1190
- jobId: string;
1070
+ declare enum HiringCommissionTypeEnum {
1071
+ PERCENTAGE = "PERCENTAGE",
1072
+ AMOUNT = "AMOUNT"
1073
+ }
1074
+ declare class CompanyProfile extends BaseEntity {
1191
1075
  userId: number;
1192
1076
  user: User;
1077
+ companyName: string;
1078
+ bio: string;
1079
+ webSite: string;
1080
+ aboutCompany: string;
1081
+ isServiceAgreementSigned: boolean;
1082
+ originalDocumentUrl: string;
1083
+ serviceAgreementUrl: string;
1084
+ serviceAggrementSignedOn: Date;
1193
1085
  countryId: number;
1194
1086
  country: Country;
1195
1087
  stateId: number;
1196
1088
  state: State;
1197
1089
  cityId: number;
1198
1090
  city: City;
1199
- jobRole: string;
1200
- jobRoleCanonicalName: string;
1201
- projectName: string;
1202
- note: string;
1203
- openings: number;
1204
- utilisedOpenings: number;
1205
- location: JobLocationEnum$1;
1206
- typeOfEmployment: TypeOfEmploymentEnum;
1207
- academicQualification: string;
1208
- typeOfExperience: typeOfExperienceEnum;
1209
- yearsOfExperience: string;
1210
- yearsOfExperienceFrom: string;
1211
- yearsOfExperienceTo: string;
1212
- businessIndustry: string;
1213
- currency: string;
1214
- expectedSalaryFrom: number;
1215
- hideExpectedSalaryFrom: boolean;
1216
- expectedSalaryTo: number;
1217
- hideExpectedSalaryTo: boolean;
1218
- expectedAnnualBudgetFrom: number;
1219
- hideExpectedAnnualBudgetFrom: boolean;
1220
- expectedAnnualBudgetTo: number;
1221
- hideExpectedAnnualBudgetTo: boolean;
1222
- years: string;
1223
- months: string;
1224
- weeks: string;
1225
- days: string;
1226
- tentativeStartDate: Date;
1227
- tentativeEndDate: Date;
1228
- durationType: DurationTypeEnum;
1229
- duration: string;
1091
+ companyAddress: string;
1092
+ addressLine: string;
1093
+ postalCode: string;
1094
+ phoneNumber: string;
1095
+ skills: string[];
1096
+ requiredFreelancer: string;
1097
+ kindOfHiring: KindOfHire;
1230
1098
  numberOfHours: number;
1231
- description: string;
1232
- additionalComment: string;
1233
- onboardingTat: string;
1234
- candidateCommunicationSkills: string;
1235
- stepCompleted: Step;
1236
- status: JobStatusEnum;
1237
- viewedCount: number;
1238
- applicationCount: number;
1239
- isContractSigned: boolean;
1240
- isInterviewCreated: boolean;
1241
- interviewInvites: InterviewInvite[];
1242
- jobSkills: JobSkill[];
1243
- jobApplications: JobApplication[];
1244
- interviews: Interview[];
1245
- f2fInterviews: F2FInterview[];
1246
- recommendations: JobRecommendation[];
1247
- contracts: Contract[];
1248
- hirings: Hiring[];
1249
- escrowWallets: EscrowWallet[];
1250
- timesheets: Timesheet[];
1251
- timesheetLine: TimesheetLine[];
1252
- invoice: Invoice[];
1253
- clientCandidatePreferences: ClientCandidatePreference[];
1254
- jobLocations: JobLocation[];
1255
- ratings: Rating[];
1099
+ modeOfHire: ModeOfHire;
1100
+ foundUsOn: FromUsOn;
1101
+ foundUsOnDetail: string;
1102
+ onboardingStepCompleted: CompanyOnboardingStepEnum;
1103
+ signaturePositions: any;
1104
+ hiringCommisionTypeForFte: HiringCommissionTypeEnum;
1105
+ hiringCommissionValueForFte: number;
1106
+ rating: number;
1256
1107
  }
1257
1108
 
1258
- declare enum BankAccountTypeEnum {
1259
- PRIMARY = "PRIMARY",
1260
- SECONDARY = "SECONDARY"
1261
- }
1262
- declare enum BankAccountScopeEnum {
1263
- DOMESTIC = "DOMESTIC",
1264
- INTERNATIONAL = "INTERNATIONAL"
1265
- }
1266
- declare class BankDetail extends BaseEntity {
1267
- userId: number;
1268
- user: User;
1269
- name: string;
1270
- mobileCode: string;
1271
- mobile: string;
1272
- email: string;
1273
- address: string;
1274
- accountNumber: string;
1275
- bankName: string;
1276
- ifscCode: string;
1277
- branchName: string;
1278
- routingNo: string;
1279
- abaNumber: string;
1280
- iban: string;
1281
- accountType: BankAccountTypeEnum;
1282
- accountScope: BankAccountScopeEnum;
1109
+ declare class City extends BaseEntity {
1110
+ countryId: number;
1111
+ country: Country;
1112
+ stateId: number;
1113
+ state: State;
1114
+ cityCode: string;
1115
+ cityName: string;
1116
+ isActive: boolean;
1117
+ freelancerProfile: FreelancerProfile[];
1118
+ companyProfile: CompanyProfile[];
1283
1119
  }
1284
1120
 
1285
- declare class SystemPreference extends BaseEntity {
1286
- userId: number;
1287
- user: User;
1288
- key: string;
1289
- value: boolean;
1121
+ declare class State extends BaseEntity {
1122
+ countryId: number;
1123
+ country: Country;
1124
+ cities: City[];
1125
+ stateName: string;
1126
+ stateCode: string;
1127
+ isActive: boolean;
1128
+ freelancerProfile: FreelancerProfile[];
1129
+ companyProfile: CompanyProfile[];
1290
1130
  }
1291
1131
 
1292
- declare class FreelancerExperience extends BaseEntity {
1132
+ declare class Country extends BaseEntity {
1133
+ countryName: string;
1134
+ countryIsoCode: string;
1135
+ countryPhoneCode: string;
1136
+ currency: string;
1137
+ isActive: boolean;
1138
+ states: State[];
1139
+ freelancerProfile: FreelancerProfile[];
1140
+ companyProfile: CompanyProfile[];
1141
+ }
1142
+
1143
+ declare enum NatureOfWork {
1144
+ FULLTIME = "FULLTIME",
1145
+ PARTTIME = "PARTTIME",
1146
+ BOTH = "BOTH",
1147
+ HOURLY = "HOURLY",
1148
+ FREELANCE = "FREELANCE",
1149
+ FTE = "FTE"
1150
+ }
1151
+ declare enum ModeOfWork {
1152
+ ONSITE = "ONSITE",
1153
+ REMOTE = "REMOTE",
1154
+ HYBRID = "HYBRID",
1155
+ BOTH = "BOTH"
1156
+ }
1157
+ declare enum OnboardingStepEnum {
1158
+ SIGN_UP = "SIGN_UP",
1159
+ UPLOAD_RESUME = "UPLOAD_RESUME",
1160
+ PARSE_RESUME = "PARSE_RESUME",
1161
+ MCQ_ASSESSMENT_INITIATED = "MCQ_ASSESSMENT_INITIATED",
1162
+ MCQ_ASSESSMENT_COMPLETED = "MCQ_ASSESSMENT_COMPLETED",
1163
+ AI_ASSESSMENT_INITIATED = "AI_ASSESSMENT_INITIATED",
1164
+ AI_ASSESSMENT_COMPLETED = "AI_ASSESSMENT_COMPLETED",
1165
+ CODING_CHALLENGE = "CODING_CHALLENGE",
1166
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
1167
+ }
1168
+ declare enum McqStatusEnum {
1169
+ NOT_ATTEMPTED = "NOT_ATTEMPTED",
1170
+ PASSED = "PASSED",
1171
+ FAILED = "FAILED"
1172
+ }
1173
+ declare enum AiAssessmentStatusEnum {
1174
+ NOT_ATTEMPTED = "NOT_ATTEMPTED",
1175
+ COMPELETED = "COMPELETED",
1176
+ PASSED = "PASSED",
1177
+ FAILED = "FAILED",
1178
+ SKIPPED = "SKIPPED",
1179
+ EXITED = "EXITED"
1180
+ }
1181
+ declare class FreelancerProfile extends BaseEntity {
1293
1182
  userId: number;
1294
1183
  user: User;
1295
- companyName: string;
1184
+ countryId: number;
1185
+ country: Country;
1186
+ stateId: number;
1187
+ state: State;
1188
+ cityId: number;
1189
+ city: City;
1190
+ talentId: string;
1191
+ resumeUrl: string;
1192
+ resumeUploadedOn: Date;
1193
+ resumeEligibility: string;
1194
+ resumeScore: string;
1195
+ mcqStatus: McqStatusEnum;
1196
+ mcqScore: number;
1197
+ isEligibleForAiAssessment: boolean;
1198
+ aiAssessmentStatus: AiAssessmentStatusEnum;
1199
+ isDeveloper: boolean;
1200
+ natureOfWork: NatureOfWork;
1201
+ numberOfHours: number;
1202
+ currency: string;
1203
+ expectedHourlyCompensation: number;
1204
+ expectedAnnualCompensation: number;
1205
+ modeOfWork: ModeOfWork;
1206
+ availabilityToJoin: string;
1207
+ isImmediateJoiner: boolean;
1208
+ linkedinProfileLink: string;
1209
+ kaggleProfileLink: string;
1210
+ githubProfileLink: string;
1211
+ stackOverflowProfileLink: string;
1212
+ portfolioLink: string;
1213
+ onboardingStepCompleted: OnboardingStepEnum;
1296
1214
  designation: string;
1297
- jobDuration: string;
1298
- description: string;
1215
+ experience: string;
1216
+ address: string;
1217
+ addressLine: string;
1218
+ postalCode: string;
1219
+ about: string;
1220
+ profileCompletedPercentage: Record<string, number>;
1221
+ originalDocumentUrl: string;
1222
+ isServiceAgreementSigned: boolean;
1223
+ serviceAgreementUrl: string;
1224
+ serviceAggrementSignedOn: Date;
1225
+ isExpertshubVerified: boolean;
1226
+ isFollowedOnLinkedIn: boolean;
1227
+ signaturePositions: any;
1228
+ rating: number;
1299
1229
  }
1300
1230
 
1301
- declare class FreelancerEducation extends BaseEntity {
1302
- userId: number;
1303
- user: User;
1304
- degree: string;
1305
- university: string;
1306
- yearOfGraduation: string;
1231
+ declare enum JobSkillCategoryEnum {
1232
+ GOOD_TO_HAVE = 0,
1233
+ MUST_HAVE = 1
1234
+ }
1235
+ declare class JobSkill extends BaseEntity {
1236
+ jobId: number;
1237
+ job: Job;
1238
+ skillName: string;
1239
+ skillCategory: JobSkillCategoryEnum;
1307
1240
  }
1308
1241
 
1309
- declare class FreelancerProject extends BaseEntity {
1242
+ declare enum ApplicationStatusEnum {
1243
+ PENDING = "PENDING",
1244
+ SHORTLISTED = "SHORTLISTED",
1245
+ INTERVIEW_IN_PROGRESS = "INTERVIEW_IN_PROGRESS",
1246
+ INTERVIEWED = "INTERVIEWED",
1247
+ OFFERED = "OFFERED",
1248
+ HIRED = "HIRED",
1249
+ REJECTED_BEFORE_INTERVIEW = "REJECTED_BEFORE_INTERVIEW",
1250
+ REJECTED_IN_INTERVIEW = "REJECTED_IN_INTERVIEW",
1251
+ REJECTED_AFTER_INTERVIEW = "REJECTED_AFTER_INTERVIEW",
1252
+ NOT_SUITABLE = "NOT_SUITABLE",
1253
+ WITHDRAWN = "WITHDRAWN"
1254
+ }
1255
+ declare class JobApplication extends BaseEntity {
1256
+ jobApplicationId: string;
1257
+ jobId: number;
1258
+ job: Job;
1310
1259
  userId: number;
1311
1260
  user: User;
1312
- projectName: string;
1313
- startDate: Date;
1314
- endDate: Date;
1315
- clientName: string;
1316
- gitLink: string;
1317
- description: string;
1261
+ status: ApplicationStatusEnum;
1262
+ appliedAt: Date;
1263
+ shortlistedAt: Date;
1264
+ interviewStartedAt: Date;
1265
+ interviewCompletedAt: Date;
1266
+ offeredAt: Date;
1267
+ hiredAt: Date;
1268
+ rejectedAt: Date;
1269
+ rejectionReason: string;
1270
+ withdrawnAt: Date;
1271
+ withdrawnReason: string;
1318
1272
  }
1319
1273
 
1320
- declare class FreelancerCaseStudy extends BaseEntity {
1321
- userId: number;
1322
- user: User;
1323
- projectName: string;
1324
- caseStudyLink: string;
1274
+ declare class InterviewSkill extends BaseEntity {
1275
+ interviewId: number;
1276
+ interview: Interview;
1277
+ skill: string;
1325
1278
  description: string;
1279
+ isActive: boolean;
1326
1280
  }
1327
1281
 
1328
- declare enum FreelancerSkillCategoryEnum {
1329
- GOOD_TO_HAVE = 0,
1330
- MUST_HAVE = 1
1282
+ declare enum InterviewQuestionType {
1283
+ AI = "AI",
1284
+ CUSTOM = "CUSTOM"
1331
1285
  }
1332
- declare class FreelancerSkill extends BaseEntity {
1333
- userId: number;
1334
- user: User;
1335
- skillName: string;
1336
- skillCategory: FreelancerSkillCategoryEnum;
1286
+ declare class InterviewQuestion extends BaseEntity {
1287
+ interviewId: number;
1288
+ interview: Interview;
1289
+ question: string;
1290
+ concepts: string[];
1291
+ questionType: InterviewQuestionType;
1292
+ isActive: boolean;
1337
1293
  }
1338
1294
 
1339
- declare class FreelancerTool extends BaseEntity {
1295
+ declare enum InterviewInviteStatusEnum {
1296
+ PENDING = "PENDING",
1297
+ ACCEPTED = "ACCEPTED",
1298
+ REJECTED = "REJECTED",
1299
+ EXPIRED = "EXPIRED"
1300
+ }
1301
+ declare class InterviewInvite extends BaseEntity {
1302
+ interviewId: number;
1303
+ interview: Interview;
1340
1304
  userId: number;
1341
1305
  user: User;
1342
- toolName: string;
1306
+ jobId: number;
1307
+ job: Job;
1308
+ fullName: string;
1309
+ email: string;
1310
+ mobileCode: string;
1311
+ mobile: string;
1312
+ status: InterviewInviteStatusEnum;
1313
+ sentAt: Date;
1314
+ expiresAt: Date;
1315
+ respondedAt?: Date;
1316
+ token: string;
1317
+ talentId: string;
1343
1318
  }
1344
1319
 
1345
- declare class FreelancerFramework extends BaseEntity {
1346
- userId: number;
1347
- user: User;
1348
- frameworkName: string;
1320
+ declare enum AiInterviewRescheduleRequestStatusEnum {
1321
+ PENDING = "PENDING",
1322
+ APPROVED = "APPROVED",
1323
+ REJECTED = "REJECTED"
1324
+ }
1325
+ declare class AiInterviewRescheduleRequest extends BaseEntity {
1326
+ candidateId: number;
1327
+ candidate: User;
1328
+ clientId: number;
1329
+ client: User;
1330
+ aiInterviewId: number;
1331
+ aiInterview: AiInterview;
1332
+ interviewId: number;
1333
+ rescheduledDate: Date;
1334
+ status: AiInterviewRescheduleRequestStatusEnum;
1335
+ clientRejectReason: string;
1336
+ freelancerRequestReason: string;
1349
1337
  }
1350
1338
 
1351
- declare enum AssessmentStatusEnum {
1339
+ declare enum AiInterviewStatusEnum {
1352
1340
  NOT_ATTEMPTED = "NOT_ATTEMPTED",
1341
+ ATTEMPTED = "ATTEMPTED",
1342
+ PENDING = "PENDING",
1353
1343
  ACTIVE = "ACTIVE",
1344
+ IN_PROGRESS = "IN_PROGRESS",
1345
+ IN_COMPLETE = "IN_COMPLETE",
1354
1346
  COMPELETED = "COMPELETED",
1355
1347
  PASSED = "PASSED",
1356
1348
  FAILED = "FAILED",
@@ -1359,1084 +1351,1100 @@ declare enum AssessmentStatusEnum {
1359
1351
  RESCHEDULED = "RESCHEDULED",
1360
1352
  EXITED = "EXITED"
1361
1353
  }
1362
- declare class FreelancerAssessment extends BaseEntity {
1363
- userId: number;
1364
- user: User;
1365
- interviewId: string;
1366
- interviewLink: string;
1367
- recordingLink: string;
1368
- iframeResponse: string;
1369
- interviewSummary: string;
1370
- status: AssessmentStatusEnum;
1371
- taskId: string;
1354
+ declare enum ResultStatusEnum {
1355
+ NOT_EVALUATED = "NOT_EVALUATED",
1356
+ EVALUATING = "EVALUATING",
1357
+ PASSED = "PASSED",
1358
+ FAILED = "FAILED"
1372
1359
  }
1373
-
1374
- declare enum DocumentType {
1375
- AADHAAR = "AADHAAR_CARD",
1376
- PASSPORT = "PASSPORT",
1377
- DRIVING_LICENSE = "DRIVING_LICENSE",
1378
- PAN_CARD = "PAN_CARD"
1379
- }
1380
- declare class FreelancerDeclaration extends BaseEntity {
1381
- userId: number;
1382
- user: User;
1383
- documentType: DocumentType;
1384
- frontDocumentUrl: string;
1385
- backDocumentUrl: string;
1386
- declarationAccepted: string;
1387
- digitalSignatureUrl: string;
1388
- }
1389
-
1390
- declare class Permission extends BaseEntity {
1391
- name: string;
1392
- slug: string;
1393
- description: string;
1394
- isActive: boolean;
1360
+ declare enum RecordingStatusEnum {
1361
+ PROCESSING = "PROCESSING",
1362
+ COMPLETED = "COMPLETED",
1363
+ FAILED = "FAILED"
1395
1364
  }
1396
-
1397
- declare class CompanyRolePermission extends BaseEntity {
1398
- companyRoleId: number;
1399
- companyRole: CompanyRole;
1400
- permissionId: number;
1401
- permission: Permission;
1402
- assignedBy?: number;
1365
+ declare class AiInterview extends BaseEntity {
1366
+ aiInterviewUniqueId: string;
1367
+ candidateId: number;
1368
+ candidate: User;
1369
+ interviwerId: number;
1370
+ interviwer: User;
1371
+ interviewId: number;
1372
+ interview: Interview;
1373
+ inviteId: number;
1374
+ candidateInterviewId: string;
1375
+ candidateInterviewLink: string;
1376
+ hasAttempted: boolean;
1377
+ attemptedAt: Date;
1378
+ completedAt: Date;
1379
+ exitedAt: Date;
1380
+ expiredAt: Date;
1381
+ status: AiInterviewStatusEnum;
1382
+ resultStatus: ResultStatusEnum;
1383
+ recordingStatus: RecordingStatusEnum;
1384
+ isRescheduled: boolean;
1385
+ rescheduledAt: Date;
1386
+ recordingLink: string;
1387
+ iframeResponse: string;
1388
+ interviewInsight: string;
1389
+ isF2fInterviewScheduled: boolean;
1390
+ isContractSent: boolean;
1391
+ attempts: number;
1392
+ rescheduleRequests: AiInterviewRescheduleRequest[];
1403
1393
  }
1404
1394
 
1405
- declare class CompanyRole extends BaseEntity {
1406
- userId: number;
1407
- user: User;
1408
- name: string;
1409
- slug: string;
1410
- description: string;
1411
- isActive: boolean;
1412
- rolePermissions: CompanyRolePermission[];
1395
+ declare enum F2fInterviewRescheduleRequestStatusEnum {
1396
+ PENDING = "PENDING",
1397
+ APPROVED = "APPROVED",
1398
+ REJECTED = "REJECTED",
1399
+ INPROGRESS = "INPROGRESS",
1400
+ AUTOCANCELLED = "AUTOCANCELLED"
1413
1401
  }
1414
-
1415
- declare class CompanyMemberRole extends BaseEntity {
1416
- userId: number;
1417
- user: User;
1418
- role: CompanyRole;
1419
- companyRoleId: number;
1420
- assignedBy?: number;
1402
+ declare class F2fInterviewRescheduleRequest extends BaseEntity {
1403
+ candidateId: number;
1404
+ candidate: User;
1405
+ f2fInterviewId: number;
1406
+ f2fInterview: F2FInterview;
1407
+ rescheduledDate: Date;
1408
+ rescheduledSlot: string;
1409
+ status: F2fInterviewRescheduleRequestStatusEnum;
1410
+ clientRejectReason: string;
1411
+ freelancerRequestReason: string;
1421
1412
  }
1422
1413
 
1423
- declare enum AnswerTypeEnum {
1424
- CORRECT = "CORRECT",
1425
- ACCEPTABLE = "ACCEPTABLE",
1426
- ELIMINATE = "ELIMINATE"
1414
+ declare enum F2fInterviewScheduleStatusEnum {
1415
+ ACTIVE = "ACTIVE",
1416
+ COMPELETED = "COMPELETED",
1417
+ RESCHEDULED = "RESCHEDULED",
1418
+ CANCELLED = "CANCELLED"
1427
1419
  }
1428
- declare class AssessmetQuestionOption extends BaseEntity {
1429
- questionId: number;
1430
- question: AssessmetQuestion;
1431
- text: string;
1432
- answerType: AnswerTypeEnum;
1433
- isActive: boolean;
1434
- selectedOptions: AssessmentAnswer[];
1420
+ declare class F2FInterviewSchedule extends BaseEntity {
1421
+ f2fInterviewId: number;
1422
+ f2fInterview: F2FInterview;
1423
+ eventId: string;
1424
+ meetingZoomLink: string;
1425
+ meetingId: string;
1426
+ meetingPasscode: string;
1427
+ rescheduleUrl: string;
1428
+ cancelUrl: string;
1429
+ status: F2fInterviewScheduleStatusEnum;
1430
+ meetingStartTime: Date;
1431
+ meetingEndTime: Date;
1432
+ meetingEligibleStartTime: Date;
1433
+ meetingEligibleExpiryTime: Date;
1434
+ meetingVideoRecordingUrl: string;
1435
+ meetingAudioRecordingUrl: string;
1436
+ meetingTranscript: any;
1437
+ meetingRecordings: any;
1435
1438
  }
1436
1439
 
1437
- declare enum QuestionForEnum {
1438
- ASSESSMENT = "ASSESSMENT",
1439
- INTERVIEW = "INTERVIEW"
1440
+ declare enum F2fInterviewStatusEnum {
1441
+ DRAFTED = "DRAFTED",
1442
+ NOT_ATTEMPTED = "NOT_ATTEMPTED",
1443
+ ACTIVE = "ACTIVE",
1444
+ COMPELETED = "COMPELETED",
1445
+ EXPIRED = "EXPIRED",
1446
+ POSTPONED = "POSTPONED",
1447
+ RESCHEDULED = "RESCHEDULED",
1448
+ EXITED = "EXITED",
1449
+ CANCELLED = "CANCELLED"
1440
1450
  }
1441
- declare class AssessmetQuestion extends BaseEntity {
1442
- text: string;
1443
- questionFor: QuestionForEnum;
1444
- isActive: boolean;
1451
+ declare class F2FInterview extends BaseEntity {
1452
+ interviewUniqueId: string;
1453
+ round: string;
1454
+ jobId?: number;
1455
+ job?: Job;
1456
+ interviewId?: number;
1457
+ interview?: Interview;
1458
+ interviwerId: number;
1459
+ interviwer: User;
1445
1460
  candidateId: number;
1446
1461
  candidate: User;
1447
- options: AssessmetQuestionOption[];
1448
- answers: AssessmentAnswer[];
1462
+ inviteeEmail: string;
1463
+ inviteeName: string;
1464
+ eventName: string;
1465
+ status: F2fInterviewStatusEnum;
1466
+ isRescheduled: boolean;
1467
+ lastRescheduledAt: Date;
1468
+ cancelledAt: Date;
1469
+ cancelReason: string;
1470
+ provider: string;
1471
+ meetingStartedOn: Date;
1472
+ meetingEndedOn: Date;
1473
+ isContractSent: boolean;
1474
+ schedules: F2FInterviewSchedule[];
1475
+ rescheduleRequests: F2fInterviewRescheduleRequest[];
1449
1476
  }
1450
1477
 
1451
- declare enum SelectedAnswerTypeEnum {
1452
- CORRECT = "CORRECT",
1453
- ACCEPTABLE = "ACCEPTABLE",
1454
- ELIMINATE = "ELIMINATE"
1455
- }
1456
- declare class AssessmentAnswer extends BaseEntity {
1457
- userId: number;
1458
- user: User;
1459
- questionId: number;
1460
- question: AssessmetQuestion;
1461
- selectedOptionId: number;
1462
- option: AssessmetQuestionOption;
1463
- selectedAnswerType: SelectedAnswerTypeEnum;
1464
- score: number;
1478
+ declare enum InterviewStatusEnum {
1479
+ DRAFTED = "DRAFTED",
1480
+ PUBLISHED = "PUBLISHED",
1481
+ INACTIVE = "INACTIVE",
1482
+ DISCARDED = "DISCARDED",
1483
+ ARCHIVED = "ARCHIVED"
1465
1484
  }
1466
-
1467
- declare class CompanySkill extends BaseEntity {
1485
+ declare class Interview extends BaseEntity {
1486
+ interviewId: string;
1468
1487
  userId: number;
1469
1488
  user: User;
1470
- skillName: string;
1489
+ interviewName: string;
1490
+ jobId: number;
1491
+ job: Job;
1492
+ interviewType: string;
1493
+ interviewLanguage: string;
1494
+ allowProctoring: boolean;
1495
+ interviewDuration: string;
1496
+ interviewValidityPeriod: string;
1497
+ maximumAttemptsAllowed: string;
1498
+ startInterviewPrompt: string;
1499
+ endInterviewPrompt: string;
1500
+ interviewTemplateId: string;
1501
+ status: InterviewStatusEnum;
1502
+ interviewSkills: InterviewSkill[];
1503
+ interviewQuestions: InterviewQuestion[];
1504
+ invites: InterviewInvite[];
1505
+ aiInterviews: AiInterview[];
1506
+ f2fInterviews: F2FInterview[];
1471
1507
  }
1472
1508
 
1473
- declare class AdminPermission extends BaseEntity {
1474
- permissionName: string;
1475
- permissionSlug: string;
1476
- permissionDescription: string;
1477
- module: string;
1478
- isActive: boolean;
1479
- adminRole: AdminRolePermission[];
1509
+ declare enum ClientCandidatePreferenceEnum {
1510
+ NOT_SUITABLE = "NOT_SUITABLE",
1511
+ SHORTLISTED = "SHORTLISTED"
1480
1512
  }
1481
-
1482
- declare class AdminRolePermission extends BaseEntity {
1483
- roleId: number;
1484
- adminRole: AdminRole;
1485
- permissionId: number;
1486
- adminPermissions: AdminPermission;
1513
+ declare class ClientCandidatePreference extends BaseEntity {
1514
+ clientId: number;
1515
+ client: User;
1516
+ candidateId: number;
1517
+ candidate: User;
1518
+ jobId?: number;
1519
+ job?: Job;
1520
+ recommendationId?: number;
1521
+ recommendation?: JobRecommendation;
1522
+ preference: ClientCandidatePreferenceEnum;
1487
1523
  }
1488
1524
 
1489
- declare class AdminRole extends BaseEntity {
1490
- roleName: string;
1491
- roleSlug: string;
1492
- roleDescription: string;
1493
- isActive: boolean;
1494
- adminRolePermission: AdminRolePermission[];
1495
- userRoles: AdminUserRole[];
1525
+ declare class JobRecommendation {
1526
+ id: number;
1527
+ jobId: number;
1528
+ job: Job;
1529
+ freelancerId: number;
1530
+ clientId: number;
1531
+ matchScore: number;
1532
+ matchScoreSummary?: Record<string, any>;
1533
+ matchingSkills: string[];
1534
+ matchingSkillsCount: number;
1535
+ requiredSkills: string[];
1536
+ requiredSkillsCount: number;
1537
+ lastCalculatedAt: Date;
1538
+ preference: ClientCandidatePreference[];
1496
1539
  }
1497
1540
 
1498
- declare class AdminUserRole extends BaseEntity {
1499
- userId: number;
1500
- user: User;
1501
- roleId: number;
1502
- adminRole: AdminRole;
1541
+ declare class TimesheetLogs extends BaseEntity {
1542
+ timesheetLineId: number;
1543
+ timesheetLine: TimesheetLine;
1544
+ startDate: Date;
1545
+ endDate: Date;
1546
+ startTime: string;
1547
+ endTime: string;
1548
+ workedHours: string;
1549
+ taskId: number;
1550
+ projectName?: string;
1551
+ deliverable?: string;
1552
+ taskName: string;
1553
+ description: string;
1503
1554
  }
1504
1555
 
1505
- declare class FreelancerResume extends BaseEntity {
1506
- userId: number;
1507
- user: User;
1508
- resumeData: string;
1509
- processedResumeData: string;
1556
+ declare enum TimesheetLineHistoryStatusEnum {
1557
+ DRAFT = "DRAFT",
1558
+ SEND = "SEND",
1559
+ SEND_BACK = "SEND_BACK",
1560
+ APPROVED = "APPROVED",
1561
+ REJECTED = "REJECTED",
1562
+ PAID = "PAID",
1563
+ MISSING = "MISSING",
1564
+ ACTIVE = "ACTIVE"
1510
1565
  }
1511
-
1512
- declare class Signature extends BaseEntity {
1513
- userId: number;
1514
- user: User;
1515
- signatureUrl: string;
1566
+ declare enum TimesheetSubmissionActionEnum {
1567
+ SUBMITTED = "SUBMITTED",
1568
+ RESUBMITTED = "RESUBMITTED",
1569
+ SEND_BACK = "SEND_BACK",
1570
+ APPROVED = "APPROVED",
1571
+ REJECTED = "REJECTED",
1572
+ PAID = "PAID"
1573
+ }
1574
+ declare class TimesheetLineHistory extends BaseEntity {
1575
+ timesheetLineId: number;
1576
+ timesheetLine: TimesheetLine;
1577
+ changedBy: number;
1578
+ previousStatus: TimesheetLineHistoryStatusEnum;
1579
+ newStatus: TimesheetLineHistoryStatusEnum;
1580
+ actionType: TimesheetSubmissionActionEnum;
1581
+ remarks: string;
1516
1582
  }
1517
1583
 
1518
- declare enum DisputeStatusEnum {
1519
- OPEN = "OPEN",
1520
- IN_REVIEW = "IN_REVIEW",
1521
- PENDING_RESPONSE = "PENDING_RESPONSE",
1522
- UNDER_INVESTIGATION = "UNDER_INVESTIGATION",
1523
- RESOLVED = "RESOLVED",
1524
- CLOSED = "CLOSED",
1525
- ESCALATED = "ESCALATED",
1526
- CANCELLED = "CANCELLED",
1527
- REOPENED = "REOPENED"
1584
+ declare enum TimesheetLineStatusEnum {
1585
+ DRAFT = "DRAFT",
1586
+ SEND = "SEND",
1587
+ SEND_BACK = "SEND_BACK",
1588
+ APPROVED = "APPROVED",
1589
+ REJECTED = "REJECTED",
1590
+ PAID = "PAID",
1591
+ MISSING = "MISSING",
1592
+ ACTIVE = "ACTIVE"
1528
1593
  }
1529
- declare enum InitiatorTypeEnum {
1530
- FREELANCER = "FREELANCER",
1531
- CLIENT = "CLIENT"
1594
+ declare class TimesheetLine extends BaseEntity {
1595
+ jobId: number;
1596
+ job: Job;
1597
+ clientId: number;
1598
+ client: User;
1599
+ freelancerId: number;
1600
+ freelancer: User;
1601
+ timesheetLogs: TimesheetLogs[];
1602
+ timesheetLineHistory: TimesheetLineHistory[];
1603
+ uniqueId: string;
1604
+ weekStartDate: Date;
1605
+ weekEndDate: Date;
1606
+ status: TimesheetLineStatusEnum;
1607
+ weeklyHoursSum: string;
1608
+ isInvoiceGenrated: boolean;
1609
+ isInvoiceApproved: boolean;
1610
+ invoice: Invoice[];
1532
1611
  }
1533
- declare class Dispute extends BaseEntity {
1612
+
1613
+ declare enum HiredFreelancerNatureOfWorkEnum {
1614
+ FTE = "FTE",
1615
+ FREELANCE = "FREELANCE"
1616
+ }
1617
+ declare class Hiring extends BaseEntity {
1618
+ jobId: number;
1619
+ job: Job;
1534
1620
  clientId: number;
1535
1621
  client: User;
1536
1622
  freelancerId: number;
1537
1623
  freelancer: User;
1538
- disputeUniqueId: string;
1539
- disputeType: string;
1540
- description: string;
1541
- comment: string;
1542
- status: DisputeStatusEnum;
1543
- initiatorType: DisputeStatusEnum;
1544
- initiatorId: number;
1545
- initiator: User;
1546
- respondentId: number;
1547
- respondent: User;
1548
- attachments: any[];
1549
- dynamicFields: Record<string, any>;
1624
+ invoiceId?: number;
1625
+ invoice?: Invoice;
1626
+ freelancerNatureOfWork: HiredFreelancerNatureOfWorkEnum;
1627
+ isInvoiceGenrated: boolean;
1550
1628
  }
1551
1629
 
1552
- declare enum StripeTransactionTypeEnum {
1553
- ADD_FUNDS = "ADD_FUNDS",
1554
- TRANSFER = "TRANSFER",
1555
- WITHDRAW = "WITHDRAW",
1556
- INVOICE_PAYMENT = "INVOICE_PAYMENT",
1557
- REFUND = "REFUND"
1630
+ declare enum InvoiceTypeEnum {
1631
+ WEEKLY = "WEEKLY",
1632
+ MONTHLY = "MONTHLY",
1633
+ FTE = "FTE"
1558
1634
  }
1559
- declare enum StripeTransactionStatusEnum {
1635
+ declare enum InvoiceStatusEnum {
1636
+ SUBMITTED = "SUBMITTED",
1637
+ UNDER_REVIEW = "UNDER_REVIEW",
1638
+ APPROVED = "APPROVED",
1639
+ REJECTED = "REJECTED"
1640
+ }
1641
+ declare enum InvoicePaymentStatusEnum {
1560
1642
  PENDING = "PENDING",
1561
- PROCESSING = "PROCESSING",
1562
- COMPLETED = "COMPLETED",
1563
- FAILED = "FAILED",
1564
- EXPIRED = "EXPIRED",
1565
- CANCELLED = "CANCELLED"
1643
+ OVERDUE = "OVERDUE",
1644
+ INTRANSACTION = "INTRANSACTION",
1645
+ PAID = "PAID",
1646
+ REFUNDED = "REFUNDED"
1566
1647
  }
1567
- declare class StripeTransaction extends BaseEntity {
1568
- userId: number;
1569
- user: User;
1570
- stripeSessionId: string;
1571
- stripePaymentIntentId: string;
1572
- stripeChargeId: string;
1573
- stripeReceiptUrl: string;
1574
- stripeBalanceTransactionId: string;
1575
- stripePaymentMethod: string | null;
1576
- stripePaymentStatus: string | null;
1577
- type: StripeTransactionTypeEnum;
1578
- currency: string;
1579
- desiredDepositCents: number;
1580
- platformFeeCents: number;
1581
- taxCents: number | null;
1582
- estimatedStripeFee: number | null;
1583
- estimatedTotalCents: number | null;
1584
- actualStripeFee: number | null;
1585
- actualTotalPaidCents: number | null;
1586
- netReceivedCents: number | null;
1587
- description: string;
1588
- status: StripeTransactionStatusEnum;
1589
- checkoutSessionCompletedAt: Date;
1590
- completedAt: Date;
1591
- billingDetails: Record<string, any> | null;
1592
- paymentMethodDetails: Record<string, any> | null;
1593
- rawSessionPayload: Record<string, any> | null;
1594
- rawSessionResponse: Record<string, any> | null;
1648
+ declare class Invoice extends BaseEntity {
1649
+ timesheetLineId: number;
1650
+ timesheetLine: TimesheetLine;
1651
+ jobId: number;
1652
+ job: Job;
1653
+ clientId: number;
1654
+ client: User;
1655
+ freelancerId: number;
1656
+ freelancer: User;
1657
+ invoiceUniqueId: string;
1658
+ issuedAt: Date;
1659
+ dueAt: Date;
1660
+ billingCycleFrom: Date;
1661
+ billingCycleTo: Date;
1662
+ billingHours: string;
1663
+ hourlyRate: string;
1664
+ billingAmount: string;
1665
+ invoiceType: InvoiceTypeEnum;
1666
+ status: InvoiceStatusEnum;
1667
+ paymentStatus: InvoicePaymentStatusEnum;
1668
+ clientInvoiceUrl: string;
1669
+ freelancerInvoiceUrl: string;
1670
+ escrowWalletTransaction?: EscrowWalletTransaction;
1671
+ hiring?: Hiring;
1595
1672
  }
1596
1673
 
1597
- declare enum WalletTransactionTypeEnum {
1674
+ declare enum EscrowWalletTransactionTypeEnum {
1598
1675
  CR = "CR",
1599
1676
  DR = "DR"
1600
1677
  }
1601
- declare enum WalletTransactionStatusEnum {
1602
- PENDING = "PENDING",
1603
- PROCESSING = "PROCESSING",
1604
- SUCCESS = "SUCCESS",
1605
- FAILED = "FAILED",
1606
- EXPIRED = "EXPIRED"
1678
+ declare enum EscrowWalletTransactionForEnum {
1679
+ CONTRACT = "CONTRACT",
1680
+ INVOICE = "INVOICE"
1607
1681
  }
1608
- declare class WalletTransaction extends BaseEntity {
1609
- walletId: number;
1610
- wallet: Wallet;
1682
+ declare class EscrowWalletTransaction extends BaseEntity {
1683
+ escrowWalletId: number;
1684
+ escrowWallet: EscrowWallet;
1685
+ invoiceId?: number;
1686
+ invoice?: Invoice;
1611
1687
  amount: number;
1612
- balanceBefore: number;
1613
- balanceAfter: number;
1614
- type: WalletTransactionTypeEnum;
1615
- status: WalletTransactionStatusEnum;
1688
+ escrowType: EscrowWalletTransactionTypeEnum;
1616
1689
  description: string;
1617
1690
  completedAt: Date;
1618
- transactionFor: string;
1691
+ escrowTransactionFor: EscrowWalletTransactionForEnum;
1619
1692
  metaData: string;
1620
- stripeTransactionId: number;
1621
1693
  }
1622
1694
 
1623
- declare enum WalletAccountTypeEnum {
1624
- ADMIN = "ADMIN",
1625
- BUSINESS = "BUSINESS",
1626
- FREELANCER = "FREELANCER"
1627
- }
1628
- declare enum WalletOnboardingStatusEnum {
1629
- PENDING = "PENDING",
1630
- COMPLETED = "COMPLETED"
1631
- }
1632
- declare class Wallet extends BaseEntity {
1633
- userId: number;
1634
- user: User;
1635
- accountType: WalletAccountTypeEnum;
1636
- stripeAccountId: string;
1637
- stripeCustomerId: string;
1638
- walletBalance: string;
1639
- walletBalanceCents: number;
1640
- onboardingStatus: WalletOnboardingStatusEnum;
1641
- stripeMetadata: Record<string, any>;
1642
- walletTransactions: WalletTransaction[];
1695
+ declare class EscrowWallet extends BaseEntity {
1696
+ jobId: number;
1697
+ job?: Job;
1698
+ clientId: number;
1699
+ client?: User;
1700
+ freelancerId: number;
1701
+ freelancer?: User;
1702
+ contractId?: number;
1703
+ contract?: Contract;
1704
+ escrowBalance: string;
1705
+ metadata: Record<string, any>;
1706
+ escrowWalletTransactions: EscrowWalletTransaction[];
1643
1707
  }
1644
1708
 
1645
- declare enum AssessmentRequestStatusEnum {
1646
- PENDING = "PENDING",
1647
- APPROVED = "APPROVED",
1648
- REJECTED = "REJECTED"
1709
+ declare enum ContractStatusEnum {
1710
+ GENERATED = "GENERATED",
1711
+ DRAFTED = "DRAFTED",
1712
+ SENT = "SENT",
1713
+ SIGNED = "SIGNED",
1714
+ ACTIVE = "ACTIVE",
1715
+ CANCELLED = "CANCELLED",
1716
+ DISPUTED = "DISPUTED",
1717
+ REJECTED = "REJECTED",
1718
+ RENEWED = "RENEWED",
1719
+ EXPIRED = "EXPIRED"
1649
1720
  }
1650
- declare class FreelancerAssessmentRequest extends BaseEntity {
1721
+ declare enum ContractTypeEnum {
1722
+ NDA = "NDA",
1723
+ WORK = "WORK",
1724
+ SOW = "SOW",
1725
+ MSA = "MSA"
1726
+ }
1727
+ declare class Contract extends BaseEntity {
1728
+ contractUniqueId: string;
1729
+ jobId: number;
1730
+ job: Job;
1731
+ clientId: number;
1732
+ client: User;
1651
1733
  freelancerId: number;
1652
1734
  freelancer: User;
1653
- approvedById: number;
1654
- approvedBy: User;
1655
- status: AssessmentRequestStatusEnum;
1656
- assessmentLink?: string;
1735
+ duration: number;
1736
+ status: ContractStatusEnum;
1737
+ type: ContractTypeEnum;
1738
+ invoicingCycle: string;
1739
+ escrowDepositeAmount: number;
1740
+ startDate: Date;
1741
+ endDate: Date;
1742
+ originalDocumentUrl: string;
1743
+ contractDocumentUrl: string;
1744
+ clientSignedAt: Date;
1745
+ freelancerViewed: boolean;
1746
+ freelancerViewedAt: Date;
1747
+ freelancerSignedAt: Date;
1748
+ rejectedAt: Date;
1749
+ rejectReason: string;
1750
+ resendCount: number;
1751
+ isWorkContractSent: boolean;
1752
+ isEscrowDeposited: boolean;
1753
+ signaturePositions: any;
1754
+ metaData: any;
1755
+ escrowWallet: EscrowWallet;
1657
1756
  }
1658
1757
 
1659
- declare enum AccountType {
1660
- SUPER_ADMIN = "SUPER_ADMIN",
1661
- ADMIN = "ADMIN",
1662
- SUB_ADMIN = "SUB_ADMIN",
1663
- CLIENT = "CLIENT",
1664
- FREELANCER = "FREELANCER",
1665
- CLIENT_EMPLOYEE = "CLIENT_EMPLOYEE"
1666
- }
1667
- declare enum AccountStatus {
1668
- INACTIVE = "INACTIVE",
1669
- ACTIVE = "ACTIVE",
1670
- SUSPENDED = "SUSPENDED",
1671
- BLOCKED = "BLOCKED"
1672
- }
1673
- declare enum Provider {
1674
- LINKEDIN = "LINKEDIN",
1675
- GOOGLE = "GOOGLE",
1676
- GITLABS = "GITLABS"
1758
+ declare enum TimesheetStatusEnum {
1759
+ DRAFT = "DRAFT",
1760
+ SEND = "SEND",
1761
+ SEND_BACK = "SEND_BACK",
1762
+ APPROVED = "APPROVED",
1763
+ REJECTED = "REJECTED",
1764
+ PAID = "PAID"
1677
1765
  }
1678
- declare class User extends BaseEntity {
1679
- uniqueId: string;
1680
- parentId: number;
1681
- parent: User;
1682
- children: User[];
1683
- username: string;
1684
- firstName: string;
1685
- lastName: string;
1686
- dateOfBirth: Date;
1687
- gender: string;
1688
- profilePictureUrl: string;
1689
- email: string;
1690
- mobileCode: string;
1691
- mobile: string;
1692
- password: string;
1693
- accountType: AccountType;
1694
- accountStatus: AccountStatus;
1695
- isEmailVerified: boolean;
1696
- isMobileVerified: boolean;
1697
- isSocial: boolean;
1698
- lastLoginAt: Date;
1699
- lastLoginIp: string;
1700
- resetToken: string | null;
1701
- resetTokenExpireAt: Date | null;
1702
- setPasswordToken: string | null;
1703
- refreshTokens: RefreshToken[];
1704
- provider: Provider;
1705
- providerToken: string;
1706
- linkedInId: string;
1707
- googleId: string;
1708
- gitLabsId: string;
1709
- onBoardedBy: string;
1710
- otps: Otp[];
1711
- senseloafLogs: SenseloafLog[];
1712
- companyProfile: CompanyProfile;
1713
- companySkills: CompanySkill[];
1714
- companyMemberRoles: CompanyMemberRole[];
1715
- companyAiInterview: AiInterview[];
1716
- clientF2FInterviews: F2FInterview[];
1717
- freelancerProfile: FreelancerProfile;
1718
- freelancerResume: FreelancerResume;
1719
- freelancerAssessmentRequests: FreelancerAssessmentRequest[];
1720
- assessmentRequests: FreelancerAssessmentRequest[];
1721
- assessments: FreelancerAssessment[];
1722
- assessmentAnswers: AssessmentAnswer[];
1723
- freelancerSkills: FreelancerSkill[];
1724
- freelancerExperience: FreelancerExperience[];
1725
- freelancerEducation: FreelancerEducation[];
1726
- freelancerProject: FreelancerProject[];
1727
- freelancerCaseStudy: FreelancerCaseStudy[];
1728
- freelancerTool: FreelancerTool[];
1729
- freelancerFramework: FreelancerFramework[];
1730
- freelancerDeclaration: FreelancerDeclaration;
1731
- freelancerMcq: AssessmetQuestion[];
1732
- freelancerAiInterview: AiInterview[];
1733
- freelancerF2FInterviews: F2FInterview[];
1734
- freelancerF2FInterviewRescheduleRequests: F2fInterviewRescheduleRequest[];
1735
- freelancerAiInterviewRescheduleRequests: AiInterviewRescheduleRequest[];
1736
- clientAiInterviewRescheduleRequests: AiInterviewRescheduleRequest[];
1737
- jobs: Job[];
1738
- jobApplications: JobApplication[];
1739
- interviews: Interview[];
1740
- bankDetail: BankDetail[];
1741
- systemPreference: SystemPreference[];
1742
- givenRatings: Rating[];
1743
- receivedRatings: Rating[];
1744
- adminUserRoles: AdminUserRole[];
1745
- clientContracts: Contract[];
1746
- clientHirings: Hiring[];
1747
- clientEscrowWallets: EscrowWallet[];
1748
- freelancerContracts: Contract[];
1749
- freelancerHirings: Hiring[];
1750
- freelancerEscrowWallets: EscrowWallet[];
1751
- signatures: Signature;
1752
- clientTimesheets: Timesheet[];
1753
- freelancerTimesheets: Timesheet[];
1754
- clientTimesheetLine: TimesheetLine[];
1755
- clientInvoice: Invoice[];
1756
- freelancerTimesheetLine: TimesheetLine[];
1757
- freelancerInvoice: Invoice[];
1758
- clientPreferencesGiven: ClientCandidatePreference[];
1759
- clientPreferencesReceived: ClientCandidatePreference[];
1760
- initiatedDisputes: Dispute[];
1761
- respondentDisputes: Dispute[];
1762
- wallet: Wallet;
1763
- stripeTransactions: StripeTransaction[];
1764
- clientDisputes: Dispute[];
1765
- freelancerDisputes: Dispute[];
1766
+ declare class Timesheet extends BaseEntity {
1767
+ jobId: number;
1768
+ job: Job;
1769
+ clientId: number;
1770
+ client: User;
1771
+ freelancerId: number;
1772
+ freelancer: User;
1773
+ startDate: Date;
1774
+ endDate: Date;
1775
+ startTime: string;
1776
+ endTime: string;
1777
+ workedHours: string;
1778
+ taskId: number;
1779
+ taskName: string;
1780
+ description: string;
1781
+ weekStartDate: Date;
1782
+ weekEndDate: Date;
1783
+ rejectedAt: Date;
1784
+ submittedAt: Date;
1785
+ resubmittedAt: Date;
1786
+ approvedAt: Date;
1787
+ status: TimesheetStatusEnum;
1788
+ clientSendBackReason: string;
1766
1789
  }
1767
1790
 
1768
- declare class CreateSubAdminDto {
1769
- userName: string;
1770
- firstName: string;
1771
- lastName: string;
1772
- accountType: AccountType;
1773
- email: string;
1774
- mobileCode: string;
1775
- mobile: string;
1776
- password: string;
1777
- roleIds: string;
1791
+ declare class JobLocation extends BaseEntity {
1792
+ jobId: number;
1793
+ job: Job;
1794
+ countryId: number;
1795
+ countryName: string;
1796
+ country: Country;
1797
+ stateId: number;
1798
+ stateName: string;
1799
+ state: State;
1800
+ cityId: number;
1801
+ cityName: string;
1802
+ city: City;
1803
+ locationWiseOpenings: number;
1778
1804
  }
1779
1805
 
1780
- declare class UpdateSubAdminAccountStatusDto {
1781
- accountStatus: string;
1806
+ declare enum JobLocationEnum {
1807
+ ONSITE = "ONSITE",
1808
+ REMOTE = "REMOTE",
1809
+ HYBRID = "HYBRID",
1810
+ BOTH = "BOTH"
1782
1811
  }
1783
-
1784
- declare class UpdateSubAdminDto {
1785
- userName: string;
1786
- firstName: string;
1787
- lastName: string;
1788
- accountType: AccountType;
1789
- email: string;
1790
- mobileCode: string;
1791
- mobile: string;
1792
- password?: string;
1793
- roleIds: string;
1812
+ declare enum typeOfExperienceEnum {
1813
+ SINGLE = "SINGLE",
1814
+ RANGE = "RANGE"
1794
1815
  }
1795
-
1796
- interface IFetchSubAdminQuery {
1797
- page_size?: number;
1798
- page: number;
1799
- searchText?: string;
1800
- username: string;
1801
- right: string;
1802
- sortColumn?: string;
1803
- sortBy?: string;
1816
+ declare enum TypeOfEmploymentEnum {
1817
+ FULLTIME = "FULLTIME",
1818
+ PARTTIME = "PARTTIME",
1819
+ BOTH = "BOTH",
1820
+ HOURLY = "HOURLY",
1821
+ FREELANCE = "FREELANCE",
1822
+ FTE = "FTE"
1804
1823
  }
1805
- interface IFetchSubAdminResponse {
1806
- statusCode: number;
1807
- status: boolean;
1808
- message: string;
1809
- data: any;
1824
+ declare enum Step {
1825
+ BASIC_INFORMATION = "BASIC_INFORMATION",
1826
+ ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
1827
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
1828
+ }
1829
+ declare enum JobStatusEnum {
1830
+ ACTIVE = "ACTIVE",
1831
+ OPEN = "OPEN",
1832
+ DRAFT = "DRAFT",
1833
+ ONHOLD = "ONHOLD",
1834
+ CLOSED = "CLOSED",
1835
+ COMPLETED = "COMPLETED"
1836
+ }
1837
+ declare enum DurationTypeEnum {
1838
+ DAY = "DAY",
1839
+ WEEK = "WEEK",
1840
+ MONTH = "MONTH",
1841
+ YEAR = "YEAR"
1842
+ }
1843
+ declare class Job extends BaseEntity {
1844
+ jobId: string;
1845
+ userId: number;
1846
+ user: User;
1847
+ countryId: number;
1848
+ country: Country;
1849
+ stateId: number;
1850
+ state: State;
1851
+ cityId: number;
1852
+ city: City;
1853
+ jobRole: string;
1854
+ jobRoleCanonicalName: string;
1855
+ projectName: string;
1856
+ note: string;
1857
+ openings: number;
1858
+ utilisedOpenings: number;
1859
+ location: JobLocationEnum;
1860
+ typeOfEmployment: TypeOfEmploymentEnum;
1861
+ academicQualification: string;
1862
+ typeOfExperience: typeOfExperienceEnum;
1863
+ yearsOfExperience: string;
1864
+ yearsOfExperienceFrom: string;
1865
+ yearsOfExperienceTo: string;
1866
+ businessIndustry: string;
1867
+ currency: string;
1868
+ expectedSalaryFrom: number;
1869
+ hideExpectedSalaryFrom: boolean;
1870
+ expectedSalaryTo: number;
1871
+ hideExpectedSalaryTo: boolean;
1872
+ expectedAnnualBudgetFrom: number;
1873
+ hideExpectedAnnualBudgetFrom: boolean;
1874
+ expectedAnnualBudgetTo: number;
1875
+ hideExpectedAnnualBudgetTo: boolean;
1876
+ years: string;
1877
+ months: string;
1878
+ weeks: string;
1879
+ days: string;
1880
+ tentativeStartDate: Date;
1881
+ tentativeEndDate: Date;
1882
+ durationType: DurationTypeEnum;
1883
+ duration: string;
1884
+ numberOfHours: number;
1885
+ description: string;
1886
+ additionalComment: string;
1887
+ onboardingTat: string;
1888
+ candidateCommunicationSkills: string;
1889
+ stepCompleted: Step;
1890
+ status: JobStatusEnum;
1891
+ viewedCount: number;
1892
+ applicationCount: number;
1893
+ isContractSigned: boolean;
1894
+ isInterviewCreated: boolean;
1895
+ interviewInvites: InterviewInvite[];
1896
+ jobSkills: JobSkill[];
1897
+ jobApplications: JobApplication[];
1898
+ interviews: Interview[];
1899
+ f2fInterviews: F2FInterview[];
1900
+ recommendations: JobRecommendation[];
1901
+ contracts: Contract[];
1902
+ hirings: Hiring[];
1903
+ escrowWallets: EscrowWallet[];
1904
+ timesheets: Timesheet[];
1905
+ timesheetLine: TimesheetLine[];
1906
+ invoice: Invoice[];
1907
+ clientCandidatePreferences: ClientCandidatePreference[];
1908
+ jobLocations: JobLocation[];
1909
+ ratings: Rating[];
1810
1910
  }
1811
- interface IFetchSubAdminByIdQuery {
1812
- permission?: string;
1911
+
1912
+ declare enum BankAccountTypeEnum {
1913
+ PRIMARY = "PRIMARY",
1914
+ SECONDARY = "SECONDARY"
1813
1915
  }
1814
- interface IFetchSubAdminByIdResponse {
1815
- statusCode: number;
1816
- status: boolean;
1817
- message: string;
1818
- data: any;
1916
+ declare enum BankAccountScopeEnum {
1917
+ DOMESTIC = "DOMESTIC",
1918
+ INTERNATIONAL = "INTERNATIONAL"
1819
1919
  }
1820
- interface ICreateSubAdminPayload {
1821
- uniqueId: string;
1822
- username: string;
1823
- firstName: string;
1824
- lastName: string;
1825
- email: string;
1920
+ declare class BankDetail extends BaseEntity {
1921
+ userId: number;
1922
+ user: User;
1923
+ name: string;
1924
+ mobileCode: string;
1826
1925
  mobile: string;
1827
- password: string;
1828
- accountType: string;
1829
- accountStatus: string;
1830
- }
1831
- interface ICreateSubAdminResponse {
1832
- statusCode: number;
1833
- status: boolean;
1834
- message: string;
1835
- }
1836
- interface IUpdateSubAdminPayload {
1837
- uniqueId: string;
1838
- username: string;
1839
- firstName: string;
1840
- lastName: string;
1841
1926
  email: string;
1842
- mobile: string;
1843
- password: string;
1844
- accountType: string;
1845
- accountStatus: string;
1846
- }
1847
- interface IUpdateSubAdminResponse {
1848
- statusCode: number;
1849
- status: boolean;
1850
- message: string;
1851
- }
1852
- interface IUpdateSubAdminAccountStatusPayload {
1853
- accountSatus: string;
1854
- }
1855
- interface IUpdateSubAdminAccountStatusResponse {
1856
- statusCode: number;
1857
- status: boolean;
1858
- message: string;
1859
- }
1860
- interface IDeleteSubAdminResponse {
1861
- statusCode: number;
1862
- status: boolean;
1863
- message: string;
1864
- }
1865
- interface IAttachPermissionsToSubAdminResponse {
1866
- statusCode: number;
1867
- status: boolean;
1868
- message: string;
1927
+ address: string;
1928
+ accountNumber: string;
1929
+ bankName: string;
1930
+ ifscCode: string;
1931
+ branchName: string;
1932
+ routingNo: string;
1933
+ abaNumber: string;
1934
+ iban: string;
1935
+ accountType: BankAccountTypeEnum;
1936
+ accountScope: BankAccountScopeEnum;
1869
1937
  }
1870
1938
 
1871
- declare const CLIENT_PROFILE_PATTERN: {
1872
- fetchClientProfileQuestions: string;
1873
- fetchClientProfile: string;
1874
- fetchClientPublicProfile: string;
1875
- updateClientProfile: string;
1876
- updateClientLogo: string;
1877
- changeClientPassword: string;
1878
- uploadClientServiceAgreement: string;
1879
- fetchClientServiceAgreement: string;
1880
- generateClientServiceAgreement: string;
1881
- esignClientServiceAgreementForClient: string;
1882
- fetchClientServiceAgreementStatus: string;
1883
- fetchRecommendedFreelancers: string;
1884
- fetchRecommendedFreelancersV2: string;
1885
- fetchRecommendedFreelancersDropdownV2: string;
1886
- clientDataAlteration: string;
1887
- fetchFreelancersForComparison: string;
1888
- deleteClientProfilePic: string;
1889
- fetchFreelancerInfoForChat: string;
1890
- fetchClientAndFreelancerDetailsForChatChannelCreation: string;
1891
- };
1892
-
1893
- declare class UpdateCompanyProfileDto {
1894
- companyName?: string;
1895
- webSite?: string;
1896
- countryId: number;
1897
- stateId: number;
1898
- cityId: number;
1899
- companyAddress: string;
1900
- addressLine: string;
1901
- postalCode: string;
1902
- mobileCode: string;
1903
- phoneNumber?: string;
1904
- email?: string;
1905
- aboutCompany?: string;
1939
+ declare class SystemPreference extends BaseEntity {
1940
+ userId: number;
1941
+ user: User;
1942
+ key: string;
1943
+ value: boolean;
1906
1944
  }
1907
1945
 
1908
- declare class ClientChangePasswordDto {
1909
- newPassword: string;
1910
- confirmPassword: string;
1946
+ declare class FreelancerExperience extends BaseEntity {
1947
+ userId: number;
1948
+ user: User;
1949
+ companyName: string;
1950
+ designation: string;
1951
+ jobDuration: string;
1952
+ description: string;
1911
1953
  }
1912
1954
 
1913
- declare class ClientServiceAgreementUploadDto {
1914
- agreementType?: string;
1955
+ declare class FreelancerEducation extends BaseEntity {
1956
+ userId: number;
1957
+ user: User;
1958
+ degree: string;
1959
+ university: string;
1960
+ yearOfGraduation: string;
1915
1961
  }
1916
1962
 
1917
- declare class ClientESignatureDto {
1918
- uuid: string;
1963
+ declare class FreelancerProject extends BaseEntity {
1964
+ userId: number;
1965
+ user: User;
1966
+ projectName: string;
1967
+ startDate: Date;
1968
+ endDate: Date;
1969
+ clientName: string;
1970
+ gitLink: string;
1971
+ description: string;
1919
1972
  }
1920
1973
 
1921
- declare class FetchFreelancerInfoForChatDto {
1922
- freelancerId: number;
1974
+ declare class FreelancerCaseStudy extends BaseEntity {
1975
+ userId: number;
1976
+ user: User;
1977
+ projectName: string;
1978
+ caseStudyLink: string;
1979
+ description: string;
1923
1980
  }
1924
1981
 
1925
- interface IFetchClientProfileQuery {
1926
- page_size?: number;
1927
- page: number;
1928
- searchText?: string;
1929
- companyName: string;
1930
- right: string;
1931
- sortColumn?: string;
1932
- sortBy?: string;
1982
+ declare enum FreelancerSkillCategoryEnum {
1983
+ GOOD_TO_HAVE = 0,
1984
+ MUST_HAVE = 1
1933
1985
  }
1934
- interface IFetchClientProfileResponse {
1935
- statusCode: number;
1936
- status: boolean;
1937
- message: string;
1938
- data: any;
1986
+ declare class FreelancerSkill extends BaseEntity {
1987
+ userId: number;
1988
+ user: User;
1989
+ skillName: string;
1990
+ skillCategory: FreelancerSkillCategoryEnum;
1939
1991
  }
1940
- interface IUpdateClientProfilePayload {
1941
- userId?: number;
1942
- companyName?: string;
1943
- bio?: string;
1944
- webSite?: string;
1945
- isServiceAgreementSigned?: boolean;
1946
- aboutCompany: string;
1947
- companyAddress: string;
1948
- phoneNumber: string;
1949
- skills?: string[];
1950
- requiredFreelancer?: string;
1951
- kindOfHiring?: string;
1952
- modeOfHire?: string;
1953
- foundUsOn?: string;
1992
+
1993
+ declare class FreelancerTool extends BaseEntity {
1994
+ userId: number;
1995
+ user: User;
1996
+ toolName: string;
1954
1997
  }
1955
- interface IUpdateClientLogoPayload {
1956
- logo: string;
1998
+
1999
+ declare class FreelancerFramework extends BaseEntity {
2000
+ userId: number;
2001
+ user: User;
2002
+ frameworkName: string;
1957
2003
  }
1958
- interface IUpdateClientLogoResponse {
1959
- statusCode: number;
1960
- status: boolean;
1961
- message: string;
2004
+
2005
+ declare enum AssessmentStatusEnum {
2006
+ NOT_ATTEMPTED = "NOT_ATTEMPTED",
2007
+ ACTIVE = "ACTIVE",
2008
+ COMPELETED = "COMPELETED",
2009
+ PASSED = "PASSED",
2010
+ FAILED = "FAILED",
2011
+ EXPIRED = "EXPIRED",
2012
+ POSTPONED = "POSTPONED",
2013
+ RESCHEDULED = "RESCHEDULED",
2014
+ EXITED = "EXITED"
1962
2015
  }
1963
- interface IUpdateClientPasswordPayload {
1964
- oldPassword: string;
1965
- newPassword: string;
2016
+ declare class FreelancerAssessment extends BaseEntity {
2017
+ userId: number;
2018
+ user: User;
2019
+ interviewId: string;
2020
+ interviewLink: string;
2021
+ recordingLink: string;
2022
+ iframeResponse: string;
2023
+ interviewSummary: string;
2024
+ status: AssessmentStatusEnum;
2025
+ taskId: string;
1966
2026
  }
1967
- interface IUpdateClientProfileResponse {
1968
- statusCode: number;
1969
- status: boolean;
1970
- message: string;
2027
+
2028
+ declare enum DocumentType {
2029
+ AADHAAR = "AADHAAR_CARD",
2030
+ PASSPORT = "PASSPORT",
2031
+ DRIVING_LICENSE = "DRIVING_LICENSE",
2032
+ PAN_CARD = "PAN_CARD"
1971
2033
  }
1972
- interface IUpdateClientProfileResponse {
1973
- statusCode: number;
1974
- status: boolean;
1975
- message: string;
2034
+ declare class FreelancerDeclaration extends BaseEntity {
2035
+ userId: number;
2036
+ user: User;
2037
+ documentType: DocumentType;
2038
+ frontDocumentUrl: string;
2039
+ backDocumentUrl: string;
2040
+ declarationAccepted: string;
2041
+ digitalSignatureUrl: string;
1976
2042
  }
1977
2043
 
1978
- declare const ONBOARDING_QUESTION_PATTERN: {
1979
- fetchOnboardingQuestions: string;
1980
- };
1981
- declare const ASSESSMENT_QUESTION_PATTERN: {
1982
- fetchAssessmentQuestions: string;
1983
- handleAssessmentQuestionImport: string;
1984
- handelAssessmentRecordAnswer: string;
1985
- handelAssessmentRecordAnswers: string;
1986
- fetchAssessmentSummary: string;
1987
- };
1988
-
1989
- declare class CreateQuestionDto {
1990
- questionId: string;
1991
- question: string;
1992
- questionFor: string;
1993
- options: string;
2044
+ declare class Permission extends BaseEntity {
2045
+ name: string;
2046
+ slug: string;
2047
+ description: string;
1994
2048
  isActive: boolean;
1995
2049
  }
1996
2050
 
1997
- declare class RecordAssessmentAnswerDto {
1998
- questionId: string;
1999
- answer: any;
2000
- assessmentId?: string;
2001
- userId?: string;
2051
+ declare class CompanyRolePermission extends BaseEntity {
2052
+ companyRoleId: number;
2053
+ companyRole: CompanyRole;
2054
+ permissionId: number;
2055
+ permission: Permission;
2056
+ assignedBy?: number;
2002
2057
  }
2003
2058
 
2004
- declare class RecordAssessmentAnswersDto {
2005
- answers: any[];
2006
- assessmentId?: string;
2007
- userId?: string;
2059
+ declare class CompanyRole extends BaseEntity {
2060
+ userId: number;
2061
+ user: User;
2062
+ name: string;
2063
+ slug: string;
2064
+ description: string;
2065
+ isActive: boolean;
2066
+ rolePermissions: CompanyRolePermission[];
2008
2067
  }
2009
2068
 
2010
- interface IFetchQuestionQuery {
2011
- page_size?: number;
2012
- page: number;
2013
- searchText?: string;
2014
- question: string;
2015
- right: string;
2016
- sortColumn?: string;
2017
- sortBy?: string;
2018
- type?: string;
2019
- }
2020
- interface IFetchQuestionResponse {
2021
- statusCode: number;
2022
- status: boolean;
2023
- message: string;
2024
- data: any;
2069
+ declare class CompanyMemberRole extends BaseEntity {
2070
+ userId: number;
2071
+ user: User;
2072
+ role: CompanyRole;
2073
+ companyRoleId: number;
2074
+ assignedBy?: number;
2025
2075
  }
2026
2076
 
2027
- declare const JOB_ROLE_PATTERN: {
2028
- fetchJobRolesForDropdown: string;
2029
- };
2030
- declare const JOB_PATTERN: {
2031
- fetchJobs: string;
2032
- fetchJobsPublic: string;
2033
- fetchRecentJobs: string;
2034
- fetchJobCountAsPerStatus: string;
2035
- fetchJobCountPublic: string;
2036
- fetchJobsDropdown: string;
2037
- fetchJobDetail: string;
2038
- fetchJobDetailPublic: string;
2039
- handleJdUpload: string;
2040
- fetchJobBasicInformation: string;
2041
- createJobBasicInformation: string;
2042
- updateJobBasicInformation: string;
2043
- fetchJobAdditionalComments: string;
2044
- updateJobAdditionalComments: string;
2045
- fetchJobDescription: string;
2046
- updateJobDescription: string;
2047
- updateJobStatus: string;
2048
- closeJob: string;
2049
- searchJobsByRoleAndSkills: string;
2050
- handleBulkRecommendationAdjustment: string;
2051
- refreshJobFreelancerRecommendationView: string;
2052
- fetchJobConfig: string;
2053
- fetchJobRoleSuggestions: string;
2054
- fetchJobCount: string;
2055
- fetchJobsDropdownForFilters: string;
2056
- fetchJobsDropdownForInterview: string;
2057
- fetchJobsDropdownForFreelancer: string;
2058
- fetchJobDetailForFreelancer: string;
2059
- fetchJobBasicInformationV2: string;
2060
- createJobBasicInformationV2: string;
2061
- updateJobBasicInformationV2: string;
2062
- deleteJob: string;
2063
- fetchRecommendedFreelancersForJobs: string;
2064
- fetchRecommendedFreelancersForJob: string;
2065
- fetchRecommendedFreelancersForJobV2: string;
2066
- handleJobViwedCountIncrement: string;
2067
- fetchJobByIdForTimesheet: string;
2068
- jobDataSetup: string;
2069
- fetchJobsForComparison: string;
2070
- fetchJobSkillDropdownForClient: string;
2071
- };
2072
- declare const JOB_APPLICATION_PATTERN: {
2073
- fetchJobApplicationCountAsPerStatusByJobId: string;
2074
- fetchJobApplicationsByJobId: string;
2075
- fetchJobApplicants: string;
2076
- createJobApplication: string;
2077
- changeJobApplicationStatus: string;
2078
- changeJobApplicationStatusInBulk: string;
2079
- };
2080
-
2081
- declare enum JobLocationEnum {
2082
- ONSITE = "ONSITE",
2083
- REMOTE = "REMOTE",
2084
- HYBRID = "HYBRID"
2085
- }
2086
- declare enum EmploymentType {
2087
- FULLTIME = "FULLTIME",
2088
- PARTTIME = "PARTTIME",
2089
- BOTH = "BOTH",
2090
- HOURLY = "HOURLY",
2091
- FREELANCE = "FREELANCE",
2092
- FTE = "FTE"
2077
+ declare enum AnswerTypeEnum {
2078
+ CORRECT = "CORRECT",
2079
+ ACCEPTABLE = "ACCEPTABLE",
2080
+ ELIMINATE = "ELIMINATE"
2093
2081
  }
2094
- declare class JobBasicInformationDto {
2095
- isDraft?: boolean;
2096
- jobRole: string;
2097
- jobRoleCanonicalName?: string;
2098
- projectName?: string;
2099
- note?: string;
2100
- skills: string[];
2101
- goodToHaveSkills: string[];
2102
- openings: number;
2103
- location: JobLocationEnum;
2104
- countryId: number;
2105
- stateId: number;
2106
- cityId: number;
2107
- typeOfEmployment: EmploymentType;
2108
- currency?: string;
2109
- expectedSalaryFrom: number;
2110
- hideExpectedSalaryFrom: boolean;
2111
- expectedSalaryTo: number;
2112
- hideExpectedSalaryTo: boolean;
2113
- years: string;
2114
- months: string;
2115
- weeks: string;
2116
- days: string;
2117
- numberOfHours: number;
2118
- candidateCommunicationSkills?: string;
2119
- academicQualification?: string;
2120
- yearsOfExperience?: string;
2121
- businessIndustry?: string;
2122
- additionalComment?: string;
2082
+ declare class AssessmetQuestionOption extends BaseEntity {
2083
+ questionId: number;
2084
+ question: AssessmetQuestion;
2085
+ text: string;
2086
+ answerType: AnswerTypeEnum;
2087
+ isActive: boolean;
2088
+ selectedOptions: AssessmentAnswer[];
2123
2089
  }
2124
2090
 
2125
- declare class JobAdditionalCommentDto {
2126
- additionalComment?: string;
2091
+ declare enum QuestionForEnum {
2092
+ ASSESSMENT = "ASSESSMENT",
2093
+ INTERVIEW = "INTERVIEW"
2127
2094
  }
2128
-
2129
- declare class JobDescriptionDto {
2130
- isDraft?: boolean;
2131
- description: string;
2095
+ declare class AssessmetQuestion extends BaseEntity {
2096
+ text: string;
2097
+ questionFor: QuestionForEnum;
2098
+ isActive: boolean;
2099
+ candidateId: number;
2100
+ candidate: User;
2101
+ options: AssessmetQuestionOption[];
2102
+ answers: AssessmentAnswer[];
2132
2103
  }
2133
2104
 
2134
- declare enum JobStatus {
2135
- ACTIVE = "ACTIVE",
2136
- OPEN = "OPEN",
2137
- DRAFT = "DRAFT",
2138
- ONHOLD = "ONHOLD",
2139
- CLOSED = "CLOSED"
2105
+ declare enum SelectedAnswerTypeEnum {
2106
+ CORRECT = "CORRECT",
2107
+ ACCEPTABLE = "ACCEPTABLE",
2108
+ ELIMINATE = "ELIMINATE"
2140
2109
  }
2141
- declare class JobStatusDto {
2142
- status: JobStatus;
2110
+ declare class AssessmentAnswer extends BaseEntity {
2111
+ userId: number;
2112
+ user: User;
2113
+ questionId: number;
2114
+ question: AssessmetQuestion;
2115
+ selectedOptionId: number;
2116
+ option: AssessmetQuestionOption;
2117
+ selectedAnswerType: SelectedAnswerTypeEnum;
2118
+ score: number;
2143
2119
  }
2144
2120
 
2145
- declare class JobIdParamDto {
2146
- id: string;
2121
+ declare class CompanySkill extends BaseEntity {
2122
+ userId: number;
2123
+ user: User;
2124
+ skillName: string;
2147
2125
  }
2148
2126
 
2149
- declare enum JobLocationEnumV2 {
2150
- ONSITE = "ONSITE",
2151
- REMOTE = "REMOTE",
2152
- HYBRID = "HYBRID"
2153
- }
2154
- declare enum EmploymentTypeV2 {
2155
- FULLTIME = "FULLTIME",
2156
- PARTTIME = "PARTTIME",
2157
- BOTH = "BOTH",
2158
- HOURLY = "HOURLY",
2159
- FREELANCE = "FREELANCE",
2160
- FTE = "FTE"
2127
+ declare class AdminPermission extends BaseEntity {
2128
+ permissionName: string;
2129
+ permissionSlug: string;
2130
+ permissionDescription: string;
2131
+ module: string;
2132
+ isActive: boolean;
2133
+ adminRole: AdminRolePermission[];
2161
2134
  }
2162
- declare enum typeOfExperienceDtoEnumV2 {
2163
- SINGLE = "SINGLE",
2164
- RANGE = "RANGE"
2135
+
2136
+ declare class AdminRolePermission extends BaseEntity {
2137
+ roleId: number;
2138
+ adminRole: AdminRole;
2139
+ permissionId: number;
2140
+ adminPermissions: AdminPermission;
2165
2141
  }
2166
- declare enum StepCompletedEnumV2 {
2167
- BASIC_INFORMATION = "BASIC_INFORMATION",
2168
- JOB_DESCRIPTION = "JOB_DESCRIPTION"
2142
+
2143
+ declare class AdminRole extends BaseEntity {
2144
+ roleName: string;
2145
+ roleSlug: string;
2146
+ roleDescription: string;
2147
+ isActive: boolean;
2148
+ adminRolePermission: AdminRolePermission[];
2149
+ userRoles: AdminUserRole[];
2169
2150
  }
2170
- declare class JobLocationDto {
2171
- countryId: number | null;
2172
- stateId: number | null;
2173
- cityId: number | null;
2174
- countryName?: string | null;
2175
- stateName?: string | null;
2176
- cityName?: string | null;
2151
+
2152
+ declare class AdminUserRole extends BaseEntity {
2153
+ userId: number;
2154
+ user: User;
2155
+ roleId: number;
2156
+ adminRole: AdminRole;
2177
2157
  }
2178
- declare class JobBasicInformationV2Dto {
2179
- isDraft?: boolean;
2180
- jobRole: string;
2181
- jobRoleCanonicalName?: string;
2182
- projectName?: string;
2183
- note?: string;
2184
- skills: string[];
2185
- goodToHaveSkills: string[];
2186
- openings: number;
2187
- locationMode: JobLocationEnumV2;
2188
- locations: JobLocationDto[];
2189
- typeOfEmployment: EmploymentTypeV2;
2190
- currency?: string;
2191
- expectedSalaryFrom: number;
2192
- hideExpectedSalaryFrom: boolean;
2193
- expectedSalaryTo: number;
2194
- hideExpectedSalaryTo: boolean;
2195
- expectedAnnualBudgetFrom: number;
2196
- hideExpectedAnnualBudgetFrom: boolean;
2197
- expectedAnnualBudgetTo: number;
2198
- hideExpectedAnnualBudgetTo: boolean;
2199
- years: string;
2200
- months: string;
2201
- weeks: string;
2202
- days: string;
2203
- numberOfHours: number;
2204
- candidateCommunicationSkills?: string;
2205
- academicQualification?: string;
2206
- yearsOfExperienceFrom?: string;
2207
- yearsOfExperienceTo?: string;
2208
- businessIndustry?: string;
2209
- stepCompleted?: StepCompletedEnumV2;
2210
- additionalComment?: string;
2158
+
2159
+ declare class FreelancerResume extends BaseEntity {
2160
+ userId: number;
2161
+ user: User;
2162
+ resumeData: string;
2163
+ processedResumeData: string;
2211
2164
  }
2212
2165
 
2213
- declare class CloseJobDto {
2214
- reason?: string;
2166
+ declare class Signature extends BaseEntity {
2167
+ userId: number;
2168
+ user: User;
2169
+ signatureUrl: string;
2215
2170
  }
2216
2171
 
2217
- declare class CreateJobApplicationDto {
2218
- jobId: string;
2219
- isCta?: boolean;
2172
+ declare enum DisputeStatusEnum {
2173
+ OPEN = "OPEN",
2174
+ IN_REVIEW = "IN_REVIEW",
2175
+ PENDING_RESPONSE = "PENDING_RESPONSE",
2176
+ UNDER_INVESTIGATION = "UNDER_INVESTIGATION",
2177
+ RESOLVED = "RESOLVED",
2178
+ CLOSED = "CLOSED",
2179
+ ESCALATED = "ESCALATED",
2180
+ CANCELLED = "CANCELLED",
2181
+ REOPENED = "REOPENED"
2182
+ }
2183
+ declare enum InitiatorTypeEnum {
2184
+ FREELANCER = "FREELANCER",
2185
+ CLIENT = "CLIENT"
2186
+ }
2187
+ declare class Dispute extends BaseEntity {
2188
+ clientId: number;
2189
+ client: User;
2190
+ freelancerId: number;
2191
+ freelancer: User;
2192
+ disputeUniqueId: string;
2193
+ disputeType: string;
2194
+ description: string;
2195
+ comment: string;
2196
+ status: DisputeStatusEnum;
2197
+ initiatorType: DisputeStatusEnum;
2198
+ initiatorId: number;
2199
+ initiator: User;
2200
+ respondentId: number;
2201
+ respondent: User;
2202
+ attachments: any[];
2203
+ dynamicFields: Record<string, any>;
2220
2204
  }
2221
2205
 
2222
- declare enum JobApplicationStatus {
2206
+ declare enum StripeTransactionTypeEnum {
2207
+ ADD_FUNDS = "ADD_FUNDS",
2208
+ TRANSFER = "TRANSFER",
2209
+ WITHDRAW = "WITHDRAW",
2210
+ INVOICE_PAYMENT = "INVOICE_PAYMENT",
2211
+ REFUND = "REFUND"
2212
+ }
2213
+ declare enum StripeTransactionStatusEnum {
2223
2214
  PENDING = "PENDING",
2224
- SHORTLISTED = "SHORTLISTED",
2225
- REJECTED = "REJECTED",
2226
- HIRED = "HIRED",
2227
- WITHDRAWN = "WITHDRAWN"
2215
+ PROCESSING = "PROCESSING",
2216
+ COMPLETED = "COMPLETED",
2217
+ FAILED = "FAILED",
2218
+ EXPIRED = "EXPIRED",
2219
+ CANCELLED = "CANCELLED"
2228
2220
  }
2229
- declare class ChangeJobApplicationStatusDto {
2230
- status: JobApplicationStatus;
2221
+ declare class StripeTransaction extends BaseEntity {
2222
+ userId: number;
2223
+ user: User;
2224
+ stripeSessionId: string;
2225
+ stripePaymentIntentId: string;
2226
+ stripeChargeId: string;
2227
+ stripeReceiptUrl: string;
2228
+ stripeBalanceTransactionId: string;
2229
+ stripePaymentMethod: string | null;
2230
+ stripePaymentStatus: string | null;
2231
+ type: StripeTransactionTypeEnum;
2232
+ currency: string;
2233
+ desiredDepositCents: number;
2234
+ platformFeeCents: number;
2235
+ taxCents: number | null;
2236
+ estimatedStripeFee: number | null;
2237
+ estimatedTotalCents: number | null;
2238
+ actualStripeFee: number | null;
2239
+ actualTotalPaidCents: number | null;
2240
+ netReceivedCents: number | null;
2241
+ description: string;
2242
+ status: StripeTransactionStatusEnum;
2243
+ checkoutSessionCompletedAt: Date;
2244
+ completedAt: Date;
2245
+ billingDetails: Record<string, any> | null;
2246
+ paymentMethodDetails: Record<string, any> | null;
2247
+ rawSessionPayload: Record<string, any> | null;
2248
+ rawSessionResponse: Record<string, any> | null;
2231
2249
  }
2232
2250
 
2233
- declare class ChangeJobApplicationStatusBulkDto {
2234
- jobApplicationIds: number[];
2235
- status: JobApplicationStatus;
2251
+ declare enum WalletTransactionTypeEnum {
2252
+ CR = "CR",
2253
+ DR = "DR"
2236
2254
  }
2237
-
2238
- declare const PROFILE_PATTERN: {
2239
- fetchFreelancerProfile: string;
2240
- fetchFreelancerPublicProfile: string;
2241
- fetchFreelancerScreeningResult: string;
2242
- fetchFreelancerScreeningResultPublic: string;
2243
- changeFreelancerPassword: string;
2244
- uploadFreelancerProfilePic: string;
2245
- updateFreelancerProfile: string;
2246
- uploadFreelancerServiceAgreement: string;
2247
- fetchFreelancerServiceAgreement: string;
2248
- generateFreelancerServiceAgreement: string;
2249
- esignFreelancerServiceAgreementForClient: string;
2250
- freelancerResumeDataMappingDev: string;
2251
- freelancerMcqScoreMappingDev: string;
2252
- fetchFreelancerDropdown: string;
2253
- fetchFreelancerDesignationDropdown: string;
2254
- deleteFreelancerProfilePic: string;
2255
- fetchRecommendedJobsForFreelancer: string;
2256
- fetchRecommendedClientsDropdownForFreelancerV2: string;
2257
- fetchRecommendedJobsDropdownForFreelancerV2: string;
2258
- fetchRecommendedJobsForFreelancerV2: string;
2259
- fetchAppliedJobsOfFreelancer: string;
2260
- fetchAppliedJobsDropdownForFreelancer: string;
2261
- countOfActiveFreelancers: string;
2262
- findUsersByUuids: string;
2263
- markFollowedOnLinkedIn: string;
2264
- fetchFreelancerResumeByUuId: string;
2265
- fetchClientByIdForContract: string;
2266
- fetchFreelancerByIdForContract: string;
2267
- freelancerDataSetup: string;
2268
- freelancerEmailAndMobileMasking: string;
2269
- fetchClientInfoForChat: string;
2270
- fetchAiAssessmentDetails: string;
2271
- captureAiAssessmentResult: string;
2272
- };
2273
- declare const FREELANCER_ASSESSMENT_REQUEST_PATTERN: {
2274
- fetchAssessmentRequestsForFreelancer: string;
2275
- createFreelancerAssessmentRequest: string;
2276
- };
2277
-
2278
- declare class FreelancerChangePasswordDto {
2279
- oldPassword: string;
2280
- newPassword: string;
2255
+ declare enum WalletTransactionStatusEnum {
2256
+ PENDING = "PENDING",
2257
+ PROCESSING = "PROCESSING",
2258
+ SUCCESS = "SUCCESS",
2259
+ FAILED = "FAILED",
2260
+ EXPIRED = "EXPIRED"
2261
+ }
2262
+ declare class WalletTransaction extends BaseEntity {
2263
+ walletId: number;
2264
+ wallet: Wallet;
2265
+ amount: number;
2266
+ balanceBefore: number;
2267
+ balanceAfter: number;
2268
+ type: WalletTransactionTypeEnum;
2269
+ status: WalletTransactionStatusEnum;
2270
+ description: string;
2271
+ completedAt: Date;
2272
+ transactionFor: string;
2273
+ metaData: string;
2274
+ stripeTransactionId: number;
2281
2275
  }
2282
2276
 
2283
- declare enum NatureOfWorkDto$1 {
2284
- FREELANCE = "FREELANCE",
2285
- FTE = "FTE",
2286
- BOTH = "BOTH"
2277
+ declare enum WalletAccountTypeEnum {
2278
+ ADMIN = "ADMIN",
2279
+ BUSINESS = "BUSINESS",
2280
+ FREELANCER = "FREELANCER"
2287
2281
  }
2288
- declare enum ModeOfWorkDto {
2289
- ONSITE = "ONSITE",
2290
- REMOTE = "REMOTE",
2291
- HYBRID = "HYBRID"
2282
+ declare enum WalletOnboardingStatusEnum {
2283
+ PENDING = "PENDING",
2284
+ COMPLETED = "COMPLETED"
2292
2285
  }
2293
- declare class UpdateFreelancerProfileDto {
2294
- firstName: string;
2295
- lastName: string;
2296
- designation: string;
2297
- experience: string;
2298
- email: string;
2299
- mobileCode: string;
2300
- mobile: string;
2301
- countryId: number;
2302
- stateId: number;
2303
- cityId: number;
2304
- expectedHourlyCompensation: string;
2305
- expectedAnnualCompensation: string;
2306
- numberOfHours?: number;
2307
- natureOfWork: NatureOfWorkDto$1;
2308
- modeOfWork: ModeOfWorkDto;
2309
- portfolioLink?: string;
2310
- address: string;
2311
- addressLine?: string;
2312
- postalCode: string;
2313
- about?: string;
2314
- linkedinProfileLink?: string;
2315
- kaggleProfileLink?: string;
2316
- githubProfileLink?: string;
2317
- stackOverflowProfileLink?: string;
2318
- resumeUrl?: string;
2286
+ declare class Wallet extends BaseEntity {
2287
+ userId: number;
2288
+ user: User;
2289
+ accountType: WalletAccountTypeEnum;
2290
+ stripeAccountId: string;
2291
+ stripeCustomerId: string;
2292
+ walletBalance: string;
2293
+ walletBalanceCents: number;
2294
+ onboardingStatus: WalletOnboardingStatusEnum;
2295
+ stripeMetadata: Record<string, any>;
2296
+ walletTransactions: WalletTransaction[];
2319
2297
  }
2320
2298
 
2321
- declare class FreelancerESignatureDto {
2322
- uuid: string;
2299
+ declare enum AssessmentRequestStatusEnum {
2300
+ PENDING = "PENDING",
2301
+ APPROVED = "APPROVED",
2302
+ REJECTED = "REJECTED"
2323
2303
  }
2324
-
2325
- declare class FetchClientInfoForChatDto {
2326
- clientId: number;
2304
+ declare class FreelancerAssessmentRequest extends BaseEntity {
2305
+ freelancerId: number;
2306
+ freelancer: User;
2307
+ approvedById: number;
2308
+ approvedBy: User;
2309
+ status: AssessmentRequestStatusEnum;
2310
+ assessmentLink?: string;
2327
2311
  }
2328
2312
 
2329
- declare class CaptureAiAssessmentResultDto {
2330
- aiAssessmentUuid: string;
2331
- result?: any;
2332
- status?: string;
2313
+ declare enum AccountType {
2314
+ SUPER_ADMIN = "SUPER_ADMIN",
2315
+ ADMIN = "ADMIN",
2316
+ SUB_ADMIN = "SUB_ADMIN",
2317
+ CLIENT = "CLIENT",
2318
+ FREELANCER = "FREELANCER",
2319
+ CLIENT_EMPLOYEE = "CLIENT_EMPLOYEE"
2333
2320
  }
2334
-
2335
- declare const BANK_PATTERN: {
2336
- addFreelancerBankDetails: string;
2337
- fetchFreelancerBankDetails: string;
2338
- updateFreelancerBankDetails: string;
2339
- deleteBankAccount: string;
2340
- fetchBankAccounts: string;
2341
- setBankAccountPrimary: string;
2342
- };
2343
-
2344
- declare enum BankAccountScope {
2345
- DOMESTIC = "DOMESTIC",
2346
- INTERNATIONAL = "INTERNATIONAL"
2321
+ declare enum AccountStatus {
2322
+ INACTIVE = "INACTIVE",
2323
+ ACTIVE = "ACTIVE",
2324
+ SUSPENDED = "SUSPENDED",
2325
+ BLOCKED = "BLOCKED"
2347
2326
  }
2348
- declare class FreelancerBankDetailsDto {
2349
- name: string;
2327
+ declare enum Provider {
2328
+ LINKEDIN = "LINKEDIN",
2329
+ GOOGLE = "GOOGLE",
2330
+ GITLABS = "GITLABS"
2331
+ }
2332
+ declare class User extends BaseEntity {
2333
+ uniqueId: string;
2334
+ parentId: number;
2335
+ parent: User;
2336
+ children: User[];
2337
+ username: string;
2338
+ firstName: string;
2339
+ lastName: string;
2340
+ dateOfBirth: Date;
2341
+ gender: string;
2342
+ profilePictureUrl: string;
2343
+ email: string;
2350
2344
  mobileCode: string;
2351
2345
  mobile: string;
2352
- email: string;
2353
- address: string;
2354
- accountNumber: string;
2355
- bankName: string;
2356
- branchName: string;
2357
- ifscCode: string;
2358
- routingNo: string;
2359
- abaNumber: string;
2360
- iban: string;
2361
- accountType: string;
2362
- accountScope: BankAccountScope;
2363
- }
2364
-
2365
- declare const PLAN_PATTERN: {
2366
- fetchPlans: string;
2367
- };
2368
-
2369
- interface IFetchPlanResponse {
2370
- statusCode: number;
2371
- status: boolean;
2372
- message: string;
2373
- data: any;
2346
+ password: string;
2347
+ accountType: AccountType;
2348
+ accountStatus: AccountStatus;
2349
+ isEmailVerified: boolean;
2350
+ isMobileVerified: boolean;
2351
+ isSocial: boolean;
2352
+ lastLoginAt: Date;
2353
+ lastLoginIp: string;
2354
+ resetToken: string | null;
2355
+ resetTokenExpireAt: Date | null;
2356
+ setPasswordToken: string | null;
2357
+ refreshTokens: RefreshToken[];
2358
+ provider: Provider;
2359
+ providerToken: string;
2360
+ linkedInId: string;
2361
+ googleId: string;
2362
+ gitLabsId: string;
2363
+ onBoardedBy: string;
2364
+ otps: Otp[];
2365
+ senseloafLogs: SenseloafLog[];
2366
+ companyProfile: CompanyProfile;
2367
+ companySkills: CompanySkill[];
2368
+ companyMemberRoles: CompanyMemberRole[];
2369
+ companyAiInterview: AiInterview[];
2370
+ clientF2FInterviews: F2FInterview[];
2371
+ freelancerProfile: FreelancerProfile;
2372
+ freelancerResume: FreelancerResume;
2373
+ freelancerAssessmentRequests: FreelancerAssessmentRequest[];
2374
+ assessmentRequests: FreelancerAssessmentRequest[];
2375
+ assessments: FreelancerAssessment[];
2376
+ assessmentAnswers: AssessmentAnswer[];
2377
+ freelancerSkills: FreelancerSkill[];
2378
+ freelancerExperience: FreelancerExperience[];
2379
+ freelancerEducation: FreelancerEducation[];
2380
+ freelancerProject: FreelancerProject[];
2381
+ freelancerCaseStudy: FreelancerCaseStudy[];
2382
+ freelancerTool: FreelancerTool[];
2383
+ freelancerFramework: FreelancerFramework[];
2384
+ freelancerDeclaration: FreelancerDeclaration;
2385
+ freelancerMcq: AssessmetQuestion[];
2386
+ freelancerAiInterview: AiInterview[];
2387
+ freelancerF2FInterviews: F2FInterview[];
2388
+ freelancerF2FInterviewRescheduleRequests: F2fInterviewRescheduleRequest[];
2389
+ freelancerAiInterviewRescheduleRequests: AiInterviewRescheduleRequest[];
2390
+ clientAiInterviewRescheduleRequests: AiInterviewRescheduleRequest[];
2391
+ jobs: Job[];
2392
+ jobApplications: JobApplication[];
2393
+ interviews: Interview[];
2394
+ bankDetail: BankDetail[];
2395
+ systemPreference: SystemPreference[];
2396
+ givenRatings: Rating[];
2397
+ receivedRatings: Rating[];
2398
+ adminUserRoles: AdminUserRole[];
2399
+ clientContracts: Contract[];
2400
+ clientHirings: Hiring[];
2401
+ clientEscrowWallets: EscrowWallet[];
2402
+ freelancerContracts: Contract[];
2403
+ freelancerHirings: Hiring[];
2404
+ freelancerEscrowWallets: EscrowWallet[];
2405
+ signatures: Signature;
2406
+ clientTimesheets: Timesheet[];
2407
+ freelancerTimesheets: Timesheet[];
2408
+ clientTimesheetLine: TimesheetLine[];
2409
+ clientInvoice: Invoice[];
2410
+ freelancerTimesheetLine: TimesheetLine[];
2411
+ freelancerInvoice: Invoice[];
2412
+ clientPreferencesGiven: ClientCandidatePreference[];
2413
+ clientPreferencesReceived: ClientCandidatePreference[];
2414
+ initiatedDisputes: Dispute[];
2415
+ respondentDisputes: Dispute[];
2416
+ wallet: Wallet;
2417
+ stripeTransactions: StripeTransaction[];
2418
+ clientDisputes: Dispute[];
2419
+ freelancerDisputes: Dispute[];
2374
2420
  }
2375
2421
 
2376
- declare const SYSTEM_PREFERENCES_PATTERN: {
2377
- fetchSystemPreference: string;
2378
- updateSystemPreference: string;
2379
- createSystemPreference: string;
2380
- };
2381
-
2382
- declare enum SystemPreferenceKey {
2383
- EMAIL_NOTIFICATION = "EMAIL_NOTIFICATION",
2384
- DARK_MODE = "DARK_MODE"
2385
- }
2386
- declare class SystemPreferenceDto {
2387
- value: boolean;
2388
- key: SystemPreferenceKey;
2422
+ declare enum RatingTypeEnum {
2423
+ FREELANCER_TO_CLIENT = "FREELANCER_TO_CLIENT",
2424
+ CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
2389
2425
  }
2390
-
2391
- declare const NOTIFICATION_PATTERN: {
2392
- handleAccountVerificationNotification: string;
2393
- handleResetLinkNotification: string;
2394
- handleBusinessAccountCreatedNotification: string;
2395
- handleBusinessAccountSetPasswordNotification: string;
2396
- handleFreelancerAccountSetPasswordNotification: string;
2397
- handleSendBulkInterviewInvites: string;
2398
- handleFreelancerAccountCreatedNotification: string;
2399
- handleSetPasswordLinkNotification: string;
2400
- handleLeadNotificationToAdmin: string;
2401
- handleDailyFreelancerReportToStakeHolders: string;
2402
- handleAiAssessmentLinkNotification: string;
2403
- handleRecordingProcessingErrorNotification: string;
2404
- handleResumeParserErrorNotification: string;
2405
- handleFreelancerExportReadyNotification: string;
2406
- handleFreelancerExportFailedNotification: string;
2407
- handleAiInterviewResultErrorNotification: string;
2408
- handleAiInterviewRecordingErrorNotification: string;
2409
- handleAiAssessmentInterviewResultErrorNotification: string;
2410
- handleAiAssessmentInterviewRecordingErrorNotification: string;
2411
- };
2412
- declare const SMS_PATTERN: {
2413
- sendTest: string;
2414
- queueStats: string;
2415
- cleanQueue: string;
2416
- status: string;
2417
- accountInfo: string;
2418
- };
2419
- declare const EMAIL_PATTERN: {
2420
- sendTest: string;
2421
- send: string;
2422
- sendTemplate: string;
2423
- getQueueStats: string;
2424
- cleanQueue: string;
2425
- };
2426
-
2427
- declare class TestNotificationDto {
2428
- email?: string;
2429
- phone?: string;
2430
- message?: string;
2431
- data?: any;
2432
- type?: string;
2426
+ declare class Rating extends BaseEntity {
2427
+ reviewerId: number;
2428
+ reviewer: User;
2429
+ revieweeId: number;
2430
+ reviewee: User;
2431
+ jobId: number;
2432
+ job: Job;
2433
+ ratingType: RatingTypeEnum;
2434
+ reviewerComment: string;
2435
+ overAllExperience: number;
2436
+ workQuality: number;
2437
+ oneTimeDelivery: number;
2438
+ understaning: number;
2439
+ communication: number;
2440
+ skillUtilized: number;
2441
+ communicationClarity: number;
2442
+ requirementsClarity: number;
2443
+ responsiveness: number;
2444
+ paymentPromptness: number;
2445
+ responsibilitiesAndExpectations: number;
2433
2446
  }
2434
2447
 
2435
- declare const RATING_PATTERN: {
2436
- addRating: string;
2437
- fetchRating: string;
2438
- };
2439
-
2440
2448
  declare class CreateRatingDto {
2441
2449
  revieweeId: number;
2442
2450
  reviewerId: number;
@@ -3521,7 +3529,7 @@ declare class CustomQuestionItemDto {
3521
3529
  declare class AiQuestionItemDto {
3522
3530
  uuid?: string;
3523
3531
  question: string;
3524
- concepts?: string;
3532
+ concepts?: string[];
3525
3533
  }
3526
3534
  declare class CreateInterviewQuestionsDto {
3527
3535
  questions?: CustomQuestionItemDto[];
@@ -3595,7 +3603,7 @@ declare enum ContractTypeEnumDto {
3595
3603
  MSA = "MSA"
3596
3604
  }
3597
3605
  declare class GenerateContractDto {
3598
- jobId: string;
3606
+ jobId: number;
3599
3607
  freelancerId: number;
3600
3608
  contractType?: ContractTypeEnumDto;
3601
3609
  contractStartDate?: string;
@@ -4108,4 +4116,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
4108
4116
  isActive: boolean;
4109
4117
  }
4110
4118
 
4111
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AI_INTERVIEW_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AddTopupEscrowAmountDto, AdminCreateJobInformationDto, AdminJobBasicInformationV2Dto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentCreationDto, AiAssessmentStatusEnum, AiInterview, AiInterviewLinkGenerationDto, AiInterviewQuestionGenerateDto, AiInterviewRescheduleRequest, AiInterviewRescheduleRequestStatusEnum, AiInterviewStatusEnum, AiInterviewTemplateGenerationDto, AiQuestionItemDto, AnswerTypeEnum, ApplicationStatusEnum, ApproveTimesheetsDto, AssessmentAnswer, AssessmentRequestStatus, AssessmentRequestStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_CANDIDATE_PREFERENCE_PATTERN, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMMISSION_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaptureAiAssessmentResultDto, CaptureAiInterviewResultPublicDto, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChangeJobApplicationStatusBulkDto, ChangeJobApplicationStatusDto, ChatRMQAdapter, ChatTCPAdapter, CheckResumeEligibilityDto, City, ClientAddFundDto, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientESignatureDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, ClientServiceAgreementUploadDto, CloseJobDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractSourceEnum, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, ContractTypeEnumDto, Country, CreateAIInterviewRescheduleRequestDto, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDefaultTimesheetLineDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateHiringDto, CreateInterviewBasicInformationDto, CreateInterviewQuestionsDto, CreateInterviewSkillsDto, CreateInvoiceDto, CreateJobApplicationDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, CustomQuestionItemDto, DISPUTE_PATTERN, DebitCommissionFteHiringDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EMAIL_PATTERN, EducationDto, EmploymentType, EmploymentTypeV2, EscrowFundContractDto, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, EsignContractClientDto, EsignContractFreelancerDto, ExistingCandidateDto, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_ASSESSMENT_REQUEST_PATTERN, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, FetchClientInfoForChatDto, FetchFreelancerInfoForChatDto, ForgotPasswordDto, FreelancerAssessment, FreelancerAssessmentRequest, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerESignatureDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, GenerateContractDto, HIRING_PATTERN, HiredFreelancerNatureOfWorkEnum, Hiring, HiringCommissionTypeEnum, 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, INTERVIEW_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, InterviewInviteCandidateType, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewSkillItemDto, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_APPLICATION_PATTERN, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobApplicationStatus, JobBasicInformationDto, JobBasicInformationV2Dto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationAdminDto, JobLocationDto, JobLocationEnum$1 as JobLocationEnum, JobLocationEnumDto, JobLocationEnumV2, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, LLM_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, MAINTENANCE_PATTERN, MarkCandidateStatusBulkDto, MarkCandidateStatusDto, McqStatusEnum, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NewCandidateDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, PreCheckoutCalculationDto, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RecordAssessmentAnswerDto, RecordAssessmentAnswersDto, RecordingStatusEnum, RefreshDto, RefreshToken, RejectAIInterviewRescheduleRequestDto, RejectF2FInterviewRescheduleRequestDto, ResetPasswordDto, ResetPasswordTokenValidationDto, ResubmitTimesheetDto, ResultStatusEnum, ResumeDataProcessingDto, ResumeParsingByUrlDto, SENSELOAF_PATTERN, SIGNATURE_PATTERN, SKILL_PATTERN, SMS_PATTERN, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, SaveSignatureDto, ScopeEmailEnumDto, ScopeEmailForLoginEnumDto, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendAiAssessmentLinkDto, SendBackTimesheetsDto, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendInterviewInviteDto, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SendNdaContractToFreelancerDto, SendOtpDto, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, SocialAuthDto, State, Step, StepCompletedEnumV2, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SubmitTimesheetDto, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, TestNotificationDto, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TransferFundsDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateAdminRoleStatusDto, UpdateAssessmentRequestStatusDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInterviewBasicInformationDto, UpdateInterviewSettingDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, ValidateEmailDto, ValidateEmailForLoginDto, ValidateMobileDto, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, VerifyOnboardingTokenDto, VerifyOtpDto, WALLET_ADMIN_PATTERN, WALLET_PATTERN, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZOOM_PATTERN, ZoomMeetingLog, typeOfExperienceDtoEnumV2, typeOfExperienceEnum };
4119
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AI_INTERVIEW_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AddTopupEscrowAmountDto, AdminCreateJobInformationDto, AdminJobBasicInformationV2Dto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentCreationDto, AiAssessmentStatusEnum, AiInterview, AiInterviewLinkGenerationDto, AiInterviewQuestionGenerateDto, AiInterviewRescheduleRequest, AiInterviewRescheduleRequestStatusEnum, AiInterviewStatusEnum, AiInterviewTemplateGenerationDto, AiQuestionItemDto, AnswerTypeEnum, ApplicationStatusEnum, ApproveTimesheetsDto, AssessmentAnswer, AssessmentRequestStatus, AssessmentRequestStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_CANDIDATE_PREFERENCE_PATTERN, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMMISSION_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaptureAiAssessmentResultDto, CaptureAiInterviewResultPublicDto, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChangeJobApplicationStatusBulkDto, ChangeJobApplicationStatusDto, ChatRMQAdapter, ChatTCPAdapter, CheckResumeEligibilityDto, City, ClientAddFundDto, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientESignatureDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, ClientServiceAgreementUploadDto, CloseJobDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractSourceEnum, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, ContractTypeEnumDto, Country, CreateAIInterviewRescheduleRequestDto, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDefaultTimesheetLineDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateHiringDto, CreateInterviewBasicInformationDto, CreateInterviewQuestionsDto, CreateInterviewSkillsDto, CreateInvoiceDto, CreateJobApplicationDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, CustomQuestionItemDto, DISPUTE_PATTERN, DebitCommissionFteHiringDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EMAIL_PATTERN, EducationDto, EmploymentType, EmploymentTypeV2, EscrowFundContractDto, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, EsignContractClientDto, EsignContractFreelancerDto, ExistingCandidateDto, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_ASSESSMENT_REQUEST_PATTERN, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, FetchClientInfoForChatDto, FetchFreelancerInfoForChatDto, ForgotPasswordDto, FreelancerAssessment, FreelancerAssessmentRequest, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerESignatureDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, GenerateContractDto, HIRING_PATTERN, HiredFreelancerNatureOfWorkEnum, Hiring, HiringCommissionTypeEnum, 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, INTERVIEW_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, InterviewInviteCandidateType, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewSkillItemDto, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_APPLICATION_PATTERN, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobApplicationStatus, JobBasicInformationDto, JobBasicInformationV2Dto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationAdminDto, JobLocationDto, JobLocationEnum, JobLocationEnumDto, JobLocationEnumV2, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, LLM_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, MAINTENANCE_PATTERN, MarkCandidateStatusBulkDto, MarkCandidateStatusDto, McqStatusEnum, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NewCandidateDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, PreCheckoutCalculationDto, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RecordAssessmentAnswerDto, RecordAssessmentAnswersDto, RecordingStatusEnum, RefreshDto, RefreshToken, RejectAIInterviewRescheduleRequestDto, RejectF2FInterviewRescheduleRequestDto, ResetPasswordDto, ResetPasswordTokenValidationDto, ResubmitTimesheetDto, ResultStatusEnum, ResumeDataProcessingDto, ResumeParsingByUrlDto, SENSELOAF_PATTERN, SIGNATURE_PATTERN, SKILL_PATTERN, SMS_PATTERN, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, SaveSignatureDto, ScopeEmailEnumDto, ScopeEmailForLoginEnumDto, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendAiAssessmentLinkDto, SendBackTimesheetsDto, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendInterviewInviteDto, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SendNdaContractToFreelancerDto, SendOtpDto, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, SocialAuthDto, State, Step, StepCompletedEnumV2, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SubmitTimesheetDto, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, TestNotificationDto, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TransferFundsDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateAdminRoleStatusDto, UpdateAssessmentRequestStatusDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInterviewBasicInformationDto, UpdateInterviewSettingDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, ValidateEmailDto, ValidateEmailForLoginDto, ValidateMobileDto, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, VerifyOnboardingTokenDto, VerifyOtpDto, WALLET_ADMIN_PATTERN, WALLET_PATTERN, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZOOM_PATTERN, ZoomMeetingLog, typeOfExperienceDtoEnumV2, typeOfExperienceEnum };