@experts_hub/shared 1.0.636 → 1.0.638

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.ts CHANGED
@@ -333,836 +333,895 @@ 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"
743
+ INPROGRESS = "INPROGRESS",
744
+ AUTOCANCELLED = "AUTOCANCELLED"
784
745
  }
785
- declare class ChangeJobApplicationStatusDto {
786
- status: JobApplicationStatus;
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;
787
756
  }
788
757
 
789
- declare class ChangeJobApplicationStatusBulkDto {
790
- jobApplicationIds: number[];
791
- status: JobApplicationStatus;
758
+ declare enum F2fInterviewScheduleStatusEnum {
759
+ ACTIVE = "ACTIVE",
760
+ COMPELETED = "COMPELETED",
761
+ RESCHEDULED = "RESCHEDULED",
762
+ CANCELLED = "CANCELLED"
792
763
  }
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;
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;
837
782
  }
838
783
 
839
- declare enum NatureOfWorkDto {
840
- FREELANCE = "FREELANCE",
841
- FTE = "FTE",
842
- BOTH = "BOTH"
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"
843
794
  }
844
- declare enum ModeOfWorkDto {
845
- ONSITE = "ONSITE",
846
- REMOTE = "REMOTE",
847
- HYBRID = "HYBRID"
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[];
848
820
  }
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;
821
+
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[];
875
851
  }
876
852
 
877
- declare class FreelancerESignatureDto {
878
- uuid: string;
853
+ declare enum ClientCandidatePreferenceEnum {
854
+ NOT_SUITABLE = "NOT_SUITABLE",
855
+ SHORTLISTED = "SHORTLISTED"
856
+ }
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;
879
867
  }
880
868
 
881
- declare class FetchClientInfoForChatDto {
869
+ declare class JobRecommendation {
870
+ id: number;
871
+ jobId: number;
872
+ job: Job;
873
+ freelancerId: number;
882
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[];
883
883
  }
884
884
 
885
- declare class CaptureAiAssessmentResultDto {
886
- aiAssessmentUuid: string;
887
- result?: any;
888
- status?: string;
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;
889
898
  }
890
899
 
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"
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"
903
909
  }
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;
910
+ declare enum TimesheetSubmissionActionEnum {
911
+ SUBMITTED = "SUBMITTED",
912
+ RESUBMITTED = "RESUBMITTED",
913
+ SEND_BACK = "SEND_BACK",
914
+ APPROVED = "APPROVED",
915
+ REJECTED = "REJECTED",
916
+ PAID = "PAID"
919
917
  }
920
-
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;
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;
930
926
  }
931
927
 
932
- declare const SYSTEM_PREFERENCES_PATTERN: {
933
- fetchSystemPreference: string;
934
- updateSystemPreference: string;
935
- createSystemPreference: string;
936
- };
937
-
938
- declare enum SystemPreferenceKey {
939
- EMAIL_NOTIFICATION = "EMAIL_NOTIFICATION",
940
- DARK_MODE = "DARK_MODE"
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"
941
937
  }
942
- declare class SystemPreferenceDto {
943
- value: boolean;
944
- key: SystemPreferenceKey;
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[];
945
955
  }
946
956
 
947
- declare const GLOBAL_SETTING_PATTERN: {
948
- addGlobalSetting: string;
949
- removeGlobalSetting: string;
950
- };
951
-
952
- declare class AddGlobalSettingDto {
953
- key: string;
954
- value: string;
957
+ declare enum ContractSummaryStatusEnum {
958
+ PENDING = "PENDING",
959
+ ACTIVE = "ACTIVE",
960
+ COMPLETED = "COMPLETED"
955
961
  }
956
-
957
- declare class RemoveGlobalSettingDto {
958
- uuid?: string;
959
- key?: string;
962
+ declare enum ContractSummaryPreferredEngagementTypeEnum {
963
+ FREELANCE = "FREELANCE"
960
964
  }
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;
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;
1007
987
  }
1008
988
 
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;
989
+ declare enum HiredFreelancerNatureOfWorkEnum {
990
+ FTE = "FTE",
991
+ FREELANCE = "FREELANCE"
1025
992
  }
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;
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;
1037
1006
  }
1038
1007
 
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;
1008
+ declare enum InvoiceTypeEnum {
1009
+ WEEKLY = "WEEKLY",
1010
+ MONTHLY = "MONTHLY",
1011
+ FTE = "FTE"
1051
1012
  }
1052
-
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;
1013
+ declare enum InvoiceStatusEnum {
1014
+ SUBMITTED = "SUBMITTED",
1015
+ UNDER_REVIEW = "UNDER_REVIEW",
1016
+ APPROVED = "APPROVED",
1017
+ REJECTED = "REJECTED"
1018
+ }
1019
+ declare enum InvoicePaymentStatusEnum {
1020
+ PENDING = "PENDING",
1021
+ OVERDUE = "OVERDUE",
1022
+ INTRANSACTION = "INTRANSACTION",
1023
+ PAID = "PAID",
1024
+ REFUNDED = "REFUNDED"
1025
+ }
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;
1066
1050
  }
1067
1051
 
