Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated update by SDK Generator #68

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ docs/Model/CreateAttachmentRequest.md
docs/Model/CreateAttachmentResponse.md
docs/Model/CreateBillPaymentResponse.md
docs/Model/CreateBillResponse.md
docs/Model/CreateCallbackStateData.md
docs/Model/CreateCallbackState.md
docs/Model/CreateCallbackStateResponse.md
docs/Model/CreateCallbackStateResponseData.md
docs/Model/CreateCommentResponse.md
Expand Down Expand Up @@ -813,7 +813,7 @@ lib/Model/CreateAttachmentRequest.php
lib/Model/CreateAttachmentResponse.php
lib/Model/CreateBillPaymentResponse.php
lib/Model/CreateBillResponse.php
lib/Model/CreateCallbackStateData.php
lib/Model/CreateCallbackState.php
lib/Model/CreateCallbackStateResponse.php
lib/Model/CreateCallbackStateResponseData.php
lib/Model/CreateCommentResponse.php
Expand Down Expand Up @@ -1500,9 +1500,9 @@ test/Model/CreateAttachmentRequestTest.php
test/Model/CreateAttachmentResponseTest.php
test/Model/CreateBillPaymentResponseTest.php
test/Model/CreateBillResponseTest.php
test/Model/CreateCallbackStateDataTest.php
test/Model/CreateCallbackStateResponseDataTest.php
test/Model/CreateCallbackStateResponseTest.php
test/Model/CreateCallbackStateTest.php
test/Model/CreateCommentResponseTest.php
test/Model/CreateCompanyResponseTest.php
test/Model/CreateConnectionResponseTest.php
Expand Down
2 changes: 1 addition & 1 deletion src/gen/docs/apis/VaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**service_id** | **string**| Service ID of the resource to return |
**unified_api** | **string**| Unified API |
**create_callback_state_data** | [\Apideck\Client\Model\CreateCallbackStateData](../models/\Apideck\Client\Model\CreateCallbackStateData.md)| Callback state data |
**create_callback_state** | [\Apideck\Client\Model\CreateCallbackState](../models/\Apideck\Client\Model\CreateCallbackState.md)| Callback state data |
**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 |

Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/BadRequestResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`detail` | [**AnyOfStringMap**](AnyOfStringMap.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]


Expand All @@ -21,7 +21,7 @@ Name | Type | Description | Notes



* [`AnyOfStringObject`](AnyOfStringObject.md)
* [`AnyOfStringMap`](AnyOfStringMap.md)


---
Expand Down
19 changes: 17 additions & 2 deletions src/gen/docs/models/BalanceSheetFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,28 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`start_date` | **string** | Filter by start date. If start date is given, end date is required. | [optional]
`end_date` | **string** | Filter by end date. If end date is given, start date is required. | [optional]
`start_date` | **string** | The start date of the period to include in the resource. | [optional]
`end_date` | **string** | The end date of the period to include in the resource. | [optional]
`period_count` | **int** | The number of periods to include in the resource. | [optional]
`period_type` | **string** | The type of period to include in the resource: month, quarter, year. | [optional]





<a name="PERIOD_TYPE"></a>
## Enum: BalanceSheetFilter.period_type


* `MONTH` (value: `'month'`)

* `QUARTER` (value: `'quarter'`)

* `YEAR` (value: `'year'`)




---

