@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
@@ -134,10 +134,19 @@ export interface IAiPromptOutput {
134
134
  }
135
135
  export interface IAiPromptJobApplicationSummary {
136
136
  job: Partial<{
137
+ uniqueId?: string | undefined;
137
138
  externalApplyLink?: string | undefined;
138
139
  isOwner?: boolean | undefined;
139
140
  updatedBy?: string | undefined;
140
141
  updatedAt?: number | undefined;
142
+ designation?: {
143
+ logo?: string | undefined;
144
+ id: string;
145
+ name: string;
146
+ } | {
147
+ value: "others" | (string | undefined)[];
148
+ otherValue: string | string[];
149
+ } | undefined;
141
150
  skills?: ({
142
151
  logo?: string | undefined;
143
152
  id: string;
@@ -156,6 +165,7 @@ export interface IAiPromptJobApplicationSummary {
156
165
  }[] | undefined;
157
166
  applicantCount?: number | undefined;
158
167
  externalApplicationLinkClickCount?: number | undefined;
168
+ descriptionHTML?: string | undefined;
159
169
  experienceLevel?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined;
160
170
  contactEmail?: string | undefined;
161
171
  workingHoursPerWeek?: number | undefined;
@@ -260,7 +270,7 @@ export interface IAiPromptJobApplicationSummary {
260
270
  currency: string;
261
271
  compensationType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | undefined>;
262
272
  isNegotiable: boolean;
263
- } | undefined;
273
+ } | null | undefined;
264
274
  reports?: {
265
275
  createdAt: string;
266
276
  userId: string;
@@ -271,16 +281,16 @@ export interface IAiPromptJobApplicationSummary {
271
281
  id: string;
272
282
  shortId: string;
273
283
  locations: {
274
- state?: string | undefined;
275
- stateCode?: string | undefined;
276
- address: string;
284
+ address?: string | null | undefined;
285
+ state?: string | null | undefined;
286
+ stateCode?: string | null | undefined;
287
+ city?: string | null | undefined;
277
288
  country: string;
278
289
  countryCode: string;
279
- city: string;
280
290
  latLong: {
281
- country?: (number | undefined)[] | undefined;
282
- state?: number[] | undefined;
283
- city?: number[] | undefined;
291
+ country?: (number | undefined)[] | null | undefined;
292
+ state?: number[] | null | undefined;
293
+ city?: number[] | null | undefined;
284
294
  };
285
295
  }[];
286
296
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
@@ -353,18 +363,9 @@ export interface IAiPromptJobApplicationSummary {
353
363
  createdBy: string;
354
364
  createdAt: number;
355
365
  }, "slug" | "name" | "type" | "logo"> | undefined>;
356
- designation: NonNullable<{
357
- logo?: string | undefined;
358
- id: string;
359
- name: string;
360
- } | {
361
- value: "others" | (string | undefined)[];
362
- otherValue: string | string[];
363
- } | undefined>;
364
366
  employmentType: string;
365
367
  workMode: string;
366
368
  descriptionMarkdown: string;
367
- descriptionHTML: string;
368
369
  educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
369
370
  termsAccepted: NonNullable<boolean | undefined>;
370
371
  validity: {
@@ -444,16 +445,16 @@ export interface IAiPromptJobApplicationSummary {
444
445
  };
445
446
  jobId: string;
446
447
  location: {
447
- state?: string | undefined;
448
- stateCode?: string | undefined;
449
- address: string;
448
+ address?: string | null | undefined;
449
+ state?: string | null | undefined;
450
+ stateCode?: string | null | undefined;
451
+ city?: string | null | undefined;
450
452
  country: string;
451
453
  countryCode: string;
452
- city: string;
453
454
  latLong: {
454
- country?: (number | undefined)[] | undefined;
455
- state?: number[] | undefined;
456
- city?: number[] | undefined;
455
+ country?: (number | undefined)[] | null | undefined;
456
+ state?: number[] | null | undefined;
457
+ city?: number[] | null | undefined;
457
458
  };
458
459
  };
459
460
  resume: {
@@ -549,16 +550,16 @@ export interface IAiPromptJobApplicationSummary {
549
550
  isActive: boolean;
550
551
  };
551
552
  location: {
552
- state?: string | undefined;
553
- stateCode?: string | undefined;
554
- address: string;
553
+ address?: string | null | undefined;
554
+ state?: string | null | undefined;
555
+ stateCode?: string | null | undefined;
556
+ city?: string | null | undefined;
555
557
  country: string;
556
558
  countryCode: string;
557
- city: string;
558
559
  latLong: {
559
- country?: (number | undefined)[] | undefined;
560
- state?: number[] | undefined;
561
- city?: number[] | undefined;
560
+ country?: (number | undefined)[] | null | undefined;
561
+ state?: number[] | null | undefined;
562
+ city?: number[] | null | undefined;
562
563
  };
563
564
  };
564
565
  };
@@ -570,16 +571,16 @@ export interface IAiPromptJobApplicationSummary {
570
571
  isActive: boolean;
571
572
  };
572
573
  location: {
573
- state?: string | undefined;
574
- stateCode?: string | undefined;
575
- address: string;
574
+ address?: string | null | undefined;
575
+ state?: string | null | undefined;
576
+ stateCode?: string | null | undefined;
577
+ city?: string | null | undefined;
576
578
  country: string;
577
579
  countryCode: string;
578
- city: string;
579
580
  latLong: {
580
- country?: (number | undefined)[] | undefined;
581
- state?: number[] | undefined;
582
- city?: number[] | undefined;
581
+ country?: (number | undefined)[] | null | undefined;
582
+ state?: number[] | null | undefined;
583
+ city?: number[] | null | undefined;
583
584
  };
584
585
  };
585
586
  institute: NonNullable<{
@@ -823,10 +824,19 @@ export interface IGroupSchema {
823
824
  };
824
825
  }
825
826
  export interface IJobSchema {
827
+ uniqueId?: string | undefined;
826
828
  externalApplyLink?: string | undefined;
827
829
  isOwner?: boolean | undefined;
828
830
  updatedBy?: string | undefined;
829
831
  updatedAt?: number | undefined;
832
+ designation?: {
833
+ logo?: string | undefined;
834
+ id: string;
835
+ name: string;
836
+ } | {
837
+ value: "others" | (string | undefined)[];
838
+ otherValue: string | string[];
839
+ } | undefined;
830
840
  skills?: ({
831
841
  logo?: string | undefined;
832
842
  id: string;
@@ -845,6 +855,7 @@ export interface IJobSchema {
845
855
  }[] | undefined;
846
856
  applicantCount?: number | undefined;
847
857
  externalApplicationLinkClickCount?: number | undefined;
858
+ descriptionHTML?: string | undefined;
848
859
  experienceLevel?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined;
849
860
  contactEmail?: string | undefined;
850
861
  workingHoursPerWeek?: number | undefined;
@@ -949,7 +960,7 @@ export interface IJobSchema {
949
960
  currency: string;
950
961
  compensationType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | undefined>;
951
962
  isNegotiable: boolean;
952
- } | undefined;
963
+ } | null | undefined;
953
964
  reports?: {
954
965
  createdAt: string;
955
966
  userId: string;
@@ -960,16 +971,16 @@ export interface IJobSchema {
960
971
  id: string;
961
972
  shortId: string;
962
973
  locations: {
963
- state?: string | undefined;
964
- stateCode?: string | undefined;
965
- address: string;
974
+ address?: string | null | undefined;
975
+ state?: string | null | undefined;
976
+ stateCode?: string | null | undefined;
977
+ city?: string | null | undefined;
966
978
  country: string;
967
979
  countryCode: string;
968
- city: string;
969
980
  latLong: {
970
- country?: (number | undefined)[] | undefined;
971
- state?: number[] | undefined;
972
- city?: number[] | undefined;
981
+ country?: (number | undefined)[] | null | undefined;
982
+ state?: number[] | null | undefined;
983
+ city?: number[] | null | undefined;
973
984
  };
974
985
  }[];
975
986
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
@@ -1042,18 +1053,9 @@ export interface IJobSchema {
1042
1053
  createdBy: string;
1043
1054
  createdAt: number;
1044
1055
  }, "slug" | "name" | "type" | "logo"> | undefined>;
1045
- designation: NonNullable<{
1046
- logo?: string | undefined;
1047
- id: string;
1048
- name: string;
1049
- } | {
1050
- value: "others" | (string | undefined)[];
1051
- otherValue: string | string[];
1052
- } | undefined>;
1053
1056
  employmentType: string;
1054
1057
  workMode: string;
1055
1058
  descriptionMarkdown: string;
1056
- descriptionHTML: string;
1057
1059
  educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
1058
1060
  termsAccepted: NonNullable<boolean | undefined>;
1059
1061
  validity: {
@@ -1178,16 +1180,16 @@ export interface IJobApplicationSchema {
1178
1180
  };
1179
1181
  jobId: string;
1180
1182
  location: {
1181
- state?: string | undefined;
1182
- stateCode?: string | undefined;
1183
- address: string;
1183
+ address?: string | null | undefined;
1184
+ state?: string | null | undefined;
1185
+ stateCode?: string | null | undefined;
1186
+ city?: string | null | undefined;
1184
1187
  country: string;
1185
1188
  countryCode: string;
1186
- city: string;
1187
1189
  latLong: {
1188
- country?: (number | undefined)[] | undefined;
1189
- state?: number[] | undefined;
1190
- city?: number[] | undefined;
1190
+ country?: (number | undefined)[] | null | undefined;
1191
+ state?: number[] | null | undefined;
1192
+ city?: number[] | null | undefined;
1191
1193
  };
1192
1194
  };
1193
1195
  resume: {
@@ -1283,16 +1285,16 @@ export interface IJobApplicationSchema {
1283
1285
  isActive: boolean;
1284
1286
  };
1285
1287
  location: {
1286
- state?: string | undefined;
1287
- stateCode?: string | undefined;
1288
- address: string;
1288
+ address?: string | null | undefined;
1289
+ state?: string | null | undefined;
1290
+ stateCode?: string | null | undefined;
1291
+ city?: string | null | undefined;
1289
1292
  country: string;
1290
1293
  countryCode: string;
1291
- city: string;
1292
1294
  latLong: {
1293
- country?: (number | undefined)[] | undefined;
1294
- state?: number[] | undefined;
1295
- city?: number[] | undefined;
1295
+ country?: (number | undefined)[] | null | undefined;
1296
+ state?: number[] | null | undefined;
1297
+ city?: number[] | null | undefined;
1296
1298
  };
1297
1299
  };
1298
1300
  };
@@ -1304,16 +1306,16 @@ export interface IJobApplicationSchema {
1304
1306
  isActive: boolean;
1305
1307
  };
1306
1308
  location: {
1307
- state?: string | undefined;
1308
- stateCode?: string | undefined;
1309
- address: string;
1309
+ address?: string | null | undefined;
1310
+ state?: string | null | undefined;
1311
+ stateCode?: string | null | undefined;
1312
+ city?: string | null | undefined;
1310
1313
  country: string;
1311
1314
  countryCode: string;
1312
- city: string;
1313
1315
  latLong: {
1314
- country?: (number | undefined)[] | undefined;
1315
- state?: number[] | undefined;
1316
- city?: number[] | undefined;
1316
+ country?: (number | undefined)[] | null | undefined;
1317
+ state?: number[] | null | undefined;
1318
+ city?: number[] | null | undefined;
1317
1319
  };
1318
1320
  };
1319
1321
  institute: NonNullable<{
@@ -1403,6 +1405,14 @@ export interface IJobApplicationSchema {
1403
1405
  };
1404
1406
  }
1405
1407
  export interface IJobRoleTemplateSchema {
1408
+ designation?: {
1409
+ logo?: string | undefined;
1410
+ id: string;
1411
+ name: string;
1412
+ } | {
1413
+ value: "others" | (string | undefined)[];
1414
+ otherValue: string | string[];
1415
+ } | undefined;
1406
1416
  skills?: ({
1407
1417
  logo?: string | undefined;
1408
1418
  id: string;
@@ -1494,30 +1504,22 @@ export interface IJobRoleTemplateSchema {
1494
1504
  })[] | undefined;
1495
1505
  headline: string;
1496
1506
  description: string;
1497
- designation: NonNullable<{
1498
- logo?: string | undefined;
1499
- id: string;
1500
- name: string;
1501
- } | {
1502
- value: "others" | (string | undefined)[];
1503
- otherValue: string | string[];
1504
- } | undefined>;
1505
1507
  educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
1506
1508
  }
1507
1509
  export interface ILanguageSchema {
1508
1510
  name: string;
1509
1511
  }
1510
1512
  export interface ILocationSchema {
1511
- state?: string | undefined;
1512
- stateCode?: string | undefined;
1513
- address: string;
1513
+ address?: string | null | undefined;
1514
+ state?: string | null | undefined;
1515
+ stateCode?: string | null | undefined;
1516
+ city?: string | null | undefined;
1514
1517
  country: string;
1515
1518
  countryCode: string;
1516
- city: string;
1517
1519
  latLong: {
1518
- country?: (number | undefined)[] | undefined;
1519
- state?: number[] | undefined;
1520
- city?: number[] | undefined;
1520
+ country?: (number | undefined)[] | null | undefined;
1521
+ state?: number[] | null | undefined;
1522
+ city?: number[] | null | undefined;
1521
1523
  };
1522
1524
  }
1523
1525
  export interface IPageSchema {
@@ -1693,16 +1695,16 @@ export interface IResumeGeneralInfoSectionSchema {
1693
1695
  };
1694
1696
  };
1695
1697
  location: {
1696
- state?: string | undefined;
1697
- stateCode?: string | undefined;
1698
- address: string;
1698
+ address?: string | null | undefined;
1699
+ state?: string | null | undefined;
1700
+ stateCode?: string | null | undefined;
1701
+ city?: string | null | undefined;
1699
1702
  country: string;
1700
1703
  countryCode: string;
1701
- city: string;
1702
1704
  latLong: {
1703
- country?: (number | undefined)[] | undefined;
1704
- state?: number[] | undefined;
1705
- city?: number[] | undefined;
1705
+ country?: (number | undefined)[] | null | undefined;
1706
+ state?: number[] | null | undefined;
1707
+ city?: number[] | null | undefined;
1706
1708
  };
1707
1709
  };
1708
1710
  }
@@ -1837,16 +1839,16 @@ export interface IResumeSchemaV2 {
1837
1839
  isActive: boolean;
1838
1840
  };
1839
1841
  location: {
1840
- state?: string | undefined;
1841
- stateCode?: string | undefined;
1842
- address: string;
1842
+ address?: string | null | undefined;
1843
+ state?: string | null | undefined;
1844
+ stateCode?: string | null | undefined;
1845
+ city?: string | null | undefined;
1843
1846
  country: string;
1844
1847
  countryCode: string;
1845
- city: string;
1846
1848
  latLong: {
1847
- country?: (number | undefined)[] | undefined;
1848
- state?: number[] | undefined;
1849
- city?: number[] | undefined;
1849
+ country?: (number | undefined)[] | null | undefined;
1850
+ state?: number[] | null | undefined;
1851
+ city?: number[] | null | undefined;
1850
1852
  };
1851
1853
  };
1852
1854
  }[] | {
@@ -1857,16 +1859,16 @@ export interface IResumeSchemaV2 {
1857
1859
  isActive: boolean;
1858
1860
  };
1859
1861
  location: {
1860
- state?: string | undefined;
1861
- stateCode?: string | undefined;
1862
- address: string;
1862
+ address?: string | null | undefined;
1863
+ state?: string | null | undefined;
1864
+ stateCode?: string | null | undefined;
1865
+ city?: string | null | undefined;
1863
1866
  country: string;
1864
1867
  countryCode: string;
1865
- city: string;
1866
1868
  latLong: {
1867
- country?: (number | undefined)[] | undefined;
1868
- state?: number[] | undefined;
1869
- city?: number[] | undefined;
1869
+ country?: (number | undefined)[] | null | undefined;
1870
+ state?: number[] | null | undefined;
1871
+ city?: number[] | null | undefined;
1870
1872
  };
1871
1873
  };
1872
1874
  institute: NonNullable<{
@@ -2020,16 +2022,16 @@ export interface IResumeSchemaV2 {
2020
2022
  };
2021
2023
  };
2022
2024
  location: {
2023
- state?: string | undefined;
2024
- stateCode?: string | undefined;
2025
- address: string;
2025
+ address?: string | null | undefined;
2026
+ state?: string | null | undefined;
2027
+ stateCode?: string | null | undefined;
2028
+ city?: string | null | undefined;
2026
2029
  country: string;
2027
2030
  countryCode: string;
2028
- city: string;
2029
2031
  latLong: {
2030
- country?: (number | undefined)[] | undefined;
2031
- state?: number[] | undefined;
2032
- city?: number[] | undefined;
2032
+ country?: (number | undefined)[] | null | undefined;
2033
+ state?: number[] | null | undefined;
2034
+ city?: number[] | null | undefined;
2033
2035
  };
2034
2036
  };
2035
2037
  } | null;
@@ -2099,16 +2101,16 @@ export interface INewResumePromptSchema {
2099
2101
  };
2100
2102
  };
2101
2103
  location: {
2102
- state?: string | undefined;
2103
- stateCode?: string | undefined;
2104
- address: string;
2104
+ address?: string | null | undefined;
2105
+ state?: string | null | undefined;
2106
+ stateCode?: string | null | undefined;
2107
+ city?: string | null | undefined;
2105
2108
  country: string;
2106
2109
  countryCode: string;
2107
- city: string;
2108
2110
  latLong: {
2109
- country?: (number | undefined)[] | undefined;
2110
- state?: number[] | undefined;
2111
- city?: number[] | undefined;
2111
+ country?: (number | undefined)[] | null | undefined;
2112
+ state?: number[] | null | undefined;
2113
+ city?: number[] | null | undefined;
2112
2114
  };
2113
2115
  };
2114
2116
  workExperiences: {
@@ -2194,16 +2196,16 @@ export interface INewResumePromptSchema {
2194
2196
  isActive: boolean;
2195
2197
  };
2196
2198
  location: {
2197
- state?: string | undefined;
2198
- stateCode?: string | undefined;
2199
- address: string;
2199
+ address?: string | null | undefined;
2200
+ state?: string | null | undefined;
2201
+ stateCode?: string | null | undefined;
2202
+ city?: string | null | undefined;
2200
2203
  country: string;
2201
2204
  countryCode: string;
2202
- city: string;
2203
2205
  latLong: {
2204
- country?: (number | undefined)[] | undefined;
2205
- state?: number[] | undefined;
2206
- city?: number[] | undefined;
2206
+ country?: (number | undefined)[] | null | undefined;
2207
+ state?: number[] | null | undefined;
2208
+ city?: number[] | null | undefined;
2207
2209
  };
2208
2210
  };
2209
2211
  }[];
@@ -2215,16 +2217,16 @@ export interface INewResumePromptSchema {
2215
2217
  isActive: boolean;
2216
2218
  };
2217
2219
  location: {
2218
- state?: string | undefined;
2219
- stateCode?: string | undefined;
2220
- address: string;
2220
+ address?: string | null | undefined;
2221
+ state?: string | null | undefined;
2222
+ stateCode?: string | null | undefined;
2223
+ city?: string | null | undefined;
2221
2224
  country: string;
2222
2225
  countryCode: string;
2223
- city: string;
2224
2226
  latLong: {
2225
- country?: (number | undefined)[] | undefined;
2226
- state?: number[] | undefined;
2227
- city?: number[] | undefined;
2227
+ country?: (number | undefined)[] | null | undefined;
2228
+ state?: number[] | null | undefined;
2229
+ city?: number[] | null | undefined;
2228
2230
  };
2229
2231
  };
2230
2232
  institute: NonNullable<{
@@ -2419,16 +2421,16 @@ export interface IUpdateEducationsSchema {
2419
2421
  isActive: boolean;
2420
2422
  };
2421
2423
  location: {
2422
- state?: string | undefined;
2423
- stateCode?: string | undefined;
2424
- address: string;
2424
+ address?: string | null | undefined;
2425
+ state?: string | null | undefined;
2426
+ stateCode?: string | null | undefined;
2427
+ city?: string | null | undefined;
2425
2428
  country: string;
2426
2429
  countryCode: string;
2427
- city: string;
2428
2430
  latLong: {
2429
- country?: (number | undefined)[] | undefined;
2430
- state?: number[] | undefined;
2431
- city?: number[] | undefined;
2431
+ country?: (number | undefined)[] | null | undefined;
2432
+ state?: number[] | null | undefined;
2433
+ city?: number[] | null | undefined;
2432
2434
  };
2433
2435
  };
2434
2436
  institute: NonNullable<{
@@ -2665,16 +2667,16 @@ export interface IUpdateWorkExperiencesSchema {
2665
2667
  isActive: boolean;
2666
2668
  };
2667
2669
  location: {
2668
- state?: string | undefined;
2669
- stateCode?: string | undefined;
2670
- address: string;
2670
+ address?: string | null | undefined;
2671
+ state?: string | null | undefined;
2672
+ stateCode?: string | null | undefined;
2673
+ city?: string | null | undefined;
2671
2674
  country: string;
2672
2675
  countryCode: string;
2673
- city: string;
2674
2676
  latLong: {
2675
- country?: (number | undefined)[] | undefined;
2676
- state?: number[] | undefined;
2677
- city?: number[] | undefined;
2677
+ country?: (number | undefined)[] | null | undefined;
2678
+ state?: number[] | null | undefined;
2679
+ city?: number[] | null | undefined;
2678
2680
  };
2679
2681
  };
2680
2682
  }[];
@@ -2776,16 +2778,16 @@ export interface IUserSchema {
2776
2778
  };
2777
2779
  };
2778
2780
  location: {
2779
- state?: string | undefined;
2780
- stateCode?: string | undefined;
2781
- address: string;
2781
+ address?: string | null | undefined;
2782
+ state?: string | null | undefined;
2783
+ stateCode?: string | null | undefined;
2784
+ city?: string | null | undefined;
2782
2785
  country: string;
2783
2786
  countryCode: string;
2784
- city: string;
2785
2787
  latLong: {
2786
- country?: (number | undefined)[] | undefined;
2787
- state?: number[] | undefined;
2788
- city?: number[] | undefined;
2788
+ country?: (number | undefined)[] | null | undefined;
2789
+ state?: number[] | null | undefined;
2790
+ city?: number[] | null | undefined;
2789
2791
  };
2790
2792
  };
2791
2793
  workExperiences: {
@@ -2871,16 +2873,16 @@ export interface IUserSchema {
2871
2873
  isActive: boolean;
2872
2874
  };
2873
2875
  location: {
2874
- state?: string | undefined;
2875
- stateCode?: string | undefined;
2876
- address: string;
2876
+ address?: string | null | undefined;
2877
+ state?: string | null | undefined;
2878
+ stateCode?: string | null | undefined;
2879
+ city?: string | null | undefined;
2877
2880
  country: string;
2878
2881
  countryCode: string;
2879
- city: string;
2880
2882
  latLong: {
2881
- country?: (number | undefined)[] | undefined;
2882
- state?: number[] | undefined;
2883
- city?: number[] | undefined;
2883
+ country?: (number | undefined)[] | null | undefined;
2884
+ state?: number[] | null | undefined;
2885
+ city?: number[] | null | undefined;
2884
2886
  };
2885
2887
  };
2886
2888
  }[];
@@ -2892,16 +2894,16 @@ export interface IUserSchema {
2892
2894
  isActive: boolean;
2893
2895
  };
2894
2896
  location: {
2895
- state?: string | undefined;
2896
- stateCode?: string | undefined;
2897
- address: string;
2897
+ address?: string | null | undefined;
2898
+ state?: string | null | undefined;
2899
+ stateCode?: string | null | undefined;
2900
+ city?: string | null | undefined;
2898
2901
  country: string;
2899
2902
  countryCode: string;
2900
- city: string;
2901
2903
  latLong: {
2902
- country?: (number | undefined)[] | undefined;
2903
- state?: number[] | undefined;
2904
- city?: number[] | undefined;
2904
+ country?: (number | undefined)[] | null | undefined;
2905
+ state?: number[] | null | undefined;
2906
+ city?: number[] | null | undefined;
2905
2907
  };
2906
2908
  };
2907
2909
  institute: NonNullable<{
@@ -3042,16 +3044,16 @@ export interface IUserProfileOverview {
3042
3044
  email: string;
3043
3045
  experienceLevel: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel;
3044
3046
  location?: {
3045
- state?: string | undefined;
3046
- stateCode?: string | undefined;
3047
- address: string;
3047
+ address?: string | null | undefined;
3048
+ state?: string | null | undefined;
3049
+ stateCode?: string | null | undefined;
3050
+ city?: string | null | undefined;
3048
3051
  country: string;
3049
3052
  countryCode: string;
3050
- city: string;
3051
3053
  latLong: {
3052
- country?: (number | undefined)[] | undefined;
3053
- state?: number[] | undefined;
3054
- city?: number[] | undefined;
3054
+ country?: (number | undefined)[] | null | undefined;
3055
+ state?: number[] | null | undefined;
3056
+ city?: number[] | null | undefined;
3055
3057
  };
3056
3058
  } | undefined;
3057
3059
  emailVerified?: boolean | undefined;
@@ -3147,16 +3149,16 @@ export interface IUserProfileOverview {
3147
3149
  isActive: boolean;
3148
3150
  };
3149
3151
  location: {
3150
- state?: string | undefined;
3151
- stateCode?: string | undefined;
3152
- address: string;
3152
+ address?: string | null | undefined;
3153
+ state?: string | null | undefined;
3154
+ stateCode?: string | null | undefined;
3155
+ city?: string | null | undefined;
3153
3156
  country: string;
3154
3157
  countryCode: string;
3155
- city: string;
3156
3158
  latLong: {
3157
- country?: (number | undefined)[] | undefined;
3158
- state?: number[] | undefined;
3159
- city?: number[] | undefined;
3159
+ country?: (number | undefined)[] | null | undefined;
3160
+ state?: number[] | null | undefined;
3161
+ city?: number[] | null | undefined;
3160
3162
  };
3161
3163
  };
3162
3164
  } | undefined;
@@ -3168,16 +3170,16 @@ export interface IUserProfileOverview {
3168
3170
  isActive: boolean;
3169
3171
  };
3170
3172
  location: {
3171
- state?: string | undefined;
3172
- stateCode?: string | undefined;
3173
- address: string;
3173
+ address?: string | null | undefined;
3174
+ state?: string | null | undefined;
3175
+ stateCode?: string | null | undefined;
3176
+ city?: string | null | undefined;
3174
3177
  country: string;
3175
3178
  countryCode: string;
3176
- city: string;
3177
3179
  latLong: {
3178
- country?: (number | undefined)[] | undefined;
3179
- state?: number[] | undefined;
3180
- city?: number[] | undefined;
3180
+ country?: (number | undefined)[] | null | undefined;
3181
+ state?: number[] | null | undefined;
3182
+ city?: number[] | null | undefined;
3181
3183
  };
3182
3184
  };
3183
3185
  institute: NonNullable<{
@@ -3299,16 +3301,16 @@ export interface IEducationSchema {
3299
3301
  isActive: boolean;
3300
3302
  };
3301
3303
  location: {
3302
- state?: string | undefined;
3303
- stateCode?: string | undefined;
3304
- address: string;
3304
+ address?: string | null | undefined;
3305
+ state?: string | null | undefined;
3306
+ stateCode?: string | null | undefined;
3307
+ city?: string | null | undefined;
3305
3308
  country: string;
3306
3309
  countryCode: string;
3307
- city: string;
3308
3310
  latLong: {
3309
- country?: (number | undefined)[] | undefined;
3310
- state?: number[] | undefined;
3311
- city?: number[] | undefined;
3311
+ country?: (number | undefined)[] | null | undefined;
3312
+ state?: number[] | null | undefined;
3313
+ city?: number[] | null | undefined;
3312
3314
  };
3313
3315
  };
3314
3316
  institute: NonNullable<{
@@ -3418,16 +3420,16 @@ export interface IUserGeneralDetailSchema {
3418
3420
  };
3419
3421
  };
3420
3422
  location: {
3421
- state?: string | undefined;
3422
- stateCode?: string | undefined;
3423
- address: string;
3423
+ address?: string | null | undefined;
3424
+ state?: string | null | undefined;
3425
+ stateCode?: string | null | undefined;
3426
+ city?: string | null | undefined;
3424
3427
  country: string;
3425
3428
  countryCode: string;
3426
- city: string;
3427
3429
  latLong: {
3428
- country?: (number | undefined)[] | undefined;
3429
- state?: number[] | undefined;
3430
- city?: number[] | undefined;
3430
+ country?: (number | undefined)[] | null | undefined;
3431
+ state?: number[] | null | undefined;
3432
+ city?: number[] | null | undefined;
3431
3433
  };
3432
3434
  };
3433
3435
  }
@@ -3569,16 +3571,16 @@ export interface IWorkExperienceSchema {
3569
3571
  isActive: boolean;
3570
3572
  };
3571
3573
  location: {
3572
- state?: string | undefined;
3573
- stateCode?: string | undefined;
3574
- address: string;
3574
+ address?: string | null | undefined;
3575
+ state?: string | null | undefined;
3576
+ stateCode?: string | null | undefined;
3577
+ city?: string | null | undefined;
3575
3578
  country: string;
3576
3579
  countryCode: string;
3577
- city: string;
3578
3580
  latLong: {
3579
- country?: (number | undefined)[] | undefined;
3580
- state?: number[] | undefined;
3581
- city?: number[] | undefined;
3581
+ country?: (number | undefined)[] | null | undefined;
3582
+ state?: number[] | null | undefined;
3583
+ city?: number[] | null | undefined;
3582
3584
  };
3583
3585
  };
3584
3586
  }