1068
- declare enum KindOfHire {
1069
- FULLTIME = "FULLTIME",
1070
- PARTTIME = "PARTTIME",
1071
- BOTH = "BOTH",
1072
- HOURLY = "HOURLY",
1073
- FREELANCE = "FREELANCE",
1074
- FTE = "FTE"
1052
+ declare enum EscrowWalletTransactionTypeEnum {
1053
+ CR = "CR",
1054
+ DR = "DR"
1075
1055
  }
1076
- declare enum ModeOfHire {
1077
- ONSITE = "ONSITE",
1078
- REMOTE = "REMOTE",
1079
- HYBRID = "HYBRID",
1080
- BOTH = "BOTH"
1056
+ declare enum EscrowWalletTransactionForEnum {
1057
+ CONTRACT = "CONTRACT",
1058
+ INVOICE = "INVOICE"
1081
1059
  }
1082
- declare enum FromUsOn {
1083
- LINKEDIN = "LINKEDIN",
1084
- GOOGLE = "GOOGLE",
1085
- REFERRAL = "REFERRAL",
1086
- OTHER = "OTHER"
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;
1087
1071
  }
1088
- declare enum CompanyOnboardingStepEnum {
1089
- SIGN_UP = "SIGN_UP",
1090
- PROFILE_COMPLETION = "PROFILE_COMPLETION"
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[];
1091
1085
  }
1092
- declare enum HiringCommissionTypeEnum {
1093
- PERCENTAGE = "PERCENTAGE",
1094
- AMOUNT = "AMOUNT"
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"
1095
1098
  }
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;
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;
1122
+ actualStartDate: Date;
1123
+ actualEndDate: Date;
1104
1124
  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;
1125
+ contractDocumentUrl: string;
1126
+ clientSignedAt: Date;
1127
+ freelancerViewed: boolean;
1128
+ freelancerViewedAt: Date;
1129
+ freelancerSignedAt: Date;
1130
+ rejectedAt: Date;
1131
+ rejectReason: string;
1132
+ resendCount: number;
1133
+ isWorkContractSent: boolean;
1134
+ isEscrowDeposited: boolean;
1125
1135
  signaturePositions: any;
1126
- hiringCommisionTypeForFte: HiringCommissionTypeEnum;
1127
- hiringCommissionValueForFte: number;
1128
- rating: number;
1136
+ metaData: any;
1137
+ escrowWallet: EscrowWallet;
1129
1138
  }
1130
1139
 
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[];
1140
+ declare enum TimesheetStatusEnum {
1141
+ DRAFT = "DRAFT",
1142
+ SEND = "SEND",
1143
+ SEND_BACK = "SEND_BACK",
1144
+ APPROVED = "APPROVED",
1145
+ REJECTED = "REJECTED",
1146
+ PAID = "PAID"
1147
+ }
1148
+ declare class Timesheet extends BaseEntity {
1149
+ jobId: number;
1150
+ job: Job;
1151
+ clientId: number;
1152
+ client: User;
1153
+ freelancerId: number;
1154
+ freelancer: User;
1155
+ startDate: Date;
1156
+ endDate: Date;
1157
+ startTime: string;
1158
+ endTime: string;
1159
+ workedHours: string;
1160
+ taskId: number;
1161
+ taskName: string;
1162
+ description: string;
1163
+ weekStartDate: Date;
1164
+ weekEndDate: Date;
1165
+ rejectedAt: Date;
1166
+ submittedAt: Date;
1167
+ resubmittedAt: Date;
1168
+ approvedAt: Date;
1169
+ status: TimesheetStatusEnum;
1170
+ clientSendBackReason: string;
1141
1171
  }
1142
1172
 
1143
- declare class State extends BaseEntity {
1173
+ declare class JobLocation extends BaseEntity {
1174
+ jobId: number;
1175
+ job: Job;
1144
1176
  countryId: number;
1177
+ countryName: string;
1145
1178
  country: Country;
1146
- cities: City[];
1147
- stateName: string;
1148
- stateCode: string;
1149
- isActive: boolean;
1150
- freelancerProfile: FreelancerProfile[];
1151
- companyProfile: CompanyProfile[];
1179
+ stateId: number;
1180
+ stateName: string;
1181
+ state: State;
1182
+ cityId: number;
1183
+ cityName: string;
1184
+ city: City;
1185
+ locationWiseOpenings: number;
1152
1186
  }
1153
1187
 
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[];
1188
+ declare enum RatingTypeEnum {
1189
+ FREELANCER_TO_CLIENT = "FREELANCER_TO_CLIENT",
1190
+ CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
1191
+ }
1192
+ declare class Rating extends BaseEntity {
1193
+ reviewerId: number;
1194
+ reviewer: User;
1195
+ revieweeId: number;
1196
+ reviewee: User;
1197
+ jobId: number;
1198
+ job: Job;
1199
+ ratingType: RatingTypeEnum;
1200
+ reviewerComment: string;
1201
+ overAllExperience: number;
1202
+ workQuality: number;
1203
+ oneTimeDelivery: number;
1204
+ understaning: number;
1205
+ communication: number;
1206
+ skillUtilized: number;
1207
+ communicationClarity: number;
1208
+ requirementsClarity: number;
1209
+ responsiveness: number;
1210
+ paymentPromptness: number;
1211
+ responsibilitiesAndExpectations: number;
1163
1212
  }
1164
1213
 
1165
- declare enum NatureOfWork {
1214
+ declare enum JobLocationEnum$1 {
1215
+ ONSITE = "ONSITE",
1216
+ REMOTE = "REMOTE",
1217
+ HYBRID = "HYBRID",
1218
+ BOTH = "BOTH"
1219
+ }
1220
+ declare enum typeOfExperienceEnum {
1221
+ SINGLE = "SINGLE",
1222
+ RANGE = "RANGE"
1223
+ }
1224
+ declare enum TypeOfEmploymentEnum {
1166
1225
  FULLTIME = "FULLTIME",
1167
1226
  PARTTIME = "PARTTIME",
1168
1227
  BOTH = "BOTH",
@@ -1170,37 +1229,27 @@ declare enum NatureOfWork {
1170
1229
  FREELANCE = "FREELANCE",
1171
1230
  FTE = "FTE"
1172
1231
  }
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"
1232
+ declare enum Step {
1233
+ BASIC_INFORMATION = "BASIC_INFORMATION",
1234
+ ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
1235
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
1189
1236
  }
1190
- declare enum McqStatusEnum {
1191
- NOT_ATTEMPTED = "NOT_ATTEMPTED",
1192
- PASSED = "PASSED",
1193
- FAILED = "FAILED"
1237
+ declare enum JobStatusEnum {
1238
+ ACTIVE = "ACTIVE",
1239
+ OPEN = "OPEN",
1240
+ DRAFT = "DRAFT",
1241
+ ONHOLD = "ONHOLD",
1242
+ CLOSED = "CLOSED",
1243
+ COMPLETED = "COMPLETED"
1194
1244
  }
1195
- declare enum AiAssessmentStatusEnum {
1196
- NOT_ATTEMPTED = "NOT_ATTEMPTED",
1197
- COMPELETED = "COMPELETED",
1198
- PASSED = "PASSED",
1199
- FAILED = "FAILED",
1200
- SKIPPED = "SKIPPED",
1201
- EXITED = "EXITED"
1245
+ declare enum DurationTypeEnum {
1246
+ DAY = "DAY",
1247
+ WEEK = "WEEK",
1248
+ MONTH = "MONTH",
1249
+ YEAR = "YEAR"
1202
1250
  }
1203
- declare class FreelancerProfile extends BaseEntity {
1251
+ declare class Job extends BaseEntity {
1252
+ jobId: string;
1204
1253
  userId: number;
1205
1254
  user: User;
1206
1255
  countryId: number;
@@ -1209,162 +1258,163 @@ declare class FreelancerProfile extends BaseEntity {
1209
1258
  state: State;
1210
1259
  cityId: number;
1211
1260
  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;
1261
+ jobRole: string;
1262
+ jobRoleCanonicalName: string;
1263
+ projectName: string;
1264
+ note: string;
1265
+ openings: number;
1266
+ utilisedOpenings: number;
1267
+ location: JobLocationEnum$1;
1268
+ typeOfEmployment: TypeOfEmploymentEnum;
1269
+ academicQualification: string;
1270
+ typeOfExperience: typeOfExperienceEnum;
1271
+ yearsOfExperience: string;
1272
+ yearsOfExperienceFrom: string;
1273
+ yearsOfExperienceTo: string;
1274
+ businessIndustry: string;
1224
1275
  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;
1276
+ expectedSalaryFrom: number;
1277
+ hideExpectedSalaryFrom: boolean;
1278
+ expectedSalaryTo: number;
1279
+ hideExpectedSalaryTo: boolean;
1280
+ expectedAnnualBudgetFrom: number;
1281
+ hideExpectedAnnualBudgetFrom: boolean;
1282
+ expectedAnnualBudgetTo: number;
1283
+ hideExpectedAnnualBudgetTo: boolean;
1284
+ years: string;
1285
+ months: string;
1286
+ weeks: string;
1287
+ days: string;
1288
+ tentativeStartDate: Date;
1289
+ tentativeEndDate: Date;
1290
+ durationType: DurationTypeEnum;
1291
+ duration: string;
1292
+ numberOfHours: number;
1293
+ description: string;
1294
+ additionalComment: string;
1295
+ onboardingTat: string;
1296
+ candidateCommunicationSkills: string;
1297
+ stepCompleted: Step;
1298
+ status: JobStatusEnum;
1299
+ viewedCount: number;
1300
+ applicationCount: number;
1301
+ isContractSigned: boolean;
1302
+ isInterviewCreated: boolean;
1303
+ interviewInvites: InterviewInvite[];
1304
+ jobSkills: JobSkill[];
1305
+ jobApplications: JobApplication[];
1306
+ interviews: Interview[];
1307
+ f2fInterviews: F2FInterview[];
1308
+ recommendations: JobRecommendation[];
1309
+ contractSummaries: ContractSummary[];
1310
+ contracts: Contract[];
1311
+ hirings: Hiring[];
1312
+ escrowWallets: EscrowWallet[];
1313
+ timesheets: Timesheet[];
1314
+ timesheetLine: TimesheetLine[];
1315
+ invoice: Invoice[];
1316
+ clientCandidatePreferences: ClientCandidatePreference[];
1317
+ jobLocations: JobLocation[];
1318
+ ratings: Rating[];
1251
1319
  }
1252
1320
 
1253
- declare enum JobSkillCategoryEnum {
1254
- GOOD_TO_HAVE = 0,
1255
- MUST_HAVE = 1
1321
+ declare enum BankAccountTypeEnum {
1322
+ PRIMARY = "PRIMARY",
1323
+ SECONDARY = "SECONDARY"
1256
1324
  }
1257
- declare class JobSkill extends BaseEntity {
1258
- jobId: number;
1259
- job: Job;
1260
- skillName: string;
1261
- skillCategory: JobSkillCategoryEnum;
1325
+ declare enum BankAccountScopeEnum {
1326
+ DOMESTIC = "DOMESTIC",
1327
+ INTERNATIONAL = "INTERNATIONAL"
1328
+ }
1329
+ declare class BankDetail extends BaseEntity {
1330
+ userId: number;
1331
+ user: User;
1332
+ name: string;
1333
+ mobileCode: string;
1334
+ mobile: string;
1335
+ email: string;
1336
+ address: string;
1337
+ accountNumber: string;
1338
+ bankName: string;
1339
+ ifscCode: string;
1340
+ branchName: string;
1341
+ routingNo: string;
1342
+ abaNumber: string;
1343
+ iban: string;
1344
+ accountType: BankAccountTypeEnum;
1345
+ accountScope: BankAccountScopeEnum;
1262
1346
  }
1263
1347
 
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"
1348
+ declare class SystemPreference extends BaseEntity {
1349
+ userId: number;
1350
+ user: User;
1351
+ key: string;
1352
+ value: boolean;
1276
1353
  }
1277
- declare class JobApplication extends BaseEntity {
1278
- jobApplicationId: string;
1279
- jobId: number;
1280
- job: Job;
1354
+
1355
+ declare class FreelancerExperience extends BaseEntity {
1356
+ userId: number;
1357
+ user: User;
1358
+ companyName: string;
1359
+ designation: string;
1360
+ jobDuration: string;
1361
+ description: string;
1362
+ }
1363
+
1364
+ declare class FreelancerEducation extends BaseEntity {
1281
1365
  userId: number;
1282
1366
  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;
1367
+ degree: string;
1368
+ university: string;
1369
+ yearOfGraduation: string;
1294
1370
  }
1295
1371
 
1296
- declare class InterviewSkill extends BaseEntity {
1297
- interviewId: number;
1298
- interview: Interview;
1299
- skill: string;
1372
+ declare class FreelancerProject extends BaseEntity {
1373
+ userId: number;
1374
+ user: User;
1375
+ projectName: string;
1376
+ startDate: Date;
1377
+ endDate: Date;
1378
+ clientName: string;
1379
+ gitLink: string;
1300
1380
  description: string;
1301
- isActive: boolean;
1302
1381
  }
1303
1382
 
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;
1383
+ declare class FreelancerCaseStudy extends BaseEntity {
1384
+ userId: number;
1385
+ user: User;
1386
+ projectName: string;
1387
+ caseStudyLink: string;
1388
+ description: string;
1315
1389
  }
1316
1390
 
1317
- declare enum InterviewInviteStatusEnum {
1318
- PENDING = "PENDING",
1319
- ACCEPTED = "ACCEPTED",
1320
- REJECTED = "REJECTED",
1321
- EXPIRED = "EXPIRED"
1391
+ declare enum FreelancerSkillCategoryEnum {
1392
+ GOOD_TO_HAVE = 0,
1393
+ MUST_HAVE = 1
1322
1394
  }
1323
- declare class InterviewInvite extends BaseEntity {
1324
- interviewId: number;
1325
- interview: Interview;
1395
+ declare class FreelancerSkill extends BaseEntity {
1326
1396
  userId: number;
1327
1397
  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;
1398
+ skillName: string;
1399
+ skillCategory: FreelancerSkillCategoryEnum;
1340
1400
  }
1341
1401
 
1342
- declare enum AiInterviewRescheduleRequestStatusEnum {
1343
- PENDING = "PENDING",
1344
- APPROVED = "APPROVED",
1345
- REJECTED = "REJECTED"
1402
+ declare class FreelancerTool extends BaseEntity {
1403
+ userId: number;
1404
+ user: User;
1405
+ toolName: string;
1346
1406
  }
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;
1407
+
1408
+ declare class FreelancerFramework extends BaseEntity {
1409
+ userId: number;
1410
+ user: User;
1411
+ frameworkName: string;
1359
1412
  }
1360
1413
 
1361
- declare enum AiInterviewStatusEnum {
1414
+ declare enum AssessmentStatusEnum {
1362
1415
  NOT_ATTEMPTED = "NOT_ATTEMPTED",
1363
- ATTEMPTED = "ATTEMPTED",
1364
- PENDING = "PENDING",
1365
1416
  ACTIVE = "ACTIVE",
1366
- IN_PROGRESS = "IN_PROGRESS",
1367
- IN_COMPLETE = "IN_COMPLETE",
1417
+ EVALUATING = "EVALUATING",
1368
1418
  COMPELETED = "COMPELETED",
1369
1419
  PASSED = "PASSED",
1370
1420
  FAILED = "FAILED",
@@ -1373,1142 +1423,1095 @@ declare enum AiInterviewStatusEnum {
1373
1423
  RESCHEDULED = "RESCHEDULED",
1374
1424
  EXITED = "EXITED"
1375
1425
  }
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;
1426
+ declare class FreelancerAssessment extends BaseEntity {
1427
+ userId: number;
1428
+ user: User;
1429
+ interviewId: string;
1430
+ interviewLink: string;
1408
1431
  recordingLink: string;
1409
1432
  iframeResponse: string;
1410
- interviewInsight: string;
1411
- isF2fInterviewScheduled: boolean;
1412
- isContractSent: boolean;
1413
- attempts: number;
1414
- rescheduleRequests: AiInterviewRescheduleRequest[];
1433
+ interviewSummary: string;
1434
+ score: number;
1435
+ status: AssessmentStatusEnum;
1436
+ taskId: string;
1437
+ metaData: any;
1415
1438
  }
1416
1439
 
1417
- declare enum F2fInterviewRescheduleRequestStatusEnum {
1418
- PENDING = "PENDING",
1419
- APPROVED = "APPROVED",
1420
- REJECTED = "REJECTED",
1421
- INPROGRESS = "INPROGRESS",
1422
- AUTOCANCELLED = "AUTOCANCELLED"
1440
+ declare enum DocumentType {
1441
+ AADHAAR = "AADHAAR_CARD",
1442
+ PASSPORT = "PASSPORT",
1443
+ DRIVING_LICENSE = "DRIVING_LICENSE",
1444
+ PAN_CARD = "PAN_CARD"
1423
1445
  }
1424
- declare class F2fInterviewRescheduleRequest extends BaseEntity {
1446
+ declare class FreelancerDeclaration extends BaseEntity {
1447
+ userId: number;
1448
+ user: User;
1449
+ documentType: DocumentType;
1450
+ frontDocumentUrl: string;
1451
+ backDocumentUrl: string;
1452
+ declarationAccepted: string;
1453
+ digitalSignatureUrl: string;
1454
+ }
1455
+
1456
+ declare class Permission extends BaseEntity {
1457
+ name: string;
1458
+ slug: string;
1459
+ description: string;
1460
+ isActive: boolean;
1461
+ }
1462
+
1463
+ declare class CompanyRolePermission extends BaseEntity {
1464
+ companyRoleId: number;
1465
+ companyRole: CompanyRole;
1466
+ permissionId: number;
1467
+ permission: Permission;
1468
+ assignedBy?: number;
1469
+ }
1470
+
1471
+ declare class CompanyRole extends BaseEntity {
1472
+ userId: number;
1473
+ user: User;
1474
+ name: string;
1475
+ slug: string;
1476
+ description: string;
1477
+ isActive: boolean;
1478
+ rolePermissions: CompanyRolePermission[];
1479
+ }
1480
+
1481
+ declare class CompanyMemberRole extends BaseEntity {
1482
+ userId: number;
1483
+ user: User;
1484
+ role: CompanyRole;
1485
+ companyRoleId: number;
1486
+ assignedBy?: number;
1487
+ }
1488
+
1489
+ declare enum AnswerTypeEnum {
1490
+ CORRECT = "CORRECT",
1491
+ ACCEPTABLE = "ACCEPTABLE",
1492
+ ELIMINATE = "ELIMINATE"
1493
+ }
1494
+ declare class AssessmetQuestionOption extends BaseEntity {
1495
+ questionId: number;
1496
+ question: AssessmetQuestion;
1497
+ text: string;
1498
+ answerType: AnswerTypeEnum;
1499
+ isActive: boolean;
1500
+ selectedOptions: AssessmentAnswer[];
1501
+ }
1502
+
1503
+ declare enum QuestionForEnum {
1504
+ ASSESSMENT = "ASSESSMENT",
1505
+ INTERVIEW = "INTERVIEW"
1506
+ }
1507
+ declare class AssessmetQuestion extends BaseEntity {
1508
+ text: string;
1509
+ questionFor: QuestionForEnum;
1510
+ isActive: boolean;
1425
1511
  candidateId: number;
1426
1512
  candidate: User;
1427
- f2fInterviewId: number;
1428
- f2fInterview: F2FInterview;
1429
- rescheduledDate: Date;
1430
- rescheduledSlot: string;
1431
- status: F2fInterviewRescheduleRequestStatusEnum;
1432
- clientRejectReason: string;
1433
- freelancerRequestReason: string;
1513
+ options: AssessmetQuestionOption[];
1514
+ answers: AssessmentAnswer[];
1515
+ }
1516
+
1517
+ declare enum SelectedAnswerTypeEnum {
1518
+ CORRECT = "CORRECT",
1519
+ ACCEPTABLE = "ACCEPTABLE",
1520
+ ELIMINATE = "ELIMINATE"
1521
+ }
1522
+ declare class AssessmentAnswer extends BaseEntity {
1523
+ userId: number;
1524
+ user: User;
1525
+ questionId: number;
1526
+ question: AssessmetQuestion;
1527
+ selectedOptionId: number;
1528
+ option: AssessmetQuestionOption;
1529
+ selectedAnswerType: SelectedAnswerTypeEnum;
1530
+ score: number;
1531
+ }
1532
+
1533
+ declare class CompanySkill extends BaseEntity {
1534
+ userId: number;
1535
+ user: User;
1536
+ skillName: string;
1434
1537
  }
1435
1538
 
1436
- declare enum F2fInterviewScheduleStatusEnum {
1437
- ACTIVE = "ACTIVE",
1438
- COMPELETED = "COMPELETED",
1439
- RESCHEDULED = "RESCHEDULED",
1440
- CANCELLED = "CANCELLED"
1539
+ declare class AdminPermission extends BaseEntity {
1540
+ permissionName: string;
1541
+ permissionSlug: string;
1542
+ permissionDescription: string;
1543
+ module: string;
1544
+ isActive: boolean;
1545
+ adminRole: AdminRolePermission[];
1441
1546
  }
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;
1547
+
1548
+ declare class AdminRolePermission extends BaseEntity {
1549
+ roleId: number;
1550
+ adminRole: AdminRole;
1551
+ permissionId: number;
1552
+ adminPermissions: AdminPermission;
1460
1553
  }
1461
1554
 
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"
1555
+ declare class AdminRole extends BaseEntity {
1556
+ roleName: string;
1557
+ roleSlug: string;
1558
+ roleDescription: string;
1559
+ isActive: boolean;
1560
+ adminRolePermission: AdminRolePermission[];
1561
+ userRoles: AdminUserRole[];
1472
1562
  }
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[];
1563
+
1564
+ declare class AdminUserRole extends BaseEntity {
1565
+ userId: number;
1566
+ user: User;
1567
+ roleId: number;
1568
+ adminRole: AdminRole;
1498
1569
  }
1499
1570
 
1500
- declare enum InterviewStatusEnum {
1501
- DRAFTED = "DRAFTED",
1502
- PUBLISHED = "PUBLISHED",
1503
- INACTIVE = "INACTIVE",
1504
- DISCARDED = "DISCARDED",
1505
- ARCHIVED = "ARCHIVED"
1571
+ declare class FreelancerResume extends BaseEntity {
1572
+ userId: number;
1573
+ user: User;
1574
+ resumeData: string;
1575
+ processedResumeData: string;
1506
1576
  }
1507
- declare class Interview extends BaseEntity {
1508
- interviewId: string;
1577
+
1578
+ declare class Signature extends BaseEntity {
1509
1579
  userId: number;
1510
1580
  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[];
1581
+ signatureUrl: string;
1529
1582
  }
1530
1583
 
1531
- declare enum ClientCandidatePreferenceEnum {
1532
- NOT_SUITABLE = "NOT_SUITABLE",
1533
- SHORTLISTED = "SHORTLISTED"
1584
+ declare enum DisputeStatusEnum {
1585
+ OPEN = "OPEN",
1586
+ IN_REVIEW = "IN_REVIEW",
1587
+ PENDING_RESPONSE = "PENDING_RESPONSE",
1588
+ UNDER_INVESTIGATION = "UNDER_INVESTIGATION",
1589
+ RESOLVED = "RESOLVED",
1590
+ CLOSED = "CLOSED",
1591
+ ESCALATED = "ESCALATED",
1592
+ CANCELLED = "CANCELLED",
1593
+ REOPENED = "REOPENED"
1534
1594
  }
1535
- declare class ClientCandidatePreference extends BaseEntity {
1595
+ declare enum InitiatorTypeEnum {
1596
+ FREELANCER = "FREELANCER",
1597
+ CLIENT = "CLIENT"
1598
+ }
1599
+ declare class Dispute extends BaseEntity {
1536
1600
  clientId: number;
1537
1601
  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
1602
  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;
1603
+ freelancer: User;
1604
+ disputeUniqueId: string;
1605
+ disputeType: string;
1575
1606
  description: string;
1607
+ comment: string;
1608
+ status: DisputeStatusEnum;
1609
+ initiatorType: DisputeStatusEnum;
1610
+ initiatorId: number;
1611
+ initiator: User;
1612
+ respondentId: number;
1613
+ respondent: User;
1614
+ attachments: any[];
1615
+ dynamicFields: Record<string, any>;
1576
1616
  }
1577
1617
 
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"
1618
+ declare enum StripeTransactionTypeEnum {
1619
+ ADD_FUNDS = "ADD_FUNDS",
1620
+ TRANSFER = "TRANSFER",
1621
+ WITHDRAW = "WITHDRAW",
1622
+ INVOICE_PAYMENT = "INVOICE_PAYMENT",
1623
+ REFUND = "REFUND"
1587
1624
  }
1588
- declare enum TimesheetSubmissionActionEnum {
1589
- SUBMITTED = "SUBMITTED",
1590
- RESUBMITTED = "RESUBMITTED",
1591
- SEND_BACK = "SEND_BACK",
1592
- APPROVED = "APPROVED",
1593
- REJECTED = "REJECTED",
1594
- PAID = "PAID"
1625
+ declare enum StripeTransactionStatusEnum {
1626
+ PENDING = "PENDING",
1627
+ PROCESSING = "PROCESSING",
1628
+ COMPLETED = "COMPLETED",
1629
+ FAILED = "FAILED",
1630
+ EXPIRED = "EXPIRED",
1631
+ CANCELLED = "CANCELLED"
1595
1632
  }
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;
1633
+ declare class StripeTransaction extends BaseEntity {
1634
+ userId: number;
1635
+ user: User;
1636
+ stripeSessionId: string;
1637
+ stripePaymentIntentId: string;
1638
+ stripeChargeId: string;
1639
+ stripeReceiptUrl: string;
1640
+ stripeBalanceTransactionId: string;
1641
+ stripePaymentMethod: string | null;
1642
+ stripePaymentStatus: string | null;
1643
+ type: StripeTransactionTypeEnum;
1644
+ currency: string;
1645
+ desiredDepositCents: number;
1646
+ platformFeeCents: number;
1647
+ taxCents: number | null;
1648
+ estimatedStripeFee: number | null;
1649
+ estimatedTotalCents: number | null;
1650
+ actualStripeFee: number | null;
1651
+ actualTotalPaidCents: number | null;
1652
+ netReceivedCents: number | null;
1653
+ description: string;
1654
+ status: StripeTransactionStatusEnum;
1655
+ checkoutSessionCompletedAt: Date;
1656
+ completedAt: Date;
1657
+ billingDetails: Record<string, any> | null;
1658
+ paymentMethodDetails: Record<string, any> | null;
1659
+ rawSessionPayload: Record<string, any> | null;
1660
+ rawSessionResponse: Record<string, any> | null;
1661
+ }
1662
+
1663
+ declare enum WalletTransactionTypeEnum {
1664
+ CR = "CR",
1665
+ DR = "DR"
1604
1666
  }
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"
1667
+ declare enum WalletTransactionStatusEnum {
1668
+ PENDING = "PENDING",
1669
+ PROCESSING = "PROCESSING",
1670
+ SUCCESS = "SUCCESS",
1671
+ FAILED = "FAILED",
1672
+ EXPIRED = "EXPIRED"
1615
1673
  }
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[];
1674
+ declare class WalletTransaction extends BaseEntity {
1675
+ walletId: number;
1676
+ wallet: Wallet;
1677
+ amount: number;
1678
+ balanceBefore: number;
1679
+ balanceAfter: number;
1680
+ type: WalletTransactionTypeEnum;
1681
+ status: WalletTransactionStatusEnum;
1682
+ description: string;
1683
+ completedAt: Date;
1684
+ transactionFor: string;
1685
+ metaData: string;
1686
+ stripeTransactionId: number;
1633
1687
  }
1634
1688
 
1635
- declare enum ContractSummaryStatusEnum {
1689
+ declare enum WalletAccountTypeEnum {
1690
+ ADMIN = "ADMIN",
1691
+ BUSINESS = "BUSINESS",
1692
+ FREELANCER = "FREELANCER"
1693
+ }
1694
+ declare enum WalletOnboardingStatusEnum {
1636
1695
  PENDING = "PENDING",
1637
- ACTIVE = "ACTIVE",
1638
1696
  COMPLETED = "COMPLETED"
1639
1697
  }
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;
1698
+ declare class Wallet extends BaseEntity {
1699
+ userId: number;
1700
+ user: User;
1701
+ accountType: WalletAccountTypeEnum;
1702
+ stripeAccountId: string;
1703
+ stripeCustomerId: string;
1704
+ walletBalance: string;
1705
+ walletBalanceCents: number;
1706
+ onboardingStatus: WalletOnboardingStatusEnum;
1707
+ stripeMetadata: Record<string, any>;
1708
+ walletTransactions: WalletTransaction[];
1665
1709
  }
1666
1710
 
1667
- declare enum HiredFreelancerNatureOfWorkEnum {
1668
- FTE = "FTE",
1669
- FREELANCE = "FREELANCE"
1711
+ declare enum AssessmentRequestStatusEnum {
1712
+ PENDING = "PENDING",
1713
+ APPROVED = "APPROVED",
1714
+ REJECTED = "REJECTED"
1670
1715
  }
1671
- declare class Hiring extends BaseEntity {
1672
- jobId: number;
1673
- job: Job;
1674
- clientId: number;
1675
- client: User;
1716
+ declare class FreelancerAssessmentRequest extends BaseEntity {
1676
1717
  freelancerId: number;
1677
1718
  freelancer: User;
1678
- invoiceId?: number;
1679
- invoice?: Invoice;
1680
- contractSummaryId?: number;
1681
- contractSummary?: ContractSummary;
1682
- freelancerNatureOfWork: HiredFreelancerNatureOfWorkEnum;
1683
- isInvoiceGenrated: boolean;
1719
+ approvedById: number;
1720
+ approvedBy: User;
1721
+ status: AssessmentRequestStatusEnum;
1722
+ assessmentLink?: string;
1684
1723
  }
1685
1724
 
1686
- declare enum InvoiceTypeEnum {
1687
- WEEKLY = "WEEKLY",
1688
- MONTHLY = "MONTHLY",
1689
- FTE = "FTE"
1725
+ declare enum AccountType$1 {
1726
+ SUPER_ADMIN = "SUPER_ADMIN",
1727
+ ADMIN = "ADMIN",
1728
+ SUB_ADMIN = "SUB_ADMIN",
1729
+ CLIENT = "CLIENT",
1730
+ FREELANCER = "FREELANCER",
1731
+ CLIENT_EMPLOYEE = "CLIENT_EMPLOYEE"
1690
1732
  }
1691
- declare enum InvoiceStatusEnum {
1692
- SUBMITTED = "SUBMITTED",
1693
- UNDER_REVIEW = "UNDER_REVIEW",
1694
- APPROVED = "APPROVED",
1695
- REJECTED = "REJECTED"
1733
+ declare enum AccountStatus {
1734
+ INACTIVE = "INACTIVE",
1735
+ ACTIVE = "ACTIVE",
1736
+ SUSPENDED = "SUSPENDED",
1737
+ BLOCKED = "BLOCKED"
1696
1738
  }
1697
- declare enum InvoicePaymentStatusEnum {
1698
- PENDING = "PENDING",
1699
- OVERDUE = "OVERDUE",
1700
- INTRANSACTION = "INTRANSACTION",
1701
- PAID = "PAID",
1702
- REFUNDED = "REFUNDED"
1739
+ declare enum Provider {
1740
+ LINKEDIN = "LINKEDIN",
1741
+ GOOGLE = "GOOGLE",
1742
+ GITLABS = "GITLABS"
1703
1743
  }
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;
1744
+ declare class User extends BaseEntity {
1745
+ uniqueId: string;
1746
+ parentId: number;
1747
+ parent: User;
1748
+ children: User[];
1749
+ username: string;
1750
+ firstName: string;
1751
+ lastName: string;
1752
+ dateOfBirth: Date;
1753
+ gender: string;
1754
+ profilePictureUrl: string;
1755
+ email: string;
1756
+ mobileCode: string;
1757
+ mobile: string;
1758
+ password: string;
1759
+ accountType: AccountType$1;
1760
+ accountStatus: AccountStatus;
1761
+ isEmailVerified: boolean;
1762
+ isMobileVerified: boolean;
1763
+ isSocial: boolean;
1764
+ lastLoginAt: Date;
1765
+ lastLoginIp: string;
1766
+ resetToken: string | null;
1767
+ resetTokenExpireAt: Date | null;
1768
+ setPasswordToken: string | null;
1769
+ refreshTokens: RefreshToken[];
1770
+ provider: Provider;
1771
+ providerToken: string;
1772
+ linkedInId: string;
1773
+ googleId: string;
1774
+ gitLabsId: string;
1775
+ onBoardedBy: string;
1776
+ otps: Otp[];
1777
+ senseloafLogs: SenseloafLog[];
1778
+ companyProfile: CompanyProfile;
1779
+ companySkills: CompanySkill[];
1780
+ companyMemberRoles: CompanyMemberRole[];
1781
+ companyAiInterview: AiInterview[];
1782
+ clientF2FInterviews: F2FInterview[];
1783
+ freelancerProfile: FreelancerProfile;
1784
+ freelancerResume: FreelancerResume;
1785
+ freelancerAssessmentRequests: FreelancerAssessmentRequest[];
1786
+ assessmentRequests: FreelancerAssessmentRequest[];
1787
+ assessments: FreelancerAssessment[];
1788
+ assessmentAnswers: AssessmentAnswer[];
1789
+ freelancerSkills: FreelancerSkill[];
1790
+ freelancerExperience: FreelancerExperience[];
1791
+ freelancerEducation: FreelancerEducation[];
1792
+ freelancerProject: FreelancerProject[];
1793
+ freelancerCaseStudy: FreelancerCaseStudy[];
1794
+ freelancerTool: FreelancerTool[];
1795
+ freelancerFramework: FreelancerFramework[];
1796
+ freelancerDeclaration: FreelancerDeclaration;
1797
+ freelancerMcq: AssessmetQuestion[];
1798
+ freelancerAiInterview: AiInterview[];
1799
+ freelancerF2FInterviews: F2FInterview[];
1800
+ freelancerF2FInterviewRescheduleRequests: F2fInterviewRescheduleRequest[];
1801
+ freelancerAiInterviewRescheduleRequests: AiInterviewRescheduleRequest[];
1802
+ clientAiInterviewRescheduleRequests: AiInterviewRescheduleRequest[];
1803
+ jobs: Job[];
1804
+ jobApplications: JobApplication[];
1805
+ interviews: Interview[];
1806
+ bankDetail: BankDetail[];
1807
+ systemPreference: SystemPreference[];
1808
+ givenRatings: Rating[];
1809
+ receivedRatings: Rating[];
1810
+ adminUserRoles: AdminUserRole[];
1811
+ clientContractSummaries: ContractSummary[];
1812
+ clientContracts: Contract[];
1813
+ clientHirings: Hiring[];
1814
+ clientEscrowWallets: EscrowWallet[];
1815
+ freelancerContractSummaries: ContractSummary[];
1816
+ freelancerContracts: Contract[];
1817
+ freelancerHirings: Hiring[];
1818
+ freelancerEscrowWallets: EscrowWallet[];
1819
+ signatures: Signature;
1820
+ clientTimesheets: Timesheet[];
1821
+ freelancerTimesheets: Timesheet[];
1822
+ clientTimesheetLine: TimesheetLine[];
1823
+ clientInvoice: Invoice[];
1824
+ freelancerTimesheetLine: TimesheetLine[];
1825
+ freelancerInvoice: Invoice[];
1826
+ clientPreferencesGiven: ClientCandidatePreference[];
1827
+ clientPreferencesReceived: ClientCandidatePreference[];
1828
+ initiatedDisputes: Dispute[];
1829
+ respondentDisputes: Dispute[];
1830
+ wallet: Wallet;
1831
+ stripeTransactions: StripeTransaction[];
1832
+ clientDisputes: Dispute[];
1833
+ freelancerDisputes: Dispute[];
1728
1834
  }
1729
1835
 
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;
1836
+ declare class UpdateSubAdminAccountStatusDto {
1837
+ accountStatus: AccountStatus;
1749
1838
  }
1750
1839
 
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[];
1840
+ declare enum AccountType {
1841
+ ADMIN = "ADMIN",
1842
+ SUB_ADMIN = "SUB_ADMIN"
1843
+ }
1844
+ declare class UpdateSubAdminDto {
1845
+ userName: string;
1846
+ firstName: string;
1847
+ lastName: string;
1848
+ accountType: AccountType;
1849
+ email: string;
1850
+ mobileCode: string;
1851
+ mobile: string;
1852
+ password?: string;
1853
+ roleIds: string;
1763
1854
  }
1764
1855
 
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"
1856
+ interface IFetchSubAdminQuery {
1857
+ page_size?: number;
1858
+ page: number;
1859
+ searchText?: string;
1860
+ username: string;
1861
+ right: string;
1862
+ sortColumn?: string;
1863
+ sortBy?: string;
1776
1864
  }
1777
- declare enum ContractTypeEnum {
1778
- NDA = "NDA",
1779
- WORK = "WORK",
1780
- SOW = "SOW",
1781
- MSA = "MSA"
1865
+ interface IFetchSubAdminResponse {
1866
+ statusCode: number;
1867
+ status: boolean;
1868
+ message: string;
1869
+ data: any;
1782
1870
  }
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;
1871
+ interface IFetchSubAdminByIdQuery {
1872
+ permission?: string;
1814
1873
  }
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"
1874
+ interface IFetchSubAdminByIdResponse {
1875
+ statusCode: number;
1876
+ status: boolean;
1877
+ message: string;
1878
+ data: any;
1823
1879
  }
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;
1880
+ interface ICreateSubAdminPayload {
1881
+ uniqueId: string;
1882
+ username: string;
1883
+ firstName: string;
1884
+ lastName: string;
1885
+ email: string;
1886
+ mobile: string;
1887
+ password: string;
1888
+ accountType: string;
1889
+ accountStatus: string;
1847
1890
  }
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;
1891
+ interface ICreateSubAdminResponse {
1892
+ statusCode: number;
1893
+ status: boolean;
1894
+ message: string;
1862
1895
  }
1863
-
1864
- declare enum JobLocationEnum {
1865
- ONSITE = "ONSITE",
1866
- REMOTE = "REMOTE",
1867
- HYBRID = "HYBRID",
1868
- BOTH = "BOTH"
1896
+ interface IUpdateSubAdminPayload {
1897
+ uniqueId: string;
1898
+ username: string;
1899
+ firstName: string;
1900
+ lastName: string;
1901
+ email: string;
1902
+ mobile: string;
1903
+ password: string;
1904
+ accountType: string;
1905
+ accountStatus: string;
1869
1906
  }
1870
- declare enum typeOfExperienceEnum {
1871
- SINGLE = "SINGLE",
1872
- RANGE = "RANGE"
1907
+ interface IUpdateSubAdminResponse {
1908
+ statusCode: number;
1909
+ status: boolean;
1910
+ message: string;
1873
1911
  }
1874
- declare enum TypeOfEmploymentEnum {
1875
- FULLTIME = "FULLTIME",
1876
- PARTTIME = "PARTTIME",
1877
- BOTH = "BOTH",
1878
- HOURLY = "HOURLY",
1879
- FREELANCE = "FREELANCE",
1880
- FTE = "FTE"
1912
+ interface IUpdateSubAdminAccountStatusPayload {
1913
+ accountSatus: string;
1881
1914
  }
1882
- declare enum Step {
1883
- BASIC_INFORMATION = "BASIC_INFORMATION",
1884
- ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
1885
- JOB_DESCRIPTION = "JOB_DESCRIPTION"
1915
+ interface IUpdateSubAdminAccountStatusResponse {
1916
+ statusCode: number;
1917
+ status: boolean;
1918
+ message: string;
1886
1919
  }
1887
- declare enum JobStatusEnum {
1888
- ACTIVE = "ACTIVE",
1889
- OPEN = "OPEN",
1890
- DRAFT = "DRAFT",
1891
- ONHOLD = "ONHOLD",
1892
- CLOSED = "CLOSED",
1893
- COMPLETED = "COMPLETED"
1920
+ interface IDeleteSubAdminResponse {
1921
+ statusCode: number;
1922
+ status: boolean;
1923
+ message: string;
1894
1924
  }
1895
- declare enum DurationTypeEnum {
1896
- DAY = "DAY",
1897
- WEEK = "WEEK",
1898
- MONTH = "MONTH",
1899
- YEAR = "YEAR"
1925
+ interface IAttachPermissionsToSubAdminResponse {
1926
+ statusCode: number;
1927
+ status: boolean;
1928
+ message: string;
1900
1929
  }
1901
- declare class Job extends BaseEntity {
1902
- jobId: string;
1903
- userId: number;
1904
- user: User;
1930
+
1931
+ declare const CLIENT_PROFILE_PATTERN: {
1932
+ fetchClientProfileQuestions: string;
1933
+ fetchClientProfile: string;
1934
+ fetchClientPublicProfile: string;
1935
+ updateClientProfile: string;
1936
+ updateClientLogo: string;
1937
+ changeClientPassword: string;
1938
+ uploadClientServiceAgreement: string;
1939
+ fetchClientServiceAgreement: string;
1940
+ generateClientServiceAgreement: string;
1941
+ esignClientServiceAgreementForClient: string;
1942
+ fetchClientServiceAgreementStatus: string;
1943
+ fetchRecommendedFreelancers: string;
1944
+ fetchRecommendedFreelancersV2: string;
1945
+ fetchRecommendedFreelancersDropdownV2: string;
1946
+ clientDataAlteration: string;
1947
+ fetchFreelancersForComparison: string;
1948
+ deleteClientProfilePic: string;
1949
+ fetchFreelancerInfoForChat: string;
1950
+ fetchClientAndFreelancerDetailsForChatChannelCreation: string;
1951
+ };
1952
+
1953
+ declare class UpdateCompanyProfileDto {
1954
+ companyName?: string;
1955
+ webSite?: string;
1905
1956
  countryId: number;
1906
- country: Country;
1907
1957
  stateId: number;
1908
- state: State;
1909
1958
  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[];
1959
+ companyAddress: string;
1960
+ addressLine: string;
1961
+ postalCode: string;
1962
+ mobileCode: string;
1963
+ phoneNumber?: string;
1964
+ email?: string;
1965
+ aboutCompany?: string;
1969
1966
  }
1970
1967
 
1971
- declare enum BankAccountTypeEnum {
1972
- PRIMARY = "PRIMARY",
1973
- SECONDARY = "SECONDARY"
1968
+ declare class ClientChangePasswordDto {
1969
+ newPassword: string;
1970
+ confirmPassword: string;
1974
1971
  }
1975
- declare enum BankAccountScopeEnum {
1976
- DOMESTIC = "DOMESTIC",
1977
- INTERNATIONAL = "INTERNATIONAL"
1972
+
1973
+ declare class ClientServiceAgreementUploadDto {
1974
+ serviceAgreementSignedOn?: string;
1978
1975
  }
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;
1976
+
1977
+ declare class ClientESignatureDto {
1978
+ uuid: string;
1996
1979
  }
1997
1980
 
1998
- declare class SystemPreference extends BaseEntity {
1999
- userId: number;
2000
- user: User;
2001
- key: string;
2002
- value: boolean;
1981
+ declare class FetchFreelancerInfoForChatDto {
1982
+ freelancerId: number;
2003
1983
  }
2004
1984
 
2005
- declare class FreelancerExperience extends BaseEntity {
2006
- userId: number;
2007
- user: User;
1985
+ interface IFetchClientProfileQuery {
1986
+ page_size?: number;
1987
+ page: number;
1988
+ searchText?: string;
2008
1989
  companyName: string;
2009
- designation: string;
2010
- jobDuration: string;
2011
- description: string;
1990
+ right: string;
1991
+ sortColumn?: string;
1992
+ sortBy?: string;
2012
1993
  }
2013
-
2014
- declare class FreelancerEducation extends BaseEntity {
2015
- userId: number;
2016
- user: User;
2017
- degree: string;
2018
- university: string;
2019
- yearOfGraduation: string;
1994
+ interface IFetchClientProfileResponse {
1995
+ statusCode: number;
1996
+ status: boolean;
1997
+ message: string;
1998
+ data: any;
2020
1999
  }
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;
2000
+ interface IUpdateClientProfilePayload {
2001
+ userId?: number;
2002
+ companyName?: string;
2003
+ bio?: string;
2004
+ webSite?: string;
2005
+ isServiceAgreementSigned?: boolean;
2006
+ aboutCompany: string;
2007
+ companyAddress: string;
2008
+ phoneNumber: string;
2009
+ skills?: string[];
2010
+ requiredFreelancer?: string;
2011
+ kindOfHiring?: string;
2012
+ modeOfHire?: string;
2013
+ foundUsOn?: string;
2031
2014
  }
2032
-
2033
- declare class FreelancerCaseStudy extends BaseEntity {
2034
- userId: number;
2035
- user: User;
2036
- projectName: string;
2037
- caseStudyLink: string;
2038
- description: string;
2015
+ interface IUpdateClientLogoPayload {
2016
+ logo: string;
2039
2017
  }
2040
-
2041
- declare enum FreelancerSkillCategoryEnum {
2042
- GOOD_TO_HAVE = 0,
2043
- MUST_HAVE = 1
2018
+ interface IUpdateClientLogoResponse {
2019
+ statusCode: number;
2020
+ status: boolean;
2021
+ message: string;
2044
2022
  }
2045
- declare class FreelancerSkill extends BaseEntity {
2046
- userId: number;
2047
- user: User;
2048
- skillName: string;
2049
- skillCategory: FreelancerSkillCategoryEnum;
2023
+ interface IUpdateClientPasswordPayload {
2024
+ oldPassword: string;
2025
+ newPassword: string;
2050
2026
  }
2051
-
2052
- declare class FreelancerTool extends BaseEntity {
2053
- userId: number;
2054
- user: User;
2055
- toolName: string;
2027
+ interface IUpdateClientProfileResponse {
2028
+ statusCode: number;
2029
+ status: boolean;
2030
+ message: string;
2031
+ }
2032
+ interface IUpdateClientProfileResponse {
2033
+ statusCode: number;
2034
+ status: boolean;
2035
+ message: string;
2056
2036
  }
2057
2037
 
2058
- declare class FreelancerFramework extends BaseEntity {
2059
- userId: number;
2060
- user: User;
2061
- frameworkName: string;
2038
+ declare const ONBOARDING_QUESTION_PATTERN: {
2039
+ fetchOnboardingQuestions: string;
2040
+ };
2041
+ declare const ASSESSMENT_QUESTION_PATTERN: {
2042
+ fetchAssessmentQuestions: string;
2043
+ handleAssessmentQuestionImport: string;
2044
+ handelAssessmentRecordAnswer: string;
2045
+ handelAssessmentRecordAnswers: string;
2046
+ fetchAssessmentSummary: string;
2047
+ };
2048
+
2049
+ declare class CreateQuestionDto {
2050
+ questionId: string;
2051
+ question: string;
2052
+ questionFor: string;
2053
+ options: string;
2054
+ isActive: boolean;
2062
2055
  }
2063
2056
 
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"
2057
+ declare class RecordAssessmentAnswerDto {
2058
+ questionId: string;
2059
+ answer: any;
2060
+ assessmentId?: string;
2061
+ userId?: string;
2075
2062
  }
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;
2063
+
2064
+ declare class RecordAssessmentAnswersDto {
2065
+ answers: any[];
2066
+ assessmentId?: string;
2067
+ userId?: string;
2088
2068
  }
2089
2069
 
2090
- declare enum DocumentType {
2091
- AADHAAR = "AADHAAR_CARD",
2092
- PASSPORT = "PASSPORT",
2093
- DRIVING_LICENSE = "DRIVING_LICENSE",
2094
- PAN_CARD = "PAN_CARD"
2070
+ interface IFetchQuestionQuery {
2071
+ page_size?: number;
2072
+ page: number;
2073
+ searchText?: string;
2074
+ question: string;
2075
+ right: string;
2076
+ sortColumn?: string;
2077
+ sortBy?: string;
2078
+ type?: string;
2095
2079
  }
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;
2080
+ interface IFetchQuestionResponse {
2081
+ statusCode: number;
2082
+ status: boolean;
2083
+ message: string;
2084
+ data: any;
2104
2085
  }
2105
2086
 
2106
- declare class Permission extends BaseEntity {
2107
- name: string;
2108
- slug: string;
2109
- description: string;
2110
- isActive: boolean;
2087
+ declare const JOB_ROLE_PATTERN: {
2088
+ fetchJobRolesForDropdown: string;
2089
+ };
2090
+ declare const JOB_PATTERN: {
2091
+ fetchJobs: string;
2092
+ fetchJobsPublic: string;
2093
+ fetchRecentJobs: string;
2094
+ fetchJobCountAsPerStatus: string;
2095
+ fetchJobCountPublic: string;
2096
+ fetchJobsDropdown: string;
2097
+ fetchJobDetail: string;
2098
+ fetchJobDetailPublic: string;
2099
+ handleJdUpload: string;
2100
+ fetchJobBasicInformation: string;
2101
+ createJobBasicInformation: string;
2102
+ updateJobBasicInformation: string;
2103
+ fetchJobAdditionalComments: string;
2104
+ updateJobAdditionalComments: string;
2105
+ fetchJobDescription: string;
2106
+ updateJobDescription: string;
2107
+ updateJobStatus: string;
2108
+ closeJob: string;
2109
+ searchJobsByRoleAndSkills: string;
2110
+ handleBulkRecommendationAdjustment: string;
2111
+ refreshJobFreelancerRecommendationView: string;
2112
+ fetchJobConfig: string;
2113
+ fetchJobRoleSuggestions: string;
2114
+ fetchJobCount: string;
2115
+ fetchJobsDropdownForFilters: string;
2116
+ fetchJobsDropdownForInterview: string;
2117
+ fetchJobsDropdownForFreelancer: string;
2118
+ fetchJobDetailForFreelancer: string;
2119
+ fetchJobBasicInformationV2: string;
2120
+ createJobBasicInformationV2: string;
2121
+ updateJobBasicInformationV2: string;
2122
+ deleteJob: string;
2123
+ fetchRecommendedFreelancersForJobs: string;
2124
+ fetchRecommendedFreelancersForJob: string;
2125
+ fetchRecommendedFreelancersForJobV2: string;
2126
+ handleJobViwedCountIncrement: string;
2127
+ fetchJobByIdForTimesheet: string;
2128
+ jobDataSetup: string;
2129
+ fetchJobsForComparison: string;
2130
+ fetchJobSkillDropdownForClient: string;
2131
+ };
2132
+ declare const JOB_APPLICATION_PATTERN: {
2133
+ fetchJobApplicationCountAsPerStatusByJobId: string;
2134
+ fetchJobApplicationsByJobId: string;
2135
+ fetchJobApplicants: string;
2136
+ createJobApplication: string;
2137
+ changeJobApplicationStatus: string;
2138
+ changeJobApplicationStatusInBulk: string;
2139
+ };
2140
+
2141
+ declare enum JobLocationEnum {
2142
+ ONSITE = "ONSITE",
2143
+ REMOTE = "REMOTE",
2144
+ HYBRID = "HYBRID"
2145
+ }
2146
+ declare enum EmploymentType {
2147
+ FULLTIME = "FULLTIME",
2148
+ PARTTIME = "PARTTIME",
2149
+ BOTH = "BOTH",
2150
+ HOURLY = "HOURLY",
2151
+ FREELANCE = "FREELANCE",
2152
+ FTE = "FTE"
2153
+ }
2154
+ declare class JobBasicInformationDto {
2155
+ isDraft?: boolean;
2156
+ jobRole: string;
2157
+ jobRoleCanonicalName?: string;
2158
+ projectName?: string;
2159
+ note?: string;
2160
+ skills: string[];
2161
+ goodToHaveSkills: string[];
2162
+ openings: number;
2163
+ location: JobLocationEnum;
2164
+ countryId: number;
2165
+ stateId: number;
2166
+ cityId: number;
2167
+ typeOfEmployment: EmploymentType;
2168
+ currency?: string;
2169
+ expectedSalaryFrom: number;
2170
+ hideExpectedSalaryFrom: boolean;
2171
+ expectedSalaryTo: number;
2172
+ hideExpectedSalaryTo: boolean;
2173
+ years: string;
2174
+ months: string;
2175
+ weeks: string;
2176
+ days: string;
2177
+ numberOfHours: number;
2178
+ candidateCommunicationSkills?: string;
2179
+ academicQualification?: string;
2180
+ yearsOfExperience?: string;
2181
+ businessIndustry?: string;
2182
+ additionalComment?: string;
2111
2183
  }
2112
2184
 
2113
- declare class CompanyRolePermission extends BaseEntity {
2114
- companyRoleId: number;
2115
- companyRole: CompanyRole;
2116
- permissionId: number;
2117
- permission: Permission;
2118
- assignedBy?: number;
2185
+ declare class JobAdditionalCommentDto {
2186
+ additionalComment?: string;
2119
2187
  }
2120
2188
 
2121
- declare class CompanyRole extends BaseEntity {
2122
- userId: number;
2123
- user: User;
2124
- name: string;
2125
- slug: string;
2189
+ declare class JobDescriptionDto {
2190
+ isDraft?: boolean;
2126
2191
  description: string;
2127
- isActive: boolean;
2128
- rolePermissions: CompanyRolePermission[];
2129
2192
  }
2130
2193
 
2131
- declare class CompanyMemberRole extends BaseEntity {
2132
- userId: number;
2133
- user: User;
2134
- role: CompanyRole;
2135
- companyRoleId: number;
2136
- assignedBy?: number;
2194
+ declare enum JobStatus {
2195
+ ACTIVE = "ACTIVE",
2196
+ OPEN = "OPEN",
2197
+ DRAFT = "DRAFT",
2198
+ ONHOLD = "ONHOLD",
2199
+ CLOSED = "CLOSED"
2137
2200
  }
2138
-
2139
- declare enum AnswerTypeEnum {
2140
- CORRECT = "CORRECT",
2141
- ACCEPTABLE = "ACCEPTABLE",
2142
- ELIMINATE = "ELIMINATE"
2201
+ declare class JobStatusDto {
2202
+ status: JobStatus;
2143
2203
  }
2144
- declare class AssessmetQuestionOption extends BaseEntity {
2145
- questionId: number;
2146
- question: AssessmetQuestion;
2147
- text: string;
2148
- answerType: AnswerTypeEnum;
2149
- isActive: boolean;
2150
- selectedOptions: AssessmentAnswer[];
2204
+
2205
+ declare class JobIdParamDto {
2206
+ id: string;
2151
2207
  }
2152
2208
 
2153
- declare enum QuestionForEnum {
2154
- ASSESSMENT = "ASSESSMENT",
2155
- INTERVIEW = "INTERVIEW"
2209
+ declare enum JobLocationEnumV2 {
2210
+ ONSITE = "ONSITE",
2211
+ REMOTE = "REMOTE",
2212
+ HYBRID = "HYBRID"
2156
2213
  }
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[];
2214
+ declare enum EmploymentTypeV2 {
2215
+ FULLTIME = "FULLTIME",
2216
+ PARTTIME = "PARTTIME",
2217
+ BOTH = "BOTH",
2218
+ HOURLY = "HOURLY",
2219
+ FREELANCE = "FREELANCE",
2220
+ FTE = "FTE"
2165
2221
  }
2166
-
2167
- declare enum SelectedAnswerTypeEnum {
2168
- CORRECT = "CORRECT",
2169
- ACCEPTABLE = "ACCEPTABLE",
2170
- ELIMINATE = "ELIMINATE"
2222
+ declare enum StepCompletedEnumV2 {
2223
+ BASIC_INFORMATION = "BASIC_INFORMATION",
2224
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
2171
2225
  }
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;
2226
+ declare class JobLocationDto {
2227
+ countryId: number | null;
2228
+ stateId: number | null;
2229
+ cityId: number | null;
2230
+ countryName?: string | null;
2231
+ stateName?: string | null;
2232
+ cityName?: string | null;
2233
+ }
2234
+ declare class JobBasicInformationV2Dto {
2235
+ isDraft?: boolean;
2236
+ jobRole: string;
2237
+ jobRoleCanonicalName?: string;
2238
+ projectName?: string;
2239
+ note?: string;
2240
+ skills: string[];
2241
+ goodToHaveSkills: string[];
2242
+ openings: number;
2243
+ locationMode: JobLocationEnumV2;
2244
+ locations: JobLocationDto[];
2245
+ typeOfEmployment: EmploymentTypeV2;
2246
+ currency?: string;
2247
+ expectedSalaryFrom: number;
2248
+ hideExpectedSalaryFrom: boolean;
2249
+ expectedSalaryTo: number;
2250
+ hideExpectedSalaryTo: boolean;
2251
+ expectedAnnualBudgetFrom: number;
2252
+ hideExpectedAnnualBudgetFrom: boolean;
2253
+ expectedAnnualBudgetTo: number;
2254
+ hideExpectedAnnualBudgetTo: boolean;
2255
+ years: string;
2256
+ months: string;
2257
+ weeks: string;
2258
+ days: string;
2259
+ numberOfHours: number;
2260
+ candidateCommunicationSkills?: string;
2261
+ academicQualification?: string;
2262
+ yearsOfExperienceFrom?: string;
2263
+ yearsOfExperienceTo?: string;
2264
+ businessIndustry?: string;
2265
+ stepCompleted?: StepCompletedEnumV2;
2266
+ additionalComment?: string;
2181
2267
  }
2182
2268
 
2183
- declare class CompanySkill extends BaseEntity {
2184
- userId: number;
2185
- user: User;
2186
- skillName: string;
2269
+ declare class CloseJobDto {
2270
+ reason?: string;
2187
2271
  }
2188
2272
 
2189
- declare class AdminPermission extends BaseEntity {
2190
- permissionName: string;
2191
- permissionSlug: string;
2192
- permissionDescription: string;
2193
- module: string;
2194
- isActive: boolean;
2195
- adminRole: AdminRolePermission[];
2273
+ declare class CreateJobApplicationDto {
2274
+ jobId: string;
2275
+ isCta?: boolean;
2196
2276
  }
2197
2277
 
2198
- declare class AdminRolePermission extends BaseEntity {
2199
- roleId: number;
2200
- adminRole: AdminRole;
2201
- permissionId: number;
2202
- adminPermissions: AdminPermission;
2278
+ declare enum JobApplicationStatus {
2279
+ PENDING = "PENDING",
2280
+ SHORTLISTED = "SHORTLISTED",
2281
+ REJECTED = "REJECTED",
2282
+ HIRED = "HIRED",
2283
+ WITHDRAWN = "WITHDRAWN"
2203
2284
  }
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[];
2285
+ declare class ChangeJobApplicationStatusDto {
2286
+ status: JobApplicationStatus;
2212
2287
  }
2213
2288
 
2214
- declare class AdminUserRole extends BaseEntity {
2215
- userId: number;
2216
- user: User;
2217
- roleId: number;
2218
- adminRole: AdminRole;
2289
+ declare class ChangeJobApplicationStatusBulkDto {
2290
+ jobApplicationIds: number[];
2291
+ status: JobApplicationStatus;
2219
2292
  }
2220
2293
 
2221
- declare class FreelancerResume extends BaseEntity {
2222
- userId: number;
2223
- user: User;
2224
- resumeData: string;
2225
- processedResumeData: string;
2226
- }
2294
+ declare const PROFILE_PATTERN: {
2295
+ fetchFreelancerProfile: string;
2296
+ fetchFreelancerPublicProfile: string;
2297
+ fetchFreelancerScreeningResult: string;
2298
+ fetchFreelancerScreeningResultPublic: string;
2299
+ changeFreelancerPassword: string;
2300
+ uploadFreelancerProfilePic: string;
2301
+ updateFreelancerProfile: string;
2302
+ uploadFreelancerServiceAgreement: string;
2303
+ fetchFreelancerServiceAgreement: string;
2304
+ generateFreelancerServiceAgreement: string;
2305
+ esignFreelancerServiceAgreementForClient: string;
2306
+ freelancerResumeDataMappingDev: string;
2307
+ freelancerMcqScoreMappingDev: string;
2308
+ fetchFreelancerDropdown: string;
2309
+ fetchFreelancerDesignationDropdown: string;
2310
+ deleteFreelancerProfilePic: string;
2311
+ fetchRecommendedJobsForFreelancer: string;
2312
+ fetchRecommendedClientsDropdownForFreelancerV2: string;
2313
+ fetchRecommendedJobsDropdownForFreelancerV2: string;
2314
+ fetchRecommendedJobsForFreelancerV2: string;
2315
+ fetchAppliedJobsOfFreelancer: string;
2316
+ fetchAppliedJobsDropdownForFreelancer: string;
2317
+ countOfActiveFreelancers: string;
2318
+ findUsersByUuids: string;
2319
+ markFollowedOnLinkedIn: string;
2320
+ fetchFreelancerResumeByUuId: string;
2321
+ fetchClientByIdForContract: string;
2322
+ fetchFreelancerByIdForContract: string;
2323
+ freelancerDataSetup: string;
2324
+ freelancerEmailAndMobileMasking: string;
2325
+ fetchClientInfoForChat: string;
2326
+ fetchAiAssessmentDetails: string;
2327
+ captureAiAssessmentResult: string;
2328
+ };
2329
+ declare const FREELANCER_ASSESSMENT_REQUEST_PATTERN: {
2330
+ fetchAssessmentRequestsForFreelancer: string;
2331
+ createFreelancerAssessmentRequest: string;
2332
+ };
2227
2333
 
2228
- declare class Signature extends BaseEntity {
2229
- userId: number;
2230
- user: User;
2231
- signatureUrl: string;
2334
+ declare class FreelancerChangePasswordDto {
2335
+ oldPassword: string;
2336
+ newPassword: string;
2232
2337
  }
2233
2338
 
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"
2339
+ declare enum NatureOfWorkDto {
2340
+ FREELANCE = "FREELANCE",
2341
+ FTE = "FTE",
2342
+ BOTH = "BOTH"
2244
2343
  }
2245
- declare enum InitiatorTypeEnum {
2246
- FREELANCER = "FREELANCER",
2247
- CLIENT = "CLIENT"
2344
+ declare enum ModeOfWorkDto {
2345
+ ONSITE = "ONSITE",
2346
+ REMOTE = "REMOTE",
2347
+ HYBRID = "HYBRID"
2248
2348
  }
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>;
2349
+ declare class UpdateFreelancerProfileDto {
2350
+ firstName: string;
2351
+ lastName: string;
2352
+ designation: string;
2353
+ experience: string;
2354
+ email: string;
2355
+ mobileCode: string;
2356
+ mobile: string;
2357
+ countryId: number;
2358
+ stateId: number;
2359
+ cityId: number;
2360
+ expectedHourlyCompensation: string;
2361
+ expectedAnnualCompensation: string;
2362
+ numberOfHours?: number;
2363
+ natureOfWork: NatureOfWorkDto;
2364
+ modeOfWork: ModeOfWorkDto;
2365
+ portfolioLink?: string;
2366
+ address: string;
2367
+ addressLine?: string;
2368
+ postalCode: string;
2369
+ about?: string;
2370
+ linkedinProfileLink?: string;
2371
+ kaggleProfileLink?: string;
2372
+ githubProfileLink?: string;
2373
+ stackOverflowProfileLink?: string;
2374
+ resumeUrl?: string;
2266
2375
  }
2267
2376
 
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;
2377
+ declare class FreelancerESignatureDto {
2378
+ uuid: string;
2311
2379
  }
2312
2380
 
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;
2381
+ declare class FetchClientInfoForChatDto {
2382
+ clientId: number;
2337
2383
  }
2338
2384
 
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[];
2385
+ declare class CaptureAiAssessmentResultDto {
2386
+ aiAssessmentUuid: string;
2387
+ result?: any;
2388
+ status?: string;
2359
2389
  }
2360
2390
 
2361
- declare enum AssessmentRequestStatusEnum {
2362
- PENDING = "PENDING",
2363
- APPROVED = "APPROVED",
2364
- REJECTED = "REJECTED"
2391
+ declare const BANK_PATTERN: {
2392
+ addFreelancerBankDetails: string;
2393
+ fetchFreelancerBankDetails: string;
2394
+ updateFreelancerBankDetails: string;
2395
+ deleteBankAccount: string;
2396
+ fetchBankAccounts: string;
2397
+ setBankAccountPrimary: string;
2398
+ };
2399
+
2400
+ declare enum BankAccountScope {
2401
+ DOMESTIC = "DOMESTIC",
2402
+ INTERNATIONAL = "INTERNATIONAL"
2365
2403
  }
2366
- declare class FreelancerAssessmentRequest extends BaseEntity {
2367
- freelancerId: number;
2368
- freelancer: User;
2369
- approvedById: number;
2370
- approvedBy: User;
2371
- status: AssessmentRequestStatusEnum;
2372
- assessmentLink?: string;
2404
+ declare class FreelancerBankDetailsDto {
2405
+ name: string;
2406
+ mobileCode: string;
2407
+ mobile: string;
2408
+ email: string;
2409
+ address: string;
2410
+ accountNumber: string;
2411
+ bankName: string;
2412
+ branchName: string;
2413
+ ifscCode: string;
2414
+ routingNo: string;
2415
+ abaNumber: string;
2416
+ iban: string;
2417
+ accountType: string;
2418
+ accountScope: BankAccountScope;
2373
2419
  }
2374
2420
 
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"
2421
+ declare const PLAN_PATTERN: {
2422
+ fetchPlans: string;
2423
+ };
2424
+
2425
+ interface IFetchPlanResponse {
2426
+ statusCode: number;
2427
+ status: boolean;
2428
+ message: string;
2429
+ data: any;
2382
2430
  }
2383
- declare enum AccountStatus {
2384
- INACTIVE = "INACTIVE",
2385
- ACTIVE = "ACTIVE",
2386
- SUSPENDED = "SUSPENDED",
2387
- BLOCKED = "BLOCKED"
2431
+
2432
+ declare const SYSTEM_PREFERENCES_PATTERN: {
2433
+ fetchSystemPreference: string;
2434
+ updateSystemPreference: string;
2435
+ createSystemPreference: string;
2436
+ };
2437
+
2438
+ declare enum SystemPreferenceKey {
2439
+ EMAIL_NOTIFICATION = "EMAIL_NOTIFICATION",
2440
+ DARK_MODE = "DARK_MODE"
2388
2441
  }
2389
- declare enum Provider {
2390
- LINKEDIN = "LINKEDIN",
2391
- GOOGLE = "GOOGLE",
2392
- GITLABS = "GITLABS"
2442
+ declare class SystemPreferenceDto {
2443
+ value: boolean;
2444
+ key: SystemPreferenceKey;
2393
2445
  }
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[];
2446
+
2447
+ declare const GLOBAL_SETTING_PATTERN: {
2448
+ addGlobalSetting: string;
2449
+ removeGlobalSetting: string;
2450
+ };
2451
+
2452
+ declare class AddGlobalSettingDto {
2453
+ key: string;
2454
+ value: string;
2484
2455
  }
2485
2456
 
2486
- declare enum RatingTypeEnum {
2487
- FREELANCER_TO_CLIENT = "FREELANCER_TO_CLIENT",
2488
- CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
2457
+ declare class RemoveGlobalSettingDto {
2458
+ uuid?: string;
2459
+ key?: string;
2489
2460
  }
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;
2461
+
2462
+ declare const NOTIFICATION_PATTERN: {
2463
+ handleAccountVerificationNotification: string;
2464
+ handleResetLinkNotification: string;
2465
+ handleBusinessAccountCreatedNotification: string;
2466
+ handleBusinessAccountSetPasswordNotification: string;
2467
+ handleFreelancerAccountSetPasswordNotification: string;
2468
+ handleSendBulkInterviewInvites: string;
2469
+ handleFreelancerAccountCreatedNotification: string;
2470
+ handleSetPasswordLinkNotification: string;
2471
+ handleLeadNotificationToAdmin: string;
2472
+ handleDailyFreelancerReportToStakeHolders: string;
2473
+ handleAiAssessmentLinkNotification: string;
2474
+ handleRecordingProcessingErrorNotification: string;
2475
+ handleResumeParserErrorNotification: string;
2476
+ handleFreelancerExportReadyNotification: string;
2477
+ handleFreelancerExportFailedNotification: string;
2478
+ handleClientExportReadyNotification: string;
2479
+ handleClientExportFailedNotification: string;
2480
+ handleAiInterviewResultErrorNotification: string;
2481
+ handleAiInterviewRecordingErrorNotification: string;
2482
+ handleAiAssessmentInterviewResultErrorNotification: string;
2483
+ handleAiAssessmentInterviewRecordingErrorNotification: string;
2484
+ handleSubAdminAccountCreatedNotification: string;
2485
+ };
2486
+ declare const SMS_PATTERN: {
2487
+ sendTest: string;
2488
+ queueStats: string;
2489
+ cleanQueue: string;
2490
+ status: string;
2491
+ accountInfo: string;
2492
+ };
2493
+ declare const EMAIL_PATTERN: {
2494
+ sendTest: string;
2495
+ send: string;
2496
+ sendTemplate: string;
2497
+ getQueueStats: string;
2498
+ cleanQueue: string;
2499
+ };
2500
+
2501
+ declare class TestNotificationDto {
2502
+ email?: string;
2503
+ phone?: string;
2504
+ message?: string;
2505
+ data?: any;
2506
+ type?: string;
2510
2507
  }
2511
2508
 
2509
+ declare const RATING_PATTERN: {
2510
+ addRating: string;
2511
+ fetchRating: string;
2512
+ fetchPublicRating: string;
2513
+ };
2514
+
2512
2515
  declare class CreateRatingDto {
2513
2516
  revieweeId: number;
2514
2517
  reviewerId: number;
@@ -2828,6 +2831,9 @@ declare const ADMIN_FREELANCER_PATTERN: {
2828
2831
  fetchAIassessmentsForAdmin: string;
2829
2832
  fetchAiAssessmentRequestsForAdmin: string;
2830
2833
  updateAssessmentRequestStatus: string;
2834
+ fetchAIassessmentResultForFreelancerAdmin: string;
2835
+ deleteAIassessmentForAdminFreelancer: string;
2836
+ fetchAppliedJobsOfAdminFreelancer: string;
2831
2837
  };
2832
2838
 
2833
2839
  declare enum NatureOfWorkEnum$1 {
@@ -3011,6 +3017,7 @@ declare const CLIENT_ADMIN_PATTERNS: {
3011
3017
  fetchClientDropdown: string;
3012
3018
  fetchClientGraphCount: string;
3013
3019
  adminExportClientV2Optimised: string;
3020
+ updateAdminClientAccountStatus: string;
3014
3021
  };
3015
3022
 
3016
3023
  declare class CreateClientDto {
@@ -3062,6 +3069,10 @@ declare class AdminExportClientV2OptimisedDto {
3062
3069
  customEmails?: string[];
3063
3070
  }
3064
3071
 
3072
+ declare class UpdateAdminClientAccountStatusDto {
3073
+ accountStatus: AccountStatus;
3074
+ }
3075
+
3065
3076
  interface IFetchClientsResponse {
3066
3077
  statusCode: number;
3067
3078
  status: boolean;
@@ -4409,4 +4420,4 @@ declare class GlobalSetting extends BaseEntity {
4409
4420
  value: string;
4410
4421
  }
4411
4422
 
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 };
4423
+ 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 };