pescheck-client 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +54 -45
  3. data/docs/AddOnsApi.md +305 -0
  4. data/docs/AddonPrice.md +20 -0
  5. data/docs/AuthenticationApi.md +1 -71
  6. data/docs/DisabledDivision.md +20 -0
  7. data/docs/OAuthApplication.md +1 -1
  8. data/docs/OAuthApplicationResponse.md +6 -2
  9. data/docs/OrganisationAddon.md +32 -0
  10. data/docs/OrganisationAddonUpdate.md +18 -0
  11. data/docs/OrganisationAddonUpdateResult.md +34 -0
  12. data/docs/PatchedOrganisationAddonUpdate.md +18 -0
  13. data/docs/ScreeningsApi.md +72 -0
  14. data/docs/V2Candidate.md +1 -1
  15. data/docs/V2CheckField.md +1 -1
  16. data/docs/V2Document.md +1 -1
  17. data/docs/V2ProfileCheck.md +1 -1
  18. data/docs/V2ProfileCheckEntry.md +1 -1
  19. data/docs/V2ProfileDetail.md +4 -0
  20. data/docs/V2ProfileUpdateCheck.md +1 -1
  21. data/docs/V2ScreeningCheck.md +1 -1
  22. data/docs/V2ScreeningCheckEntry.md +1 -1
  23. data/docs/V2ScreeningCheckListItem.md +1 -1
  24. data/docs/V2ScreeningCreate.md +5 -1
  25. data/docs/V2ScreeningDetail.md +5 -1
  26. data/docs/{V2ScreeningDetailProfile.md → V2ScreeningDetailOrganisation.md} +2 -2
  27. data/docs/V2ScreeningListItem.md +3 -1
  28. data/docs/V2ScreeningNote.md +24 -0
  29. data/docs/V2ScreeningNoteInput.md +22 -0
  30. data/docs/WebhooksApi.md +1 -1
  31. data/lib/pescheck-client/api/add_ons_api.rb +305 -0
  32. data/lib/pescheck-client/api/authentication_api.rb +2 -68
  33. data/lib/pescheck-client/api/profiles_api.rb +1 -1
  34. data/lib/pescheck-client/api/screenings_api.rb +66 -0
  35. data/lib/pescheck-client/api/webhooks_api.rb +2 -2
  36. data/lib/pescheck-client/configuration.rb +8 -0
  37. data/lib/pescheck-client/models/addon_price.rb +202 -0
  38. data/lib/pescheck-client/models/{custom_token_obtain_pair.rb → disabled_division.rb} +34 -35
  39. data/lib/pescheck-client/models/o_auth_application.rb +3 -3
  40. data/lib/pescheck-client/models/o_auth_application_response.rb +70 -44
  41. data/lib/pescheck-client/models/organisation_addon.rb +339 -0
  42. data/lib/pescheck-client/models/organisation_addon_update.rb +165 -0
  43. data/lib/pescheck-client/models/organisation_addon_update_result.rb +368 -0
  44. data/lib/pescheck-client/models/patched_organisation_addon_update.rb +148 -0
  45. data/lib/pescheck-client/models/v2_candidate.rb +1 -35
  46. data/lib/pescheck-client/models/v2_check_field.rb +2 -2
  47. data/lib/pescheck-client/models/v2_document.rb +6 -30
  48. data/lib/pescheck-client/models/v2_profile_check.rb +3 -3
  49. data/lib/pescheck-client/models/v2_profile_check_entry.rb +6 -30
  50. data/lib/pescheck-client/models/v2_profile_detail.rb +55 -1
  51. data/lib/pescheck-client/models/v2_profile_update_check.rb +3 -3
  52. data/lib/pescheck-client/models/v2_screening_check.rb +3 -3
  53. data/lib/pescheck-client/models/v2_screening_check_entry.rb +6 -30
  54. data/lib/pescheck-client/models/v2_screening_check_list_item.rb +6 -30
  55. data/lib/pescheck-client/models/v2_screening_create.rb +25 -4
  56. data/lib/pescheck-client/models/v2_screening_detail.rb +42 -2
  57. data/lib/pescheck-client/models/{v2_screening_detail_profile.rb → v2_screening_detail_organisation.rb} +4 -3
  58. data/lib/pescheck-client/models/v2_screening_list_item.rb +14 -2
  59. data/lib/pescheck-client/models/v2_screening_note.rb +229 -0
  60. data/lib/pescheck-client/models/v2_screening_note_input.rb +220 -0
  61. data/lib/pescheck-client/models/webhook_response.rb +5 -5
  62. data/lib/pescheck-client/version.rb +1 -1
  63. data/lib/pescheck-client.rb +10 -2
  64. data/spec/api/add_ons_api_spec.rb +84 -0
  65. data/spec/api/authentication_api_spec.rb +1 -12
  66. data/spec/api/screenings_api_spec.rb +13 -0
  67. data/spec/api/webhooks_api_spec.rb +1 -1
  68. data/spec/models/{custom_token_obtain_pair_spec.rb → addon_price_spec.rb} +8 -8
  69. data/spec/models/disabled_division_spec.rb +42 -0
  70. data/spec/models/o_auth_application_response_spec.rb +12 -8
  71. data/spec/models/o_auth_application_spec.rb +1 -1
  72. data/spec/models/organisation_addon_spec.rb +78 -0
  73. data/spec/models/organisation_addon_update_result_spec.rb +84 -0
  74. data/spec/models/organisation_addon_update_spec.rb +36 -0
  75. data/spec/models/patched_organisation_addon_update_spec.rb +36 -0
  76. data/spec/models/v2_candidate_spec.rb +0 -4
  77. data/spec/models/v2_document_spec.rb +0 -4
  78. data/spec/models/v2_profile_check_entry_spec.rb +0 -4
  79. data/spec/models/v2_profile_check_spec.rb +1 -1
  80. data/spec/models/v2_profile_detail_spec.rb +12 -0
  81. data/spec/models/v2_profile_update_check_spec.rb +1 -1
  82. data/spec/models/v2_screening_check_entry_spec.rb +0 -4
  83. data/spec/models/v2_screening_check_list_item_spec.rb +0 -4
  84. data/spec/models/v2_screening_check_spec.rb +1 -1
  85. data/spec/models/v2_screening_create_spec.rb +12 -0
  86. data/spec/models/{v2_screening_detail_profile_spec.rb → v2_screening_detail_organisation_spec.rb} +6 -6
  87. data/spec/models/v2_screening_detail_spec.rb +12 -0
  88. data/spec/models/v2_screening_list_item_spec.rb +6 -0
  89. data/spec/models/v2_screening_note_input_spec.rb +52 -0
  90. data/spec/models/v2_screening_note_spec.rb +54 -0
  91. metadata +71 -39
  92. data/docs/CustomTokenObtainPair.md +0 -20
@@ -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
+
@@ -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&#39;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. \&quot;NL\&quot;, \&quot;DE\&quot;, \&quot;US\&quot;). * &#x60;AD&#x60; - AD * &#x60;AE&#x60; - AE * &#x60;AF&#x60; - AF * &#x60;AG&#x60; - AG * &#x60;AI&#x60; - AI * &#x60;AL&#x60; - AL * &#x60;AM&#x60; - AM * &#x60;AN&#x60; - AN * &#x60;AO&#x60; - AO * &#x60;AQ&#x60; - AQ * &#x60;AR&#x60; - AR * &#x60;AS&#x60; - AS * &#x60;AT&#x60; - AT * &#x60;AU&#x60; - AU * &#x60;AW&#x60; - AW * &#x60;AX&#x60; - AX * &#x60;AZ&#x60; - AZ * &#x60;BA&#x60; - BA * &#x60;BB&#x60; - BB * &#x60;BD&#x60; - BD * &#x60;BE&#x60; - BE * &#x60;BF&#x60; - BF * &#x60;BG&#x60; - BG * &#x60;BH&#x60; - BH * &#x60;BI&#x60; - BI * &#x60;BJ&#x60; - BJ * &#x60;BL&#x60; - BL * &#x60;BM&#x60; - BM * &#x60;BN&#x60; - BN * &#x60;BO&#x60; - BO * &#x60;BR&#x60; - BR * &#x60;BS&#x60; - BS * &#x60;BT&#x60; - BT * &#x60;BV&#x60; - BV * &#x60;BW&#x60; - BW * &#x60;BY&#x60; - BY * &#x60;BZ&#x60; - BZ * &#x60;CA&#x60; - CA * &#x60;CC&#x60; - CC * &#x60;CD&#x60; - CD * &#x60;CF&#x60; - CF * &#x60;CG&#x60; - CG * &#x60;CH&#x60; - CH * &#x60;CI&#x60; - CI * &#x60;CK&#x60; - CK * &#x60;CL&#x60; - CL * &#x60;CM&#x60; - CM * &#x60;CN&#x60; - CN * &#x60;CO&#x60; - CO * &#x60;CR&#x60; - CR * &#x60;CU&#x60; - CU * &#x60;CV&#x60; - CV * &#x60;CW&#x60; - CW * &#x60;CX&#x60; - CX * &#x60;CY&#x60; - CY * &#x60;CZ&#x60; - CZ * &#x60;DE&#x60; - DE * &#x60;DJ&#x60; - DJ * &#x60;DK&#x60; - DK * &#x60;DM&#x60; - DM * &#x60;DO&#x60; - DO * &#x60;DZ&#x60; - DZ * &#x60;EC&#x60; - EC * &#x60;EE&#x60; - EE * &#x60;EG&#x60; - EG * &#x60;EH&#x60; - EH * &#x60;ER&#x60; - ER * &#x60;ES&#x60; - ES * &#x60;ET&#x60; - ET * &#x60;FI&#x60; - FI * &#x60;FJ&#x60; - FJ * &#x60;FK&#x60; - FK * &#x60;FM&#x60; - FM * &#x60;FO&#x60; - FO * &#x60;FR&#x60; - FR * &#x60;GA&#x60; - GA * &#x60;GB&#x60; - GB * &#x60;GD&#x60; - GD * &#x60;GE&#x60; - GE * &#x60;GF&#x60; - GF * &#x60;GG&#x60; - GG * &#x60;GH&#x60; - GH * &#x60;GI&#x60; - GI * &#x60;GL&#x60; - GL * &#x60;GM&#x60; - GM * &#x60;GN&#x60; - GN * &#x60;GP&#x60; - GP * &#x60;GQ&#x60; - GQ * &#x60;GR&#x60; - GR * &#x60;GS&#x60; - GS * &#x60;GT&#x60; - GT * &#x60;GU&#x60; - GU * &#x60;GW&#x60; - GW * &#x60;GY&#x60; - GY * &#x60;HK&#x60; - HK * &#x60;HM&#x60; - HM * &#x60;HN&#x60; - HN * &#x60;HR&#x60; - HR * &#x60;HT&#x60; - HT * &#x60;HU&#x60; - HU * &#x60;ID&#x60; - ID * &#x60;IE&#x60; - IE * &#x60;IL&#x60; - IL * &#x60;IM&#x60; - IM * &#x60;IN&#x60; - IN * &#x60;IO&#x60; - IO * &#x60;IQ&#x60; - IQ * &#x60;IR&#x60; - IR * &#x60;IS&#x60; - IS * &#x60;IT&#x60; - IT * &#x60;JE&#x60; - JE * &#x60;JM&#x60; - JM * &#x60;JO&#x60; - JO * &#x60;JP&#x60; - JP * &#x60;KE&#x60; - KE * &#x60;KG&#x60; - KG * &#x60;KH&#x60; - KH * &#x60;KI&#x60; - KI * &#x60;KM&#x60; - KM * &#x60;KN&#x60; - KN * &#x60;KP&#x60; - KP * &#x60;KR&#x60; - KR * &#x60;KW&#x60; - KW * &#x60;KY&#x60; - KY * &#x60;KZ&#x60; - KZ * &#x60;LA&#x60; - LA * &#x60;LB&#x60; - LB * &#x60;LC&#x60; - LC * &#x60;LI&#x60; - LI * &#x60;LK&#x60; - LK * &#x60;LR&#x60; - LR * &#x60;LS&#x60; - LS * &#x60;LT&#x60; - LT * &#x60;LU&#x60; - LU * &#x60;LV&#x60; - LV * &#x60;LY&#x60; - LY * &#x60;MA&#x60; - MA * &#x60;MC&#x60; - MC * &#x60;MD&#x60; - MD * &#x60;ME&#x60; - ME * &#x60;MG&#x60; - MG * &#x60;MH&#x60; - MH * &#x60;MK&#x60; - MK * &#x60;ML&#x60; - ML * &#x60;MM&#x60; - MM * &#x60;MN&#x60; - MN * &#x60;MO&#x60; - MO * &#x60;MP&#x60; - MP * &#x60;MQ&#x60; - MQ * &#x60;MR&#x60; - MR * &#x60;MS&#x60; - MS * &#x60;MT&#x60; - MT * &#x60;MU&#x60; - MU * &#x60;MV&#x60; - MV * &#x60;MW&#x60; - MW * &#x60;MX&#x60; - MX * &#x60;MY&#x60; - MY * &#x60;MZ&#x60; - MZ * &#x60;NA&#x60; - NA * &#x60;NC&#x60; - NC * &#x60;NE&#x60; - NE * &#x60;NF&#x60; - NF * &#x60;NG&#x60; - NG * &#x60;NI&#x60; - NI * &#x60;NL&#x60; - NL * &#x60;NO&#x60; - NO * &#x60;NP&#x60; - NP * &#x60;NR&#x60; - NR * &#x60;NU&#x60; - NU * &#x60;NZ&#x60; - NZ * &#x60;OM&#x60; - OM * &#x60;PA&#x60; - PA * &#x60;PE&#x60; - PE * &#x60;PF&#x60; - PF * &#x60;PG&#x60; - PG * &#x60;PH&#x60; - PH * &#x60;PK&#x60; - PK * &#x60;PL&#x60; - PL * &#x60;PM&#x60; - PM * &#x60;PN&#x60; - PN * &#x60;PR&#x60; - PR * &#x60;PS&#x60; - PS * &#x60;PT&#x60; - PT * &#x60;PW&#x60; - PW * &#x60;PY&#x60; - PY * &#x60;QA&#x60; - QA * &#x60;RE&#x60; - RE * &#x60;RO&#x60; - RO * &#x60;RS&#x60; - RS * &#x60;RU&#x60; - RU * &#x60;RW&#x60; - RW * &#x60;SA&#x60; - SA * &#x60;SB&#x60; - SB * &#x60;SC&#x60; - SC * &#x60;SD&#x60; - SD * &#x60;SE&#x60; - SE * &#x60;SG&#x60; - SG * &#x60;SH&#x60; - SH * &#x60;SI&#x60; - SI * &#x60;SJ&#x60; - SJ * &#x60;SK&#x60; - SK * &#x60;SL&#x60; - SL * &#x60;SM&#x60; - SM * &#x60;SN&#x60; - SN * &#x60;SO&#x60; - SO * &#x60;SR&#x60; - SR * &#x60;ST&#x60; - ST * &#x60;SV&#x60; - SV * &#x60;SY&#x60; - SY * &#x60;SZ&#x60; - SZ * &#x60;TC&#x60; - TC * &#x60;TD&#x60; - TD * &#x60;TF&#x60; - TF * &#x60;TG&#x60; - TG * &#x60;TH&#x60; - TH * &#x60;TJ&#x60; - TJ * &#x60;TK&#x60; - TK * &#x60;TL&#x60; - TL * &#x60;TM&#x60; - TM * &#x60;TN&#x60; - TN * &#x60;TO&#x60; - TO * &#x60;TR&#x60; - TR * &#x60;TT&#x60; - TT * &#x60;TV&#x60; - TV * &#x60;TW&#x60; - TW * &#x60;TZ&#x60; - TZ * &#x60;UA&#x60; - UA * &#x60;UG&#x60; - UG * &#x60;UM&#x60; - UM * &#x60;US&#x60; - US * &#x60;UY&#x60; - UY * &#x60;UZ&#x60; - UZ * &#x60;VA&#x60; - VA * &#x60;VC&#x60; - VC * &#x60;VE&#x60; - VE * &#x60;VG&#x60; - VG * &#x60;VI&#x60; - VI * &#x60;VN&#x60; - VN * &#x60;VU&#x60; - VU * &#x60;WF&#x60; - WF * &#x60;WS&#x60; - WS * &#x60;XK&#x60; - XK * &#x60;YE&#x60; - YE * &#x60;YT&#x60; - YT * &#x60;ZA&#x60; - ZA * &#x60;ZM&#x60; - ZM * &#x60;ZW&#x60; - ZW | [optional] |
13
+ | **nationality** | **String** | ISO 3166-1 alpha-2 country code (e.g. \&quot;NL\&quot;, \&quot;DE\&quot;, \&quot;US\&quot;). * &#x60;AD&#x60; - AD * &#x60;AE&#x60; - AE * &#x60;AF&#x60; - AF * &#x60;AG&#x60; - AG * &#x60;AI&#x60; - AI * &#x60;AL&#x60; - AL * &#x60;AM&#x60; - AM * &#x60;AO&#x60; - AO * &#x60;AQ&#x60; - AQ * &#x60;AR&#x60; - AR * &#x60;AS&#x60; - AS * &#x60;AT&#x60; - AT * &#x60;AU&#x60; - AU * &#x60;AW&#x60; - AW * &#x60;AX&#x60; - AX * &#x60;AZ&#x60; - AZ * &#x60;BA&#x60; - BA * &#x60;BB&#x60; - BB * &#x60;BD&#x60; - BD * &#x60;BE&#x60; - BE * &#x60;BF&#x60; - BF * &#x60;BG&#x60; - BG * &#x60;BH&#x60; - BH * &#x60;BI&#x60; - BI * &#x60;BJ&#x60; - BJ * &#x60;BL&#x60; - BL * &#x60;BM&#x60; - BM * &#x60;BN&#x60; - BN * &#x60;BO&#x60; - BO * &#x60;BQ&#x60; - BQ * &#x60;BR&#x60; - BR * &#x60;BS&#x60; - BS * &#x60;BT&#x60; - BT * &#x60;BV&#x60; - BV * &#x60;BW&#x60; - BW * &#x60;BY&#x60; - BY * &#x60;BZ&#x60; - BZ * &#x60;CA&#x60; - CA * &#x60;CC&#x60; - CC * &#x60;CD&#x60; - CD * &#x60;CF&#x60; - CF * &#x60;CG&#x60; - CG * &#x60;CH&#x60; - CH * &#x60;CI&#x60; - CI * &#x60;CK&#x60; - CK * &#x60;CL&#x60; - CL * &#x60;CM&#x60; - CM * &#x60;CN&#x60; - CN * &#x60;CO&#x60; - CO * &#x60;CR&#x60; - CR * &#x60;CU&#x60; - CU * &#x60;CV&#x60; - CV * &#x60;CW&#x60; - CW * &#x60;CX&#x60; - CX * &#x60;CY&#x60; - CY * &#x60;CZ&#x60; - CZ * &#x60;DE&#x60; - DE * &#x60;DJ&#x60; - DJ * &#x60;DK&#x60; - DK * &#x60;DM&#x60; - DM * &#x60;DO&#x60; - DO * &#x60;DZ&#x60; - DZ * &#x60;EC&#x60; - EC * &#x60;EE&#x60; - EE * &#x60;EG&#x60; - EG * &#x60;EH&#x60; - EH * &#x60;ER&#x60; - ER * &#x60;ES&#x60; - ES * &#x60;ET&#x60; - ET * &#x60;FI&#x60; - FI * &#x60;FJ&#x60; - FJ * &#x60;FK&#x60; - FK * &#x60;FM&#x60; - FM * &#x60;FO&#x60; - FO * &#x60;FR&#x60; - FR * &#x60;GA&#x60; - GA * &#x60;GB&#x60; - GB * &#x60;GD&#x60; - GD * &#x60;GE&#x60; - GE * &#x60;GF&#x60; - GF * &#x60;GG&#x60; - GG * &#x60;GH&#x60; - GH * &#x60;GI&#x60; - GI * &#x60;GL&#x60; - GL * &#x60;GM&#x60; - GM * &#x60;GN&#x60; - GN * &#x60;GP&#x60; - GP * &#x60;GQ&#x60; - GQ * &#x60;GR&#x60; - GR * &#x60;GS&#x60; - GS * &#x60;GT&#x60; - GT * &#x60;GU&#x60; - GU * &#x60;GW&#x60; - GW * &#x60;GY&#x60; - GY * &#x60;HK&#x60; - HK * &#x60;HM&#x60; - HM * &#x60;HN&#x60; - HN * &#x60;HR&#x60; - HR * &#x60;HT&#x60; - HT * &#x60;HU&#x60; - HU * &#x60;ID&#x60; - ID * &#x60;IE&#x60; - IE * &#x60;IL&#x60; - IL * &#x60;IM&#x60; - IM * &#x60;IN&#x60; - IN * &#x60;IO&#x60; - IO * &#x60;IQ&#x60; - IQ * &#x60;IR&#x60; - IR * &#x60;IS&#x60; - IS * &#x60;IT&#x60; - IT * &#x60;JE&#x60; - JE * &#x60;JM&#x60; - JM * &#x60;JO&#x60; - JO * &#x60;JP&#x60; - JP * &#x60;KE&#x60; - KE * &#x60;KG&#x60; - KG * &#x60;KH&#x60; - KH * &#x60;KI&#x60; - KI * &#x60;KM&#x60; - KM * &#x60;KN&#x60; - KN * &#x60;KP&#x60; - KP * &#x60;KR&#x60; - KR * &#x60;KW&#x60; - KW * &#x60;KY&#x60; - KY * &#x60;KZ&#x60; - KZ * &#x60;LA&#x60; - LA * &#x60;LB&#x60; - LB * &#x60;LC&#x60; - LC * &#x60;LI&#x60; - LI * &#x60;LK&#x60; - LK * &#x60;LR&#x60; - LR * &#x60;LS&#x60; - LS * &#x60;LT&#x60; - LT * &#x60;LU&#x60; - LU * &#x60;LV&#x60; - LV * &#x60;LY&#x60; - LY * &#x60;MA&#x60; - MA * &#x60;MC&#x60; - MC * &#x60;MD&#x60; - MD * &#x60;ME&#x60; - ME * &#x60;MF&#x60; - MF * &#x60;MG&#x60; - MG * &#x60;MH&#x60; - MH * &#x60;MK&#x60; - MK * &#x60;ML&#x60; - ML * &#x60;MM&#x60; - MM * &#x60;MN&#x60; - MN * &#x60;MO&#x60; - MO * &#x60;MP&#x60; - MP * &#x60;MQ&#x60; - MQ * &#x60;MR&#x60; - MR * &#x60;MS&#x60; - MS * &#x60;MT&#x60; - MT * &#x60;MU&#x60; - MU * &#x60;MV&#x60; - MV * &#x60;MW&#x60; - MW * &#x60;MX&#x60; - MX * &#x60;MY&#x60; - MY * &#x60;MZ&#x60; - MZ * &#x60;NA&#x60; - NA * &#x60;NC&#x60; - NC * &#x60;NE&#x60; - NE * &#x60;NF&#x60; - NF * &#x60;NG&#x60; - NG * &#x60;NI&#x60; - NI * &#x60;NL&#x60; - NL * &#x60;NO&#x60; - NO * &#x60;NP&#x60; - NP * &#x60;NR&#x60; - NR * &#x60;NU&#x60; - NU * &#x60;NZ&#x60; - NZ * &#x60;OM&#x60; - OM * &#x60;PA&#x60; - PA * &#x60;PE&#x60; - PE * &#x60;PF&#x60; - PF * &#x60;PG&#x60; - PG * &#x60;PH&#x60; - PH * &#x60;PK&#x60; - PK * &#x60;PL&#x60; - PL * &#x60;PM&#x60; - PM * &#x60;PN&#x60; - PN * &#x60;PR&#x60; - PR * &#x60;PS&#x60; - PS * &#x60;PT&#x60; - PT * &#x60;PW&#x60; - PW * &#x60;PY&#x60; - PY * &#x60;QA&#x60; - QA * &#x60;RE&#x60; - RE * &#x60;RO&#x60; - RO * &#x60;RS&#x60; - RS * &#x60;RU&#x60; - RU * &#x60;RW&#x60; - RW * &#x60;SA&#x60; - SA * &#x60;SB&#x60; - SB * &#x60;SC&#x60; - SC * &#x60;SD&#x60; - SD * &#x60;SE&#x60; - SE * &#x60;SG&#x60; - SG * &#x60;SH&#x60; - SH * &#x60;SI&#x60; - SI * &#x60;SJ&#x60; - SJ * &#x60;SK&#x60; - SK * &#x60;SL&#x60; - SL * &#x60;SM&#x60; - SM * &#x60;SN&#x60; - SN * &#x60;SO&#x60; - SO * &#x60;SR&#x60; - SR * &#x60;SS&#x60; - SS * &#x60;ST&#x60; - ST * &#x60;SV&#x60; - SV * &#x60;SX&#x60; - SX * &#x60;SY&#x60; - SY * &#x60;SZ&#x60; - SZ * &#x60;TC&#x60; - TC * &#x60;TD&#x60; - TD * &#x60;TF&#x60; - TF * &#x60;TG&#x60; - TG * &#x60;TH&#x60; - TH * &#x60;TJ&#x60; - TJ * &#x60;TK&#x60; - TK * &#x60;TL&#x60; - TL * &#x60;TM&#x60; - TM * &#x60;TN&#x60; - TN * &#x60;TO&#x60; - TO * &#x60;TR&#x60; - TR * &#x60;TT&#x60; - TT * &#x60;TV&#x60; - TV * &#x60;TW&#x60; - TW * &#x60;TZ&#x60; - TZ * &#x60;UA&#x60; - UA * &#x60;UG&#x60; - UG * &#x60;UM&#x60; - UM * &#x60;US&#x60; - US * &#x60;UY&#x60; - UY * &#x60;UZ&#x60; - UZ * &#x60;VA&#x60; - VA * &#x60;VC&#x60; - VC * &#x60;VE&#x60; - VE * &#x60;VG&#x60; - VG * &#x60;VI&#x60; - VI * &#x60;VN&#x60; - VN * &#x60;VU&#x60; - VU * &#x60;WF&#x60; - WF * &#x60;WS&#x60; - WS * &#x60;XK&#x60; - XK * &#x60;YE&#x60; - YE * &#x60;YT&#x60; - YT * &#x60;ZA&#x60; - ZA * &#x60;ZM&#x60; - ZM * &#x60;ZW&#x60; - 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** | \&quot;string\&quot; | \&quot;integer\&quot; | \&quot;number\&quot; | \&quot;boolean\&quot; | \&quot;array\&quot; | \&quot;object\&quot; | [readonly] |
9
9
  | **required** | **Boolean** | Whether the request body must include this field. | [readonly] |
