@viewcandidate/client 0.0.17 → 0.0.19

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/index.d.ts CHANGED
@@ -41,7 +41,7 @@ interface APIMessageResponse {
41
41
  interface APIOrganisation {
42
42
  id: string;
43
43
  name: string;
44
- brandColour?: string;
44
+ brandColour?: string | null;
45
45
  logoUrl?: string;
46
46
  }
47
47
 
@@ -943,35 +943,226 @@ declare class HealthService extends BaseService {
943
943
  static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
944
944
  }
945
945
 
946
- declare class OrganisationService extends BaseService {
946
+ /**
947
+ * ViewCandidate API
948
+ *
949
+ *
950
+ *
951
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
952
+ * https://openapi-generator.tech
953
+ * Do not edit the class manually.
954
+ */
955
+
956
+ interface APIJob {
957
+ id: string;
958
+ title: string;
959
+ description: string;
960
+ clientId: string;
961
+ client: APIClient;
962
+ createdAt: string;
963
+ }
964
+
965
+ /**
966
+ * ViewCandidate API
967
+ *
968
+ *
969
+ *
970
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
971
+ * https://openapi-generator.tech
972
+ * Do not edit the class manually.
973
+ */
974
+
975
+ interface APIPaginatedJobResponse {
976
+ data: Array<APIJob>;
977
+ page: number;
978
+ pageSize: number;
979
+ total: number;
980
+ totalPages: number;
981
+ }
982
+
983
+ /**
984
+ * ViewCandidate API
985
+ *
986
+ *
987
+ *
988
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
989
+ * https://openapi-generator.tech
990
+ * Do not edit the class manually.
991
+ */
992
+ interface CreateJobDto {
993
+ /**
994
+ * Job title
995
+ */
996
+ title: string;
997
+ /**
998
+ * Job description
999
+ */
1000
+ description: string;
1001
+ /**
1002
+ * Client ID this job belongs to
1003
+ */
1004
+ clientId: string;
1005
+ }
1006
+
1007
+ /**
1008
+ * ViewCandidate API
1009
+ *
1010
+ *
1011
+ *
1012
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1013
+ * https://openapi-generator.tech
1014
+ * Do not edit the class manually.
1015
+ */
1016
+ interface UpdateJobDto {
1017
+ /**
1018
+ * Job title
1019
+ */
1020
+ title?: string;
1021
+ /**
1022
+ * Job description
1023
+ */
1024
+ description?: string;
1025
+ /**
1026
+ * Client ID this job belongs to
1027
+ */
1028
+ clientId?: string;
1029
+ }
1030
+
1031
+ declare class JobService extends BaseService {
947
1032
  protected httpClient: HttpClient;
948
1033
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
949
1034
  /**
950
- * Update organisation branding (admin only)
951
- * @endpoint patch /organisation
952
- * @param name Organisation name
953
- * @param brandColour Brand colour in hex format
954
- * @param logo Logo image (PNG, JPEG, or WebP). Max 5MB. Will be resized to 400x400 max.
1035
+ * Create a new job
1036
+ * @endpoint post /jobs
1037
+ * @param createJobDto
955
1038
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
956
1039
  * @param reportProgress flag to report request and response progress.
957
1040
  */
958
- organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
1041
+ jobControllerCreateJob(createJobDto: CreateJobDto, observe?: 'body', reportProgress?: boolean, options?: {
959
1042
  httpHeaderAccept?: 'application/json';
960
1043
  context?: HttpContext;
961
1044
  transferCache?: boolean;
962
- }): Observable<APIOrganisation>;
963
- organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
1045
+ }): Observable<APIJob>;
1046
+ jobControllerCreateJob(createJobDto: CreateJobDto, observe?: 'response', reportProgress?: boolean, options?: {
964
1047
  httpHeaderAccept?: 'application/json';
965
1048
  context?: HttpContext;
966
1049
  transferCache?: boolean;
967
- }): Observable<HttpResponse<APIOrganisation>>;
968
- organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
1050
+ }): Observable<HttpResponse<APIJob>>;
1051
+ jobControllerCreateJob(createJobDto: CreateJobDto, observe?: 'events', reportProgress?: boolean, options?: {
969
1052
  httpHeaderAccept?: 'application/json';
970
1053
  context?: HttpContext;
971
1054
  transferCache?: boolean;
972
- }): Observable<HttpEvent<APIOrganisation>>;
973
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, [null, { optional: true; }, { optional: true; }]>;
974
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1055
+ }): Observable<HttpEvent<APIJob>>;
1056
+ /**
1057
+ * Delete a job
1058
+ * @endpoint delete /jobs/{id}
1059
+ * @param id
1060
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1061
+ * @param reportProgress flag to report request and response progress.
1062
+ */
1063
+ jobControllerDeleteJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
1064
+ httpHeaderAccept?: 'application/json';
1065
+ context?: HttpContext;
1066
+ transferCache?: boolean;
1067
+ }): Observable<APIMessageResponse>;
1068
+ jobControllerDeleteJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
1069
+ httpHeaderAccept?: 'application/json';
1070
+ context?: HttpContext;
1071
+ transferCache?: boolean;
1072
+ }): Observable<HttpResponse<APIMessageResponse>>;
1073
+ jobControllerDeleteJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
1074
+ httpHeaderAccept?: 'application/json';
1075
+ context?: HttpContext;
1076
+ transferCache?: boolean;
1077
+ }): Observable<HttpEvent<APIMessageResponse>>;
1078
+ /**
1079
+ * Get a job by ID
1080
+ * @endpoint get /jobs/{id}
1081
+ * @param id
1082
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1083
+ * @param reportProgress flag to report request and response progress.
1084
+ */
1085
+ jobControllerGetJob(id: string, observe?: 'body', reportProgress?: boolean, options?: {
1086
+ httpHeaderAccept?: 'application/json';
1087
+ context?: HttpContext;
1088
+ transferCache?: boolean;
1089
+ }): Observable<APIJob>;
1090
+ jobControllerGetJob(id: string, observe?: 'response', reportProgress?: boolean, options?: {
1091
+ httpHeaderAccept?: 'application/json';
1092
+ context?: HttpContext;
1093
+ transferCache?: boolean;
1094
+ }): Observable<HttpResponse<APIJob>>;
1095
+ jobControllerGetJob(id: string, observe?: 'events', reportProgress?: boolean, options?: {
1096
+ httpHeaderAccept?: 'application/json';
1097
+ context?: HttpContext;
1098
+ transferCache?: boolean;
1099
+ }): Observable<HttpEvent<APIJob>>;
1100
+ /**
1101
+ * List jobs
1102
+ * @endpoint get /jobs
1103
+ * @param page Page number
1104
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1105
+ * @param reportProgress flag to report request and response progress.
1106
+ */
1107
+ jobControllerGetJobs(page?: number, observe?: 'body', reportProgress?: boolean, options?: {
1108
+ httpHeaderAccept?: 'application/json';
1109
+ context?: HttpContext;
1110
+ transferCache?: boolean;
1111
+ }): Observable<APIPaginatedJobResponse>;
1112
+ jobControllerGetJobs(page?: number, observe?: 'response', reportProgress?: boolean, options?: {
1113
+ httpHeaderAccept?: 'application/json';
1114
+ context?: HttpContext;
1115
+ transferCache?: boolean;
1116
+ }): Observable<HttpResponse<APIPaginatedJobResponse>>;
1117
+ jobControllerGetJobs(page?: number, observe?: 'events', reportProgress?: boolean, options?: {
1118
+ httpHeaderAccept?: 'application/json';
1119
+ context?: HttpContext;
1120
+ transferCache?: boolean;
1121
+ }): Observable<HttpEvent<APIPaginatedJobResponse>>;
1122
+ /**
1123
+ * Update a job
1124
+ * @endpoint patch /jobs/{id}
1125
+ * @param id
1126
+ * @param updateJobDto
1127
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1128
+ * @param reportProgress flag to report request and response progress.
1129
+ */
1130
+ jobControllerUpdateJob(id: string, updateJobDto: UpdateJobDto, observe?: 'body', reportProgress?: boolean, options?: {
1131
+ httpHeaderAccept?: 'application/json';
1132
+ context?: HttpContext;
1133
+ transferCache?: boolean;
1134
+ }): Observable<APIJob>;
1135
+ jobControllerUpdateJob(id: string, updateJobDto: UpdateJobDto, observe?: 'response', reportProgress?: boolean, options?: {
1136
+ httpHeaderAccept?: 'application/json';
1137
+ context?: HttpContext;
1138
+ transferCache?: boolean;
1139
+ }): Observable<HttpResponse<APIJob>>;
1140
+ jobControllerUpdateJob(id: string, updateJobDto: UpdateJobDto, observe?: 'events', reportProgress?: boolean, options?: {
1141
+ httpHeaderAccept?: 'application/json';
1142
+ context?: HttpContext;
1143
+ transferCache?: boolean;
1144
+ }): Observable<HttpEvent<APIJob>>;
1145
+ static ɵfac: i0.ɵɵFactoryDeclaration<JobService, [null, { optional: true; }, { optional: true; }]>;
1146
+ static ɵprov: i0.ɵɵInjectableDeclaration<JobService>;
1147
+ }
1148
+
1149
+ /**
1150
+ * ViewCandidate API
1151
+ *
1152
+ *
1153
+ *
1154
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1155
+ * https://openapi-generator.tech
1156
+ * Do not edit the class manually.
1157
+ */
1158
+ interface APIJobCandidateStageHistory {
1159
+ id: string;
1160
+ fromStage: string | null;
1161
+ toStage: string | null;
1162
+ fromStatus: string | null;
1163
+ toStatus: string | null;
1164
+ movedById: string | null;
1165
+ createdAt: string;
975
1166
  }
