pescheck-client 0.4.3 → 0.5.1
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.
- checksums.yaml +4 -4
- data/README.md +90 -45
- data/docs/AddOnsApi.md +305 -0
- data/docs/AddonPrice.md +20 -0
- data/docs/AuthenticationApi.md +0 -70
- data/docs/DisabledDivision.md +20 -0
- data/docs/OAuthApplication.md +1 -1
- data/docs/OAuthApplicationResponse.md +6 -2
- data/docs/OrganisationAddon.md +32 -0
- data/docs/OrganisationAddonUpdate.md +18 -0
- data/docs/OrganisationAddonUpdateResult.md +34 -0
- data/docs/PatchedOrganisationAddonUpdate.md +18 -0
- data/docs/ScreeningsApi.md +72 -0
- data/docs/V2Candidate.md +1 -1
- data/docs/V2CheckField.md +1 -1
- data/docs/V2Document.md +1 -1
- data/docs/V2ProfileCheck.md +1 -1
- data/docs/V2ProfileCheckEntry.md +1 -1
- data/docs/V2ProfileDetail.md +4 -0
- data/docs/V2ProfileUpdateCheck.md +1 -1
- data/docs/V2ScreeningCheck.md +1 -1
- data/docs/V2ScreeningCheckEntry.md +1 -1
- data/docs/V2ScreeningCheckListItem.md +1 -1
- data/docs/V2ScreeningCreate.md +3 -1
- data/docs/V2ScreeningDetail.md +3 -1
- data/docs/{V2ScreeningDetailProfile.md → V2ScreeningDetailOrganisation.md} +2 -2
- data/docs/V2ScreeningListItem.md +3 -1
- data/docs/V2ScreeningNoteInput.md +1 -1
- data/docs/WebhooksApi.md +1 -1
- data/lib/pescheck-client/api/add_ons_api.rb +305 -0
- data/lib/pescheck-client/api/authentication_api.rb +0 -66
- data/lib/pescheck-client/api/profiles_api.rb +1 -1
- data/lib/pescheck-client/api/screenings_api.rb +66 -0
- data/lib/pescheck-client/api/webhooks_api.rb +2 -2
- data/lib/pescheck-client/configuration.rb +8 -0
- data/lib/pescheck-client/models/{custom_token_obtain_pair.rb → addon_price.rb} +46 -45
- data/lib/pescheck-client/models/disabled_division.rb +190 -0
- data/lib/pescheck-client/models/o_auth_application.rb +3 -3
- data/lib/pescheck-client/models/o_auth_application_response.rb +70 -44
- data/lib/pescheck-client/models/organisation_addon.rb +339 -0
- data/lib/pescheck-client/models/organisation_addon_update.rb +165 -0
- data/lib/pescheck-client/models/organisation_addon_update_result.rb +368 -0
- data/lib/pescheck-client/models/patched_organisation_addon_update.rb +148 -0
- data/lib/pescheck-client/models/v2_candidate.rb +1 -35
- data/lib/pescheck-client/models/v2_check_field.rb +2 -2
- data/lib/pescheck-client/models/v2_document.rb +6 -30
- data/lib/pescheck-client/models/v2_profile_check.rb +3 -3
- data/lib/pescheck-client/models/v2_profile_check_entry.rb +6 -30
- data/lib/pescheck-client/models/v2_profile_detail.rb +55 -1
- data/lib/pescheck-client/models/v2_profile_update_check.rb +3 -3
- data/lib/pescheck-client/models/v2_screening_check.rb +3 -3
- data/lib/pescheck-client/models/v2_screening_check_entry.rb +6 -30
- data/lib/pescheck-client/models/v2_screening_check_list_item.rb +6 -30
- data/lib/pescheck-client/models/v2_screening_create.rb +14 -4
- data/lib/pescheck-client/models/v2_screening_detail.rb +14 -2
- data/lib/pescheck-client/models/{v2_screening_detail_profile.rb → v2_screening_detail_organisation.rb} +4 -3
- data/lib/pescheck-client/models/v2_screening_list_item.rb +14 -2
- data/lib/pescheck-client/models/v2_screening_note_input.rb +3 -3
- data/lib/pescheck-client/models/webhook_response.rb +5 -5
- data/lib/pescheck-client/version.rb +1 -1
- data/lib/pescheck-client.rb +8 -2
- data/spec/api/add_ons_api_spec.rb +84 -0
- data/spec/api/authentication_api_spec.rb +1 -12
- data/spec/api/screenings_api_spec.rb +13 -0
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/models/{custom_token_obtain_pair_spec.rb → addon_price_spec.rb} +8 -8
- data/spec/models/disabled_division_spec.rb +42 -0
- data/spec/models/o_auth_application_response_spec.rb +12 -8
- data/spec/models/o_auth_application_spec.rb +1 -1
- data/spec/models/organisation_addon_spec.rb +78 -0
- data/spec/models/organisation_addon_update_result_spec.rb +84 -0
- data/spec/models/organisation_addon_update_spec.rb +36 -0
- data/spec/models/patched_organisation_addon_update_spec.rb +36 -0
- data/spec/models/v2_candidate_spec.rb +0 -4
- data/spec/models/v2_document_spec.rb +0 -4
- data/spec/models/v2_profile_check_entry_spec.rb +0 -4
- data/spec/models/v2_profile_check_spec.rb +1 -1
- data/spec/models/v2_profile_detail_spec.rb +12 -0
- data/spec/models/v2_profile_update_check_spec.rb +1 -1
- data/spec/models/v2_screening_check_entry_spec.rb +0 -4
- data/spec/models/v2_screening_check_list_item_spec.rb +0 -4
- data/spec/models/v2_screening_check_spec.rb +1 -1
- data/spec/models/v2_screening_create_spec.rb +12 -0
- data/spec/models/{v2_screening_detail_profile_spec.rb → v2_screening_detail_organisation_spec.rb} +6 -6
- data/spec/models/v2_screening_detail_spec.rb +12 -0
- data/spec/models/v2_screening_list_item_spec.rb +6 -0
- data/spec/models/v2_screening_note_input_spec.rb +1 -1
- metadata +65 -41
- data/docs/CustomTokenObtainPair.md +0 -22
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
| **name** | **String** | | [optional] |
|
|
9
9
|
| **client_id** | **String** | | [optional] |
|
|
10
10
|
| **client_secret** | **String** | | [readonly] |
|
|
11
|
-
| **client_type** | **String** | * `confidential` - Confidential * `public` - Public | |
|
|
12
|
-
| **authorization_grant_type** | **String** | * `authorization-code` - Authorization code * `implicit` - Implicit * `password` - Resource owner password-based * `client-credentials` - Client credentials * `openid-hybrid` - OpenID connect hybrid | |
|
|
11
|
+
| **client_type** | **String** | * `confidential` - Confidential * `public` - Public Known values: confidential, public. New values may be added; handle unknown values. | |
|
|
12
|
+
| **authorization_grant_type** | **String** | * `authorization-code` - Authorization code * `urn:ietf:params:oauth:grant-type:device_code` - Device Code * `implicit` - Implicit * `password` - Resource owner password-based * `client-credentials` - Client credentials * `openid-hybrid` - OpenID connect hybrid Known values: authorization-code, urn:ietf:params:oauth:grant-type:device_code, implicit, password, client-credentials, openid-hybrid. New values may be added; handle unknown values. | |
|
|
13
|
+
| **organisation** | **String** | | [readonly] |
|
|
14
|
+
| **organisation_id** | **String** | | [readonly] |
|
|
13
15
|
| **created** | **Time** | | [readonly] |
|
|
14
16
|
| **updated** | **Time** | | [readonly] |
|
|
15
17
|
|
|
@@ -25,6 +27,8 @@ instance = Pescheck::OAuthApplicationResponse.new(
|
|
|
25
27
|
client_secret: null,
|
|
26
28
|
client_type: null,
|
|
27
29
|
authorization_grant_type: null,
|
|
30
|
+
organisation: null,
|
|
31
|
+
organisation_id: null,
|
|
28
32
|
created: null,
|
|
29
33
|
updated: null
|
|
30
34
|
)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Pescheck::OrganisationAddon
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **addon** | **String** | Add-on identifier, used in the URL. * `branded_journey` - Branded Journey * `sso` - Single Sign-On (SSO) * `api_access` - API & MCP Access * `connected_ats` - Connected ATS - Click & Go Known values: branded_journey, sso, api_access, connected_ats. New values may be added; handle unknown values. | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **description** | **String** | | |
|
|
10
|
+
| **enabled** | **Boolean** | Switched on (and billed) for this organisation. | |
|
|
11
|
+
| **active** | **Boolean** | Usable right now. A division also needs the add-on on its parent organisation. | |
|
|
12
|
+
| **blocked_by_parent** | **Boolean** | Only the missing add-on on the parent organisation stands in the way. | |
|
|
13
|
+
| **monthly_price** | [**AddonPrice**](AddonPrice.md) | What this organisation pays per month; the division price for a division. Null when unpriced. | |
|
|
14
|
+
| **price_is_indicative** | **Boolean** | The price is a starting price (\"from\"). | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'pescheck-client'
|
|
20
|
+
|
|
21
|
+
instance = Pescheck::OrganisationAddon.new(
|
|
22
|
+
addon: null,
|
|
23
|
+
name: null,
|
|
24
|
+
description: null,
|
|
25
|
+
enabled: null,
|
|
26
|
+
active: null,
|
|
27
|
+
blocked_by_parent: null,
|
|
28
|
+
monthly_price: null,
|
|
29
|
+
price_is_indicative: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Pescheck::OrganisationAddonUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **enabled** | **Boolean** | Switch the add-on on (billed monthly from today) or off (billing stops at the end of the month). | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pescheck-client'
|
|
13
|
+
|
|
14
|
+
instance = Pescheck::OrganisationAddonUpdate.new(
|
|
15
|
+
enabled: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Pescheck::OrganisationAddonUpdateResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **addon** | **String** | Add-on identifier, used in the URL. * `branded_journey` - Branded Journey * `sso` - Single Sign-On (SSO) * `api_access` - API & MCP Access * `connected_ats` - Connected ATS - Click & Go Known values: branded_journey, sso, api_access, connected_ats. New values may be added; handle unknown values. | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **description** | **String** | | |
|
|
10
|
+
| **enabled** | **Boolean** | Switched on (and billed) for this organisation. | |
|
|
11
|
+
| **active** | **Boolean** | Usable right now. A division also needs the add-on on its parent organisation. | |
|
|
12
|
+
| **blocked_by_parent** | **Boolean** | Only the missing add-on on the parent organisation stands in the way. | |
|
|
13
|
+
| **monthly_price** | [**AddonPrice**](AddonPrice.md) | What this organisation pays per month; the division price for a division. Null when unpriced. | |
|
|
14
|
+
| **price_is_indicative** | **Boolean** | The price is a starting price (\"from\"). | |
|
|
15
|
+
| **disabled_divisions** | [**Array<DisabledDivision>**](DisabledDivision.md) | Divisions that were switched off too, because the add-on was switched off on their parent. | |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'pescheck-client'
|
|
21
|
+
|
|
22
|
+
instance = Pescheck::OrganisationAddonUpdateResult.new(
|
|
23
|
+
addon: null,
|
|
24
|
+
name: null,
|
|
25
|
+
description: null,
|
|
26
|
+
enabled: null,
|
|
27
|
+
active: null,
|
|
28
|
+
blocked_by_parent: null,
|
|
29
|
+
monthly_price: null,
|
|
30
|
+
price_is_indicative: null,
|
|
31
|
+
disabled_divisions: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Pescheck::PatchedOrganisationAddonUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **enabled** | **Boolean** | Switch the add-on on (billed monthly from today) or off (billing stops at the end of the month). | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pescheck-client'
|
|
13
|
+
|
|
14
|
+
instance = Pescheck::PatchedOrganisationAddonUpdate.new(
|
|
15
|
+
enabled: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/ScreeningsApi.md
CHANGED
|
@@ -4,12 +4,82 @@ All URIs are relative to *https://api.pescheck.io*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**v2_screenings_close_create**](ScreeningsApi.md#v2_screenings_close_create) | **POST** /api/v2/screenings/{id}/close/ | Close a screening |
|
|
7
8
|
| [**v2_screenings_create**](ScreeningsApi.md#v2_screenings_create) | **POST** /api/v2/screenings/ | |
|
|
8
9
|
| [**v2_screenings_documents_list**](ScreeningsApi.md#v2_screenings_documents_list) | **GET** /api/v2/screenings/{id}/documents/ | Retrieve screening documents |
|
|
9
10
|
| [**v2_screenings_list**](ScreeningsApi.md#v2_screenings_list) | **GET** /api/v2/screenings/ | |
|
|
10
11
|
| [**v2_screenings_retrieve**](ScreeningsApi.md#v2_screenings_retrieve) | **GET** /api/v2/screenings/{id}/ | |
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
## v2_screenings_close_create
|
|
15
|
+
|
|
16
|
+
> <V2ScreeningDetail> v2_screenings_close_create(id)
|
|
17
|
+
|
|
18
|
+
Close a screening
|
|
19
|
+
|
|
20
|
+
Stop a running screening (status OPEN, HOLD, WAITING or ATTENTION). Every check that has not finished is rejected, no more checks are done and the screening becomes FINISHED. This cannot be undone. The screening is still invoiced. Returns 409 when the screening is not running, for example a draft or a finished screening.
|
|
21
|
+
|
|
22
|
+
### Examples
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'time'
|
|
26
|
+
require 'pescheck-client'
|
|
27
|
+
# setup authorization
|
|
28
|
+
Pescheck.configure do |config|
|
|
29
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
30
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
api_instance = Pescheck::ScreeningsApi.new
|
|
34
|
+
id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | A UUID string identifying this screening.
|
|
35
|
+
|
|
36
|
+
begin
|
|
37
|
+
# Close a screening
|
|
38
|
+
result = api_instance.v2_screenings_close_create(id)
|
|
39
|
+
p result
|
|
40
|
+
rescue Pescheck::ApiError => e
|
|
41
|
+
puts "Error when calling ScreeningsApi->v2_screenings_close_create: #{e}"
|
|
42
|
+
end
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### Using the v2_screenings_close_create_with_http_info variant
|
|
46
|
+
|
|
47
|
+
This returns an Array which contains the response data, status code and headers.
|
|
48
|
+
|
|
49
|
+
> <Array(<V2ScreeningDetail>, Integer, Hash)> v2_screenings_close_create_with_http_info(id)
|
|
50
|
+
|
|
51
|
+
```ruby
|
|
52
|
+
begin
|
|
53
|
+
# Close a screening
|
|
54
|
+
data, status_code, headers = api_instance.v2_screenings_close_create_with_http_info(id)
|
|
55
|
+
p status_code # => 2xx
|
|
56
|
+
p headers # => { ... }
|
|
57
|
+
p data # => <V2ScreeningDetail>
|
|
58
|
+
rescue Pescheck::ApiError => e
|
|
59
|
+
puts "Error when calling ScreeningsApi->v2_screenings_close_create_with_http_info: #{e}"
|
|
60
|
+
end
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
| Name | Type | Description | Notes |
|
|
66
|
+
| ---- | ---- | ----------- | ----- |
|
|
67
|
+
| **id** | **String** | A UUID string identifying this screening. | |
|
|
68
|
+
|
|
69
|
+
### Return type
|
|
70
|
+
|
|
71
|
+
[**V2ScreeningDetail**](V2ScreeningDetail.md)
|
|
72
|
+
|
|
73
|
+
### Authorization
|
|
74
|
+
|
|
75
|
+
[oauth2](../README.md#oauth2)
|
|
76
|
+
|
|
77
|
+
### HTTP request headers
|
|
78
|
+
|
|
79
|
+
- **Content-Type**: Not defined
|
|
80
|
+
- **Accept**: application/json
|
|
81
|
+
|
|
82
|
+
|
|
13
83
|
## v2_screenings_create
|
|
14
84
|
|
|
15
85
|
> <V2ScreeningDetail> v2_screenings_create(v2_screening_create)
|
|
@@ -171,6 +241,7 @@ end
|
|
|
171
241
|
|
|
172
242
|
api_instance = Pescheck::ScreeningsApi.new
|
|
173
243
|
opts = {
|
|
244
|
+
organisation: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Restrict to screenings owned by this organisation. Use it with a parent-organisation token to list a single department's screenings.
|
|
174
245
|
page: 1, # Integer | A page number within the paginated result set.
|
|
175
246
|
page_size: 50, # Integer | Number of results to return per page.
|
|
176
247
|
paginate: true # Boolean | Enable/disable pagination. When false, max 500 records returned.
|
|
@@ -207,6 +278,7 @@ end
|
|
|
207
278
|
|
|
208
279
|
| Name | Type | Description | Notes |
|
|
209
280
|
| ---- | ---- | ----------- | ----- |
|
|
281
|
+
| **organisation** | **String** | Restrict to screenings owned by this organisation. Use it with a parent-organisation token to list a single department's screenings. | [optional] |
|
|
210
282
|
| **page** | **Integer** | A page number within the paginated result set. | [optional][default to 1] |
|
|
211
283
|
| **page_size** | **Integer** | Number of results to return per page. | [optional][default to 50] |
|
|
212
284
|
| **paginate** | **Boolean** | Enable/disable pagination. When false, max 500 records returned. | [optional][default to true] |
|
data/docs/V2Candidate.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **initials** | **String** | | [optional] |
|
|
11
11
|
| **date_of_birth** | **String** | | [optional] |
|
|
12
12
|
| **gender** | **String** | | [optional] |
|
|
13
|
-
| **nationality** | **String** | ISO 3166-1 alpha-2 country code (e.g. \"NL\", \"DE\", \"US\"). * `AD` - AD * `AE` - AE * `AF` - AF * `AG` - AG * `AI` - AI * `AL` - AL * `AM` - AM * `
|
|
13
|
+
| **nationality** | **String** | ISO 3166-1 alpha-2 country code (e.g. \"NL\", \"DE\", \"US\"). * `AD` - AD * `AE` - AE * `AF` - AF * `AG` - AG * `AI` - AI * `AL` - AL * `AM` - AM * `AO` - AO * `AQ` - AQ * `AR` - AR * `AS` - AS * `AT` - AT * `AU` - AU * `AW` - AW * `AX` - AX * `AZ` - AZ * `BA` - BA * `BB` - BB * `BD` - BD * `BE` - BE * `BF` - BF * `BG` - BG * `BH` - BH * `BI` - BI * `BJ` - BJ * `BL` - BL * `BM` - BM * `BN` - BN * `BO` - BO * `BQ` - BQ * `BR` - BR * `BS` - BS * `BT` - BT * `BV` - BV * `BW` - BW * `BY` - BY * `BZ` - BZ * `CA` - CA * `CC` - CC * `CD` - CD * `CF` - CF * `CG` - CG * `CH` - CH * `CI` - CI * `CK` - CK * `CL` - CL * `CM` - CM * `CN` - CN * `CO` - CO * `CR` - CR * `CU` - CU * `CV` - CV * `CW` - CW * `CX` - CX * `CY` - CY * `CZ` - CZ * `DE` - DE * `DJ` - DJ * `DK` - DK * `DM` - DM * `DO` - DO * `DZ` - DZ * `EC` - EC * `EE` - EE * `EG` - EG * `EH` - EH * `ER` - ER * `ES` - ES * `ET` - ET * `FI` - FI * `FJ` - FJ * `FK` - FK * `FM` - FM * `FO` - FO * `FR` - FR * `GA` - GA * `GB` - GB * `GD` - GD * `GE` - GE * `GF` - GF * `GG` - GG * `GH` - GH * `GI` - GI * `GL` - GL * `GM` - GM * `GN` - GN * `GP` - GP * `GQ` - GQ * `GR` - GR * `GS` - GS * `GT` - GT * `GU` - GU * `GW` - GW * `GY` - GY * `HK` - HK * `HM` - HM * `HN` - HN * `HR` - HR * `HT` - HT * `HU` - HU * `ID` - ID * `IE` - IE * `IL` - IL * `IM` - IM * `IN` - IN * `IO` - IO * `IQ` - IQ * `IR` - IR * `IS` - IS * `IT` - IT * `JE` - JE * `JM` - JM * `JO` - JO * `JP` - JP * `KE` - KE * `KG` - KG * `KH` - KH * `KI` - KI * `KM` - KM * `KN` - KN * `KP` - KP * `KR` - KR * `KW` - KW * `KY` - KY * `KZ` - KZ * `LA` - LA * `LB` - LB * `LC` - LC * `LI` - LI * `LK` - LK * `LR` - LR * `LS` - LS * `LT` - LT * `LU` - LU * `LV` - LV * `LY` - LY * `MA` - MA * `MC` - MC * `MD` - MD * `ME` - ME * `MF` - MF * `MG` - MG * `MH` - MH * `MK` - MK * `ML` - ML * `MM` - MM * `MN` - MN * `MO` - MO * `MP` - MP * `MQ` - MQ * `MR` - MR * `MS` - MS * `MT` - MT * `MU` - MU * `MV` - MV * `MW` - MW * `MX` - MX * `MY` - MY * `MZ` - MZ * `NA` - NA * `NC` - NC * `NE` - NE * `NF` - NF * `NG` - NG * `NI` - NI * `NL` - NL * `NO` - NO * `NP` - NP * `NR` - NR * `NU` - NU * `NZ` - NZ * `OM` - OM * `PA` - PA * `PE` - PE * `PF` - PF * `PG` - PG * `PH` - PH * `PK` - PK * `PL` - PL * `PM` - PM * `PN` - PN * `PR` - PR * `PS` - PS * `PT` - PT * `PW` - PW * `PY` - PY * `QA` - QA * `RE` - RE * `RO` - RO * `RS` - RS * `RU` - RU * `RW` - RW * `SA` - SA * `SB` - SB * `SC` - SC * `SD` - SD * `SE` - SE * `SG` - SG * `SH` - SH * `SI` - SI * `SJ` - SJ * `SK` - SK * `SL` - SL * `SM` - SM * `SN` - SN * `SO` - SO * `SR` - SR * `SS` - SS * `ST` - ST * `SV` - SV * `SX` - SX * `SY` - SY * `SZ` - SZ * `TC` - TC * `TD` - TD * `TF` - TF * `TG` - TG * `TH` - TH * `TJ` - TJ * `TK` - TK * `TL` - TL * `TM` - TM * `TN` - TN * `TO` - TO * `TR` - TR * `TT` - TT * `TV` - TV * `TW` - TW * `TZ` - TZ * `UA` - UA * `UG` - UG * `UM` - UM * `US` - US * `UY` - UY * `UZ` - UZ * `VA` - VA * `VC` - VC * `VE` - VE * `VG` - VG * `VI` - VI * `VN` - VN * `VU` - VU * `WF` - WF * `WS` - WS * `XK` - XK * `YE` - YE * `YT` - YT * `ZA` - ZA * `ZM` - ZM * `ZW` - ZW Known values: AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, . New values may be added; handle unknown values. | [optional] |
|
|
14
14
|
| **postal_code** | **String** | | [optional] |
|
|
15
15
|
| **house_number** | **String** | | [optional] |
|
|
16
16
|
| **extension** | **String** | | [optional] |
|
data/docs/V2CheckField.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **name** | **String** | | [readonly] |
|
|
8
8
|
| **type** | **String** | \"string\" | \"integer\" | \"number\" | \"boolean\" | \"array\" | \"object\" | [readonly] |
|
|
9
9
|
| **required** | **Boolean** | Whether the request body must include this field. | [readonly] |
|
|
10
|
-
| **choices** | **Array<String>** | Allowed values, or null if the field isn't constrained to a set. | [readonly] |
|
|
10
|
+
| **choices** | **Array<Hash<String, Object>>** | Allowed values, or null if the field isn't constrained to a set. Each choice has \"value\" (what to send), \"label\" (human-readable), and possibly check-specific extras such as \"description\". | [readonly] |
|
|
11
11
|
| **help_text** | **String** | | [readonly] |
|
|
12
12
|
|
|
13
13
|
## Example
|
data/docs/V2Document.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **check_id** | **String** | | [readonly] |
|
|
8
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `
|
|
8
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `idcheck` - idcheck * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `permissioncheck` - permissioncheck * `pescheckadversemediacheck` - pescheckadversemediacheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck Known values: addresscheck, adversemedia2check, adversemediacheck, bigcheck, criminalrecordscheck, criminalrecordsuploadcheck, customintegritycheck, cvcheck, edrcheck, ibancheck, id2check, idcheck, integritycheck, openhealthcarecheck, permissioncheck, pescheckadversemediacheck, qualificationcheck, righttoworkcheck, vogcheck, watchlist2check, watchlistcheck, workreferencecheck, worldwidecreditcheck. New values may be added; handle unknown values. | [readonly] |
|
|
9
9
|
| **filename** | **String** | | [readonly] |
|
|
10
10
|
| **extension** | **String** | | [readonly] |
|
|
11
11
|
| **content** | [**V2DocumentContent**](V2DocumentContent.md) | | [readonly] |
|
data/docs/V2ProfileCheck.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `
|
|
7
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck | |
|
|
8
8
|
| **config** | **Hash<String, Object>** | | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
data/docs/V2ProfileCheckEntry.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [readonly] |
|
|
8
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `
|
|
8
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `idcheck` - idcheck * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `permissioncheck` - permissioncheck * `pescheckadversemediacheck` - pescheckadversemediacheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck Known values: addresscheck, adversemedia2check, adversemediacheck, bigcheck, criminalrecordscheck, criminalrecordsuploadcheck, customintegritycheck, cvcheck, edrcheck, ibancheck, id2check, idcheck, integritycheck, openhealthcarecheck, permissioncheck, pescheckadversemediacheck, qualificationcheck, righttoworkcheck, vogcheck, watchlist2check, watchlistcheck, workreferencecheck, worldwidecreditcheck. New values may be added; handle unknown values. | [readonly] |
|
|
9
9
|
| **display_name** | **String** | | [readonly] |
|
|
10
10
|
| **configured_price** | [**V2Money**](V2Money.md) | | [readonly] |
|
|
11
11
|
| **config** | **Hash<String, Object>** | | [readonly] |
|
data/docs/V2ProfileDetail.md
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
| **supported_countries_of_work** | **Array<String>** | | [readonly] |
|
|
14
14
|
| **supported_countries_of_residence** | **Array<String>** | | [readonly] |
|
|
15
15
|
| **candidate_fields** | **Array<Object>** | | [readonly] |
|
|
16
|
+
| **creates_as_draft** | **Boolean** | | [readonly] |
|
|
17
|
+
| **draft_reasons** | **Array<String>** | | [readonly] |
|
|
16
18
|
| **created_at** | **Time** | | [readonly] |
|
|
17
19
|
| **updated_at** | **Time** | | [readonly] |
|
|
18
20
|
|
|
@@ -31,6 +33,8 @@ instance = Pescheck::V2ProfileDetail.new(
|
|
|
31
33
|
supported_countries_of_work: null,
|
|
32
34
|
supported_countries_of_residence: null,
|
|
33
35
|
candidate_fields: null,
|
|
36
|
+
creates_as_draft: null,
|
|
37
|
+
draft_reasons: null,
|
|
34
38
|
created_at: null,
|
|
35
39
|
updated_at: null
|
|
36
40
|
)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `
|
|
7
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `idcheck` - idcheck * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `permissioncheck` - permissioncheck * `pescheckadversemediacheck` - pescheckadversemediacheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck | |
|
|
8
8
|
| **config** | **Hash<String, Object>** | | [optional] |
|
|
9
9
|
| **profile_check_id** | **String** | | [optional] |
|
|
10
10
|
|
data/docs/V2ScreeningCheck.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `
|
|
7
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck | |
|
|
8
8
|
| **config** | **Hash<String, Object>** | | [optional] |
|
|
9
9
|
| **profile_check_id** | **String** | Disambiguator. Use when the profile has multiple ProfileChecks of the same check_type. | [optional] |
|
|
10
10
|
| **input** | **Object** | | [optional] |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [readonly] |
|
|
8
8
|
| **profile_check_id** | **String** | | [readonly] |
|
|
9
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `
|
|
9
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `idcheck` - idcheck * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `permissioncheck` - permissioncheck * `pescheckadversemediacheck` - pescheckadversemediacheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck Known values: addresscheck, adversemedia2check, adversemediacheck, bigcheck, criminalrecordscheck, criminalrecordsuploadcheck, customintegritycheck, cvcheck, edrcheck, ibancheck, id2check, idcheck, integritycheck, openhealthcarecheck, permissioncheck, pescheckadversemediacheck, qualificationcheck, righttoworkcheck, vogcheck, watchlist2check, watchlistcheck, workreferencecheck, worldwidecreditcheck. New values may be added; handle unknown values. | [readonly] |
|
|
10
10
|
| **display_name** | **String** | | [readonly] |
|
|
11
11
|
| **status** | **String** | | [readonly] |
|
|
12
12
|
| **config** | **Hash<String, Object>** | | [readonly] |
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [readonly] |
|
|
8
|
-
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `
|
|
8
|
+
| **check_type** | **String** | * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `idcheck` - idcheck * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `permissioncheck` - permissioncheck * `pescheckadversemediacheck` - pescheckadversemediacheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck Known values: addresscheck, adversemedia2check, adversemediacheck, bigcheck, criminalrecordscheck, criminalrecordsuploadcheck, customintegritycheck, cvcheck, edrcheck, ibancheck, id2check, idcheck, integritycheck, openhealthcarecheck, permissioncheck, pescheckadversemediacheck, qualificationcheck, righttoworkcheck, vogcheck, watchlist2check, watchlistcheck, workreferencecheck, worldwidecreditcheck. New values may be added; handle unknown values. | [readonly] |
|
|
9
9
|
| **status** | **String** | | [readonly] |
|
|
10
10
|
|
|
11
11
|
## Example
|
data/docs/V2ScreeningCreate.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **candidate** | [**V2Candidate**](V2Candidate.md) | | |
|
|
9
9
|
| **checks** | [**Array<V2ScreeningCheck>**](V2ScreeningCheck.md) | | [optional] |
|
|
10
10
|
| **screening_notes** | [**Array<V2ScreeningNoteInput>**](V2ScreeningNoteInput.md) | | [optional] |
|
|
11
|
+
| **division_id** | **String** | Create the screening for this department instead of the token's own organisation. Omit for the usual case. Same field as on webhook and OAuth application creation. | [optional] |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,7 +19,8 @@ instance = Pescheck::V2ScreeningCreate.new(
|
|
|
18
19
|
profile_id: null,
|
|
19
20
|
candidate: null,
|
|
20
21
|
checks: null,
|
|
21
|
-
screening_notes: null
|
|
22
|
+
screening_notes: null,
|
|
23
|
+
division_id: null
|
|
22
24
|
)
|
|
23
25
|
```
|
|
24
26
|
|
data/docs/V2ScreeningDetail.md
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [readonly] |
|
|
8
8
|
| **status** | **String** | | [readonly] |
|
|
9
|
-
| **
|
|
9
|
+
| **organisation** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
|
|
10
|
+
| **profile** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
|
|
10
11
|
| **candidate** | [**V2Candidate**](V2Candidate.md) | | [readonly] |
|
|
11
12
|
| **checks** | [**Array<V2ScreeningCheckEntry>**](V2ScreeningCheckEntry.md) | | [readonly] |
|
|
12
13
|
| **screening_notes** | [**Array<V2ScreeningNote>**](V2ScreeningNote.md) | | [readonly] |
|
|
@@ -23,6 +24,7 @@ require 'pescheck-client'
|
|
|
23
24
|
instance = Pescheck::V2ScreeningDetail.new(
|
|
24
25
|
id: null,
|
|
25
26
|
status: null,
|
|
27
|
+
organisation: null,
|
|
26
28
|
profile: null,
|
|
27
29
|
candidate: null,
|
|
28
30
|
checks: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Pescheck::
|
|
1
|
+
# Pescheck::V2ScreeningDetailOrganisation
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
```ruby
|
|
13
13
|
require 'pescheck-client'
|
|
14
14
|
|
|
15
|
-
instance = Pescheck::
|
|
15
|
+
instance = Pescheck::V2ScreeningDetailOrganisation.new(
|
|
16
16
|
id: null,
|
|
17
17
|
name: null
|
|
18
18
|
)
|
data/docs/V2ScreeningListItem.md
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [readonly] |
|
|
8
8
|
| **status** | **String** | | [optional] |
|
|
9
|
-
| **
|
|
9
|
+
| **organisation** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
|
|
10
|
+
| **profile** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
|
|
10
11
|
| **candidate** | [**V2Candidate**](V2Candidate.md) | | [readonly] |
|
|
11
12
|
| **checks** | [**Array<V2ScreeningCheckListItem>**](V2ScreeningCheckListItem.md) | | [readonly] |
|
|
12
13
|
| **candidate_wizard_url** | **String** | | [readonly] |
|
|
@@ -22,6 +23,7 @@ require 'pescheck-client'
|
|
|
22
23
|
instance = Pescheck::V2ScreeningListItem.new(
|
|
23
24
|
id: null,
|
|
24
25
|
status: null,
|
|
26
|
+
organisation: null,
|
|
25
27
|
profile: null,
|
|
26
28
|
candidate: null,
|
|
27
29
|
checks: null,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **note** | **String** | | |
|
|
8
8
|
| **profile_check_id** | **String** | Links the note to the Check spawned from this ProfileCheck. Wins over check_type. | [optional] |
|
|
9
|
-
| **check_type** | **String** | Scope the note to a check type. Ignored when profile_check_id is given. * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `
|
|
9
|
+
| **check_type** | **String** | Scope the note to a check type. Ignored when profile_check_id is given. * `addresscheck` - addresscheck * `adversemedia2check` - adversemedia2check * `adversemediacheck` - adversemediacheck * `bigcheck` - bigcheck * `criminalrecordscheck` - criminalrecordscheck * `criminalrecordsuploadcheck` - criminalrecordsuploadcheck * `customintegritycheck` - customintegritycheck * `cvcheck` - cvcheck * `edrcheck` - edrcheck * `ibancheck` - ibancheck * `id2check` - id2check * `idcheck` - idcheck * `integritycheck` - integritycheck * `openhealthcarecheck` - openhealthcarecheck * `permissioncheck` - permissioncheck * `pescheckadversemediacheck` - pescheckadversemediacheck * `qualificationcheck` - qualificationcheck * `righttoworkcheck` - righttoworkcheck * `vogcheck` - vogcheck * `watchlist2check` - watchlist2check * `watchlistcheck` - watchlistcheck * `workreferencecheck` - workreferencecheck * `worldwidecreditcheck` - worldwidecreditcheck | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
data/docs/WebhooksApi.md
CHANGED
|
@@ -16,7 +16,7 @@ All URIs are relative to *https://api.pescheck.io*
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
Create webhook for event notifications. **Authentication Notes:** - OAuth2: Organization is automatically determined from the OAuth application - If your OAuth app has no organization set, pass it via `X-Organization-Id` header or `organization_id` query parameter **Valid Events:** - `check.
|
|
19
|
+
Create webhook for event notifications. **Authentication Notes:** - OAuth2: Organization is automatically determined from the OAuth application - If your OAuth app has no organization set, pass it via `X-Organization-Id` header or `organization_id` query parameter **Valid Events:** - `check.status_changed` - Check status has changed (new status in payload) - `screening.status_changed` - Screening status has changed (new status in payload) - `screening.archived` - Screening has been archived - `package.created` - New package has been created - `package.updated` - Package has been updated - `profile.created` - New profile has been created - `profile.updated` - Profile has been updated - `division.created` - New division has been created - `division.updated` - Division has been updated Limited to 5 webhooks per organization/division.
|
|
20
20
|
|
|
21
21
|
### Examples
|
|
22
22
|
|