Skip to content

Commit 637929f

Browse files
committed
main package renamed to simply Accounts
1 parent f4d8852 commit 637929f

62 files changed

Lines changed: 417 additions & 393 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.

.openapi-generator/FILES

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,27 @@ lib/Model/TransactionList.php
5858
lib/Model/TransactionListTransactionsInner.php
5959
lib/ObjectSerializer.php
6060
phpunit.xml.dist
61+
test/Api/DefaultApiTest.php
62+
test/Model/AccountBalanceTest.php
63+
test/Model/AccountCurrencyExchangeTest.php
64+
test/Model/AccountRelatedAgentsTest.php
65+
test/Model/AccountTest.php
66+
test/Model/GetAccounts400ResponseTest.php
67+
test/Model/GetAccounts403ResponseTest.php
68+
test/Model/GetAccounts404ResponseTest.php
69+
test/Model/GetAccounts405ResponseTest.php
70+
test/Model/GetAccounts412ResponseTest.php
71+
test/Model/GetAccounts429ResponseTest.php
72+
test/Model/GetAccounts500ResponseTest.php
73+
test/Model/GetAccounts503ResponseTest.php
74+
test/Model/GetStatements400ResponseTest.php
75+
test/Model/GetStatements403ResponseTest.php
76+
test/Model/GetStatements404ResponseTest.php
77+
test/Model/GetTransactions400ResponseTest.php
78+
test/Model/GetTransactions401ResponseTest.php
79+
test/Model/GetTransactions404ResponseTest.php
80+
test/Model/StatementListAccountStatementsInnerPeriodTest.php
81+
test/Model/StatementListAccountStatementsInnerTest.php
82+
test/Model/StatementListTest.php
83+
test/Model/TransactionListTest.php
84+
test/Model/TransactionListTransactionsInnerTest.php

.openapi-generator/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ additionalProperties:
1212
appDescription: PHP API client for CSAS Premium Accounts WebAPI
1313
apiVersion: 3.0.0
1414
allowUnicodeIdentifiers: true
15-
invokerPackage: SpojeNET\CsasAccounts
15+
invokerPackage: SpojeNET\Csas
1616
modelPackage: Model
1717
developerOrganization: SpojeNET
1818
developerOrganizationUrl: https://spojenet.cz

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
5151

5252

5353

