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