[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Apideck.CreateCallbackStateData
# Apideck.CreateCallbackState

### Description

Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/NotFoundResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`detail` | [**AnyOfStringMap**](AnyOfStringMap.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]


Expand All @@ -21,7 +21,7 @@ Name | Type | Description | Notes



* [`AnyOfStringObject`](AnyOfStringObject.md)
* [`AnyOfStringMap`](AnyOfStringMap.md)


---
Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/NotImplementedResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`detail` | [**AnyOfStringMap**](AnyOfStringMap.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]


Expand All @@ -21,7 +21,7 @@ Name | Type | Description | Notes



* [`AnyOfStringObject`](AnyOfStringObject.md)
* [`AnyOfStringMap`](AnyOfStringMap.md)


---
Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/UnauthorizedResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`detail` | [**AnyOfStringMap**](AnyOfStringMap.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]


Expand All @@ -21,7 +21,7 @@ Name | Type | Description | Notes



* [`AnyOfStringObject`](AnyOfStringObject.md)
* [`AnyOfStringMap`](AnyOfStringMap.md)


---
Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/UnexpectedErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`detail` | [**AnyOfStringMap**](AnyOfStringMap.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]


Expand All @@ -21,7 +21,7 @@ Name | Type | Description | Notes



* [`AnyOfStringObject`](AnyOfStringObject.md)
* [`AnyOfStringMap`](AnyOfStringMap.md)


---
Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/UnprocessableResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
`error` | **string** | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) | [optional]
`type_name` | **string** | The type of error returned | [optional]
`message` | **string** | A human-readable message providing more details about the error. | [optional]
`detail` | [**AnyOfStringObject**](AnyOfStringObject.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`detail` | [**AnyOfStringMap**](AnyOfStringMap.md) | Contains parameter or domain specific information related to the error and why it occurred. | [optional]
`ref` | **string** | Link to documentation of error type | [optional]


Expand All @@ -21,7 +21,7 @@ Name | Type | Description | Notes



* [`AnyOfStringObject`](AnyOfStringObject.md)
* [`AnyOfStringMap`](AnyOfStringMap.md)


---
Expand Down
40 changes: 20 additions & 20 deletions src/gen/lib/Api/VaultApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -6786,17 +6786,17 @@ public function consumersUpdateRequest($consumer_id, $update_consumer_request, $
*
* @param string $service_id Service ID of the resource to return (required)
* @param string $unified_api Unified API (required)
* @param \Apideck\Client\Model\CreateCallbackStateData $create_callback_state_data Callback state data (required)
* @param \Apideck\Client\Model\CreateCallbackState $create_callback_state Callback state data (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return \Apideck\Client\Model\CreateCallbackStateResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse
*/
public function createCallbackState($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
public function createCallbackState($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
{
list($response) = $this->createCallbackStateWithHttpInfo($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id, $x_apideck_app_id);
list($response) = $this->createCallbackStateWithHttpInfo($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id, $x_apideck_app_id);
return $response;
}

Expand All @@ -6807,17 +6807,17 @@ public function createCallbackState($service_id, $unified_api, $create_callback_
*
* @param string $service_id Service ID of the resource to return (required)
* @param string $unified_api Unified API (required)
* @param \Apideck\Client\Model\CreateCallbackStateData $create_callback_state_data Callback state data (required)
* @param \Apideck\Client\Model\CreateCallbackState $create_callback_state Callback state data (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
*
* @throws \Apideck\Client\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return array of \Apideck\Client\Model\CreateCallbackStateResponse|\Apideck\Client\Model\BadRequestResponse|\Apideck\Client\Model\UnauthorizedResponse|\Apideck\Client\Model\PaymentRequiredResponse|\Apideck\Client\Model\NotFoundResponse|\Apideck\Client\Model\UnprocessableResponse|\Apideck\Client\Model\UnexpectedErrorResponse, HTTP status code, HTTP response headers (array of strings)
*/
public function createCallbackStateWithHttpInfo($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
public function createCallbackStateWithHttpInfo($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
{
$request = $this->createCallbackStateRequest($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id, $x_apideck_app_id);
$request = $this->createCallbackStateRequest($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id, $x_apideck_app_id);

try {
$options = $this->createHttpClientOption();
Expand Down Expand Up @@ -7024,16 +7024,16 @@ public function createCallbackStateWithHttpInfo($service_id, $unified_api, $crea
*
* @param string $service_id Service ID of the resource to return (required)
* @param string $unified_api Unified API (required)
* @param \Apideck\Client\Model\CreateCallbackStateData $create_callback_state_data Callback state data (required)
* @param \Apideck\Client\Model\CreateCallbackState $create_callback_state Callback state data (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
public function createCallbackStateAsync($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
public function createCallbackStateAsync($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
{
return $this->createCallbackStateAsyncWithHttpInfo($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id, $x_apideck_app_id)
return $this->createCallbackStateAsyncWithHttpInfo($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id, $x_apideck_app_id)
->then(
function ($response) {
return $response[0];
Expand All @@ -7048,17 +7048,17 @@ function ($response) {
*
* @param string $service_id Service ID of the resource to return (required)
* @param string $unified_api Unified API (required)
* @param \Apideck\Client\Model\CreateCallbackStateData $create_callback_state_data Callback state data (required)
* @param \Apideck\Client\Model\CreateCallbackState $create_callback_state Callback state data (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
public function createCallbackStateAsyncWithHttpInfo($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
public function createCallbackStateAsyncWithHttpInfo($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
{
$returnType = '\Apideck\Client\Model\CreateCallbackStateResponse';
$request = $this->createCallbackStateRequest($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id, $x_apideck_app_id);
$request = $this->createCallbackStateRequest($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id, $x_apideck_app_id);

return $this->client
->sendAsync($request, $this->createHttpClientOption())
Expand Down Expand Up @@ -7098,14 +7098,14 @@ function ($exception) {
*
* @param string $service_id Service ID of the resource to return (required)
* @param string $unified_api Unified API (required)
* @param \Apideck\Client\Model\CreateCallbackStateData $create_callback_state_data Callback state data (required)
* @param \Apideck\Client\Model\CreateCallbackState $create_callback_state Callback state data (required)
* @param string $x_apideck_consumer_id ID of the consumer which you want to get or push data from (optional)
* @param string $x_apideck_app_id The ID of your Unify application (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
public function createCallbackStateRequest($service_id, $unified_api, $create_callback_state_data, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
public function createCallbackStateRequest($service_id, $unified_api, $create_callback_state, $x_apideck_consumer_id = null, $x_apideck_app_id = null)
{
// verify the required parameter 'service_id' is set
if ($service_id === null || (is_array($service_id) && count($service_id) === 0)) {
Expand All @@ -7119,10 +7119,10 @@ public function createCallbackStateRequest($service_id, $unified_api, $create_ca
'Missing the required parameter $unified_api when calling createCallbackState'
);
}
// verify the required parameter 'create_callback_state_data' is set
if ($create_callback_state_data === null || (is_array($create_callback_state_data) && count($create_callback_state_data) === 0)) {
// verify the required parameter 'create_callback_state' is set
if ($create_callback_state === null || (is_array($create_callback_state) && count($create_callback_state) === 0)) {
throw new \InvalidArgumentException(
'Missing the required parameter $create_callback_state_data when calling createCallbackState'
'Missing the required parameter $create_callback_state when calling createCallbackState'
);
}

Expand Down Expand Up @@ -7173,11 +7173,11 @@ public function createCallbackStateRequest($service_id, $unified_api, $create_ca
}

// for model (json/xml)
if (isset($create_callback_state_data)) {
if (isset($create_callback_state)) {
if ($headers['Content-Type'] === 'application/json') {
$httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($create_callback_state_data));
$httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($create_callback_state));
} else {
$httpBody = $create_callback_state_data;
$httpBody = $create_callback_state;
}
} elseif (count($formParams) > 0) {
if ($multipart) {
Expand Down
6 changes: 3 additions & 3 deletions src/gen/lib/Model/BadRequestResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class BadRequestResponse implements ModelInterface, ArrayAccess, \JsonSerializab
'error' => 'string',
'type_name' => 'string',
'message' => 'string',
'detail' => 'AnyOfStringObject',
'detail' => 'AnyOfStringMap',
'ref' => 'string'
];

Expand Down Expand Up @@ -335,7 +335,7 @@ public function setMessage($message)
/**
* Gets detail
*
* @return AnyOfStringObject|null
* @return AnyOfStringMap|null
*/
public function getDetail()
{
Expand All @@ -345,7 +345,7 @@ public function getDetail()
/**
* Sets detail
*
* @param AnyOfStringObject|null $detail Contains parameter or domain specific information related to the error and why it occurred.
* @param AnyOfStringMap|null $detail Contains parameter or domain specific information related to the error and why it occurred.
*
* @return self
*/
Expand Down
Loading