976
1167
 
977
1168
  /**
@@ -989,6 +1180,252 @@ interface APICandidateMeta {
989
1180
  createdAt: string;
990
1181
  }
991
1182
 
1183
+ /**
1184
+ * ViewCandidate API
1185
+ *
1186
+ *
1187
+ *
1188
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1189
+ * https://openapi-generator.tech
1190
+ * Do not edit the class manually.
1191
+ */
1192
+
1193
+ interface APIJobCandidate {
1194
+ id: string;
1195
+ jobId: string;
1196
+ candidateId: string;
1197
+ candidate: APICandidateMeta;
1198
+ stage: string;
1199
+ status: string;
1200
+ createdAt: string;
1201
+ updatedAt: string;
1202
+ stageHistory?: Array<APIJobCandidateStageHistory>;
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
+
1215
+ interface APIPaginatedJobCandidateResponse {
1216
+ data: Array<APIJobCandidate>;
1217
+ page: number;
1218
+ pageSize: number;
1219
+ total: number;
1220
+ totalPages: number;
1221
+ }
1222
+
1223
+ /**
1224
+ * ViewCandidate API
1225
+ *
1226
+ *
1227
+ *
1228
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1229
+ * https://openapi-generator.tech
1230
+ * Do not edit the class manually.
1231
+ */
1232
+ interface CreateJobCandidateDto {
1233
+ /**
1234
+ * Candidate ID to add to the job pipeline
1235
+ */
1236
+ candidateId: string;
1237
+ }
1238
+
1239
+ /**
1240
+ * ViewCandidate API
1241
+ *
1242
+ *
1243
+ *
1244
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1245
+ * https://openapi-generator.tech
1246
+ * Do not edit the class manually.
1247
+ */
1248
+ interface UpdateJobCandidateDto {
1249
+ /**
1250
+ * Pipeline stage
1251
+ */
1252
+ stage?: UpdateJobCandidateDto.StageEnum;
1253
+ /**
1254
+ * Candidate status
1255
+ */
1256
+ status?: UpdateJobCandidateDto.StatusEnum;
1257
+ }
1258
+ declare namespace UpdateJobCandidateDto {
1259
+ const StageEnum: {
1260
+ readonly Screening: "screening";
1261
+ readonly Presented: "presented";
1262
+ readonly Interviewing: "interviewing";
1263
+ readonly Placed: "placed";
1264
+ };
1265
+ type StageEnum = typeof StageEnum[keyof typeof StageEnum];
1266
+ const StatusEnum: {
1267
+ readonly Active: "active";
1268
+ readonly Rejected: "rejected";
1269
+ };
1270
+ type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
1271
+ }
1272
+
1273
+ declare class JobCandidateService extends BaseService {
1274
+ protected httpClient: HttpClient;
1275
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1276
+ /**
1277
+ * Add a candidate to the job pipeline
1278
+ * @endpoint post /jobs/{jobId}/candidates
1279
+ * @param jobId
1280
+ * @param createJobCandidateDto
1281
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1282
+ * @param reportProgress flag to report request and response progress.
1283
+ */
1284
+ jobCandidateControllerCreateJobCandidate(jobId: string, createJobCandidateDto: CreateJobCandidateDto, observe?: 'body', reportProgress?: boolean, options?: {
1285
+ httpHeaderAccept?: 'application/json';
1286
+ context?: HttpContext;
1287
+ transferCache?: boolean;
1288
+ }): Observable<APIJobCandidate>;
1289
+ jobCandidateControllerCreateJobCandidate(jobId: string, createJobCandidateDto: CreateJobCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
1290
+ httpHeaderAccept?: 'application/json';
1291
+ context?: HttpContext;
1292
+ transferCache?: boolean;
1293
+ }): Observable<HttpResponse<APIJobCandidate>>;
1294
+ jobCandidateControllerCreateJobCandidate(jobId: string, createJobCandidateDto: CreateJobCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
1295
+ httpHeaderAccept?: 'application/json';
1296
+ context?: HttpContext;
1297
+ transferCache?: boolean;
1298
+ }): Observable<HttpEvent<APIJobCandidate>>;
1299
+ /**
1300
+ * Remove a candidate from the job pipeline
1301
+ * @endpoint delete /jobs/{jobId}/candidates/{id}
1302
+ * @param jobId
1303
+ * @param id
1304
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1305
+ * @param reportProgress flag to report request and response progress.
1306
+ */
1307
+ jobCandidateControllerDeleteJobCandidate(jobId: string, id: string, observe?: 'body', reportProgress?: boolean, options?: {
1308
+ httpHeaderAccept?: 'application/json';
1309
+ context?: HttpContext;
1310
+ transferCache?: boolean;
1311
+ }): Observable<APIMessageResponse>;
1312
+ jobCandidateControllerDeleteJobCandidate(jobId: string, id: string, observe?: 'response', reportProgress?: boolean, options?: {
1313
+ httpHeaderAccept?: 'application/json';
1314
+ context?: HttpContext;
1315
+ transferCache?: boolean;
1316
+ }): Observable<HttpResponse<APIMessageResponse>>;
1317
+ jobCandidateControllerDeleteJobCandidate(jobId: string, id: string, observe?: 'events', reportProgress?: boolean, options?: {
1318
+ httpHeaderAccept?: 'application/json';
1319
+ context?: HttpContext;
1320
+ transferCache?: boolean;
1321
+ }): Observable<HttpEvent<APIMessageResponse>>;
1322
+ /**
1323
+ * Get a job candidate pipeline entry
1324
+ * @endpoint get /jobs/{jobId}/candidates/{id}
1325
+ * @param jobId
1326
+ * @param id
1327
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1328
+ * @param reportProgress flag to report request and response progress.
1329
+ */
1330
+ jobCandidateControllerGetJobCandidate(jobId: string, id: string, observe?: 'body', reportProgress?: boolean, options?: {
1331
+ httpHeaderAccept?: 'application/json';
1332
+ context?: HttpContext;
1333
+ transferCache?: boolean;
1334
+ }): Observable<APIJobCandidate>;
1335
+ jobCandidateControllerGetJobCandidate(jobId: string, id: string, observe?: 'response', reportProgress?: boolean, options?: {
1336
+ httpHeaderAccept?: 'application/json';
1337
+ context?: HttpContext;
1338
+ transferCache?: boolean;
1339
+ }): Observable<HttpResponse<APIJobCandidate>>;
1340
+ jobCandidateControllerGetJobCandidate(jobId: string, id: string, observe?: 'events', reportProgress?: boolean, options?: {
1341
+ httpHeaderAccept?: 'application/json';
1342
+ context?: HttpContext;
1343
+ transferCache?: boolean;
1344
+ }): Observable<HttpEvent<APIJobCandidate>>;
1345
+ /**
1346
+ * List candidates in job pipeline
1347
+ * @endpoint get /jobs/{jobId}/candidates
1348
+ * @param jobId
1349
+ * @param page Page number
1350
+ * @param stage Filter by pipeline stage
1351
+ * @param status Filter by status
1352
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1353
+ * @param reportProgress flag to report request and response progress.
1354
+ */
1355
+ jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'body', reportProgress?: boolean, options?: {
1356
+ httpHeaderAccept?: 'application/json';
1357
+ context?: HttpContext;
1358
+ transferCache?: boolean;
1359
+ }): Observable<APIPaginatedJobCandidateResponse>;
1360
+ jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'response', reportProgress?: boolean, options?: {
1361
+ httpHeaderAccept?: 'application/json';
1362
+ context?: HttpContext;
1363
+ transferCache?: boolean;
1364
+ }): Observable<HttpResponse<APIPaginatedJobCandidateResponse>>;
1365
+ jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'events', reportProgress?: boolean, options?: {
1366
+ httpHeaderAccept?: 'application/json';
1367
+ context?: HttpContext;
1368
+ transferCache?: boolean;
1369
+ }): Observable<HttpEvent<APIPaginatedJobCandidateResponse>>;
1370
+ /**
1371
+ * Update stage or status of a pipeline entry
1372
+ * @endpoint patch /jobs/{jobId}/candidates/{id}
1373
+ * @param jobId
1374
+ * @param id
1375
+ * @param updateJobCandidateDto
1376
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1377
+ * @param reportProgress flag to report request and response progress.
1378
+ */
1379
+ jobCandidateControllerUpdateJobCandidate(jobId: string, id: string, updateJobCandidateDto: UpdateJobCandidateDto, observe?: 'body', reportProgress?: boolean, options?: {
1380
+ httpHeaderAccept?: 'application/json';
1381
+ context?: HttpContext;
1382
+ transferCache?: boolean;
1383
+ }): Observable<APIJobCandidate>;
1384
+ jobCandidateControllerUpdateJobCandidate(jobId: string, id: string, updateJobCandidateDto: UpdateJobCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
1385
+ httpHeaderAccept?: 'application/json';
1386
+ context?: HttpContext;
1387
+ transferCache?: boolean;
1388
+ }): Observable<HttpResponse<APIJobCandidate>>;
1389
+ jobCandidateControllerUpdateJobCandidate(jobId: string, id: string, updateJobCandidateDto: UpdateJobCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
1390
+ httpHeaderAccept?: 'application/json';
1391
+ context?: HttpContext;
1392
+ transferCache?: boolean;
1393
+ }): Observable<HttpEvent<APIJobCandidate>>;
1394
+ static ɵfac: i0.ɵɵFactoryDeclaration<JobCandidateService, [null, { optional: true; }, { optional: true; }]>;
1395
+ static ɵprov: i0.ɵɵInjectableDeclaration<JobCandidateService>;
1396
+ }
1397
+
1398
+ declare class OrganisationService extends BaseService {
1399
+ protected httpClient: HttpClient;
1400
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1401
+ /**
1402
+ * Update organisation branding (admin only)
1403
+ * @endpoint patch /organisation
1404
+ * @param name Organisation name
1405
+ * @param brandColour Brand colour in hex format. Send \\\&quot;DELETE\\\&quot; to remove the brand colour.
1406
+ * @param logo Logo image (PNG, JPEG, or WebP). Max 5MB. Will be resized to 400x400 max.
1407
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1408
+ * @param reportProgress flag to report request and response progress.
1409
+ */
1410
+ organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
1411
+ httpHeaderAccept?: 'application/json';
1412
+ context?: HttpContext;
1413
+ transferCache?: boolean;
1414
+ }): Observable<APIOrganisation>;
1415
+ organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
1416
+ httpHeaderAccept?: 'application/json';
1417
+ context?: HttpContext;
1418
+ transferCache?: boolean;
1419
+ }): Observable<HttpResponse<APIOrganisation>>;
1420
+ organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
1421
+ httpHeaderAccept?: 'application/json';
1422
+ context?: HttpContext;
1423
+ transferCache?: boolean;
1424
+ }): Observable<HttpEvent<APIOrganisation>>;
1425
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, [null, { optional: true; }, { optional: true; }]>;
1426
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1427
+ }
1428
+
992
1429
  /**
993
1430
  * ViewCandidate API
994
1431
  *
@@ -1130,7 +1567,7 @@ interface APIPublicPresentationCandidate {
1130
1567
  */
