pescheck-client 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +182 -0
  4. data/Rakefile +10 -0
  5. data/docs/AuthenticationApi.md +217 -0
  6. data/docs/ChecksApi.md +147 -0
  7. data/docs/CustomTokenObtainPair.md +20 -0
  8. data/docs/DivisionReadOnly.md +46 -0
  9. data/docs/DivisionWrite.md +40 -0
  10. data/docs/DivisionsApi.md +369 -0
  11. data/docs/JWTGeneration.md +24 -0
  12. data/docs/JWTResponse.md +28 -0
  13. data/docs/OAuthApi.md +213 -0
  14. data/docs/OAuthApplication.md +26 -0
  15. data/docs/OAuthApplicationResponse.md +32 -0
  16. data/docs/PaginatedDivisionReadOnlyList.md +24 -0
  17. data/docs/PaginatedV2ProfileListItemList.md +24 -0
  18. data/docs/PaginatedV2ScreeningListItemList.md +24 -0
  19. data/docs/PatchedDivisionWrite.md +40 -0
  20. data/docs/PatchedV2ProfilePartialUpdate.md +20 -0
  21. data/docs/ProfilesApi.md +438 -0
  22. data/docs/ScreeningsApi.md +293 -0
  23. data/docs/TokenRefresh.md +20 -0
  24. data/docs/V2Candidate.md +36 -0
  25. data/docs/V2CheckField.md +26 -0
  26. data/docs/V2CheckInfo.md +40 -0
  27. data/docs/V2Document.md +28 -0
  28. data/docs/V2DocumentContent.md +20 -0
  29. data/docs/V2Money.md +20 -0
  30. data/docs/V2ProfileCheck.md +20 -0
  31. data/docs/V2ProfileCheckEntry.md +30 -0
  32. data/docs/V2ProfileCreate.md +22 -0
  33. data/docs/V2ProfileDetail.md +38 -0
  34. data/docs/V2ProfileListItem.md +30 -0
  35. data/docs/V2ProfileUpdate.md +22 -0
  36. data/docs/V2ProfileUpdateCheck.md +22 -0
  37. data/docs/V2ScreeningCheck.md +24 -0
  38. data/docs/V2ScreeningCheckEntry.md +34 -0
  39. data/docs/V2ScreeningCheckListItem.md +22 -0
  40. data/docs/V2ScreeningCreate.md +22 -0
  41. data/docs/V2ScreeningDetail.md +34 -0
  42. data/docs/V2ScreeningDetailProfile.md +20 -0
  43. data/docs/V2ScreeningListItem.md +34 -0
  44. data/docs/VerifyWebhook.md +18 -0
  45. data/docs/Webhook.md +26 -0
  46. data/docs/WebhookResponse.md +36 -0
  47. data/docs/WebhooksApi.md +290 -0
  48. data/git_push.sh +57 -0
  49. data/lib/pescheck-client/api/authentication_api.rb +220 -0
  50. data/lib/pescheck-client/api/checks_api.rb +144 -0
  51. data/lib/pescheck-client/api/divisions_api.rb +365 -0
  52. data/lib/pescheck-client/api/o_auth_api.rb +202 -0
  53. data/lib/pescheck-client/api/profiles_api.rb +432 -0
  54. data/lib/pescheck-client/api/screenings_api.rb +288 -0
  55. data/lib/pescheck-client/api/webhooks_api.rb +278 -0
  56. data/lib/pescheck-client/api_client.rb +441 -0
  57. data/lib/pescheck-client/api_error.rb +58 -0
  58. data/lib/pescheck-client/api_model_base.rb +88 -0
  59. data/lib/pescheck-client/configuration.rb +429 -0
  60. data/lib/pescheck-client/models/custom_token_obtain_pair.rb +191 -0
  61. data/lib/pescheck-client/models/division_read_only.rb +469 -0
  62. data/lib/pescheck-client/models/division_write.rb +436 -0
  63. data/lib/pescheck-client/models/jwt_generation.rb +213 -0
  64. data/lib/pescheck-client/models/jwt_response.rb +285 -0
  65. data/lib/pescheck-client/models/o_auth_application.rb +265 -0
  66. data/lib/pescheck-client/models/o_auth_application_response.rb +379 -0
  67. data/lib/pescheck-client/models/paginated_division_read_only_list.rb +216 -0
  68. data/lib/pescheck-client/models/paginated_v2_profile_list_item_list.rb +216 -0
  69. data/lib/pescheck-client/models/paginated_v2_screening_list_item_list.rb +216 -0
  70. data/lib/pescheck-client/models/patched_division_write.rb +360 -0
  71. data/lib/pescheck-client/models/patched_v2_profile_partial_update.rb +176 -0
  72. data/lib/pescheck-client/models/token_refresh.rb +173 -0
  73. data/lib/pescheck-client/models/v2_candidate.rb +390 -0
  74. data/lib/pescheck-client/models/v2_check_field.rb +246 -0
  75. data/lib/pescheck-client/models/v2_check_info.rb +438 -0
  76. data/lib/pescheck-client/models/v2_document.rb +308 -0
  77. data/lib/pescheck-client/models/v2_document_content.rb +175 -0
  78. data/lib/pescheck-client/models/v2_money.rb +210 -0
  79. data/lib/pescheck-client/models/v2_profile_check.rb +201 -0
  80. data/lib/pescheck-client/models/v2_profile_check_entry.rb +349 -0
  81. data/lib/pescheck-client/models/v2_profile_create.rb +212 -0
  82. data/lib/pescheck-client/models/v2_profile_detail.rb +401 -0
  83. data/lib/pescheck-client/models/v2_profile_list_item.rb +291 -0
  84. data/lib/pescheck-client/models/v2_profile_update.rb +213 -0
  85. data/lib/pescheck-client/models/v2_profile_update_check.rb +210 -0
  86. data/lib/pescheck-client/models/v2_screening_check.rb +221 -0
  87. data/lib/pescheck-client/models/v2_screening_check_entry.rb +376 -0
  88. data/lib/pescheck-client/models/v2_screening_check_list_item.rb +242 -0
  89. data/lib/pescheck-client/models/v2_screening_create.rb +201 -0
  90. data/lib/pescheck-client/models/v2_screening_detail.rb +348 -0
  91. data/lib/pescheck-client/models/v2_screening_detail_profile.rb +156 -0
  92. data/lib/pescheck-client/models/v2_screening_list_item.rb +330 -0
  93. data/lib/pescheck-client/models/verify_webhook.rb +166 -0
  94. data/lib/pescheck-client/models/webhook.rb +265 -0
  95. data/lib/pescheck-client/models/webhook_response.rb +353 -0
  96. data/lib/pescheck-client/version.rb +15 -0
  97. data/lib/pescheck-client.rb +83 -0
  98. data/pescheck-client.gemspec +41 -0
  99. data/spec/api/authentication_api_spec.rb +68 -0
  100. data/spec/api/checks_api_spec.rb +56 -0
  101. data/spec/api/divisions_api_spec.rb +94 -0
  102. data/spec/api/o_auth_api_spec.rb +67 -0
  103. data/spec/api/profiles_api_spec.rb +105 -0
  104. data/spec/api/screenings_api_spec.rb +81 -0
  105. data/spec/api/webhooks_api_spec.rb +81 -0
  106. data/spec/models/custom_token_obtain_pair_spec.rb +42 -0
  107. data/spec/models/division_read_only_spec.rb +120 -0
  108. data/spec/models/division_write_spec.rb +102 -0
  109. data/spec/models/jwt_generation_spec.rb +54 -0
  110. data/spec/models/jwt_response_spec.rb +66 -0
  111. data/spec/models/o_auth_application_response_spec.rb +86 -0
  112. data/spec/models/o_auth_application_spec.rb +68 -0
  113. data/spec/models/paginated_division_read_only_list_spec.rb +54 -0
  114. data/spec/models/paginated_v2_profile_list_item_list_spec.rb +54 -0
  115. data/spec/models/paginated_v2_screening_list_item_list_spec.rb +54 -0
  116. data/spec/models/patched_division_write_spec.rb +102 -0
  117. data/spec/models/patched_v2_profile_partial_update_spec.rb +42 -0
  118. data/spec/models/token_refresh_spec.rb +42 -0
  119. data/spec/models/v2_candidate_spec.rb +94 -0
  120. data/spec/models/v2_check_field_spec.rb +60 -0
  121. data/spec/models/v2_check_info_spec.rb +102 -0
  122. data/spec/models/v2_document_content_spec.rb +42 -0
  123. data/spec/models/v2_document_spec.rb +70 -0
  124. data/spec/models/v2_money_spec.rb +42 -0
  125. data/spec/models/v2_profile_check_entry_spec.rb +76 -0
  126. data/spec/models/v2_profile_check_spec.rb +46 -0
  127. data/spec/models/v2_profile_create_spec.rb +48 -0
  128. data/spec/models/v2_profile_detail_spec.rb +96 -0
  129. data/spec/models/v2_profile_list_item_spec.rb +72 -0
  130. data/spec/models/v2_profile_update_check_spec.rb +52 -0
  131. data/spec/models/v2_profile_update_spec.rb +48 -0
  132. data/spec/models/v2_screening_check_entry_spec.rb +88 -0
  133. data/spec/models/v2_screening_check_list_item_spec.rb +52 -0
  134. data/spec/models/v2_screening_check_spec.rb +58 -0
  135. data/spec/models/v2_screening_create_spec.rb +48 -0
  136. data/spec/models/v2_screening_detail_profile_spec.rb +42 -0
  137. data/spec/models/v2_screening_detail_spec.rb +84 -0
  138. data/spec/models/v2_screening_list_item_spec.rb +84 -0
  139. data/spec/models/verify_webhook_spec.rb +36 -0
  140. data/spec/models/webhook_response_spec.rb +90 -0
  141. data/spec/models/webhook_spec.rb +64 -0
  142. data/spec/spec_helper.rb +111 -0
  143. metadata +299 -0
