@the-inkwell/shared 0.1.142 → 0.1.144

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.142",
3
+ "version": "0.1.144",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -56,8 +56,35 @@ export type AdminPersonUpdateInput = Pick<
56
56
  'firstName' | 'lastName' | 'email' | 'phone' | 'linkedInUrl' | 'photoUrl'
57
57
  >
58
58
  export type AdminPersonUpdateParams = Pick<AdminPerson, 'id'>
59
- export type AdminPersonUpdateResponse = Pick<AdminPerson, 'id'>
59
+ export type AdminPersonUpdateResponse =
60
+ | Pick<AdminPerson, 'id'>
61
+ | { error: string }
60
62
 
61
63
  // delete
62
64
 
63
65
  export type AdminPersonDeleteParams = Pick<AdminPerson, 'id'>
66
+
67
+ // resume upload and parsing
68
+ export type AdminPersonResumeUploadResponse = { resumeUrl: string }
69
+
70
+ export type AdminPersonResumeParsingResponse = {
71
+ data: {
72
+ firstName: string | null
73
+ lastName: string | null
74
+ email: string | null
75
+ phone: string | null
76
+ linkedInUrl: string | null
77
+ city: string | null
78
+ state: string | null
79
+ country: string | null
80
+ postalCode: string | null
81
+ website: string | null
82
+ gender: string | null
83
+ dateOfBirth: string | null
84
+ currentJobTitle: string | null
85
+ yearsOfExperience: number | null
86
+ skills: string[] | null
87
+ certifications: string[] | null
88
+ industry: string | null
89
+ }
90
+ }