54-
$apiInstance = new SpojeNET\CsasAccounts\Api\DefaultApi(
54+
$apiInstance = new SpojeNET\Csas\Api\DefaultApi(
5555
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
5656
// This is optional, `GuzzleHttp\Client` will be used as default.
5757
new GuzzleHttp\Client()

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"friendsofphp/php-cs-fixer": "^3.5"
3737
},
3838
"autoload": {
39-
"psr-4": { "SpojeNET\\CsasAccounts\\" : "lib/" }
39+
"psr-4": { "SpojeNET\\Csas\\" : "lib/" }
4040
},
4141
"autoload-dev": {
42-
"psr-4": { "SpojeNET\\CsasAccounts\\Test\\" : "test/" }
42+
"psr-4": { "SpojeNET\\Csas\\Test\\" : "test/" }
4343
},
4444
"scripts": {
4545
"post-update-cmd": [

docs/Api/DefaultApi.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SpojeNET\CsasAccounts\DefaultApi
1+
# SpojeNET\Csas\DefaultApi
22

33
All URIs are relative to https://www.csas.cz/webapi/api/v3/accounts, except if the operation defines another base path.
44

@@ -13,7 +13,7 @@ All URIs are relative to https://www.csas.cz/webapi/api/v3/accounts, except if t
1313
## `getAccountBalance()`
1414

1515
```php
16-
getAccountBalance($id): \SpojeNET\CsasAccounts\Model\AccountBalance
16+
getAccountBalance($id): \SpojeNET\Csas\Model\AccountBalance
1717
```
1818

1919
Get account balance
@@ -28,7 +28,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828

2929

3030

31-
$apiInstance = new SpojeNET\CsasAccounts\Api\DefaultApi(
31+
$apiInstance = new SpojeNET\Csas\Api\DefaultApi(
3232
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
3333
// This is optional, `GuzzleHttp\Client` will be used as default.
3434
new GuzzleHttp\Client()
@@ -51,7 +51,7 @@ try {
5151

5252
### Return type
5353

54-
[**\SpojeNET\CsasAccounts\Model\AccountBalance**](../Model/AccountBalance.md)
54+
[**\SpojeNET\Csas\Model\AccountBalance**](../Model/AccountBalance.md)
5555

5656
### Authorization
5757

@@ -69,7 +69,7 @@ No authorization required
6969
## `getAccounts()`
7070

7171
```php
72-
getAccounts($size, $page, $sort, $order): \SpojeNET\CsasAccounts\Model\Account
72+
getAccounts($size, $page, $sort, $order): \SpojeNET\Csas\Model\Account
7373
```
7474

7575
Get account details
@@ -84,7 +84,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
8484

8585

8686

87-
$apiInstance = new SpojeNET\CsasAccounts\Api\DefaultApi(
87+
$apiInstance = new SpojeNET\Csas\Api\DefaultApi(
8888
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
8989
// This is optional, `GuzzleHttp\Client` will be used as default.
9090
new GuzzleHttp\Client()
@@ -113,7 +113,7 @@ try {
113113

114114
### Return type
115115

116-
[**\SpojeNET\CsasAccounts\Model\Account**](../Model/Account.md)
116+
[**\SpojeNET\Csas\Model\Account**](../Model/Account.md)
117117

118118
### Authorization
119119

@@ -131,7 +131,7 @@ No authorization required
131131
## `getStatements()`
132132

133133
```php
134-
getStatements($id, $fromDate, $toDate, $format, $size, $page): \SpojeNET\CsasAccounts\Model\StatementList
134+
getStatements($id, $fromDate, $toDate, $format, $size, $page): \SpojeNET\Csas\Model\StatementList
135135
```
136136

137137
Get statements list
@@ -146,7 +146,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
146146

147147

148148

149-
$apiInstance = new SpojeNET\CsasAccounts\Api\DefaultApi(
149+
$apiInstance = new SpojeNET\Csas\Api\DefaultApi(
150150
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
151151
// This is optional, `GuzzleHttp\Client` will be used as default.
152152
new GuzzleHttp\Client()
@@ -179,7 +179,7 @@ try {
179179

180180
### Return type
181181

182-
[**\SpojeNET\CsasAccounts\Model\StatementList**](../Model/StatementList.md)
182+
[**\SpojeNET\Csas\Model\StatementList**](../Model/StatementList.md)
183183

184184
### Authorization
185185

@@ -197,7 +197,7 @@ No authorization required
197197
## `getTransactions()`
198198

199199
```php
200-
getTransactions($id, $fromDate, $toDate, $size, $page, $sort, $order): \SpojeNET\CsasAccounts\Model\TransactionList
200+
getTransactions($id, $fromDate, $toDate, $size, $page, $sort, $order): \SpojeNET\Csas\Model\TransactionList
201201
```
202202

203203
Overview of transactions
@@ -212,7 +212,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
212212

213213

214214

215-
$apiInstance = new SpojeNET\CsasAccounts\Api\DefaultApi(
215+
$apiInstance = new SpojeNET\Csas\Api\DefaultApi(
216216
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
217217
// This is optional, `GuzzleHttp\Client` will be used as default.
218218
new GuzzleHttp\Client()
@@ -247,7 +247,7 @@ try {
247247

248248
### Return type
249249

250-
[**\SpojeNET\CsasAccounts\Model\TransactionList**](../Model/TransactionList.md)
250+
[**\SpojeNET\Csas\Model\TransactionList**](../Model/TransactionList.md)
251251

252252
### Authorization
253253

docs/Model/Account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **string** | Unique system ID of the client's account | [optional]
88
**status** | **string** | Status of the account | [optional]
9-
**relatedAgents** | [**\SpojeNET\CsasAccounts\Model\AccountRelatedAgents**](AccountRelatedAgents.md) | | [optional]
10-
**currencyExchange** | [**\SpojeNET\CsasAccounts\Model\AccountCurrencyExchange**](AccountCurrencyExchange.md) | | [optional]
9+
**relatedAgents** | [**\SpojeNET\Csas\Model\AccountRelatedAgents**](AccountRelatedAgents.md) | | [optional]
10+
**currencyExchange** | [**\SpojeNET\Csas\Model\AccountCurrencyExchange**](AccountCurrencyExchange.md) | | [optional]
1111

1212
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/StatementList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Name | Type | Description | Notes
88
**pageCount** | **float** | Total number of pages | [optional]
99
**pageSize** | **float** | Number of entries per page | [optional]
1010
**nextPage** | **float** | Next page number | [optional]
11-
**accountStatements** | [**\SpojeNET\CsasAccounts\Model\StatementListAccountStatementsInner[]**](StatementListAccountStatementsInner.md) | | [optional]
11+
**accountStatements** | [**\SpojeNET\Csas\Model\StatementListAccountStatementsInner[]**](StatementListAccountStatementsInner.md) | | [optional]
1212

1313
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/StatementListAccountStatementsInner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**year** | **float** | Year of the statement | [optional]
99
**month** | **float** | Month of the statement | [optional]
1010
**sequenceNumber** | **float** | The account statement's sequence number | [optional]
11-
**period** | [**\SpojeNET\CsasAccounts\Model\StatementListAccountStatementsInnerPeriod**](StatementListAccountStatementsInnerPeriod.md) | | [optional]
11+
**period** | [**\SpojeNET\Csas\Model\StatementListAccountStatementsInnerPeriod**](StatementListAccountStatementsInnerPeriod.md) | | [optional]
1212
**formats** | **string[]** | Available formats of the statement | [optional]
1313

1414
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/TransactionList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**transactions** | [**\SpojeNET\CsasAccounts\Model\TransactionListTransactionsInner[]**](TransactionListTransactionsInner.md) | | [optional]
7+
**transactions** | [**\SpojeNET\Csas\Model\TransactionListTransactionsInner[]**](TransactionListTransactionsInner.md) | | [optional]
88

99
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

0 commit comments

Comments
 (0)