@experts_hub/shared 1.0.62 → 1.0.64

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.
@@ -3,6 +3,7 @@ import { RefreshToken } from "./refresh-token.entity";
3
3
  import { ResumeParserLog } from "./resume-parser-log.entity";
4
4
  import { Otp } from "./otp.entity";
5
5
  import { FreelancerProfile } from "./freelancer-profile.entity";
6
+ import { CompanyProfile } from "./company-profile.entity";
6
7
  export declare enum AccountType {
7
8
  ADMIN = "ADMIN",
8
9
  SUB_ADMIN = "SUB_ADMIN",
@@ -37,4 +38,5 @@ export declare class User extends BaseEntity {
37
38
  otps: Otp[];
38
39
  resumeParserLogs: ResumeParserLog[];
39
40
  freelancerProfile: FreelancerProfile;
41
+ companyProfile: CompanyProfile;
40
42
  }
package/dist/index.d.mts CHANGED
@@ -62,12 +62,6 @@ declare class FreelancerProfileQuestionDto {
62
62
  answer: any;
63
63
  }
64
64
 
65
- declare class ClientProfileQuestionDto {
66
- uuid: string;
67
- question_slug: string;
68
- answer: any;
69
- }
70
-
71
65
  declare class FreelancerWorkShowcaseDto {
72
66
  uuid: string;
73
67
  linkedinProfileLink: string;
@@ -77,6 +71,20 @@ declare class FreelancerWorkShowcaseDto {
77
71
  portfolioLink?: string | null;
78
72
  }
79
73
 
74
+ declare class ClientProfileQuestionDto {
75
+ uuid: string;
76
+ question_slug: string;
77
+ answer: any;
78
+ }
79
+
80
+ declare class ClientCreateAccountDto {
81
+ fullName: string;
82
+ email: string;
83
+ companyName: string;
84
+ password: string;
85
+ confirmPassword: string;
86
+ }
87
+
80
88
  declare const RESUME_PARSER_PATTERN: {
81
89
  handleResumeParsing: string;
82
90
  };
@@ -310,6 +318,33 @@ declare class FreelancerProfile extends BaseEntity {
310
318
  portfolioLink: string;
311
319
  }
312
320
 
321
+ declare enum KindOfHire {
322
+ FULLTIME = "FULLTIME",
323
+ SHORTTIME = "SHORTTIME",
324
+ BOTH = "BOTH"
325
+ }
326
+ declare enum ModeOfHire {
327
+ ONSITE = "ONSITE",
328
+ REMOTE = "REMOTE",
329
+ BOTH = "BOTH"
330
+ }
331
+ declare enum FromUsOn {
332
+ LINKEDIN = "LINKEDIN",
333
+ GOOGLE = "GOOGLE",
334
+ REFERRAL = "REFERRAL",
335
+ OTHER = "OTHER"
336
+ }
337
+ declare class CompanyProfile extends BaseEntity {
338
+ userId: number;
339
+ user: User;
340
+ companyName: string;
341
+ skills: string[];
342
+ requiredFreelancer: string;
343
+ kindOfHiring: KindOfHire;
344
+ modeOfHire: ModeOfHire;
345
+ foundUsOn: FromUsOn;
346
+ }
347
+
313
348
  declare enum AccountType {
314
349
  ADMIN = "ADMIN",
315
350
  SUB_ADMIN = "SUB_ADMIN",
@@ -344,6 +379,7 @@ declare class User extends BaseEntity {
344
379
  otps: Otp[];
345
380
  resumeParserLogs: ResumeParserLog[];
346
381
  freelancerProfile: FreelancerProfile;
382
+ companyProfile: CompanyProfile;
347
383
  }
348
384
 
349
385
  declare enum QuestionFor {
@@ -364,31 +400,4 @@ declare class Question extends BaseEntity {
364
400
  isActive: boolean;
365
401
  }
366
402
 
367
- declare enum KindOfHire {
368
- FULLTIME = "FULLTIME",
369
- SHORTTIME = "SHORTTIME",
370
- BOTH = "BOTH"
371
- }
372
- declare enum ModeOfHire {
373
- ONSITE = "ONSITE",
374
- REMOTE = "REMOTE",
375
- BOTH = "BOTH"
376
- }
377
- declare enum FromUsOn {
378
- LINKEDIN = "LINKEDIN",
379
- GOOGLE = "GOOGLE",
380
- REFERRAL = "REFERRAL",
381
- OTHER = "OTHER"
382
- }
383
- declare class CompanyProfile extends BaseEntity {
384
- userId: number;
385
- user: User;
386
- companyName: string;
387
- skills: string[];
388
- requiredFreelancer: string;
389
- kindOfHiring: KindOfHire;
390
- modeOfHire: ModeOfHire;
391
- foundUsOn: FromUsOn;
392
- }
393
-
394
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
403
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -62,12 +62,6 @@ declare class FreelancerProfileQuestionDto {
62
62
  answer: any;
63
63
  }
64
64
 
65
- declare class ClientProfileQuestionDto {
66
- uuid: string;
67
- question_slug: string;
68
- answer: any;
69
- }
70
-
71
65
  declare class FreelancerWorkShowcaseDto {
72
66
  uuid: string;
73
67
  linkedinProfileLink: string;
@@ -77,6 +71,20 @@ declare class FreelancerWorkShowcaseDto {
77
71
  portfolioLink?: string | null;
78
72
  }
79
73
 
74
+ declare class ClientProfileQuestionDto {
75
+ uuid: string;
76
+ question_slug: string;
77
+ answer: any;
78
+ }
79
+
80
+ declare class ClientCreateAccountDto {
81
+ fullName: string;
82
+ email: string;
83
+ companyName: string;
84
+ password: string;
85
+ confirmPassword: string;
86
+ }
87
+
80
88
  declare const RESUME_PARSER_PATTERN: {
81
89
  handleResumeParsing: string;
82
90
  };
@@ -310,6 +318,33 @@ declare class FreelancerProfile extends BaseEntity {
310
318
  portfolioLink: string;
311
319
  }
312
320
 
321
+ declare enum KindOfHire {
322
+ FULLTIME = "FULLTIME",
323
+ SHORTTIME = "SHORTTIME",
324
+ BOTH = "BOTH"
325
+ }
326
+ declare enum ModeOfHire {
327
+ ONSITE = "ONSITE",
328
+ REMOTE = "REMOTE",
329
+ BOTH = "BOTH"
330
+ }
331
+ declare enum FromUsOn {
332
+ LINKEDIN = "LINKEDIN",
333
+ GOOGLE = "GOOGLE",
334
+ REFERRAL = "REFERRAL",
335
+ OTHER = "OTHER"
336
+ }
337
+ declare class CompanyProfile extends BaseEntity {
338
+ userId: number;
339
+ user: User;
340
+ companyName: string;
341
+ skills: string[];
342
+ requiredFreelancer: string;
343
+ kindOfHiring: KindOfHire;
344
+ modeOfHire: ModeOfHire;
345
+ foundUsOn: FromUsOn;
346
+ }
347
+
313
348
  declare enum AccountType {
314
349
  ADMIN = "ADMIN",
315
350
  SUB_ADMIN = "SUB_ADMIN",
@@ -344,6 +379,7 @@ declare class User extends BaseEntity {
344
379
  otps: Otp[];
345
380
  resumeParserLogs: ResumeParserLog[];
346
381
  freelancerProfile: FreelancerProfile;
382
+ companyProfile: CompanyProfile;
347
383
  }
348
384
 
349
385
  declare enum QuestionFor {
@@ -364,31 +400,4 @@ declare class Question extends BaseEntity {
364
400
  isActive: boolean;
365
401
  }
366
402
 
367
- declare enum KindOfHire {
368
- FULLTIME = "FULLTIME",
369
- SHORTTIME = "SHORTTIME",
370
- BOTH = "BOTH"
371
- }
372
- declare enum ModeOfHire {
373
- ONSITE = "ONSITE",
374
- REMOTE = "REMOTE",
375
- BOTH = "BOTH"
376
- }
377
- declare enum FromUsOn {
378
- LINKEDIN = "LINKEDIN",
379
- GOOGLE = "GOOGLE",
380
- REFERRAL = "REFERRAL",
381
- OTHER = "OTHER"
382
- }
383
- declare class CompanyProfile extends BaseEntity {
384
- userId: number;
385
- user: User;
386
- companyName: string;
387
- skills: string[];
388
- requiredFreelancer: string;
389
- kindOfHiring: KindOfHire;
390
- modeOfHire: ModeOfHire;
391
- foundUsOn: FromUsOn;
392
- }
393
-
394
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
403
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };