@viewcandidate/client 0.0.1
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/README.md +185 -0
- package/fesm2022/viewcandidate-client.mjs +1254 -0
- package/fesm2022/viewcandidate-client.mjs.map +1 -0
- package/index.d.ts +1241 -0
- package/package.json +34 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1241 @@
|
|
|
1
|
+
import { HttpParameterCodec, HttpHeaders, HttpParams, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* ViewCandidate API
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
interface LoginDto {
|
|
16
|
+
/**
|
|
17
|
+
* User email address
|
|
18
|
+
*/
|
|
19
|
+
email: string;
|
|
20
|
+
/**
|
|
21
|
+
* User password
|
|
22
|
+
*/
|
|
23
|
+
password: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* ViewCandidate API
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
*
|
|
31
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
32
|
+
* https://openapi-generator.tech
|
|
33
|
+
* Do not edit the class manually.
|
|
34
|
+
*/
|
|
35
|
+
interface ResendVerificationDto {
|
|
36
|
+
/**
|
|
37
|
+
* User email address
|
|
38
|
+
*/
|
|
39
|
+
email: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* ViewCandidate API
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
48
|
+
* https://openapi-generator.tech
|
|
49
|
+
* Do not edit the class manually.
|
|
50
|
+
*/
|
|
51
|
+
interface SignupDto {
|
|
52
|
+
/**
|
|
53
|
+
* User full name
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* User email address
|
|
58
|
+
*/
|
|
59
|
+
email: string;
|
|
60
|
+
/**
|
|
61
|
+
* User password (min 8 characters)
|
|
62
|
+
*/
|
|
63
|
+
password: string;
|
|
64
|
+
/**
|
|
65
|
+
* Organisation name
|
|
66
|
+
*/
|
|
67
|
+
organisationName: string;
|
|
68
|
+
/**
|
|
69
|
+
* Brand colour in hex format (e.g., #FF5733)
|
|
70
|
+
*/
|
|
71
|
+
brandColour?: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* ViewCandidate API
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
80
|
+
* https://openapi-generator.tech
|
|
81
|
+
* Do not edit the class manually.
|
|
82
|
+
*/
|
|
83
|
+
interface VerifyEmailDto {
|
|
84
|
+
/**
|
|
85
|
+
* Email verification token
|
|
86
|
+
*/
|
|
87
|
+
token: string;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
92
|
+
*/
|
|
93
|
+
type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
94
|
+
/**
|
|
95
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
96
|
+
*/
|
|
97
|
+
type ParamStyle = StandardParamStyle | string;
|
|
98
|
+
/**
|
|
99
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
100
|
+
*/
|
|
101
|
+
type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
102
|
+
/**
|
|
103
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
104
|
+
*/
|
|
105
|
+
type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
106
|
+
/**
|
|
107
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
108
|
+
*/
|
|
109
|
+
type DataType = StandardDataType | string;
|
|
110
|
+
/**
|
|
111
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
112
|
+
*/
|
|
113
|
+
type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
114
|
+
type DataFormat = StandardDataFormat | string;
|
|
115
|
+
/**
|
|
116
|
+
* The parameter to encode.
|
|
117
|
+
*/
|
|
118
|
+
interface Param {
|
|
119
|
+
name: string;
|
|
120
|
+
value: unknown;
|
|
121
|
+
in: ParamLocation;
|
|
122
|
+
style: ParamStyle;
|
|
123
|
+
explode: boolean;
|
|
124
|
+
dataType: DataType;
|
|
125
|
+
dataFormat: DataFormat | undefined;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
interface ConfigurationParameters {
|
|
129
|
+
/**
|
|
130
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
131
|
+
*/
|
|
132
|
+
apiKeys?: {
|
|
133
|
+
[key: string]: string;
|
|
134
|
+
};
|
|
135
|
+
username?: string;
|
|
136
|
+
password?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
139
|
+
*/
|
|
140
|
+
accessToken?: string | (() => string);
|
|
141
|
+
basePath?: string;
|
|
142
|
+
withCredentials?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Takes care of encoding query- and form-parameters.
|
|
145
|
+
*/
|
|
146
|
+
encoder?: HttpParameterCodec;
|
|
147
|
+
/**
|
|
148
|
+
* Override the default method for encoding path parameters in various
|
|
149
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
150
|
+
* <p>
|
|
151
|
+
* See {@link README.md} for more details
|
|
152
|
+
* </p>
|
|
153
|
+
*/
|
|
154
|
+
encodeParam?: (param: Param) => string;
|
|
155
|
+
/**
|
|
156
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
157
|
+
* document. They should map to the value used for authentication
|
|
158
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
159
|
+
*/
|
|
160
|
+
credentials?: {
|
|
161
|
+
[key: string]: string | (() => string | undefined);
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
declare class Configuration {
|
|
165
|
+
/**
|
|
166
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
167
|
+
*/
|
|
168
|
+
apiKeys?: {
|
|
169
|
+
[key: string]: string;
|
|
170
|
+
};
|
|
171
|
+
username?: string;
|
|
172
|
+
password?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
175
|
+
*/
|
|
176
|
+
accessToken?: string | (() => string);
|
|
177
|
+
basePath?: string;
|
|
178
|
+
withCredentials?: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Takes care of encoding query- and form-parameters.
|
|
181
|
+
*/
|
|
182
|
+
encoder?: HttpParameterCodec;
|
|
183
|
+
/**
|
|
184
|
+
* Encoding of various path parameter
|
|
185
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
186
|
+
* <p>
|
|
187
|
+
* See {@link README.md} for more details
|
|
188
|
+
* </p>
|
|
189
|
+
*/
|
|
190
|
+
encodeParam: (param: Param) => string;
|
|
191
|
+
/**
|
|
192
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
193
|
+
* document. They should map to the value used for authentication
|
|
194
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
195
|
+
*/
|
|
196
|
+
credentials: {
|
|
197
|
+
[key: string]: string | (() => string | undefined);
|
|
198
|
+
};
|
|
199
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
|
|
200
|
+
/**
|
|
201
|
+
* Select the correct content-type to use for a request.
|
|
202
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
203
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
204
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
205
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
206
|
+
*/
|
|
207
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* Select the correct accept content-type to use for a request.
|
|
210
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
211
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
212
|
+
* @param accepts - the array of content types that are available for selection.
|
|
213
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
214
|
+
*/
|
|
215
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* Check if the given MIME is a JSON MIME.
|
|
218
|
+
* JSON MIME examples:
|
|
219
|
+
* application/json
|
|
220
|
+
* application/json; charset=UTF8
|
|
221
|
+
* APPLICATION/JSON
|
|
222
|
+
* application/vnd.company+json
|
|
223
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
224
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
225
|
+
*/
|
|
226
|
+
isJsonMime(mime: string): boolean;
|
|
227
|
+
lookupCredential(key: string): string | undefined;
|
|
228
|
+
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
229
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
|
|
230
|
+
private defaultEncodeParam;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* ViewCandidate API
|
|
235
|
+
*
|
|
236
|
+
*
|
|
237
|
+
*
|
|
238
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
239
|
+
* https://openapi-generator.tech
|
|
240
|
+
* Do not edit the class manually.
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
declare class BaseService {
|
|
244
|
+
protected basePath: string;
|
|
245
|
+
defaultHeaders: HttpHeaders;
|
|
246
|
+
configuration: Configuration;
|
|
247
|
+
encoder: HttpParameterCodec;
|
|
248
|
+
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
249
|
+
protected canConsumeForm(consumes: string[]): boolean;
|
|
250
|
+
protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
|
|
251
|
+
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare class AuthService extends BaseService {
|
|
255
|
+
protected httpClient: HttpClient;
|
|
256
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
257
|
+
/**
|
|
258
|
+
* Login with email and password
|
|
259
|
+
* @endpoint post /auth/login
|
|
260
|
+
* @param loginDto
|
|
261
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
262
|
+
* @param reportProgress flag to report request and response progress.
|
|
263
|
+
*/
|
|
264
|
+
authControllerLogin(loginDto: LoginDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
265
|
+
httpHeaderAccept?: undefined;
|
|
266
|
+
context?: HttpContext;
|
|
267
|
+
transferCache?: boolean;
|
|
268
|
+
}): Observable<any>;
|
|
269
|
+
authControllerLogin(loginDto: LoginDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
270
|
+
httpHeaderAccept?: undefined;
|
|
271
|
+
context?: HttpContext;
|
|
272
|
+
transferCache?: boolean;
|
|
273
|
+
}): Observable<HttpResponse<any>>;
|
|
274
|
+
authControllerLogin(loginDto: LoginDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
275
|
+
httpHeaderAccept?: undefined;
|
|
276
|
+
context?: HttpContext;
|
|
277
|
+
transferCache?: boolean;
|
|
278
|
+
}): Observable<HttpEvent<any>>;
|
|
279
|
+
/**
|
|
280
|
+
* Get current authenticated user
|
|
281
|
+
* @endpoint get /auth/me
|
|
282
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
283
|
+
* @param reportProgress flag to report request and response progress.
|
|
284
|
+
*/
|
|
285
|
+
authControllerMe(observe?: 'body', reportProgress?: boolean, options?: {
|
|
286
|
+
httpHeaderAccept?: undefined;
|
|
287
|
+
context?: HttpContext;
|
|
288
|
+
transferCache?: boolean;
|
|
289
|
+
}): Observable<any>;
|
|
290
|
+
authControllerMe(observe?: 'response', reportProgress?: boolean, options?: {
|
|
291
|
+
httpHeaderAccept?: undefined;
|
|
292
|
+
context?: HttpContext;
|
|
293
|
+
transferCache?: boolean;
|
|
294
|
+
}): Observable<HttpResponse<any>>;
|
|
295
|
+
authControllerMe(observe?: 'events', reportProgress?: boolean, options?: {
|
|
296
|
+
httpHeaderAccept?: undefined;
|
|
297
|
+
context?: HttpContext;
|
|
298
|
+
transferCache?: boolean;
|
|
299
|
+
}): Observable<HttpEvent<any>>;
|
|
300
|
+
/**
|
|
301
|
+
* Resend email verification link
|
|
302
|
+
* @endpoint post /auth/resend-verification
|
|
303
|
+
* @param resendVerificationDto
|
|
304
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
305
|
+
* @param reportProgress flag to report request and response progress.
|
|
306
|
+
*/
|
|
307
|
+
authControllerResendVerification(resendVerificationDto: ResendVerificationDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
308
|
+
httpHeaderAccept?: undefined;
|
|
309
|
+
context?: HttpContext;
|
|
310
|
+
transferCache?: boolean;
|
|
311
|
+
}): Observable<any>;
|
|
312
|
+
authControllerResendVerification(resendVerificationDto: ResendVerificationDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
313
|
+
httpHeaderAccept?: undefined;
|
|
314
|
+
context?: HttpContext;
|
|
315
|
+
transferCache?: boolean;
|
|
316
|
+
}): Observable<HttpResponse<any>>;
|
|
317
|
+
authControllerResendVerification(resendVerificationDto: ResendVerificationDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
318
|
+
httpHeaderAccept?: undefined;
|
|
319
|
+
context?: HttpContext;
|
|
320
|
+
transferCache?: boolean;
|
|
321
|
+
}): Observable<HttpEvent<any>>;
|
|
322
|
+
/**
|
|
323
|
+
* Register a new user and organisation
|
|
324
|
+
* @endpoint post /auth/signup
|
|
325
|
+
* @param signupDto
|
|
326
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
327
|
+
* @param reportProgress flag to report request and response progress.
|
|
328
|
+
*/
|
|
329
|
+
authControllerSignup(signupDto: SignupDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
330
|
+
httpHeaderAccept?: undefined;
|
|
331
|
+
context?: HttpContext;
|
|
332
|
+
transferCache?: boolean;
|
|
333
|
+
}): Observable<any>;
|
|
334
|
+
authControllerSignup(signupDto: SignupDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
335
|
+
httpHeaderAccept?: undefined;
|
|
336
|
+
context?: HttpContext;
|
|
337
|
+
transferCache?: boolean;
|
|
338
|
+
}): Observable<HttpResponse<any>>;
|
|
339
|
+
authControllerSignup(signupDto: SignupDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
340
|
+
httpHeaderAccept?: undefined;
|
|
341
|
+
context?: HttpContext;
|
|
342
|
+
transferCache?: boolean;
|
|
343
|
+
}): Observable<HttpEvent<any>>;
|
|
344
|
+
/**
|
|
345
|
+
* Verify email address with token
|
|
346
|
+
* @endpoint post /auth/verify-email
|
|
347
|
+
* @param verifyEmailDto
|
|
348
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
349
|
+
* @param reportProgress flag to report request and response progress.
|
|
350
|
+
*/
|
|
351
|
+
authControllerVerifyEmail(verifyEmailDto: VerifyEmailDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
352
|
+
httpHeaderAccept?: undefined;
|
|
353
|
+
context?: HttpContext;
|
|
354
|
+
transferCache?: boolean;
|
|
355
|
+
}): Observable<any>;
|
|
356
|
+
authControllerVerifyEmail(verifyEmailDto: VerifyEmailDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
357
|
+
httpHeaderAccept?: undefined;
|
|
358
|
+
context?: HttpContext;
|
|
359
|
+
transferCache?: boolean;
|
|
360
|
+
}): Observable<HttpResponse<any>>;
|
|
361
|
+
authControllerVerifyEmail(verifyEmailDto: VerifyEmailDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
362
|
+
httpHeaderAccept?: undefined;
|
|
363
|
+
context?: HttpContext;
|
|
364
|
+
transferCache?: boolean;
|
|
365
|
+
}): Observable<HttpEvent<any>>;
|
|
366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, [null, { optional: true; }, { optional: true; }]>;
|
|
367
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* ViewCandidate API
|
|
372
|
+
*
|
|
373
|
+
*
|
|
374
|
+
*
|
|
375
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
376
|
+
* https://openapi-generator.tech
|
|
377
|
+
* Do not edit the class manually.
|
|
378
|
+
*/
|
|
379
|
+
interface APICandidateEducationHistory {
|
|
380
|
+
id: string;
|
|
381
|
+
title: string;
|
|
382
|
+
institution: string;
|
|
383
|
+
startDate: string;
|
|
384
|
+
endDate?: string;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* ViewCandidate API
|
|
389
|
+
*
|
|
390
|
+
*
|
|
391
|
+
*
|
|
392
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
393
|
+
* https://openapi-generator.tech
|
|
394
|
+
* Do not edit the class manually.
|
|
395
|
+
*/
|
|
396
|
+
interface APICandidatePresentation {
|
|
397
|
+
id: string;
|
|
398
|
+
linkToken: string;
|
|
399
|
+
clientId: string;
|
|
400
|
+
maskName: boolean;
|
|
401
|
+
maskCompanies: boolean;
|
|
402
|
+
viewCount: number;
|
|
403
|
+
createdAt: string;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* ViewCandidate API
|
|
408
|
+
*
|
|
409
|
+
*
|
|
410
|
+
*
|
|
411
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
412
|
+
* https://openapi-generator.tech
|
|
413
|
+
* Do not edit the class manually.
|
|
414
|
+
*/
|
|
415
|
+
interface APICandidateWorkHistory {
|
|
416
|
+
id: string;
|
|
417
|
+
title: string;
|
|
418
|
+
companyName: string;
|
|
419
|
+
startDate: string;
|
|
420
|
+
endDate?: string;
|
|
421
|
+
descriptionBulletPoints: Array<string>;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* ViewCandidate API
|
|
426
|
+
*
|
|
427
|
+
*
|
|
428
|
+
*
|
|
429
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
430
|
+
* https://openapi-generator.tech
|
|
431
|
+
* Do not edit the class manually.
|
|
432
|
+
*/
|
|
433
|
+
|
|
434
|
+
interface APICandidateWithPresentations {
|
|
435
|
+
id: string;
|
|
436
|
+
fullName: string;
|
|
437
|
+
role: string;
|
|
438
|
+
location?: string;
|
|
439
|
+
email?: string;
|
|
440
|
+
phone?: string;
|
|
441
|
+
linkedinUrl?: string;
|
|
442
|
+
personalUrls: Array<string>;
|
|
443
|
+
languages: Array<object>;
|
|
444
|
+
workPreference?: object;
|
|
445
|
+
visaStatus?: string;
|
|
446
|
+
totalYearsExperience: number;
|
|
447
|
+
summary: string;
|
|
448
|
+
topSkills: Array<string>;
|
|
449
|
+
certifications: Array<string>;
|
|
450
|
+
createdAt: string;
|
|
451
|
+
workHistory: Array<APICandidateWorkHistory>;
|
|
452
|
+
educationHistory: Array<APICandidateEducationHistory>;
|
|
453
|
+
presentations: Array<APICandidatePresentation>;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* ViewCandidate API
|
|
458
|
+
*
|
|
459
|
+
*
|
|
460
|
+
*
|
|
461
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
462
|
+
* https://openapi-generator.tech
|
|
463
|
+
* Do not edit the class manually.
|
|
464
|
+
*/
|
|
465
|
+
|
|
466
|
+
interface APIPaginatedCandidateResponse {
|
|
467
|
+
data: Array<APICandidateWithPresentations>;
|
|
468
|
+
page: number;
|
|
469
|
+
pageSize: number;
|
|
470
|
+
total: number;
|
|
471
|
+
totalPages: number;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* ViewCandidate API
|
|
476
|
+
*
|
|
477
|
+
*
|
|
478
|
+
*
|
|
479
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
480
|
+
* https://openapi-generator.tech
|
|
481
|
+
* Do not edit the class manually.
|
|
482
|
+
*/
|
|
483
|
+
interface UpdateCandidateWorkHistoryDto {
|
|
484
|
+
/**
|
|
485
|
+
* ID of existing work history entry (omit for new entries)
|
|
486
|
+
*/
|
|
487
|
+
id?: string;
|
|
488
|
+
title: string;
|
|
489
|
+
companyName: string;
|
|
490
|
+
anonymizedCompanyName: string;
|
|
491
|
+
startDate: string;
|
|
492
|
+
endDate?: string;
|
|
493
|
+
descriptionBulletPoints: Array<string>;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* ViewCandidate API
|
|
498
|
+
*
|
|
499
|
+
*
|
|
500
|
+
*
|
|
501
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
502
|
+
* https://openapi-generator.tech
|
|
503
|
+
* Do not edit the class manually.
|
|
504
|
+
*/
|
|
505
|
+
interface UpdateCandidateEducationHistoryDto {
|
|
506
|
+
/**
|
|
507
|
+
* ID of existing education history entry (omit for new entries)
|
|
508
|
+
*/
|
|
509
|
+
id?: string;
|
|
510
|
+
title: string;
|
|
511
|
+
institution: string;
|
|
512
|
+
startDate: string;
|
|
513
|
+
endDate?: string;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* ViewCandidate API
|
|
518
|
+
*
|
|
519
|
+
*
|
|
520
|
+
*
|
|
521
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
522
|
+
* https://openapi-generator.tech
|
|
523
|
+
* Do not edit the class manually.
|
|
524
|
+
*/
|
|
525
|
+
interface UpdateCandidateLanguageDto {
|
|
526
|
+
language: string;
|
|
527
|
+
proficiency: UpdateCandidateLanguageDto.ProficiencyEnum;
|
|
528
|
+
}
|
|
529
|
+
declare namespace UpdateCandidateLanguageDto {
|
|
530
|
+
const ProficiencyEnum: {
|
|
531
|
+
readonly Native: "Native";
|
|
532
|
+
readonly Fluent: "Fluent";
|
|
533
|
+
readonly Professional: "Professional";
|
|
534
|
+
readonly Intermediate: "Intermediate";
|
|
535
|
+
readonly Beginner: "Beginner";
|
|
536
|
+
};
|
|
537
|
+
type ProficiencyEnum = typeof ProficiencyEnum[keyof typeof ProficiencyEnum];
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* ViewCandidate API
|
|
542
|
+
*
|
|
543
|
+
*
|
|
544
|
+
*
|
|
545
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
546
|
+
* https://openapi-generator.tech
|
|
547
|
+
* Do not edit the class manually.
|
|
548
|
+
*/
|
|
549
|
+
|
|
550
|
+
interface UpdateCandidateDto {
|
|
551
|
+
fullName?: string;
|
|
552
|
+
role?: string;
|
|
553
|
+
location?: string;
|
|
554
|
+
email?: string;
|
|
555
|
+
phone?: string;
|
|
556
|
+
linkedinUrl?: string;
|
|
557
|
+
personalUrls?: Array<string>;
|
|
558
|
+
languages?: Array<UpdateCandidateLanguageDto>;
|
|
559
|
+
workPreference?: UpdateCandidateDto.WorkPreferenceEnum;
|
|
560
|
+
visaStatus?: string;
|
|
561
|
+
totalYearsExperience?: number;
|
|
562
|
+
summary?: string;
|
|
563
|
+
topSkills?: Array<string>;
|
|
564
|
+
certifications?: Array<string>;
|
|
565
|
+
/**
|
|
566
|
+
* Complete list of work history entries. Existing entries not included will be deleted.
|
|
567
|
+
*/
|
|
568
|
+
workHistory?: Array<UpdateCandidateWorkHistoryDto>;
|
|
569
|
+
/**
|
|
570
|
+
* Complete list of education history entries. Existing entries not included will be deleted.
|
|
571
|
+
*/
|
|
572
|
+
educationHistory?: Array<UpdateCandidateEducationHistoryDto>;
|
|
573
|
+
}
|
|
574
|
+
declare namespace UpdateCandidateDto {
|
|
575
|
+
const WorkPreferenceEnum: {
|
|
576
|
+
readonly Remote: "Remote";
|
|
577
|
+
readonly Hybrid: "Hybrid";
|
|
578
|
+
readonly OnSite: "On-site";
|
|
579
|
+
};
|
|
580
|
+
type WorkPreferenceEnum = typeof WorkPreferenceEnum[keyof typeof WorkPreferenceEnum];
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
declare class CandidateService extends BaseService {
|
|
584
|
+
protected httpClient: HttpClient;
|
|
585
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
586
|
+
/**
|
|
587
|
+
* Get a candidate by ID
|
|
588
|
+
* @endpoint get /candidates/{id}
|
|
589
|
+
* @param id
|
|
590
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
591
|
+
* @param reportProgress flag to report request and response progress.
|
|
592
|
+
*/
|
|
593
|
+
candidateControllerGetCandidate(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
594
|
+
httpHeaderAccept?: 'application/json';
|
|
595
|
+
context?: HttpContext;
|
|
596
|
+
transferCache?: boolean;
|
|
597
|
+
}): Observable<APICandidateWithPresentations>;
|
|
598
|
+
candidateControllerGetCandidate(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
599
|
+
httpHeaderAccept?: 'application/json';
|
|
600
|
+
context?: HttpContext;
|
|
601
|
+
transferCache?: boolean;
|
|
602
|
+
}): Observable<HttpResponse<APICandidateWithPresentations>>;
|
|
603
|
+
candidateControllerGetCandidate(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
604
|
+
httpHeaderAccept?: 'application/json';
|
|
605
|
+
context?: HttpContext;
|
|
606
|
+
transferCache?: boolean;
|
|
607
|
+
}): Observable<HttpEvent<APICandidateWithPresentations>>;
|
|
608
|
+
/**
|
|
609
|
+
* List candidates with presentations
|
|
610
|
+
* @endpoint get /candidates
|
|
611
|
+
* @param page Page number
|
|
612
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
613
|
+
* @param reportProgress flag to report request and response progress.
|
|
614
|
+
*/
|
|
615
|
+
candidateControllerGetCandidates(page?: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
616
|
+
httpHeaderAccept?: 'application/json';
|
|
617
|
+
context?: HttpContext;
|
|
618
|
+
transferCache?: boolean;
|
|
619
|
+
}): Observable<APIPaginatedCandidateResponse>;
|
|
620
|
+
candidateControllerGetCandidates(page?: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
621
|
+
httpHeaderAccept?: 'application/json';
|
|
622
|
+
context?: HttpContext;
|
|
623
|
+
transferCache?: boolean;
|
|
624
|
+
}): Observable<HttpResponse<APIPaginatedCandidateResponse>>;
|
|
625
|
+
candidateControllerGetCandidates(page?: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
626
|
+
httpHeaderAccept?: 'application/json';
|
|
627
|
+
context?: HttpContext;
|
|
628
|
+
transferCache?: boolean;
|
|
629
|
+
}): Observable<HttpEvent<APIPaginatedCandidateResponse>>;
|
|
630
|
+
/**
|
|
631
|
+
* Update a candidate
|
|
632
|
+
* @endpoint patch /candidates/{id}
|
|
633
|
+
* @param id
|
|
634
|
+
* @param updateCandidateDto
|
|
635
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
636
|
+
* @param reportProgress flag to report request and response progress.
|
|
637
|
+
*/
|
|
638
|
+
candidateControllerUpdateCandidate(id: string, updateCandidateDto: UpdateCandidateDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
639
|
+
httpHeaderAccept?: 'application/json';
|
|
640
|
+
context?: HttpContext;
|
|
641
|
+
transferCache?: boolean;
|
|
642
|
+
}): Observable<APICandidateWithPresentations>;
|
|
643
|
+
candidateControllerUpdateCandidate(id: string, updateCandidateDto: UpdateCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
644
|
+
httpHeaderAccept?: 'application/json';
|
|
645
|
+
context?: HttpContext;
|
|
646
|
+
transferCache?: boolean;
|
|
647
|
+
}): Observable<HttpResponse<APICandidateWithPresentations>>;
|
|
648
|
+
candidateControllerUpdateCandidate(id: string, updateCandidateDto: UpdateCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
649
|
+
httpHeaderAccept?: 'application/json';
|
|
650
|
+
context?: HttpContext;
|
|
651
|
+
transferCache?: boolean;
|
|
652
|
+
}): Observable<HttpEvent<APICandidateWithPresentations>>;
|
|
653
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CandidateService, [null, { optional: true; }, { optional: true; }]>;
|
|
654
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CandidateService>;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* ViewCandidate API
|
|
659
|
+
*
|
|
660
|
+
*
|
|
661
|
+
*
|
|
662
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
663
|
+
* https://openapi-generator.tech
|
|
664
|
+
* Do not edit the class manually.
|
|
665
|
+
*/
|
|
666
|
+
|
|
667
|
+
interface CandidateEducationHistory {
|
|
668
|
+
id: string;
|
|
669
|
+
title: string;
|
|
670
|
+
institution: string;
|
|
671
|
+
startDate: string;
|
|
672
|
+
endDate?: string;
|
|
673
|
+
createdAt: string;
|
|
674
|
+
candidate: Candidate;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* ViewCandidate API
|
|
679
|
+
*
|
|
680
|
+
*
|
|
681
|
+
*
|
|
682
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
683
|
+
* https://openapi-generator.tech
|
|
684
|
+
* Do not edit the class manually.
|
|
685
|
+
*/
|
|
686
|
+
|
|
687
|
+
interface CandidateWorkHistory {
|
|
688
|
+
id: string;
|
|
689
|
+
title: string;
|
|
690
|
+
companyName: string;
|
|
691
|
+
anonymizedCompanyName: string;
|
|
692
|
+
startDate: string;
|
|
693
|
+
endDate?: string;
|
|
694
|
+
descriptionBulletPoints: Array<string>;
|
|
695
|
+
createdAt: string;
|
|
696
|
+
candidate: Candidate;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* ViewCandidate API
|
|
701
|
+
*
|
|
702
|
+
*
|
|
703
|
+
*
|
|
704
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
705
|
+
* https://openapi-generator.tech
|
|
706
|
+
* Do not edit the class manually.
|
|
707
|
+
*/
|
|
708
|
+
|
|
709
|
+
interface Presentation {
|
|
710
|
+
id: string;
|
|
711
|
+
linkToken: string;
|
|
712
|
+
candidateId: string;
|
|
713
|
+
candidate: Candidate;
|
|
714
|
+
clientId: string;
|
|
715
|
+
client: Client;
|
|
716
|
+
maskName: boolean;
|
|
717
|
+
maskCompanies: boolean;
|
|
718
|
+
viewCount: number;
|
|
719
|
+
organisationId: string;
|
|
720
|
+
organisation: Organisation;
|
|
721
|
+
createdById: string;
|
|
722
|
+
createdBy: User;
|
|
723
|
+
createdAt: string;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* ViewCandidate API
|
|
728
|
+
*
|
|
729
|
+
*
|
|
730
|
+
*
|
|
731
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
732
|
+
* https://openapi-generator.tech
|
|
733
|
+
* Do not edit the class manually.
|
|
734
|
+
*/
|
|
735
|
+
|
|
736
|
+
interface Candidate {
|
|
737
|
+
id: string;
|
|
738
|
+
fullName: string;
|
|
739
|
+
role: string;
|
|
740
|
+
location?: string;
|
|
741
|
+
email?: string;
|
|
742
|
+
phone?: string;
|
|
743
|
+
linkedinUrl?: string;
|
|
744
|
+
personalUrls: Array<string>;
|
|
745
|
+
languages: Array<object>;
|
|
746
|
+
workPreference?: object;
|
|
747
|
+
visaStatus?: string;
|
|
748
|
+
totalYearsExperience: number;
|
|
749
|
+
summary: string;
|
|
750
|
+
topSkills: Array<string>;
|
|
751
|
+
certifications: Array<string>;
|
|
752
|
+
createdAt: string;
|
|
753
|
+
workHistory: Array<CandidateWorkHistory>;
|
|
754
|
+
educationHistory: Array<CandidateEducationHistory>;
|
|
755
|
+
presentations: Array<Presentation>;
|
|
756
|
+
organisationId: string;
|
|
757
|
+
organisation: Organisation;
|
|
758
|
+
uploadedById: string;
|
|
759
|
+
uploadedBy: User;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* ViewCandidate API
|
|
764
|
+
*
|
|
765
|
+
*
|
|
766
|
+
*
|
|
767
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
768
|
+
* https://openapi-generator.tech
|
|
769
|
+
* Do not edit the class manually.
|
|
770
|
+
*/
|
|
771
|
+
|
|
772
|
+
interface Organisation {
|
|
773
|
+
id: string;
|
|
774
|
+
name: string;
|
|
775
|
+
brandColour?: string;
|
|
776
|
+
logoUrl?: string;
|
|
777
|
+
createdAt: string;
|
|
778
|
+
users: Array<User>;
|
|
779
|
+
candidates: Array<Candidate>;
|
|
780
|
+
clients: Array<Client>;
|
|
781
|
+
presentations: Array<Presentation>;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* ViewCandidate API
|
|
786
|
+
*
|
|
787
|
+
*
|
|
788
|
+
*
|
|
789
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
790
|
+
* https://openapi-generator.tech
|
|
791
|
+
* Do not edit the class manually.
|
|
792
|
+
*/
|
|
793
|
+
|
|
794
|
+
interface User {
|
|
795
|
+
id: string;
|
|
796
|
+
name: string;
|
|
797
|
+
email: string;
|
|
798
|
+
passwordHash: string;
|
|
799
|
+
emailVerified: boolean;
|
|
800
|
+
emailVerificationToken?: string;
|
|
801
|
+
emailVerificationTokenExpiresAt?: string;
|
|
802
|
+
passwordResetToken?: string;
|
|
803
|
+
passwordResetTokenExpiresAt?: string;
|
|
804
|
+
organisationRole: object;
|
|
805
|
+
organisationId: string;
|
|
806
|
+
organisation: Organisation;
|
|
807
|
+
createdAt: string;
|
|
808
|
+
updatedAt: string;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* ViewCandidate API
|
|
813
|
+
*
|
|
814
|
+
*
|
|
815
|
+
*
|
|
816
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
817
|
+
* https://openapi-generator.tech
|
|
818
|
+
* Do not edit the class manually.
|
|
819
|
+
*/
|
|
820
|
+
|
|
821
|
+
interface Client {
|
|
822
|
+
id: string;
|
|
823
|
+
name: string;
|
|
824
|
+
organisationId: string;
|
|
825
|
+
organisation: Organisation;
|
|
826
|
+
createdById: string;
|
|
827
|
+
createdBy: User;
|
|
828
|
+
createdAt: string;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* ViewCandidate API
|
|
833
|
+
*
|
|
834
|
+
*
|
|
835
|
+
*
|
|
836
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
837
|
+
* https://openapi-generator.tech
|
|
838
|
+
* Do not edit the class manually.
|
|
839
|
+
*/
|
|
840
|
+
|
|
841
|
+
interface APIPaginatedClientResponse {
|
|
842
|
+
data: Array<Client>;
|
|
843
|
+
page: number;
|
|
844
|
+
pageSize: number;
|
|
845
|
+
total: number;
|
|
846
|
+
totalPages: number;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* ViewCandidate API
|
|
851
|
+
*
|
|
852
|
+
*
|
|
853
|
+
*
|
|
854
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
855
|
+
* https://openapi-generator.tech
|
|
856
|
+
* Do not edit the class manually.
|
|
857
|
+
*/
|
|
858
|
+
interface CreateClientDto {
|
|
859
|
+
/**
|
|
860
|
+
* Client name
|
|
861
|
+
*/
|
|
862
|
+
name: string;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
declare class ClientService extends BaseService {
|
|
866
|
+
protected httpClient: HttpClient;
|
|
867
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
868
|
+
/**
|
|
869
|
+
* Create a new client
|
|
870
|
+
* @endpoint post /clients
|
|
871
|
+
* @param createClientDto
|
|
872
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
873
|
+
* @param reportProgress flag to report request and response progress.
|
|
874
|
+
*/
|
|
875
|
+
clientControllerCreateClient(createClientDto: CreateClientDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
876
|
+
httpHeaderAccept?: 'application/json';
|
|
877
|
+
context?: HttpContext;
|
|
878
|
+
transferCache?: boolean;
|
|
879
|
+
}): Observable<Client>;
|
|
880
|
+
clientControllerCreateClient(createClientDto: CreateClientDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
881
|
+
httpHeaderAccept?: 'application/json';
|
|
882
|
+
context?: HttpContext;
|
|
883
|
+
transferCache?: boolean;
|
|
884
|
+
}): Observable<HttpResponse<Client>>;
|
|
885
|
+
clientControllerCreateClient(createClientDto: CreateClientDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
886
|
+
httpHeaderAccept?: 'application/json';
|
|
887
|
+
context?: HttpContext;
|
|
888
|
+
transferCache?: boolean;
|
|
889
|
+
}): Observable<HttpEvent<Client>>;
|
|
890
|
+
/**
|
|
891
|
+
* List clients
|
|
892
|
+
* @endpoint get /clients
|
|
893
|
+
* @param page Page number
|
|
894
|
+
* @param q Search query for typeahead filtering by name
|
|
895
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
896
|
+
* @param reportProgress flag to report request and response progress.
|
|
897
|
+
*/
|
|
898
|
+
clientControllerGetClients(page?: number, q?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
899
|
+
httpHeaderAccept?: 'application/json';
|
|
900
|
+
context?: HttpContext;
|
|
901
|
+
transferCache?: boolean;
|
|
902
|
+
}): Observable<APIPaginatedClientResponse>;
|
|
903
|
+
clientControllerGetClients(page?: number, q?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
904
|
+
httpHeaderAccept?: 'application/json';
|
|
905
|
+
context?: HttpContext;
|
|
906
|
+
transferCache?: boolean;
|
|
907
|
+
}): Observable<HttpResponse<APIPaginatedClientResponse>>;
|
|
908
|
+
clientControllerGetClients(page?: number, q?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
909
|
+
httpHeaderAccept?: 'application/json';
|
|
910
|
+
context?: HttpContext;
|
|
911
|
+
transferCache?: boolean;
|
|
912
|
+
}): Observable<HttpEvent<APIPaginatedClientResponse>>;
|
|
913
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClientService, [null, { optional: true; }, { optional: true; }]>;
|
|
914
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ClientService>;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
declare class CvExtractionService extends BaseService {
|
|
918
|
+
protected httpClient: HttpClient;
|
|
919
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
920
|
+
/**
|
|
921
|
+
* Extract candidate data from a CV file
|
|
922
|
+
* @endpoint post /cv
|
|
923
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
924
|
+
* @param reportProgress flag to report request and response progress.
|
|
925
|
+
*/
|
|
926
|
+
cvExtractionControllerSummarizeCandidate(observe?: 'body', reportProgress?: boolean, options?: {
|
|
927
|
+
httpHeaderAccept?: 'application/json';
|
|
928
|
+
context?: HttpContext;
|
|
929
|
+
transferCache?: boolean;
|
|
930
|
+
}): Observable<APICandidateWithPresentations>;
|
|
931
|
+
cvExtractionControllerSummarizeCandidate(observe?: 'response', reportProgress?: boolean, options?: {
|
|
932
|
+
httpHeaderAccept?: 'application/json';
|
|
933
|
+
context?: HttpContext;
|
|
934
|
+
transferCache?: boolean;
|
|
935
|
+
}): Observable<HttpResponse<APICandidateWithPresentations>>;
|
|
936
|
+
cvExtractionControllerSummarizeCandidate(observe?: 'events', reportProgress?: boolean, options?: {
|
|
937
|
+
httpHeaderAccept?: 'application/json';
|
|
938
|
+
context?: HttpContext;
|
|
939
|
+
transferCache?: boolean;
|
|
940
|
+
}): Observable<HttpEvent<APICandidateWithPresentations>>;
|
|
941
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CvExtractionService, [null, { optional: true; }, { optional: true; }]>;
|
|
942
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CvExtractionService>;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* ViewCandidate API
|
|
947
|
+
*
|
|
948
|
+
*
|
|
949
|
+
*
|
|
950
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
951
|
+
* https://openapi-generator.tech
|
|
952
|
+
* Do not edit the class manually.
|
|
953
|
+
*/
|
|
954
|
+
interface HealthControllerCheck200ResponseInfoValue {
|
|
955
|
+
[key: string]: any | any;
|
|
956
|
+
status: string;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* ViewCandidate API
|
|
961
|
+
*
|
|
962
|
+
*
|
|
963
|
+
*
|
|
964
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
965
|
+
* https://openapi-generator.tech
|
|
966
|
+
* Do not edit the class manually.
|
|
967
|
+
*/
|
|
968
|
+
|
|
969
|
+
interface HealthControllerCheck200Response {
|
|
970
|
+
status?: string;
|
|
971
|
+
info?: {
|
|
972
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
973
|
+
} | null;
|
|
974
|
+
error?: {
|
|
975
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
976
|
+
} | null;
|
|
977
|
+
details?: {
|
|
978
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
declare class HealthService extends BaseService {
|
|
983
|
+
protected httpClient: HttpClient;
|
|
984
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
985
|
+
/**
|
|
986
|
+
* Check API health status
|
|
987
|
+
* @endpoint get /health
|
|
988
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
989
|
+
* @param reportProgress flag to report request and response progress.
|
|
990
|
+
*/
|
|
991
|
+
healthControllerCheck(observe?: 'body', reportProgress?: boolean, options?: {
|
|
992
|
+
httpHeaderAccept?: 'application/json';
|
|
993
|
+
context?: HttpContext;
|
|
994
|
+
transferCache?: boolean;
|
|
995
|
+
}): Observable<HealthControllerCheck200Response>;
|
|
996
|
+
healthControllerCheck(observe?: 'response', reportProgress?: boolean, options?: {
|
|
997
|
+
httpHeaderAccept?: 'application/json';
|
|
998
|
+
context?: HttpContext;
|
|
999
|
+
transferCache?: boolean;
|
|
1000
|
+
}): Observable<HttpResponse<HealthControllerCheck200Response>>;
|
|
1001
|
+
healthControllerCheck(observe?: 'events', reportProgress?: boolean, options?: {
|
|
1002
|
+
httpHeaderAccept?: 'application/json';
|
|
1003
|
+
context?: HttpContext;
|
|
1004
|
+
transferCache?: boolean;
|
|
1005
|
+
}): Observable<HttpEvent<HealthControllerCheck200Response>>;
|
|
1006
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HealthService, [null, { optional: true; }, { optional: true; }]>;
|
|
1007
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* ViewCandidate API
|
|
1012
|
+
*
|
|
1013
|
+
*
|
|
1014
|
+
*
|
|
1015
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1016
|
+
* https://openapi-generator.tech
|
|
1017
|
+
* Do not edit the class manually.
|
|
1018
|
+
*/
|
|
1019
|
+
interface ApiPresentationOrganisation {
|
|
1020
|
+
name: string;
|
|
1021
|
+
brandColour?: string;
|
|
1022
|
+
logoUrl?: string;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* ViewCandidate API
|
|
1027
|
+
*
|
|
1028
|
+
*
|
|
1029
|
+
*
|
|
1030
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1031
|
+
* https://openapi-generator.tech
|
|
1032
|
+
* Do not edit the class manually.
|
|
1033
|
+
*/
|
|
1034
|
+
interface ApiPresentationClient {
|
|
1035
|
+
name: string;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* ViewCandidate API
|
|
1040
|
+
*
|
|
1041
|
+
*
|
|
1042
|
+
*
|
|
1043
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1044
|
+
* https://openapi-generator.tech
|
|
1045
|
+
* Do not edit the class manually.
|
|
1046
|
+
*/
|
|
1047
|
+
interface ApiPresentationCandidateWorkHistory {
|
|
1048
|
+
id: string;
|
|
1049
|
+
title: string;
|
|
1050
|
+
companyName: string;
|
|
1051
|
+
startDate: string;
|
|
1052
|
+
endDate?: string;
|
|
1053
|
+
descriptionBulletPoints: Array<string>;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* ViewCandidate API
|
|
1058
|
+
*
|
|
1059
|
+
*
|
|
1060
|
+
*
|
|
1061
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1062
|
+
* https://openapi-generator.tech
|
|
1063
|
+
* Do not edit the class manually.
|
|
1064
|
+
*/
|
|
1065
|
+
interface ApiPresentationCandidateEducationHistory {
|
|
1066
|
+
id: string;
|
|
1067
|
+
title: string;
|
|
1068
|
+
institution: string;
|
|
1069
|
+
startDate: string;
|
|
1070
|
+
endDate?: string;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* ViewCandidate API
|
|
1075
|
+
*
|
|
1076
|
+
*
|
|
1077
|
+
*
|
|
1078
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1079
|
+
* https://openapi-generator.tech
|
|
1080
|
+
* Do not edit the class manually.
|
|
1081
|
+
*/
|
|
1082
|
+
|
|
1083
|
+
interface ApiPresentationCandidate {
|
|
1084
|
+
id: string;
|
|
1085
|
+
fullName?: string;
|
|
1086
|
+
role: string;
|
|
1087
|
+
location?: string;
|
|
1088
|
+
languages: Array<object>;
|
|
1089
|
+
workPreference?: object;
|
|
1090
|
+
visaStatus?: string;
|
|
1091
|
+
totalYearsExperience: number;
|
|
1092
|
+
summary: string;
|
|
1093
|
+
topSkills: Array<string>;
|
|
1094
|
+
certifications: Array<string>;
|
|
1095
|
+
workHistory: Array<ApiPresentationCandidateWorkHistory>;
|
|
1096
|
+
educationHistory: Array<ApiPresentationCandidateEducationHistory>;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* ViewCandidate API
|
|
1101
|
+
*
|
|
1102
|
+
*
|
|
1103
|
+
*
|
|
1104
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1105
|
+
* https://openapi-generator.tech
|
|
1106
|
+
* Do not edit the class manually.
|
|
1107
|
+
*/
|
|
1108
|
+
|
|
1109
|
+
interface ApiPresentationView {
|
|
1110
|
+
id: string;
|
|
1111
|
+
linkToken: string;
|
|
1112
|
+
candidate: ApiPresentationCandidate;
|
|
1113
|
+
organisation: ApiPresentationOrganisation;
|
|
1114
|
+
client: ApiPresentationClient;
|
|
1115
|
+
createdAt: string;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* ViewCandidate API
|
|
1120
|
+
*
|
|
1121
|
+
*
|
|
1122
|
+
*
|
|
1123
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1124
|
+
* https://openapi-generator.tech
|
|
1125
|
+
* Do not edit the class manually.
|
|
1126
|
+
*/
|
|
1127
|
+
interface CreatePresentationDto {
|
|
1128
|
+
/**
|
|
1129
|
+
* ID of the candidate to present
|
|
1130
|
+
*/
|
|
1131
|
+
candidateId: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* ID of the client to present to
|
|
1134
|
+
*/
|
|
1135
|
+
clientId: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Whether to mask the candidate name
|
|
1138
|
+
*/
|
|
1139
|
+
maskName: boolean;
|
|
1140
|
+
/**
|
|
1141
|
+
* Whether to mask company names in work history
|
|
1142
|
+
*/
|
|
1143
|
+
maskCompanies: boolean;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
declare class PresentationService extends BaseService {
|
|
1147
|
+
protected httpClient: HttpClient;
|
|
1148
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1149
|
+
/**
|
|
1150
|
+
* Create a new presentation
|
|
1151
|
+
* @endpoint post /presentation
|
|
1152
|
+
* @param createPresentationDto
|
|
1153
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1154
|
+
* @param reportProgress flag to report request and response progress.
|
|
1155
|
+
*/
|
|
1156
|
+
presentationControllerCreatePresentation(createPresentationDto: CreatePresentationDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1157
|
+
httpHeaderAccept?: 'application/json';
|
|
1158
|
+
context?: HttpContext;
|
|
1159
|
+
transferCache?: boolean;
|
|
1160
|
+
}): Observable<Presentation>;
|
|
1161
|
+
presentationControllerCreatePresentation(createPresentationDto: CreatePresentationDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1162
|
+
httpHeaderAccept?: 'application/json';
|
|
1163
|
+
context?: HttpContext;
|
|
1164
|
+
transferCache?: boolean;
|
|
1165
|
+
}): Observable<HttpResponse<Presentation>>;
|
|
1166
|
+
presentationControllerCreatePresentation(createPresentationDto: CreatePresentationDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1167
|
+
httpHeaderAccept?: 'application/json';
|
|
1168
|
+
context?: HttpContext;
|
|
1169
|
+
transferCache?: boolean;
|
|
1170
|
+
}): Observable<HttpEvent<Presentation>>;
|
|
1171
|
+
/**
|
|
1172
|
+
* View a presentation by link token (public)
|
|
1173
|
+
* @endpoint get /presentation/view/{linkToken}
|
|
1174
|
+
* @param linkToken
|
|
1175
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1176
|
+
* @param reportProgress flag to report request and response progress.
|
|
1177
|
+
*/
|
|
1178
|
+
presentationControllerViewPresentation(linkToken: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1179
|
+
httpHeaderAccept?: 'application/json';
|
|
1180
|
+
context?: HttpContext;
|
|
1181
|
+
transferCache?: boolean;
|
|
1182
|
+
}): Observable<ApiPresentationView>;
|
|
1183
|
+
presentationControllerViewPresentation(linkToken: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1184
|
+
httpHeaderAccept?: 'application/json';
|
|
1185
|
+
context?: HttpContext;
|
|
1186
|
+
transferCache?: boolean;
|
|
1187
|
+
}): Observable<HttpResponse<ApiPresentationView>>;
|
|
1188
|
+
presentationControllerViewPresentation(linkToken: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1189
|
+
httpHeaderAccept?: 'application/json';
|
|
1190
|
+
context?: HttpContext;
|
|
1191
|
+
transferCache?: boolean;
|
|
1192
|
+
}): Observable<HttpEvent<ApiPresentationView>>;
|
|
1193
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationService, [null, { optional: true; }, { optional: true; }]>;
|
|
1194
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PresentationService>;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
declare const APIS: (typeof AuthService | typeof CandidateService | typeof ClientService | typeof CvExtractionService | typeof HealthService | typeof PresentationService)[];
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* ViewCandidate API
|
|
1201
|
+
*
|
|
1202
|
+
*
|
|
1203
|
+
*
|
|
1204
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1205
|
+
* https://openapi-generator.tech
|
|
1206
|
+
* Do not edit the class manually.
|
|
1207
|
+
*/
|
|
1208
|
+
|
|
1209
|
+
interface HealthControllerCheck503Response {
|
|
1210
|
+
status?: string;
|
|
1211
|
+
info?: {
|
|
1212
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
1213
|
+
} | null;
|
|
1214
|
+
error?: {
|
|
1215
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
1216
|
+
} | null;
|
|
1217
|
+
details?: {
|
|
1218
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
1219
|
+
};
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
declare const BASE_PATH: InjectionToken<string>;
|
|
1223
|
+
declare const COLLECTION_FORMATS: {
|
|
1224
|
+
csv: string;
|
|
1225
|
+
tsv: string;
|
|
1226
|
+
ssv: string;
|
|
1227
|
+
pipes: string;
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
declare class ViewCandidateApiModule {
|
|
1231
|
+
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ViewCandidateApiModule>;
|
|
1232
|
+
constructor(parentModule: ViewCandidateApiModule, http: HttpClient);
|
|
1233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewCandidateApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
1234
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ViewCandidateApiModule, never, never, never>;
|
|
1235
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ViewCandidateApiModule>;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
1239
|
+
|
|
1240
|
+
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CandidateService, ClientService, Configuration, CvExtractionService, HealthService, PresentationService, UpdateCandidateDto, UpdateCandidateLanguageDto, ViewCandidateApiModule, provideApi };
|
|
1241
|
+
export type { APICandidateEducationHistory, APICandidatePresentation, APICandidateWithPresentations, APICandidateWorkHistory, APIPaginatedCandidateResponse, APIPaginatedClientResponse, ApiPresentationCandidate, ApiPresentationCandidateEducationHistory, ApiPresentationCandidateWorkHistory, ApiPresentationClient, ApiPresentationOrganisation, ApiPresentationView, Candidate, CandidateEducationHistory, CandidateWorkHistory, Client, ConfigurationParameters, CreateClientDto, CreatePresentationDto, DataFormat, DataType, HealthControllerCheck200Response, HealthControllerCheck200ResponseInfoValue, HealthControllerCheck503Response, LoginDto, Organisation, Param, ParamLocation, ParamStyle, Presentation, ResendVerificationDto, SignupDto, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateCandidateEducationHistoryDto, UpdateCandidateWorkHistoryDto, User, VerifyEmailDto };
|