@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,115 @@
|
|
|
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 { V2DocumentContent } from './V2DocumentContent';
|
|
13
|
+
/**
|
|
14
|
+
* One document attached to a screening's check. `metadata` carries
|
|
15
|
+
* check-specific extras and may be empty.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface V2Document
|
|
18
|
+
*/
|
|
19
|
+
export interface V2Document {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof V2Document
|
|
24
|
+
*/
|
|
25
|
+
readonly checkId: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* * `addresscheck` - addresscheck
|
|
28
|
+
* * `adversemediacheck` - adversemediacheck
|
|
29
|
+
* * `bigcheck` - bigcheck
|
|
30
|
+
* * `criminalrecordscheck` - criminalrecordscheck
|
|
31
|
+
* * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck
|
|
32
|
+
* * `customintegritycheck` - customintegritycheck
|
|
33
|
+
* * `cvcheck` - cvcheck
|
|
34
|
+
* * `edrcheck` - edrcheck
|
|
35
|
+
* * `focumcheck` - focumcheck
|
|
36
|
+
* * `id2check` - id2check
|
|
37
|
+
* * `idcheck` - idcheck
|
|
38
|
+
* * `integritycheck` - integritycheck
|
|
39
|
+
* * `openhealthcarecheck` - openhealthcarecheck
|
|
40
|
+
* * `permissioncheck` - permissioncheck
|
|
41
|
+
* * `pescheckadversemediacheck` - pescheckadversemediacheck
|
|
42
|
+
* * `qualificationcheck` - qualificationcheck
|
|
43
|
+
* * `righttoworkcheck` - righttoworkcheck
|
|
44
|
+
* * `vogcheck` - vogcheck
|
|
45
|
+
* * `watchlist2check` - watchlist2check
|
|
46
|
+
* * `watchlistcheck` - watchlistcheck
|
|
47
|
+
* * `workreferencecheck` - workreferencecheck
|
|
48
|
+
* * `worldwidecreditcheck` - worldwidecreditcheck
|
|
49
|
+
* @type {V2DocumentCheckTypeEnum}
|
|
50
|
+
* @memberof V2Document
|
|
51
|
+
*/
|
|
52
|
+
readonly checkType: V2DocumentCheckTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof V2Document
|
|
57
|
+
*/
|
|
58
|
+
readonly filename: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof V2Document
|
|
63
|
+
*/
|
|
64
|
+
readonly extension: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {V2DocumentContent}
|
|
68
|
+
* @memberof V2Document
|
|
69
|
+
*/
|
|
70
|
+
readonly content: V2DocumentContent;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {{ [key: string]: any; }}
|
|
74
|
+
* @memberof V2Document
|
|
75
|
+
*/
|
|
76
|
+
readonly metadata: {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const V2DocumentCheckTypeEnum: {
|
|
84
|
+
readonly Addresscheck: "addresscheck";
|
|
85
|
+
readonly Adversemediacheck: "adversemediacheck";
|
|
86
|
+
readonly Bigcheck: "bigcheck";
|
|
87
|
+
readonly Criminalrecordscheck: "criminalrecordscheck";
|
|
88
|
+
readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
|
|
89
|
+
readonly Customintegritycheck: "customintegritycheck";
|
|
90
|
+
readonly Cvcheck: "cvcheck";
|
|
91
|
+
readonly Edrcheck: "edrcheck";
|
|
92
|
+
readonly Focumcheck: "focumcheck";
|
|
93
|
+
readonly Id2check: "id2check";
|
|
94
|
+
readonly Idcheck: "idcheck";
|
|
95
|
+
readonly Integritycheck: "integritycheck";
|
|
96
|
+
readonly Openhealthcarecheck: "openhealthcarecheck";
|
|
97
|
+
readonly Permissioncheck: "permissioncheck";
|
|
98
|
+
readonly Pescheckadversemediacheck: "pescheckadversemediacheck";
|
|
99
|
+
readonly Qualificationcheck: "qualificationcheck";
|
|
100
|
+
readonly Righttoworkcheck: "righttoworkcheck";
|
|
101
|
+
readonly Vogcheck: "vogcheck";
|
|
102
|
+
readonly Watchlist2check: "watchlist2check";
|
|
103
|
+
readonly Watchlistcheck: "watchlistcheck";
|
|
104
|
+
readonly Workreferencecheck: "workreferencecheck";
|
|
105
|
+
readonly Worldwidecreditcheck: "worldwidecreditcheck";
|
|
106
|
+
};
|
|
107
|
+
export type V2DocumentCheckTypeEnum = typeof V2DocumentCheckTypeEnum[keyof typeof V2DocumentCheckTypeEnum];
|
|
108
|
+
/**
|
|
109
|
+
* Check if a given object implements the V2Document interface.
|
|
110
|
+
*/
|
|
111
|
+
export declare function instanceOfV2Document(value: any): value is V2Document;
|
|
112
|
+
export declare function V2DocumentFromJSON(json: any): V2Document;
|
|
113
|
+
export declare function V2DocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2Document;
|
|
114
|
+
export declare function V2DocumentToJSON(json: any): V2Document;
|
|
115
|
+
export declare function V2DocumentToJSONTyped(value?: Omit<V2Document, 'check_id' | 'check_type' | 'filename' | 'extension' | 'content' | 'metadata'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
import { V2DocumentContentFromJSON, } from './V2DocumentContent';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const V2DocumentCheckTypeEnum = {
|
|
19
|
+
Addresscheck: 'addresscheck',
|
|
20
|
+
Adversemediacheck: 'adversemediacheck',
|
|
21
|
+
Bigcheck: 'bigcheck',
|
|
22
|
+
Criminalrecordscheck: 'criminalrecordscheck',
|
|
23
|
+
Criminalrecordsuploadcheck: 'criminalrecordsuploadcheck',
|
|
24
|
+
Customintegritycheck: 'customintegritycheck',
|
|
25
|
+
Cvcheck: 'cvcheck',
|
|
26
|
+
Edrcheck: 'edrcheck',
|
|
27
|
+
Focumcheck: 'focumcheck',
|
|
28
|
+
Id2check: 'id2check',
|
|
29
|
+
Idcheck: 'idcheck',
|
|
30
|
+
Integritycheck: 'integritycheck',
|
|
31
|
+
Openhealthcarecheck: 'openhealthcarecheck',
|
|
32
|
+
Permissioncheck: 'permissioncheck',
|
|
33
|
+
Pescheckadversemediacheck: 'pescheckadversemediacheck',
|
|
34
|
+
Qualificationcheck: 'qualificationcheck',
|
|
35
|
+
Righttoworkcheck: 'righttoworkcheck',
|
|
36
|
+
Vogcheck: 'vogcheck',
|
|
37
|
+
Watchlist2check: 'watchlist2check',
|
|
38
|
+
Watchlistcheck: 'watchlistcheck',
|
|
39
|
+
Workreferencecheck: 'workreferencecheck',
|
|
40
|
+
Worldwidecreditcheck: 'worldwidecreditcheck'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the V2Document interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfV2Document(value) {
|
|
46
|
+
if ((!('checkId' in value) && !('check_id' in value)) || (value['checkId'] === undefined && value['check_id'] === undefined))
|
|
47
|
+
return false;
|
|
48
|
+
if ((!('checkType' in value) && !('check_type' in value)) || (value['checkType'] === undefined && value['check_type'] === undefined))
|
|
49
|
+
return false;
|
|
50
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('extension' in value) || value['extension'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
export function V2DocumentFromJSON(json) {
|
|
61
|
+
return V2DocumentFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function V2DocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'checkId': json['check_id'],
|
|
69
|
+
'checkType': json['check_type'],
|
|
70
|
+
'filename': json['filename'],
|
|
71
|
+
'extension': json['extension'],
|
|
72
|
+
'content': V2DocumentContentFromJSON(json['content']),
|
|
73
|
+
'metadata': json['metadata'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export function V2DocumentToJSON(json) {
|
|
77
|
+
return V2DocumentToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
export function V2DocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {};
|
|
84
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* How the file is delivered. `type` is the discriminator; today it is always
|
|
14
|
+
* `"base64"` and `data` holds the encoded bytes. Other delivery types may be
|
|
15
|
+
* added later without breaking this contract.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface V2DocumentContent
|
|
18
|
+
*/
|
|
19
|
+
export interface V2DocumentContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof V2DocumentContent
|
|
24
|
+
*/
|
|
25
|
+
type: string;
|
|
26
|
+
/**
|
|
27
|
+
* Base64-encoded file contents (type == base64).
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof V2DocumentContent
|
|
30
|
+
*/
|
|
31
|
+
data?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the V2DocumentContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfV2DocumentContent(value: any): value is V2DocumentContent;
|
|
37
|
+
export declare function V2DocumentContentFromJSON(json: any): V2DocumentContent;
|
|
38
|
+
export declare function V2DocumentContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2DocumentContent;
|
|
39
|
+
export declare function V2DocumentContentToJSON(json: any): V2DocumentContent;
|
|
40
|
+
export declare function V2DocumentContentToJSONTyped(value?: V2DocumentContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Check if a given object implements the V2DocumentContent interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfV2DocumentContent(value) {
|
|
18
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function V2DocumentContentFromJSON(json) {
|
|
23
|
+
return V2DocumentContentFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function V2DocumentContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'type': json['type'],
|
|
31
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function V2DocumentContentToJSON(json) {
|
|
35
|
+
return V2DocumentContentToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function V2DocumentContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'type': value['type'],
|
|
43
|
+
'data': value['data'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 V2Money
|
|
16
|
+
*/
|
|
17
|
+
export interface V2Money {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V2Money
|
|
22
|
+
*/
|
|
23
|
+
amount: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V2Money
|
|
28
|
+
*/
|
|
29
|
+
currency: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the V2Money interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfV2Money(value: any): value is V2Money;
|
|
35
|
+
export declare function V2MoneyFromJSON(json: any): V2Money;
|
|
36
|
+
export declare function V2MoneyFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2Money;
|
|
37
|
+
export declare function V2MoneyToJSON(json: any): V2Money;
|
|
38
|
+
export declare function V2MoneyToJSONTyped(value?: V2Money | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Check if a given object implements the V2Money interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfV2Money(value) {
|
|
18
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function V2MoneyFromJSON(json) {
|
|
25
|
+
return V2MoneyFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function V2MoneyFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'amount': json['amount'],
|
|
33
|
+
'currency': json['currency'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function V2MoneyToJSON(json) {
|
|
37
|
+
return V2MoneyToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function V2MoneyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'amount': value['amount'],
|
|
45
|
+
'currency': value['currency'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
* Input serializer for one `{check_type, config}` profile-check entry.
|
|
14
|
+
*
|
|
15
|
+
* Used by profile create directly. Subclass with `PARTIAL_CONFIG = True` for
|
|
16
|
+
* screening overrides where only the fields actually being changed should be
|
|
17
|
+
* validated.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface V2ProfileCheck
|
|
20
|
+
*/
|
|
21
|
+
export interface V2ProfileCheck {
|
|
22
|
+
/**
|
|
23
|
+
* * `addresscheck` - addresscheck
|
|
24
|
+
* * `adversemediacheck` - adversemediacheck
|
|
25
|
+
* * `bigcheck` - bigcheck
|
|
26
|
+
* * `criminalrecordscheck` - criminalrecordscheck
|
|
27
|
+
* * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck
|
|
28
|
+
* * `customintegritycheck` - customintegritycheck
|
|
29
|
+
* * `cvcheck` - cvcheck
|
|
30
|
+
* * `edrcheck` - edrcheck
|
|
31
|
+
* * `id2check` - id2check
|
|
32
|
+
* * `integritycheck` - integritycheck
|
|
33
|
+
* * `openhealthcarecheck` - openhealthcarecheck
|
|
34
|
+
* * `qualificationcheck` - qualificationcheck
|
|
35
|
+
* * `righttoworkcheck` - righttoworkcheck
|
|
36
|
+
* * `vogcheck` - vogcheck
|
|
37
|
+
* * `watchlist2check` - watchlist2check
|
|
38
|
+
* * `watchlistcheck` - watchlistcheck
|
|
39
|
+
* * `workreferencecheck` - workreferencecheck
|
|
40
|
+
* * `worldwidecreditcheck` - worldwidecreditcheck
|
|
41
|
+
* @type {V2ProfileCheckCheckTypeEnum}
|
|
42
|
+
* @memberof V2ProfileCheck
|
|
43
|
+
*/
|
|
44
|
+
checkType: V2ProfileCheckCheckTypeEnum;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {{ [key: string]: any; }}
|
|
48
|
+
* @memberof V2ProfileCheck
|
|
49
|
+
*/
|
|
50
|
+
config?: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @export
|
|
56
|
+
*/
|
|
57
|
+
export declare const V2ProfileCheckCheckTypeEnum: {
|
|
58
|
+
readonly Addresscheck: "addresscheck";
|
|
59
|
+
readonly Adversemediacheck: "adversemediacheck";
|
|
60
|
+
readonly Bigcheck: "bigcheck";
|
|
61
|
+
readonly Criminalrecordscheck: "criminalrecordscheck";
|
|
62
|
+
readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
|
|
63
|
+
readonly Customintegritycheck: "customintegritycheck";
|
|
64
|
+
readonly Cvcheck: "cvcheck";
|
|
65
|
+
readonly Edrcheck: "edrcheck";
|
|
66
|
+
readonly Id2check: "id2check";
|
|
67
|
+
readonly Integritycheck: "integritycheck";
|
|
68
|
+
readonly Openhealthcarecheck: "openhealthcarecheck";
|
|
69
|
+
readonly Qualificationcheck: "qualificationcheck";
|
|
70
|
+
readonly Righttoworkcheck: "righttoworkcheck";
|
|
71
|
+
readonly Vogcheck: "vogcheck";
|
|
72
|
+
readonly Watchlist2check: "watchlist2check";
|
|
73
|
+
readonly Watchlistcheck: "watchlistcheck";
|
|
74
|
+
readonly Workreferencecheck: "workreferencecheck";
|
|
75
|
+
readonly Worldwidecreditcheck: "worldwidecreditcheck";
|
|
76
|
+
};
|
|
77
|
+
export type V2ProfileCheckCheckTypeEnum = typeof V2ProfileCheckCheckTypeEnum[keyof typeof V2ProfileCheckCheckTypeEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the V2ProfileCheck interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfV2ProfileCheck(value: any): value is V2ProfileCheck;
|
|
82
|
+
export declare function V2ProfileCheckFromJSON(json: any): V2ProfileCheck;
|
|
83
|
+
export declare function V2ProfileCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ProfileCheck;
|
|
84
|
+
export declare function V2ProfileCheckToJSON(json: any): V2ProfileCheck;
|
|
85
|
+
export declare function V2ProfileCheckToJSONTyped(value?: V2ProfileCheck | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 V2ProfileCheckCheckTypeEnum = {
|
|
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 V2ProfileCheck interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfV2ProfileCheck(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 V2ProfileCheckFromJSON(json) {
|
|
46
|
+
return V2ProfileCheckFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function V2ProfileCheckFromJSONTyped(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
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export function V2ProfileCheckToJSON(json) {
|
|
58
|
+
return V2ProfileCheckToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
export function V2ProfileCheckToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'check_type': value['checkType'],
|
|
66
|
+
'config': value['config'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { V2Money } from './V2Money';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface V2ProfileCheckEntry
|
|
17
|
+
*/
|
|
18
|
+
export interface V2ProfileCheckEntry {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof V2ProfileCheckEntry
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
/**
|
|
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
|
+
* @type {V2ProfileCheckEntryCheckTypeEnum}
|
|
49
|
+
* @memberof V2ProfileCheckEntry
|
|
50
|
+
*/
|
|
51
|
+
readonly checkType: V2ProfileCheckEntryCheckTypeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof V2ProfileCheckEntry
|
|
56
|
+
*/
|
|
57
|
+
readonly displayName: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {V2Money}
|
|
61
|
+
* @memberof V2ProfileCheckEntry
|
|
62
|
+
*/
|
|
63
|
+
readonly configuredPrice: V2Money;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {{ [key: string]: any; }}
|
|
67
|
+
* @memberof V2ProfileCheckEntry
|
|
68
|
+
*/
|
|
69
|
+
readonly config: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<object>}
|
|
75
|
+
* @memberof V2ProfileCheckEntry
|
|
76
|
+
*/
|
|
77
|
+
readonly inputFields: Array<object>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof V2ProfileCheckEntry
|
|
82
|
+
*/
|
|
83
|
+
readonly isSystemManaged: boolean;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const V2ProfileCheckEntryCheckTypeEnum: {
|
|
89
|
+
readonly Addresscheck: "addresscheck";
|
|
90
|
+
readonly Adversemediacheck: "adversemediacheck";
|
|
91
|
+
readonly Bigcheck: "bigcheck";
|
|
92
|
+
readonly Criminalrecordscheck: "criminalrecordscheck";
|
|
93
|
+
readonly Criminalrecordsuploadcheck: "criminalrecordsuploadcheck";
|
|
94
|
+
readonly Customintegritycheck: "customintegritycheck";
|
|
95
|
+
readonly Cvcheck: "cvcheck";
|
|
96
|
+
readonly Edrcheck: "edrcheck";
|
|
97
|
+
readonly Focumcheck: "focumcheck";
|
|
98
|
+
readonly Id2check: "id2check";
|
|
99
|
+
readonly Idcheck: "idcheck";
|
|
100
|
+
readonly Integritycheck: "integritycheck";
|
|
101
|
+
readonly Openhealthcarecheck: "openhealthcarecheck";
|
|
102
|
+
readonly Permissioncheck: "permissioncheck";
|
|
103
|
+
readonly Pescheckadversemediacheck: "pescheckadversemediacheck";
|
|
104
|
+
readonly Qualificationcheck: "qualificationcheck";
|
|
105
|
+
readonly Righttoworkcheck: "righttoworkcheck";
|
|
106
|
+
readonly Vogcheck: "vogcheck";
|
|
107
|
+
readonly Watchlist2check: "watchlist2check";
|
|
108
|
+
readonly Watchlistcheck: "watchlistcheck";
|
|
109
|
+
readonly Workreferencecheck: "workreferencecheck";
|
|
110
|
+
readonly Worldwidecreditcheck: "worldwidecreditcheck";
|
|
111
|
+
};
|
|
112
|
+
export type V2ProfileCheckEntryCheckTypeEnum = typeof V2ProfileCheckEntryCheckTypeEnum[keyof typeof V2ProfileCheckEntryCheckTypeEnum];
|
|
113
|
+
/**
|
|
114
|
+
* Check if a given object implements the V2ProfileCheckEntry interface.
|
|
115
|
+
*/
|
|
116
|
+
export declare function instanceOfV2ProfileCheckEntry(value: any): value is V2ProfileCheckEntry;
|
|
117
|
+
export declare function V2ProfileCheckEntryFromJSON(json: any): V2ProfileCheckEntry;
|
|
118
|
+
export declare function V2ProfileCheckEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2ProfileCheckEntry;
|
|
119
|
+
export declare function V2ProfileCheckEntryToJSON(json: any): V2ProfileCheckEntry;
|
|
120
|
+
export declare function V2ProfileCheckEntryToJSONTyped(value?: Omit<V2ProfileCheckEntry, 'id' | 'check_type' | 'display_name' | 'configured_price' | 'config' | 'input_fields' | 'is_system_managed'> | null, ignoreDiscriminator?: boolean): any;
|