@abcagency/hire-control-sdk 1.0.5 → 1.0.7
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/dist/types/event.d.ts +1 -0
- package/dist/types/listing.d.ts +2 -1
- package/package.json +1 -1
- package/types/event.ts +1 -0
- package/types/listing.ts +105 -104
package/dist/types/event.d.ts
CHANGED
package/dist/types/listing.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export type ContentSection = {
|
|
|
56
56
|
sectionType: SectionType;
|
|
57
57
|
sortIndex: number;
|
|
58
58
|
};
|
|
59
|
-
export type SectionType =
|
|
59
|
+
export type SectionType = "default" | "company" | "category" | "categoryClass" | "entity" | "customVar" | "region";
|
|
60
60
|
export type ListingEntity = {
|
|
61
61
|
id: number;
|
|
62
62
|
listingId: number;
|
|
@@ -85,6 +85,7 @@ export type Recruiter = {
|
|
|
85
85
|
};
|
|
86
86
|
export type ListingFields = {
|
|
87
87
|
posted?: string;
|
|
88
|
+
title: string;
|
|
88
89
|
subTitle?: string;
|
|
89
90
|
education?: string;
|
|
90
91
|
position?: string;
|
package/package.json
CHANGED
package/types/event.ts
CHANGED
package/types/listing.ts
CHANGED
|
@@ -1,125 +1,126 @@
|
|
|
1
1
|
export type Listing = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
2
|
+
id: number;
|
|
3
|
+
fields?: ListingFields;
|
|
4
|
+
entityId?: number;
|
|
5
|
+
applyUrl?: string;
|
|
6
|
+
applyOnline?: number;
|
|
7
|
+
detailsUrl?: string;
|
|
8
|
+
displayOnSite: number;
|
|
9
|
+
displayRecruiter: number;
|
|
10
|
+
recruiterId?: number;
|
|
11
|
+
description1?: string;
|
|
12
|
+
description2?: string;
|
|
13
|
+
description3?: string;
|
|
14
|
+
description4?: string;
|
|
15
|
+
eoeStatement?: string;
|
|
16
|
+
custom1: string;
|
|
17
|
+
custom2: string;
|
|
18
|
+
custom3: string;
|
|
19
|
+
custom4: string;
|
|
20
|
+
custom5: string;
|
|
21
|
+
customFlag1: number;
|
|
22
|
+
slug?: string;
|
|
23
|
+
recruiter?: Recruiter;
|
|
24
|
+
entity?: ListingEntity;
|
|
25
|
+
contentSections?: ContentSection[];
|
|
26
|
+
similarListings: SimilarListing[];
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export type SimilarListing = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
30
|
+
id: number;
|
|
31
|
+
city: string;
|
|
32
|
+
companyName: string;
|
|
33
|
+
companyId: number;
|
|
34
|
+
domain: string;
|
|
35
|
+
refreshedPubDate?: Date;
|
|
36
|
+
clientJobUrl: string;
|
|
37
|
+
refreshNum: number;
|
|
38
|
+
requestUri: string;
|
|
39
|
+
schedule: string;
|
|
40
|
+
scheduleId?: number;
|
|
41
|
+
shift: string;
|
|
42
|
+
sponsored: boolean;
|
|
43
|
+
stateAbbrev: string;
|
|
44
|
+
subTitle: string;
|
|
45
|
+
title: string;
|
|
46
|
+
uniqueId: string;
|
|
47
|
+
zip: string;
|
|
48
|
+
slug?: string;
|
|
49
|
+
dateCreated: Date;
|
|
50
|
+
categoryId: number;
|
|
51
|
+
categoryClassId: number;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
export type ContentSection = {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
title?: string;
|
|
56
|
+
contentFormatted?: string;
|
|
57
|
+
contentRaw?: string;
|
|
58
|
+
sectionType: SectionType;
|
|
59
|
+
sortIndex: number;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
export type SectionType =
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
export type SectionType =
|
|
63
|
+
| "default"
|
|
64
|
+
| "company"
|
|
65
|
+
| "category"
|
|
66
|
+
| "categoryClass"
|
|
67
|
+
| "entity"
|
|
68
|
+
| "customVar"
|
|
69
|
+
| "region";
|
|
70
70
|
|
|
71
71
|
export type ListingEntity = {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
id: number;
|
|
73
|
+
listingId: number;
|
|
74
|
+
latitude: number;
|
|
75
|
+
longitude: number;
|
|
76
|
+
entityDisplayName?: string;
|
|
77
|
+
address?: Address;
|
|
78
|
+
travelTime?: string;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
export type Address = {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
location?: string;
|
|
83
|
+
street?: string;
|
|
84
|
+
city?: string;
|
|
85
|
+
state?: string;
|
|
86
|
+
zip?: string;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
export type Recruiter = {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
id?: number;
|
|
91
|
+
title?: string;
|
|
92
|
+
email?: string;
|
|
93
|
+
firstName?: string;
|
|
94
|
+
lastName?: string;
|
|
95
|
+
linkedInUrl?: string;
|
|
96
|
+
mobilePhone?: string;
|
|
97
|
+
headshot?: string;
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
export type ListingFields = {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
101
|
+
posted?: string;
|
|
102
|
+
title: string;
|
|
103
|
+
subTitle?: string;
|
|
104
|
+
education?: string;
|
|
105
|
+
position?: string;
|
|
106
|
+
category?: string;
|
|
107
|
+
categoryClass?: string;
|
|
108
|
+
shift?: string;
|
|
109
|
+
cityState?: string;
|
|
110
|
+
city?: string;
|
|
111
|
+
state?: string;
|
|
112
|
+
entityId: number;
|
|
113
|
+
entityName?: string;
|
|
114
|
+
schedule?: string;
|
|
115
|
+
customFlag1?: number;
|
|
116
|
+
custom1: string;
|
|
117
|
+
custom2: string;
|
|
118
|
+
custom3: string;
|
|
119
|
+
custom4: string;
|
|
120
|
+
custom5: string;
|
|
121
|
+
bonus?: number;
|
|
122
|
+
remote?: number;
|
|
123
|
+
useClientJobUrl?: boolean;
|
|
124
|
+
dateCreated: Date;
|
|
125
|
+
dateLastEdited?: Date;
|
|
125
126
|
};
|