Skip to content

Commit

Permalink
Merge pull request #55 from apideck-libraries/generator-update
Browse files Browse the repository at this point in the history
Automated update by SDK Generator
  • Loading branch information
nicklloyd authored Feb 23, 2024
2 parents fc586fd + 807113d commit 2aeaf19
Show file tree
Hide file tree
Showing 1,298 changed files with 1,823 additions and 1,300 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
commit: main
tag: 3.2.0
tag: 3.2.1

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apideck/php",
"version": "3.2.0",
"version": "3.2.1",
"description": "Apideck PHP SDK",
"keywords": [
"apideck",
Expand Down
67 changes: 67 additions & 0 deletions src/gen/docs/apis/VaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* [Deletes A Connection](#connectionsDelete)
* [Import Connection](#connectionsImport)
* [Get Connection](#connectionsOne)
* [Authorize Access Token](#connectionsToken)
* [Update Connection](#connectionsUpdate)
* [Consumer Request Counts](#consumerRequestCountsAll)
* [Create Consumer](#consumersAdd)
Expand Down Expand Up @@ -414,6 +415,72 @@ try {
```


[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)

<a name="connectionsToken"></a>
# Authorize Access Token


Method: **connectionsToken**

```php
Apideck->getVaultApi()->connectionsToken($data)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**service_id** | **string**| Service ID of the resource to return |
**unified_api** | **string**| Unified API |
**x_apideck_consumer_id** | **string**| ID of the consumer which you want to get or push data from |
**x_apideck_app_id** | **string**| The ID of your Unify application |
**body** | **object**| |



### Response Type

[`\Apideck\Client\Model\GetConnectionResponse`](../models/\Apideck\Client\Model\GetConnectionResponse.md)



### HTTP response details
| Status code | Description |
|-------------|-------------|
**200** | Connection |
**400** | Bad Request |
**401** | Unauthorized |
**402** | Payment Required |
**404** | The specified resource was not found |
**422** | Unprocessable |
4/5xx | Unexpected error |


## Example Usage

```php
<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
$response = $apideck->getVaultApi()->connectionsToken('pipedrive', 'crm', $connectionsToken);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}

```


[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)

<a name="connectionsUpdate"></a>
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/AccountingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/AtsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/ConnectorApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/CrmApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/EcommerceApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/FileStorageApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/HrisApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/IssueTrackingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/LeadApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/PosApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/SmsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.3.1
* The version of the OpenAPI document: 10.3.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
Loading

0 comments on commit 2aeaf19

Please sign in to comment.