@thejob/schema 1.0.41 → 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 +219 -217
  5. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  6. package/dist/cjs/job/job.schema.d.ts +20 -12
  7. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  8. package/dist/cjs/job/job.schema.js +7 -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 +10 -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 +219 -217
  26. package/dist/esm/interfaces.index.d.ts.map +1 -1
  27. package/dist/esm/job/job.schema.d.ts +20 -12
  28. package/dist/esm/job/job.schema.d.ts.map +1 -1
  29. package/dist/esm/job/job.schema.js +7 -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 +10 -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
@@ -3,6 +3,7 @@ import { QuestionType } from "../question";
3
3
  import { InferType, ObjectSchema } from "../yup-extended";
4
4
  import { JobStatus } from "./job.constant";
5
5
  export declare const JobSchema: ObjectSchema<{
6
+ uniqueId: string | undefined;
6
7
  headline: string;
7
8
  slug: string;
8
9
  applicationReceivePreference: NonNullable<ApplicationReceivePreference | undefined>;
@@ -73,14 +74,14 @@ export declare const JobSchema: ObjectSchema<{
73
74
  }[];
74
75
  status: NonNullable<import("../page").PageStatus | undefined>;
75
76
  }, "type" | "name" | "logo" | "slug"> | undefined>;
76
- designation: NonNullable<{
77
+ designation: {
77
78
  logo?: string | undefined;
78
79
  name: string;
79
80
  id: string;
80
81
  } | {
81
82
  value: "others" | (string | undefined)[];
82
83
  otherValue: string | string[];
83
- } | undefined>;
84
+ } | undefined;
84
85
  employmentType: string;
85
86
  workMode: string;
86
87
  skills: ({
@@ -103,18 +104,18 @@ export declare const JobSchema: ObjectSchema<{
103
104
  externalApplicationLinkClickCount: number | undefined;
104
105
  description: string;
105
106
  descriptionMarkdown: string;
106
- descriptionHTML: string;
107
+ descriptionHTML: string | undefined;
107
108
  locations: {
108
- state?: string | undefined;
109
- stateCode?: string | undefined;
109
+ state?: string | null | undefined;
110
+ stateCode?: string | null | undefined;
111
+ city?: string | null | undefined;
112
+ address?: string | null | undefined;
110
113
  country: string;
111
114
  countryCode: string;
112
- city: string;
113
- address: string;
114
115
  latLong: {
115
- country?: (number | undefined)[] | undefined;
116
- state?: number[] | undefined;
117
- city?: number[] | undefined;
116
+ country?: (number | undefined)[] | null | undefined;
117
+ state?: number[] | null | undefined;
118
+ city?: number[] | null | undefined;
118
119
  };
119
120
  }[];
120
121
  educationLevel: (import("../common").EducationLevel | undefined)[];
@@ -229,7 +230,7 @@ export declare const JobSchema: ObjectSchema<{
229
230
  currency: string;
230
231
  compensationType: NonNullable<import("../common").CompensationType | undefined>;
231
232
  isNegotiable: boolean;
232
- } | undefined;
233
+ } | null | undefined;
233
234
  reports: {
234
235
  createdAt: string;
235
236
  userId: string;
@@ -243,6 +244,7 @@ export declare const JobSchema: ObjectSchema<{
243
244
  updatedBy: string | undefined;
244
245
  updatedAt: number | undefined;
245
246
  }, import("yup").AnyObject, {
247
+ uniqueId: undefined;
246
248
  headline: undefined;
247
249
  slug: undefined;
248
250
  applicationReceivePreference: undefined;
@@ -283,7 +285,13 @@ export declare const JobSchema: ObjectSchema<{
283
285
  hasReported: undefined;
284
286
  ratePerHour: undefined;
285
287
  isPromoted: undefined;
286
- salaryRange: undefined;
288
+ salaryRange: {
289
+ currency: "USD";
290
+ min: undefined;
291
+ max: undefined;
292
+ compensationType: undefined;
293
+ isNegotiable: false;
294
+ };
287
295
  reports: "";
288
296
  termsAccepted: undefined;
289
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgZP,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqZP,CAAC;AAEhB,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -10,6 +10,10 @@ const yup_extended_1 = require("../yup-extended");
10
10
  const job_constant_1 = require("./job.constant");
11
11
  const utils_1 = require("./utils");
12
12
  exports.JobSchema = (0, yup_extended_1.object)({
13
+ /**
14
+ * Unique ID for the job post, it can be used by external systems to reference the job.
15
+ */
16
+ uniqueId: (0, yup_extended_1.string)().optional().label("Unique ID"),
13
17
  /*
14
18
  * Job headline defines the title of the job post.
15
19
  * It is required and should be a string with a minimum length of 10 characters and a maximum length of 100 characters.
@@ -67,7 +71,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
67
71
  */
68
72
  designation: (0, yup_extended_1.mixed)()
69
73
  .oneOfSchema([common_1.NameIdLogoSchema, common_1.OtherValueSchema])
70
- .required()
74
+ .optional()
71
75
  .label("Designation"),
72
76
  /*
73
77
  * Employment type defines the type of employment for the job post.
@@ -158,7 +162,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
158
162
  * For example, you can use libraries like `marked`, `markdown-it`, or `showdown` to convert Markdown to HTML.
159
163
  * Ensure that the HTML is sanitized to prevent XSS attacks and other security vulnerabilities.
160
164
  */
161
- descriptionHTML: (0, yup_extended_1.string)().required().label("Description HTML"),
165
+ descriptionHTML: (0, yup_extended_1.string)().optional().label("Description HTML"),
162
166
  /*
163
167
  * Location section
164
168
  * This section is required and can be used to specify the location of the job.
@@ -341,7 +345,7 @@ exports.JobSchema = (0, yup_extended_1.object)({
341
345
  .label("Compensation Type"),
342
346
  isNegotiable: (0, yup_extended_1.boolean)().optional().default(false).label("Is Negotiable"),
343
347
  })
344
- .default(undefined)
348
+ .nullable()
345
349
  .optional()
346
350
  .label("Salary Range"),
347
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;
@@ -101,6 +101,7 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
101
101
  preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
102
102
  })[] | undefined;
103
103
  }, import("yup").AnyObject, {
104
+ uniqueId: undefined;
104
105
  headline: undefined;
105
106
  slug: undefined;
106
107
  applicationReceivePreference: undefined;
@@ -141,7 +142,13 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
141
142
  hasReported: undefined;
142
143
  ratePerHour: undefined;
143
144
  isPromoted: undefined;
144
- salaryRange: undefined;
145
+ salaryRange: {
146
+ currency: "USD";
147
+ min: undefined;
148
+ max: undefined;
149
+ compensationType: undefined;
150
+ isNegotiable: false;
151
+ };
145
152
  reports: "";
146
153
  termsAccepted: undefined;
147
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, {