Skip to content

Commit

Permalink
Automated update by SDK Generator (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklloyd authored Oct 22, 2024
1 parent a3d4f03 commit 88b5d9e
Show file tree
Hide file tree
Showing 1,402 changed files with 5,980 additions and 1,441 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.1
PACKAGE_VERSION: 2.5.2
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.1",
"version": "2.5.2",
"description": "Apideck .NET SDK",
"keywords": [
"apideck",
Expand Down
21 changes: 21 additions & 0 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,18 @@ docs/BadRequestResponse.md
docs/BalanceSheet.md
docs/BalanceSheetAccount.md
docs/BalanceSheetAccountRecord.md
docs/BalanceSheetAssetsAccount.md
docs/BalanceSheetEquityAccount.md
docs/BalanceSheetFilter.md
docs/BalanceSheetLiabilitiesAccount.md
docs/BalanceSheetReports.md
docs/BalanceSheetUncategorizedItemsAccount.md
docs/BankAccount.md
docs/Benefit.md
docs/Bill.md
docs/BillLineItem.md
docs/BillPayment.md
docs/BillPaymentAllocations.md
docs/BillsFilter.md
docs/BillsSort.md
docs/Branch.md
Expand Down Expand Up @@ -334,6 +339,7 @@ docs/GetCreditNoteResponse.md
docs/GetCreditNotesResponse.md
docs/GetCustomFieldsResponse.md
docs/GetCustomMappingResponse.md
docs/GetCustomMappingsResponse.md
docs/GetCustomerResponse.md
docs/GetCustomersResponse.md
docs/GetDepartmentResponse.md
Expand Down Expand Up @@ -670,6 +676,7 @@ docs/ValidateConnectionStateResponseData.md
docs/VaultApi.md
docs/VaultEventType.md
docs/VirtualWebhooks.md
docs/VirtualWebhooksResources.md
docs/WalletDetails.md
docs/Webhook.md
docs/WebhookApi.md
Expand Down Expand Up @@ -733,12 +740,17 @@ src/Apideck.Test/Model/AuthTypeTests.cs
src/Apideck.Test/Model/BadRequestResponseTests.cs
src/Apideck.Test/Model/BalanceSheetAccountRecordTests.cs
src/Apideck.Test/Model/BalanceSheetAccountTests.cs
src/Apideck.Test/Model/BalanceSheetAssetsAccountTests.cs
src/Apideck.Test/Model/BalanceSheetEquityAccountTests.cs
src/Apideck.Test/Model/BalanceSheetFilterTests.cs
src/Apideck.Test/Model/BalanceSheetLiabilitiesAccountTests.cs
src/Apideck.Test/Model/BalanceSheetReportsTests.cs
src/Apideck.Test/Model/BalanceSheetTests.cs
src/Apideck.Test/Model/BalanceSheetUncategorizedItemsAccountTests.cs
src/Apideck.Test/Model/BankAccountTests.cs
src/Apideck.Test/Model/BenefitTests.cs
src/Apideck.Test/Model/BillLineItemTests.cs
src/Apideck.Test/Model/BillPaymentAllocationsTests.cs
src/Apideck.Test/Model/BillPaymentTests.cs
src/Apideck.Test/Model/BillTests.cs
src/Apideck.Test/Model/BillsFilterTests.cs
Expand Down Expand Up @@ -1017,6 +1029,7 @@ src/Apideck.Test/Model/GetCreditNoteResponseTests.cs
src/Apideck.Test/Model/GetCreditNotesResponseTests.cs
src/Apideck.Test/Model/GetCustomFieldsResponseTests.cs
src/Apideck.Test/Model/GetCustomMappingResponseTests.cs
src/Apideck.Test/Model/GetCustomMappingsResponseTests.cs
src/Apideck.Test/Model/GetCustomerResponseTests.cs
src/Apideck.Test/Model/GetCustomersResponseTests.cs
src/Apideck.Test/Model/GetDepartmentResponseTests.cs
Expand Down Expand Up @@ -1346,6 +1359,7 @@ src/Apideck.Test/Model/UserTests.cs
src/Apideck.Test/Model/ValidateConnectionStateResponseDataTests.cs
src/Apideck.Test/Model/ValidateConnectionStateResponseTests.cs
src/Apideck.Test/Model/VaultEventTypeTests.cs
src/Apideck.Test/Model/VirtualWebhooksResourcesTests.cs
src/Apideck.Test/Model/VirtualWebhooksTests.cs
src/Apideck.Test/Model/WalletDetailsTests.cs
src/Apideck.Test/Model/WebhookEventLogAttemptsTests.cs
Expand Down Expand Up @@ -1426,13 +1440,18 @@ src/Apideck/Model/BadRequestResponse.cs
src/Apideck/Model/BalanceSheet.cs
src/Apideck/Model/BalanceSheetAccount.cs
src/Apideck/Model/BalanceSheetAccountRecord.cs
src/Apideck/Model/BalanceSheetAssetsAccount.cs
src/Apideck/Model/BalanceSheetEquityAccount.cs
src/Apideck/Model/BalanceSheetFilter.cs
src/Apideck/Model/BalanceSheetLiabilitiesAccount.cs
src/Apideck/Model/BalanceSheetReports.cs
src/Apideck/Model/BalanceSheetUncategorizedItemsAccount.cs
src/Apideck/Model/BankAccount.cs
src/Apideck/Model/Benefit.cs
src/Apideck/Model/Bill.cs
src/Apideck/Model/BillLineItem.cs
src/Apideck/Model/BillPayment.cs
src/Apideck/Model/BillPaymentAllocations.cs
src/Apideck/Model/BillsFilter.cs
src/Apideck/Model/BillsSort.cs
src/Apideck/Model/Branch.cs
Expand Down Expand Up @@ -1709,6 +1728,7 @@ src/Apideck/Model/GetCreditNoteResponse.cs
src/Apideck/Model/GetCreditNotesResponse.cs
src/Apideck/Model/GetCustomFieldsResponse.cs
src/Apideck/Model/GetCustomMappingResponse.cs
src/Apideck/Model/GetCustomMappingsResponse.cs
src/Apideck/Model/GetCustomerResponse.cs
src/Apideck/Model/GetCustomersResponse.cs
src/Apideck/Model/GetDepartmentResponse.cs
Expand Down Expand Up @@ -2039,6 +2059,7 @@ src/Apideck/Model/ValidateConnectionStateResponse.cs
src/Apideck/Model/ValidateConnectionStateResponseData.cs
src/Apideck/Model/VaultEventType.cs
src/Apideck/Model/VirtualWebhooks.cs
src/Apideck/Model/VirtualWebhooksResources.cs
src/Apideck/Model/WalletDetails.cs
src/Apideck/Model/Webhook.cs
src/Apideck/Model/WebhookEvent.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", "{246BA7BE-BD63-4CFF-960C-DD17486BE7DB}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apideck", "src\Apideck\Apideck.csproj", "{A9FBD760-CC8B-426B-928B-FCF50E887874}"
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
{246BA7BE-BD63-4CFF-960C-DD17486BE7DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{246BA7BE-BD63-4CFF-960C-DD17486BE7DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{246BA7BE-BD63-4CFF-960C-DD17486BE7DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{246BA7BE-BD63-4CFF-960C-DD17486BE7DB}.Release|Any CPU.Build.0 = Release|Any CPU
{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
{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
15 changes: 15 additions & 0 deletions src/gen/docs/BalanceSheetAssetsAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Apideck.Model.BalanceSheetAssetsAccount
A balance sheet assets account represents the financial position of a company at a specific point in time.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountId** | **string** | The unique identifier for the account. | [optional] [readonly]
**Code** | **string** | The account code of the account | [optional] [readonly]
**Name** | **string** | The name of the account. | [optional] [readonly]
**Value** | **decimal** | The amount or value of the item | [optional] [readonly]
**Items** | [**List<AnyOfBalanceSheetAccountBalanceSheetAccountRecord>**](AnyOfBalanceSheetAccountBalanceSheetAccountRecord.md) | A list of balance sheet accounts | [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)

15 changes: 15 additions & 0 deletions src/gen/docs/BalanceSheetEquityAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Apideck.Model.BalanceSheetEquityAccount
A balance sheet equity account represents the financial position of a company at a specific point in time.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountId** | **string** | The unique identifier for the account. | [optional] [readonly]
**Code** | **string** | The account code of the account | [optional] [readonly]
**Name** | **string** | The name of the account. | [optional] [readonly]
**Value** | **decimal** | The amount or value of the item | [optional] [readonly]
**Items** | [**List<AnyOfBalanceSheetAccountBalanceSheetAccountRecord>**](AnyOfBalanceSheetAccountBalanceSheetAccountRecord.md) | A list of balance sheet accounts | [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)

15 changes: 15 additions & 0 deletions src/gen/docs/BalanceSheetLiabilitiesAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Apideck.Model.BalanceSheetLiabilitiesAccount
A balance sheet liabilities account represents the financial position of a company at a specific point in time.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountId** | **string** | The unique identifier for the account. | [optional] [readonly]
**Code** | **string** | The account code of the account | [optional] [readonly]
**Name** | **string** | The name of the account. | [optional] [readonly]
**Value** | **decimal** | The amount or value of the item | [optional] [readonly]
**Items** | [**List<AnyOfBalanceSheetAccountBalanceSheetAccountRecord>**](AnyOfBalanceSheetAccountBalanceSheetAccountRecord.md) | A list of balance sheet accounts | [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)

8 changes: 4 additions & 4 deletions src/gen/docs/BalanceSheetReports.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Name | Type | Description | Notes
**StartDate** | **string** | The start date of the report | [optional]
**EndDate** | **string** | The start date of the report |
**Currency** | **Currency** | | [optional]
**Assets** | [**BalanceSheetAccount**](BalanceSheetAccount.md) | |
**Liabilities** | [**BalanceSheetAccount**](BalanceSheetAccount.md) | |
**Equity** | [**BalanceSheetAccount**](BalanceSheetAccount.md) | |
**Assets** | [**BalanceSheetAssetsAccount**](BalanceSheetAssetsAccount.md) | |
**Liabilities** | [**BalanceSheetLiabilitiesAccount**](BalanceSheetLiabilitiesAccount.md) | |
**Equity** | [**BalanceSheetEquityAccount**](BalanceSheetEquityAccount.md) | |
**NetAssets** | **decimal** | The net assets of the balance sheet | [optional]
**CustomMappings** | **Object** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**UpdatedBy** | **string** | The user who last updated the object. | [optional] [readonly]
**CreatedBy** | **string** | The user who created the object. | [optional] [readonly]
**UpdatedAt** | **DateTime?** | The date and time when the object was last updated. | [optional] [readonly]
**CreatedAt** | **DateTime?** | The date and time when the object was created. | [optional] [readonly]
**UncategorizedItems** | [**List<AnyOfBalanceSheetAccountBalanceSheetAccountRecord>**](AnyOfBalanceSheetAccountBalanceSheetAccountRecord.md) | A list of balance sheet accounts | [optional]
**UncategorizedItems** | [**BalanceSheetUncategorizedItemsAccount**](BalanceSheetUncategorizedItemsAccount.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)

15 changes: 15 additions & 0 deletions src/gen/docs/BalanceSheetUncategorizedItemsAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Apideck.Model.BalanceSheetUncategorizedItemsAccount
A balance sheet uncategorized items account represents the financial position of a company at a specific point in time.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountId** | **string** | The unique identifier for the account. | [optional] [readonly]
**Code** | **string** | The account code of the account | [optional] [readonly]
**Name** | **string** | The name of the account. | [optional] [readonly]
**Value** | **decimal** | The amount or value of the item | [optional] [readonly]
**Items** | [**List<AnyOfBalanceSheetAccountBalanceSheetAccountRecord>**](AnyOfBalanceSheetAccountBalanceSheetAccountRecord.md) | A list of balance sheet accounts | [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)

4 changes: 2 additions & 2 deletions src/gen/docs/BillPayment.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Name | Type | Description | Notes
**CompanyId** | **string** | The company or subsidiary id the transaction belongs to | [optional]
**Reconciled** | **bool?** | Indicates if the transaction has been reconciled. | [optional]
**Status** | **PaymentStatus** | | [optional]
**Type** | **PaymentType** | | [optional]
**Allocations** | [**List<Allocation>**](Allocation.md) | | [optional]
**Type** | **string** | Type of payment | [optional]
**Allocations** | [**List<BillPaymentAllocations>**](BillPaymentAllocations.md) | | [optional]
**Note** | **string** | Note associated with the transaction | [optional]
**Number** | **string** | Number associated with the transaction | [optional]
**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional]
Expand Down
14 changes: 14 additions & 0 deletions src/gen/docs/BillPaymentAllocations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Apideck.Model.BillPaymentAllocations

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | A unique identifier for an object. | [optional]
**Type** | **string** | Type of entity this payment should be attributed to. | [optional]
**Code** | **string** | | [optional] [readonly]
**Amount** | **decimal?** | Amount of payment that should be attributed to this allocation. If null, the total_amount will be used. | [optional]
**AllocationId** | **string** | Unique identifier of the allocation | [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)

1 change: 1 addition & 0 deletions src/gen/docs/ContactsFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**Email** | **string** | Email of the contact to filter on | [optional]
**PhoneNumber** | **string** | Phone number of the contact to filter on | [optional]
**CompanyId** | **string** | Unique identifier for the associated company of the contact to filter on | [optional]
**OwnerId** | **string** | Unique identifier for the owner of the contact to filter on | [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)

6 changes: 4 additions & 2 deletions src/gen/docs/CrmApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ Name | Type | Description | Notes

<a name="contactsone"></a>
# **ContactsOne**
> GetContactResponse ContactsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null)
> GetContactResponse ContactsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null, ContactsFilter filter = null)
Get contact

Expand Down Expand Up @@ -1290,11 +1290,12 @@ namespace Example
var serviceId = "serviceId_example"; // string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false)
var fields = id,updated_at; // string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
var filter = new ContactsFilter(); // ContactsFilter | Apply filters (optional)
try
{
// Get contact
GetContactResponse result = apiInstance.ContactsOne(id, consumerId, appId, serviceId, raw, fields);
GetContactResponse result = apiInstance.ContactsOne(id, consumerId, appId, serviceId, raw, fields, filter);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -1318,6 +1319,7 @@ Name | Type | Description | Notes
**serviceId** | **string**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional]
**raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false]
**fields** | **string**| The &#39;fields&#39; parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. &lt;br /&gt;&lt;br /&gt;Example: &#x60;fields&#x3D;name,email,addresses.city&#x60;&lt;br /&gt;&lt;br /&gt;In the example above, the response will only include the fields \&quot;name\&quot;, \&quot;email\&quot; and \&quot;addresses.city\&quot;. If any other fields are available, they will be excluded. | [optional]
**filter** | [**ContactsFilter**](ContactsFilter.md)| Apply filters | [optional]

### Return type

Expand Down
1 change: 1 addition & 0 deletions src/gen/docs/CustomMapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**Required** | **bool** | Target Field Mapping is required | [optional] [readonly]
**CustomField** | **bool** | This mapping represents a finder for a custom field | [optional] [readonly]
**ConsumerId** | **string** | Consumer ID | [optional] [readonly]
**Example** | **string** | Target Field Mapping example value from downstream | [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)

2 changes: 1 addition & 1 deletion src/gen/docs/EmployeePayroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**CheckDate** | **string** | The date on which employees will be paid for the payroll. |
**StartDate** | **string** | The start date, inclusive, of the pay period. |
**EndDate** | **string** | The end date, inclusive, of the pay period. |
**Totals** | [**PayrollTotals**](.md) | | [optional]
**Totals** | [**PayrollTotals**](PayrollTotals.md) | | [optional]
**Compensations** | [**List&lt;Compensation&gt;**](Compensation.md) | An array of compensations for the payroll. | [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
12 changes: 12 additions & 0 deletions src/gen/docs/GetCustomMappingsResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Apideck.Model.GetCustomMappingsResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StatusCode** | **int** | HTTP Response Status Code |
**Status** | **string** | HTTP Response Status |
**Data** | [**List&lt;CustomMapping&gt;**](CustomMapping.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)

1 change: 1 addition & 0 deletions src/gen/docs/LedgerAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Name | Type | Description | Notes
**SubAccount** | **bool?** | Whether the account is a sub account or not. | [optional]
**SubAccounts** | **List&lt;Object&gt;** | The sub accounts of the account. | [optional] [readonly]
**LastReconciliationDate** | **DateTime?** | Reconciliation Date means the last calendar day of each Reconciliation Period. | [optional]
**Subsidiaries** | **List&lt;Object&gt;** | The subsidiaries the account belongs to. | [optional]
**CustomMappings** | **Object** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**RowVersion** | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
**UpdatedBy** | **string** | The user who last updated the object. | [optional] [readonly]
Expand Down
Loading

0 comments on commit 88b5d9e

Please sign in to comment.