1131
1568
  interface APIPublicPresentationOrganisation {
1132
1569
  name: string;
1133
- brandColour?: string;
1570
+ brandColour?: string | null;
1134
1571
  logoUrl?: string;
1135
1572
  }
1136
1573
 
@@ -1394,7 +1831,67 @@ declare class PresentationService extends BaseService {
1394
1831
  static ɵprov: i0.ɵɵInjectableDeclaration<PresentationService>;
1395
1832
  }
1396
1833
 
1397
- declare const APIS: (typeof AuthService | typeof CVExtractionService | typeof CandidateService | typeof ClientService | typeof HealthService | typeof OrganisationService | typeof PresentationService)[];
1834
+ /**
1835
+ * ViewCandidate API
1836
+ *
1837
+ *
1838
+ *
1839
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1840
+ * https://openapi-generator.tech
1841
+ * Do not edit the class manually.
1842
+ */
1843
+ interface APIWaitlistEntry {
1844
+ id: string;
1845
+ email: string;
1846
+ createdAt: string;
1847
+ }
1848
+
1849
+ /**
1850
+ * ViewCandidate API
1851
+ *
1852
+ *
1853
+ *
1854
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1855
+ * https://openapi-generator.tech
1856
+ * Do not edit the class manually.
1857
+ */
1858
+ interface CreateWaitlistEntryDto {
1859
+ /**
1860
+ * Email address to add to the waitlist
1861
+ */
1862
+ email: string;
1863
+ }
1864
+
1865
+ declare class WaitlistService extends BaseService {
1866
+ protected httpClient: HttpClient;
1867
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1868
+ /**
1869
+ * Join the waitlist
1870
+ * @endpoint post /waitlist
1871
+ * @param createWaitlistEntryDto
1872
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1873
+ * @param reportProgress flag to report request and response progress.
1874
+ */
1875
+ waitlistControllerCreate(createWaitlistEntryDto: CreateWaitlistEntryDto, observe?: 'body', reportProgress?: boolean, options?: {
1876
+ httpHeaderAccept?: 'application/json';
1877
+ context?: HttpContext;
1878
+ transferCache?: boolean;
1879
+ }): Observable<APIWaitlistEntry>;
1880
+ waitlistControllerCreate(createWaitlistEntryDto: CreateWaitlistEntryDto, observe?: 'response', reportProgress?: boolean, options?: {
1881
+ httpHeaderAccept?: 'application/json';
1882
+ context?: HttpContext;
1883
+ transferCache?: boolean;
1884
+ }): Observable<HttpResponse<APIWaitlistEntry>>;
1885
+ waitlistControllerCreate(createWaitlistEntryDto: CreateWaitlistEntryDto, observe?: 'events', reportProgress?: boolean, options?: {
1886
+ httpHeaderAccept?: 'application/json';
1887
+ context?: HttpContext;
1888
+ transferCache?: boolean;
1889
+ }): Observable<HttpEvent<APIWaitlistEntry>>;
1890
+ static ɵfac: i0.ɵɵFactoryDeclaration<WaitlistService, [null, { optional: true; }, { optional: true; }]>;
1891
+ static ɵprov: i0.ɵɵInjectableDeclaration<WaitlistService>;
1892
+ }
1893
+
1894
+ declare const APIS: (typeof AuthService | typeof CVExtractionService | typeof CandidateService | typeof ClientService | typeof HealthService | typeof JobService | typeof JobCandidateService | typeof OrganisationService | typeof PresentationService | typeof WaitlistService)[];
1398
1895
 
