@pescheckit/pescheck-client 0.0.5

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.
Files changed (285) hide show
  1. package/.openapi-generator/FILES +97 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +200 -0
  5. package/dist/apis/AuthenticationApi.d.ts +131 -0
  6. package/dist/apis/AuthenticationApi.js +168 -0
  7. package/dist/apis/ChecksApi.d.ts +91 -0
  8. package/dist/apis/ChecksApi.js +116 -0
  9. package/dist/apis/DivisionsApi.d.ts +211 -0
  10. package/dist/apis/DivisionsApi.js +264 -0
  11. package/dist/apis/OAuthApi.d.ts +124 -0
  12. package/dist/apis/OAuthApi.js +159 -0
  13. package/dist/apis/ProfilesApi.d.ts +270 -0
  14. package/dist/apis/ProfilesApi.js +334 -0
  15. package/dist/apis/ScreeningsApi.d.ts +172 -0
  16. package/dist/apis/ScreeningsApi.js +216 -0
  17. package/dist/apis/WebhooksApi.d.ts +168 -0
  18. package/dist/apis/WebhooksApi.js +213 -0
  19. package/dist/apis/index.d.ts +7 -0
  20. package/dist/apis/index.js +25 -0
  21. package/dist/esm/apis/AuthenticationApi.d.ts +131 -0
  22. package/dist/esm/apis/AuthenticationApi.js +164 -0
  23. package/dist/esm/apis/ChecksApi.d.ts +91 -0
  24. package/dist/esm/apis/ChecksApi.js +112 -0
  25. package/dist/esm/apis/DivisionsApi.d.ts +211 -0
  26. package/dist/esm/apis/DivisionsApi.js +260 -0
  27. package/dist/esm/apis/OAuthApi.d.ts +124 -0
  28. package/dist/esm/apis/OAuthApi.js +155 -0
  29. package/dist/esm/apis/ProfilesApi.d.ts +270 -0
  30. package/dist/esm/apis/ProfilesApi.js +330 -0
  31. package/dist/esm/apis/ScreeningsApi.d.ts +172 -0
  32. package/dist/esm/apis/ScreeningsApi.js +212 -0
  33. package/dist/esm/apis/WebhooksApi.d.ts +168 -0
  34. package/dist/esm/apis/WebhooksApi.js +209 -0
  35. package/dist/esm/apis/index.d.ts +7 -0
  36. package/dist/esm/apis/index.js +9 -0
  37. package/dist/esm/index.d.ts +3 -0
  38. package/dist/esm/index.js +5 -0
  39. package/dist/esm/models/CustomTokenObtainPair.d.ts +38 -0
  40. package/dist/esm/models/CustomTokenObtainPair.js +47 -0
  41. package/dist/esm/models/DivisionReadOnly.d.ts +116 -0
  42. package/dist/esm/models/DivisionReadOnly.js +73 -0
  43. package/dist/esm/models/DivisionWrite.d.ts +98 -0
  44. package/dist/esm/models/DivisionWrite.js +78 -0
  45. package/dist/esm/models/JWTGeneration.d.ts +50 -0
  46. package/dist/esm/models/JWTGeneration.js +51 -0
  47. package/dist/esm/models/JWTResponse.d.ts +62 -0
  48. package/dist/esm/models/JWTResponse.js +61 -0
  49. package/dist/esm/models/OAuthApplication.d.ts +84 -0
  50. package/dist/esm/models/OAuthApplication.js +68 -0
  51. package/dist/esm/models/OAuthApplicationResponse.d.ts +98 -0
  52. package/dist/esm/models/OAuthApplicationResponse.js +80 -0
  53. package/dist/esm/models/PaginatedDivisionReadOnlyList.d.ts +51 -0
  54. package/dist/esm/models/PaginatedDivisionReadOnlyList.js +56 -0
  55. package/dist/esm/models/PaginatedV2ProfileListItemList.d.ts +51 -0
  56. package/dist/esm/models/PaginatedV2ProfileListItemList.js +56 -0
  57. package/dist/esm/models/PaginatedV2ScreeningListItemList.d.ts +51 -0
  58. package/dist/esm/models/PaginatedV2ScreeningListItemList.js +56 -0
  59. package/dist/esm/models/PatchedDivisionWrite.d.ts +98 -0
  60. package/dist/esm/models/PatchedDivisionWrite.js +62 -0
  61. package/dist/esm/models/PatchedV2ProfilePartialUpdate.d.ts +39 -0
  62. package/dist/esm/models/PatchedV2ProfilePartialUpdate.js +43 -0
  63. package/dist/esm/models/TokenRefresh.d.ts +38 -0
  64. package/dist/esm/models/TokenRefresh.js +44 -0
  65. package/dist/esm/models/V2Candidate.d.ts +592 -0
  66. package/dist/esm/models/V2Candidate.js +318 -0
  67. package/dist/esm/models/V2CheckField.d.ts +56 -0
  68. package/dist/esm/models/V2CheckField.js +53 -0
  69. package/dist/esm/models/V2CheckInfo.d.ts +100 -0
  70. package/dist/esm/models/V2CheckInfo.js +76 -0
  71. package/dist/esm/models/V2Document.d.ts +115 -0
  72. package/dist/esm/models/V2Document.js +84 -0
  73. package/dist/esm/models/V2DocumentContent.d.ts +40 -0
  74. package/dist/esm/models/V2DocumentContent.js +45 -0
  75. package/dist/esm/models/V2Money.d.ts +38 -0
  76. package/dist/esm/models/V2Money.js +47 -0
  77. package/dist/esm/models/V2ProfileCheck.d.ts +85 -0
  78. package/dist/esm/models/V2ProfileCheck.js +68 -0
  79. package/dist/esm/models/V2ProfileCheckEntry.d.ts +120 -0
  80. package/dist/esm/models/V2ProfileCheckEntry.js +87 -0
  81. package/dist/esm/models/V2ProfileCreate.d.ts +45 -0
  82. package/dist/esm/models/V2ProfileCreate.js +50 -0
  83. package/dist/esm/models/V2ProfileDetail.d.ts +94 -0
  84. package/dist/esm/models/V2ProfileDetail.js +75 -0
  85. package/dist/esm/models/V2ProfileListItem.d.ts +68 -0
  86. package/dist/esm/models/V2ProfileListItem.js +61 -0
  87. package/dist/esm/models/V2ProfileUpdate.d.ts +47 -0
  88. package/dist/esm/models/V2ProfileUpdate.js +50 -0
  89. package/dist/esm/models/V2ProfileUpdateCheck.d.ts +96 -0
  90. package/dist/esm/models/V2ProfileUpdateCheck.js +74 -0
  91. package/dist/esm/models/V2ScreeningCheck.d.ts +95 -0
  92. package/dist/esm/models/V2ScreeningCheck.js +72 -0
  93. package/dist/esm/models/V2ScreeningCheckEntry.d.ts +135 -0
  94. package/dist/esm/models/V2ScreeningCheckEntry.js +92 -0
  95. package/dist/esm/models/V2ScreeningCheckListItem.d.ts +93 -0
  96. package/dist/esm/models/V2ScreeningCheckListItem.js +74 -0
  97. package/dist/esm/models/V2ScreeningCreate.d.ts +46 -0
  98. package/dist/esm/models/V2ScreeningCreate.js +51 -0
  99. package/dist/esm/models/V2ScreeningDetail.d.ts +83 -0
  100. package/dist/esm/models/V2ScreeningDetail.js +70 -0
  101. package/dist/esm/models/V2ScreeningDetailProfile.d.ts +38 -0
  102. package/dist/esm/models/V2ScreeningDetailProfile.js +43 -0
  103. package/dist/esm/models/V2ScreeningListItem.d.ts +85 -0
  104. package/dist/esm/models/V2ScreeningListItem.js +69 -0
  105. package/dist/esm/models/VerifyWebhook.d.ts +34 -0
  106. package/dist/esm/models/VerifyWebhook.js +43 -0
  107. package/dist/esm/models/Webhook.d.ts +71 -0
  108. package/dist/esm/models/Webhook.js +69 -0
  109. package/dist/esm/models/WebhookResponse.d.ts +87 -0
  110. package/dist/esm/models/WebhookResponse.js +51 -0
  111. package/dist/esm/models/index.d.ts +36 -0
  112. package/dist/esm/models/index.js +38 -0
  113. package/dist/esm/runtime.d.ts +184 -0
  114. package/dist/esm/runtime.js +349 -0
  115. package/dist/index.d.ts +3 -0
  116. package/dist/index.js +21 -0
  117. package/dist/models/CustomTokenObtainPair.d.ts +38 -0
  118. package/dist/models/CustomTokenObtainPair.js +54 -0
  119. package/dist/models/DivisionReadOnly.d.ts +116 -0
  120. package/dist/models/DivisionReadOnly.js +80 -0
  121. package/dist/models/DivisionWrite.d.ts +98 -0
  122. package/dist/models/DivisionWrite.js +85 -0
  123. package/dist/models/JWTGeneration.d.ts +50 -0
  124. package/dist/models/JWTGeneration.js +58 -0
  125. package/dist/models/JWTResponse.d.ts +62 -0
  126. package/dist/models/JWTResponse.js +68 -0
  127. package/dist/models/OAuthApplication.d.ts +84 -0
  128. package/dist/models/OAuthApplication.js +76 -0
  129. package/dist/models/OAuthApplicationResponse.d.ts +98 -0
  130. package/dist/models/OAuthApplicationResponse.js +88 -0
  131. package/dist/models/PaginatedDivisionReadOnlyList.d.ts +51 -0
  132. package/dist/models/PaginatedDivisionReadOnlyList.js +63 -0
  133. package/dist/models/PaginatedV2ProfileListItemList.d.ts +51 -0
  134. package/dist/models/PaginatedV2ProfileListItemList.js +63 -0
  135. package/dist/models/PaginatedV2ScreeningListItemList.d.ts +51 -0
  136. package/dist/models/PaginatedV2ScreeningListItemList.js +63 -0
  137. package/dist/models/PatchedDivisionWrite.d.ts +98 -0
  138. package/dist/models/PatchedDivisionWrite.js +69 -0
  139. package/dist/models/PatchedV2ProfilePartialUpdate.d.ts +39 -0
  140. package/dist/models/PatchedV2ProfilePartialUpdate.js +50 -0
  141. package/dist/models/TokenRefresh.d.ts +38 -0
  142. package/dist/models/TokenRefresh.js +51 -0
  143. package/dist/models/V2Candidate.d.ts +592 -0
  144. package/dist/models/V2Candidate.js +326 -0
  145. package/dist/models/V2CheckField.d.ts +56 -0
  146. package/dist/models/V2CheckField.js +60 -0
  147. package/dist/models/V2CheckInfo.d.ts +100 -0
  148. package/dist/models/V2CheckInfo.js +83 -0
  149. package/dist/models/V2Document.d.ts +115 -0
  150. package/dist/models/V2Document.js +92 -0
  151. package/dist/models/V2DocumentContent.d.ts +40 -0
  152. package/dist/models/V2DocumentContent.js +52 -0
  153. package/dist/models/V2Money.d.ts +38 -0
  154. package/dist/models/V2Money.js +54 -0
  155. package/dist/models/V2ProfileCheck.d.ts +85 -0
  156. package/dist/models/V2ProfileCheck.js +76 -0
  157. package/dist/models/V2ProfileCheckEntry.d.ts +120 -0
  158. package/dist/models/V2ProfileCheckEntry.js +95 -0
  159. package/dist/models/V2ProfileCreate.d.ts +45 -0
  160. package/dist/models/V2ProfileCreate.js +57 -0
  161. package/dist/models/V2ProfileDetail.d.ts +94 -0
  162. package/dist/models/V2ProfileDetail.js +82 -0
  163. package/dist/models/V2ProfileListItem.d.ts +68 -0
  164. package/dist/models/V2ProfileListItem.js +68 -0
  165. package/dist/models/V2ProfileUpdate.d.ts +47 -0
  166. package/dist/models/V2ProfileUpdate.js +57 -0
  167. package/dist/models/V2ProfileUpdateCheck.d.ts +96 -0
  168. package/dist/models/V2ProfileUpdateCheck.js +82 -0
  169. package/dist/models/V2ScreeningCheck.d.ts +95 -0
  170. package/dist/models/V2ScreeningCheck.js +80 -0
  171. package/dist/models/V2ScreeningCheckEntry.d.ts +135 -0
  172. package/dist/models/V2ScreeningCheckEntry.js +100 -0
  173. package/dist/models/V2ScreeningCheckListItem.d.ts +93 -0
  174. package/dist/models/V2ScreeningCheckListItem.js +82 -0
  175. package/dist/models/V2ScreeningCreate.d.ts +46 -0
  176. package/dist/models/V2ScreeningCreate.js +58 -0
  177. package/dist/models/V2ScreeningDetail.d.ts +83 -0
  178. package/dist/models/V2ScreeningDetail.js +77 -0
  179. package/dist/models/V2ScreeningDetailProfile.d.ts +38 -0
  180. package/dist/models/V2ScreeningDetailProfile.js +50 -0
  181. package/dist/models/V2ScreeningListItem.d.ts +85 -0
  182. package/dist/models/V2ScreeningListItem.js +76 -0
  183. package/dist/models/VerifyWebhook.d.ts +34 -0
  184. package/dist/models/VerifyWebhook.js +50 -0
  185. package/dist/models/Webhook.d.ts +71 -0
  186. package/dist/models/Webhook.js +77 -0
  187. package/dist/models/WebhookResponse.d.ts +87 -0
  188. package/dist/models/WebhookResponse.js +58 -0
  189. package/dist/models/index.d.ts +36 -0
  190. package/dist/models/index.js +54 -0
  191. package/dist/runtime.d.ts +184 -0
  192. package/dist/runtime.js +365 -0
  193. package/docs/AuthenticationApi.md +227 -0
  194. package/docs/ChecksApi.md +150 -0
  195. package/docs/CustomTokenObtainPair.md +37 -0
  196. package/docs/DivisionReadOnly.md +62 -0
  197. package/docs/DivisionWrite.md +56 -0
  198. package/docs/DivisionsApi.md +380 -0
  199. package/docs/JWTGeneration.md +41 -0
  200. package/docs/JWTResponse.md +45 -0
  201. package/docs/OAuthApi.md +222 -0
  202. package/docs/OAuthApplication.md +43 -0
  203. package/docs/OAuthApplicationResponse.md +49 -0
  204. package/docs/PaginatedDivisionReadOnlyList.md +40 -0
  205. package/docs/PaginatedV2ProfileListItemList.md +40 -0
  206. package/docs/PaginatedV2ScreeningListItemList.md +40 -0
  207. package/docs/PatchedDivisionWrite.md +56 -0
  208. package/docs/PatchedV2ProfilePartialUpdate.md +37 -0
  209. package/docs/ProfilesApi.md +456 -0
  210. package/docs/ScreeningsApi.md +302 -0
  211. package/docs/TokenRefresh.md +36 -0
  212. package/docs/V2Candidate.md +53 -0
  213. package/docs/V2CheckField.md +43 -0
  214. package/docs/V2CheckInfo.md +57 -0
  215. package/docs/V2Document.md +45 -0
  216. package/docs/V2DocumentContent.md +37 -0
  217. package/docs/V2Money.md +36 -0
  218. package/docs/V2ProfileCheck.md +37 -0
  219. package/docs/V2ProfileCheckEntry.md +46 -0
  220. package/docs/V2ProfileCreate.md +38 -0
  221. package/docs/V2ProfileDetail.md +54 -0
  222. package/docs/V2ProfileListItem.md +46 -0
  223. package/docs/V2ProfileUpdate.md +39 -0
  224. package/docs/V2ProfileUpdateCheck.md +39 -0
  225. package/docs/V2ScreeningCheck.md +41 -0
  226. package/docs/V2ScreeningCheckEntry.md +50 -0
  227. package/docs/V2ScreeningCheckListItem.md +39 -0
  228. package/docs/V2ScreeningCreate.md +38 -0
  229. package/docs/V2ScreeningDetail.md +50 -0
  230. package/docs/V2ScreeningDetailProfile.md +36 -0
  231. package/docs/V2ScreeningListItem.md +51 -0
  232. package/docs/VerifyWebhook.md +35 -0
  233. package/docs/Webhook.md +43 -0
  234. package/docs/WebhookResponse.md +53 -0
  235. package/docs/WebhooksApi.md +305 -0
  236. package/package.json +25 -0
  237. package/src/apis/AuthenticationApi.ts +285 -0
  238. package/src/apis/ChecksApi.ts +181 -0
  239. package/src/apis/DivisionsApi.ts +462 -0
  240. package/src/apis/OAuthApi.ts +256 -0
  241. package/src/apis/ProfilesApi.ts +583 -0
  242. package/src/apis/ScreeningsApi.ts +376 -0
  243. package/src/apis/WebhooksApi.ts +363 -0
  244. package/src/apis/index.ts +9 -0
  245. package/src/index.ts +5 -0
  246. package/src/models/CustomTokenObtainPair.ts +75 -0
  247. package/src/models/DivisionReadOnly.ts +177 -0
  248. package/src/models/DivisionWrite.ts +160 -0
  249. package/src/models/JWTGeneration.ts +91 -0
  250. package/src/models/JWTResponse.ts +110 -0
  251. package/src/models/OAuthApplication.ts +130 -0
  252. package/src/models/OAuthApplicationResponse.ts +151 -0
  253. package/src/models/PaginatedDivisionReadOnlyList.ts +101 -0
  254. package/src/models/PaginatedV2ProfileListItemList.ts +101 -0
  255. package/src/models/PaginatedV2ScreeningListItemList.ts +101 -0
  256. package/src/models/PatchedDivisionWrite.ts +152 -0
  257. package/src/models/PatchedV2ProfilePartialUpdate.ts +74 -0
  258. package/src/models/TokenRefresh.ts +73 -0
  259. package/src/models/V2Candidate.ts +649 -0
  260. package/src/models/V2CheckField.ts +97 -0
  261. package/src/models/V2CheckInfo.ts +168 -0
  262. package/src/models/V2Document.ts +166 -0
  263. package/src/models/V2DocumentContent.ts +76 -0
  264. package/src/models/V2Money.ts +75 -0
  265. package/src/models/V2ProfileCheck.ts +122 -0
  266. package/src/models/V2ProfileCheckEntry.ts +173 -0
  267. package/src/models/V2ProfileCreate.ts +91 -0
  268. package/src/models/V2ProfileDetail.ts +162 -0
  269. package/src/models/V2ProfileListItem.ts +115 -0
  270. package/src/models/V2ProfileUpdate.ts +93 -0
  271. package/src/models/V2ProfileUpdateCheck.ts +135 -0
  272. package/src/models/V2ScreeningCheck.ts +136 -0
  273. package/src/models/V2ScreeningCheckEntry.ts +181 -0
  274. package/src/models/V2ScreeningCheckListItem.ts +133 -0
  275. package/src/models/V2ScreeningCreate.ts +98 -0
  276. package/src/models/V2ScreeningDetail.ts +152 -0
  277. package/src/models/V2ScreeningDetailProfile.ts +73 -0
  278. package/src/models/V2ScreeningListItem.ts +154 -0
  279. package/src/models/VerifyWebhook.ts +68 -0
  280. package/src/models/Webhook.ts +118 -0
  281. package/src/models/WebhookResponse.ts +140 -0
  282. package/src/models/index.ts +38 -0
  283. package/src/runtime.ts +449 -0
  284. package/tsconfig.esm.json +7 -0
  285. package/tsconfig.json +16 -0
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pescheck API
5
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const V2ProfileUpdateCheckCheckTypeEnum = {
18
+ Addresscheck: 'addresscheck',
19
+ Adversemediacheck: 'adversemediacheck',
20
+ Bigcheck: 'bigcheck',
21
+ Criminalrecordscheck: 'criminalrecordscheck',
22
+ Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
23
+ Customintegritycheck: 'customintegritycheck',
24
+ Cvcheck: 'cvcheck',
25
+ Edrcheck: 'edrcheck',
26
+ Focumcheck: 'focumcheck',
27
+ Id2check: 'id2check',
28
+ Idcheck: 'idcheck',
29
+ Integritycheck: 'integritycheck',
30
+ Openhealthcarecheck: 'openhealthcarecheck',
31
+ Permissioncheck: 'permissioncheck',
32
+ Pescheckadversemediacheck: 'pescheckadversemediacheck',
33
+ Qualificationcheck: 'qualificationcheck',
34
+ Righttoworkcheck: 'righttoworkcheck',
35
+ Vogcheck: 'vogcheck',
36
+ Watchlist2check: 'watchlist2check',
37
+ Watchlistcheck: 'watchlistcheck',
38
+ Workreferencecheck: 'workreferencecheck',
39
+ Worldwidecreditcheck: 'worldwidecreditcheck'
40
+ };
41
+ /**
42
+ * Check if a given object implements the V2ProfileUpdateCheck interface.
43
+ */
44
+ export function instanceOfV2ProfileUpdateCheck(value) {
45
+ if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
46
+ return false;
47
+ return true;
48
+ }
49
+ export function V2ProfileUpdateCheckFromJSON(json) {
50
+ return V2ProfileUpdateCheckFromJSONTyped(json, false);
51
+ }
52
+ export function V2ProfileUpdateCheckFromJSONTyped(json, ignoreDiscriminator) {
53
+ if (json == null) {
54
+ return json;
55
+ }
56
+ return {
57
+ 'checkType': json['check_type'],
58
+ 'config': json['config'] == null ? undefined : json['config'],
59
+ 'profileCheckId': json['profile_check_id'] == null ? undefined : json['profile_check_id'],
60
+ };
61
+ }
62
+ export function V2ProfileUpdateCheckToJSON(json) {
63
+ return V2ProfileUpdateCheckToJSONTyped(json, false);
64
+ }
65
+ export function V2ProfileUpdateCheckToJSONTyped(value, ignoreDiscriminator = false) {
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+ return {
70
+ 'check_type': value['checkType'],
71
+ 'config': value['config'],
72
+ 'profile_check_id': value['profileCheckId'],
73
+ };
74
+ }
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Pescheck API
3
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Per-screening entry: identifies a target ProfileCheck (by check_type when
14
+ * unambiguous, or via profile_check_id when the profile has multiple ProfileChecks
15
+ * of the same type) and supplies optional `config` patch + per-check `input`.
16
+ * @export
17
+ * @interface V2ScreeningCheck
18
+ */
19
+ export interface V2ScreeningCheck {
20
+ /**
21
+ * * `addresscheck` - addresscheck
22
+ * * `adversemediacheck` - adversemediacheck
23
+ * * `bigcheck` - bigcheck
24
+ * * `criminalrecordscheck` - criminalrecordscheck
25
+ * * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck
26
+ * * `customintegritycheck` - customintegritycheck
27
+ * * `cvcheck` - cvcheck
28
+ * * `edrcheck` - edrcheck
29
+ * * `id2check` - id2check
30
+ * * `integritycheck` - integritycheck
31
+ * * `openhealthcarecheck` - openhealthcarecheck
32
+ * * `qualificationcheck` - qualificationcheck
33
+ * * `righttoworkcheck` - righttoworkcheck
34
+ * * `vogcheck` - vogcheck
35
+ * * `watchlist2check` - watchlist2check
36
+ * * `watchlistcheck` - watchlistcheck
37
+ * * `workreferencecheck` - workreferencecheck
38
+ * * `worldwidecreditcheck` - worldwidecreditcheck
39
+ * @type {V2ScreeningCheckCheckTypeEnum}
40
+ * @memberof V2ScreeningCheck
41
+ */
42
+ checkType: V2ScreeningCheckCheckTypeEnum;
43
+ /**
44
+ *
45
+ * @type {{ [key: string]: any; }}
46
+ * @memberof V2ScreeningCheck
47
+ */
48
+ config?: {
49
+ [key: string]: any;
50
+ };
51
+ /**
52
+ * Disambiguator. Use when the profile has multiple ProfileChecks of the same check_type.
53
+ * @type {string}
54
+ * @memberof V2ScreeningCheck
55
+ */
56
+ profileCheckId?: string;
57
+ /**
58
+ *
59
+ * @type {any}
60
+ * @memberof V2ScreeningCheck
61
+ */
62
+ input?: any | null;
63
+ }
64
+ /**
65
+ * @export
66
+ */
67
+ export declare const V2ScreeningCheckCheckTypeEnum: {
68
+ readonly Addresscheck: "addresscheck";
69
+ readonly Adversemediacheck: "adversemediacheck";
70
+ readonly Bigcheck: "bigcheck";
71
+ readonly Criminalrecordscheck: "criminalrecordscheck";
72
+ readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
73
+ readonly Customintegritycheck: "customintegritycheck";
74
+ readonly Cvcheck: "cvcheck";
75
+ readonly Edrcheck: "edrcheck";
76
+ readonly Id2check: "id2check";
77
+ readonly Integritycheck: "integritycheck";
78
+ readonly Openhealthcarecheck: "openhealthcarecheck";
79
+ readonly Qualificationcheck: "qualificationcheck";
80
+ readonly Righttoworkcheck: "righttoworkcheck";
81
+ readonly Vogcheck: "vogcheck";
82
+ readonly Watchlist2check: "watchlist2check";
83
+ readonly Watchlistcheck: "watchlistcheck";
84
+ readonly Workreferencecheck: "workreferencecheck";
85
+ readonly Worldwidecreditcheck: "worldwidecreditcheck";
86
+ };
87
+ export type V2ScreeningCheckCheckTypeEnum = typeof V2ScreeningCheckCheckTypeEnum[keyof typeof V2ScreeningCheckCheckTypeEnum];
88
+ /**
89
+ * Check if a given object implements the V2ScreeningCheck interface.
90
+ */
91
+ export declare function instanceOfV2ScreeningCheck(value: any): value is V2ScreeningCheck;
92
+ export declare function V2ScreeningCheckFromJSON(json: any): V2ScreeningCheck;
93
+ export declare function V2ScreeningCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ScreeningCheck;
94
+ export declare function V2ScreeningCheckToJSON(json: any): V2ScreeningCheck;
95
+ export declare function V2ScreeningCheckToJSONTyped(value?: V2ScreeningCheck | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pescheck API
5
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const V2ScreeningCheckCheckTypeEnum = {
18
+ Addresscheck: 'addresscheck',
19
+ Adversemediacheck: 'adversemediacheck',
20
+ Bigcheck: 'bigcheck',
21
+ Criminalrecordscheck: 'criminalrecordscheck',
22
+ Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
23
+ Customintegritycheck: 'customintegritycheck',
24
+ Cvcheck: 'cvcheck',
25
+ Edrcheck: 'edrcheck',
26
+ Id2check: 'id2check',
27
+ Integritycheck: 'integritycheck',
28
+ Openhealthcarecheck: 'openhealthcarecheck',
29
+ Qualificationcheck: 'qualificationcheck',
30
+ Righttoworkcheck: 'righttoworkcheck',
31
+ Vogcheck: 'vogcheck',
32
+ Watchlist2check: 'watchlist2check',
33
+ Watchlistcheck: 'watchlistcheck',
34
+ Workreferencecheck: 'workreferencecheck',
35
+ Worldwidecreditcheck: 'worldwidecreditcheck'
36
+ };
37
+ /**
38
+ * Check if a given object implements the V2ScreeningCheck interface.
39
+ */
40
+ export function instanceOfV2ScreeningCheck(value) {
41
+ if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
42
+ return false;
43
+ return true;
44
+ }
45
+ export function V2ScreeningCheckFromJSON(json) {
46
+ return V2ScreeningCheckFromJSONTyped(json, false);
47
+ }
48
+ export function V2ScreeningCheckFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'checkType': json['check_type'],
54
+ 'config': json['config'] == null ? undefined : json['config'],
55
+ 'profileCheckId': json['profile_check_id'] == null ? undefined : json['profile_check_id'],
56
+ 'input': json['input'] == null ? undefined : json['input'],
57
+ };
58
+ }
59
+ export function V2ScreeningCheckToJSON(json) {
60
+ return V2ScreeningCheckToJSONTyped(json, false);
61
+ }
62
+ export function V2ScreeningCheckToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'check_type': value['checkType'],
68
+ 'config': value['config'],
69
+ 'profile_check_id': value['profileCheckId'],
70
+ 'input': value['input'],
71
+ };
72
+ }
@@ -0,0 +1,135 @@
1
+ /**
2
+ * Pescheck API
3
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface V2ScreeningCheckEntry
16
+ */
17
+ export interface V2ScreeningCheckEntry {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof V2ScreeningCheckEntry
22
+ */
23
+ readonly id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof V2ScreeningCheckEntry
28
+ */
29
+ readonly profileCheckId: string | null;
30
+ /**
31
+ * * `addresscheck` - addresscheck
32
+ * * `adversemediacheck` - adversemediacheck
33
+ * * `bigcheck` - bigcheck
34
+ * * `criminalrecordscheck` - criminalrecordscheck
35
+ * * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck
36
+ * * `customintegritycheck` - customintegritycheck
37
+ * * `cvcheck` - cvcheck
38
+ * * `edrcheck` - edrcheck
39
+ * * `focumcheck` - focumcheck
40
+ * * `id2check` - id2check
41
+ * * `idcheck` - idcheck
42
+ * * `integritycheck` - integritycheck
43
+ * * `openhealthcarecheck` - openhealthcarecheck
44
+ * * `permissioncheck` - permissioncheck
45
+ * * `pescheckadversemediacheck` - pescheckadversemediacheck
46
+ * * `qualificationcheck` - qualificationcheck
47
+ * * `righttoworkcheck` - righttoworkcheck
48
+ * * `vogcheck` - vogcheck
49
+ * * `watchlist2check` - watchlist2check
50
+ * * `watchlistcheck` - watchlistcheck
51
+ * * `workreferencecheck` - workreferencecheck
52
+ * * `worldwidecreditcheck` - worldwidecreditcheck
53
+ * @type {V2ScreeningCheckEntryCheckTypeEnum}
54
+ * @memberof V2ScreeningCheckEntry
55
+ */
56
+ readonly checkType: V2ScreeningCheckEntryCheckTypeEnum;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof V2ScreeningCheckEntry
61
+ */
62
+ readonly displayName: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof V2ScreeningCheckEntry
67
+ */
68
+ readonly status: string;
69
+ /**
70
+ *
71
+ * @type {{ [key: string]: any; }}
72
+ * @memberof V2ScreeningCheckEntry
73
+ */
74
+ readonly config: {
75
+ [key: string]: any;
76
+ };
77
+ /**
78
+ *
79
+ * @type {{ [key: string]: any; }}
80
+ * @memberof V2ScreeningCheckEntry
81
+ */
82
+ readonly input: {
83
+ [key: string]: any;
84
+ };
85
+ /**
86
+ *
87
+ * @type {{ [key: string]: any; }}
88
+ * @memberof V2ScreeningCheckEntry
89
+ */
90
+ readonly output: {
91
+ [key: string]: any;
92
+ };
93
+ /**
94
+ * Deep link to this check's candidate wizard step. Null when the check has no dedicated candidate step.
95
+ * @type {string}
96
+ * @memberof V2ScreeningCheckEntry
97
+ */
98
+ readonly candidateWizardUrl: string | null;
99
+ }
100
+ /**
101
+ * @export
102
+ */
103
+ export declare const V2ScreeningCheckEntryCheckTypeEnum: {
104
+ readonly Addresscheck: "addresscheck";
105
+ readonly Adversemediacheck: "adversemediacheck";
106
+ readonly Bigcheck: "bigcheck";
107
+ readonly Criminalrecordscheck: "criminalrecordscheck";
108
+ readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
109
+ readonly Customintegritycheck: "customintegritycheck";
110
+ readonly Cvcheck: "cvcheck";
111
+ readonly Edrcheck: "edrcheck";
112
+ readonly Focumcheck: "focumcheck";
113
+ readonly Id2check: "id2check";
114
+ readonly Idcheck: "idcheck";
115
+ readonly Integritycheck: "integritycheck";
116
+ readonly Openhealthcarecheck: "openhealthcarecheck";
117
+ readonly Permissioncheck: "permissioncheck";
118
+ readonly Pescheckadversemediacheck: "pescheckadversemediacheck";
119
+ readonly Qualificationcheck: "qualificationcheck";
120
+ readonly Righttoworkcheck: "righttoworkcheck";
121
+ readonly Vogcheck: "vogcheck";
122
+ readonly Watchlist2check: "watchlist2check";
123
+ readonly Watchlistcheck: "watchlistcheck";
124
+ readonly Workreferencecheck: "workreferencecheck";
125
+ readonly Worldwidecreditcheck: "worldwidecreditcheck";
126
+ };
127
+ export type V2ScreeningCheckEntryCheckTypeEnum = typeof V2ScreeningCheckEntryCheckTypeEnum[keyof typeof V2ScreeningCheckEntryCheckTypeEnum];
128
+ /**
129
+ * Check if a given object implements the V2ScreeningCheckEntry interface.
130
+ */
131
+ export declare function instanceOfV2ScreeningCheckEntry(value: any): value is V2ScreeningCheckEntry;
132
+ export declare function V2ScreeningCheckEntryFromJSON(json: any): V2ScreeningCheckEntry;
133
+ export declare function V2ScreeningCheckEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ScreeningCheckEntry;
134
+ export declare function V2ScreeningCheckEntryToJSON(json: any): V2ScreeningCheckEntry;
135
+ export declare function V2ScreeningCheckEntryToJSONTyped(value?: Omit<V2ScreeningCheckEntry, 'id' | 'profile_check_id' | 'check_type' | 'display_name' | 'status' | 'config' | 'input' | 'output' | 'candidate_wizard_url'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,92 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pescheck API
5
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const V2ScreeningCheckEntryCheckTypeEnum = {
18
+ Addresscheck: 'addresscheck',
19
+ Adversemediacheck: 'adversemediacheck',
20
+ Bigcheck: 'bigcheck',
21
+ Criminalrecordscheck: 'criminalrecordscheck',
22
+ Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
23
+ Customintegritycheck: 'customintegritycheck',
24
+ Cvcheck: 'cvcheck',
25
+ Edrcheck: 'edrcheck',
26
+ Focumcheck: 'focumcheck',
27
+ Id2check: 'id2check',
28
+ Idcheck: 'idcheck',
29
+ Integritycheck: 'integritycheck',
30
+ Openhealthcarecheck: 'openhealthcarecheck',
31
+ Permissioncheck: 'permissioncheck',
32
+ Pescheckadversemediacheck: 'pescheckadversemediacheck',
33
+ Qualificationcheck: 'qualificationcheck',
34
+ Righttoworkcheck: 'righttoworkcheck',
35
+ Vogcheck: 'vogcheck',
36
+ Watchlist2check: 'watchlist2check',
37
+ Watchlistcheck: 'watchlistcheck',
38
+ Workreferencecheck: 'workreferencecheck',
39
+ Worldwidecreditcheck: 'worldwidecreditcheck'
40
+ };
41
+ /**
42
+ * Check if a given object implements the V2ScreeningCheckEntry interface.
43
+ */
44
+ export function instanceOfV2ScreeningCheckEntry(value) {
45
+ if (!('id' in value) || value['id'] === undefined)
46
+ return false;
47
+ if ((!('profileCheckId' in value) && !('profile_check_id' in value)) || (value['profileCheckId'] === undefined && value['profile_check_id'] === undefined))
48
+ return false;
49
+ if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
50
+ return false;
51
+ if ((!('displayName' in value) && !('display_name' in value)) || (value['displayName'] === undefined && value['display_name'] === undefined))
52
+ return false;
53
+ if (!('status' in value) || value['status'] === undefined)
54
+ return false;
55
+ if (!('config' in value) || value['config'] === undefined)
56
+ return false;
57
+ if (!('input' in value) || value['input'] === undefined)
58
+ return false;
59
+ if (!('output' in value) || value['output'] === undefined)
60
+ return false;
61
+ if ((!('candidateWizardUrl' in value) && !('candidate_wizard_url' in value)) || (value['candidateWizardUrl'] === undefined && value['candidate_wizard_url'] === undefined))
62
+ return false;
63
+ return true;
64
+ }
65
+ export function V2ScreeningCheckEntryFromJSON(json) {
66
+ return V2ScreeningCheckEntryFromJSONTyped(json, false);
67
+ }
68
+ export function V2ScreeningCheckEntryFromJSONTyped(json, ignoreDiscriminator) {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+ 'id': json['id'],
74
+ 'profileCheckId': json['profile_check_id'],
75
+ 'checkType': json['check_type'],
76
+ 'displayName': json['display_name'],
77
+ 'status': json['status'],
78
+ 'config': json['config'],
79
+ 'input': json['input'],
80
+ 'output': json['output'],
81
+ 'candidateWizardUrl': json['candidate_wizard_url'],
82
+ };
83
+ }
84
+ export function V2ScreeningCheckEntryToJSON(json) {
85
+ return V2ScreeningCheckEntryToJSONTyped(json, false);
86
+ }
87
+ export function V2ScreeningCheckEntryToJSONTyped(value, ignoreDiscriminator = false) {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+ return {};
92
+ }
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Pescheck API
3
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Minimal check entry shape for screening list items. No config/input/etc.
14
+ * @export
15
+ * @interface V2ScreeningCheckListItem
16
+ */
17
+ export interface V2ScreeningCheckListItem {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof V2ScreeningCheckListItem
22
+ */
23
+ readonly id: string;
24
+ /**
25
+ * * `addresscheck` - addresscheck
26
+ * * `adversemediacheck` - adversemediacheck
27
+ * * `bigcheck` - bigcheck
28
+ * * `criminalrecordscheck` - criminalrecordscheck
29
+ * * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck
30
+ * * `customintegritycheck` - customintegritycheck
31
+ * * `cvcheck` - cvcheck
32
+ * * `edrcheck` - edrcheck
33
+ * * `focumcheck` - focumcheck
34
+ * * `id2check` - id2check
35
+ * * `idcheck` - idcheck
36
+ * * `integritycheck` - integritycheck
37
+ * * `openhealthcarecheck` - openhealthcarecheck
38
+ * * `permissioncheck` - permissioncheck
39
+ * * `pescheckadversemediacheck` - pescheckadversemediacheck
40
+ * * `qualificationcheck` - qualificationcheck
41
+ * * `righttoworkcheck` - righttoworkcheck
42
+ * * `vogcheck` - vogcheck
43
+ * * `watchlist2check` - watchlist2check
44
+ * * `watchlistcheck` - watchlistcheck
45
+ * * `workreferencecheck` - workreferencecheck
46
+ * * `worldwidecreditcheck` - worldwidecreditcheck
47
+ * @type {V2ScreeningCheckListItemCheckTypeEnum}
48
+ * @memberof V2ScreeningCheckListItem
49
+ */
50
+ readonly checkType: V2ScreeningCheckListItemCheckTypeEnum;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof V2ScreeningCheckListItem
55
+ */
56
+ readonly status: string;
57
+ }
58
+ /**
59
+ * @export
60
+ */
61
+ export declare const V2ScreeningCheckListItemCheckTypeEnum: {
62
+ readonly Addresscheck: "addresscheck";
63
+ readonly Adversemediacheck: "adversemediacheck";
64
+ readonly Bigcheck: "bigcheck";
65
+ readonly Criminalrecordscheck: "criminalrecordscheck";
66
+ readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
67
+ readonly Customintegritycheck: "customintegritycheck";
68
+ readonly Cvcheck: "cvcheck";
69
+ readonly Edrcheck: "edrcheck";
70
+ readonly Focumcheck: "focumcheck";
71
+ readonly Id2check: "id2check";
72
+ readonly Idcheck: "idcheck";
73
+ readonly Integritycheck: "integritycheck";
74
+ readonly Openhealthcarecheck: "openhealthcarecheck";
75
+ readonly Permissioncheck: "permissioncheck";
76
+ readonly Pescheckadversemediacheck: "pescheckadversemediacheck";
77
+ readonly Qualificationcheck: "qualificationcheck";
78
+ readonly Righttoworkcheck: "righttoworkcheck";
79
+ readonly Vogcheck: "vogcheck";
80
+ readonly Watchlist2check: "watchlist2check";
81
+ readonly Watchlistcheck: "watchlistcheck";
82
+ readonly Workreferencecheck: "workreferencecheck";
83
+ readonly Worldwidecreditcheck: "worldwidecreditcheck";
84
+ };
85
+ export type V2ScreeningCheckListItemCheckTypeEnum = typeof V2ScreeningCheckListItemCheckTypeEnum[keyof typeof V2ScreeningCheckListItemCheckTypeEnum];
86
+ /**
87
+ * Check if a given object implements the V2ScreeningCheckListItem interface.
88
+ */
89
+ export declare function instanceOfV2ScreeningCheckListItem(value: any): value is V2ScreeningCheckListItem;
90
+ export declare function V2ScreeningCheckListItemFromJSON(json: any): V2ScreeningCheckListItem;
91
+ export declare function V2ScreeningCheckListItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ScreeningCheckListItem;
92
+ export declare function V2ScreeningCheckListItemToJSON(json: any): V2ScreeningCheckListItem;
93
+ export declare function V2ScreeningCheckListItemToJSONTyped(value?: Omit<V2ScreeningCheckListItem, 'id' | 'check_type' | 'status'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pescheck API
5
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const V2ScreeningCheckListItemCheckTypeEnum = {
18
+ Addresscheck: 'addresscheck',
19
+ Adversemediacheck: 'adversemediacheck',
20
+ Bigcheck: 'bigcheck',
21
+ Criminalrecordscheck: 'criminalrecordscheck',
22
+ Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
23
+ Customintegritycheck: 'customintegritycheck',
24
+ Cvcheck: 'cvcheck',
25
+ Edrcheck: 'edrcheck',
26
+ Focumcheck: 'focumcheck',
27
+ Id2check: 'id2check',
28
+ Idcheck: 'idcheck',
29
+ Integritycheck: 'integritycheck',
30
+ Openhealthcarecheck: 'openhealthcarecheck',
31
+ Permissioncheck: 'permissioncheck',
32
+ Pescheckadversemediacheck: 'pescheckadversemediacheck',
33
+ Qualificationcheck: 'qualificationcheck',
34
+ Righttoworkcheck: 'righttoworkcheck',
35
+ Vogcheck: 'vogcheck',
36
+ Watchlist2check: 'watchlist2check',
37
+ Watchlistcheck: 'watchlistcheck',
38
+ Workreferencecheck: 'workreferencecheck',
39
+ Worldwidecreditcheck: 'worldwidecreditcheck'
40
+ };
41
+ /**
42
+ * Check if a given object implements the V2ScreeningCheckListItem interface.
43
+ */
44
+ export function instanceOfV2ScreeningCheckListItem(value) {
45
+ if (!('id' in value) || value['id'] === undefined)
46
+ return false;
47
+ if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
48
+ return false;
49
+ if (!('status' in value) || value['status'] === undefined)
50
+ return false;
51
+ return true;
52
+ }
53
+ export function V2ScreeningCheckListItemFromJSON(json) {
54
+ return V2ScreeningCheckListItemFromJSONTyped(json, false);
55
+ }
56
+ export function V2ScreeningCheckListItemFromJSONTyped(json, ignoreDiscriminator) {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+ 'id': json['id'],
62
+ 'checkType': json['check_type'],
63
+ 'status': json['status'],
64
+ };
65
+ }
66
+ export function V2ScreeningCheckListItemToJSON(json) {
67
+ return V2ScreeningCheckListItemToJSONTyped(json, false);
68
+ }
69
+ export function V2ScreeningCheckListItemToJSONTyped(value, ignoreDiscriminator = false) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {};
74
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Pescheck API
3
+ * Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { V2Candidate } from './V2Candidate';
13
+ import type { V2ScreeningCheck } from './V2ScreeningCheck';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface V2ScreeningCreate
18
+ */
19
+ export interface V2ScreeningCreate {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof V2ScreeningCreate
24
+ */
25
+ profileId: string;
26
+ /**
27
+ *
28
+ * @type {V2Candidate}
29
+ * @memberof V2ScreeningCreate
30
+ */
31
+ candidate: V2Candidate;
32
+ /**
33
+ *
34
+ * @type {Array<V2ScreeningCheck>}
35
+ * @memberof V2ScreeningCreate
36
+ */
37
+ checks?: Array<V2ScreeningCheck>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the V2ScreeningCreate interface.
41
+ */
42
+ export declare function instanceOfV2ScreeningCreate(value: any): value is V2ScreeningCreate;
43
+ export declare function V2ScreeningCreateFromJSON(json: any): V2ScreeningCreate;
44
+ export declare function V2ScreeningCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ScreeningCreate;
45
+ export declare function V2ScreeningCreateToJSON(json: any): V2ScreeningCreate;
46
+ export declare function V2ScreeningCreateToJSONTyped(value?: V2ScreeningCreate | null, ignoreDiscriminator?: boolean): any;