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