1399
1896
  /**
1400
1897
  * ViewCandidate API
@@ -1437,5 +1934,5 @@ declare class ViewCandidateApiModule {
1437
1934
 
1438
1935
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1439
1936
 
1440
- export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, OrganisationService, PresentationService, UpdateCandidateDto, UpdateCandidateLanguageDto, ViewCandidateApiModule, provideApi };
1441
- export type { APIAuthResponse, APICandidateEducationHistory, APICandidateMeta, APICandidateWithPresentations, APICandidateWorkHistory, APIClient, APIInterviewRequest, APIMessageResponse, APIOrganisation, APIPaginatedCandidateResponse, APIPaginatedClientResponse, APIPaginatedInterviewRequestResponse, APIPresentation, APIPresentationWithCandidateMeta, APIPublicPresentationCandidate, APIPublicPresentationCandidateEducationHistory, APIPublicPresentationCandidateWorkHistory, APIPublicPresentationOrganisation, APIPublicPresentationWithCandidate, APIUser, ConfigurationParameters, CreateClientDto, CreatePresentationDto, DataFormat, DataType, HealthControllerCheck200Response, HealthControllerCheck200ResponseInfoValue, HealthControllerCheck503Response, LoginDto, Param, ParamLocation, ParamStyle, RequestInterviewDto, ResendVerificationDto, SignupDto, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateCandidateEducationHistoryDto, UpdateCandidateWorkHistoryDto, UpdatePresentationDto, VerifyEmailDto };
1937
+ export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidateService, JobService, OrganisationService, PresentationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
1938
+ export type { APIAuthResponse, APICandidateEducationHistory, APICandidateMeta, APICandidateWithPresentations, APICandidateWorkHistory, APIClient, APIInterviewRequest, APIJob, APIJobCandidate, APIJobCandidateStageHistory, APIMessageResponse, APIOrganisation, APIPaginatedCandidateResponse, APIPaginatedClientResponse, APIPaginatedInterviewRequestResponse, APIPaginatedJobCandidateResponse, APIPaginatedJobResponse, APIPresentation, APIPresentationWithCandidateMeta, APIPublicPresentationCandidate, APIPublicPresentationCandidateEducationHistory, APIPublicPresentationCandidateWorkHistory, APIPublicPresentationOrganisation, APIPublicPresentationWithCandidate, APIUser, APIWaitlistEntry, ConfigurationParameters, CreateClientDto, CreateJobCandidateDto, CreateJobDto, CreatePresentationDto, CreateWaitlistEntryDto, DataFormat, DataType, HealthControllerCheck200Response, HealthControllerCheck200ResponseInfoValue, HealthControllerCheck503Response, LoginDto, Param, ParamLocation, ParamStyle, RequestInterviewDto, ResendVerificationDto, SignupDto, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateCandidateEducationHistoryDto, UpdateCandidateWorkHistoryDto, UpdateJobDto, UpdatePresentationDto, VerifyEmailDto };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewcandidate/client",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "OpenAPI client for @viewcandidate/client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {