Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

Commit 03166be

Browse files
committed
Update
1 parent 1507c1f commit 03166be

File tree

72 files changed

+555
-519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+555
-519
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/SwaggerClient-php/nbproject/private/
2+
.idea
3+
php-IDCHECKIO.iml

SwaggerClient-php/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vendor
2+
composer.lock
3+
nbproject

SwaggerClient-php/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This PHP package is automatically generated by the [Swagger Codegen](https://git
55

66
- API version: 0.0
77
- Package version: 1.0.0
8-
- Build date: 2016-11-16T14:00:22.711+01:00
8+
- Build date: 2016-11-16T15:05:28.834+01:00
99
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
1010

1111
## Requirements
@@ -58,7 +58,7 @@ Please follow the [installation procedure](#installation--usage) and then run th
5858
<?php
5959
require_once(__DIR__ . '/vendor/autoload.php');
6060

61-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AdministrationApi();
61+
$api_instance = new invoker\Api\AdministrationApi();
6262

6363
try {
6464
$result = $api_instance->getHealth();

SwaggerClient-php/autoload.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
* An example of a project-specific implementation.
2727
*
2828
* After registering this autoload function with SPL, the following line
29-
* would cause the function to attempt to load the \com.ariadnext.idcheckio.invoker\Baz\Qux class
29+
* would cause the function to attempt to load the \invoker\Baz\Qux class
3030
* from /path/to/project/lib/Baz/Qux.php:
3131
*
32-
* new \com.ariadnext.idcheckio.invoker\Baz\Qux;
32+
* new \invoker\Baz\Qux;
3333
*
3434
* @param string $class The fully-qualified class name.
3535
*
@@ -38,7 +38,7 @@
3838
spl_autoload_register(function ($class) {
3939

4040
// project-specific namespace prefix
41-
$prefix = 'com.ariadnext.idcheckio.invoker\\';
41+
$prefix = 'invoker\\';
4242

4343
// base directory for the namespace prefix
4444
$base_dir = __DIR__ . '/lib/';

SwaggerClient-php/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"squizlabs/php_codesniffer": "~2.6"
2929
},
3030
"autoload": {
31-
"psr-4": { "com.ariadnext.idcheckio.invoker\\" : "lib/" }
31+
"psr-4": { "invoker\\" : "lib/" }
3232
},
3333
"autoload-dev": {
34-
"psr-4": { "com.ariadnext.idcheckio.invoker\\" : "test/" }
34+
"psr-4": { "invoker\\" : "test/" }
3535
}
3636
}

SwaggerClient-php/docs/Api/AdministrationApi.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# com.ariadnext.idcheckio.invoker\AdministrationApi
1+
# invoker\AdministrationApi
22

33
All URIs are relative to *https://localhost/rest*
44

@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010

1111
# **getHealth**
12-
> \com.ariadnext.idcheckio.model\HealthResponse getHealth()
12+
> \model\HealthResponse getHealth()
1313
1414
HTTP GET health
1515

@@ -20,7 +20,7 @@ GET server health (OK 200)
2020
<?php
2121
require_once(__DIR__ . '/vendor/autoload.php');
2222

23-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AdministrationApi();
23+
$api_instance = new invoker\Api\AdministrationApi();
2424

2525
try {
2626
$result = $api_instance->getHealth();
@@ -36,7 +36,7 @@ This endpoint does not need any parameter.
3636

3737
### Return type
3838

39-
[**\com.ariadnext.idcheckio.model\HealthResponse**](../Model/HealthResponse.md)
39+
[**\model\HealthResponse**](../Model/HealthResponse.md)
4040

4141
### Authorization
4242

@@ -50,7 +50,7 @@ No authorization required
5050
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
5151

5252
# **getUser**
53-
> \com.ariadnext.idcheckio.model\UserResponse getUser($accept_language)
53+
> \model\UserResponse getUser($accept_language)
5454
5555
HTTP GET user
5656

@@ -62,10 +62,10 @@ Get user informations
6262
require_once(__DIR__ . '/vendor/autoload.php');
6363

6464
// Configure HTTP basic authorization: basic
65-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
66-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
65+
invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
66+
invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
6767

68-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AdministrationApi();
68+
$api_instance = new invoker\Api\AdministrationApi();
6969
$accept_language = "accept_language_example"; // string | Accept language header
7070

7171
try {
@@ -85,7 +85,7 @@ Name | Type | Description | Notes
8585

8686
### Return type
8787

88-
[**\com.ariadnext.idcheckio.model\UserResponse**](../Model/UserResponse.md)
88+
[**\model\UserResponse**](../Model/UserResponse.md)
8989

9090
### Authorization
9191

SwaggerClient-php/docs/Api/AnalysisApi.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# com.ariadnext.idcheckio.invoker\AnalysisApi
1+
# invoker\AnalysisApi
22

33
All URIs are relative to *https://localhost/rest*
44

@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313

1414
# **getReport**
15-
> \com.ariadnext.idcheckio.model\ReportResponse getReport($analysis_ref_uid, $accept_language)
15+
> \model\ReportResponse getReport($analysis_ref_uid, $accept_language)
1616
1717
HTTP GET report (demo)
1818

@@ -24,10 +24,10 @@ Get a pdf report (base64 encoded) (demo)
2424
require_once(__DIR__ . '/vendor/autoload.php');
2525

2626
// Configure HTTP basic authorization: basic
27-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
28-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
27+
invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
28+
invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
2929

30-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AnalysisApi();
30+
$api_instance = new invoker\Api\AnalysisApi();
3131
$analysis_ref_uid = "analysis_ref_uid_example"; // string | Report analysisRefUid
3232
$accept_language = "accept_language_example"; // string | Accept language header
3333

@@ -49,7 +49,7 @@ Name | Type | Description | Notes
4949

5050
### Return type
5151

52-
[**\com.ariadnext.idcheckio.model\ReportResponse**](../Model/ReportResponse.md)
52+
[**\model\ReportResponse**](../Model/ReportResponse.md)
5353

5454
### Authorization
5555

@@ -63,7 +63,7 @@ Name | Type | Description | Notes
6363
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
6464

6565
# **getResult**
66-
> \com.ariadnext.idcheckio.model\ResultResponse getResult($analysis_ref_uid, $accept_language, $recto_image_cropped, $face_image_cropped, $signature_image_cropped)
66+
> \model\ResultResponse getResult($analysis_ref_uid, $accept_language, $recto_image_cropped, $face_image_cropped, $signature_image_cropped)
6767
6868
HTTP GET result
6969

@@ -75,10 +75,10 @@ Get result controls
7575
require_once(__DIR__ . '/vendor/autoload.php');
7676

7777
// Configure HTTP basic authorization: basic
78-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
79-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
78+
invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
79+
invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
8080

81-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AnalysisApi();
81+
$api_instance = new invoker\Api\AnalysisApi();
8282
$analysis_ref_uid = "analysis_ref_uid_example"; // string | Result analysisRefUid
8383
$accept_language = "accept_language_example"; // string | Accept language header
8484
$recto_image_cropped = false; // bool | True to obtain recto image cropped if applicable
@@ -106,7 +106,7 @@ Name | Type | Description | Notes
106106

107107
### Return type
108108

109-
[**\com.ariadnext.idcheckio.model\ResultResponse**](../Model/ResultResponse.md)
109+
[**\model\ResultResponse**](../Model/ResultResponse.md)
110110

111111
### Authorization
112112

@@ -120,7 +120,7 @@ Name | Type | Description | Notes
120120
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
121121

122122
# **getTask**
123-
> \com.ariadnext.idcheckio.model\TaskResponse getTask($analysis_ref_uid, $accept_language, $wait)
123+
> \model\TaskResponse getTask($analysis_ref_uid, $accept_language, $wait)
124124
125125
HTTP GET task
126126

@@ -132,10 +132,10 @@ Get task status
132132
require_once(__DIR__ . '/vendor/autoload.php');
133133

134134
// Configure HTTP basic authorization: basic
135-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
136-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
135+
invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
136+
invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
137137

138-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AnalysisApi();
138+
$api_instance = new invoker\Api\AnalysisApi();
139139
$analysis_ref_uid = "analysis_ref_uid_example"; // string | Task analysisRefUid
140140
$accept_language = "accept_language_example"; // string | Accept language header
141141
$wait = 789; // int | specify a maximum wait time in milliseconds
@@ -159,7 +159,7 @@ Name | Type | Description | Notes
159159

160160
### Return type
161161

162-
[**\com.ariadnext.idcheckio.model\TaskResponse**](../Model/TaskResponse.md)
162+
[**\model\TaskResponse**](../Model/TaskResponse.md)
163163

164164
### Authorization
165165

@@ -173,7 +173,7 @@ Name | Type | Description | Notes
173173
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
174174

175175
# **postImage**
176-
> \com.ariadnext.idcheckio.model\ResultResponse postImage($body, $async_mode, $accept_language)
176+
> \model\ResultResponse postImage($body, $async_mode, $accept_language)
177177
178178
HTTP POST task image
179179

@@ -185,11 +185,11 @@ POST an image check task
185185
require_once(__DIR__ . '/vendor/autoload.php');
186186

187187
// Configure HTTP basic authorization: basic
188-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
189-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
188+
invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
189+
invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
190190

191-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AnalysisApi();
192-
$body = new \com.ariadnext.idcheckio.model\ImageRequest(); // \com.ariadnext.idcheckio.model\ImageRequest | Image request
191+
$api_instance = new invoker\Api\AnalysisApi();
192+
$body = new \model\ImageRequest(); // \model\ImageRequest | Image request
193193
$async_mode = true; // bool | true to activate asynchrone mode
194194
$accept_language = "accept_language_example"; // string | Accept language header
195195

@@ -206,13 +206,13 @@ try {
206206

207207
Name | Type | Description | Notes
208208
------------- | ------------- | ------------- | -------------
209-
**body** | [**\com.ariadnext.idcheckio.model\ImageRequest**](../Model/\com.ariadnext.idcheckio.model\ImageRequest.md)| Image request |
209+
**body** | [**\model\ImageRequest**](../Model/\model\ImageRequest.md)| Image request |
210210
**async_mode** | **bool**| true to activate asynchrone mode | [optional]
211211
**accept_language** | **string**| Accept language header | [optional]
212212

213213
### Return type
214214

215-
[**\com.ariadnext.idcheckio.model\ResultResponse**](../Model/ResultResponse.md)
215+
[**\model\ResultResponse**](../Model/ResultResponse.md)
216216

217217
### Authorization
218218

@@ -226,7 +226,7 @@ Name | Type | Description | Notes
226226
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
227227

228228
# **postMrz**
229-
> \com.ariadnext.idcheckio.model\ResultResponse postMrz($body, $async_mode, $accept_language)
229+
> \model\ResultResponse postMrz($body, $async_mode, $accept_language)
230230
231231
HTTP POST task mrz
232232

@@ -238,11 +238,11 @@ POST a mrz check task
238238
require_once(__DIR__ . '/vendor/autoload.php');
239239

240240
// Configure HTTP basic authorization: basic
241-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
242-
com.ariadnext.idcheckio.invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
241+
invoker\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
242+
invoker\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
243243

244-
$api_instance = new com.ariadnext.idcheckio.invoker\Api\AnalysisApi();
245-
$body = new \com.ariadnext.idcheckio.model\MrzRequest(); // \com.ariadnext.idcheckio.model\MrzRequest | Mrz request
244+
$api_instance = new invoker\Api\AnalysisApi();
245+
$body = new \model\MrzRequest(); // \model\MrzRequest | Mrz request
246246
$async_mode = true; // bool | true to activate asynchrone mode
247247
$accept_language = "accept_language_example"; // string | Accept language header
248248

@@ -259,13 +259,13 @@ try {
259259

260260
Name | Type | Description | Notes
261261
------------- | ------------- | ------------- | -------------
262-
**body** | [**\com.ariadnext.idcheckio.model\MrzRequest**](../Model/\com.ariadnext.idcheckio.model\MrzRequest.md)| Mrz request |
262+
**body** | [**\model\MrzRequest**](../Model/\model\MrzRequest.md)| Mrz request |
263263
**async_mode** | **bool**| true to activate asynchrone mode | [optional]
264264
**accept_language** | **string**| Accept language header | [optional]
265265

266266
### Return type
267267

268-
[**\com.ariadnext.idcheckio.model\ResultResponse**](../Model/ResultResponse.md)
268+
[**\model\ResultResponse**](../Model/ResultResponse.md)
269269

270270
### Authorization
271271

0 commit comments

Comments
 (0)