Skip to content

Commit

Permalink
Automated update by SDK Generator version:3.4.0 commit:b8d7057
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 11, 2024
1 parent 1c85286 commit 8506e12
Show file tree
Hide file tree
Showing 1,311 changed files with 2,827 additions and 1,304 deletions.
6 changes: 6 additions & 0 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,8 @@ docs/Model/UpdateWebhookRequest.md
docs/Model/UpdateWebhookResponse.md
docs/Model/UploadSession.md
docs/Model/User.md
docs/Model/ValidateConnectionStateResponse.md
docs/Model/ValidateConnectionStateResponseData.md
docs/Model/VaultEventType.md
docs/Model/VirtualWebhooks.md
docs/Model/WalletDetails.md
Expand Down Expand Up @@ -1300,6 +1302,8 @@ lib/Model/UpdateWebhookRequest.php
lib/Model/UpdateWebhookResponse.php
lib/Model/UploadSession.php
lib/Model/User.php
lib/Model/ValidateConnectionStateResponse.php
lib/Model/ValidateConnectionStateResponseData.php
lib/Model/VaultEventType.php
lib/Model/VirtualWebhooks.php
lib/Model/WalletDetails.php
Expand Down Expand Up @@ -1951,6 +1955,8 @@ test/Model/UpdateWebhookRequestTest.php
test/Model/UpdateWebhookResponseTest.php
test/Model/UploadSessionTest.php
test/Model/UserTest.php
test/Model/ValidateConnectionStateResponseDataTest.php
test/Model/ValidateConnectionStateResponseTest.php
test/Model/VaultEventTypeTest.php
test/Model/VirtualWebhooksTest.php
test/Model/WalletDetailsTest.php
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 @@ -22,6 +22,7 @@
* [Get Resource Custom Fields](#customFieldsAll)
* [Get All Consumer Request Logs](#logsAll)
* [Create Session](#sessionsCreate)
* [Validate Connection State](#validateConnectionState)

<a name="connectionSettingsAll"></a>
# Get Resource Settings
Expand Down Expand Up @@ -1128,3 +1129,69 @@ try {

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

<a name="validateConnectionState"></a>
# Validate Connection State


Method: **validateConnectionState**

```php
Apideck->getVaultApi()->validateConnectionState($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\ValidateConnectionStateResponse`](../models/\Apideck\Client\Model\ValidateConnectionStateResponse.md)



### HTTP response details
| Status code | Description |
|-------------|-------------|
**200** | Connection access token refreshed |
**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()->validateConnectionState('pipedrive', 'crm', $validateConnectionState);
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)

25 changes: 25 additions & 0 deletions src/gen/docs/models/ValidateConnectionStateResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Apideck.ValidateConnectionStateResponse

### Description

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`status_code` | **int** | HTTP Response Status Code |
`status` | **string** | HTTP Response Status |
`data` | [**\Apideck\Client\Model\ValidateConnectionStateResponseData**](ValidateConnectionStateResponseData.md) | |





## Referenced Types:


* [`ValidateConnectionStateResponseData`](ValidateConnectionStateResponseData.md)

---

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


23 changes: 23 additions & 0 deletions src/gen/docs/models/ValidateConnectionStateResponseData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Apideck.ValidateConnectionStateResponseData

### Description

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`id` | **string** | The unique identifier of the connection. | [optional]
`state` | [**\Apideck\Client\Model\ConnectionState**](ConnectionState.md) | | [optional]





## Referenced Types:

* [`ConnectionState`](ConnectionState.md)

---

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


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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.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.6.2
* The version of the OpenAPI document: 10.6.3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
Loading

0 comments on commit 8506e12

Please sign in to comment.