@@ -0,0 +1,293 @@
1
+ # Pescheck::ScreeningsApi
2
+
3
+ All URIs are relative to *https://api.pescheck.io*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**v2_screenings_create**](ScreeningsApi.md#v2_screenings_create) | **POST** /api/v2/screenings/ | |
8
+ | [**v2_screenings_documents_list**](ScreeningsApi.md#v2_screenings_documents_list) | **GET** /api/v2/screenings/{id}/documents/ | Retrieve screening documents |
9
+ | [**v2_screenings_list**](ScreeningsApi.md#v2_screenings_list) | **GET** /api/v2/screenings/ | |
10
+ | [**v2_screenings_retrieve**](ScreeningsApi.md#v2_screenings_retrieve) | **GET** /api/v2/screenings/{id}/ | |
11
+
12
+
13
+ ## v2_screenings_create
14
+
15
+ > <V2ScreeningDetail> v2_screenings_create(v2_screening_create)
16
+
17
+
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'pescheck-client'
24
+ # setup authorization
25
+ Pescheck.configure do |config|
26
+ # Configure OAuth2 access token for authorization: oauth2
27
+ config.access_token = 'YOUR ACCESS TOKEN'
28
+ end
29
+
30
+ api_instance = Pescheck::ScreeningsApi.new
31
+ v2_screening_create = Pescheck::V2ScreeningCreate.new({profile_id: 'profile_id_example', candidate: Pescheck::V2Candidate.new({first_name: 'first_name_example', last_name: 'last_name_example', email: 'email_example'})}) # V2ScreeningCreate |
32
+
33
+ begin
34
+
35
+ result = api_instance.v2_screenings_create(v2_screening_create)
36
+ p result
37
+ rescue Pescheck::ApiError => e
38
+ puts "Error when calling ScreeningsApi->v2_screenings_create: #{e}"
39
+ end
40
+ ```
41
+
42
+ #### Using the v2_screenings_create_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
45
+
46
+ > <Array(<V2ScreeningDetail>, Integer, Hash)> v2_screenings_create_with_http_info(v2_screening_create)
47
+
48
+ ```ruby
49
+ begin
50
+
51
+ data, status_code, headers = api_instance.v2_screenings_create_with_http_info(v2_screening_create)
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <V2ScreeningDetail>
55
+ rescue Pescheck::ApiError => e
56
+ puts "Error when calling ScreeningsApi->v2_screenings_create_with_http_info: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+ | Name | Type | Description | Notes |
63
+ | ---- | ---- | ----------- | ----- |
64
+ | **v2_screening_create** | [**V2ScreeningCreate**](V2ScreeningCreate.md) | | |
65
+
66
+ ### Return type
67
+
68
+ [**V2ScreeningDetail**](V2ScreeningDetail.md)
69
+
70
+ ### Authorization
71
+
72
+ [oauth2](../README.md#oauth2)
73
+
74
+ ### HTTP request headers
75
+
76
+ - **Content-Type**: application/json, multipart/form-data
77
+ - **Accept**: application/json
78
+
79
+
80
+ ## v2_screenings_documents_list
81
+
82
+ > <Array<V2Document>> v2_screenings_documents_list(id, opts)
83
+
84
+ Retrieve screening documents
85
+
86
+ Documents attached to the screening's checks. Files are delivered inline as Base64 in `content`. Narrow the result with `check_id` or `check_type`.
87
+
88
+ ### Examples
89
+
90
+ ```ruby
91
+ require 'time'
92
+ require 'pescheck-client'
93
+ # setup authorization
94
+ Pescheck.configure do |config|
95
+ # Configure OAuth2 access token for authorization: oauth2
96
+ config.access_token = 'YOUR ACCESS TOKEN'
97
+ end
98
+
99
+ api_instance = Pescheck::ScreeningsApi.new
100
+ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
101
+ opts = {
102
+ check_id: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Only documents from the check with this id.
103
+ check_type: 'check_type_example' # String | Only documents from checks of this type.
104
+ }
105
+
106
+ begin
107
+ # Retrieve screening documents
108
+ result = api_instance.v2_screenings_documents_list(id, opts)
109
+ p result
110
+ rescue Pescheck::ApiError => e
111
+ puts "Error when calling ScreeningsApi->v2_screenings_documents_list: #{e}"
112
+ end
113
+ ```
114
+
115
+ #### Using the v2_screenings_documents_list_with_http_info variant
116
+
117
+ This returns an Array which contains the response data, status code and headers.
118
+
119
+ > <Array(<Array<V2Document>>, Integer, Hash)> v2_screenings_documents_list_with_http_info(id, opts)
120
+
121
+ ```ruby
122
+ begin
123
+ # Retrieve screening documents
124
+ data, status_code, headers = api_instance.v2_screenings_documents_list_with_http_info(id, opts)
125
+ p status_code # => 2xx
126
+ p headers # => { ... }
127
+ p data # => <Array<V2Document>>
128
+ rescue Pescheck::ApiError => e
129
+ puts "Error when calling ScreeningsApi->v2_screenings_documents_list_with_http_info: #{e}"
130
+ end
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+ | Name | Type | Description | Notes |
136
+ | ---- | ---- | ----------- | ----- |
137
+ | **id** | **String** | | |
138
+ | **check_id** | **String** | Only documents from the check with this id. | [optional] |
139
+ | **check_type** | **String** | Only documents from checks of this type. | [optional] |
140
+
141
+ ### Return type
142
+
143
+ [**Array&lt;V2Document&gt;**](V2Document.md)
144
+
145
+ ### Authorization
146
+
147
+ [oauth2](../README.md#oauth2)
148
+
149
+ ### HTTP request headers
150
+
151
+ - **Content-Type**: Not defined
152
+ - **Accept**: application/json
153
+
154
+
155
+ ## v2_screenings_list
156
+
157
+ > <PaginatedV2ScreeningListItemList> v2_screenings_list(opts)
158
+
159
+
160
+
161
+ ### Examples
162
+
163
+ ```ruby
164
+ require 'time'
165
+ require 'pescheck-client'
166
+ # setup authorization
167
+ Pescheck.configure do |config|
168
+ # Configure OAuth2 access token for authorization: oauth2
169
+ config.access_token = 'YOUR ACCESS TOKEN'
170
+ end
171
+
172
+ api_instance = Pescheck::ScreeningsApi.new
173
+ opts = {
174
+ page: 1, # Integer | A page number within the paginated result set.
175
+ page_size: 50, # Integer | Number of results to return per page.
176
+ paginate: true # Boolean | Enable/disable pagination. When false, max 500 records returned.
177
+ }
178
+
179
+ begin
180
+
181
+ result = api_instance.v2_screenings_list(opts)
182
+ p result
183
+ rescue Pescheck::ApiError => e
184
+ puts "Error when calling ScreeningsApi->v2_screenings_list: #{e}"
185
+ end
186
+ ```
187
+
188
+ #### Using the v2_screenings_list_with_http_info variant
189
+
190
+ This returns an Array which contains the response data, status code and headers.
191
+
192
+ > <Array(<PaginatedV2ScreeningListItemList>, Integer, Hash)> v2_screenings_list_with_http_info(opts)
193
+
194
+ ```ruby
195
+ begin
196
+
197
+ data, status_code, headers = api_instance.v2_screenings_list_with_http_info(opts)
198
+ p status_code # => 2xx
199
+ p headers # => { ... }
200
+ p data # => <PaginatedV2ScreeningListItemList>
201
+ rescue Pescheck::ApiError => e
202
+ puts "Error when calling ScreeningsApi->v2_screenings_list_with_http_info: #{e}"
203
+ end
204
+ ```
205
+
206
+ ### Parameters
207
+
208
+ | Name | Type | Description | Notes |
209
+ | ---- | ---- | ----------- | ----- |
210
+ | **page** | **Integer** | A page number within the paginated result set. | [optional][default to 1] |
211
+ | **page_size** | **Integer** | Number of results to return per page. | [optional][default to 50] |
212
+ | **paginate** | **Boolean** | Enable/disable pagination. When false, max 500 records returned. | [optional][default to true] |
213
+
214
+ ### Return type
215
+
216
+ [**PaginatedV2ScreeningListItemList**](PaginatedV2ScreeningListItemList.md)
217
+
218
+ ### Authorization
219
+
220
+ [oauth2](../README.md#oauth2)
221
+
222
+ ### HTTP request headers
223
+
224
+ - **Content-Type**: Not defined
225
+ - **Accept**: application/json
226
+
227
+
228
+ ## v2_screenings_retrieve
229
+
230
+ > <V2ScreeningDetail> v2_screenings_retrieve(id)
231
+
232
+
233
+
234
+ ### Examples
235
+
236
+ ```ruby
237
+ require 'time'
238
+ require 'pescheck-client'
239
+ # setup authorization
240
+ Pescheck.configure do |config|
241
+ # Configure OAuth2 access token for authorization: oauth2
242
+ config.access_token = 'YOUR ACCESS TOKEN'
243
+ end
244
+
245
+ api_instance = Pescheck::ScreeningsApi.new
246
+ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | A UUID string identifying this screening.
247
+
248
+ begin
249
+
250
+ result = api_instance.v2_screenings_retrieve(id)
251
+ p result
252
+ rescue Pescheck::ApiError => e
253
+ puts "Error when calling ScreeningsApi->v2_screenings_retrieve: #{e}"
254
+ end
255
+ ```
256
+
257
+ #### Using the v2_screenings_retrieve_with_http_info variant
258
+
259
+ This returns an Array which contains the response data, status code and headers.
260
+
261
+ > <Array(<V2ScreeningDetail>, Integer, Hash)> v2_screenings_retrieve_with_http_info(id)
262
+
263
+ ```ruby
264
+ begin
265
+
266
+ data, status_code, headers = api_instance.v2_screenings_retrieve_with_http_info(id)
267
+ p status_code # => 2xx
268
+ p headers # => { ... }
269
+ p data # => <V2ScreeningDetail>
270
+ rescue Pescheck::ApiError => e
271
+ puts "Error when calling ScreeningsApi->v2_screenings_retrieve_with_http_info: #{e}"
272
+ end
273
+ ```
274
+
275
+ ### Parameters
276
+
277
+ | Name | Type | Description | Notes |
278
+ | ---- | ---- | ----------- | ----- |
279
+ | **id** | **String** | A UUID string identifying this screening. | |
280
+
281
+ ### Return type
282
+
283
+ [**V2ScreeningDetail**](V2ScreeningDetail.md)
284
+
285
+ ### Authorization
286
+
287
+ [oauth2](../README.md#oauth2)
288
+
289
+ ### HTTP request headers
290
+
291
+ - **Content-Type**: Not defined
292
+ - **Accept**: application/json
293
+
@@ -0,0 +1,20 @@
1
+ # Pescheck::TokenRefresh
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access** | **String** | | [optional][readonly] |
8
+ | **refresh** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pescheck-client'
14
+
15
+ instance = Pescheck::TokenRefresh.new(
16
+ access: null,
17
+ refresh: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # Pescheck::V2Candidate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **first_name** | **String** | | |
8
+ | **last_name** | **String** | | |
9
+ | **email** | **String** | | |
10
+ | **initials** | **String** | | [optional] |
11
+ | **date_of_birth** | **String** | | [optional] |
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] |
14
+ | **postal_code** | **String** | | [optional] |
15
+ | **house_number** | **String** | | [optional] |
16
+ | **extension** | **String** | | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'pescheck-client'
22
+
23
+ instance = Pescheck::V2Candidate.new(
24
+ first_name: null,
25
+ last_name: null,
26
+ email: null,
27
+ initials: null,
28
+ date_of_birth: null,
29
+ gender: null,
30
+ nationality: null,
31
+ postal_code: null,
32
+ house_number: null,
33
+ extension: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,26 @@
1
+ # Pescheck::V2CheckField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [readonly] |
8
+ | **type** | **String** | \&quot;string\&quot; | \&quot;integer\&quot; | \&quot;number\&quot; | \&quot;boolean\&quot; | \&quot;array\&quot; | \&quot;object\&quot; | [readonly] |
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] |
11
+ | **help_text** | **String** | | [readonly] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'pescheck-client'
17
+
18
+ instance = Pescheck::V2CheckField.new(
19
+ name: null,
20
+ type: null,
21
+ required: null,
22
+ choices: null,
23
+ help_text: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,40 @@
1
+ # Pescheck::V2CheckInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **check_type** | **String** | | [readonly] |
8
+ | **display_name** | **String** | | [readonly] |
9
+ | **description** | **String** | | [readonly] |
10
+ | **has_config** | **Boolean** | | [readonly] |
11
+ | **is_system_managed** | **Boolean** | True for checks added automatically (e.g. as a dependency) - clients neither add nor configure these. | [readonly] |
12
+ | **requires_checks** | **Array&lt;String&gt;** | Other check types this check pulls in automatically when added. | [readonly] |
13
+ | **supported_countries_of_work** | **Array&lt;String&gt;** | | [readonly] |
14
+ | **supported_countries_of_residence** | **Array&lt;String&gt;** | | [readonly] |
15
+ | **default_price** | [**V2Money**](V2Money.md) | | [readonly] |
16
+ | **config_fields** | [**Array&lt;V2CheckField&gt;**](V2CheckField.md) | | [readonly] |
17
+ | **input_fields** | [**Array&lt;V2CheckField&gt;**](V2CheckField.md) | | [readonly] |
18
+ | **candidate_fields** | [**Array&lt;V2CheckField&gt;**](V2CheckField.md) | Screening-level candidate facts this check needs (name, email, sometimes date of birth, etc.). | [readonly] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'pescheck-client'
24
+
25
+ instance = Pescheck::V2CheckInfo.new(
26
+ check_type: null,
27
+ display_name: null,
28
+ description: null,
29
+ has_config: null,
30
+ is_system_managed: null,
31
+ requires_checks: null,
32
+ supported_countries_of_work: null,
33
+ supported_countries_of_residence: null,
34
+ default_price: null,
35
+ config_fields: null,
36
+ input_fields: null,
37
+ candidate_fields: null
38
+ )
39
+ ```
40
+
@@ -0,0 +1,28 @@
1
+ # Pescheck::V2Document
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
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] |
9
+ | **filename** | **String** | | [readonly] |
10
+ | **extension** | **String** | | [readonly] |
11
+ | **content** | [**V2DocumentContent**](V2DocumentContent.md) | | [readonly] |
12
+ | **metadata** | **Hash&lt;String, Object&gt;** | | [readonly] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'pescheck-client'
18
+
19
+ instance = Pescheck::V2Document.new(
20
+ check_id: null,
21
+ check_type: null,
22
+ filename: null,
23
+ extension: null,
24
+ content: null,
25
+ metadata: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,20 @@
1
+ # Pescheck::V2DocumentContent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | | |
8
+ | **data** | **String** | Base64-encoded file contents (type &#x3D;&#x3D; base64). | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pescheck-client'
14
+
15
+ instance = Pescheck::V2DocumentContent.new(
16
+ type: null,
17
+ data: null
18
+ )
19
+ ```
20
+
data/docs/V2Money.md ADDED
@@ -0,0 +1,20 @@
1
+ # Pescheck::V2Money
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **amount** | **String** | | |
8
+ | **currency** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pescheck-client'
14
+
15
+ instance = Pescheck::V2Money.new(
16
+ amount: null,
17
+ currency: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Pescheck::V2ProfileCheck
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
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 | |
8
+ | **config** | **Hash&lt;String, Object&gt;** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pescheck-client'
14
+
15
+ instance = Pescheck::V2ProfileCheck.new(
16
+ check_type: null,
17
+ config: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,30 @@
1
+ # Pescheck::V2ProfileCheckEntry
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
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] |
9
+ | **display_name** | **String** | | [readonly] |
10
+ | **configured_price** | [**V2Money**](V2Money.md) | | [readonly] |
11
+ | **config** | **Hash&lt;String, Object&gt;** | | [readonly] |
12
+ | **input_fields** | **Array&lt;Object&gt;** | | [readonly] |
13
+ | **is_system_managed** | **Boolean** | | [readonly] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'pescheck-client'
19
+
20
+ instance = Pescheck::V2ProfileCheckEntry.new(
21
+ id: null,
22
+ check_type: null,
23
+ display_name: null,
24
+ configured_price: null,
25
+ config: null,
26
+ input_fields: null,
27
+ is_system_managed: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,22 @@
1
+ # Pescheck::V2ProfileCreate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **description** | **String** | | [optional][default to &#39;&#39;] |
9
+ | **checks** | [**Array&lt;V2ProfileCheck&gt;**](V2ProfileCheck.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'pescheck-client'
15
+
16
+ instance = Pescheck::V2ProfileCreate.new(
17
+ name: null,
18
+ description: null,
19
+ checks: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,38 @@
1
+ # Pescheck::V2ProfileDetail
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [readonly] |
8
+ | **name** | **String** | | |
9
+ | **description** | **String** | | |
10
+ | **is_custom** | **Boolean** | | [optional] |
11
+ | **checks** | [**Array&lt;V2ProfileCheckEntry&gt;**](V2ProfileCheckEntry.md) | | [readonly] |
12
+ | **total_price** | [**V2Money**](V2Money.md) | | [readonly] |
13
+ | **supported_countries_of_work** | **Array&lt;String&gt;** | | [readonly] |
14
+ | **supported_countries_of_residence** | **Array&lt;String&gt;** | | [readonly] |
15
+ | **candidate_fields** | **Array&lt;Object&gt;** | | [readonly] |
16
+ | **created_at** | **Time** | | [readonly] |
17
+ | **updated_at** | **Time** | | [readonly] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'pescheck-client'
23
+
24
+ instance = Pescheck::V2ProfileDetail.new(
25
+ id: null,
26
+ name: null,
27
+ description: null,
28
+ is_custom: null,
29
+ checks: null,
30
+ total_price: null,
31
+ supported_countries_of_work: null,
32
+ supported_countries_of_residence: null,
33
+ candidate_fields: null,
34
+ created_at: null,
35
+ updated_at: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,30 @@
1
+ # Pescheck::V2ProfileListItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [readonly] |
8
+ | **name** | **String** | | |
9
+ | **description** | **String** | | |
10
+ | **is_custom** | **Boolean** | | [optional] |
11
+ | **check_types** | **Array&lt;String&gt;** | | [readonly] |
12
+ | **created_at** | **Time** | | [readonly] |
13
+ | **updated_at** | **Time** | | [readonly] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'pescheck-client'
19
+
20
+ instance = Pescheck::V2ProfileListItem.new(
21
+ id: null,
22
+ name: null,
23
+ description: null,
24
+ is_custom: null,
25
+ check_types: null,
26
+ created_at: null,
27
+ updated_at: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,22 @@
1
+ # Pescheck::V2ProfileUpdate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **description** | **String** | | [optional][default to &#39;&#39;] |
9
+ | **checks** | [**Array&lt;V2ProfileUpdateCheck&gt;**](V2ProfileUpdateCheck.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'pescheck-client'
15
+
16
+ instance = Pescheck::V2ProfileUpdate.new(
17
+ name: null,
18
+ description: null,
19
+ checks: null
20
+ )
21
+ ```
22
+