@experts_hub/shared 1.0.636 → 1.0.637

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