@thejob/schema 1.0.9 → 1.0.11
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/cjs/interfaces.index.d.ts +844 -130
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.d.ts +58 -4
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.js +1 -15
- package/dist/cjs/job-application/job-application.schema.d.ts +123 -13
- package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/cjs/page/page.constant.d.ts +10 -0
- package/dist/cjs/page/page.constant.d.ts.map +1 -1
- package/dist/cjs/page/page.constant.js +12 -1
- package/dist/cjs/resume/resume.schema.d.ts +125 -15
- package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
- package/dist/cjs/user/education/education.schema.d.ts +60 -5
- package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
- package/dist/cjs/user/education/education.schema.js +5 -1
- package/dist/cjs/user/update-education.schema.d.ts +60 -5
- package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
- package/dist/cjs/user/update-work-experience.schema.d.ts +63 -8
- package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
- package/dist/cjs/user/user.schema.d.ts +123 -13
- package/dist/cjs/user/user.schema.d.ts.map +1 -1
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts +60 -5
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
- package/dist/cjs/user/work-experience/work-experience.schema.js +5 -1
- package/dist/esm/interfaces.index.d.ts +844 -130
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/job.schema.d.ts +58 -4
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job/job.schema.js +2 -16
- package/dist/esm/job-application/job-application.schema.d.ts +123 -13
- package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/esm/page/page.constant.d.ts +10 -0
- package/dist/esm/page/page.constant.d.ts.map +1 -1
- package/dist/esm/page/page.constant.js +11 -0
- package/dist/esm/resume/resume.schema.d.ts +125 -15
- package/dist/esm/resume/resume.schema.d.ts.map +1 -1
- package/dist/esm/user/education/education.schema.d.ts +60 -5
- package/dist/esm/user/education/education.schema.d.ts.map +1 -1
- package/dist/esm/user/education/education.schema.js +5 -1
- package/dist/esm/user/update-education.schema.d.ts +60 -5
- package/dist/esm/user/update-education.schema.d.ts.map +1 -1
- package/dist/esm/user/update-work-experience.schema.d.ts +63 -8
- package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
- package/dist/esm/user/user.schema.d.ts +123 -13
- package/dist/esm/user/user.schema.d.ts.map +1 -1
- package/dist/esm/user/work-experience/work-experience.schema.d.ts +60 -5
- package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
- package/dist/esm/user/work-experience/work-experience.schema.js +5 -1
- package/package.json +1 -1
|
@@ -135,6 +135,7 @@ export interface IJobSchema {
|
|
|
135
135
|
};
|
|
136
136
|
} | undefined;
|
|
137
137
|
externalApplyLink?: string | undefined;
|
|
138
|
+
isOwner?: boolean | undefined;
|
|
138
139
|
skills?: ({
|
|
139
140
|
logo?: string | undefined;
|
|
140
141
|
name: string;
|
|
@@ -162,12 +163,12 @@ export interface IJobSchema {
|
|
|
162
163
|
questionnaire?: {
|
|
163
164
|
description?: string | undefined;
|
|
164
165
|
label?: string | undefined;
|
|
166
|
+
isNew?: boolean | undefined;
|
|
165
167
|
isOptional?: boolean | undefined;
|
|
166
168
|
readonly?: boolean | undefined;
|
|
167
169
|
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
168
170
|
optionsFrom?: string | undefined;
|
|
169
171
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
170
|
-
isNew?: boolean | undefined;
|
|
171
172
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
172
173
|
default: boolean;
|
|
173
174
|
title: string;
|
|
@@ -185,7 +186,6 @@ export interface IJobSchema {
|
|
|
185
186
|
canCreateAlert?: boolean | undefined;
|
|
186
187
|
canDirectApply?: boolean | undefined;
|
|
187
188
|
hasApplied?: boolean | undefined;
|
|
188
|
-
isOwner?: boolean | undefined;
|
|
189
189
|
hasBookmarked?: boolean | undefined;
|
|
190
190
|
applicantCount?: number | undefined;
|
|
191
191
|
ratePerHour?: number | undefined;
|
|
@@ -211,15 +211,82 @@ export interface IJobSchema {
|
|
|
211
211
|
slug: string;
|
|
212
212
|
headline: string;
|
|
213
213
|
applicationReceivePreference: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ApplicationReceivePreference | undefined>;
|
|
214
|
+
locations: {
|
|
215
|
+
state?: string | undefined;
|
|
216
|
+
stateCode?: string | undefined;
|
|
217
|
+
address: string;
|
|
218
|
+
country: string;
|
|
219
|
+
countryCode: string;
|
|
220
|
+
city: string;
|
|
221
|
+
latLong: {
|
|
222
|
+
country?: (number | undefined)[] | undefined;
|
|
223
|
+
state?: number[] | undefined;
|
|
224
|
+
city?: number[] | undefined;
|
|
225
|
+
};
|
|
226
|
+
}[];
|
|
214
227
|
company: NonNullable<{
|
|
215
228
|
value: "others" | (string | undefined)[];
|
|
216
229
|
otherValue: string | string[];
|
|
217
|
-
} | {
|
|
230
|
+
} | Pick<{
|
|
231
|
+
updatedBy?: string | undefined;
|
|
232
|
+
updatedAt?: string | undefined;
|
|
233
|
+
headline?: string | undefined;
|
|
234
|
+
employeeCount?: string | undefined;
|
|
235
|
+
yearFounded?: string | undefined;
|
|
236
|
+
locations?: {
|
|
237
|
+
coverImage?: string | undefined;
|
|
238
|
+
name: string;
|
|
239
|
+
isHeadquarters: boolean;
|
|
240
|
+
contact: {
|
|
241
|
+
email?: string | undefined;
|
|
242
|
+
phone?: string | undefined;
|
|
243
|
+
address: string;
|
|
244
|
+
};
|
|
245
|
+
}[] | undefined;
|
|
246
|
+
contacts?: {
|
|
247
|
+
label?: string | undefined;
|
|
248
|
+
value: string;
|
|
249
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
250
|
+
isPrimary: boolean;
|
|
251
|
+
isVerified: boolean;
|
|
252
|
+
}[] | undefined;
|
|
253
|
+
verified?: Date | undefined;
|
|
254
|
+
socialAccounts?: {
|
|
255
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
256
|
+
isNew: boolean;
|
|
257
|
+
url: string;
|
|
258
|
+
}[] | undefined;
|
|
259
|
+
isOwner?: boolean | undefined;
|
|
260
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
261
|
+
perksAndBenefits?: {
|
|
262
|
+
category?: {
|
|
263
|
+
logo?: string | undefined;
|
|
264
|
+
name: string;
|
|
265
|
+
id: string;
|
|
266
|
+
} | null | undefined;
|
|
267
|
+
name: string;
|
|
268
|
+
description: string;
|
|
269
|
+
}[] | undefined;
|
|
218
270
|
name: string;
|
|
271
|
+
id: string;
|
|
272
|
+
logo: {
|
|
273
|
+
dark?: string | undefined;
|
|
274
|
+
light: string;
|
|
275
|
+
} | null;
|
|
276
|
+
_id: string;
|
|
277
|
+
shortId: string;
|
|
278
|
+
createdBy: string;
|
|
279
|
+
createdAt: string;
|
|
280
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
219
281
|
slug: string;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
282
|
+
about: string;
|
|
283
|
+
website: string;
|
|
284
|
+
categories: {
|
|
285
|
+
logo?: string | undefined;
|
|
286
|
+
name: string;
|
|
287
|
+
id: string;
|
|
288
|
+
}[];
|
|
289
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
223
290
|
designation: NonNullable<{
|
|
224
291
|
logo?: string | undefined;
|
|
225
292
|
name: string;
|
|
@@ -232,19 +299,6 @@ export interface IJobSchema {
|
|
|
232
299
|
workMode: string;
|
|
233
300
|
descriptionMarkdown: string;
|
|
234
301
|
descriptionHTML: string;
|
|
235
|
-
locations: {
|
|
236
|
-
state?: string | undefined;
|
|
237
|
-
stateCode?: string | undefined;
|
|
238
|
-
country: string;
|
|
239
|
-
countryCode: string;
|
|
240
|
-
city: string;
|
|
241
|
-
address: string;
|
|
242
|
-
latLong: {
|
|
243
|
-
country?: (number | undefined)[] | undefined;
|
|
244
|
-
state?: number[] | undefined;
|
|
245
|
-
city?: number[] | undefined;
|
|
246
|
-
};
|
|
247
|
-
}[];
|
|
248
302
|
educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
|
|
249
303
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
|
|
250
304
|
validity: {
|
|
@@ -268,12 +322,12 @@ export interface IobRoleTemplate {
|
|
|
268
322
|
questionnaire?: ({
|
|
269
323
|
description?: string | undefined;
|
|
270
324
|
label?: string | undefined;
|
|
325
|
+
isNew?: boolean | undefined;
|
|
271
326
|
isOptional?: boolean | undefined;
|
|
272
327
|
readonly?: boolean | undefined;
|
|
273
328
|
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
274
329
|
optionsFrom?: string | undefined;
|
|
275
330
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
276
|
-
isNew?: boolean | undefined;
|
|
277
331
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
278
332
|
default: boolean;
|
|
279
333
|
title: string;
|
|
@@ -296,6 +350,7 @@ export interface IJobApplicationSchema {
|
|
|
296
350
|
questionnaire?: {
|
|
297
351
|
description?: string | undefined;
|
|
298
352
|
label?: string | undefined;
|
|
353
|
+
isNew?: boolean | undefined;
|
|
299
354
|
isOptional?: boolean | undefined;
|
|
300
355
|
readonly?: boolean | undefined;
|
|
301
356
|
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
@@ -308,7 +363,6 @@ export interface IJobApplicationSchema {
|
|
|
308
363
|
value: "others" | (string | undefined)[];
|
|
309
364
|
otherValue: string | string[];
|
|
310
365
|
} | undefined;
|
|
311
|
-
isNew?: boolean | undefined;
|
|
312
366
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
313
367
|
default: boolean;
|
|
314
368
|
title: string;
|
|
@@ -332,9 +386,9 @@ export interface IJobApplicationSchema {
|
|
|
332
386
|
createdBy: string;
|
|
333
387
|
createdAt: string;
|
|
334
388
|
userId: string;
|
|
389
|
+
email: string;
|
|
335
390
|
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
336
391
|
status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus;
|
|
337
|
-
email: string;
|
|
338
392
|
emailVerified: NonNullable<boolean | undefined>;
|
|
339
393
|
mobile: {
|
|
340
394
|
number: string;
|
|
@@ -349,10 +403,10 @@ export interface IJobApplicationSchema {
|
|
|
349
403
|
location: {
|
|
350
404
|
state?: string | undefined;
|
|
351
405
|
stateCode?: string | undefined;
|
|
406
|
+
address: string;
|
|
352
407
|
country: string;
|
|
353
408
|
countryCode: string;
|
|
354
409
|
city: string;
|
|
355
|
-
address: string;
|
|
356
410
|
latLong: {
|
|
357
411
|
country?: (number | undefined)[] | undefined;
|
|
358
412
|
state?: number[] | undefined;
|
|
@@ -372,13 +426,68 @@ export interface IJobApplicationSchema {
|
|
|
372
426
|
recentWork: {
|
|
373
427
|
description?: string | undefined;
|
|
374
428
|
company: NonNullable<{
|
|
375
|
-
logo?: string | undefined;
|
|
376
|
-
name: string;
|
|
377
|
-
id: string;
|
|
378
|
-
} | {
|
|
379
429
|
value: "others" | (string | undefined)[];
|
|
380
430
|
otherValue: string | string[];
|
|
381
|
-
} |
|
|
431
|
+
} | Pick<{
|
|
432
|
+
updatedBy?: string | undefined;
|
|
433
|
+
updatedAt?: string | undefined;
|
|
434
|
+
headline?: string | undefined;
|
|
435
|
+
employeeCount?: string | undefined;
|
|
436
|
+
yearFounded?: string | undefined;
|
|
437
|
+
locations?: {
|
|
438
|
+
coverImage?: string | undefined;
|
|
439
|
+
name: string;
|
|
440
|
+
isHeadquarters: boolean;
|
|
441
|
+
contact: {
|
|
442
|
+
email?: string | undefined;
|
|
443
|
+
phone?: string | undefined;
|
|
444
|
+
address: string;
|
|
445
|
+
};
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
contacts?: {
|
|
448
|
+
label?: string | undefined;
|
|
449
|
+
value: string;
|
|
450
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
451
|
+
isPrimary: boolean;
|
|
452
|
+
isVerified: boolean;
|
|
453
|
+
}[] | undefined;
|
|
454
|
+
verified?: Date | undefined;
|
|
455
|
+
socialAccounts?: {
|
|
456
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
457
|
+
isNew: boolean;
|
|
458
|
+
url: string;
|
|
459
|
+
}[] | undefined;
|
|
460
|
+
isOwner?: boolean | undefined;
|
|
461
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
462
|
+
perksAndBenefits?: {
|
|
463
|
+
category?: {
|
|
464
|
+
logo?: string | undefined;
|
|
465
|
+
name: string;
|
|
466
|
+
id: string;
|
|
467
|
+
} | null | undefined;
|
|
468
|
+
name: string;
|
|
469
|
+
description: string;
|
|
470
|
+
}[] | undefined;
|
|
471
|
+
name: string;
|
|
472
|
+
id: string;
|
|
473
|
+
logo: {
|
|
474
|
+
dark?: string | undefined;
|
|
475
|
+
light: string;
|
|
476
|
+
} | null;
|
|
477
|
+
_id: string;
|
|
478
|
+
shortId: string;
|
|
479
|
+
createdBy: string;
|
|
480
|
+
createdAt: string;
|
|
481
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
482
|
+
slug: string;
|
|
483
|
+
about: string;
|
|
484
|
+
website: string;
|
|
485
|
+
categories: {
|
|
486
|
+
logo?: string | undefined;
|
|
487
|
+
name: string;
|
|
488
|
+
id: string;
|
|
489
|
+
}[];
|
|
490
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
382
491
|
designation: NonNullable<{
|
|
383
492
|
logo?: string | undefined;
|
|
384
493
|
name: string;
|
|
@@ -396,10 +505,10 @@ export interface IJobApplicationSchema {
|
|
|
396
505
|
location: {
|
|
397
506
|
state?: string | undefined;
|
|
398
507
|
stateCode?: string | undefined;
|
|
508
|
+
address: string;
|
|
399
509
|
country: string;
|
|
400
510
|
countryCode: string;
|
|
401
511
|
city: string;
|
|
402
|
-
address: string;
|
|
403
512
|
latLong: {
|
|
404
513
|
country?: (number | undefined)[] | undefined;
|
|
405
514
|
state?: number[] | undefined;
|
|
@@ -417,10 +526,10 @@ export interface IJobApplicationSchema {
|
|
|
417
526
|
location: {
|
|
418
527
|
state?: string | undefined;
|
|
419
528
|
stateCode?: string | undefined;
|
|
529
|
+
address: string;
|
|
420
530
|
country: string;
|
|
421
531
|
countryCode: string;
|
|
422
532
|
city: string;
|
|
423
|
-
address: string;
|
|
424
533
|
latLong: {
|
|
425
534
|
country?: (number | undefined)[] | undefined;
|
|
426
535
|
state?: number[] | undefined;
|
|
@@ -428,13 +537,68 @@ export interface IJobApplicationSchema {
|
|
|
428
537
|
};
|
|
429
538
|
};
|
|
430
539
|
institute: NonNullable<{
|
|
431
|
-
logo?: string | undefined;
|
|
432
|
-
name: string;
|
|
433
|
-
id: string;
|
|
434
|
-
} | {
|
|
435
540
|
value: "others" | (string | undefined)[];
|
|
436
541
|
otherValue: string | string[];
|
|
437
|
-
} |
|
|
542
|
+
} | Pick<{
|
|
543
|
+
updatedBy?: string | undefined;
|
|
544
|
+
updatedAt?: string | undefined;
|
|
545
|
+
headline?: string | undefined;
|
|
546
|
+
employeeCount?: string | undefined;
|
|
547
|
+
yearFounded?: string | undefined;
|
|
548
|
+
locations?: {
|
|
549
|
+
coverImage?: string | undefined;
|
|
550
|
+
name: string;
|
|
551
|
+
isHeadquarters: boolean;
|
|
552
|
+
contact: {
|
|
553
|
+
email?: string | undefined;
|
|
554
|
+
phone?: string | undefined;
|
|
555
|
+
address: string;
|
|
556
|
+
};
|
|
557
|
+
}[] | undefined;
|
|
558
|
+
contacts?: {
|
|
559
|
+
label?: string | undefined;
|
|
560
|
+
value: string;
|
|
561
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
562
|
+
isPrimary: boolean;
|
|
563
|
+
isVerified: boolean;
|
|
564
|
+
}[] | undefined;
|
|
565
|
+
verified?: Date | undefined;
|
|
566
|
+
socialAccounts?: {
|
|
567
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
568
|
+
isNew: boolean;
|
|
569
|
+
url: string;
|
|
570
|
+
}[] | undefined;
|
|
571
|
+
isOwner?: boolean | undefined;
|
|
572
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
573
|
+
perksAndBenefits?: {
|
|
574
|
+
category?: {
|
|
575
|
+
logo?: string | undefined;
|
|
576
|
+
name: string;
|
|
577
|
+
id: string;
|
|
578
|
+
} | null | undefined;
|
|
579
|
+
name: string;
|
|
580
|
+
description: string;
|
|
581
|
+
}[] | undefined;
|
|
582
|
+
name: string;
|
|
583
|
+
id: string;
|
|
584
|
+
logo: {
|
|
585
|
+
dark?: string | undefined;
|
|
586
|
+
light: string;
|
|
587
|
+
} | null;
|
|
588
|
+
_id: string;
|
|
589
|
+
shortId: string;
|
|
590
|
+
createdBy: string;
|
|
591
|
+
createdAt: string;
|
|
592
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
593
|
+
slug: string;
|
|
594
|
+
about: string;
|
|
595
|
+
website: string;
|
|
596
|
+
categories: {
|
|
597
|
+
logo?: string | undefined;
|
|
598
|
+
name: string;
|
|
599
|
+
id: string;
|
|
600
|
+
}[];
|
|
601
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
438
602
|
course: NonNullable<{
|
|
439
603
|
logo?: string | undefined;
|
|
440
604
|
name: string;
|
|
@@ -468,12 +632,12 @@ export interface IJobRoleTemplateSchema {
|
|
|
468
632
|
questionnaire?: {
|
|
469
633
|
description?: string | undefined;
|
|
470
634
|
label?: string | undefined;
|
|
635
|
+
isNew?: boolean | undefined;
|
|
471
636
|
isOptional?: boolean | undefined;
|
|
472
637
|
readonly?: boolean | undefined;
|
|
473
638
|
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
474
639
|
optionsFrom?: string | undefined;
|
|
475
640
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
476
|
-
isNew?: boolean | undefined;
|
|
477
641
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
478
642
|
default: boolean;
|
|
479
643
|
title: string;
|
|
@@ -505,10 +669,10 @@ export interface ILanguageSchema {
|
|
|
505
669
|
export interface ILocationSchema {
|
|
506
670
|
state?: string | undefined;
|
|
507
671
|
stateCode?: string | undefined;
|
|
672
|
+
address: string;
|
|
508
673
|
country: string;
|
|
509
674
|
countryCode: string;
|
|
510
675
|
city: string;
|
|
511
|
-
address: string;
|
|
512
676
|
latLong: {
|
|
513
677
|
country?: (number | undefined)[] | undefined;
|
|
514
678
|
state?: number[] | undefined;
|
|
@@ -519,6 +683,8 @@ export interface IPageSchema {
|
|
|
519
683
|
updatedBy?: string | undefined;
|
|
520
684
|
updatedAt?: string | undefined;
|
|
521
685
|
headline?: string | undefined;
|
|
686
|
+
employeeCount?: string | undefined;
|
|
687
|
+
yearFounded?: string | undefined;
|
|
522
688
|
locations?: {
|
|
523
689
|
coverImage?: string | undefined;
|
|
524
690
|
name: string;
|
|
@@ -529,9 +695,6 @@ export interface IPageSchema {
|
|
|
529
695
|
address: string;
|
|
530
696
|
};
|
|
531
697
|
}[] | undefined;
|
|
532
|
-
isOwner?: boolean | undefined;
|
|
533
|
-
employeeCount?: string | undefined;
|
|
534
|
-
yearFounded?: string | undefined;
|
|
535
698
|
contacts?: {
|
|
536
699
|
label?: string | undefined;
|
|
537
700
|
value: string;
|
|
@@ -545,6 +708,7 @@ export interface IPageSchema {
|
|
|
545
708
|
isNew: boolean;
|
|
546
709
|
url: string;
|
|
547
710
|
}[] | undefined;
|
|
711
|
+
isOwner?: boolean | undefined;
|
|
548
712
|
equalOpportunityEmployer?: boolean | undefined;
|
|
549
713
|
perksAndBenefits?: {
|
|
550
714
|
category?: {
|
|
@@ -595,12 +759,12 @@ export interface IMobileNumberSchema {
|
|
|
595
759
|
export interface IChoiceQuestionSchema {
|
|
596
760
|
description?: string | undefined;
|
|
597
761
|
label?: string | undefined;
|
|
762
|
+
isNew?: boolean | undefined;
|
|
598
763
|
isOptional?: boolean | undefined;
|
|
599
764
|
readonly?: boolean | undefined;
|
|
600
765
|
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
601
766
|
optionsFrom?: string | undefined;
|
|
602
767
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
603
|
-
isNew?: boolean | undefined;
|
|
604
768
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
605
769
|
default: boolean;
|
|
606
770
|
title: string;
|
|
@@ -617,8 +781,9 @@ export interface IChoiceQuestionSchema {
|
|
|
617
781
|
export interface IInputQuestionSchema {
|
|
618
782
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
619
783
|
description?: string | undefined;
|
|
620
|
-
default: boolean;
|
|
621
784
|
label?: string | undefined;
|
|
785
|
+
isNew?: boolean | undefined;
|
|
786
|
+
default: boolean;
|
|
622
787
|
title: string;
|
|
623
788
|
isOptional?: boolean | undefined;
|
|
624
789
|
readonly?: boolean | undefined;
|
|
@@ -626,7 +791,6 @@ export interface IInputQuestionSchema {
|
|
|
626
791
|
optionsFrom?: string | undefined;
|
|
627
792
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
628
793
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
629
|
-
isNew?: boolean | undefined;
|
|
630
794
|
}
|
|
631
795
|
export interface IMixedValue {
|
|
632
796
|
toString: (() => string) | ((radix?: number | undefined) => string) | (() => string) | (() => string);
|
|
@@ -642,8 +806,9 @@ export interface IMixedValue {
|
|
|
642
806
|
export interface IQuestionSchema {
|
|
643
807
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
644
808
|
description?: string | undefined;
|
|
645
|
-
default: boolean;
|
|
646
809
|
label?: string | undefined;
|
|
810
|
+
isNew?: boolean | undefined;
|
|
811
|
+
default: boolean;
|
|
647
812
|
title: string;
|
|
648
813
|
isOptional?: boolean | undefined;
|
|
649
814
|
readonly?: boolean | undefined;
|
|
@@ -651,7 +816,6 @@ export interface IQuestionSchema {
|
|
|
651
816
|
optionsFrom?: string | undefined;
|
|
652
817
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
653
818
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
654
|
-
isNew?: boolean | undefined;
|
|
655
819
|
options: (string | {
|
|
656
820
|
logo?: string | undefined;
|
|
657
821
|
name: string;
|
|
@@ -664,12 +828,12 @@ export interface IQuestionSchema {
|
|
|
664
828
|
export interface IReadAndAcknowledgeQuestionSchema {
|
|
665
829
|
description?: string | undefined;
|
|
666
830
|
label?: string | undefined;
|
|
831
|
+
isNew?: boolean | undefined;
|
|
667
832
|
isOptional?: boolean | undefined;
|
|
668
833
|
readonly?: boolean | undefined;
|
|
669
834
|
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
670
835
|
optionsFrom?: string | undefined;
|
|
671
836
|
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
672
|
-
isNew?: boolean | undefined;
|
|
673
837
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
674
838
|
default: boolean;
|
|
675
839
|
title: string;
|
|
@@ -752,9 +916,9 @@ export interface IResumeAdditionalInfoSchema {
|
|
|
752
916
|
export interface IResumeReferenceSectionSchema {
|
|
753
917
|
profileUrl?: string | undefined;
|
|
754
918
|
name: string;
|
|
919
|
+
email: string;
|
|
755
920
|
company: string;
|
|
756
921
|
designation: string;
|
|
757
|
-
email: string;
|
|
758
922
|
mobile: string;
|
|
759
923
|
workedDirectly: boolean;
|
|
760
924
|
}
|
|
@@ -829,9 +993,9 @@ export interface IResumeSectionMap {
|
|
|
829
993
|
reference: {
|
|
830
994
|
profileUrl?: string | undefined;
|
|
831
995
|
name: string;
|
|
996
|
+
email: string;
|
|
832
997
|
company: string;
|
|
833
998
|
designation: string;
|
|
834
|
-
email: string;
|
|
835
999
|
mobile: string;
|
|
836
1000
|
workedDirectly: boolean;
|
|
837
1001
|
};
|
|
@@ -898,9 +1062,9 @@ export interface IResumeSectionSchema {
|
|
|
898
1062
|
} | {
|
|
899
1063
|
profileUrl?: string | undefined;
|
|
900
1064
|
name: string;
|
|
1065
|
+
email: string;
|
|
901
1066
|
company: string;
|
|
902
1067
|
designation: string;
|
|
903
|
-
email: string;
|
|
904
1068
|
mobile: string;
|
|
905
1069
|
workedDirectly: boolean;
|
|
906
1070
|
})[];
|
|
@@ -931,6 +1095,12 @@ export interface INewResumePromptSchema {
|
|
|
931
1095
|
first: string;
|
|
932
1096
|
last: string;
|
|
933
1097
|
};
|
|
1098
|
+
email: string;
|
|
1099
|
+
socialAccounts: {
|
|
1100
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1101
|
+
isNew: boolean;
|
|
1102
|
+
url: string;
|
|
1103
|
+
}[];
|
|
934
1104
|
skills: {
|
|
935
1105
|
proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
|
|
936
1106
|
lastUsed: string;
|
|
@@ -945,7 +1115,6 @@ export interface INewResumePromptSchema {
|
|
|
945
1115
|
}[];
|
|
946
1116
|
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
947
1117
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserStatus | undefined>;
|
|
948
|
-
email: string;
|
|
949
1118
|
mobile: {
|
|
950
1119
|
number: string;
|
|
951
1120
|
country: {
|
|
@@ -958,31 +1127,81 @@ export interface INewResumePromptSchema {
|
|
|
958
1127
|
location: {
|
|
959
1128
|
state?: string | undefined;
|
|
960
1129
|
stateCode?: string | undefined;
|
|
1130
|
+
address: string;
|
|
961
1131
|
country: string;
|
|
962
1132
|
countryCode: string;
|
|
963
1133
|
city: string;
|
|
964
|
-
address: string;
|
|
965
1134
|
latLong: {
|
|
966
1135
|
country?: (number | undefined)[] | undefined;
|
|
967
1136
|
state?: number[] | undefined;
|
|
968
1137
|
city?: number[] | undefined;
|
|
969
1138
|
};
|
|
970
1139
|
};
|
|
971
|
-
socialAccounts: {
|
|
972
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
973
|
-
isNew: boolean;
|
|
974
|
-
url: string;
|
|
975
|
-
}[];
|
|
976
1140
|
workExperiences: {
|
|
977
1141
|
description?: string | undefined;
|
|
978
1142
|
company: NonNullable<{
|
|
979
|
-
logo?: string | undefined;
|
|
980
|
-
name: string;
|
|
981
|
-
id: string;
|
|
982
|
-
} | {
|
|
983
1143
|
value: "others" | (string | undefined)[];
|
|
984
1144
|
otherValue: string | string[];
|
|
985
|
-
} |
|
|
1145
|
+
} | Pick<{
|
|
1146
|
+
updatedBy?: string | undefined;
|
|
1147
|
+
updatedAt?: string | undefined;
|
|
1148
|
+
headline?: string | undefined;
|
|
1149
|
+
employeeCount?: string | undefined;
|
|
1150
|
+
yearFounded?: string | undefined;
|
|
1151
|
+
locations?: {
|
|
1152
|
+
coverImage?: string | undefined;
|
|
1153
|
+
name: string;
|
|
1154
|
+
isHeadquarters: boolean;
|
|
1155
|
+
contact: {
|
|
1156
|
+
email?: string | undefined;
|
|
1157
|
+
phone?: string | undefined;
|
|
1158
|
+
address: string;
|
|
1159
|
+
};
|
|
1160
|
+
}[] | undefined;
|
|
1161
|
+
contacts?: {
|
|
1162
|
+
label?: string | undefined;
|
|
1163
|
+
value: string;
|
|
1164
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1165
|
+
isPrimary: boolean;
|
|
1166
|
+
isVerified: boolean;
|
|
1167
|
+
}[] | undefined;
|
|
1168
|
+
verified?: Date | undefined;
|
|
1169
|
+
socialAccounts?: {
|
|
1170
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1171
|
+
isNew: boolean;
|
|
1172
|
+
url: string;
|
|
1173
|
+
}[] | undefined;
|
|
1174
|
+
isOwner?: boolean | undefined;
|
|
1175
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
1176
|
+
perksAndBenefits?: {
|
|
1177
|
+
category?: {
|
|
1178
|
+
logo?: string | undefined;
|
|
1179
|
+
name: string;
|
|
1180
|
+
id: string;
|
|
1181
|
+
} | null | undefined;
|
|
1182
|
+
name: string;
|
|
1183
|
+
description: string;
|
|
1184
|
+
}[] | undefined;
|
|
1185
|
+
name: string;
|
|
1186
|
+
id: string;
|
|
1187
|
+
logo: {
|
|
1188
|
+
dark?: string | undefined;
|
|
1189
|
+
light: string;
|
|
1190
|
+
} | null;
|
|
1191
|
+
_id: string;
|
|
1192
|
+
shortId: string;
|
|
1193
|
+
createdBy: string;
|
|
1194
|
+
createdAt: string;
|
|
1195
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1196
|
+
slug: string;
|
|
1197
|
+
about: string;
|
|
1198
|
+
website: string;
|
|
1199
|
+
categories: {
|
|
1200
|
+
logo?: string | undefined;
|
|
1201
|
+
name: string;
|
|
1202
|
+
id: string;
|
|
1203
|
+
}[];
|
|
1204
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
986
1205
|
designation: NonNullable<{
|
|
987
1206
|
logo?: string | undefined;
|
|
988
1207
|
name: string;
|
|
@@ -1000,10 +1219,10 @@ export interface INewResumePromptSchema {
|
|
|
1000
1219
|
location: {
|
|
1001
1220
|
state?: string | undefined;
|
|
1002
1221
|
stateCode?: string | undefined;
|
|
1222
|
+
address: string;
|
|
1003
1223
|
country: string;
|
|
1004
1224
|
countryCode: string;
|
|
1005
1225
|
city: string;
|
|
1006
|
-
address: string;
|
|
1007
1226
|
latLong: {
|
|
1008
1227
|
country?: (number | undefined)[] | undefined;
|
|
1009
1228
|
state?: number[] | undefined;
|
|
@@ -1021,10 +1240,10 @@ export interface INewResumePromptSchema {
|
|
|
1021
1240
|
location: {
|
|
1022
1241
|
state?: string | undefined;
|
|
1023
1242
|
stateCode?: string | undefined;
|
|
1243
|
+
address: string;
|
|
1024
1244
|
country: string;
|
|
1025
1245
|
countryCode: string;
|
|
1026
1246
|
city: string;
|
|
1027
|
-
address: string;
|
|
1028
1247
|
latLong: {
|
|
1029
1248
|
country?: (number | undefined)[] | undefined;
|
|
1030
1249
|
state?: number[] | undefined;
|
|
@@ -1032,13 +1251,68 @@ export interface INewResumePromptSchema {
|
|
|
1032
1251
|
};
|
|
1033
1252
|
};
|
|
1034
1253
|
institute: NonNullable<{
|
|
1035
|
-
logo?: string | undefined;
|
|
1036
|
-
name: string;
|
|
1037
|
-
id: string;
|
|
1038
|
-
} | {
|
|
1039
1254
|
value: "others" | (string | undefined)[];
|
|
1040
1255
|
otherValue: string | string[];
|
|
1041
|
-
} |
|
|
1256
|
+
} | Pick<{
|
|
1257
|
+
updatedBy?: string | undefined;
|
|
1258
|
+
updatedAt?: string | undefined;
|
|
1259
|
+
headline?: string | undefined;
|
|
1260
|
+
employeeCount?: string | undefined;
|
|
1261
|
+
yearFounded?: string | undefined;
|
|
1262
|
+
locations?: {
|
|
1263
|
+
coverImage?: string | undefined;
|
|
1264
|
+
name: string;
|
|
1265
|
+
isHeadquarters: boolean;
|
|
1266
|
+
contact: {
|
|
1267
|
+
email?: string | undefined;
|
|
1268
|
+
phone?: string | undefined;
|
|
1269
|
+
address: string;
|
|
1270
|
+
};
|
|
1271
|
+
}[] | undefined;
|
|
1272
|
+
contacts?: {
|
|
1273
|
+
label?: string | undefined;
|
|
1274
|
+
value: string;
|
|
1275
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1276
|
+
isPrimary: boolean;
|
|
1277
|
+
isVerified: boolean;
|
|
1278
|
+
}[] | undefined;
|
|
1279
|
+
verified?: Date | undefined;
|
|
1280
|
+
socialAccounts?: {
|
|
1281
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1282
|
+
isNew: boolean;
|
|
1283
|
+
url: string;
|
|
1284
|
+
}[] | undefined;
|
|
1285
|
+
isOwner?: boolean | undefined;
|
|
1286
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
1287
|
+
perksAndBenefits?: {
|
|
1288
|
+
category?: {
|
|
1289
|
+
logo?: string | undefined;
|
|
1290
|
+
name: string;
|
|
1291
|
+
id: string;
|
|
1292
|
+
} | null | undefined;
|
|
1293
|
+
name: string;
|
|
1294
|
+
description: string;
|
|
1295
|
+
}[] | undefined;
|
|
1296
|
+
name: string;
|
|
1297
|
+
id: string;
|
|
1298
|
+
logo: {
|
|
1299
|
+
dark?: string | undefined;
|
|
1300
|
+
light: string;
|
|
1301
|
+
} | null;
|
|
1302
|
+
_id: string;
|
|
1303
|
+
shortId: string;
|
|
1304
|
+
createdBy: string;
|
|
1305
|
+
createdAt: string;
|
|
1306
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1307
|
+
slug: string;
|
|
1308
|
+
about: string;
|
|
1309
|
+
website: string;
|
|
1310
|
+
categories: {
|
|
1311
|
+
logo?: string | undefined;
|
|
1312
|
+
name: string;
|
|
1313
|
+
id: string;
|
|
1314
|
+
}[];
|
|
1315
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1042
1316
|
course: NonNullable<{
|
|
1043
1317
|
logo?: string | undefined;
|
|
1044
1318
|
name: string;
|
|
@@ -1098,8 +1372,8 @@ export interface INewResumePromptSchema {
|
|
|
1098
1372
|
}[];
|
|
1099
1373
|
additionalInfo: {
|
|
1100
1374
|
description: string;
|
|
1101
|
-
title: string;
|
|
1102
1375
|
isNew: boolean;
|
|
1376
|
+
title: string;
|
|
1103
1377
|
}[];
|
|
1104
1378
|
roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
|
|
1105
1379
|
};
|
|
@@ -1134,8 +1408,8 @@ export interface ICreateUserSchema {
|
|
|
1134
1408
|
export interface IUpdateUserAdditionalInfoSchema {
|
|
1135
1409
|
additionalInfo: {
|
|
1136
1410
|
description: string;
|
|
1137
|
-
title: string;
|
|
1138
1411
|
isNew: boolean;
|
|
1412
|
+
title: string;
|
|
1139
1413
|
}[];
|
|
1140
1414
|
}
|
|
1141
1415
|
export interface IUpdateCertificationsSchema {
|
|
@@ -1162,10 +1436,10 @@ export interface IUpdateEducationsSchema {
|
|
|
1162
1436
|
location: {
|
|
1163
1437
|
state?: string | undefined;
|
|
1164
1438
|
stateCode?: string | undefined;
|
|
1439
|
+
address: string;
|
|
1165
1440
|
country: string;
|
|
1166
1441
|
countryCode: string;
|
|
1167
1442
|
city: string;
|
|
1168
|
-
address: string;
|
|
1169
1443
|
latLong: {
|
|
1170
1444
|
country?: (number | undefined)[] | undefined;
|
|
1171
1445
|
state?: number[] | undefined;
|
|
@@ -1173,13 +1447,68 @@ export interface IUpdateEducationsSchema {
|
|
|
1173
1447
|
};
|
|
1174
1448
|
};
|
|
1175
1449
|
institute: NonNullable<{
|
|
1176
|
-
logo?: string | undefined;
|
|
1177
|
-
name: string;
|
|
1178
|
-
id: string;
|
|
1179
|
-
} | {
|
|
1180
1450
|
value: "others" | (string | undefined)[];
|
|
1181
1451
|
otherValue: string | string[];
|
|
1182
|
-
} |
|
|
1452
|
+
} | Pick<{
|
|
1453
|
+
updatedBy?: string | undefined;
|
|
1454
|
+
updatedAt?: string | undefined;
|
|
1455
|
+
headline?: string | undefined;
|
|
1456
|
+
employeeCount?: string | undefined;
|
|
1457
|
+
yearFounded?: string | undefined;
|
|
1458
|
+
locations?: {
|
|
1459
|
+
coverImage?: string | undefined;
|
|
1460
|
+
name: string;
|
|
1461
|
+
isHeadquarters: boolean;
|
|
1462
|
+
contact: {
|
|
1463
|
+
email?: string | undefined;
|
|
1464
|
+
phone?: string | undefined;
|
|
1465
|
+
address: string;
|
|
1466
|
+
};
|
|
1467
|
+
}[] | undefined;
|
|
1468
|
+
contacts?: {
|
|
1469
|
+
label?: string | undefined;
|
|
1470
|
+
value: string;
|
|
1471
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1472
|
+
isPrimary: boolean;
|
|
1473
|
+
isVerified: boolean;
|
|
1474
|
+
}[] | undefined;
|
|
1475
|
+
verified?: Date | undefined;
|
|
1476
|
+
socialAccounts?: {
|
|
1477
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1478
|
+
isNew: boolean;
|
|
1479
|
+
url: string;
|
|
1480
|
+
}[] | undefined;
|
|
1481
|
+
isOwner?: boolean | undefined;
|
|
1482
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
1483
|
+
perksAndBenefits?: {
|
|
1484
|
+
category?: {
|
|
1485
|
+
logo?: string | undefined;
|
|
1486
|
+
name: string;
|
|
1487
|
+
id: string;
|
|
1488
|
+
} | null | undefined;
|
|
1489
|
+
name: string;
|
|
1490
|
+
description: string;
|
|
1491
|
+
}[] | undefined;
|
|
1492
|
+
name: string;
|
|
1493
|
+
id: string;
|
|
1494
|
+
logo: {
|
|
1495
|
+
dark?: string | undefined;
|
|
1496
|
+
light: string;
|
|
1497
|
+
} | null;
|
|
1498
|
+
_id: string;
|
|
1499
|
+
shortId: string;
|
|
1500
|
+
createdBy: string;
|
|
1501
|
+
createdAt: string;
|
|
1502
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1503
|
+
slug: string;
|
|
1504
|
+
about: string;
|
|
1505
|
+
website: string;
|
|
1506
|
+
categories: {
|
|
1507
|
+
logo?: string | undefined;
|
|
1508
|
+
name: string;
|
|
1509
|
+
id: string;
|
|
1510
|
+
}[];
|
|
1511
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1183
1512
|
course: NonNullable<{
|
|
1184
1513
|
logo?: string | undefined;
|
|
1185
1514
|
name: string;
|
|
@@ -1268,13 +1597,68 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1268
1597
|
workExperiences: {
|
|
1269
1598
|
description?: string | undefined;
|
|
1270
1599
|
company: NonNullable<{
|
|
1271
|
-
logo?: string | undefined;
|
|
1272
|
-
name: string;
|
|
1273
|
-
id: string;
|
|
1274
|
-
} | {
|
|
1275
1600
|
value: "others" | (string | undefined)[];
|
|
1276
1601
|
otherValue: string | string[];
|
|
1277
|
-
} |
|
|
1602
|
+
} | Pick<{
|
|
1603
|
+
updatedBy?: string | undefined;
|
|
1604
|
+
updatedAt?: string | undefined;
|
|
1605
|
+
headline?: string | undefined;
|
|
1606
|
+
employeeCount?: string | undefined;
|
|
1607
|
+
yearFounded?: string | undefined;
|
|
1608
|
+
locations?: {
|
|
1609
|
+
coverImage?: string | undefined;
|
|
1610
|
+
name: string;
|
|
1611
|
+
isHeadquarters: boolean;
|
|
1612
|
+
contact: {
|
|
1613
|
+
email?: string | undefined;
|
|
1614
|
+
phone?: string | undefined;
|
|
1615
|
+
address: string;
|
|
1616
|
+
};
|
|
1617
|
+
}[] | undefined;
|
|
1618
|
+
contacts?: {
|
|
1619
|
+
label?: string | undefined;
|
|
1620
|
+
value: string;
|
|
1621
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1622
|
+
isPrimary: boolean;
|
|
1623
|
+
isVerified: boolean;
|
|
1624
|
+
}[] | undefined;
|
|
1625
|
+
verified?: Date | undefined;
|
|
1626
|
+
socialAccounts?: {
|
|
1627
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1628
|
+
isNew: boolean;
|
|
1629
|
+
url: string;
|
|
1630
|
+
}[] | undefined;
|
|
1631
|
+
isOwner?: boolean | undefined;
|
|
1632
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
1633
|
+
perksAndBenefits?: {
|
|
1634
|
+
category?: {
|
|
1635
|
+
logo?: string | undefined;
|
|
1636
|
+
name: string;
|
|
1637
|
+
id: string;
|
|
1638
|
+
} | null | undefined;
|
|
1639
|
+
name: string;
|
|
1640
|
+
description: string;
|
|
1641
|
+
}[] | undefined;
|
|
1642
|
+
name: string;
|
|
1643
|
+
id: string;
|
|
1644
|
+
logo: {
|
|
1645
|
+
dark?: string | undefined;
|
|
1646
|
+
light: string;
|
|
1647
|
+
} | null;
|
|
1648
|
+
_id: string;
|
|
1649
|
+
shortId: string;
|
|
1650
|
+
createdBy: string;
|
|
1651
|
+
createdAt: string;
|
|
1652
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1653
|
+
slug: string;
|
|
1654
|
+
about: string;
|
|
1655
|
+
website: string;
|
|
1656
|
+
categories: {
|
|
1657
|
+
logo?: string | undefined;
|
|
1658
|
+
name: string;
|
|
1659
|
+
id: string;
|
|
1660
|
+
}[];
|
|
1661
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1278
1662
|
designation: NonNullable<{
|
|
1279
1663
|
logo?: string | undefined;
|
|
1280
1664
|
name: string;
|
|
@@ -1292,10 +1676,10 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1292
1676
|
location: {
|
|
1293
1677
|
state?: string | undefined;
|
|
1294
1678
|
stateCode?: string | undefined;
|
|
1679
|
+
address: string;
|
|
1295
1680
|
country: string;
|
|
1296
1681
|
countryCode: string;
|
|
1297
1682
|
city: string;
|
|
1298
|
-
address: string;
|
|
1299
1683
|
latLong: {
|
|
1300
1684
|
country?: (number | undefined)[] | undefined;
|
|
1301
1685
|
state?: number[] | undefined;
|
|
@@ -1371,6 +1755,12 @@ export interface IUserSchema {
|
|
|
1371
1755
|
first: string;
|
|
1372
1756
|
last: string;
|
|
1373
1757
|
};
|
|
1758
|
+
email: string;
|
|
1759
|
+
socialAccounts: {
|
|
1760
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1761
|
+
isNew: boolean;
|
|
1762
|
+
url: string;
|
|
1763
|
+
}[];
|
|
1374
1764
|
skills: {
|
|
1375
1765
|
proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
|
|
1376
1766
|
lastUsed: string;
|
|
@@ -1385,7 +1775,6 @@ export interface IUserSchema {
|
|
|
1385
1775
|
}[];
|
|
1386
1776
|
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
1387
1777
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserStatus | undefined>;
|
|
1388
|
-
email: string;
|
|
1389
1778
|
mobile: {
|
|
1390
1779
|
number: string;
|
|
1391
1780
|
country: {
|
|
@@ -1398,31 +1787,81 @@ export interface IUserSchema {
|
|
|
1398
1787
|
location: {
|
|
1399
1788
|
state?: string | undefined;
|
|
1400
1789
|
stateCode?: string | undefined;
|
|
1790
|
+
address: string;
|
|
1401
1791
|
country: string;
|
|
1402
1792
|
countryCode: string;
|
|
1403
1793
|
city: string;
|
|
1404
|
-
address: string;
|
|
1405
1794
|
latLong: {
|
|
1406
1795
|
country?: (number | undefined)[] | undefined;
|
|
1407
1796
|
state?: number[] | undefined;
|
|
1408
1797
|
city?: number[] | undefined;
|
|
1409
1798
|
};
|
|
1410
1799
|
};
|
|
1411
|
-
socialAccounts: {
|
|
1412
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1413
|
-
isNew: boolean;
|
|
1414
|
-
url: string;
|
|
1415
|
-
}[];
|
|
1416
1800
|
workExperiences: {
|
|
1417
1801
|
description?: string | undefined;
|
|
1418
1802
|
company: NonNullable<{
|
|
1419
|
-
logo?: string | undefined;
|
|
1420
|
-
name: string;
|
|
1421
|
-
id: string;
|
|
1422
|
-
} | {
|
|
1423
1803
|
value: "others" | (string | undefined)[];
|
|
1424
1804
|
otherValue: string | string[];
|
|
1425
|
-
} |
|
|
1805
|
+
} | Pick<{
|
|
1806
|
+
updatedBy?: string | undefined;
|
|
1807
|
+
updatedAt?: string | undefined;
|
|
1808
|
+
headline?: string | undefined;
|
|
1809
|
+
employeeCount?: string | undefined;
|
|
1810
|
+
yearFounded?: string | undefined;
|
|
1811
|
+
locations?: {
|
|
1812
|
+
coverImage?: string | undefined;
|
|
1813
|
+
name: string;
|
|
1814
|
+
isHeadquarters: boolean;
|
|
1815
|
+
contact: {
|
|
1816
|
+
email?: string | undefined;
|
|
1817
|
+
phone?: string | undefined;
|
|
1818
|
+
address: string;
|
|
1819
|
+
};
|
|
1820
|
+
}[] | undefined;
|
|
1821
|
+
contacts?: {
|
|
1822
|
+
label?: string | undefined;
|
|
1823
|
+
value: string;
|
|
1824
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1825
|
+
isPrimary: boolean;
|
|
1826
|
+
isVerified: boolean;
|
|
1827
|
+
}[] | undefined;
|
|
1828
|
+
verified?: Date | undefined;
|
|
1829
|
+
socialAccounts?: {
|
|
1830
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1831
|
+
isNew: boolean;
|
|
1832
|
+
url: string;
|
|
1833
|
+
}[] | undefined;
|
|
1834
|
+
isOwner?: boolean | undefined;
|
|
1835
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
1836
|
+
perksAndBenefits?: {
|
|
1837
|
+
category?: {
|
|
1838
|
+
logo?: string | undefined;
|
|
1839
|
+
name: string;
|
|
1840
|
+
id: string;
|
|
1841
|
+
} | null | undefined;
|
|
1842
|
+
name: string;
|
|
1843
|
+
description: string;
|
|
1844
|
+
}[] | undefined;
|
|
1845
|
+
name: string;
|
|
1846
|
+
id: string;
|
|
1847
|
+
logo: {
|
|
1848
|
+
dark?: string | undefined;
|
|
1849
|
+
light: string;
|
|
1850
|
+
} | null;
|
|
1851
|
+
_id: string;
|
|
1852
|
+
shortId: string;
|
|
1853
|
+
createdBy: string;
|
|
1854
|
+
createdAt: string;
|
|
1855
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1856
|
+
slug: string;
|
|
1857
|
+
about: string;
|
|
1858
|
+
website: string;
|
|
1859
|
+
categories: {
|
|
1860
|
+
logo?: string | undefined;
|
|
1861
|
+
name: string;
|
|
1862
|
+
id: string;
|
|
1863
|
+
}[];
|
|
1864
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1426
1865
|
designation: NonNullable<{
|
|
1427
1866
|
logo?: string | undefined;
|
|
1428
1867
|
name: string;
|
|
@@ -1440,10 +1879,10 @@ export interface IUserSchema {
|
|
|
1440
1879
|
location: {
|
|
1441
1880
|
state?: string | undefined;
|
|
1442
1881
|
stateCode?: string | undefined;
|
|
1882
|
+
address: string;
|
|
1443
1883
|
country: string;
|
|
1444
1884
|
countryCode: string;
|
|
1445
1885
|
city: string;
|
|
1446
|
-
address: string;
|
|
1447
1886
|
latLong: {
|
|
1448
1887
|
country?: (number | undefined)[] | undefined;
|
|
1449
1888
|
state?: number[] | undefined;
|
|
@@ -1461,10 +1900,10 @@ export interface IUserSchema {
|
|
|
1461
1900
|
location: {
|
|
1462
1901
|
state?: string | undefined;
|
|
1463
1902
|
stateCode?: string | undefined;
|
|
1903
|
+
address: string;
|
|
1464
1904
|
country: string;
|
|
1465
1905
|
countryCode: string;
|
|
1466
1906
|
city: string;
|
|
1467
|
-
address: string;
|
|
1468
1907
|
latLong: {
|
|
1469
1908
|
country?: (number | undefined)[] | undefined;
|
|
1470
1909
|
state?: number[] | undefined;
|
|
@@ -1472,13 +1911,68 @@ export interface IUserSchema {
|
|
|
1472
1911
|
};
|
|
1473
1912
|
};
|
|
1474
1913
|
institute: NonNullable<{
|
|
1475
|
-
logo?: string | undefined;
|
|
1476
|
-
name: string;
|
|
1477
|
-
id: string;
|
|
1478
|
-
} | {
|
|
1479
1914
|
value: "others" | (string | undefined)[];
|
|
1480
1915
|
otherValue: string | string[];
|
|
1481
|
-
} |
|
|
1916
|
+
} | Pick<{
|
|
1917
|
+
updatedBy?: string | undefined;
|
|
1918
|
+
updatedAt?: string | undefined;
|
|
1919
|
+
headline?: string | undefined;
|
|
1920
|
+
employeeCount?: string | undefined;
|
|
1921
|
+
yearFounded?: string | undefined;
|
|
1922
|
+
locations?: {
|
|
1923
|
+
coverImage?: string | undefined;
|
|
1924
|
+
name: string;
|
|
1925
|
+
isHeadquarters: boolean;
|
|
1926
|
+
contact: {
|
|
1927
|
+
email?: string | undefined;
|
|
1928
|
+
phone?: string | undefined;
|
|
1929
|
+
address: string;
|
|
1930
|
+
};
|
|
1931
|
+
}[] | undefined;
|
|
1932
|
+
contacts?: {
|
|
1933
|
+
label?: string | undefined;
|
|
1934
|
+
value: string;
|
|
1935
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1936
|
+
isPrimary: boolean;
|
|
1937
|
+
isVerified: boolean;
|
|
1938
|
+
}[] | undefined;
|
|
1939
|
+
verified?: Date | undefined;
|
|
1940
|
+
socialAccounts?: {
|
|
1941
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1942
|
+
isNew: boolean;
|
|
1943
|
+
url: string;
|
|
1944
|
+
}[] | undefined;
|
|
1945
|
+
isOwner?: boolean | undefined;
|
|
1946
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
1947
|
+
perksAndBenefits?: {
|
|
1948
|
+
category?: {
|
|
1949
|
+
logo?: string | undefined;
|
|
1950
|
+
name: string;
|
|
1951
|
+
id: string;
|
|
1952
|
+
} | null | undefined;
|
|
1953
|
+
name: string;
|
|
1954
|
+
description: string;
|
|
1955
|
+
}[] | undefined;
|
|
1956
|
+
name: string;
|
|
1957
|
+
id: string;
|
|
1958
|
+
logo: {
|
|
1959
|
+
dark?: string | undefined;
|
|
1960
|
+
light: string;
|
|
1961
|
+
} | null;
|
|
1962
|
+
_id: string;
|
|
1963
|
+
shortId: string;
|
|
1964
|
+
createdBy: string;
|
|
1965
|
+
createdAt: string;
|
|
1966
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1967
|
+
slug: string;
|
|
1968
|
+
about: string;
|
|
1969
|
+
website: string;
|
|
1970
|
+
categories: {
|
|
1971
|
+
logo?: string | undefined;
|
|
1972
|
+
name: string;
|
|
1973
|
+
id: string;
|
|
1974
|
+
}[];
|
|
1975
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1482
1976
|
course: NonNullable<{
|
|
1483
1977
|
logo?: string | undefined;
|
|
1484
1978
|
name: string;
|
|
@@ -1538,8 +2032,8 @@ export interface IUserSchema {
|
|
|
1538
2032
|
}[];
|
|
1539
2033
|
additionalInfo: {
|
|
1540
2034
|
description: string;
|
|
1541
|
-
title: string;
|
|
1542
2035
|
isNew: boolean;
|
|
2036
|
+
title: string;
|
|
1543
2037
|
}[];
|
|
1544
2038
|
roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
|
|
1545
2039
|
}
|
|
@@ -1553,10 +2047,10 @@ export interface IserProfileOverview {
|
|
|
1553
2047
|
location?: {
|
|
1554
2048
|
state?: string | undefined;
|
|
1555
2049
|
stateCode?: string | undefined;
|
|
2050
|
+
address: string;
|
|
1556
2051
|
country: string;
|
|
1557
2052
|
countryCode: string;
|
|
1558
2053
|
city: string;
|
|
1559
|
-
address: string;
|
|
1560
2054
|
latLong: {
|
|
1561
2055
|
country?: (number | undefined)[] | undefined;
|
|
1562
2056
|
state?: number[] | undefined;
|
|
@@ -1576,13 +2070,68 @@ export interface IserProfileOverview {
|
|
|
1576
2070
|
recentWork?: {
|
|
1577
2071
|
description?: string | undefined;
|
|
1578
2072
|
company: NonNullable<{
|
|
1579
|
-
logo?: string | undefined;
|
|
1580
|
-
name: string;
|
|
1581
|
-
id: string;
|
|
1582
|
-
} | {
|
|
1583
2073
|
value: "others" | (string | undefined)[];
|
|
1584
2074
|
otherValue: string | string[];
|
|
1585
|
-
} |
|
|
2075
|
+
} | Pick<{
|
|
2076
|
+
updatedBy?: string | undefined;
|
|
2077
|
+
updatedAt?: string | undefined;
|
|
2078
|
+
headline?: string | undefined;
|
|
2079
|
+
employeeCount?: string | undefined;
|
|
2080
|
+
yearFounded?: string | undefined;
|
|
2081
|
+
locations?: {
|
|
2082
|
+
coverImage?: string | undefined;
|
|
2083
|
+
name: string;
|
|
2084
|
+
isHeadquarters: boolean;
|
|
2085
|
+
contact: {
|
|
2086
|
+
email?: string | undefined;
|
|
2087
|
+
phone?: string | undefined;
|
|
2088
|
+
address: string;
|
|
2089
|
+
};
|
|
2090
|
+
}[] | undefined;
|
|
2091
|
+
contacts?: {
|
|
2092
|
+
label?: string | undefined;
|
|
2093
|
+
value: string;
|
|
2094
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2095
|
+
isPrimary: boolean;
|
|
2096
|
+
isVerified: boolean;
|
|
2097
|
+
}[] | undefined;
|
|
2098
|
+
verified?: Date | undefined;
|
|
2099
|
+
socialAccounts?: {
|
|
2100
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
2101
|
+
isNew: boolean;
|
|
2102
|
+
url: string;
|
|
2103
|
+
}[] | undefined;
|
|
2104
|
+
isOwner?: boolean | undefined;
|
|
2105
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
2106
|
+
perksAndBenefits?: {
|
|
2107
|
+
category?: {
|
|
2108
|
+
logo?: string | undefined;
|
|
2109
|
+
name: string;
|
|
2110
|
+
id: string;
|
|
2111
|
+
} | null | undefined;
|
|
2112
|
+
name: string;
|
|
2113
|
+
description: string;
|
|
2114
|
+
}[] | undefined;
|
|
2115
|
+
name: string;
|
|
2116
|
+
id: string;
|
|
2117
|
+
logo: {
|
|
2118
|
+
dark?: string | undefined;
|
|
2119
|
+
light: string;
|
|
2120
|
+
} | null;
|
|
2121
|
+
_id: string;
|
|
2122
|
+
shortId: string;
|
|
2123
|
+
createdBy: string;
|
|
2124
|
+
createdAt: string;
|
|
2125
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2126
|
+
slug: string;
|
|
2127
|
+
about: string;
|
|
2128
|
+
website: string;
|
|
2129
|
+
categories: {
|
|
2130
|
+
logo?: string | undefined;
|
|
2131
|
+
name: string;
|
|
2132
|
+
id: string;
|
|
2133
|
+
}[];
|
|
2134
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1586
2135
|
designation: NonNullable<{
|
|
1587
2136
|
logo?: string | undefined;
|
|
1588
2137
|
name: string;
|
|
@@ -1600,10 +2149,10 @@ export interface IserProfileOverview {
|
|
|
1600
2149
|
location: {
|
|
1601
2150
|
state?: string | undefined;
|
|
1602
2151
|
stateCode?: string | undefined;
|
|
2152
|
+
address: string;
|
|
1603
2153
|
country: string;
|
|
1604
2154
|
countryCode: string;
|
|
1605
2155
|
city: string;
|
|
1606
|
-
address: string;
|
|
1607
2156
|
latLong: {
|
|
1608
2157
|
country?: (number | undefined)[] | undefined;
|
|
1609
2158
|
state?: number[] | undefined;
|
|
@@ -1621,10 +2170,10 @@ export interface IserProfileOverview {
|
|
|
1621
2170
|
location: {
|
|
1622
2171
|
state?: string | undefined;
|
|
1623
2172
|
stateCode?: string | undefined;
|
|
2173
|
+
address: string;
|
|
1624
2174
|
country: string;
|
|
1625
2175
|
countryCode: string;
|
|
1626
2176
|
city: string;
|
|
1627
|
-
address: string;
|
|
1628
2177
|
latLong: {
|
|
1629
2178
|
country?: (number | undefined)[] | undefined;
|
|
1630
2179
|
state?: number[] | undefined;
|
|
@@ -1632,13 +2181,68 @@ export interface IserProfileOverview {
|
|
|
1632
2181
|
};
|
|
1633
2182
|
};
|
|
1634
2183
|
institute: NonNullable<{
|
|
1635
|
-
logo?: string | undefined;
|
|
1636
|
-
name: string;
|
|
1637
|
-
id: string;
|
|
1638
|
-
} | {
|
|
1639
2184
|
value: "others" | (string | undefined)[];
|
|
1640
2185
|
otherValue: string | string[];
|
|
1641
|
-
} |
|
|
2186
|
+
} | Pick<{
|
|
2187
|
+
updatedBy?: string | undefined;
|
|
2188
|
+
updatedAt?: string | undefined;
|
|
2189
|
+
headline?: string | undefined;
|
|
2190
|
+
employeeCount?: string | undefined;
|
|
2191
|
+
yearFounded?: string | undefined;
|
|
2192
|
+
locations?: {
|
|
2193
|
+
coverImage?: string | undefined;
|
|
2194
|
+
name: string;
|
|
2195
|
+
isHeadquarters: boolean;
|
|
2196
|
+
contact: {
|
|
2197
|
+
email?: string | undefined;
|
|
2198
|
+
phone?: string | undefined;
|
|
2199
|
+
address: string;
|
|
2200
|
+
};
|
|
2201
|
+
}[] | undefined;
|
|
2202
|
+
contacts?: {
|
|
2203
|
+
label?: string | undefined;
|
|
2204
|
+
value: string;
|
|
2205
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2206
|
+
isPrimary: boolean;
|
|
2207
|
+
isVerified: boolean;
|
|
2208
|
+
}[] | undefined;
|
|
2209
|
+
verified?: Date | undefined;
|
|
2210
|
+
socialAccounts?: {
|
|
2211
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
2212
|
+
isNew: boolean;
|
|
2213
|
+
url: string;
|
|
2214
|
+
}[] | undefined;
|
|
2215
|
+
isOwner?: boolean | undefined;
|
|
2216
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
2217
|
+
perksAndBenefits?: {
|
|
2218
|
+
category?: {
|
|
2219
|
+
logo?: string | undefined;
|
|
2220
|
+
name: string;
|
|
2221
|
+
id: string;
|
|
2222
|
+
} | null | undefined;
|
|
2223
|
+
name: string;
|
|
2224
|
+
description: string;
|
|
2225
|
+
}[] | undefined;
|
|
2226
|
+
name: string;
|
|
2227
|
+
id: string;
|
|
2228
|
+
logo: {
|
|
2229
|
+
dark?: string | undefined;
|
|
2230
|
+
light: string;
|
|
2231
|
+
} | null;
|
|
2232
|
+
_id: string;
|
|
2233
|
+
shortId: string;
|
|
2234
|
+
createdBy: string;
|
|
2235
|
+
createdAt: string;
|
|
2236
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2237
|
+
slug: string;
|
|
2238
|
+
about: string;
|
|
2239
|
+
website: string;
|
|
2240
|
+
categories: {
|
|
2241
|
+
logo?: string | undefined;
|
|
2242
|
+
name: string;
|
|
2243
|
+
id: string;
|
|
2244
|
+
}[];
|
|
2245
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1642
2246
|
course: NonNullable<{
|
|
1643
2247
|
logo?: string | undefined;
|
|
1644
2248
|
name: string;
|
|
@@ -1691,10 +2295,10 @@ export interface IEducationSchema {
|
|
|
1691
2295
|
location: {
|
|
1692
2296
|
state?: string | undefined;
|
|
1693
2297
|
stateCode?: string | undefined;
|
|
2298
|
+
address: string;
|
|
1694
2299
|
country: string;
|
|
1695
2300
|
countryCode: string;
|
|
1696
2301
|
city: string;
|
|
1697
|
-
address: string;
|
|
1698
2302
|
latLong: {
|
|
1699
2303
|
country?: (number | undefined)[] | undefined;
|
|
1700
2304
|
state?: number[] | undefined;
|
|
@@ -1702,13 +2306,68 @@ export interface IEducationSchema {
|
|
|
1702
2306
|
};
|
|
1703
2307
|
};
|
|
1704
2308
|
institute: NonNullable<{
|
|
1705
|
-
logo?: string | undefined;
|
|
1706
|
-
name: string;
|
|
1707
|
-
id: string;
|
|
1708
|
-
} | {
|
|
1709
2309
|
value: "others" | (string | undefined)[];
|
|
1710
2310
|
otherValue: string | string[];
|
|
1711
|
-
} |
|
|
2311
|
+
} | Pick<{
|
|
2312
|
+
updatedBy?: string | undefined;
|
|
2313
|
+
updatedAt?: string | undefined;
|
|
2314
|
+
headline?: string | undefined;
|
|
2315
|
+
employeeCount?: string | undefined;
|
|
2316
|
+
yearFounded?: string | undefined;
|
|
2317
|
+
locations?: {
|
|
2318
|
+
coverImage?: string | undefined;
|
|
2319
|
+
name: string;
|
|
2320
|
+
isHeadquarters: boolean;
|
|
2321
|
+
contact: {
|
|
2322
|
+
email?: string | undefined;
|
|
2323
|
+
phone?: string | undefined;
|
|
2324
|
+
address: string;
|
|
2325
|
+
};
|
|
2326
|
+
}[] | undefined;
|
|
2327
|
+
contacts?: {
|
|
2328
|
+
label?: string | undefined;
|
|
2329
|
+
value: string;
|
|
2330
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2331
|
+
isPrimary: boolean;
|
|
2332
|
+
isVerified: boolean;
|
|
2333
|
+
}[] | undefined;
|
|
2334
|
+
verified?: Date | undefined;
|
|
2335
|
+
socialAccounts?: {
|
|
2336
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
2337
|
+
isNew: boolean;
|
|
2338
|
+
url: string;
|
|
2339
|
+
}[] | undefined;
|
|
2340
|
+
isOwner?: boolean | undefined;
|
|
2341
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
2342
|
+
perksAndBenefits?: {
|
|
2343
|
+
category?: {
|
|
2344
|
+
logo?: string | undefined;
|
|
2345
|
+
name: string;
|
|
2346
|
+
id: string;
|
|
2347
|
+
} | null | undefined;
|
|
2348
|
+
name: string;
|
|
2349
|
+
description: string;
|
|
2350
|
+
}[] | undefined;
|
|
2351
|
+
name: string;
|
|
2352
|
+
id: string;
|
|
2353
|
+
logo: {
|
|
2354
|
+
dark?: string | undefined;
|
|
2355
|
+
light: string;
|
|
2356
|
+
} | null;
|
|
2357
|
+
_id: string;
|
|
2358
|
+
shortId: string;
|
|
2359
|
+
createdBy: string;
|
|
2360
|
+
createdAt: string;
|
|
2361
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2362
|
+
slug: string;
|
|
2363
|
+
about: string;
|
|
2364
|
+
website: string;
|
|
2365
|
+
categories: {
|
|
2366
|
+
logo?: string | undefined;
|
|
2367
|
+
name: string;
|
|
2368
|
+
id: string;
|
|
2369
|
+
}[];
|
|
2370
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1712
2371
|
course: NonNullable<{
|
|
1713
2372
|
logo?: string | undefined;
|
|
1714
2373
|
name: string;
|
|
@@ -1738,8 +2397,8 @@ export interface IUserGeneralDetailSchema {
|
|
|
1738
2397
|
first: string;
|
|
1739
2398
|
last: string;
|
|
1740
2399
|
};
|
|
1741
|
-
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
1742
2400
|
email: string;
|
|
2401
|
+
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
1743
2402
|
mobile: {
|
|
1744
2403
|
number: string;
|
|
1745
2404
|
country: {
|
|
@@ -1752,10 +2411,10 @@ export interface IUserGeneralDetailSchema {
|
|
|
1752
2411
|
location: {
|
|
1753
2412
|
state?: string | undefined;
|
|
1754
2413
|
stateCode?: string | undefined;
|
|
2414
|
+
address: string;
|
|
1755
2415
|
country: string;
|
|
1756
2416
|
countryCode: string;
|
|
1757
2417
|
city: string;
|
|
1758
|
-
address: string;
|
|
1759
2418
|
latLong: {
|
|
1760
2419
|
country?: (number | undefined)[] | undefined;
|
|
1761
2420
|
state?: number[] | undefined;
|
|
@@ -1780,8 +2439,8 @@ export interface ISocialAccountSchema {
|
|
|
1780
2439
|
}
|
|
1781
2440
|
export interface IUserAdditionalInfoSchema {
|
|
1782
2441
|
description: string;
|
|
1783
|
-
title: string;
|
|
1784
2442
|
isNew: boolean;
|
|
2443
|
+
title: string;
|
|
1785
2444
|
}
|
|
1786
2445
|
export interface IUserCertificationSchema {
|
|
1787
2446
|
url?: string | undefined;
|
|
@@ -1826,13 +2485,68 @@ export interface IUserSkillSchema {
|
|
|
1826
2485
|
export interface IWorkExperienceSchema {
|
|
1827
2486
|
description?: string | undefined;
|
|
1828
2487
|
company: NonNullable<{
|
|
1829
|
-
logo?: string | undefined;
|
|
1830
|
-
name: string;
|
|
1831
|
-
id: string;
|
|
1832
|
-
} | {
|
|
1833
2488
|
value: "others" | (string | undefined)[];
|
|
1834
2489
|
otherValue: string | string[];
|
|
1835
|
-
} |
|
|
2490
|
+
} | Pick<{
|
|
2491
|
+
updatedBy?: string | undefined;
|
|
2492
|
+
updatedAt?: string | undefined;
|
|
2493
|
+
headline?: string | undefined;
|
|
2494
|
+
employeeCount?: string | undefined;
|
|
2495
|
+
yearFounded?: string | undefined;
|
|
2496
|
+
locations?: {
|
|
2497
|
+
coverImage?: string | undefined;
|
|
2498
|
+
name: string;
|
|
2499
|
+
isHeadquarters: boolean;
|
|
2500
|
+
contact: {
|
|
2501
|
+
email?: string | undefined;
|
|
2502
|
+
phone?: string | undefined;
|
|
2503
|
+
address: string;
|
|
2504
|
+
};
|
|
2505
|
+
}[] | undefined;
|
|
2506
|
+
contacts?: {
|
|
2507
|
+
label?: string | undefined;
|
|
2508
|
+
value: string;
|
|
2509
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2510
|
+
isPrimary: boolean;
|
|
2511
|
+
isVerified: boolean;
|
|
2512
|
+
}[] | undefined;
|
|
2513
|
+
verified?: Date | undefined;
|
|
2514
|
+
socialAccounts?: {
|
|
2515
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
2516
|
+
isNew: boolean;
|
|
2517
|
+
url: string;
|
|
2518
|
+
}[] | undefined;
|
|
2519
|
+
isOwner?: boolean | undefined;
|
|
2520
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
2521
|
+
perksAndBenefits?: {
|
|
2522
|
+
category?: {
|
|
2523
|
+
logo?: string | undefined;
|
|
2524
|
+
name: string;
|
|
2525
|
+
id: string;
|
|
2526
|
+
} | null | undefined;
|
|
2527
|
+
name: string;
|
|
2528
|
+
description: string;
|
|
2529
|
+
}[] | undefined;
|
|
2530
|
+
name: string;
|
|
2531
|
+
id: string;
|
|
2532
|
+
logo: {
|
|
2533
|
+
dark?: string | undefined;
|
|
2534
|
+
light: string;
|
|
2535
|
+
} | null;
|
|
2536
|
+
_id: string;
|
|
2537
|
+
shortId: string;
|
|
2538
|
+
createdBy: string;
|
|
2539
|
+
createdAt: string;
|
|
2540
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2541
|
+
slug: string;
|
|
2542
|
+
about: string;
|
|
2543
|
+
website: string;
|
|
2544
|
+
categories: {
|
|
2545
|
+
logo?: string | undefined;
|
|
2546
|
+
name: string;
|
|
2547
|
+
id: string;
|
|
2548
|
+
}[];
|
|
2549
|
+
}, "name" | "logo" | "type" | "slug"> | undefined>;
|
|
1836
2550
|
designation: NonNullable<{
|
|
1837
2551
|
logo?: string | undefined;
|
|
1838
2552
|
name: string;
|
|
@@ -1850,10 +2564,10 @@ export interface IWorkExperienceSchema {
|
|
|
1850
2564
|
location: {
|
|
1851
2565
|
state?: string | undefined;
|
|
1852
2566
|
stateCode?: string | undefined;
|
|
2567
|
+
address: string;
|
|
1853
2568
|
country: string;
|
|
1854
2569
|
countryCode: string;
|
|
1855
2570
|
city: string;
|
|
1856
|
-
address: string;
|
|
1857
2571
|
latLong: {
|
|
1858
2572
|
country?: (number | undefined)[] | undefined;
|
|
1859
2573
|
state?: number[] | undefined;
|