Skip to content

Commit

Permalink
Automated update by SDK Generator version:2.5.3 commit:ef52400 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklloyd authored Nov 14, 2024
1 parent 88b5d9e commit 96dbcab
Show file tree
Hide file tree
Showing 1,395 changed files with 2,529 additions and 1,392 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release:
runs-on: ubuntu-latest
env:
PACKAGE_VERSION: 2.5.2
PACKAGE_VERSION: 2.5.3
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apideck/net",
"version": "2.5.2",
"version": "2.5.3",
"description": "Apideck .NET SDK",
"keywords": [
"apideck",
Expand Down
9 changes: 9 additions & 0 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ docs/CreateAttachmentRequest.md
docs/CreateAttachmentResponse.md
docs/CreateBillPaymentResponse.md
docs/CreateBillResponse.md
docs/CreateCallbackStateData.md
docs/CreateCallbackStateResponse.md
docs/CreateCallbackStateResponseData.md
docs/CreateCommentResponse.md
docs/CreateCompanyResponse.md
docs/CreateConnectionResponse.md
Expand Down Expand Up @@ -806,6 +809,9 @@ src/Apideck.Test/Model/CreateAttachmentRequestTests.cs
src/Apideck.Test/Model/CreateAttachmentResponseTests.cs
src/Apideck.Test/Model/CreateBillPaymentResponseTests.cs
src/Apideck.Test/Model/CreateBillResponseTests.cs
src/Apideck.Test/Model/CreateCallbackStateDataTests.cs
src/Apideck.Test/Model/CreateCallbackStateResponseDataTests.cs
src/Apideck.Test/Model/CreateCallbackStateResponseTests.cs
src/Apideck.Test/Model/CreateCommentResponseTests.cs
src/Apideck.Test/Model/CreateCompanyResponseTests.cs
src/Apideck.Test/Model/CreateConnectionResponseTests.cs
Expand Down Expand Up @@ -1505,6 +1511,9 @@ src/Apideck/Model/CreateAttachmentRequest.cs
src/Apideck/Model/CreateAttachmentResponse.cs
src/Apideck/Model/CreateBillPaymentResponse.cs
src/Apideck/Model/CreateBillResponse.cs
src/Apideck/Model/CreateCallbackStateData.cs
src/Apideck/Model/CreateCallbackStateResponse.cs
src/Apideck/Model/CreateCallbackStateResponseData.cs
src/Apideck/Model/CreateCommentResponse.cs
src/Apideck/Model/CreateCompanyResponse.cs
src/Apideck/Model/CreateConnectionResponse.cs
Expand Down
10 changes: 5 additions & 5 deletions src/gen/Apideck.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apideck", "src\Apideck\Apideck.csproj", "{A9FBD760-CC8B-426B-928B-FCF50E887874}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apideck", "src\Apideck\Apideck.csproj", "{88E83E54-3031-4F93-A988-872AD1168FB5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apideck.Test", "src\Apideck.Test\Apideck.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A9FBD760-CC8B-426B-928B-FCF50E887874}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A9FBD760-CC8B-426B-928B-FCF50E887874}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A9FBD760-CC8B-426B-928B-FCF50E887874}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A9FBD760-CC8B-426B-928B-FCF50E887874}.Release|Any CPU.Build.0 = Release|Any CPU
{88E83E54-3031-4F93-A988-872AD1168FB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{88E83E54-3031-4F93-A988-872AD1168FB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{88E83E54-3031-4F93-A988-872AD1168FB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{88E83E54-3031-4F93-A988-872AD1168FB5}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
10 changes: 10 additions & 0 deletions src/gen/docs/CreateCallbackStateData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Apideck.Model.CreateCallbackStateData

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**RedirectUri** | **string** | The redirect URI to be used after the connection is created. | [optional]

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

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StatusCode** | **int** | HTTP Response Status Code |
**Status** | **string** | HTTP Response Status |
**Data** | [**CreateCallbackStateResponseData**](CreateCallbackStateResponseData.md) | |

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

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**State** | **string** | Callback state | [optional] [readonly]

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

1 change: 1 addition & 0 deletions src/gen/docs/EmployeeJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**HiredAt** | **DateTime?** | The date on which the employee was hired by the organization | [optional]
**IsPrimary** | **bool?** | Indicates whether this the employee's primary job. | [optional]
**IsManager** | **bool?** | Indicates whether this the employee has a manager role. | [optional]
**Status** | **string** | Indicates the status of the job. | [optional]
**Location** | [**Address**](Address.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
91 changes: 91 additions & 0 deletions src/gen/docs/VaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Method | HTTP request | Description
[**ConsumersDelete**](VaultApi.md#consumersdelete) | **DELETE** /vault/consumers/{consumer_id} | Delete consumer
[**ConsumersOne**](VaultApi.md#consumersone) | **GET** /vault/consumers/{consumer_id} | Get consumer
[**ConsumersUpdate**](VaultApi.md#consumersupdate) | **PATCH** /vault/consumers/{consumer_id} | Update consumer
[**CreateCallbackState**](VaultApi.md#createcallbackstate) | **POST** /vault/connections/{unified_api}/{service_id}/callback-state | Create Callback State
[**CustomFieldsAll**](VaultApi.md#customfieldsall) | **GET** /vault/connections/{unified_api}/{service_id}/{resource}/custom-fields | Get resource custom fields
[**CustomMappingsAll**](VaultApi.md#custommappingsall) | **GET** /vault/custom-mappings/{unified_api}/{service_id} | List custom mappings
[**LogsAll**](VaultApi.md#logsall) | **GET** /vault/logs | Get all consumer request logs
Expand Down Expand Up @@ -1345,6 +1346,96 @@ Name | Type | Description | Notes

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

<a name="createcallbackstate"></a>
# **CreateCallbackState**
> CreateCallbackStateResponse CreateCallbackState (string serviceId, string unifiedApi, CreateCallbackStateData createCallbackStateData, string consumerId = null, string appId = null)
Create Callback State

This endpoint creates a callback state that can be used to issue requests to the callback endpoint.

### Example
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Apideck.Api;
using Apideck.Client;
using Apideck.Model;

namespace Example
{
public class CreateCallbackStateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://unify.apideck.com";
// Configure API key authorization: apiKey
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new VaultApi(config);
var serviceId = pipedrive; // string | Service ID of the resource to return
var unifiedApi = crm; // string | Unified API
var createCallbackStateData = new CreateCallbackStateData(); // CreateCallbackStateData | Callback state data
var consumerId = "consumerId_example"; // string | ID of the consumer which you want to get or push data from (optional)
var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional)
try
{
// Create Callback State
CreateCallbackStateResponse result = apiInstance.CreateCallbackState(serviceId, unifiedApi, createCallbackStateData, consumerId, appId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.CreateCallbackState: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**serviceId** | **string**| Service ID of the resource to return |
**unifiedApi** | **string**| Unified API |
**createCallbackStateData** | [**CreateCallbackStateData**](CreateCallbackStateData.md)| Callback state data |
**consumerId** | **string**| ID of the consumer which you want to get or push data from | [optional]
**appId** | **string**| The ID of your Unify application | [optional]

### Return type

[**CreateCallbackStateResponse**](CreateCallbackStateResponse.md)

### Authorization

[apiKey](../README.md#apiKey)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Callback state created | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **402** | Payment Required | - |
| **404** | The specified resource was not found | - |
| **422** | Unprocessable | - |
| **0** | Unexpected error | - |

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

<a name="customfieldsall"></a>
# **CustomFieldsAll**
> GetCustomFieldsResponse CustomFieldsAll (string unifiedApi, string serviceId, string resource, string consumerId = null, string appId = null, string resourceId = null)
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/AccountingApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/AtsApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/ConnectorApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/CrmApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/EcommerceApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/FileStorageApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/HrisApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/IssueTrackingApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/LeadApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/PosApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/SmsApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
18 changes: 17 additions & 1 deletion src/gen/src/Apideck.Test/Api/VaultApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -279,6 +279,22 @@ public void ConsumersUpdateTest()
//Assert.IsType<UpdateConsumerResponse>(response);
}

/// <summary>
/// Test CreateCallbackState
/// </summary>
[Fact]
public void CreateCallbackStateTest()
{
// TODO uncomment below to test the method and replace null with proper value
//string serviceId = null;
//string unifiedApi = null;
//CreateCallbackStateData createCallbackStateData = null;
//string consumerId = null;
//string appId = null;
//var response = instance.CreateCallbackState(serviceId, unifiedApi, createCallbackStateData, consumerId, appId);
//Assert.IsType<CreateCallbackStateResponse>(response);
}

/// <summary>
/// Test CustomFieldsAll
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Api/WebhookApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Model/AccountingEventTypeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/src/Apideck.Test/Model/AccountingLocationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.7.7
* The version of the OpenAPI document: 10.8.1
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading

0 comments on commit 96dbcab

Please sign in to comment.