Skip to content

Commit d315680

Browse files
committed
chore: fix composer packages
1 parent e0f2fc9 commit d315680

File tree

248 files changed

+1140
-1071
lines changed

Some content is hidden

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

248 files changed

+1140
-1071
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore
22

3+
.idea
4+
.vscode
35
composer.phar
46
/vendor/
57

.idea/topal-php-sdk.iml

+69-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenAPIClient-php
1+
# TopalClient-php
22

33
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44

@@ -19,11 +19,11 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
1919
"repositories": [
2020
{
2121
"type": "vcs",
22-
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
22+
"url": "https://github.com/QbilSoftware/topal-php-sdk.git"
2323
}
2424
],
2525
"require": {
26-
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
26+
"QbilSoftware/topal-php-sdk": "@dev-main"
2727
}
2828
}
2929
```
@@ -36,7 +36,7 @@ Download the files and include `autoload.php`:
3636

3737
```php
3838
<?php
39-
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
39+
require_once('/path/to/TopalClient-php/vendor/autoload.php');
4040
```
4141

4242
## Getting Started
@@ -50,7 +50,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
5050

5151

5252

53-
$apiInstance = new OpenAPI\Client\Api\AccountAreasApi(
53+
$apiInstance = new Topal\Client\Api\AccountAreasApi(
5454
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
5555
// This is optional, `GuzzleHttp\Client` will be used as default.
5656
new GuzzleHttp\Client()

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"friendsofphp/php-cs-fixer": "^3.5"
3232
},
3333
"autoload": {
34-
"psr-4": { "OpenAPI\\Client\\" : "lib/" }
34+
"psr-4": { "Topal\\Client\\" : "lib/" }
3535
},
3636
"autoload-dev": {
37-
"psr-4": { "OpenAPI\\Client\\Test\\" : "test/" }
37+
"psr-4": { "Topal\\Client\\Test\\" : "test/" }
3838
}
3939
}

docs/Api/AccountAreasApi.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenAPI\Client\AccountAreasApi
1+
# Topal\Client\AccountAreasApi
22

33
All URIs are relative to https://topal.vitan.ch:9001, except if the operation defines another base path.
44

@@ -26,7 +26,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2626

2727

2828

29-
$apiInstance = new OpenAPI\Client\Api\AccountAreasApi(
29+
$apiInstance = new Topal\Client\Api\AccountAreasApi(
3030
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
3131
// This is optional, `GuzzleHttp\Client` will be used as default.
3232
new GuzzleHttp\Client()
@@ -69,7 +69,7 @@ No authorization required
6969
## `accountAreasGet()`
7070

7171
```php
72-
accountAreasGet($client_id): \OpenAPI\Client\Model\AccountArea[]
72+
accountAreasGet($client_id): \Topal\Client\Model\AccountArea[]
7373
```
7474

7575
get list of accountAreas
@@ -82,7 +82,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
8282

8383

8484

85-
$apiInstance = new OpenAPI\Client\Api\AccountAreasApi(
85+
$apiInstance = new Topal\Client\Api\AccountAreasApi(
8686
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
8787
// This is optional, `GuzzleHttp\Client` will be used as default.
8888
new GuzzleHttp\Client()
@@ -105,7 +105,7 @@ try {
105105

106106
### Return type
107107

108-
[**\OpenAPI\Client\Model\AccountArea[]**](../Model/AccountArea.md)
108+
[**\Topal\Client\Model\AccountArea[]**](../Model/AccountArea.md)
109109

110110
### Authorization
111111

@@ -123,7 +123,7 @@ No authorization required
123123
## `accountAreasGet_0()`
124124

125125
```php
126-
accountAreasGet_0($id, $client_id): \OpenAPI\Client\Model\AccountArea
126+
accountAreasGet_0($id, $client_id): \Topal\Client\Model\AccountArea
127127
```
128128

129129
Get accountArea by id
@@ -136,7 +136,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
136136

137137

138138

139-
$apiInstance = new OpenAPI\Client\Api\AccountAreasApi(
139+
$apiInstance = new Topal\Client\Api\AccountAreasApi(
140140
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
141141
// This is optional, `GuzzleHttp\Client` will be used as default.
142142
new GuzzleHttp\Client()
@@ -161,7 +161,7 @@ try {
161161

162162
### Return type
163163

164-
[**\OpenAPI\Client\Model\AccountArea**](../Model/AccountArea.md)
164+
[**\Topal\Client\Model\AccountArea**](../Model/AccountArea.md)
165165

166166
### Authorization
167167

@@ -179,7 +179,7 @@ No authorization required
179179
## `accountAreasPost()`
180180

181181
```php
182-
accountAreasPost($client_id, $account_area): \OpenAPI\Client\Model\AccountArea
182+
accountAreasPost($client_id, $account_area): \Topal\Client\Model\AccountArea
183183
```
184184

185185
Save AccountArea
@@ -192,13 +192,13 @@ require_once(__DIR__ . '/vendor/autoload.php');
192192

193193

194194

195-
$apiInstance = new OpenAPI\Client\Api\AccountAreasApi(
195+
$apiInstance = new Topal\Client\Api\AccountAreasApi(
196196
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
197197
// This is optional, `GuzzleHttp\Client` will be used as default.
198198
new GuzzleHttp\Client()
199199
);
200200
$client_id = 'client_id_example'; // string
201-
$account_area = new \OpenAPI\Client\Model\AccountArea(); // \OpenAPI\Client\Model\AccountArea
201+
$account_area = new \Topal\Client\Model\AccountArea(); // \Topal\Client\Model\AccountArea
202202

203203
try {
204204
$result = $apiInstance->accountAreasPost($client_id, $account_area);
@@ -213,11 +213,11 @@ try {
213213
| Name | Type | Description | Notes |
214214
| ------------- | ------------- | ------------- | ------------- |
215215
| **client_id** | **string**| | |
216-
| **account_area** | [**\OpenAPI\Client\Model\AccountArea**](../Model/AccountArea.md)| | |
216+
| **account_area** | [**\Topal\Client\Model\AccountArea**](../Model/AccountArea.md)| | |
217217

218218
### Return type
219219

220-
[**\OpenAPI\Client\Model\AccountArea**](../Model/AccountArea.md)
220+
[**\Topal\Client\Model\AccountArea**](../Model/AccountArea.md)
221221

222222
### Authorization
223223

0 commit comments

Comments
 (0)