@thejob/schema 1.0.42 → 1.0.44

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 +2 -0
  2. package/dist/cjs/common/constants.d.ts.map +1 -1
  3. package/dist/cjs/common/constants.js +3 -1
  4. package/dist/cjs/interfaces.index.d.ts +223 -223
  5. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  6. package/dist/cjs/job/job.schema.d.ts +21 -15
  7. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  8. package/dist/cjs/job/job.schema.js +6 -4
  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 +2 -0
  23. package/dist/esm/common/constants.d.ts.map +1 -1
  24. package/dist/esm/common/constants.js +2 -0
  25. package/dist/esm/interfaces.index.d.ts +223 -223
  26. package/dist/esm/interfaces.index.d.ts.map +1 -1
  27. package/dist/esm/job/job.schema.d.ts +21 -15
  28. package/dist/esm/job/job.schema.d.ts.map +1 -1
  29. package/dist/esm/job/job.schema.js +6 -4
  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
@@ -74,14 +74,14 @@ export declare const JobSchema: ObjectSchema<{
74
74
  }[];
75
75
  status: NonNullable<import("../page").PageStatus | undefined>;
76
76
  }, "type" | "name" | "logo" | "slug"> | undefined>;
77
- designation: NonNullable<{
77
+ designation: {
78
78
  logo?: string | undefined;
79
79
  name: string;
80
80
  id: string;
81
81
  } | {
82
82
  value: "others" | (string | undefined)[];
83
83
  otherValue: string | string[];
84
- } | undefined>;
84
+ } | undefined;
85
85
  employmentType: string;
86
86
  workMode: string;
87
87
  skills: ({
@@ -104,18 +104,18 @@ export declare const JobSchema: ObjectSchema<{
104
104
  externalApplicationLinkClickCount: number | undefined;
105
105
  description: string;
106
106
  descriptionMarkdown: string;
107
- descriptionHTML: string;
107
+ descriptionHTML: string | undefined;
108
108
  locations: {
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
  educationLevel: (import("../common").EducationLevel | undefined)[];
@@ -124,9 +124,9 @@ export declare const JobSchema: ObjectSchema<{
124
124
  endDate: string;
125
125
  isActive: boolean;
126
126
  };
127
- experienceLevel: import("../common").ExperienceLevel | undefined;
128
- contactEmail: string | undefined;
129
- workingHoursPerWeek: number | undefined;
127
+ experienceLevel: import("../common").ExperienceLevel | null | undefined;
128
+ contactEmail: string | null | undefined;
129
+ workingHoursPerWeek: number | null | undefined;
130
130
  tags: any[] | undefined;
131
131
  questionnaire: ({
132
132
  label?: string | undefined;
@@ -230,7 +230,7 @@ export declare const JobSchema: ObjectSchema<{
230
230
  currency: string;
231
231
  compensationType: NonNullable<import("../common").CompensationType | undefined>;
232
232
  isNegotiable: boolean;
233
- } | undefined;
233
+ } | null | undefined;
234
234
  reports: {
235
235
  createdAt: string;
236
236
  userId: string;
@@ -285,7 +285,13 @@ export declare const JobSchema: ObjectSchema<{
285
285
  hasReported: undefined;
286
286
  ratePerHour: undefined;
287
287
  isPromoted: undefined;
288
- salaryRange: undefined;
288
+ salaryRange: {
289
+ currency: "USD";
290
+ min: undefined;
291
+ max: undefined;
292
+ compensationType: undefined;
293
+ isNegotiable: false;
294
+ };
289
295
  reports: "";
290
296
  termsAccepted: undefined;
291
297
  id: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"job.schema.d.ts","sourceRoot":"","sources":["../../../src/job/job.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAW7B,MAAM,WAAW,CAAC;AAInB,OAAO,EACL,YAAY,EAKb,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,SAAS,EAKT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAwB,MAAM,gBAAgB,CAAC;AAGjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqZP,CAAC;AAEhB,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"job.schema.d.ts","sourceRoot":"","sources":["../../../src/job/job.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAW7B,MAAM,WAAW,CAAC;AAInB,OAAO,EACL,YAAY,EAKb,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,SAAS,EAKT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAwB,MAAM,gBAAgB,CAAC;AAGjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuZP,CAAC;AAEhB,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -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.
@@ -207,6 +207,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
207
207
  */
208
208
  experienceLevel: (0, yup_extended_1.string)()
209
209
  .oneOf(common_1.SupportedExperienceLevels)
210
+ .nullable()
210
211
  .optional()
211
212
  .label("Experience level"),
212
213
  /*
@@ -214,7 +215,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
214
215
  * This section is optional and can be used to specify the contact email for the job post.
215
216
  * It is useful for jobs that require direct communication with the employer.
216
217
  */
217
- contactEmail: (0, yup_extended_1.string)().email().optional().label("Contact email"),
218
+ contactEmail: (0, yup_extended_1.string)().email().nullable().optional().label("Contact email"),
218
219
  /*
219
220
  * Working hours per week section
220
221
  * This section is optional and can be used to specify the number of working hours per week for the job.
@@ -222,6 +223,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
222
223
  * The value should be a number between 1 and 168 (24 hours * 7 days).
223
224
  */
224
225
  workingHoursPerWeek: (0, yup_extended_1.number)()
226
+ .nullable()
225
227
  .optional()
226
228
  .min(1)
227
229
  .max(24 * 7)
@@ -345,7 +347,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
345
347
  .label("Compensation Type"),
346
348
  isNegotiable: (0, yup_extended_1.boolean)().optional().default(false).label("Is Negotiable"),
347
349
  })
348
- .default(undefined)
350
+ .nullable()
349
351
  .optional()
350
352
  .label("Salary Range"),
351
353
  /*
@@ -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, {