10
- | **choices** | **Array&lt;String&gt;** | Allowed values, or null if the field isn&#39;t constrained to a set. | [readonly] |
10
+ | **choices** | **Array&lt;Hash&lt;String, Object&gt;&gt;** | Allowed values, or null if the field isn&#39;t constrained to a set. Each choice has \&quot;value\&quot; (what to send), \&quot;label\&quot; (human-readable), and possibly check-specific extras such as \&quot;description\&quot;. | [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** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;focumcheck&#x60; - focumcheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | [readonly] |
8
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - 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] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;id2check&#x60; - id2check * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | |
7
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | |
8
8
  | **config** | **Hash&lt;String, Object&gt;** | | [optional] |
9
9
 
10
10
  ## Example
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [readonly] |
8
- | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;focumcheck&#x60; - focumcheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | [readonly] |
8
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - 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&lt;String, Object&gt;** | | [readonly] |
@@ -13,6 +13,8 @@
13
13
  | **supported_countries_of_work** | **Array&lt;String&gt;** | | [readonly] |
14
14
  | **supported_countries_of_residence** | **Array&lt;String&gt;** | | [readonly] |
15
15
  | **candidate_fields** | **Array&lt;Object&gt;** | | [readonly] |
16
+ | **creates_as_draft** | **Boolean** | | [readonly] |
17
+ | **draft_reasons** | **Array&lt;String&gt;** | | [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** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;focumcheck&#x60; - focumcheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | |
7
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | |
8
8
  | **config** | **Hash&lt;String, Object&gt;** | | [optional] |
9
9
  | **profile_check_id** | **String** | | [optional] |
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;id2check&#x60; - id2check * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | |
7
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | |
8
8
  | **config** | **Hash&lt;String, Object&gt;** | | [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** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;focumcheck&#x60; - focumcheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | [readonly] |
9
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - 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&lt;String, Object&gt;** | | [readonly] |
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [readonly] |
8
- | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;focumcheck&#x60; - focumcheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | [readonly] |
8
+ | **check_type** | **String** | * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - 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
@@ -7,6 +7,8 @@
7
7
  | **profile_id** | **String** | | |
8
8
  | **candidate** | [**V2Candidate**](V2Candidate.md) | | |
9
9
  | **checks** | [**Array&lt;V2ScreeningCheck&gt;**](V2ScreeningCheck.md) | | [optional] |
10
+ | **screening_notes** | [**Array&lt;V2ScreeningNoteInput&gt;**](V2ScreeningNoteInput.md) | | [optional] |
11
+ | **division_id** | **String** | Create the screening for this department instead of the token&#39;s own organisation. Omit for the usual case. Same field as on webhook and OAuth application creation. | [optional] |
10
12
 
11
13
  ## Example
12
14
 
@@ -16,7 +18,9 @@ require 'pescheck-client'
16
18
  instance = Pescheck::V2ScreeningCreate.new(
17
19
  profile_id: null,
18
20
  candidate: null,
19
- checks: null
21
+ checks: null,
22
+ screening_notes: null,
23
+ division_id: null
20
24
  )
21
25
  ```
22
26
 
@@ -6,9 +6,11 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [readonly] |
8
8
  | **status** | **String** | | [readonly] |
9
- | **profile** | [**V2ScreeningDetailProfile**](V2ScreeningDetailProfile.md) | | |
9
+ | **organisation** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
10
+ | **profile** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
10
11
  | **candidate** | [**V2Candidate**](V2Candidate.md) | | [readonly] |
11
12
  | **checks** | [**Array&lt;V2ScreeningCheckEntry&gt;**](V2ScreeningCheckEntry.md) | | [readonly] |
13
+ | **screening_notes** | [**Array&lt;V2ScreeningNote&gt;**](V2ScreeningNote.md) | | [readonly] |
12
14
  | **candidate_wizard_url** | **String** | Public wizard URL for the candidate. Null when no check needs candidate input. | [readonly] |
13
15
  | **dashboard_url** | **String** | Dashboard URL for this screening. | [readonly] |
14
16
  | **created_at** | **Time** | | [readonly] |
@@ -22,9 +24,11 @@ require 'pescheck-client'
22
24
  instance = Pescheck::V2ScreeningDetail.new(
23
25
  id: null,
24
26
  status: null,
27
+ organisation: null,
25
28
  profile: null,
26
29
  candidate: null,
27
30
  checks: null,
31
+ screening_notes: null,
28
32
  candidate_wizard_url: null,
29
33
  dashboard_url: null,
30
34
  created_at: null,
@@ -1,4 +1,4 @@
1
- # Pescheck::V2ScreeningDetailProfile
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::V2ScreeningDetailProfile.new(
15
+ instance = Pescheck::V2ScreeningDetailOrganisation.new(
16
16
  id: null,
17
17
  name: null
18
18
  )
@@ -6,7 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [readonly] |
8
8
  | **status** | **String** | | [optional] |
9
- | **profile** | [**V2ScreeningDetailProfile**](V2ScreeningDetailProfile.md) | | |
9
+ | **organisation** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
10
+ | **profile** | [**V2ScreeningDetailOrganisation**](V2ScreeningDetailOrganisation.md) | | |
10
11
  | **candidate** | [**V2Candidate**](V2Candidate.md) | | [readonly] |
11
12
  | **checks** | [**Array&lt;V2ScreeningCheckListItem&gt;**](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,
@@ -0,0 +1,24 @@
1
+ # Pescheck::V2ScreeningNote
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **note** | **String** | | |
8
+ | **check_type** | **String** | | |
9
+ | **check_id** | **String** | | |
10
+ | **created_at** | **Time** | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'pescheck-client'
16
+
17
+ instance = Pescheck::V2ScreeningNote.new(
18
+ note: null,
19
+ check_type: null,
20
+ check_id: null,
21
+ created_at: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # Pescheck::V2ScreeningNoteInput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **note** | **String** | | |
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. * &#x60;addresscheck&#x60; - addresscheck * &#x60;adversemedia2check&#x60; - adversemedia2check * &#x60;adversemediacheck&#x60; - adversemediacheck * &#x60;bigcheck&#x60; - bigcheck * &#x60;criminalrecordscheck&#x60; - criminalrecordscheck * &#x60;criminalrecordsuploadcheck&#x60; - criminalrecordsuploadcheck * &#x60;customintegritycheck&#x60; - customintegritycheck * &#x60;cvcheck&#x60; - cvcheck * &#x60;edrcheck&#x60; - edrcheck * &#x60;ibancheck&#x60; - ibancheck * &#x60;id2check&#x60; - id2check * &#x60;idcheck&#x60; - idcheck * &#x60;integritycheck&#x60; - integritycheck * &#x60;openhealthcarecheck&#x60; - openhealthcarecheck * &#x60;permissioncheck&#x60; - permissioncheck * &#x60;pescheckadversemediacheck&#x60; - pescheckadversemediacheck * &#x60;qualificationcheck&#x60; - qualificationcheck * &#x60;righttoworkcheck&#x60; - righttoworkcheck * &#x60;vogcheck&#x60; - vogcheck * &#x60;watchlist2check&#x60; - watchlist2check * &#x60;watchlistcheck&#x60; - watchlistcheck * &#x60;workreferencecheck&#x60; - workreferencecheck * &#x60;worldwidecreditcheck&#x60; - worldwidecreditcheck | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'pescheck-client'
15
+
16
+ instance = Pescheck::V2ScreeningNoteInput.new(
17
+ note: null,
18
+ profile_check_id: null,
19
+ check_type: null
20
+ )
21
+ ```
22
+
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.started` - Check has been initiated - `check.completed` - Check has been completed successfully - `check.failed` - Check has failed - `screening.created` - New screening has been created - `screening.completed` - Screening has been completed - `screening.archived` - Screening has been archived - `package.created` - New package has been created - `package.updated` - Package has been updated - `division.created` - New division has been created - `division.updated` - Division has been updated Limited to 5 webhooks per organization/division.
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