@viewcandidate/client 0.0.18 → 0.0.20

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 CHANGED
@@ -1,8 +1,8 @@
1
- # @viewcandidate/client@0.0.18
1
+ # @viewcandidate/client@0.0.20
2
2
 
3
3
  The ViewCandidate API
4
4
 
5
- The version of the OpenAPI document: 0.0.18
5
+ The version of the OpenAPI document: 0.0.20
6
6
 
7
7
  ## Building
8
8
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @viewcandidate/client@0.0.18 --save
27
+ npm install @viewcandidate/client@0.0.20 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -675,9 +675,10 @@ class CandidateService extends BaseService {
675
675
  reportProgress: reportProgress
676
676
  });
677
677
  }
678
- candidateControllerGetCandidates(page, observe = 'body', reportProgress = false, options) {
678
+ candidateControllerGetCandidates(page, q, observe = 'body', reportProgress = false, options) {
679
679
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
680
680
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, 'page');
681
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, q, 'q');
681
682
  let localVarHeaders = this.defaultHeaders;
682
683
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
683
684
  'application/json'
@@ -962,6 +963,501 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
962
963
  type: Optional
963
964
  }] }] });
964
965
 
966
+ /**
967
+ * ViewCandidate API
968
+ *
969
+ *
970
+ *
971
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
972
+ * https://openapi-generator.tech
973
+ * Do not edit the class manually.
974
+ */
975
+ /* tslint:disable:no-unused-variable member-ordering */
976
+ class JobService extends BaseService {
977
+ httpClient;
978
+ constructor(httpClient, basePath, configuration) {
979
+ super(basePath, configuration);
980
+ this.httpClient = httpClient;
981
+ }
982
+ jobControllerCreateJob(createJobDto, observe = 'body', reportProgress = false, options) {
983
+ if (createJobDto === null || createJobDto === undefined) {
984
+ throw new Error('Required parameter createJobDto was null or undefined when calling jobControllerCreateJob.');
985
+ }
986
+ let localVarHeaders = this.defaultHeaders;
987
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
988
+ 'application/json'
989
+ ]);
990
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
991
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
992
+ }
993
+ const localVarHttpContext = options?.context ?? new HttpContext();
994
+ const localVarTransferCache = options?.transferCache ?? true;
995
+ // to determine the Content-Type header
996
+ const consumes = [
997
+ 'application/json'
998
+ ];
999
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1000
+ if (httpContentTypeSelected !== undefined) {
1001
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1002
+ }
1003
+ let responseType_ = 'json';
1004
+ if (localVarHttpHeaderAcceptSelected) {
1005
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1006
+ responseType_ = 'text';
1007
+ }
1008
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1009
+ responseType_ = 'json';
1010
+ }
1011
+ else {
1012
+ responseType_ = 'blob';
1013
+ }
1014
+ }
1015
+ let localVarPath = `/jobs`;
1016
+ const { basePath, withCredentials } = this.configuration;
1017
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1018
+ context: localVarHttpContext,
1019
+ body: createJobDto,
1020
+ responseType: responseType_,
1021
+ ...(withCredentials ? { withCredentials } : {}),
1022
+ headers: localVarHeaders,
1023
+ observe: observe,
1024
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1025
+ reportProgress: reportProgress
1026
+ });
1027
+ }
1028
+ jobControllerDeleteJob(id, observe = 'body', reportProgress = false, options) {
1029
+ if (id === null || id === undefined) {
1030
+ throw new Error('Required parameter id was null or undefined when calling jobControllerDeleteJob.');
1031
+ }
1032
+ let localVarHeaders = this.defaultHeaders;
1033
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1034
+ 'application/json'
1035
+ ]);
1036
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1037
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1038
+ }
1039
+ const localVarHttpContext = options?.context ?? new HttpContext();
1040
+ const localVarTransferCache = options?.transferCache ?? true;
1041
+ let responseType_ = 'json';
1042
+ if (localVarHttpHeaderAcceptSelected) {
1043
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1044
+ responseType_ = 'text';
1045
+ }
1046
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1047
+ responseType_ = 'json';
1048
+ }
1049
+ else {
1050
+ responseType_ = 'blob';
1051
+ }
1052
+ }
1053
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1054
+ const { basePath, withCredentials } = this.configuration;
1055
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
1056
+ context: localVarHttpContext,
1057
+ responseType: responseType_,
1058
+ ...(withCredentials ? { withCredentials } : {}),
1059
+ headers: localVarHeaders,
1060
+ observe: observe,
1061
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1062
+ reportProgress: reportProgress
1063
+ });
1064
+ }
1065
+ jobControllerGetJob(id, observe = 'body', reportProgress = false, options) {
1066
+ if (id === null || id === undefined) {
1067
+ throw new Error('Required parameter id was null or undefined when calling jobControllerGetJob.');
1068
+ }
1069
+ let localVarHeaders = this.defaultHeaders;
1070
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1071
+ 'application/json'
1072
+ ]);
1073
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1074
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1075
+ }
1076
+ const localVarHttpContext = options?.context ?? new HttpContext();
1077
+ const localVarTransferCache = options?.transferCache ?? true;
1078
+ let responseType_ = 'json';
1079
+ if (localVarHttpHeaderAcceptSelected) {
1080
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1081
+ responseType_ = 'text';
1082
+ }
1083
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1084
+ responseType_ = 'json';
1085
+ }
1086
+ else {
1087
+ responseType_ = 'blob';
1088
+ }
1089
+ }
1090
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1091
+ const { basePath, withCredentials } = this.configuration;
1092
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1093
+ context: localVarHttpContext,
1094
+ responseType: responseType_,
1095
+ ...(withCredentials ? { withCredentials } : {}),
1096
+ headers: localVarHeaders,
1097
+ observe: observe,
1098
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1099
+ reportProgress: reportProgress
1100
+ });
1101
+ }
1102
+ jobControllerGetJobs(page, observe = 'body', reportProgress = false, options) {
1103
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1104
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, 'page');
1105
+ let localVarHeaders = this.defaultHeaders;
1106
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1107
+ 'application/json'
1108
+ ]);
1109
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1110
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1111
+ }
1112
+ const localVarHttpContext = options?.context ?? new HttpContext();
1113
+ const localVarTransferCache = options?.transferCache ?? true;
1114
+ let responseType_ = 'json';
1115
+ if (localVarHttpHeaderAcceptSelected) {
1116
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1117
+ responseType_ = 'text';
1118
+ }
1119
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1120
+ responseType_ = 'json';
1121
+ }
1122
+ else {
1123
+ responseType_ = 'blob';
1124
+ }
1125
+ }
1126
+ let localVarPath = `/jobs`;
1127
+ const { basePath, withCredentials } = this.configuration;
1128
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1129
+ context: localVarHttpContext,
1130
+ params: localVarQueryParameters,
1131
+ responseType: responseType_,
1132
+ ...(withCredentials ? { withCredentials } : {}),
1133
+ headers: localVarHeaders,
1134
+ observe: observe,
1135
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1136
+ reportProgress: reportProgress
1137
+ });
1138
+ }
1139
+ jobControllerUpdateJob(id, updateJobDto, observe = 'body', reportProgress = false, options) {
1140
+ if (id === null || id === undefined) {
1141
+ throw new Error('Required parameter id was null or undefined when calling jobControllerUpdateJob.');
1142
+ }
1143
+ if (updateJobDto === null || updateJobDto === undefined) {
1144
+ throw new Error('Required parameter updateJobDto was null or undefined when calling jobControllerUpdateJob.');
1145
+ }
1146
+ let localVarHeaders = this.defaultHeaders;
1147
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1148
+ 'application/json'
1149
+ ]);
1150
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1151
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1152
+ }
1153
+ const localVarHttpContext = options?.context ?? new HttpContext();
1154
+ const localVarTransferCache = options?.transferCache ?? true;
1155
+ // to determine the Content-Type header
1156
+ const consumes = [
1157
+ 'application/json'
1158
+ ];
1159
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1160
+ if (httpContentTypeSelected !== undefined) {
1161
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1162
+ }
1163
+ let responseType_ = 'json';
1164
+ if (localVarHttpHeaderAcceptSelected) {
1165
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1166
+ responseType_ = 'text';
1167
+ }
1168
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1169
+ responseType_ = 'json';
1170
+ }
1171
+ else {
1172
+ responseType_ = 'blob';
1173
+ }
1174
+ }
1175
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1176
+ const { basePath, withCredentials } = this.configuration;
1177
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
1178
+ context: localVarHttpContext,
1179
+ body: updateJobDto,
1180
+ responseType: responseType_,
1181
+ ...(withCredentials ? { withCredentials } : {}),
1182
+ headers: localVarHeaders,
1183
+ observe: observe,
1184
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1185
+ reportProgress: reportProgress
1186
+ });
1187
+ }
1188
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1189
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobService, providedIn: 'root' });
1190
+ }
1191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobService, decorators: [{
1192
+ type: Injectable,
1193
+ args: [{
1194
+ providedIn: 'root'
1195
+ }]
1196
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1197
+ type: Optional
1198
+ }, {
1199
+ type: Inject,
1200
+ args: [BASE_PATH]
1201
+ }] }, { type: Configuration, decorators: [{
1202
+ type: Optional
1203
+ }] }] });
1204
+
1205
+ /**
1206
+ * ViewCandidate API
1207
+ *
1208
+ *
1209
+ *
1210
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1211
+ * https://openapi-generator.tech
1212
+ * Do not edit the class manually.
1213
+ */
1214
+ /* tslint:disable:no-unused-variable member-ordering */
1215
+ class JobCandidateService extends BaseService {
1216
+ httpClient;
1217
+ constructor(httpClient, basePath, configuration) {
1218
+ super(basePath, configuration);
1219
+ this.httpClient = httpClient;
1220
+ }
1221
+ jobCandidateControllerCreateJobCandidate(jobId, createJobCandidateDto, observe = 'body', reportProgress = false, options) {
1222
+ if (jobId === null || jobId === undefined) {
1223
+ throw new Error('Required parameter jobId was null or undefined when calling jobCandidateControllerCreateJobCandidate.');
1224
+ }
1225
+ if (createJobCandidateDto === null || createJobCandidateDto === undefined) {
1226
+ throw new Error('Required parameter createJobCandidateDto was null or undefined when calling jobCandidateControllerCreateJobCandidate.');
1227
+ }
1228
+ let localVarHeaders = this.defaultHeaders;
1229
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1230
+ 'application/json'
1231
+ ]);
1232
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1233
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1234
+ }
1235
+ const localVarHttpContext = options?.context ?? new HttpContext();
1236
+ const localVarTransferCache = options?.transferCache ?? true;
1237
+ // to determine the Content-Type header
1238
+ const consumes = [
1239
+ 'application/json'
1240
+ ];
1241
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1242
+ if (httpContentTypeSelected !== undefined) {
1243
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1244
+ }
1245
+ let responseType_ = 'json';
1246
+ if (localVarHttpHeaderAcceptSelected) {
1247
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1248
+ responseType_ = 'text';
1249
+ }
1250
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1251
+ responseType_ = 'json';
1252
+ }
1253
+ else {
1254
+ responseType_ = 'blob';
1255
+ }
1256
+ }
1257
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "jobId", value: jobId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/candidates`;
1258
+ const { basePath, withCredentials } = this.configuration;
1259
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1260
+ context: localVarHttpContext,
1261
+ body: createJobCandidateDto,
1262
+ responseType: responseType_,
1263
+ ...(withCredentials ? { withCredentials } : {}),
1264
+ headers: localVarHeaders,
1265
+ observe: observe,
1266
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1267
+ reportProgress: reportProgress
1268
+ });
1269
+ }
1270
+ jobCandidateControllerDeleteJobCandidate(jobId, id, observe = 'body', reportProgress = false, options) {
1271
+ if (jobId === null || jobId === undefined) {
1272
+ throw new Error('Required parameter jobId was null or undefined when calling jobCandidateControllerDeleteJobCandidate.');
1273
+ }
1274
+ if (id === null || id === undefined) {
1275
+ throw new Error('Required parameter id was null or undefined when calling jobCandidateControllerDeleteJobCandidate.');
1276
+ }
1277
+ let localVarHeaders = this.defaultHeaders;
1278
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1279
+ 'application/json'
1280
+ ]);
1281
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1282
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1283
+ }
1284
+ const localVarHttpContext = options?.context ?? new HttpContext();
1285
+ const localVarTransferCache = options?.transferCache ?? true;
1286
+ let responseType_ = 'json';
1287
+ if (localVarHttpHeaderAcceptSelected) {
1288
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1289
+ responseType_ = 'text';
1290
+ }
1291
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1292
+ responseType_ = 'json';
1293
+ }
1294
+ else {
1295
+ responseType_ = 'blob';
1296
+ }
1297
+ }
1298
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "jobId", value: jobId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/candidates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1299
+ const { basePath, withCredentials } = this.configuration;
1300
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
1301
+ context: localVarHttpContext,
1302
+ responseType: responseType_,
1303
+ ...(withCredentials ? { withCredentials } : {}),
1304
+ headers: localVarHeaders,
1305
+ observe: observe,
1306
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1307
+ reportProgress: reportProgress
1308
+ });
1309
+ }
1310
+ jobCandidateControllerGetJobCandidate(jobId, id, observe = 'body', reportProgress = false, options) {
1311
+ if (jobId === null || jobId === undefined) {
1312
+ throw new Error('Required parameter jobId was null or undefined when calling jobCandidateControllerGetJobCandidate.');
1313
+ }
1314
+ if (id === null || id === undefined) {
1315
+ throw new Error('Required parameter id was null or undefined when calling jobCandidateControllerGetJobCandidate.');
1316
+ }
1317
+ let localVarHeaders = this.defaultHeaders;
1318
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1319
+ 'application/json'
1320
+ ]);
1321
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1322
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1323
+ }
1324
+ const localVarHttpContext = options?.context ?? new HttpContext();
1325
+ const localVarTransferCache = options?.transferCache ?? true;
1326
+ let responseType_ = 'json';
1327
+ if (localVarHttpHeaderAcceptSelected) {
1328
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1329
+ responseType_ = 'text';
1330
+ }
1331
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1332
+ responseType_ = 'json';
1333
+ }
1334
+ else {
1335
+ responseType_ = 'blob';
1336
+ }
1337
+ }
1338
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "jobId", value: jobId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/candidates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1339
+ const { basePath, withCredentials } = this.configuration;
1340
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1341
+ context: localVarHttpContext,
1342
+ responseType: responseType_,
1343
+ ...(withCredentials ? { withCredentials } : {}),
1344
+ headers: localVarHeaders,
1345
+ observe: observe,
1346
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1347
+ reportProgress: reportProgress
1348
+ });
1349
+ }
1350
+ jobCandidateControllerGetJobCandidates(jobId, page, stage, status, observe = 'body', reportProgress = false, options) {
1351
+ if (jobId === null || jobId === undefined) {
1352
+ throw new Error('Required parameter jobId was null or undefined when calling jobCandidateControllerGetJobCandidates.');
1353
+ }
1354
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1355
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, 'page');
1356
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, stage, 'stage');
1357
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, status, 'status');
1358
+ let localVarHeaders = this.defaultHeaders;
1359
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1360
+ 'application/json'
1361
+ ]);
1362
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1363
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1364
+ }
1365
+ const localVarHttpContext = options?.context ?? new HttpContext();
1366
+ const localVarTransferCache = options?.transferCache ?? true;
1367
+ let responseType_ = 'json';
1368
+ if (localVarHttpHeaderAcceptSelected) {
1369
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1370
+ responseType_ = 'text';
1371
+ }
1372
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1373
+ responseType_ = 'json';
1374
+ }
1375
+ else {
1376
+ responseType_ = 'blob';
1377
+ }
1378
+ }
1379
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "jobId", value: jobId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/candidates`;
1380
+ const { basePath, withCredentials } = this.configuration;
1381
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1382
+ context: localVarHttpContext,
1383
+ params: localVarQueryParameters,
1384
+ responseType: responseType_,
1385
+ ...(withCredentials ? { withCredentials } : {}),
1386
+ headers: localVarHeaders,
1387
+ observe: observe,
1388
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1389
+ reportProgress: reportProgress
1390
+ });
1391
+ }
1392
+ jobCandidateControllerUpdateJobCandidate(jobId, id, updateJobCandidateDto, observe = 'body', reportProgress = false, options) {
1393
+ if (jobId === null || jobId === undefined) {
1394
+ throw new Error('Required parameter jobId was null or undefined when calling jobCandidateControllerUpdateJobCandidate.');
1395
+ }
1396
+ if (id === null || id === undefined) {
1397
+ throw new Error('Required parameter id was null or undefined when calling jobCandidateControllerUpdateJobCandidate.');
1398
+ }
1399
+ if (updateJobCandidateDto === null || updateJobCandidateDto === undefined) {
1400
+ throw new Error('Required parameter updateJobCandidateDto was null or undefined when calling jobCandidateControllerUpdateJobCandidate.');
1401
+ }
1402
+ let localVarHeaders = this.defaultHeaders;
1403
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1404
+ 'application/json'
1405
+ ]);
1406
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1407
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1408
+ }
1409
+ const localVarHttpContext = options?.context ?? new HttpContext();
1410
+ const localVarTransferCache = options?.transferCache ?? true;
1411
+ // to determine the Content-Type header
1412
+ const consumes = [
1413
+ 'application/json'
1414
+ ];
1415
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1416
+ if (httpContentTypeSelected !== undefined) {
1417
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1418
+ }
1419
+ let responseType_ = 'json';
1420
+ if (localVarHttpHeaderAcceptSelected) {
1421
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1422
+ responseType_ = 'text';
1423
+ }
1424
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1425
+ responseType_ = 'json';
1426
+ }
1427
+ else {
1428
+ responseType_ = 'blob';
1429
+ }
1430
+ }
1431
+ let localVarPath = `/jobs/${this.configuration.encodeParam({ name: "jobId", value: jobId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/candidates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1432
+ const { basePath, withCredentials } = this.configuration;
1433
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
1434
+ context: localVarHttpContext,
1435
+ body: updateJobCandidateDto,
1436
+ responseType: responseType_,
1437
+ ...(withCredentials ? { withCredentials } : {}),
1438
+ headers: localVarHeaders,
1439
+ observe: observe,
1440
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1441
+ reportProgress: reportProgress
1442
+ });
1443
+ }
1444
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidateService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1445
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidateService, providedIn: 'root' });
1446
+ }
1447
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidateService, decorators: [{
1448
+ type: Injectable,
1449
+ args: [{
1450
+ providedIn: 'root'
1451
+ }]
1452
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1453
+ type: Optional
1454
+ }, {
1455
+ type: Inject,
1456
+ args: [BASE_PATH]
1457
+ }] }, { type: Configuration, decorators: [{
1458
+ type: Optional
1459
+ }] }] });
1460
+
965
1461
  /**
966
1462
  * ViewCandidate API
967
1463
  *
@@ -1461,7 +1957,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
1461
1957
  type: Optional
1462
1958
  }] }] });
1463
1959
 
1464
- const APIS = [AuthService, CVExtractionService, CandidateService, ClientService, HealthService, OrganisationService, PresentationService, WaitlistService];
1960
+ const APIS = [AuthService, CVExtractionService, CandidateService, ClientService, HealthService, JobService, JobCandidateService, OrganisationService, PresentationService, WaitlistService];
1961
+
1962
+ /**
1963
+ * ViewCandidate API
1964
+ *
1965
+ *
1966
+ *
1967
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1968
+ * https://openapi-generator.tech
1969
+ * Do not edit the class manually.
1970
+ */
1971
+
1972
+ /**
1973
+ * ViewCandidate API
1974
+ *
1975
+ *
1976
+ *
1977
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1978
+ * https://openapi-generator.tech
1979
+ * Do not edit the class manually.
1980
+ */
1981
+
1982
+ /**
1983
+ * ViewCandidate API
1984
+ *
1985
+ *
1986
+ *
1987
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1988
+ * https://openapi-generator.tech
1989
+ * Do not edit the class manually.
1990
+ */
1465
1991
 
1466
1992
  /**
1467
1993
  * ViewCandidate API
@@ -1699,6 +2225,39 @@ var UpdateCandidateLanguageDto;
1699
2225
  };
1700
2226
  })(UpdateCandidateLanguageDto || (UpdateCandidateLanguageDto = {}));
1701
2227
 
2228
+ /**
2229
+ * ViewCandidate API
2230
+ *
2231
+ *
2232
+ *
2233
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2234
+ * https://openapi-generator.tech
2235
+ * Do not edit the class manually.
2236
+ */
2237
+
2238
+ /**
2239
+ * ViewCandidate API
2240
+ *
2241
+ *
2242
+ *
2243
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2244
+ * https://openapi-generator.tech
2245
+ * Do not edit the class manually.
2246
+ */
2247
+ var UpdateJobCandidateDto;
2248
+ (function (UpdateJobCandidateDto) {
2249
+ UpdateJobCandidateDto.StageEnum = {
2250
+ Screening: 'screening',
2251
+ Presented: 'presented',
2252
+ Interviewing: 'interviewing',
2253
+ Placed: 'placed'
2254
+ };
2255
+ UpdateJobCandidateDto.StatusEnum = {
2256
+ Active: 'active',
2257
+ Rejected: 'rejected'
2258
+ };
2259
+ })(UpdateJobCandidateDto || (UpdateJobCandidateDto = {}));
2260
+
1702
2261
  /**
1703
2262
  * ViewCandidate API
1704
2263
  *
@@ -1781,5 +2340,5 @@ function provideApi(configOrBasePath) {
1781
2340
  * Generated bundle index. Do not edit.
1782
2341
  */
1783
2342
 
1784
- export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, OrganisationService, PresentationService, UpdateCandidateDto, UpdateCandidateLanguageDto, ViewCandidateApiModule, WaitlistService, provideApi };
2343
+ export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidateService, JobService, OrganisationService, PresentationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
1785
2344
  //# sourceMappingURL=viewcandidate-client.mjs.map