Skip to content

Commit 693ddc5

Browse files
committed
PgpTBDApi -> PgpApi
1 parent 6e32f7f commit 693ddc5

86 files changed

Lines changed: 113 additions & 113 deletions

File tree

Some content is hidden

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

wscli-php-sdk/src/WsCli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use \Swagger\Client\ApiClient;
1111
use \Swagger\Client\Api\AccountApi;
1212
use \Swagger\Client\Api\SessionApi;
13-
use \Swagger\Client\Api\PgpTBDApi;
13+
use \Swagger\Client\Api\PgpApi;
1414
use \Swagger\Client\Api\IntegratorApi;
1515
use \Swagger\Client\Api\FilesApi;
1616
use \Swagger\Client\Api\CertsApi;

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ The API provides normal file based access to all common banks in Finland via Web
33

44
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

6-
- API version: v2.2.5
6+
- API version: v2.3.0
77
- Package version: 0.1.0
88
- Build package: io.swagger.codegen.languages.PhpClientCodegen
99
For more information, please visit [https://www.isecure.fi/](https://www.isecure.fi/)
@@ -96,9 +96,9 @@ Class | Method | HTTP request | Description
9696
*FilesApi* | [**listFiles**](docs/Api/FilesApi.md#listfiles) | **GET** /files/{Bank} | ListFiles
9797
*FilesApi* | [**uploadFile**](docs/Api/FilesApi.md#uploadfile) | **PUT** /files/{Bank} | UploadFile
9898
*IntegratorApi* | [**listAccounts**](docs/Api/IntegratorApi.md#listaccounts) | **GET** /integrator/accounts | ListAccounts
99-
*PgpTBDApi* | [**deleteKey**](docs/Api/PgpTBDApi.md#deletekey) | **DELETE** /pgp | DeleteKey
100-
*PgpTBDApi* | [**listKeys**](docs/Api/PgpTBDApi.md#listkeys) | **GET** /pgp | ListKeys
101-
*PgpTBDApi* | [**uploadKey**](docs/Api/PgpTBDApi.md#uploadkey) | **PUT** /pgp | UploadKey
99+
*PgpApi* | [**deleteKey**](docs/Api/PgpApi.md#deletekey) | **DELETE** /pgp | DeleteKey
100+
*PgpApi* | [**listKeys**](docs/Api/PgpApi.md#listkeys) | **GET** /pgp | ListKeys
101+
*PgpApi* | [**uploadKey**](docs/Api/PgpApi.md#uploadkey) | **PUT** /pgp | UploadKey
102102
*SessionApi* | [**initLogin**](docs/Api/SessionApi.md#initlogin) | **GET** /session/{Email}/{Mode} | InitLogin
103103
*SessionApi* | [**login**](docs/Api/SessionApi.md#login) | **POST** /session/{Email}/{Mode} | Login
104104
*SessionApi* | [**loginMFA**](docs/Api/SessionApi.md#loginmfa) | **PUT** /session/{Email}/{Mode}/mfacode | LoginMFA

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
77
*
8-
* OpenAPI spec version: v2.2.5
8+
* OpenAPI spec version: v2.3.0
99
* Contact: dan.forsberg@isecure.fi
1010
* Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
*

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/docs/Api/PgpTBDApi.md renamed to wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/docs/Api/PgpApi.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Swagger\Client\PgpTBDApi
1+
# Swagger\Client\PgpApi
22

33
All URIs are relative to *https://ws-api.test.isecure.fi/v2*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**deleteKey**](PgpTBDApi.md#deleteKey) | **DELETE** /pgp | DeleteKey
8-
[**listKeys**](PgpTBDApi.md#listKeys) | **GET** /pgp | ListKeys
9-
[**uploadKey**](PgpTBDApi.md#uploadKey) | **PUT** /pgp | UploadKey
7+
[**deleteKey**](PgpApi.md#deleteKey) | **DELETE** /pgp | DeleteKey
8+
[**listKeys**](PgpApi.md#listKeys) | **GET** /pgp | ListKeys
9+
[**uploadKey**](PgpApi.md#uploadKey) | **PUT** /pgp | UploadKey
1010

1111

1212
# **deleteKey**
1313
> \Swagger\Client\Model\DeleteKeyResp deleteKey($authorization, $delete_key_req)
1414
1515
DeleteKey
1616

17-
Delete PGP key. API implementation is to-be-done (TBD).
17+
Delete PGP key.
1818

1919
### Example
2020
```php
@@ -30,15 +30,15 @@ Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key',
3030
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
3131
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
3232

33-
$api_instance = new Swagger\Client\Api\PgpTBDApi();
33+
$api_instance = new Swagger\Client\Api\PgpApi();
3434
$authorization = "authorization_example"; // string | Use _IdToken_ from the Login response as the Authorization header
35-
$delete_key_req = new \Swagger\Client\Model\DeleteKeyReq(); // \Swagger\Client\Model\DeleteKeyReq | Pgp (TBD) parameters
35+
$delete_key_req = new \Swagger\Client\Model\DeleteKeyReq(); // \Swagger\Client\Model\DeleteKeyReq | Pgp parameters
3636

3737
try {
3838
$result = $api_instance->deleteKey($authorization, $delete_key_req);
3939
print_r($result);
4040
} catch (Exception $e) {
41-
echo 'Exception when calling PgpTBDApi->deleteKey: ', $e->getMessage(), PHP_EOL;
41+
echo 'Exception when calling PgpApi->deleteKey: ', $e->getMessage(), PHP_EOL;
4242
}
4343
?>
4444
```
@@ -48,7 +48,7 @@ try {
4848
Name | Type | Description | Notes
4949
------------- | ------------- | ------------- | -------------
5050
**authorization** | **string**| Use _IdToken_ from the Login response as the Authorization header |
51-
**delete_key_req** | [**\Swagger\Client\Model\DeleteKeyReq**](../Model/\Swagger\Client\Model\DeleteKeyReq.md)| Pgp (TBD) parameters |
51+
**delete_key_req** | [**\Swagger\Client\Model\DeleteKeyReq**](../Model/\Swagger\Client\Model\DeleteKeyReq.md)| Pgp parameters |
5252

5353
### Return type
5454

@@ -70,7 +70,7 @@ Name | Type | Description | Notes
7070
7171
ListKeys
7272

73-
List PGP keys. API implementation is to-be-done (TBD).
73+
List PGP keys.
7474

7575
### Example
7676
```php
@@ -86,14 +86,14 @@ Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key',
8686
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
8787
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
8888

89-
$api_instance = new Swagger\Client\Api\PgpTBDApi();
89+
$api_instance = new Swagger\Client\Api\PgpApi();
9090
$authorization = "authorization_example"; // string | Use _IdToken_ from the Login response as the Authorization header
9191

9292
try {
9393
$result = $api_instance->listKeys($authorization);
9494
print_r($result);
9595
} catch (Exception $e) {
96-
echo 'Exception when calling PgpTBDApi->listKeys: ', $e->getMessage(), PHP_EOL;
96+
echo 'Exception when calling PgpApi->listKeys: ', $e->getMessage(), PHP_EOL;
9797
}
9898
?>
9999
```
@@ -124,7 +124,7 @@ Name | Type | Description | Notes
124124
125125
UploadKey
126126

127-
Upload PGP key. API implementation is to-be-done (TBD).
127+
Upload PGP key.
128128

129129
### Example
130130
```php
@@ -140,15 +140,15 @@ Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key',
140140
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
141141
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
142142

143-
$api_instance = new Swagger\Client\Api\PgpTBDApi();
143+
$api_instance = new Swagger\Client\Api\PgpApi();
144144
$authorization = "authorization_example"; // string | Use _IdToken_ from the Login response as the Authorization header
145145
$upload_key_req = new \Swagger\Client\Model\UploadKeyReq(); // \Swagger\Client\Model\UploadKeyReq | ASCII armored PGP Key in `PgpKey` and key purpose, i.e. `export` (exporting cert private key) or `authorize` (upload content authorization verification) in `PgpKeyPurpose`. **NOTE**: The same PGP key can not be used for both `export` and `authorize` purpose at the same time.
146146

147147
try {
148148
$result = $api_instance->uploadKey($authorization, $upload_key_req);
149149
print_r($result);
150150
} catch (Exception $e) {
151-
echo 'Exception when calling PgpTBDApi->uploadKey: ', $e->getMessage(), PHP_EOL;
151+
echo 'Exception when calling PgpApi->uploadKey: ', $e->getMessage(), PHP_EOL;
152152
}
153153
?>
154154
```

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/AccountApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
1616
*
17-
* OpenAPI spec version: v2.2.5
17+
* OpenAPI spec version: v2.3.0
1818
* Contact: dan.forsberg@isecure.fi
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
*

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/CertsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
1616
*
17-
* OpenAPI spec version: v2.2.5
17+
* OpenAPI spec version: v2.3.0
1818
* Contact: dan.forsberg@isecure.fi
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
*

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/FilesApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
1616
*
17-
* OpenAPI spec version: v2.2.5
17+
* OpenAPI spec version: v2.3.0
1818
* Contact: dan.forsberg@isecure.fi
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
*

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/IntegratorApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
1616
*
17-
* OpenAPI spec version: v2.2.5
17+
* OpenAPI spec version: v2.3.0
1818
* Contact: dan.forsberg@isecure.fi
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
*

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/PgpTBDApi.php renamed to wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/PgpApi.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* PgpTBDApi
3+
* PgpApi
44
* PHP version 5
55
*
66
* @category Class
@@ -14,7 +14,7 @@
1414
*
1515
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
1616
*
17-
* OpenAPI spec version: v2.2.5
17+
* OpenAPI spec version: v2.3.0
1818
* Contact: dan.forsberg@isecure.fi
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
*
@@ -34,14 +34,14 @@
3434
use \Swagger\Client\ObjectSerializer;
3535

3636
/**
37-
* PgpTBDApi Class Doc Comment
37+
* PgpApi Class Doc Comment
3838
*
3939
* @category Class
4040
* @package Swagger\Client
4141
* @author Swagger Codegen team
4242
* @link https://github.com/swagger-api/swagger-codegen
4343
*/
44-
class PgpTBDApi
44+
class PgpApi
4545
{
4646
/**
4747
* API Client
@@ -79,7 +79,7 @@ public function getApiClient()
7979
*
8080
* @param \Swagger\Client\ApiClient $apiClient set the API client
8181
*
82-
* @return PgpTBDApi
82+
* @return PgpApi
8383
*/
8484
public function setApiClient(\Swagger\Client\ApiClient $apiClient)
8585
{
@@ -93,7 +93,7 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient)
9393
* DeleteKey
9494
*
9595
* @param string $authorization Use _IdToken_ from the Login response as the Authorization header (required)
96-
* @param \Swagger\Client\Model\DeleteKeyReq $delete_key_req Pgp (TBD) parameters (required)
96+
* @param \Swagger\Client\Model\DeleteKeyReq $delete_key_req Pgp parameters (required)
9797
* @throws \Swagger\Client\ApiException on non-2xx response
9898
* @return \Swagger\Client\Model\DeleteKeyResp
9999
*/
@@ -109,7 +109,7 @@ public function deleteKey($authorization, $delete_key_req)
109109
* DeleteKey
110110
*
111111
* @param string $authorization Use _IdToken_ from the Login response as the Authorization header (required)
112-
* @param \Swagger\Client\Model\DeleteKeyReq $delete_key_req Pgp (TBD) parameters (required)
112+
* @param \Swagger\Client\Model\DeleteKeyReq $delete_key_req Pgp parameters (required)
113113
* @throws \Swagger\Client\ApiException on non-2xx response
114114
* @return array of \Swagger\Client\Model\DeleteKeyResp, HTTP status code, HTTP response headers (array of strings)
115115
*/

wscli-php-sdk/swagger-php-sdk/SwaggerClient-php/lib/Api/SessionApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* The API provides normal file based access to all common banks in Finland via WebServices channel on the service side, including certificate enrollment (PKI) with automatic renewals. Additionally, user account management, password recovery, and SMS based 2nd or Multi Factor Authentication (MFA) are provided (AWS Cognito Your User Pool). Access is secured with HTTPS/TLS (AWS API Gateway), using email address as username and password. On login, password is RSA encrypted along with dynamic parameters fetched from the service (username specific challenge response). Every integrator has own API Key and every user account belongs to one integrator. Certificate sharing between accounts is possible under the same integrator API Key, meaning that the enrolled bank connection certificates are shared. Under the same email address / username, both *admin* and *data* accounts must be used as they have separate passwords and differing functions.
1616
*
17-
* OpenAPI spec version: v2.2.5
17+
* OpenAPI spec version: v2.3.0
1818
* Contact: dan.forsberg@isecure.fi
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
*

0 commit comments

Comments
 (0)