@experts_hub/shared 1.0.69 → 1.0.70

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.
@@ -20,6 +20,9 @@ export declare class CompanyProfile extends BaseEntity {
20
20
  userId: number;
21
21
  user: User;
22
22
  companyName: string;
23
+ bio: string;
24
+ rating: number;
25
+ agreement: string;
23
26
  skills: string[];
24
27
  requiredFreelancer: string;
25
28
  kindOfHiring: KindOfHire;
package/dist/index.d.mts CHANGED
@@ -203,47 +203,12 @@ interface IAttachPermissionsToSubAdminResponse {
203
203
  message: string;
204
204
  }
205
205
 
206
- declare const QUESTION_PATTERN: {
207
- fetchQuestions: string;
206
+ declare const CLIENT_PROFILE_PATTERN: {
207
+ fetchClientProfile: string;
208
+ updateClientProfile: string;
209
+ updateClientLogo: string;
208
210
  };
209
211
 
210
- declare class CreateQuestionDto {
211
- questionId: string;
212
- question: string;
213
- questionFor: string;
214
- options: string;
215
- isActive: boolean;
216
- }
217
-
218
- interface IFetchQuestionQuery {
219
- page_size?: number;
220
- page: number;
221
- searchText?: string;
222
- question: string;
223
- right: string;
224
- sortColumn?: string;
225
- sortBy?: string;
226
- type?: string;
227
- }
228
- interface IFetchQuestionResponse {
229
- statusCode: number;
230
- status: boolean;
231
- message: string;
232
- data: any;
233
- }
234
-
235
- declare const JOB_ROLE_PATTERN: {
236
- fetchJobRolesForDropdown: string;
237
- };
238
-
239
- declare const UserTCPAdapter: () => MicroserviceOptions;
240
-
241
- declare const JobTCPAdapter: () => MicroserviceOptions;
242
-
243
- declare const UserRMQAdapter: (mode?: string) => MicroserviceOptions;
244
-
245
- declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
246
-
247
212
  declare abstract class BaseEntity {
248
213
  id: number;
249
214
  uuid: string;
@@ -322,33 +287,6 @@ declare class FreelancerProfile extends BaseEntity {
322
287
  portfolioLink: string;
323
288
  }
324
289
 
325
- declare enum KindOfHire {
326
- FULLTIME = "FULLTIME",
327
- SHORTTIME = "SHORTTIME",
328
- BOTH = "BOTH"
329
- }
330
- declare enum ModeOfHire {
331
- ONSITE = "ONSITE",
332
- REMOTE = "REMOTE",
333
- BOTH = "BOTH"
334
- }
335
- declare enum FromUsOn {
336
- LINKEDIN = "LINKEDIN",
337
- GOOGLE = "GOOGLE",
338
- REFERRAL = "REFERRAL",
339
- OTHER = "OTHER"
340
- }
341
- declare class CompanyProfile extends BaseEntity {
342
- userId: number;
343
- user: User;
344
- companyName: string;
345
- skills: string[];
346
- requiredFreelancer: string;
347
- kindOfHiring: KindOfHire;
348
- modeOfHire: ModeOfHire;
349
- foundUsOn: FromUsOn;
350
- }
351
-
352
290
  declare enum JobLocation {
353
291
  ONSITE = "ONSITE",
354
292
  REMOTE = "REMOTE",
@@ -418,6 +356,135 @@ declare class User extends BaseEntity {
418
356
  jobs: Job[];
419
357
  }
420
358
 
359
+ declare enum KindOfHire {
360
+ FULLTIME = "FULLTIME",
361
+ SHORTTIME = "SHORTTIME",
362
+ BOTH = "BOTH"
363
+ }
364
+ declare enum ModeOfHire {
365
+ ONSITE = "ONSITE",
366
+ REMOTE = "REMOTE",
367
+ BOTH = "BOTH"
368
+ }
369
+ declare enum FromUsOn {
370
+ LINKEDIN = "LINKEDIN",
371
+ GOOGLE = "GOOGLE",
372
+ REFERRAL = "REFERRAL",
373
+ OTHER = "OTHER"
374
+ }
375
+ declare class CompanyProfile extends BaseEntity {
376
+ userId: number;
377
+ user: User;
378
+ companyName: string;
379
+ bio: string;
380
+ rating: number;
381
+ agreement: string;
382
+ skills: string[];
383
+ requiredFreelancer: string;
384
+ kindOfHiring: KindOfHire;
385
+ modeOfHire: ModeOfHire;
386
+ foundUsOn: FromUsOn;
387
+ }
388
+
389
+ declare class UpdateCompanyProfileDto {
390
+ userId?: number;
391
+ companyName?: string;
392
+ bio?: string;
393
+ rating?: number;
394
+ agreement?: string;
395
+ skills?: string[];
396
+ requiredFreelancer?: string;
397
+ kindOfHiring?: KindOfHire;
398
+ modeOfHire?: ModeOfHire;
399
+ foundUsOn?: FromUsOn;
400
+ }
401
+
402
+ declare class UpdateCompanyLogoDto {
403
+ logo: string;
404
+ }
405
+
406
+ interface IFetchClientProfileQuery {
407
+ page_size?: number;
408
+ page: number;
409
+ searchText?: string;
410
+ companyName: string;
411
+ right: string;
412
+ sortColumn?: string;
413
+ sortBy?: string;
414
+ }
415
+ interface IFetchClientProfileResponse {
416
+ statusCode: number;
417
+ status: boolean;
418
+ message: string;
419
+ data: any;
420
+ }
421
+ interface IUpdateClientProfilePayload {
422
+ userId?: number;
423
+ companyName?: string;
424
+ bio?: string;
425
+ rating?: number;
426
+ agreement?: string;
427
+ skills?: string[];
428
+ requiredFreelancer?: string;
429
+ kindOfHiring?: string;
430
+ modeOfHire?: string;
431
+ foundUsOn?: string;
432
+ }
433
+ interface IUpdateClientProfileResponse {
434
+ statusCode: number;
435
+ status: boolean;
436
+ message: string;
437
+ }
438
+ interface IUpdateClientLogoPayload {
439
+ logo: string;
440
+ }
441
+ interface IUpdateClientLogoResponse {
442
+ statusCode: number;
443
+ status: boolean;
444
+ message: string;
445
+ }
446
+
447
+ declare const QUESTION_PATTERN: {
448
+ fetchQuestions: string;
449
+ };
450
+
451
+ declare class CreateQuestionDto {
452
+ questionId: string;
453
+ question: string;
454
+ questionFor: string;
455
+ options: string;
456
+ isActive: boolean;
457
+ }
458
+
459
+ interface IFetchQuestionQuery {
460
+ page_size?: number;
461
+ page: number;
462
+ searchText?: string;
463
+ question: string;
464
+ right: string;
465
+ sortColumn?: string;
466
+ sortBy?: string;
467
+ type?: string;
468
+ }
469
+ interface IFetchQuestionResponse {
470
+ statusCode: number;
471
+ status: boolean;
472
+ message: string;
473
+ data: any;
474
+ }
475
+
476
+ declare const JOB_ROLE_PATTERN: {
477
+ fetchJobRolesForDropdown: string;
478
+ };
479
+
480
+ declare const UserTCPAdapter: () => MicroserviceOptions;
481
+
482
+ declare const JobTCPAdapter: () => MicroserviceOptions;
483
+
484
+ declare const UserRMQAdapter: (mode?: string) => MicroserviceOptions;
485
+
486
+ declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
487
+
421
488
  declare enum QuestionFor {
422
489
  CLIENT = "CLIENT",
423
490
  FREELANCER = "FREELANCER"
@@ -442,4 +509,4 @@ declare class JobRoles extends BaseEntity {
442
509
  isActive: boolean;
443
510
  }
444
511
 
445
- 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, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
512
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateCompanyLogoDto, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -203,47 +203,12 @@ interface IAttachPermissionsToSubAdminResponse {
203
203
  message: string;
204
204
  }
205
205
 
206
- declare const QUESTION_PATTERN: {
207
- fetchQuestions: string;
206
+ declare const CLIENT_PROFILE_PATTERN: {
207
+ fetchClientProfile: string;
208
+ updateClientProfile: string;
209
+ updateClientLogo: string;
208
210
  };
209
211
 
210
- declare class CreateQuestionDto {
211
- questionId: string;
212
- question: string;
213
- questionFor: string;
214
- options: string;
215
- isActive: boolean;
216
- }
217
-
218
- interface IFetchQuestionQuery {
219
- page_size?: number;
220
- page: number;
221
- searchText?: string;
222
- question: string;
223
- right: string;
224
- sortColumn?: string;
225
- sortBy?: string;
226
- type?: string;
227
- }
228
- interface IFetchQuestionResponse {
229
- statusCode: number;
230
- status: boolean;
231
- message: string;
232
- data: any;
233
- }
234
-
235
- declare const JOB_ROLE_PATTERN: {
236
- fetchJobRolesForDropdown: string;
237
- };
238
-
239
- declare const UserTCPAdapter: () => MicroserviceOptions;
240
-
241
- declare const JobTCPAdapter: () => MicroserviceOptions;
242
-
243
- declare const UserRMQAdapter: (mode?: string) => MicroserviceOptions;
244
-
245
- declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
246
-
247
212
  declare abstract class BaseEntity {
248
213
  id: number;
249
214
  uuid: string;
@@ -322,33 +287,6 @@ declare class FreelancerProfile extends BaseEntity {
322
287
  portfolioLink: string;
323
288
  }
324
289
 
325
- declare enum KindOfHire {
326
- FULLTIME = "FULLTIME",
327
- SHORTTIME = "SHORTTIME",
328
- BOTH = "BOTH"
329
- }
330
- declare enum ModeOfHire {
331
- ONSITE = "ONSITE",
332
- REMOTE = "REMOTE",
333
- BOTH = "BOTH"
334
- }
335
- declare enum FromUsOn {
336
- LINKEDIN = "LINKEDIN",
337
- GOOGLE = "GOOGLE",
338
- REFERRAL = "REFERRAL",
339
- OTHER = "OTHER"
340
- }
341
- declare class CompanyProfile extends BaseEntity {
342
- userId: number;
343
- user: User;
344
- companyName: string;
345
- skills: string[];
346
- requiredFreelancer: string;
347
- kindOfHiring: KindOfHire;
348
- modeOfHire: ModeOfHire;
349
- foundUsOn: FromUsOn;
350
- }
351
-
352
290
  declare enum JobLocation {
353
291
  ONSITE = "ONSITE",
354
292
  REMOTE = "REMOTE",
@@ -418,6 +356,135 @@ declare class User extends BaseEntity {
418
356
  jobs: Job[];
419
357
  }
420
358
 
359
+ declare enum KindOfHire {
360
+ FULLTIME = "FULLTIME",
361
+ SHORTTIME = "SHORTTIME",
362
+ BOTH = "BOTH"
363
+ }
364
+ declare enum ModeOfHire {
365
+ ONSITE = "ONSITE",
366
+ REMOTE = "REMOTE",
367
+ BOTH = "BOTH"
368
+ }
369
+ declare enum FromUsOn {
370
+ LINKEDIN = "LINKEDIN",
371
+ GOOGLE = "GOOGLE",
372
+ REFERRAL = "REFERRAL",
373
+ OTHER = "OTHER"
374
+ }
375
+ declare class CompanyProfile extends BaseEntity {
376
+ userId: number;
377
+ user: User;
378
+ companyName: string;
379
+ bio: string;
380
+ rating: number;
381
+ agreement: string;
382
+ skills: string[];
383
+ requiredFreelancer: string;
384
+ kindOfHiring: KindOfHire;
385
+ modeOfHire: ModeOfHire;
386
+ foundUsOn: FromUsOn;
387
+ }
388
+
389
+ declare class UpdateCompanyProfileDto {
390
+ userId?: number;
391
+ companyName?: string;
392
+ bio?: string;
393
+ rating?: number;
394
+ agreement?: string;
395
+ skills?: string[];
396
+ requiredFreelancer?: string;
397
+ kindOfHiring?: KindOfHire;
398
+ modeOfHire?: ModeOfHire;
399
+ foundUsOn?: FromUsOn;
400
+ }
401
+
402
+ declare class UpdateCompanyLogoDto {
403
+ logo: string;
404
+ }
405
+
406
+ interface IFetchClientProfileQuery {
407
+ page_size?: number;
408
+ page: number;
409
+ searchText?: string;
410
+ companyName: string;
411
+ right: string;
412
+ sortColumn?: string;
413
+ sortBy?: string;
414
+ }
415
+ interface IFetchClientProfileResponse {
416
+ statusCode: number;
417
+ status: boolean;
418
+ message: string;
419
+ data: any;
420
+ }
421
+ interface IUpdateClientProfilePayload {
422
+ userId?: number;
423
+ companyName?: string;
424
+ bio?: string;
425
+ rating?: number;
426
+ agreement?: string;
427
+ skills?: string[];
428
+ requiredFreelancer?: string;
429
+ kindOfHiring?: string;
430
+ modeOfHire?: string;
431
+ foundUsOn?: string;
432
+ }
433
+ interface IUpdateClientProfileResponse {
434
+ statusCode: number;
435
+ status: boolean;
436
+ message: string;
437
+ }
438
+ interface IUpdateClientLogoPayload {
439
+ logo: string;
440
+ }
441
+ interface IUpdateClientLogoResponse {
442
+ statusCode: number;
443
+ status: boolean;
444
+ message: string;
445
+ }
446
+
447
+ declare const QUESTION_PATTERN: {
448
+ fetchQuestions: string;
449
+ };
450
+
451
+ declare class CreateQuestionDto {
452
+ questionId: string;
453
+ question: string;
454
+ questionFor: string;
455
+ options: string;
456
+ isActive: boolean;
457
+ }
458
+
459
+ interface IFetchQuestionQuery {
460
+ page_size?: number;
461
+ page: number;
462
+ searchText?: string;
463
+ question: string;
464
+ right: string;
465
+ sortColumn?: string;
466
+ sortBy?: string;
467
+ type?: string;
468
+ }
469
+ interface IFetchQuestionResponse {
470
+ statusCode: number;
471
+ status: boolean;
472
+ message: string;
473
+ data: any;
474
+ }
475
+
476
+ declare const JOB_ROLE_PATTERN: {
477
+ fetchJobRolesForDropdown: string;
478
+ };
479
+
480
+ declare const UserTCPAdapter: () => MicroserviceOptions;
481
+
482
+ declare const JobTCPAdapter: () => MicroserviceOptions;
483
+
484
+ declare const UserRMQAdapter: (mode?: string) => MicroserviceOptions;
485
+
486
+ declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
487
+
421
488
  declare enum QuestionFor {
422
489
  CLIENT = "CLIENT",
423
490
  FREELANCER = "FREELANCER"
@@ -442,4 +509,4 @@ declare class JobRoles extends BaseEntity {
442
509
  isActive: boolean;
443
510
  }
444
511
 
445
- 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, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
512
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateCompanyLogoDto, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };