@thejob/schema 1.0.42 → 1.0.43

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.
Files changed (43) hide show
  1. package/dist/cjs/common/constants.d.ts +1 -0
  2. package/dist/cjs/common/constants.d.ts.map +1 -1
  3. package/dist/cjs/common/constants.js +2 -1
  4. package/dist/cjs/interfaces.index.d.ts +217 -217
  5. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  6. package/dist/cjs/job/job.schema.d.ts +18 -12
  7. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  8. package/dist/cjs/job/job.schema.js +3 -3
  9. package/dist/cjs/job-application/job-application.schema.d.ts +21 -21
  10. package/dist/cjs/job-role-template/job-role-template.schema.d.ts +9 -3
  11. package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
  12. package/dist/cjs/location/location.schema.d.ts +7 -7
  13. package/dist/cjs/location/location.schema.d.ts.map +1 -1
  14. package/dist/cjs/location/location.schema.js +7 -4
  15. package/dist/cjs/resume/resume.schema.d.ts +49 -49
  16. package/dist/cjs/user/education/education.schema.d.ts +7 -7
  17. package/dist/cjs/user/general-detail/general-detail.schema.d.ts +7 -7
  18. package/dist/cjs/user/update-education.schema.d.ts +7 -7
  19. package/dist/cjs/user/update-work-experience.schema.d.ts +7 -7
  20. package/dist/cjs/user/user.schema.d.ts +21 -21
  21. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +7 -7
  22. package/dist/esm/common/constants.d.ts +1 -0
  23. package/dist/esm/common/constants.d.ts.map +1 -1
  24. package/dist/esm/common/constants.js +1 -0
  25. package/dist/esm/interfaces.index.d.ts +217 -217
  26. package/dist/esm/interfaces.index.d.ts.map +1 -1
  27. package/dist/esm/job/job.schema.d.ts +18 -12
  28. package/dist/esm/job/job.schema.d.ts.map +1 -1
  29. package/dist/esm/job/job.schema.js +3 -3
  30. package/dist/esm/job-application/job-application.schema.d.ts +21 -21
  31. package/dist/esm/job-role-template/job-role-template.schema.d.ts +9 -3
  32. package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
  33. package/dist/esm/location/location.schema.d.ts +7 -7
  34. package/dist/esm/location/location.schema.d.ts.map +1 -1
  35. package/dist/esm/location/location.schema.js +7 -4
  36. package/dist/esm/resume/resume.schema.d.ts +49 -49
  37. package/dist/esm/user/education/education.schema.d.ts +7 -7
  38. package/dist/esm/user/general-detail/general-detail.schema.d.ts +7 -7
  39. package/dist/esm/user/update-education.schema.d.ts +7 -7
  40. package/dist/esm/user/update-work-experience.schema.d.ts +7 -7
  41. package/dist/esm/user/user.schema.d.ts +21 -21
  42. package/dist/esm/user/work-experience/work-experience.schema.d.ts +7 -7
  43. package/package.json +1 -1
@@ -71,7 +71,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
71
71
  */
72
72
  designation: (0, yup_extended_1.mixed)()
73
73
  .oneOfSchema([common_1.NameIdLogoSchema, common_1.OtherValueSchema])
74
- .required()
74
+ .optional()
75
75
  .label("Designation"),
76
76
  /*
77
77
  * Employment type defines the type of employment for the job post.
@@ -162,7 +162,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
162
162
  * For example, you can use libraries like `marked`, `markdown-it`, or `showdown` to convert Markdown to HTML.
163
163
  * Ensure that the HTML is sanitized to prevent XSS attacks and other security vulnerabilities.
164
164
  */
165
- descriptionHTML: (0, yup_extended_1.string)().required().label("Description HTML"),
165
+ descriptionHTML: (0, yup_extended_1.string)().optional().label("Description HTML"),
166
166
  /*
167
167
  * Location section
168
168
  * This section is required and can be used to specify the location of the job.
@@ -345,7 +345,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
345
345
  .label("Compensation Type"),
346
346
  isNegotiable: (0, yup_extended_1.boolean)().optional().default(false).label("Is Negotiable"),
347
347
  })
348
- .default(undefined)
348
+ .nullable()
349
349
  .optional()
350
350
  .label("Salary Range"),
351
351
  /*
@@ -22,16 +22,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
22
22
  score: number | undefined;
23
23
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
24
24
  location: {
25
- state?: string | undefined;
26
- stateCode?: string | undefined;
25
+ state?: string | null | undefined;
26
+ stateCode?: string | null | undefined;
27
+ city?: string | null | undefined;
28
+ address?: string | null | undefined;
27
29
  country: string;
28
30
  countryCode: string;
29
- city: string;
30
- address: string;
31
31
  latLong: {
32
- country?: (number | undefined)[] | undefined;
33
- state?: number[] | undefined;
34
- city?: number[] | undefined;
32
+ country?: (number | undefined)[] | null | undefined;
33
+ state?: number[] | null | undefined;
34
+ city?: number[] | null | undefined;
35
35
  };
36
36
  };
37
37
  recentWork: {
@@ -108,16 +108,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
108
108
  isActive: boolean;
109
109
  };
110
110
  location: {
111
- state?: string | undefined;
112
- stateCode?: string | undefined;
111
+ state?: string | null | undefined;
112
+ stateCode?: string | null | undefined;
113
+ city?: string | null | undefined;
114
+ address?: string | null | undefined;
113
115
  country: string;
114
116
  countryCode: string;
115
- city: string;
116
- address: string;
117
117
  latLong: {
118
- country?: (number | undefined)[] | undefined;
119
- state?: number[] | undefined;
120
- city?: number[] | undefined;
118
+ country?: (number | undefined)[] | null | undefined;
119
+ state?: number[] | null | undefined;
120
+ city?: number[] | null | undefined;
121
121
  };
122
122
  };
123
123
  designation: NonNullable<{
@@ -222,16 +222,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
222
222
  isActive: boolean;
223
223
  };
224
224
  location: {
225
- state?: string | undefined;
226
- stateCode?: string | undefined;
225
+ state?: string | null | undefined;
226
+ stateCode?: string | null | undefined;
227
+ city?: string | null | undefined;
228
+ address?: string | null | undefined;
227
229
  country: string;
228
230
  countryCode: string;
229
- city: string;
230
- address: string;
231
231
  latLong: {
232
- country?: (number | undefined)[] | undefined;
233
- state?: number[] | undefined;
234
- city?: number[] | undefined;
232
+ country?: (number | undefined)[] | null | undefined;
233
+ state?: number[] | null | undefined;
234
+ city?: number[] | null | undefined;
235
235
  };
236
236
  };
237
237
  };
@@ -11,14 +11,14 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
11
11
  educationLevel: (import("..").EducationLevel | undefined)[];
12
12
  description: string;
13
13
  headline: string;
14
- designation: NonNullable<{
14
+ designation: {
15
15
  logo?: string | undefined;
16
16
  name: string;
17
17
  id: string;
18
18
  } | {
19
19
  value: "others" | (string | undefined)[];
20
20
  otherValue: string | string[];
21
- } | undefined>;
21
+ } | undefined;
22
22
  tags: any[] | undefined;
23
23
  questionnaire: ({
24
24
  label?: string | undefined;
@@ -142,7 +142,13 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
142
142
  hasReported: undefined;
143
143
  ratePerHour: undefined;
144
144
  isPromoted: undefined;
145
- salaryRange: undefined;
145
+ salaryRange: {
146
+ currency: "USD";
147
+ min: undefined;
148
+ max: undefined;
149
+ compensationType: undefined;
150
+ isNegotiable: false;
151
+ };
146
152
  reports: "";
147
153
  termsAccepted: undefined;
148
154
  id: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -2,14 +2,14 @@ import { InferType } from "../yup-extended";
2
2
  export declare const LocationSchema: import("yup").ObjectSchema<{
3
3
  country: string;
4
4
  countryCode: string;
5
- state: string | undefined;
6
- stateCode: string | undefined;
7
- city: string;
8
- address: string;
5
+ state: string | null | undefined;
6
+ stateCode: string | null | undefined;
7
+ city: string | null | undefined;
8
+ address: string | null | undefined;
9
9
  latLong: {
10
- country?: (number | undefined)[] | undefined;
11
- state?: number[] | undefined;
12
- city?: number[] | undefined;
10
+ country?: (number | undefined)[] | null | undefined;
11
+ state?: number[] | null | undefined;
12
+ city?: number[] | null | undefined;
13
13
  };
14
14
  }, import("yup").AnyObject, {
15
15
  country: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"location.schema.d.ts","sourceRoot":"","sources":["../../../src/location/location.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,SAAS,EAA0B,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;MA2BzB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"location.schema.d.ts","sourceRoot":"","sources":["../../../src/location/location.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,SAAS,EAA0B,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;MA8BzB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -5,25 +5,28 @@ const yup_extended_1 = require("../yup-extended");
5
5
  exports.LocationSchema = (0, yup_extended_1.object)().shape({
6
6
  country: (0, yup_extended_1.string)().required().label("Country"),
7
7
  countryCode: (0, yup_extended_1.string)().required().label("Country code"),
8
- state: (0, yup_extended_1.string)().optional().label("State"),
9
- stateCode: (0, yup_extended_1.string)().optional().label("State code"),
10
- city: (0, yup_extended_1.string)().required().label("City"),
11
- address: (0, yup_extended_1.string)().required().label("Address"),
8
+ state: (0, yup_extended_1.string)().optional().nullable().label("State"),
9
+ stateCode: (0, yup_extended_1.string)().optional().nullable().label("State code"),
10
+ city: (0, yup_extended_1.string)().optional().nullable().label("City"),
11
+ address: (0, yup_extended_1.string)().optional().nullable().label("Address"),
12
12
  latLong: (0, yup_extended_1.object)()
13
13
  .shape({
14
14
  city: (0, yup_extended_1.array)()
15
15
  .of((0, yup_extended_1.number)().required())
16
16
  .length(2)
17
+ .nullable()
17
18
  .optional()
18
19
  .label("City long lat"),
19
20
  state: (0, yup_extended_1.array)()
20
21
  .of((0, yup_extended_1.number)().required())
21
22
  .length(2)
23
+ .nullable()
22
24
  .optional()
23
25
  .label("State long lat"),
24
26
  country: (0, yup_extended_1.array)()
25
27
  .of((0, yup_extended_1.number)())
26
28
  .length(2)
29
+ .nullable()
27
30
  .optional()
28
31
  .label("Country long lat"),
29
32
  })
@@ -23,16 +23,16 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
23
23
  emailVerified: string | null | undefined;
24
24
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
25
25
  location: {
26
- state?: string | undefined;
27
- stateCode?: string | undefined;
26
+ state?: string | null | undefined;
27
+ stateCode?: string | null | undefined;
28
+ city?: string | null | undefined;
29
+ address?: string | null | undefined;
28
30
  country: string;
29
31
  countryCode: string;
30
- city: string;
31
- address: string;
32
32
  latLong: {
33
- country?: (number | undefined)[] | undefined;
34
- state?: number[] | undefined;
35
- city?: number[] | undefined;
33
+ country?: (number | undefined)[] | null | undefined;
34
+ state?: number[] | null | undefined;
35
+ city?: number[] | null | undefined;
36
36
  };
37
37
  };
38
38
  }, import("yup").AnyObject, {
@@ -106,16 +106,16 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
106
106
  };
107
107
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
108
108
  location: {
109
- state?: string | undefined;
110
- stateCode?: string | undefined;
109
+ state?: string | null | undefined;
110
+ stateCode?: string | null | undefined;
111
+ city?: string | null | undefined;
112
+ address?: string | null | undefined;
111
113
  country: string;
112
114
  countryCode: string;
113
- city: string;
114
- address: string;
115
115
  latLong: {
116
- country?: (number | undefined)[] | undefined;
117
- state?: number[] | undefined;
118
- city?: number[] | undefined;
116
+ country?: (number | undefined)[] | null | undefined;
117
+ state?: number[] | null | undefined;
118
+ city?: number[] | null | undefined;
119
119
  };
120
120
  };
121
121
  mobile: {
@@ -201,16 +201,16 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
201
201
  isActive: boolean;
202
202
  };
203
203
  location: {
204
- state?: string | undefined;
205
- stateCode?: string | undefined;
204
+ state?: string | null | undefined;
205
+ stateCode?: string | null | undefined;
206
+ city?: string | null | undefined;
207
+ address?: string | null | undefined;
206
208
  country: string;
207
209
  countryCode: string;
208
- city: string;
209
- address: string;
210
210
  latLong: {
211
- country?: (number | undefined)[] | undefined;
212
- state?: number[] | undefined;
213
- city?: number[] | undefined;
211
+ country?: (number | undefined)[] | null | undefined;
212
+ state?: number[] | null | undefined;
213
+ city?: number[] | null | undefined;
214
214
  };
215
215
  };
216
216
  designation: NonNullable<{
@@ -314,16 +314,16 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
314
314
  isActive: boolean;
315
315
  };
316
316
  location: {
317
- state?: string | undefined;
318
- stateCode?: string | undefined;
317
+ state?: string | null | undefined;
318
+ stateCode?: string | null | undefined;
319
+ city?: string | null | undefined;
320
+ address?: string | null | undefined;
319
321
  country: string;
320
322
  countryCode: string;
321
- city: string;
322
- address: string;
323
323
  latLong: {
324
- country?: (number | undefined)[] | undefined;
325
- state?: number[] | undefined;
326
- city?: number[] | undefined;
324
+ country?: (number | undefined)[] | null | undefined;
325
+ state?: number[] | null | undefined;
326
+ city?: number[] | null | undefined;
327
327
  };
328
328
  };
329
329
  }[] | {
@@ -561,16 +561,16 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
561
561
  isActive: boolean;
562
562
  };
563
563
  location: {
564
- state?: string | undefined;
565
- stateCode?: string | undefined;
564
+ state?: string | null | undefined;
565
+ stateCode?: string | null | undefined;
566
+ city?: string | null | undefined;
567
+ address?: string | null | undefined;
566
568
  country: string;
567
569
  countryCode: string;
568
- city: string;
569
- address: string;
570
570
  latLong: {
571
- country?: (number | undefined)[] | undefined;
572
- state?: number[] | undefined;
573
- city?: number[] | undefined;
571
+ country?: (number | undefined)[] | null | undefined;
572
+ state?: number[] | null | undefined;
573
+ city?: number[] | null | undefined;
574
574
  };
575
575
  };
576
576
  designation: NonNullable<{
@@ -675,16 +675,16 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
675
675
  isActive: boolean;
676
676
  };
677
677
  location: {
678
- state?: string | undefined;
679
- stateCode?: string | undefined;
678
+ state?: string | null | undefined;
679
+ stateCode?: string | null | undefined;
680
+ city?: string | null | undefined;
681
+ address?: string | null | undefined;
680
682
  country: string;
681
683
  countryCode: string;
682
- city: string;
683
- address: string;
684
684
  latLong: {
685
- country?: (number | undefined)[] | undefined;
686
- state?: number[] | undefined;
687
- city?: number[] | undefined;
685
+ country?: (number | undefined)[] | null | undefined;
686
+ state?: number[] | null | undefined;
687
+ city?: number[] | null | undefined;
688
688
  };
689
689
  };
690
690
  }[];
@@ -740,16 +740,16 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
740
740
  }[];
741
741
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
742
742
  location: {
743
- state?: string | undefined;
744
- stateCode?: string | undefined;
743
+ state?: string | null | undefined;
744
+ stateCode?: string | null | undefined;
745
+ city?: string | null | undefined;
746
+ address?: string | null | undefined;
745
747
  country: string;
746
748
  countryCode: string;
747
- city: string;
748
- address: string;
749
749
  latLong: {
750
- country?: (number | undefined)[] | undefined;
751
- state?: number[] | undefined;
752
- city?: number[] | undefined;
750
+ country?: (number | undefined)[] | null | undefined;
751
+ state?: number[] | null | undefined;
752
+ city?: number[] | null | undefined;
753
753
  };
754
754
  };
755
755
  mobile: {
@@ -90,16 +90,16 @@ export declare const EducationSchema: ObjectSchema<{
90
90
  description: string | undefined;
91
91
  isDistanceLearning: boolean;
92
92
  location: {
93
- state?: string | undefined;
94
- stateCode?: string | undefined;
93
+ state?: string | null | undefined;
94
+ stateCode?: string | null | undefined;
95
+ city?: string | null | undefined;
96
+ address?: string | null | undefined;
95
97
  country: string;
96
98
  countryCode: string;
97
- city: string;
98
- address: string;
99
99
  latLong: {
100
- country?: (number | undefined)[] | undefined;
101
- state?: number[] | undefined;
102
- city?: number[] | undefined;
100
+ country?: (number | undefined)[] | null | undefined;
101
+ state?: number[] | null | undefined;
102
+ city?: number[] | null | undefined;
103
103
  };
104
104
  };
105
105
  studyType: NonNullable<import("../../common").StudyType | undefined>;
@@ -21,16 +21,16 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
21
21
  emailVerified: string | null | undefined;
22
22
  experienceLevel: NonNullable<import("../../common").ExperienceLevel | undefined>;
23
23
  location: {
24
- state?: string | undefined;
25
- stateCode?: string | undefined;
24
+ state?: string | null | undefined;
25
+ stateCode?: string | null | undefined;
26
+ city?: string | null | undefined;
27
+ address?: string | null | undefined;
26
28
  country: string;
27
29
  countryCode: string;
28
- city: string;
29
- address: string;
30
30
  latLong: {
31
- country?: (number | undefined)[] | undefined;
32
- state?: number[] | undefined;
33
- city?: number[] | undefined;
31
+ country?: (number | undefined)[] | null | undefined;
32
+ state?: number[] | null | undefined;
33
+ city?: number[] | null | undefined;
34
34
  };
35
35
  };
36
36
  }, import("yup").AnyObject, {
@@ -95,16 +95,16 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
95
95
  isActive: boolean;
96
96
  };
97
97
  location: {
98
- state?: string | undefined;
99
- stateCode?: string | undefined;
98
+ state?: string | null | undefined;
99
+ stateCode?: string | null | undefined;
100
+ city?: string | null | undefined;
101
+ address?: string | null | undefined;
100
102
  country: string;
101
103
  countryCode: string;
102
- city: string;
103
- address: string;
104
104
  latLong: {
105
- country?: (number | undefined)[] | undefined;
106
- state?: number[] | undefined;
107
- city?: number[] | undefined;
105
+ country?: (number | undefined)[] | null | undefined;
106
+ state?: number[] | null | undefined;
107
+ city?: number[] | null | undefined;
108
108
  };
109
109
  };
110
110
  }[];
@@ -74,16 +74,16 @@ export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
74
74
  isActive: boolean;
75
75
  };
76
76
  location: {
77
- state?: string | undefined;
78
- stateCode?: string | undefined;
77
+ state?: string | null | undefined;
78
+ stateCode?: string | null | undefined;
79
+ city?: string | null | undefined;
80
+ address?: string | null | undefined;
79
81
  country: string;
80
82
  countryCode: string;
81
- city: string;
82
- address: string;
83
83
  latLong: {
84
- country?: (number | undefined)[] | undefined;
85
- state?: number[] | undefined;
86
- city?: number[] | undefined;
84
+ country?: (number | undefined)[] | null | undefined;
85
+ state?: number[] | null | undefined;
86
+ city?: number[] | null | undefined;
87
87
  };
88
88
  };
89
89
  designation: NonNullable<{
@@ -79,16 +79,16 @@ export declare const UserSchema: import("yup").ObjectSchema<{
79
79
  isActive: boolean;
80
80
  };
81
81
  location: {
82
- state?: string | undefined;
83
- stateCode?: string | undefined;
82
+ state?: string | null | undefined;
83
+ stateCode?: string | null | undefined;
84
+ city?: string | null | undefined;
85
+ address?: string | null | undefined;
84
86
  country: string;
85
87
  countryCode: string;
86
- city: string;
87
- address: string;
88
88
  latLong: {
89
- country?: (number | undefined)[] | undefined;
90
- state?: number[] | undefined;
91
- city?: number[] | undefined;
89
+ country?: (number | undefined)[] | null | undefined;
90
+ state?: number[] | null | undefined;
91
+ city?: number[] | null | undefined;
92
92
  };
93
93
  };
94
94
  designation: NonNullable<{
@@ -193,16 +193,16 @@ export declare const UserSchema: import("yup").ObjectSchema<{
193
193
  isActive: boolean;
194
194
  };
195
195
  location: {
196
- state?: string | undefined;
197
- stateCode?: string | undefined;
196
+ state?: string | null | undefined;
197
+ stateCode?: string | null | undefined;
198
+ city?: string | null | undefined;
199
+ address?: string | null | undefined;
198
200
  country: string;
199
201
  countryCode: string;
200
- city: string;
201
- address: string;
202
202
  latLong: {
203
- country?: (number | undefined)[] | undefined;
204
- state?: number[] | undefined;
205
- city?: number[] | undefined;
203
+ country?: (number | undefined)[] | null | undefined;
204
+ state?: number[] | null | undefined;
205
+ city?: number[] | null | undefined;
206
206
  };
207
207
  };
208
208
  }[];
@@ -285,16 +285,16 @@ export declare const UserSchema: import("yup").ObjectSchema<{
285
285
  emailVerified: string | null | undefined;
286
286
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
287
287
  location: {
288
- state?: string | undefined;
289
- stateCode?: string | undefined;
288
+ state?: string | null | undefined;
289
+ stateCode?: string | null | undefined;
290
+ city?: string | null | undefined;
291
+ address?: string | null | undefined;
290
292
  country: string;
291
293
  countryCode: string;
292
- city: string;
293
- address: string;
294
294
  latLong: {
295
- country?: (number | undefined)[] | undefined;
296
- state?: number[] | undefined;
297
- city?: number[] | undefined;
295
+ country?: (number | undefined)[] | null | undefined;
296
+ state?: number[] | null | undefined;
297
+ city?: number[] | null | undefined;
298
298
  };
299
299
  };
300
300
  }, import("yup").AnyObject, {
@@ -81,16 +81,16 @@ export declare const WorkExperienceSchema: ObjectSchema<{
81
81
  };
82
82
  description: string | undefined;
83
83
  location: {
84
- state?: string | undefined;
85
- stateCode?: string | undefined;
84
+ state?: string | null | undefined;
85
+ stateCode?: string | null | undefined;
86
+ city?: string | null | undefined;
87
+ address?: string | null | undefined;
86
88
  country: string;
87
89
  countryCode: string;
88
- city: string;
89
- address: string;
90
90
  latLong: {
91
- country?: (number | undefined)[] | undefined;
92
- state?: number[] | undefined;
93
- city?: number[] | undefined;
91
+ country?: (number | undefined)[] | null | undefined;
92
+ state?: number[] | null | undefined;
93
+ city?: number[] | null | undefined;
94
94
  };
95
95
  };
96
96
  isRemote: boolean;
@@ -107,6 +107,7 @@ export declare enum ApplicationReceivePreference {
107
107
  Email = "Email",
108
108
  ExternalWebsite = "External Website"
109
109
  }
110
+ export declare const SupportedApplicationReceivePreferences: ApplicationReceivePreference[];
110
111
  export declare enum ExperienceLevel {
111
112
  Executive = "Executive",
112
113
  Director = "Director",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,QAAQ,cAAc;IACtB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,mBAAmB,aAM/B,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,gBAAgB,eAAe,CAAC;AAC7C,eAAO,MAAM,iBAAiB,OAAO,CAAC;AAEtC,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,oBAAY,QAAQ;IAClB,GAAG,oBAAoB;IACvB,qBAAqB,sCAAsC;IAC3D,mBAAmB,wBAAwB;IAC3C,IAAI,eAAe;IACnB,GAAG,cAAc;IACjB,GAAG,cAAc;IACjB,IAAI,eAAe;IACnB,GAAG,cAAc;IACjB,GAAG,oBAAoB;IACvB,IAAI,qBAAqB;IACzB,GAAG,uBAAuB;IAC1B,IAAI,4EAA4E;IAChF,IAAI,4EAA4E;IAChF,GAAG,aAAa;CACjB;AAED,oBAAY,aAAa;IACvB,IAAI,UAAU;IACd,GAAG,SAAS;IACZ,GAAG,SAAS;IACZ,IAAI,UAAU;IACd,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;IACxB,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,yBAAyB,mBAAiC,CAAC;AAExE,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,kBAAkB,YAA0B,CAAC;AAE1D,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,qBAAqB,cAA4B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,YAAoB,CAAC;AAElD,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,aAAa;IACpB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,0BAA0B,oBAAkC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,QAAQ,cAAc;IACtB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,mBAAmB,aAM/B,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,gBAAgB,eAAe,CAAC;AAC7C,eAAO,MAAM,iBAAiB,OAAO,CAAC;AAEtC,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,oBAAY,QAAQ;IAClB,GAAG,oBAAoB;IACvB,qBAAqB,sCAAsC;IAC3D,mBAAmB,wBAAwB;IAC3C,IAAI,eAAe;IACnB,GAAG,cAAc;IACjB,GAAG,cAAc;IACjB,IAAI,eAAe;IACnB,GAAG,cAAc;IACjB,GAAG,oBAAoB;IACvB,IAAI,qBAAqB;IACzB,GAAG,uBAAuB;IAC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wBAAwB;IAClC,WAAW,yBAAyB;IACpC,WAAW,qBAAqB;CACjC;AAED,eAAO,MAAM,uBAAuB,iBAA+B,CAAC;AAEpE,oBAAY,eAAe;IACzB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,QAAQ,cAAc;IACtB,SAAS,eAAe;IACxB,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,yBAAyB,mBAAiC,CAAC;AAExE,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,kBAAkB,YAA0B,CAAC;AAE1D,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,qBAAqB,cAA4B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,YAAoB,CAAC;AAElD,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,aAAa;IACpB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,0BAA0B,oBAAkC,CAAC"}
@@ -135,6 +135,7 @@ export var ApplicationReceivePreference;
135
135
  ApplicationReceivePreference["Email"] = "Email";
136
136
  ApplicationReceivePreference["ExternalWebsite"] = "External Website";
137
137
  })(ApplicationReceivePreference || (ApplicationReceivePreference = {}));
138
+ export const SupportedApplicationReceivePreferences = Object.values(ApplicationReceivePreference);
138
139
  // export enum ExperienceLevel {
139
140
  // _0_2_Years = "0-2 Years",
140
141
  // _3_7_ears = "3-7 Years",