@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.
- package/.openapi-generator/FILES +97 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +200 -0
- package/dist/apis/AuthenticationApi.d.ts +131 -0
- package/dist/apis/AuthenticationApi.js +168 -0
- package/dist/apis/ChecksApi.d.ts +91 -0
- package/dist/apis/ChecksApi.js +116 -0
- package/dist/apis/DivisionsApi.d.ts +211 -0
- package/dist/apis/DivisionsApi.js +264 -0
- package/dist/apis/OAuthApi.d.ts +124 -0
- package/dist/apis/OAuthApi.js +159 -0
- package/dist/apis/ProfilesApi.d.ts +270 -0
- package/dist/apis/ProfilesApi.js +334 -0
- package/dist/apis/ScreeningsApi.d.ts +172 -0
- package/dist/apis/ScreeningsApi.js +216 -0
- package/dist/apis/WebhooksApi.d.ts +168 -0
- package/dist/apis/WebhooksApi.js +213 -0
- package/dist/apis/index.d.ts +7 -0
- package/dist/apis/index.js +25 -0
- package/dist/esm/apis/AuthenticationApi.d.ts +131 -0
- package/dist/esm/apis/AuthenticationApi.js +164 -0
- package/dist/esm/apis/ChecksApi.d.ts +91 -0
- package/dist/esm/apis/ChecksApi.js +112 -0
- package/dist/esm/apis/DivisionsApi.d.ts +211 -0
- package/dist/esm/apis/DivisionsApi.js +260 -0
- package/dist/esm/apis/OAuthApi.d.ts +124 -0
- package/dist/esm/apis/OAuthApi.js +155 -0
- package/dist/esm/apis/ProfilesApi.d.ts +270 -0
- package/dist/esm/apis/ProfilesApi.js +330 -0
- package/dist/esm/apis/ScreeningsApi.d.ts +172 -0
- package/dist/esm/apis/ScreeningsApi.js +212 -0
- package/dist/esm/apis/WebhooksApi.d.ts +168 -0
- package/dist/esm/apis/WebhooksApi.js +209 -0
- package/dist/esm/apis/index.d.ts +7 -0
- package/dist/esm/apis/index.js +9 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/CustomTokenObtainPair.d.ts +38 -0
- package/dist/esm/models/CustomTokenObtainPair.js +47 -0
- package/dist/esm/models/DivisionReadOnly.d.ts +116 -0
- package/dist/esm/models/DivisionReadOnly.js +73 -0
- package/dist/esm/models/DivisionWrite.d.ts +98 -0
- package/dist/esm/models/DivisionWrite.js +78 -0
- package/dist/esm/models/JWTGeneration.d.ts +50 -0
- package/dist/esm/models/JWTGeneration.js +51 -0
- package/dist/esm/models/JWTResponse.d.ts +62 -0
- package/dist/esm/models/JWTResponse.js +61 -0
- package/dist/esm/models/OAuthApplication.d.ts +84 -0
- package/dist/esm/models/OAuthApplication.js +68 -0
- package/dist/esm/models/OAuthApplicationResponse.d.ts +98 -0
- package/dist/esm/models/OAuthApplicationResponse.js +80 -0
- package/dist/esm/models/PaginatedDivisionReadOnlyList.d.ts +51 -0
- package/dist/esm/models/PaginatedDivisionReadOnlyList.js +56 -0
- package/dist/esm/models/PaginatedV2ProfileListItemList.d.ts +51 -0
- package/dist/esm/models/PaginatedV2ProfileListItemList.js +56 -0
- package/dist/esm/models/PaginatedV2ScreeningListItemList.d.ts +51 -0
- package/dist/esm/models/PaginatedV2ScreeningListItemList.js +56 -0
- package/dist/esm/models/PatchedDivisionWrite.d.ts +98 -0
- package/dist/esm/models/PatchedDivisionWrite.js +62 -0
- package/dist/esm/models/PatchedV2ProfilePartialUpdate.d.ts +39 -0
- package/dist/esm/models/PatchedV2ProfilePartialUpdate.js +43 -0
- package/dist/esm/models/TokenRefresh.d.ts +38 -0
- package/dist/esm/models/TokenRefresh.js +44 -0
- package/dist/esm/models/V2Candidate.d.ts +592 -0
- package/dist/esm/models/V2Candidate.js +318 -0
- package/dist/esm/models/V2CheckField.d.ts +56 -0
- package/dist/esm/models/V2CheckField.js +53 -0
- package/dist/esm/models/V2CheckInfo.d.ts +100 -0
- package/dist/esm/models/V2CheckInfo.js +76 -0
- package/dist/esm/models/V2Document.d.ts +115 -0
- package/dist/esm/models/V2Document.js +84 -0
- package/dist/esm/models/V2DocumentContent.d.ts +40 -0
- package/dist/esm/models/V2DocumentContent.js +45 -0
- package/dist/esm/models/V2Money.d.ts +38 -0
- package/dist/esm/models/V2Money.js +47 -0
- package/dist/esm/models/V2ProfileCheck.d.ts +85 -0
- package/dist/esm/models/V2ProfileCheck.js +68 -0
- package/dist/esm/models/V2ProfileCheckEntry.d.ts +120 -0
- package/dist/esm/models/V2ProfileCheckEntry.js +87 -0
- package/dist/esm/models/V2ProfileCreate.d.ts +45 -0
- package/dist/esm/models/V2ProfileCreate.js +50 -0
- package/dist/esm/models/V2ProfileDetail.d.ts +94 -0
- package/dist/esm/models/V2ProfileDetail.js +75 -0
- package/dist/esm/models/V2ProfileListItem.d.ts +68 -0
- package/dist/esm/models/V2ProfileListItem.js +61 -0
- package/dist/esm/models/V2ProfileUpdate.d.ts +47 -0
- package/dist/esm/models/V2ProfileUpdate.js +50 -0
- package/dist/esm/models/V2ProfileUpdateCheck.d.ts +96 -0
- package/dist/esm/models/V2ProfileUpdateCheck.js +74 -0
- package/dist/esm/models/V2ScreeningCheck.d.ts +95 -0
- package/dist/esm/models/V2ScreeningCheck.js +72 -0
- package/dist/esm/models/V2ScreeningCheckEntry.d.ts +135 -0
- package/dist/esm/models/V2ScreeningCheckEntry.js +92 -0
- package/dist/esm/models/V2ScreeningCheckListItem.d.ts +93 -0
- package/dist/esm/models/V2ScreeningCheckListItem.js +74 -0
- package/dist/esm/models/V2ScreeningCreate.d.ts +46 -0
- package/dist/esm/models/V2ScreeningCreate.js +51 -0
- package/dist/esm/models/V2ScreeningDetail.d.ts +83 -0
- package/dist/esm/models/V2ScreeningDetail.js +70 -0
- package/dist/esm/models/V2ScreeningDetailProfile.d.ts +38 -0
- package/dist/esm/models/V2ScreeningDetailProfile.js +43 -0
- package/dist/esm/models/V2ScreeningListItem.d.ts +85 -0
- package/dist/esm/models/V2ScreeningListItem.js +69 -0
- package/dist/esm/models/VerifyWebhook.d.ts +34 -0
- package/dist/esm/models/VerifyWebhook.js +43 -0
- package/dist/esm/models/Webhook.d.ts +71 -0
- package/dist/esm/models/Webhook.js +69 -0
- package/dist/esm/models/WebhookResponse.d.ts +87 -0
- package/dist/esm/models/WebhookResponse.js +51 -0
- package/dist/esm/models/index.d.ts +36 -0
- package/dist/esm/models/index.js +38 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +349 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/CustomTokenObtainPair.d.ts +38 -0
- package/dist/models/CustomTokenObtainPair.js +54 -0
- package/dist/models/DivisionReadOnly.d.ts +116 -0
- package/dist/models/DivisionReadOnly.js +80 -0
- package/dist/models/DivisionWrite.d.ts +98 -0
- package/dist/models/DivisionWrite.js +85 -0
- package/dist/models/JWTGeneration.d.ts +50 -0
- package/dist/models/JWTGeneration.js +58 -0
- package/dist/models/JWTResponse.d.ts +62 -0
- package/dist/models/JWTResponse.js +68 -0
- package/dist/models/OAuthApplication.d.ts +84 -0
- package/dist/models/OAuthApplication.js +76 -0
- package/dist/models/OAuthApplicationResponse.d.ts +98 -0
- package/dist/models/OAuthApplicationResponse.js +88 -0
- package/dist/models/PaginatedDivisionReadOnlyList.d.ts +51 -0
- package/dist/models/PaginatedDivisionReadOnlyList.js +63 -0
- package/dist/models/PaginatedV2ProfileListItemList.d.ts +51 -0
- package/dist/models/PaginatedV2ProfileListItemList.js +63 -0
- package/dist/models/PaginatedV2ScreeningListItemList.d.ts +51 -0
- package/dist/models/PaginatedV2ScreeningListItemList.js +63 -0
- package/dist/models/PatchedDivisionWrite.d.ts +98 -0
- package/dist/models/PatchedDivisionWrite.js +69 -0
- package/dist/models/PatchedV2ProfilePartialUpdate.d.ts +39 -0
- package/dist/models/PatchedV2ProfilePartialUpdate.js +50 -0
- package/dist/models/TokenRefresh.d.ts +38 -0
- package/dist/models/TokenRefresh.js +51 -0
- package/dist/models/V2Candidate.d.ts +592 -0
- package/dist/models/V2Candidate.js +326 -0
- package/dist/models/V2CheckField.d.ts +56 -0
- package/dist/models/V2CheckField.js +60 -0
- package/dist/models/V2CheckInfo.d.ts +100 -0
- package/dist/models/V2CheckInfo.js +83 -0
- package/dist/models/V2Document.d.ts +115 -0
- package/dist/models/V2Document.js +92 -0
- package/dist/models/V2DocumentContent.d.ts +40 -0
- package/dist/models/V2DocumentContent.js +52 -0
- package/dist/models/V2Money.d.ts +38 -0
- package/dist/models/V2Money.js +54 -0
- package/dist/models/V2ProfileCheck.d.ts +85 -0
- package/dist/models/V2ProfileCheck.js +76 -0
- package/dist/models/V2ProfileCheckEntry.d.ts +120 -0
- package/dist/models/V2ProfileCheckEntry.js +95 -0
- package/dist/models/V2ProfileCreate.d.ts +45 -0
- package/dist/models/V2ProfileCreate.js +57 -0
- package/dist/models/V2ProfileDetail.d.ts +94 -0
- package/dist/models/V2ProfileDetail.js +82 -0
- package/dist/models/V2ProfileListItem.d.ts +68 -0
- package/dist/models/V2ProfileListItem.js +68 -0
- package/dist/models/V2ProfileUpdate.d.ts +47 -0
- package/dist/models/V2ProfileUpdate.js +57 -0
- package/dist/models/V2ProfileUpdateCheck.d.ts +96 -0
- package/dist/models/V2ProfileUpdateCheck.js +82 -0
- package/dist/models/V2ScreeningCheck.d.ts +95 -0
- package/dist/models/V2ScreeningCheck.js +80 -0
- package/dist/models/V2ScreeningCheckEntry.d.ts +135 -0
- package/dist/models/V2ScreeningCheckEntry.js +100 -0
- package/dist/models/V2ScreeningCheckListItem.d.ts +93 -0
- package/dist/models/V2ScreeningCheckListItem.js +82 -0
- package/dist/models/V2ScreeningCreate.d.ts +46 -0
- package/dist/models/V2ScreeningCreate.js +58 -0
- package/dist/models/V2ScreeningDetail.d.ts +83 -0
- package/dist/models/V2ScreeningDetail.js +77 -0
- package/dist/models/V2ScreeningDetailProfile.d.ts +38 -0
- package/dist/models/V2ScreeningDetailProfile.js +50 -0
- package/dist/models/V2ScreeningListItem.d.ts +85 -0
- package/dist/models/V2ScreeningListItem.js +76 -0
- package/dist/models/VerifyWebhook.d.ts +34 -0
- package/dist/models/VerifyWebhook.js +50 -0
- package/dist/models/Webhook.d.ts +71 -0
- package/dist/models/Webhook.js +77 -0
- package/dist/models/WebhookResponse.d.ts +87 -0
- package/dist/models/WebhookResponse.js +58 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +365 -0
- package/docs/AuthenticationApi.md +227 -0
- package/docs/ChecksApi.md +150 -0
- package/docs/CustomTokenObtainPair.md +37 -0
- package/docs/DivisionReadOnly.md +62 -0
- package/docs/DivisionWrite.md +56 -0
- package/docs/DivisionsApi.md +380 -0
- package/docs/JWTGeneration.md +41 -0
- package/docs/JWTResponse.md +45 -0
- package/docs/OAuthApi.md +222 -0
- package/docs/OAuthApplication.md +43 -0
- package/docs/OAuthApplicationResponse.md +49 -0
- package/docs/PaginatedDivisionReadOnlyList.md +40 -0
- package/docs/PaginatedV2ProfileListItemList.md +40 -0
- package/docs/PaginatedV2ScreeningListItemList.md +40 -0
- package/docs/PatchedDivisionWrite.md +56 -0
- package/docs/PatchedV2ProfilePartialUpdate.md +37 -0
- package/docs/ProfilesApi.md +456 -0
- package/docs/ScreeningsApi.md +302 -0
- package/docs/TokenRefresh.md +36 -0
- package/docs/V2Candidate.md +53 -0
- package/docs/V2CheckField.md +43 -0
- package/docs/V2CheckInfo.md +57 -0
- package/docs/V2Document.md +45 -0
- package/docs/V2DocumentContent.md +37 -0
- package/docs/V2Money.md +36 -0
- package/docs/V2ProfileCheck.md +37 -0
- package/docs/V2ProfileCheckEntry.md +46 -0
- package/docs/V2ProfileCreate.md +38 -0
- package/docs/V2ProfileDetail.md +54 -0
- package/docs/V2ProfileListItem.md +46 -0
- package/docs/V2ProfileUpdate.md +39 -0
- package/docs/V2ProfileUpdateCheck.md +39 -0
- package/docs/V2ScreeningCheck.md +41 -0
- package/docs/V2ScreeningCheckEntry.md +50 -0
- package/docs/V2ScreeningCheckListItem.md +39 -0
- package/docs/V2ScreeningCreate.md +38 -0
- package/docs/V2ScreeningDetail.md +50 -0
- package/docs/V2ScreeningDetailProfile.md +36 -0
- package/docs/V2ScreeningListItem.md +51 -0
- package/docs/VerifyWebhook.md +35 -0
- package/docs/Webhook.md +43 -0
- package/docs/WebhookResponse.md +53 -0
- package/docs/WebhooksApi.md +305 -0
- package/package.json +25 -0
- package/src/apis/AuthenticationApi.ts +285 -0
- package/src/apis/ChecksApi.ts +181 -0
- package/src/apis/DivisionsApi.ts +462 -0
- package/src/apis/OAuthApi.ts +256 -0
- package/src/apis/ProfilesApi.ts +583 -0
- package/src/apis/ScreeningsApi.ts +376 -0
- package/src/apis/WebhooksApi.ts +363 -0
- package/src/apis/index.ts +9 -0
- package/src/index.ts +5 -0
- package/src/models/CustomTokenObtainPair.ts +75 -0
- package/src/models/DivisionReadOnly.ts +177 -0
- package/src/models/DivisionWrite.ts +160 -0
- package/src/models/JWTGeneration.ts +91 -0
- package/src/models/JWTResponse.ts +110 -0
- package/src/models/OAuthApplication.ts +130 -0
- package/src/models/OAuthApplicationResponse.ts +151 -0
- package/src/models/PaginatedDivisionReadOnlyList.ts +101 -0
- package/src/models/PaginatedV2ProfileListItemList.ts +101 -0
- package/src/models/PaginatedV2ScreeningListItemList.ts +101 -0
- package/src/models/PatchedDivisionWrite.ts +152 -0
- package/src/models/PatchedV2ProfilePartialUpdate.ts +74 -0
- package/src/models/TokenRefresh.ts +73 -0
- package/src/models/V2Candidate.ts +649 -0
- package/src/models/V2CheckField.ts +97 -0
- package/src/models/V2CheckInfo.ts +168 -0
- package/src/models/V2Document.ts +166 -0
- package/src/models/V2DocumentContent.ts +76 -0
- package/src/models/V2Money.ts +75 -0
- package/src/models/V2ProfileCheck.ts +122 -0
- package/src/models/V2ProfileCheckEntry.ts +173 -0
- package/src/models/V2ProfileCreate.ts +91 -0
- package/src/models/V2ProfileDetail.ts +162 -0
- package/src/models/V2ProfileListItem.ts +115 -0
- package/src/models/V2ProfileUpdate.ts +93 -0
- package/src/models/V2ProfileUpdateCheck.ts +135 -0
- package/src/models/V2ScreeningCheck.ts +136 -0
- package/src/models/V2ScreeningCheckEntry.ts +181 -0
- package/src/models/V2ScreeningCheckListItem.ts +133 -0
- package/src/models/V2ScreeningCreate.ts +98 -0
- package/src/models/V2ScreeningDetail.ts +152 -0
- package/src/models/V2ScreeningDetailProfile.ts +73 -0
- package/src/models/V2ScreeningListItem.ts +154 -0
- package/src/models/VerifyWebhook.ts +68 -0
- package/src/models/Webhook.ts +118 -0
- package/src/models/WebhookResponse.ts +140 -0
- package/src/models/index.ts +38 -0
- package/src/runtime.ts +449 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
* Profile update entry. Same shape as create plus optional profile_check_id
|
|
14
|
+
* for in-place update of an existing check. Absent profile_check_id = add new.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface V2ProfileUpdateCheck
|
|
17
|
+
*/
|
|
18
|
+
export interface V2ProfileUpdateCheck {
|
|
19
|
+
/**
|
|
20
|
+
* * `addresscheck` - addresscheck
|
|
21
|
+
* * `adversemediacheck` - adversemediacheck
|
|
22
|
+
* * `bigcheck` - bigcheck
|
|
23
|
+
* * `criminalrecordscheck` - criminalrecordscheck
|
|
24
|
+
* * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck
|
|
25
|
+
* * `customintegritycheck` - customintegritycheck
|
|
26
|
+
* * `cvcheck` - cvcheck
|
|
27
|
+
* * `edrcheck` - edrcheck
|
|
28
|
+
* * `focumcheck` - focumcheck
|
|
29
|
+
* * `id2check` - id2check
|
|
30
|
+
* * `idcheck` - idcheck
|
|
31
|
+
* * `integritycheck` - integritycheck
|
|
32
|
+
* * `openhealthcarecheck` - openhealthcarecheck
|
|
33
|
+
* * `permissioncheck` - permissioncheck
|
|
34
|
+
* * `pescheckadversemediacheck` - pescheckadversemediacheck
|
|
35
|
+
* * `qualificationcheck` - qualificationcheck
|
|
36
|
+
* * `righttoworkcheck` - righttoworkcheck
|
|
37
|
+
* * `vogcheck` - vogcheck
|
|
38
|
+
* * `watchlist2check` - watchlist2check
|
|
39
|
+
* * `watchlistcheck` - watchlistcheck
|
|
40
|
+
* * `workreferencecheck` - workreferencecheck
|
|
41
|
+
* * `worldwidecreditcheck` - worldwidecreditcheck
|
|
42
|
+
* @type {V2ProfileUpdateCheckCheckTypeEnum}
|
|
43
|
+
* @memberof V2ProfileUpdateCheck
|
|
44
|
+
*/
|
|
45
|
+
checkType: V2ProfileUpdateCheckCheckTypeEnum;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {{ [key: string]: any; }}
|
|
49
|
+
* @memberof V2ProfileUpdateCheck
|
|
50
|
+
*/
|
|
51
|
+
config?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof V2ProfileUpdateCheck
|
|
58
|
+
*/
|
|
59
|
+
profileCheckId?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const V2ProfileUpdateCheckCheckTypeEnum: {
|
|
65
|
+
readonly Addresscheck: "addresscheck";
|
|
66
|
+
readonly Adversemediacheck: "adversemediacheck";
|
|
67
|
+
readonly Bigcheck: "bigcheck";
|
|
68
|
+
readonly Criminalrecordscheck: "criminalrecordscheck";
|
|
69
|
+
readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
|
|
70
|
+
readonly Customintegritycheck: "customintegritycheck";
|
|
71
|
+
readonly Cvcheck: "cvcheck";
|
|
72
|
+
readonly Edrcheck: "edrcheck";
|
|
73
|
+
readonly Focumcheck: "focumcheck";
|
|
74
|
+
readonly Id2check: "id2check";
|
|
75
|
+
readonly Idcheck: "idcheck";
|
|
76
|
+
readonly Integritycheck: "integritycheck";
|
|
77
|
+
readonly Openhealthcarecheck: "openhealthcarecheck";
|
|
78
|
+
readonly Permissioncheck: "permissioncheck";
|
|
79
|
+
readonly Pescheckadversemediacheck: "pescheckadversemediacheck";
|
|
80
|
+
readonly Qualificationcheck: "qualificationcheck";
|
|
81
|
+
readonly Righttoworkcheck: "righttoworkcheck";
|
|
82
|
+
readonly Vogcheck: "vogcheck";
|
|
83
|
+
readonly Watchlist2check: "watchlist2check";
|
|
84
|
+
readonly Watchlistcheck: "watchlistcheck";
|
|
85
|
+
readonly Workreferencecheck: "workreferencecheck";
|
|
86
|
+
readonly Worldwidecreditcheck: "worldwidecreditcheck";
|
|
87
|
+
};
|
|
88
|
+
export type V2ProfileUpdateCheckCheckTypeEnum = typeof V2ProfileUpdateCheckCheckTypeEnum[keyof typeof V2ProfileUpdateCheckCheckTypeEnum];
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the V2ProfileUpdateCheck interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfV2ProfileUpdateCheck(value: any): value is V2ProfileUpdateCheck;
|
|
93
|
+
export declare function V2ProfileUpdateCheckFromJSON(json: any): V2ProfileUpdateCheck;
|
|
94
|
+
export declare function V2ProfileUpdateCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ProfileUpdateCheck;
|
|
95
|
+
export declare function V2ProfileUpdateCheckToJSON(json: any): V2ProfileUpdateCheck;
|
|
96
|
+
export declare function V2ProfileUpdateCheckToJSONTyped(value?: V2ProfileUpdateCheck | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.V2ProfileUpdateCheckCheckTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfV2ProfileUpdateCheck = instanceOfV2ProfileUpdateCheck;
|
|
18
|
+
exports.V2ProfileUpdateCheckFromJSON = V2ProfileUpdateCheckFromJSON;
|
|
19
|
+
exports.V2ProfileUpdateCheckFromJSONTyped = V2ProfileUpdateCheckFromJSONTyped;
|
|
20
|
+
exports.V2ProfileUpdateCheckToJSON = V2ProfileUpdateCheckToJSON;
|
|
21
|
+
exports.V2ProfileUpdateCheckToJSONTyped = V2ProfileUpdateCheckToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.V2ProfileUpdateCheckCheckTypeEnum = {
|
|
26
|
+
Addresscheck: 'addresscheck',
|
|
27
|
+
Adversemediacheck: 'adversemediacheck',
|
|
28
|
+
Bigcheck: 'bigcheck',
|
|
29
|
+
Criminalrecordscheck: 'criminalrecordscheck',
|
|
30
|
+
Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
|
|
31
|
+
Customintegritycheck: 'customintegritycheck',
|
|
32
|
+
Cvcheck: 'cvcheck',
|
|
33
|
+
Edrcheck: 'edrcheck',
|
|
34
|
+
Focumcheck: 'focumcheck',
|
|
35
|
+
Id2check: 'id2check',
|
|
36
|
+
Idcheck: 'idcheck',
|
|
37
|
+
Integritycheck: 'integritycheck',
|
|
38
|
+
Openhealthcarecheck: 'openhealthcarecheck',
|
|
39
|
+
Permissioncheck: 'permissioncheck',
|
|
40
|
+
Pescheckadversemediacheck: 'pescheckadversemediacheck',
|
|
41
|
+
Qualificationcheck: 'qualificationcheck',
|
|
42
|
+
Righttoworkcheck: 'righttoworkcheck',
|
|
43
|
+
Vogcheck: 'vogcheck',
|
|
44
|
+
Watchlist2check: 'watchlist2check',
|
|
45
|
+
Watchlistcheck: 'watchlistcheck',
|
|
46
|
+
Workreferencecheck: 'workreferencecheck',
|
|
47
|
+
Worldwidecreditcheck: 'worldwidecreditcheck'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the V2ProfileUpdateCheck interface.
|
|
51
|
+
*/
|
|
52
|
+
function instanceOfV2ProfileUpdateCheck(value) {
|
|
53
|
+
if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function V2ProfileUpdateCheckFromJSON(json) {
|
|
58
|
+
return V2ProfileUpdateCheckFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function V2ProfileUpdateCheckFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'checkType': json['check_type'],
|
|
66
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
67
|
+
'profileCheckId': json['profile_check_id'] == null ? undefined : json['profile_check_id'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function V2ProfileUpdateCheckToJSON(json) {
|
|
71
|
+
return V2ProfileUpdateCheckToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function V2ProfileUpdateCheckToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'check_type': value['checkType'],
|
|
79
|
+
'config': value['config'],
|
|
80
|
+
'profile_check_id': value['profileCheckId'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -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,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.V2ScreeningCheckCheckTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfV2ScreeningCheck = instanceOfV2ScreeningCheck;
|
|
18
|
+
exports.V2ScreeningCheckFromJSON = V2ScreeningCheckFromJSON;
|
|
19
|
+
exports.V2ScreeningCheckFromJSONTyped = V2ScreeningCheckFromJSONTyped;
|
|
20
|
+
exports.V2ScreeningCheckToJSON = V2ScreeningCheckToJSON;
|
|
21
|
+
exports.V2ScreeningCheckToJSONTyped = V2ScreeningCheckToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.V2ScreeningCheckCheckTypeEnum = {
|
|
26
|
+
Addresscheck: 'addresscheck',
|
|
27
|
+
Adversemediacheck: 'adversemediacheck',
|
|
28
|
+
Bigcheck: 'bigcheck',
|
|
29
|
+
Criminalrecordscheck: 'criminalrecordscheck',
|
|
30
|
+
Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
|
|
31
|
+
Customintegritycheck: 'customintegritycheck',
|
|
32
|
+
Cvcheck: 'cvcheck',
|
|
33
|
+
Edrcheck: 'edrcheck',
|
|
34
|
+
Id2check: 'id2check',
|
|
35
|
+
Integritycheck: 'integritycheck',
|
|
36
|
+
Openhealthcarecheck: 'openhealthcarecheck',
|
|
37
|
+
Qualificationcheck: 'qualificationcheck',
|
|
38
|
+
Righttoworkcheck: 'righttoworkcheck',
|
|
39
|
+
Vogcheck: 'vogcheck',
|
|
40
|
+
Watchlist2check: 'watchlist2check',
|
|
41
|
+
Watchlistcheck: 'watchlistcheck',
|
|
42
|
+
Workreferencecheck: 'workreferencecheck',
|
|
43
|
+
Worldwidecreditcheck: 'worldwidecreditcheck'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the V2ScreeningCheck interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfV2ScreeningCheck(value) {
|
|
49
|
+
if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function V2ScreeningCheckFromJSON(json) {
|
|
54
|
+
return V2ScreeningCheckFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function V2ScreeningCheckFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'checkType': json['check_type'],
|
|
62
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
63
|
+
'profileCheckId': json['profile_check_id'] == null ? undefined : json['profile_check_id'],
|
|
64
|
+
'input': json['input'] == null ? undefined : json['input'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function V2ScreeningCheckToJSON(json) {
|
|
68
|
+
return V2ScreeningCheckToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function V2ScreeningCheckToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'check_type': value['checkType'],
|
|
76
|
+
'config': value['config'],
|
|
77
|
+
'profile_check_id': value['profileCheckId'],
|
|
78
|
+
'input': value['input'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -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,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.V2ScreeningCheckEntryCheckTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfV2ScreeningCheckEntry = instanceOfV2ScreeningCheckEntry;
|
|
18
|
+
exports.V2ScreeningCheckEntryFromJSON = V2ScreeningCheckEntryFromJSON;
|
|
19
|
+
exports.V2ScreeningCheckEntryFromJSONTyped = V2ScreeningCheckEntryFromJSONTyped;
|
|
20
|
+
exports.V2ScreeningCheckEntryToJSON = V2ScreeningCheckEntryToJSON;
|
|
21
|
+
exports.V2ScreeningCheckEntryToJSONTyped = V2ScreeningCheckEntryToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.V2ScreeningCheckEntryCheckTypeEnum = {
|
|
26
|
+
Addresscheck: 'addresscheck',
|
|
27
|
+
Adversemediacheck: 'adversemediacheck',
|
|
28
|
+
Bigcheck: 'bigcheck',
|
|
29
|
+
Criminalrecordscheck: 'criminalrecordscheck',
|
|
30
|
+
Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
|
|
31
|
+
Customintegritycheck: 'customintegritycheck',
|
|
32
|
+
Cvcheck: 'cvcheck',
|
|
33
|
+
Edrcheck: 'edrcheck',
|
|
34
|
+
Focumcheck: 'focumcheck',
|
|
35
|
+
Id2check: 'id2check',
|
|
36
|
+
Idcheck: 'idcheck',
|
|
37
|
+
Integritycheck: 'integritycheck',
|
|
38
|
+
Openhealthcarecheck: 'openhealthcarecheck',
|
|
39
|
+
Permissioncheck: 'permissioncheck',
|
|
40
|
+
Pescheckadversemediacheck: 'pescheckadversemediacheck',
|
|
41
|
+
Qualificationcheck: 'qualificationcheck',
|
|
42
|
+
Righttoworkcheck: 'righttoworkcheck',
|
|
43
|
+
Vogcheck: 'vogcheck',
|
|
44
|
+
Watchlist2check: 'watchlist2check',
|
|
45
|
+
Watchlistcheck: 'watchlistcheck',
|
|
46
|
+
Workreferencecheck: 'workreferencecheck',
|
|
47
|
+
Worldwidecreditcheck: 'worldwidecreditcheck'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the V2ScreeningCheckEntry interface.
|
|
51
|
+
*/
|
|
52
|
+
function instanceOfV2ScreeningCheckEntry(value) {
|
|
53
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if ((!('profileCheckId' in value) && !('profile_check_id' in value)) || (value['profileCheckId'] === undefined && value['profile_check_id'] === undefined))
|
|
56
|
+
return false;
|
|
57
|
+
if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
|
|
58
|
+
return false;
|
|
59
|
+
if ((!('displayName' in value) && !('display_name' in value)) || (value['displayName'] === undefined && value['display_name'] === undefined))
|
|
60
|
+
return false;
|
|
61
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('config' in value) || value['config'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('input' in value) || value['input'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
if (!('output' in value) || value['output'] === undefined)
|
|
68
|
+
return false;
|
|
69
|
+
if ((!('candidateWizardUrl' in value) && !('candidate_wizard_url' in value)) || (value['candidateWizardUrl'] === undefined && value['candidate_wizard_url'] === undefined))
|
|
70
|
+
return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
function V2ScreeningCheckEntryFromJSON(json) {
|
|
74
|
+
return V2ScreeningCheckEntryFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function V2ScreeningCheckEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'id': json['id'],
|
|
82
|
+
'profileCheckId': json['profile_check_id'],
|
|
83
|
+
'checkType': json['check_type'],
|
|
84
|
+
'displayName': json['display_name'],
|
|
85
|
+
'status': json['status'],
|
|
86
|
+
'config': json['config'],
|
|
87
|
+
'input': json['input'],
|
|
88
|
+
'output': json['output'],
|
|
89
|
+
'candidateWizardUrl': json['candidate_wizard_url'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function V2ScreeningCheckEntryToJSON(json) {
|
|
93
|
+
return V2ScreeningCheckEntryToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
function V2ScreeningCheckEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
96
|
+
if (value == null) {
|
|
97
|
+
return value;
|
|
98
|
+
}
|
|
99
|
+
return {};
|
|
100
|
+
}
|
|
@@ -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;
|