@experts_hub/shared 1.0.68 → 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.
- package/dist/entities/company-profile.entity.d.ts +3 -0
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/job-entity.d.ts +32 -0
- package/dist/entities/refresh-token.entity.d.ts +1 -1
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +158 -59
- package/dist/index.d.ts +158 -59
- package/dist/index.js +402 -232
- package/dist/index.mjs +410 -241
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/user/client-profile/client-profile.interface.d.ts +40 -0
- package/dist/modules/user/client-profile/dto/index.d.ts +2 -0
- package/dist/modules/user/client-profile/dto/update-client-logo.dto.d.ts +3 -0
- package/dist/modules/user/client-profile/dto/update-client-profile.dto.d.ts +13 -0
- package/dist/modules/user/client-profile/index.d.ts +3 -0
- package/dist/modules/user/client-profile/pattern/pattern.d.ts +5 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseEntity } from "./base.entity";
|
|
2
|
+
import { User } from "./user.entity";
|
|
3
|
+
export declare enum JobLocation {
|
|
4
|
+
ONSITE = "ONSITE",
|
|
5
|
+
REMOTE = "REMOTE",
|
|
6
|
+
BOTH = "BOTH"
|
|
7
|
+
}
|
|
8
|
+
export declare enum TypeOfEmployment {
|
|
9
|
+
FULLTIME = "FULLTIME",
|
|
10
|
+
PARTTIME = "PARTTIME",
|
|
11
|
+
BOTH = "BOTH"
|
|
12
|
+
}
|
|
13
|
+
export declare enum JobStatus {
|
|
14
|
+
ACTIVE = "ACTIVE",
|
|
15
|
+
OPEN = "OPEN",
|
|
16
|
+
DRAFT = "DRAFT",
|
|
17
|
+
ONHOLD = "ONHOLD",
|
|
18
|
+
CLOSED = "CLOSED"
|
|
19
|
+
}
|
|
20
|
+
export declare class Job extends BaseEntity {
|
|
21
|
+
jobId: string;
|
|
22
|
+
userId: number;
|
|
23
|
+
user: User;
|
|
24
|
+
jobRole: string;
|
|
25
|
+
note: string;
|
|
26
|
+
openings: number;
|
|
27
|
+
location: JobLocation;
|
|
28
|
+
typeOfEmployment: TypeOfEmployment;
|
|
29
|
+
additionalComment: string;
|
|
30
|
+
description: string;
|
|
31
|
+
status: JobStatus;
|
|
32
|
+
}
|
|
@@ -4,6 +4,7 @@ import { ResumeParserLog } from "./resume-parser-log.entity";
|
|
|
4
4
|
import { Otp } from "./otp.entity";
|
|
5
5
|
import { FreelancerProfile } from "./freelancer-profile.entity";
|
|
6
6
|
import { CompanyProfile } from "./company-profile.entity";
|
|
7
|
+
import { Job } from "./job-entity";
|
|
7
8
|
export declare enum AccountType {
|
|
8
9
|
ADMIN = "ADMIN",
|
|
9
10
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -39,4 +40,5 @@ export declare class User extends BaseEntity {
|
|
|
39
40
|
resumeParserLogs: ResumeParserLog[];
|
|
40
41
|
freelancerProfile: FreelancerProfile;
|
|
41
42
|
companyProfile: CompanyProfile;
|
|
43
|
+
jobs: Job[];
|
|
42
44
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -203,47 +203,12 @@ interface IAttachPermissionsToSubAdminResponse {
|
|
|
203
203
|
message: string;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
declare const
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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;
|
|
206
|
+
declare const CLIENT_PROFILE_PATTERN: {
|
|
207
|
+
fetchClientProfile: string;
|
|
208
|
+
updateClientProfile: string;
|
|
209
|
+
updateClientLogo: string;
|
|
237
210
|
};
|
|
238
211
|
|
|
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;
|
|
@@ -258,7 +223,7 @@ declare abstract class BaseEntity {
|
|
|
258
223
|
|
|
259
224
|
declare class RefreshToken {
|
|
260
225
|
id: string;
|
|
261
|
-
userId:
|
|
226
|
+
userId: number;
|
|
262
227
|
tokenId: string;
|
|
263
228
|
deviceInfo: any;
|
|
264
229
|
isRevoked: boolean;
|
|
@@ -322,31 +287,35 @@ declare class FreelancerProfile extends BaseEntity {
|
|
|
322
287
|
portfolioLink: string;
|
|
323
288
|
}
|
|
324
289
|
|
|
325
|
-
declare enum
|
|
326
|
-
FULLTIME = "FULLTIME",
|
|
327
|
-
SHORTTIME = "SHORTTIME",
|
|
328
|
-
BOTH = "BOTH"
|
|
329
|
-
}
|
|
330
|
-
declare enum ModeOfHire {
|
|
290
|
+
declare enum JobLocation {
|
|
331
291
|
ONSITE = "ONSITE",
|
|
332
292
|
REMOTE = "REMOTE",
|
|
333
293
|
BOTH = "BOTH"
|
|
334
294
|
}
|
|
335
|
-
declare enum
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
OTHER = "OTHER"
|
|
295
|
+
declare enum TypeOfEmployment {
|
|
296
|
+
FULLTIME = "FULLTIME",
|
|
297
|
+
PARTTIME = "PARTTIME",
|
|
298
|
+
BOTH = "BOTH"
|
|
340
299
|
}
|
|
341
|
-
declare
|
|
300
|
+
declare enum JobStatus {
|
|
301
|
+
ACTIVE = "ACTIVE",
|
|
302
|
+
OPEN = "OPEN",
|
|
303
|
+
DRAFT = "DRAFT",
|
|
304
|
+
ONHOLD = "ONHOLD",
|
|
305
|
+
CLOSED = "CLOSED"
|
|
306
|
+
}
|
|
307
|
+
declare class Job extends BaseEntity {
|
|
308
|
+
jobId: string;
|
|
342
309
|
userId: number;
|
|
343
310
|
user: User;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
311
|
+
jobRole: string;
|
|
312
|
+
note: string;
|
|
313
|
+
openings: number;
|
|
314
|
+
location: JobLocation;
|
|
315
|
+
typeOfEmployment: TypeOfEmployment;
|
|
316
|
+
additionalComment: string;
|
|
317
|
+
description: string;
|
|
318
|
+
status: JobStatus;
|
|
350
319
|
}
|
|
351
320
|
|
|
352
321
|
declare enum AccountType {
|
|
@@ -384,8 +353,138 @@ declare class User extends BaseEntity {
|
|
|
384
353
|
resumeParserLogs: ResumeParserLog[];
|
|
385
354
|
freelancerProfile: FreelancerProfile;
|
|
386
355
|
companyProfile: CompanyProfile;
|
|
356
|
+
jobs: Job[];
|
|
357
|
+
}
|
|
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;
|
|
387
445
|
}
|
|
388
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
|
+
|
|
389
488
|
declare enum QuestionFor {
|
|
390
489
|
CLIENT = "CLIENT",
|
|
391
490
|
FREELANCER = "FREELANCER"
|
|
@@ -410,4 +509,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
410
509
|
isActive: boolean;
|
|
411
510
|
}
|
|
412
511
|
|
|
413
|
-
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, JobRMQAdapter, JobRoles, 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 };
|
|
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
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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;
|
|
206
|
+
declare const CLIENT_PROFILE_PATTERN: {
|
|
207
|
+
fetchClientProfile: string;
|
|
208
|
+
updateClientProfile: string;
|
|
209
|
+
updateClientLogo: string;
|
|
237
210
|
};
|
|
238
211
|
|
|
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;
|
|
@@ -258,7 +223,7 @@ declare abstract class BaseEntity {
|
|
|
258
223
|
|
|
259
224
|
declare class RefreshToken {
|
|
260
225
|
id: string;
|
|
261
|
-
userId:
|
|
226
|
+
userId: number;
|
|
262
227
|
tokenId: string;
|
|
263
228
|
deviceInfo: any;
|
|
264
229
|
isRevoked: boolean;
|
|
@@ -322,31 +287,35 @@ declare class FreelancerProfile extends BaseEntity {
|
|
|
322
287
|
portfolioLink: string;
|
|
323
288
|
}
|
|
324
289
|
|
|
325
|
-
declare enum
|
|
326
|
-
FULLTIME = "FULLTIME",
|
|
327
|
-
SHORTTIME = "SHORTTIME",
|
|
328
|
-
BOTH = "BOTH"
|
|
329
|
-
}
|
|
330
|
-
declare enum ModeOfHire {
|
|
290
|
+
declare enum JobLocation {
|
|
331
291
|
ONSITE = "ONSITE",
|
|
332
292
|
REMOTE = "REMOTE",
|
|
333
293
|
BOTH = "BOTH"
|
|
334
294
|
}
|
|
335
|
-
declare enum
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
OTHER = "OTHER"
|
|
295
|
+
declare enum TypeOfEmployment {
|
|
296
|
+
FULLTIME = "FULLTIME",
|
|
297
|
+
PARTTIME = "PARTTIME",
|
|
298
|
+
BOTH = "BOTH"
|
|
340
299
|
}
|
|
341
|
-
declare
|
|
300
|
+
declare enum JobStatus {
|
|
301
|
+
ACTIVE = "ACTIVE",
|
|
302
|
+
OPEN = "OPEN",
|
|
303
|
+
DRAFT = "DRAFT",
|
|
304
|
+
ONHOLD = "ONHOLD",
|
|
305
|
+
CLOSED = "CLOSED"
|
|
306
|
+
}
|
|
307
|
+
declare class Job extends BaseEntity {
|
|
308
|
+
jobId: string;
|
|
342
309
|
userId: number;
|
|
343
310
|
user: User;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
311
|
+
jobRole: string;
|
|
312
|
+
note: string;
|
|
313
|
+
openings: number;
|
|
314
|
+
location: JobLocation;
|
|
315
|
+
typeOfEmployment: TypeOfEmployment;
|
|
316
|
+
additionalComment: string;
|
|
317
|
+
description: string;
|
|
318
|
+
status: JobStatus;
|
|
350
319
|
}
|
|
351
320
|
|
|
352
321
|
declare enum AccountType {
|
|
@@ -384,8 +353,138 @@ declare class User extends BaseEntity {
|
|
|
384
353
|
resumeParserLogs: ResumeParserLog[];
|
|
385
354
|
freelancerProfile: FreelancerProfile;
|
|
386
355
|
companyProfile: CompanyProfile;
|
|
356
|
+
jobs: Job[];
|
|
357
|
+
}
|
|
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;
|
|
387
445
|
}
|
|
388
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
|
+
|
|
389
488
|
declare enum QuestionFor {
|
|
390
489
|
CLIENT = "CLIENT",
|
|
391
490
|
FREELANCER = "FREELANCER"
|
|
@@ -410,4 +509,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
410
509
|
isActive: boolean;
|
|
411
510
|
}
|
|
412
511
|
|
|
413
|
-
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, JobRMQAdapter, JobRoles, 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 };
|
|
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 };
|