diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 950e95ced9..630fbff2ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: release: runs-on: ubuntu-latest env: - PACKAGE_VERSION: 2.4.1 + PACKAGE_VERSION: 2.5.0 steps: - uses: actions/checkout@v3 diff --git a/.gitignore b/.gitignore index 3e5c0bf8d7..f6a2735e05 100644 --- a/.gitignore +++ b/.gitignore @@ -6,9 +6,11 @@ tmp/* .dist api_new.yml .eslintcache +.idea .dist/* vendor/ .env /out +.idea diff --git a/package.json b/package.json index 6eaeded7aa..99c8a1d5a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/net", - "version": "2.4.1", + "version": "2.5.0", "description": "Apideck .NET SDK", "keywords": [ "apideck", diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES index 73a2433777..a8d515898e 100644 --- a/src/gen/.openapi-generator/FILES +++ b/src/gen/.openapi-generator/FILES @@ -53,6 +53,7 @@ docs/BankAccount.md docs/Benefit.md docs/Bill.md docs/BillLineItem.md +docs/BillPayment.md docs/BillsFilter.md docs/BillsSort.md docs/Branch.md @@ -105,6 +106,7 @@ docs/CreateApplicantResponse.md docs/CreateApplicationResponse.md docs/CreateAttachmentRequest.md docs/CreateAttachmentResponse.md +docs/CreateBillPaymentResponse.md docs/CreateBillResponse.md docs/CreateCommentResponse.md docs/CreateCompanyResponse.md @@ -121,6 +123,7 @@ docs/CreateDriveResponse.md docs/CreateEcommerceCustomerResponse.md docs/CreateEcommerceOrderResponse.md docs/CreateEmployeeResponse.md +docs/CreateExpenseResponse.md docs/CreateFileRequest.md docs/CreateFileResponse.md docs/CreateFolderRequest.md @@ -156,6 +159,7 @@ docs/CreateTaxRateResponse.md docs/CreateTenderResponse.md docs/CreateTicketResponse.md docs/CreateTimeOffRequestResponse.md +docs/CreateTrackingCategoryResponse.md docs/CreateUploadSessionRequest.md docs/CreateUploadSessionResponse.md docs/CreateUserResponse.md @@ -180,6 +184,7 @@ docs/DeleteActivityResponse.md docs/DeleteApplicantResponse.md docs/DeleteApplicationResponse.md docs/DeleteAttachmentResponse.md +docs/DeleteBillPaymentResponse.md docs/DeleteBillResponse.md docs/DeleteCommentResponse.md docs/DeleteCompanyResponse.md @@ -193,6 +198,7 @@ docs/DeleteDriveResponse.md docs/DeleteEcommerceCustomerResponse.md docs/DeleteEcommerceOrderResponse.md docs/DeleteEmployeeResponse.md +docs/DeleteExpenseResponse.md docs/DeleteFileResponse.md docs/DeleteFolderResponse.md docs/DeleteHrisCompanyResponse.md @@ -223,10 +229,13 @@ docs/DeleteTaxRateResponse.md docs/DeleteTenderResponse.md docs/DeleteTicketResponse.md docs/DeleteTimeOffRequestResponse.md +docs/DeleteTrackingCategoryResponse.md docs/DeleteUploadSessionResponse.md docs/DeleteUserResponse.md docs/DeleteWebhookResponse.md docs/Department.md +docs/DeprecatedLinkedSupplier.md +docs/DeprecatedLinkedTrackingCategory.md docs/Drive.md docs/DriveGroup.md docs/DriveGroupsFilter.md @@ -264,6 +273,8 @@ docs/EmployeesSort.md docs/EmploymentStatus.md docs/Error.md docs/ExecuteWebhookResponse.md +docs/Expense.md +docs/ExpenseLineItem.md docs/FileStorageApi.md docs/FileStorageEventType.md docs/FileType.md @@ -292,6 +303,8 @@ docs/GetApplicationsResponse.md docs/GetAttachmentResponse.md docs/GetAttachmentsResponse.md docs/GetBalanceSheetResponse.md +docs/GetBillPaymentResponse.md +docs/GetBillPaymentsResponse.md docs/GetBillResponse.md docs/GetBillsResponse.md docs/GetCollectionResponse.md @@ -338,6 +351,8 @@ docs/GetEmployeePayrollsResponse.md docs/GetEmployeeResponse.md docs/GetEmployeeSchedulesResponse.md docs/GetEmployeesResponse.md +docs/GetExpenseResponse.md +docs/GetExpensesResponse.md docs/GetFileResponse.md docs/GetFilesResponse.md docs/GetFolderResponse.md @@ -410,6 +425,8 @@ docs/GetTicketResponse.md docs/GetTicketsResponse.md docs/GetTimeOffRequestResponse.md docs/GetTimeOffRequestsResponse.md +docs/GetTrackingCategoriesResponse.md +docs/GetTrackingCategoryResponse.md docs/GetUploadSessionResponse.md docs/GetUserResponse.md docs/GetUsersResponse.md @@ -505,6 +522,8 @@ docs/Payment.md docs/PaymentCard.md docs/PaymentFrequency.md docs/PaymentRequiredResponse.md +docs/PaymentStatus.md +docs/PaymentType.md docs/PaymentUnit.md docs/PaymentsFilter.md docs/PaymentsSort.md @@ -573,6 +592,7 @@ docs/TimeOffRequestNotes.md docs/TimeOffRequestsFilter.md docs/TooManyRequestsResponse.md docs/TooManyRequestsResponseDetail.md +docs/TrackingCategory.md docs/TrackingItem.md docs/UnauthorizedResponse.md docs/UnexpectedErrorResponse.md @@ -586,6 +606,7 @@ docs/UpdateAccountingLocationResponse.md docs/UpdateActivityResponse.md docs/UpdateApplicantResponse.md docs/UpdateApplicationResponse.md +docs/UpdateBillPaymentResponse.md docs/UpdateBillResponse.md docs/UpdateCommentResponse.md docs/UpdateCompanyResponse.md @@ -603,6 +624,7 @@ docs/UpdateDriveResponse.md docs/UpdateEcommerceCustomerResponse.md docs/UpdateEcommerceOrderResponse.md docs/UpdateEmployeeResponse.md +docs/UpdateExpenseResponse.md docs/UpdateFileRequest.md docs/UpdateFileResponse.md docs/UpdateFolderRequest.md @@ -636,6 +658,7 @@ docs/UpdateTaxRateResponse.md docs/UpdateTenderResponse.md docs/UpdateTicketResponse.md docs/UpdateTimeOffRequestResponse.md +docs/UpdateTrackingCategoryResponse.md docs/UpdateUploadSessionResponse.md docs/UpdateUserResponse.md docs/UpdateWebhookRequest.md @@ -716,6 +739,7 @@ src/Apideck.Test/Model/BalanceSheetTests.cs src/Apideck.Test/Model/BankAccountTests.cs src/Apideck.Test/Model/BenefitTests.cs src/Apideck.Test/Model/BillLineItemTests.cs +src/Apideck.Test/Model/BillPaymentTests.cs src/Apideck.Test/Model/BillTests.cs src/Apideck.Test/Model/BillsFilterTests.cs src/Apideck.Test/Model/BillsSortTests.cs @@ -768,6 +792,7 @@ src/Apideck.Test/Model/CreateApplicantResponseTests.cs src/Apideck.Test/Model/CreateApplicationResponseTests.cs 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/CreateCommentResponseTests.cs src/Apideck.Test/Model/CreateCompanyResponseTests.cs @@ -784,6 +809,7 @@ src/Apideck.Test/Model/CreateDriveResponseTests.cs src/Apideck.Test/Model/CreateEcommerceCustomerResponseTests.cs src/Apideck.Test/Model/CreateEcommerceOrderResponseTests.cs src/Apideck.Test/Model/CreateEmployeeResponseTests.cs +src/Apideck.Test/Model/CreateExpenseResponseTests.cs src/Apideck.Test/Model/CreateFileRequestTests.cs src/Apideck.Test/Model/CreateFileResponseTests.cs src/Apideck.Test/Model/CreateFolderRequestTests.cs @@ -819,6 +845,7 @@ src/Apideck.Test/Model/CreateTaxRateResponseTests.cs src/Apideck.Test/Model/CreateTenderResponseTests.cs src/Apideck.Test/Model/CreateTicketResponseTests.cs src/Apideck.Test/Model/CreateTimeOffRequestResponseTests.cs +src/Apideck.Test/Model/CreateTrackingCategoryResponseTests.cs src/Apideck.Test/Model/CreateUploadSessionRequestTests.cs src/Apideck.Test/Model/CreateUploadSessionResponseTests.cs src/Apideck.Test/Model/CreateUserResponseTests.cs @@ -842,6 +869,7 @@ src/Apideck.Test/Model/DeleteActivityResponseTests.cs src/Apideck.Test/Model/DeleteApplicantResponseTests.cs src/Apideck.Test/Model/DeleteApplicationResponseTests.cs src/Apideck.Test/Model/DeleteAttachmentResponseTests.cs +src/Apideck.Test/Model/DeleteBillPaymentResponseTests.cs src/Apideck.Test/Model/DeleteBillResponseTests.cs src/Apideck.Test/Model/DeleteCommentResponseTests.cs src/Apideck.Test/Model/DeleteCompanyResponseTests.cs @@ -855,6 +883,7 @@ src/Apideck.Test/Model/DeleteDriveResponseTests.cs src/Apideck.Test/Model/DeleteEcommerceCustomerResponseTests.cs src/Apideck.Test/Model/DeleteEcommerceOrderResponseTests.cs src/Apideck.Test/Model/DeleteEmployeeResponseTests.cs +src/Apideck.Test/Model/DeleteExpenseResponseTests.cs src/Apideck.Test/Model/DeleteFileResponseTests.cs src/Apideck.Test/Model/DeleteFolderResponseTests.cs src/Apideck.Test/Model/DeleteHrisCompanyResponseTests.cs @@ -885,10 +914,13 @@ src/Apideck.Test/Model/DeleteTaxRateResponseTests.cs src/Apideck.Test/Model/DeleteTenderResponseTests.cs src/Apideck.Test/Model/DeleteTicketResponseTests.cs src/Apideck.Test/Model/DeleteTimeOffRequestResponseTests.cs +src/Apideck.Test/Model/DeleteTrackingCategoryResponseTests.cs src/Apideck.Test/Model/DeleteUploadSessionResponseTests.cs src/Apideck.Test/Model/DeleteUserResponseTests.cs src/Apideck.Test/Model/DeleteWebhookResponseTests.cs src/Apideck.Test/Model/DepartmentTests.cs +src/Apideck.Test/Model/DeprecatedLinkedSupplierTests.cs +src/Apideck.Test/Model/DeprecatedLinkedTrackingCategoryTests.cs src/Apideck.Test/Model/DriveGroupTests.cs src/Apideck.Test/Model/DriveGroupsFilterTests.cs src/Apideck.Test/Model/DriveTests.cs @@ -925,6 +957,8 @@ src/Apideck.Test/Model/EmployeesSortTests.cs src/Apideck.Test/Model/EmploymentStatusTests.cs src/Apideck.Test/Model/ErrorTests.cs src/Apideck.Test/Model/ExecuteWebhookResponseTests.cs +src/Apideck.Test/Model/ExpenseLineItemTests.cs +src/Apideck.Test/Model/ExpenseTests.cs src/Apideck.Test/Model/FileStorageEventTypeTests.cs src/Apideck.Test/Model/FileTypeTests.cs src/Apideck.Test/Model/FilesFilterTests.cs @@ -952,6 +986,8 @@ src/Apideck.Test/Model/GetApplicationsResponseTests.cs src/Apideck.Test/Model/GetAttachmentResponseTests.cs src/Apideck.Test/Model/GetAttachmentsResponseTests.cs src/Apideck.Test/Model/GetBalanceSheetResponseTests.cs +src/Apideck.Test/Model/GetBillPaymentResponseTests.cs +src/Apideck.Test/Model/GetBillPaymentsResponseTests.cs src/Apideck.Test/Model/GetBillResponseTests.cs src/Apideck.Test/Model/GetBillsResponseTests.cs src/Apideck.Test/Model/GetCollectionResponseTests.cs @@ -998,6 +1034,8 @@ src/Apideck.Test/Model/GetEmployeePayrollsResponseTests.cs src/Apideck.Test/Model/GetEmployeeResponseTests.cs src/Apideck.Test/Model/GetEmployeeSchedulesResponseTests.cs src/Apideck.Test/Model/GetEmployeesResponseTests.cs +src/Apideck.Test/Model/GetExpenseResponseTests.cs +src/Apideck.Test/Model/GetExpensesResponseTests.cs src/Apideck.Test/Model/GetFileResponseTests.cs src/Apideck.Test/Model/GetFilesResponseTests.cs src/Apideck.Test/Model/GetFolderResponseTests.cs @@ -1070,6 +1108,8 @@ src/Apideck.Test/Model/GetTicketResponseTests.cs src/Apideck.Test/Model/GetTicketsResponseTests.cs src/Apideck.Test/Model/GetTimeOffRequestResponseTests.cs src/Apideck.Test/Model/GetTimeOffRequestsResponseTests.cs +src/Apideck.Test/Model/GetTrackingCategoriesResponseTests.cs +src/Apideck.Test/Model/GetTrackingCategoryResponseTests.cs src/Apideck.Test/Model/GetUploadSessionResponseTests.cs src/Apideck.Test/Model/GetUserResponseTests.cs src/Apideck.Test/Model/GetUsersResponseTests.cs @@ -1161,7 +1201,9 @@ src/Apideck.Test/Model/PassThroughQueryTests.cs src/Apideck.Test/Model/PaymentCardTests.cs src/Apideck.Test/Model/PaymentFrequencyTests.cs src/Apideck.Test/Model/PaymentRequiredResponseTests.cs +src/Apideck.Test/Model/PaymentStatusTests.cs src/Apideck.Test/Model/PaymentTests.cs +src/Apideck.Test/Model/PaymentTypeTests.cs src/Apideck.Test/Model/PaymentUnitTests.cs src/Apideck.Test/Model/PaymentsFilterTests.cs src/Apideck.Test/Model/PaymentsSortTests.cs @@ -1228,6 +1270,7 @@ src/Apideck.Test/Model/TimeOffRequestTests.cs src/Apideck.Test/Model/TimeOffRequestsFilterTests.cs src/Apideck.Test/Model/TooManyRequestsResponseDetailTests.cs src/Apideck.Test/Model/TooManyRequestsResponseTests.cs +src/Apideck.Test/Model/TrackingCategoryTests.cs src/Apideck.Test/Model/TrackingItemTests.cs src/Apideck.Test/Model/UnauthorizedResponseTests.cs src/Apideck.Test/Model/UnexpectedErrorResponseTests.cs @@ -1241,6 +1284,7 @@ src/Apideck.Test/Model/UpdateAccountingLocationResponseTests.cs src/Apideck.Test/Model/UpdateActivityResponseTests.cs src/Apideck.Test/Model/UpdateApplicantResponseTests.cs src/Apideck.Test/Model/UpdateApplicationResponseTests.cs +src/Apideck.Test/Model/UpdateBillPaymentResponseTests.cs src/Apideck.Test/Model/UpdateBillResponseTests.cs src/Apideck.Test/Model/UpdateCommentResponseTests.cs src/Apideck.Test/Model/UpdateCompanyResponseTests.cs @@ -1258,6 +1302,7 @@ src/Apideck.Test/Model/UpdateDriveResponseTests.cs src/Apideck.Test/Model/UpdateEcommerceCustomerResponseTests.cs src/Apideck.Test/Model/UpdateEcommerceOrderResponseTests.cs src/Apideck.Test/Model/UpdateEmployeeResponseTests.cs +src/Apideck.Test/Model/UpdateExpenseResponseTests.cs src/Apideck.Test/Model/UpdateFileRequestTests.cs src/Apideck.Test/Model/UpdateFileResponseTests.cs src/Apideck.Test/Model/UpdateFolderRequestTests.cs @@ -1291,6 +1336,7 @@ src/Apideck.Test/Model/UpdateTaxRateResponseTests.cs src/Apideck.Test/Model/UpdateTenderResponseTests.cs src/Apideck.Test/Model/UpdateTicketResponseTests.cs src/Apideck.Test/Model/UpdateTimeOffRequestResponseTests.cs +src/Apideck.Test/Model/UpdateTrackingCategoryResponseTests.cs src/Apideck.Test/Model/UpdateUploadSessionResponseTests.cs src/Apideck.Test/Model/UpdateUserResponseTests.cs src/Apideck.Test/Model/UpdateWebhookRequestTests.cs @@ -1386,6 +1432,7 @@ 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/BillsFilter.cs src/Apideck/Model/BillsSort.cs src/Apideck/Model/Branch.cs @@ -1437,6 +1484,7 @@ src/Apideck/Model/CreateApplicantResponse.cs src/Apideck/Model/CreateApplicationResponse.cs src/Apideck/Model/CreateAttachmentRequest.cs src/Apideck/Model/CreateAttachmentResponse.cs +src/Apideck/Model/CreateBillPaymentResponse.cs src/Apideck/Model/CreateBillResponse.cs src/Apideck/Model/CreateCommentResponse.cs src/Apideck/Model/CreateCompanyResponse.cs @@ -1453,6 +1501,7 @@ src/Apideck/Model/CreateDriveResponse.cs src/Apideck/Model/CreateEcommerceCustomerResponse.cs src/Apideck/Model/CreateEcommerceOrderResponse.cs src/Apideck/Model/CreateEmployeeResponse.cs +src/Apideck/Model/CreateExpenseResponse.cs src/Apideck/Model/CreateFileRequest.cs src/Apideck/Model/CreateFileResponse.cs src/Apideck/Model/CreateFolderRequest.cs @@ -1488,6 +1537,7 @@ src/Apideck/Model/CreateTaxRateResponse.cs src/Apideck/Model/CreateTenderResponse.cs src/Apideck/Model/CreateTicketResponse.cs src/Apideck/Model/CreateTimeOffRequestResponse.cs +src/Apideck/Model/CreateTrackingCategoryResponse.cs src/Apideck/Model/CreateUploadSessionRequest.cs src/Apideck/Model/CreateUploadSessionResponse.cs src/Apideck/Model/CreateUserResponse.cs @@ -1511,6 +1561,7 @@ src/Apideck/Model/DeleteActivityResponse.cs src/Apideck/Model/DeleteApplicantResponse.cs src/Apideck/Model/DeleteApplicationResponse.cs src/Apideck/Model/DeleteAttachmentResponse.cs +src/Apideck/Model/DeleteBillPaymentResponse.cs src/Apideck/Model/DeleteBillResponse.cs src/Apideck/Model/DeleteCommentResponse.cs src/Apideck/Model/DeleteCompanyResponse.cs @@ -1524,6 +1575,7 @@ src/Apideck/Model/DeleteDriveResponse.cs src/Apideck/Model/DeleteEcommerceCustomerResponse.cs src/Apideck/Model/DeleteEcommerceOrderResponse.cs src/Apideck/Model/DeleteEmployeeResponse.cs +src/Apideck/Model/DeleteExpenseResponse.cs src/Apideck/Model/DeleteFileResponse.cs src/Apideck/Model/DeleteFolderResponse.cs src/Apideck/Model/DeleteHrisCompanyResponse.cs @@ -1554,10 +1606,13 @@ src/Apideck/Model/DeleteTaxRateResponse.cs src/Apideck/Model/DeleteTenderResponse.cs src/Apideck/Model/DeleteTicketResponse.cs src/Apideck/Model/DeleteTimeOffRequestResponse.cs +src/Apideck/Model/DeleteTrackingCategoryResponse.cs src/Apideck/Model/DeleteUploadSessionResponse.cs src/Apideck/Model/DeleteUserResponse.cs src/Apideck/Model/DeleteWebhookResponse.cs src/Apideck/Model/Department.cs +src/Apideck/Model/DeprecatedLinkedSupplier.cs +src/Apideck/Model/DeprecatedLinkedTrackingCategory.cs src/Apideck/Model/Drive.cs src/Apideck/Model/DriveGroup.cs src/Apideck/Model/DriveGroupsFilter.cs @@ -1594,6 +1649,8 @@ src/Apideck/Model/EmployeesSort.cs src/Apideck/Model/EmploymentStatus.cs src/Apideck/Model/Error.cs src/Apideck/Model/ExecuteWebhookResponse.cs +src/Apideck/Model/Expense.cs +src/Apideck/Model/ExpenseLineItem.cs src/Apideck/Model/FileStorageEventType.cs src/Apideck/Model/FileType.cs src/Apideck/Model/FilesFilter.cs @@ -1621,6 +1678,8 @@ src/Apideck/Model/GetApplicationsResponse.cs src/Apideck/Model/GetAttachmentResponse.cs src/Apideck/Model/GetAttachmentsResponse.cs src/Apideck/Model/GetBalanceSheetResponse.cs +src/Apideck/Model/GetBillPaymentResponse.cs +src/Apideck/Model/GetBillPaymentsResponse.cs src/Apideck/Model/GetBillResponse.cs src/Apideck/Model/GetBillsResponse.cs src/Apideck/Model/GetCollectionResponse.cs @@ -1667,6 +1726,8 @@ src/Apideck/Model/GetEmployeePayrollsResponse.cs src/Apideck/Model/GetEmployeeResponse.cs src/Apideck/Model/GetEmployeeSchedulesResponse.cs src/Apideck/Model/GetEmployeesResponse.cs +src/Apideck/Model/GetExpenseResponse.cs +src/Apideck/Model/GetExpensesResponse.cs src/Apideck/Model/GetFileResponse.cs src/Apideck/Model/GetFilesResponse.cs src/Apideck/Model/GetFolderResponse.cs @@ -1739,6 +1800,8 @@ src/Apideck/Model/GetTicketResponse.cs src/Apideck/Model/GetTicketsResponse.cs src/Apideck/Model/GetTimeOffRequestResponse.cs src/Apideck/Model/GetTimeOffRequestsResponse.cs +src/Apideck/Model/GetTrackingCategoriesResponse.cs +src/Apideck/Model/GetTrackingCategoryResponse.cs src/Apideck/Model/GetUploadSessionResponse.cs src/Apideck/Model/GetUserResponse.cs src/Apideck/Model/GetUsersResponse.cs @@ -1831,6 +1894,8 @@ src/Apideck/Model/Payment.cs src/Apideck/Model/PaymentCard.cs src/Apideck/Model/PaymentFrequency.cs src/Apideck/Model/PaymentRequiredResponse.cs +src/Apideck/Model/PaymentStatus.cs +src/Apideck/Model/PaymentType.cs src/Apideck/Model/PaymentUnit.cs src/Apideck/Model/PaymentsFilter.cs src/Apideck/Model/PaymentsSort.cs @@ -1897,6 +1962,7 @@ src/Apideck/Model/TimeOffRequestNotes.cs src/Apideck/Model/TimeOffRequestsFilter.cs src/Apideck/Model/TooManyRequestsResponse.cs src/Apideck/Model/TooManyRequestsResponseDetail.cs +src/Apideck/Model/TrackingCategory.cs src/Apideck/Model/TrackingItem.cs src/Apideck/Model/UnauthorizedResponse.cs src/Apideck/Model/UnexpectedErrorResponse.cs @@ -1910,6 +1976,7 @@ src/Apideck/Model/UpdateAccountingLocationResponse.cs src/Apideck/Model/UpdateActivityResponse.cs src/Apideck/Model/UpdateApplicantResponse.cs src/Apideck/Model/UpdateApplicationResponse.cs +src/Apideck/Model/UpdateBillPaymentResponse.cs src/Apideck/Model/UpdateBillResponse.cs src/Apideck/Model/UpdateCommentResponse.cs src/Apideck/Model/UpdateCompanyResponse.cs @@ -1927,6 +1994,7 @@ src/Apideck/Model/UpdateDriveResponse.cs src/Apideck/Model/UpdateEcommerceCustomerResponse.cs src/Apideck/Model/UpdateEcommerceOrderResponse.cs src/Apideck/Model/UpdateEmployeeResponse.cs +src/Apideck/Model/UpdateExpenseResponse.cs src/Apideck/Model/UpdateFileRequest.cs src/Apideck/Model/UpdateFileResponse.cs src/Apideck/Model/UpdateFolderRequest.cs @@ -1960,6 +2028,7 @@ src/Apideck/Model/UpdateTaxRateResponse.cs src/Apideck/Model/UpdateTenderResponse.cs src/Apideck/Model/UpdateTicketResponse.cs src/Apideck/Model/UpdateTimeOffRequestResponse.cs +src/Apideck/Model/UpdateTrackingCategoryResponse.cs src/Apideck/Model/UpdateUploadSessionResponse.cs src/Apideck/Model/UpdateUserResponse.cs src/Apideck/Model/UpdateWebhookRequest.cs diff --git a/src/gen/Apideck.sln b/src/gen/Apideck.sln index cb58679247..05c76425b8 100644 --- a/src/gen/Apideck.sln +++ b/src/gen/Apideck.sln @@ -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", "{4BF62DFC-3E01-4925-AF05-29F376ED33EB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apideck", "src\Apideck\Apideck.csproj", "{7890D5E3-8D3F-4DD0-887D-1850BE935FD1}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apideck.Test", "src\Apideck.Test\Apideck.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4BF62DFC-3E01-4925-AF05-29F376ED33EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4BF62DFC-3E01-4925-AF05-29F376ED33EB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4BF62DFC-3E01-4925-AF05-29F376ED33EB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4BF62DFC-3E01-4925-AF05-29F376ED33EB}.Release|Any CPU.Build.0 = Release|Any CPU + {7890D5E3-8D3F-4DD0-887D-1850BE935FD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7890D5E3-8D3F-4DD0-887D-1850BE935FD1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7890D5E3-8D3F-4DD0-887D-1850BE935FD1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7890D5E3-8D3F-4DD0-887D-1850BE935FD1}.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 diff --git a/src/gen/docs/AccountingApi.md b/src/gen/docs/AccountingApi.md index a715c41fb4..dc3617e9f4 100644 --- a/src/gen/docs/AccountingApi.md +++ b/src/gen/docs/AccountingApi.md @@ -9,6 +9,11 @@ Method | HTTP request | Description [**AttachmentsDownload**](AccountingApi.md#attachmentsdownload) | **GET** /accounting/attachments/{reference_type}/{reference_id}/{id}/download | Download Attachment [**AttachmentsOne**](AccountingApi.md#attachmentsone) | **GET** /accounting/attachments/{reference_type}/{reference_id}/{id} | Get Attachment [**BalanceSheetOne**](AccountingApi.md#balancesheetone) | **GET** /accounting/balance-sheet | Get BalanceSheet +[**BillPaymentsAdd**](AccountingApi.md#billpaymentsadd) | **POST** /accounting/bill-payments | Create Bill Payment +[**BillPaymentsAll**](AccountingApi.md#billpaymentsall) | **GET** /accounting/bill-payments | List Bill Payments +[**BillPaymentsDelete**](AccountingApi.md#billpaymentsdelete) | **DELETE** /accounting/bill-payments/{id} | Delete Bill Payment +[**BillPaymentsOne**](AccountingApi.md#billpaymentsone) | **GET** /accounting/bill-payments/{id} | Get Bill Payment +[**BillPaymentsUpdate**](AccountingApi.md#billpaymentsupdate) | **PATCH** /accounting/bill-payments/{id} | Update Bill Payment [**BillsAdd**](AccountingApi.md#billsadd) | **POST** /accounting/bills | Create Bill [**BillsAll**](AccountingApi.md#billsall) | **GET** /accounting/bills | List Bills [**BillsDelete**](AccountingApi.md#billsdelete) | **DELETE** /accounting/bills/{id} | Delete Bill @@ -30,6 +35,11 @@ Method | HTTP request | Description [**DepartmentsDelete**](AccountingApi.md#departmentsdelete) | **DELETE** /accounting/departments/{id} | Delete Department [**DepartmentsOne**](AccountingApi.md#departmentsone) | **GET** /accounting/departments/{id} | Get Department [**DepartmentsUpdate**](AccountingApi.md#departmentsupdate) | **PATCH** /accounting/departments/{id} | Update Department +[**ExpensesAdd**](AccountingApi.md#expensesadd) | **POST** /accounting/expenses | Create Expense +[**ExpensesAll**](AccountingApi.md#expensesall) | **GET** /accounting/expenses | List Expenses +[**ExpensesDelete**](AccountingApi.md#expensesdelete) | **DELETE** /accounting/expenses/{id} | Delete Expense +[**ExpensesOne**](AccountingApi.md#expensesone) | **GET** /accounting/expenses/{id} | Get Expense +[**ExpensesUpdate**](AccountingApi.md#expensesupdate) | **PATCH** /accounting/expenses/{id} | Update Expense [**InvoiceItemsAdd**](AccountingApi.md#invoiceitemsadd) | **POST** /accounting/invoice-items | Create Invoice Item [**InvoiceItemsAll**](AccountingApi.md#invoiceitemsall) | **GET** /accounting/invoice-items | List Invoice Items [**InvoiceItemsDelete**](AccountingApi.md#invoiceitemsdelete) | **DELETE** /accounting/invoice-items/{id} | Delete Invoice Item @@ -81,6 +91,11 @@ Method | HTTP request | Description [**TaxRatesDelete**](AccountingApi.md#taxratesdelete) | **DELETE** /accounting/tax-rates/{id} | Delete Tax Rate [**TaxRatesOne**](AccountingApi.md#taxratesone) | **GET** /accounting/tax-rates/{id} | Get Tax Rate [**TaxRatesUpdate**](AccountingApi.md#taxratesupdate) | **PATCH** /accounting/tax-rates/{id} | Update Tax Rate +[**TrackingCategoriesAdd**](AccountingApi.md#trackingcategoriesadd) | **POST** /accounting/tracking-categories | Create Tracking Category +[**TrackingCategoriesAll**](AccountingApi.md#trackingcategoriesall) | **GET** /accounting/tracking-categories | List Tracking Categories +[**TrackingCategoriesDelete**](AccountingApi.md#trackingcategoriesdelete) | **DELETE** /accounting/tracking-categories/{id} | Delete Tracking Category +[**TrackingCategoriesOne**](AccountingApi.md#trackingcategoriesone) | **GET** /accounting/tracking-categories/{id} | Get Tracking Category +[**TrackingCategoriesUpdate**](AccountingApi.md#trackingcategoriesupdate) | **PATCH** /accounting/tracking-categories/{id} | Update Tracking Category @@ -557,13 +572,13 @@ 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) - -# **BillsAdd** -> CreateBillResponse BillsAdd (Bill bill, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **BillPaymentsAdd** +> CreateBillPaymentResponse BillPaymentsAdd (BillPayment billPayment, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Bill +Create Bill Payment -Create Bill +Create Bill Payment ### Example ```csharp @@ -575,7 +590,7 @@ using Apideck.Model; namespace Example { - public class BillsAddExample + public class BillPaymentsAddExample { public static void Main() { @@ -587,7 +602,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var bill = new Bill(); // Bill | + var billPayment = new BillPayment(); // BillPayment | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -595,13 +610,13 @@ namespace Example try { - // Create Bill - CreateBillResponse result = apiInstance.BillsAdd(bill, raw, consumerId, appId, serviceId); + // Create Bill Payment + CreateBillPaymentResponse result = apiInstance.BillPaymentsAdd(billPayment, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.BillsAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillPaymentsAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -614,7 +629,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **bill** | [**Bill**](Bill.md)| | + **billPayment** | [**BillPayment**](BillPayment.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -622,7 +637,7 @@ Name | Type | Description | Notes ### Return type -[**CreateBillResponse**](CreateBillResponse.md) +[**CreateBillPaymentResponse**](CreateBillPaymentResponse.md) ### Authorization @@ -637,7 +652,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Bill created | - | +| **201** | Bill Payment created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -647,13 +662,13 @@ 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) - -# **BillsAll** -> GetBillsResponse BillsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, BillsFilter filter = null, BillsSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **BillPaymentsAll** +> GetBillPaymentsResponse BillPaymentsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, PaymentsFilter filter = null, PaymentsSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Bills +List Bill Payments -List Bills +List Bill Payments ### Example ```csharp @@ -665,7 +680,7 @@ using Apideck.Model; namespace Example { - public class BillsAllExample + public class BillPaymentsAllExample { public static void Main() { @@ -683,20 +698,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new BillsFilter(); // BillsFilter | Apply filters (optional) - var sort = new BillsSort(); // BillsSort | Apply sorting (optional) + var filter = new PaymentsFilter(); // PaymentsFilter | Apply filters (optional) + var sort = new PaymentsSort(); // PaymentsSort | Apply sorting (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Bills - GetBillsResponse result = apiInstance.BillsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Bill Payments + GetBillPaymentsResponse result = apiInstance.BillPaymentsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.BillsAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillPaymentsAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -715,14 +730,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**BillsFilter**](BillsFilter.md)| Apply filters | [optional] - **sort** | [**BillsSort**](BillsSort.md)| Apply sorting | [optional] + **filter** | [**PaymentsFilter**](PaymentsFilter.md)| Apply filters | [optional] + **sort** | [**PaymentsSort**](PaymentsSort.md)| Apply sorting | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetBillsResponse**](GetBillsResponse.md) +[**GetBillPaymentsResponse**](GetBillPaymentsResponse.md) ### Authorization @@ -737,7 +752,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bills | - | +| **200** | Bill Payments | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -747,13 +762,13 @@ 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) - -# **BillsDelete** -> DeleteBillResponse BillsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **BillPaymentsDelete** +> DeleteBillPaymentResponse BillPaymentsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Bill +Delete Bill Payment -Delete Bill +Delete Bill Payment ### Example ```csharp @@ -765,7 +780,7 @@ using Apideck.Model; namespace Example { - public class BillsDeleteExample + public class BillPaymentsDeleteExample { public static void Main() { @@ -785,13 +800,13 @@ namespace Example try { - // Delete Bill - DeleteBillResponse result = apiInstance.BillsDelete(id, consumerId, appId, serviceId, raw); + // Delete Bill Payment + DeleteBillPaymentResponse result = apiInstance.BillPaymentsDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.BillsDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillPaymentsDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -812,7 +827,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteBillResponse**](DeleteBillResponse.md) +[**DeleteBillPaymentResponse**](DeleteBillPaymentResponse.md) ### Authorization @@ -827,7 +842,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bill deleted | - | +| **200** | Bill Payment deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -837,13 +852,13 @@ 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) - -# **BillsOne** -> GetBillResponse BillsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **BillPaymentsOne** +> GetBillPaymentResponse BillPaymentsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Bill +Get Bill Payment -Get Bill +Get Bill Payment ### Example ```csharp @@ -855,7 +870,7 @@ using Apideck.Model; namespace Example { - public class BillsOneExample + public class BillPaymentsOneExample { public static void Main() { @@ -876,13 +891,13 @@ namespace Example try { - // Get Bill - GetBillResponse result = apiInstance.BillsOne(id, consumerId, appId, serviceId, raw, fields); + // Get Bill Payment + GetBillPaymentResponse result = apiInstance.BillPaymentsOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.BillsOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillPaymentsOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -904,7 +919,7 @@ Name | Type | Description | Notes ### Return type -[**GetBillResponse**](GetBillResponse.md) +[**GetBillPaymentResponse**](GetBillPaymentResponse.md) ### Authorization @@ -919,7 +934,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bill | - | +| **200** | Bill Payment | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -929,13 +944,13 @@ 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) - -# **BillsUpdate** -> UpdateBillResponse BillsUpdate (string id, Bill bill, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **BillPaymentsUpdate** +> UpdateBillPaymentResponse BillPaymentsUpdate (string id, BillPayment billPayment, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Bill +Update Bill Payment -Update Bill +Update Bill Payment ### Example ```csharp @@ -947,7 +962,7 @@ using Apideck.Model; namespace Example { - public class BillsUpdateExample + public class BillPaymentsUpdateExample { public static void Main() { @@ -960,7 +975,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var bill = new Bill(); // Bill | + var billPayment = new BillPayment(); // BillPayment | 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) 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) @@ -968,13 +983,13 @@ namespace Example try { - // Update Bill - UpdateBillResponse result = apiInstance.BillsUpdate(id, bill, consumerId, appId, serviceId, raw); + // Update Bill Payment + UpdateBillPaymentResponse result = apiInstance.BillPaymentsUpdate(id, billPayment, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.BillsUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillPaymentsUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -988,7 +1003,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **bill** | [**Bill**](Bill.md)| | + **billPayment** | [**BillPayment**](BillPayment.md)| | **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] **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] @@ -996,7 +1011,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateBillResponse**](UpdateBillResponse.md) +[**UpdateBillPaymentResponse**](UpdateBillPaymentResponse.md) ### Authorization @@ -1011,7 +1026,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bill Updated | - | +| **200** | Bill Payment updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1021,13 +1036,13 @@ 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) - -# **CompanyInfoOne** -> GetCompanyInfoResponse CompanyInfoOne (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string fields = null) + +# **BillsAdd** +> CreateBillResponse BillsAdd (Bill bill, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Get company info +Create Bill -Get company info +Create Bill ### Example ```csharp @@ -1039,7 +1054,7 @@ using Apideck.Model; namespace Example { - public class CompanyInfoOneExample + public class BillsAddExample { public static void Main() { @@ -1051,21 +1066,21 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); + var bill = new Bill(); // Bill | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) 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 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.

Example: `fields=name,email,addresses.city`

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) try { - // Get company info - GetCompanyInfoResponse result = apiInstance.CompanyInfoOne(raw, consumerId, appId, serviceId, fields); + // Create Bill + CreateBillResponse result = apiInstance.BillsAdd(bill, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CompanyInfoOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillsAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1078,15 +1093,15 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **bill** | [**Bill**](Bill.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] **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] - **fields** | **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] ### Return type -[**GetCompanyInfoResponse**](GetCompanyInfoResponse.md) +[**CreateBillResponse**](CreateBillResponse.md) ### Authorization @@ -1094,14 +1109,14 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | CompanyInfo | - | +| **201** | Bill created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1111,13 +1126,13 @@ 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) - -# **CreditNotesAdd** -> CreateCreditNoteResponse CreditNotesAdd (CreditNote creditNote, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **BillsAll** +> GetBillsResponse BillsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, BillsFilter filter = null, BillsSort sort = null, PassThroughQuery passThrough = null, string fields = null) -Create Credit Note +List Bills -Create Credit Note +List Bills ### Example ```csharp @@ -1129,7 +1144,7 @@ using Apideck.Model; namespace Example { - public class CreditNotesAddExample + public class BillsAllExample { public static void Main() { @@ -1141,21 +1156,26 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var creditNote = new CreditNote(); // CreditNote | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + var filter = new BillsFilter(); // BillsFilter | Apply filters (optional) + var sort = new BillsSort(); // BillsSort | Apply sorting (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + 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.

Example: `fields=name,email,addresses.city`

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) try { - // Create Credit Note - CreateCreditNoteResponse result = apiInstance.CreditNotesAdd(creditNote, raw, consumerId, appId, serviceId); + // List Bills + GetBillsResponse result = apiInstance.BillsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CreditNotesAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillsAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1168,15 +1188,20 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **creditNote** | [**CreditNote**](CreditNote.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] **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] + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **filter** | [**BillsFilter**](BillsFilter.md)| Apply filters | [optional] + **sort** | [**BillsSort**](BillsSort.md)| Apply sorting | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] + **fields** | **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] ### Return type -[**CreateCreditNoteResponse**](CreateCreditNoteResponse.md) +[**GetBillsResponse**](GetBillsResponse.md) ### Authorization @@ -1184,14 +1209,14 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Credit Note created | - | +| **200** | Bills | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1201,13 +1226,13 @@ 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) - -# **CreditNotesAll** -> GetCreditNotesResponse CreditNotesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, CreditNotesFilter filter = null, CreditNotesSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **BillsDelete** +> DeleteBillResponse BillsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -List Credit Notes +Delete Bill -List Credit Notes +Delete Bill ### Example ```csharp @@ -1219,7 +1244,7 @@ using Apideck.Model; namespace Example { - public class CreditNotesAllExample + public class BillsDeleteExample { public static void Main() { @@ -1231,26 +1256,21 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + var id = "id_example"; // string | ID of the record you are acting upon. 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) 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new CreditNotesFilter(); // CreditNotesFilter | Apply filters (optional) - var sort = new CreditNotesSort(); // CreditNotesSort | Apply sorting (optional) - var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - 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.

Example: `fields=name,email,addresses.city`

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 raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) try { - // List Credit Notes - GetCreditNotesResponse result = apiInstance.CreditNotesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // Delete Bill + DeleteBillResponse result = apiInstance.BillsDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CreditNotesAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillsDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1263,20 +1283,15 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **id** | **string**| ID of the record you are acting upon. | **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] **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] - **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**CreditNotesFilter**](CreditNotesFilter.md)| Apply filters | [optional] - **sort** | [**CreditNotesSort**](CreditNotesSort.md)| Apply sorting | [optional] - **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] - **fields** | **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] + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] ### Return type -[**GetCreditNotesResponse**](GetCreditNotesResponse.md) +[**DeleteBillResponse**](DeleteBillResponse.md) ### Authorization @@ -1291,7 +1306,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Credit Notes | - | +| **200** | Bill deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1301,13 +1316,13 @@ 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) - -# **CreditNotesDelete** -> DeleteCreditNoteResponse CreditNotesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **BillsOne** +> GetBillResponse BillsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Delete Credit Note +Get Bill -Delete Credit Note +Get Bill ### Example ```csharp @@ -1319,7 +1334,7 @@ using Apideck.Model; namespace Example { - public class CreditNotesDeleteExample + public class BillsOneExample { public static void Main() { @@ -1336,16 +1351,17 @@ namespace Example var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // Delete Credit Note - DeleteCreditNoteResponse result = apiInstance.CreditNotesDelete(id, consumerId, appId, serviceId, raw); + // Get Bill + GetBillResponse result = apiInstance.BillsOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CreditNotesDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillsOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1363,10 +1379,11 @@ Name | Type | Description | Notes **appId** | **string**| The ID of your Unify application | [optional] **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 '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] ### Return type -[**DeleteCreditNoteResponse**](DeleteCreditNoteResponse.md) +[**GetBillResponse**](GetBillResponse.md) ### Authorization @@ -1381,7 +1398,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Credit Note deleted | - | +| **200** | Bill | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1391,13 +1408,13 @@ 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) - -# **CreditNotesOne** -> GetCreditNoteResponse CreditNotesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **BillsUpdate** +> UpdateBillResponse BillsUpdate (string id, Bill bill, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Get Credit Note +Update Bill -Get Credit Note +Update Bill ### Example ```csharp @@ -1409,7 +1426,7 @@ using Apideck.Model; namespace Example { - public class CreditNotesOneExample + public class BillsUpdateExample { public static void Main() { @@ -1422,21 +1439,21 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. + var bill = new Bill(); // Bill | 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) 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.

Example: `fields=name,email,addresses.city`

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) try { - // Get Credit Note - GetCreditNoteResponse result = apiInstance.CreditNotesOne(id, consumerId, appId, serviceId, raw, fields); + // Update Bill + UpdateBillResponse result = apiInstance.BillsUpdate(id, bill, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CreditNotesOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.BillsUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1450,15 +1467,15 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | + **bill** | [**Bill**](Bill.md)| | **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] **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 '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] ### Return type -[**GetCreditNoteResponse**](GetCreditNoteResponse.md) +[**UpdateBillResponse**](UpdateBillResponse.md) ### Authorization @@ -1466,14 +1483,14 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Credit Note | - | +| **200** | Bill Updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1483,13 +1500,13 @@ 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) - -# **CreditNotesUpdate** -> UpdateCreditNoteResponse CreditNotesUpdate (string id, CreditNote creditNote, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **CompanyInfoOne** +> GetCompanyInfoResponse CompanyInfoOne (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string fields = null) -Update Credit Note +Get company info -Update Credit Note +Get company info ### Example ```csharp @@ -1501,7 +1518,7 @@ using Apideck.Model; namespace Example { - public class CreditNotesUpdateExample + public class CompanyInfoOneExample { public static void Main() { @@ -1513,22 +1530,21 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var id = "id_example"; // string | ID of the record you are acting upon. - var creditNote = new CreditNote(); // CreditNote | + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) 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.

Example: `fields=name,email,addresses.city`

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) try { - // Update Credit Note - UpdateCreditNoteResponse result = apiInstance.CreditNotesUpdate(id, creditNote, consumerId, appId, serviceId, raw); + // Get company info + GetCompanyInfoResponse result = apiInstance.CompanyInfoOne(raw, consumerId, appId, serviceId, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CreditNotesUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CompanyInfoOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1541,16 +1557,15 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **string**| ID of the record you are acting upon. | - **creditNote** | [**CreditNote**](CreditNote.md)| | + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] **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 '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] ### Return type -[**UpdateCreditNoteResponse**](UpdateCreditNoteResponse.md) +[**GetCompanyInfoResponse**](GetCompanyInfoResponse.md) ### Authorization @@ -1558,14 +1573,14 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Credit Note updated | - | +| **200** | CompanyInfo | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1575,13 +1590,13 @@ 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) - -# **CustomersAdd** -> CreateCustomerResponse CustomersAdd (Customer customer, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **CreditNotesAdd** +> CreateCreditNoteResponse CreditNotesAdd (CreditNote creditNote, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Customer +Create Credit Note -Create Customer +Create Credit Note ### Example ```csharp @@ -1593,7 +1608,7 @@ using Apideck.Model; namespace Example { - public class CustomersAddExample + public class CreditNotesAddExample { public static void Main() { @@ -1605,7 +1620,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var customer = new Customer(); // Customer | + var creditNote = new CreditNote(); // CreditNote | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -1613,13 +1628,13 @@ namespace Example try { - // Create Customer - CreateCustomerResponse result = apiInstance.CustomersAdd(customer, raw, consumerId, appId, serviceId); + // Create Credit Note + CreateCreditNoteResponse result = apiInstance.CreditNotesAdd(creditNote, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CustomersAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CreditNotesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1632,7 +1647,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **customer** | [**Customer**](Customer.md)| | + **creditNote** | [**CreditNote**](CreditNote.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -1640,7 +1655,7 @@ Name | Type | Description | Notes ### Return type -[**CreateCustomerResponse**](CreateCustomerResponse.md) +[**CreateCreditNoteResponse**](CreateCreditNoteResponse.md) ### Authorization @@ -1655,7 +1670,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Customers | - | +| **201** | Credit Note created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1665,13 +1680,13 @@ 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) - -# **CustomersAll** -> GetCustomersResponse CustomersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, CustomersFilter filter = null, CustomersSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **CreditNotesAll** +> GetCreditNotesResponse CreditNotesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, CreditNotesFilter filter = null, CreditNotesSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Customers +List Credit Notes -List Customers +List Credit Notes ### Example ```csharp @@ -1683,7 +1698,7 @@ using Apideck.Model; namespace Example { - public class CustomersAllExample + public class CreditNotesAllExample { public static void Main() { @@ -1701,20 +1716,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new CustomersFilter(); // CustomersFilter | Apply filters (optional) - var sort = new CustomersSort(); // CustomersSort | Apply sorting (optional) + var filter = new CreditNotesFilter(); // CreditNotesFilter | Apply filters (optional) + var sort = new CreditNotesSort(); // CreditNotesSort | Apply sorting (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Customers - GetCustomersResponse result = apiInstance.CustomersAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Credit Notes + GetCreditNotesResponse result = apiInstance.CreditNotesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CustomersAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CreditNotesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1733,14 +1748,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**CustomersFilter**](CustomersFilter.md)| Apply filters | [optional] - **sort** | [**CustomersSort**](CustomersSort.md)| Apply sorting | [optional] + **filter** | [**CreditNotesFilter**](CreditNotesFilter.md)| Apply filters | [optional] + **sort** | [**CreditNotesSort**](CreditNotesSort.md)| Apply sorting | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetCustomersResponse**](GetCustomersResponse.md) +[**GetCreditNotesResponse**](GetCreditNotesResponse.md) ### Authorization @@ -1755,7 +1770,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Customers | - | +| **200** | Credit Notes | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1765,13 +1780,13 @@ 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) - -# **CustomersDelete** -> DeleteCustomerResponse CustomersDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **CreditNotesDelete** +> DeleteCreditNoteResponse CreditNotesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Customer +Delete Credit Note -Delete Customer +Delete Credit Note ### Example ```csharp @@ -1783,7 +1798,7 @@ using Apideck.Model; namespace Example { - public class CustomersDeleteExample + public class CreditNotesDeleteExample { public static void Main() { @@ -1803,13 +1818,13 @@ namespace Example try { - // Delete Customer - DeleteCustomerResponse result = apiInstance.CustomersDelete(id, consumerId, appId, serviceId, raw); + // Delete Credit Note + DeleteCreditNoteResponse result = apiInstance.CreditNotesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CustomersDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CreditNotesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1830,7 +1845,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCustomerResponse**](DeleteCustomerResponse.md) +[**DeleteCreditNoteResponse**](DeleteCreditNoteResponse.md) ### Authorization @@ -1845,7 +1860,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Customers | - | +| **200** | Credit Note deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1855,13 +1870,13 @@ 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) - -# **CustomersOne** -> GetCustomerResponse CustomersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **CreditNotesOne** +> GetCreditNoteResponse CreditNotesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Customer +Get Credit Note -Get Customer +Get Credit Note ### Example ```csharp @@ -1873,7 +1888,7 @@ using Apideck.Model; namespace Example { - public class CustomersOneExample + public class CreditNotesOneExample { public static void Main() { @@ -1894,13 +1909,13 @@ namespace Example try { - // Get Customer - GetCustomerResponse result = apiInstance.CustomersOne(id, consumerId, appId, serviceId, raw, fields); + // Get Credit Note + GetCreditNoteResponse result = apiInstance.CreditNotesOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CustomersOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CreditNotesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -1922,7 +1937,7 @@ Name | Type | Description | Notes ### Return type -[**GetCustomerResponse**](GetCustomerResponse.md) +[**GetCreditNoteResponse**](GetCreditNoteResponse.md) ### Authorization @@ -1937,7 +1952,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Customer | - | +| **200** | Credit Note | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -1947,13 +1962,13 @@ 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) - -# **CustomersUpdate** -> UpdateCustomerResponse CustomersUpdate (string id, Customer customer, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **CreditNotesUpdate** +> UpdateCreditNoteResponse CreditNotesUpdate (string id, CreditNote creditNote, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Customer +Update Credit Note -Update Customer +Update Credit Note ### Example ```csharp @@ -1965,7 +1980,7 @@ using Apideck.Model; namespace Example { - public class CustomersUpdateExample + public class CreditNotesUpdateExample { public static void Main() { @@ -1978,7 +1993,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var customer = new Customer(); // Customer | + var creditNote = new CreditNote(); // CreditNote | 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) 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) @@ -1986,13 +2001,13 @@ namespace Example try { - // Update Customer - UpdateCustomerResponse result = apiInstance.CustomersUpdate(id, customer, consumerId, appId, serviceId, raw); + // Update Credit Note + UpdateCreditNoteResponse result = apiInstance.CreditNotesUpdate(id, creditNote, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.CustomersUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CreditNotesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2006,7 +2021,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **customer** | [**Customer**](Customer.md)| | + **creditNote** | [**CreditNote**](CreditNote.md)| | **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] **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] @@ -2014,7 +2029,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateCustomerResponse**](UpdateCustomerResponse.md) +[**UpdateCreditNoteResponse**](UpdateCreditNoteResponse.md) ### Authorization @@ -2029,7 +2044,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Customers | - | +| **200** | Credit Note updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2039,13 +2054,13 @@ 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) - -# **DepartmentsAdd** -> CreateAccountingDepartmentResponse DepartmentsAdd (AccountingDepartment accountingDepartment, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **CustomersAdd** +> CreateCustomerResponse CustomersAdd (Customer customer, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Department +Create Customer -Create Department +Create Customer ### Example ```csharp @@ -2057,7 +2072,7 @@ using Apideck.Model; namespace Example { - public class DepartmentsAddExample + public class CustomersAddExample { public static void Main() { @@ -2069,7 +2084,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var accountingDepartment = new AccountingDepartment(); // AccountingDepartment | + var customer = new Customer(); // Customer | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -2077,13 +2092,13 @@ namespace Example try { - // Create Department - CreateAccountingDepartmentResponse result = apiInstance.DepartmentsAdd(accountingDepartment, raw, consumerId, appId, serviceId); + // Create Customer + CreateCustomerResponse result = apiInstance.CustomersAdd(customer, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.DepartmentsAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CustomersAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2096,7 +2111,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **accountingDepartment** | [**AccountingDepartment**](AccountingDepartment.md)| | + **customer** | [**Customer**](Customer.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -2104,7 +2119,7 @@ Name | Type | Description | Notes ### Return type -[**CreateAccountingDepartmentResponse**](CreateAccountingDepartmentResponse.md) +[**CreateCustomerResponse**](CreateCustomerResponse.md) ### Authorization @@ -2119,7 +2134,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Department | - | +| **201** | Customers | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2129,13 +2144,13 @@ 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) - -# **DepartmentsAll** -> GetAccountingDepartmentsResponse DepartmentsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, string fields = null, AccountingDepartmentsFilter filter = null) + +# **CustomersAll** +> GetCustomersResponse CustomersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, CustomersFilter filter = null, CustomersSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Departments +List Customers -List Departments +List Customers ### Example ```csharp @@ -2147,7 +2162,7 @@ using Apideck.Model; namespace Example { - public class DepartmentsAllExample + public class CustomersAllExample { public static void Main() { @@ -2165,18 +2180,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + var filter = new CustomersFilter(); // CustomersFilter | Apply filters (optional) + var sort = new CustomersSort(); // CustomersSort | Apply sorting (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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 AccountingDepartmentsFilter(); // AccountingDepartmentsFilter | Apply filters (optional) try { - // List Departments - GetAccountingDepartmentsResponse result = apiInstance.DepartmentsAll(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); + // List Customers + GetCustomersResponse result = apiInstance.CustomersAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.DepartmentsAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CustomersAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2195,12 +2212,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **filter** | [**CustomersFilter**](CustomersFilter.md)| Apply filters | [optional] + **sort** | [**CustomersSort**](CustomersSort.md)| Apply sorting | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] - **filter** | [**AccountingDepartmentsFilter**](AccountingDepartmentsFilter.md)| Apply filters | [optional] ### Return type -[**GetAccountingDepartmentsResponse**](GetAccountingDepartmentsResponse.md) +[**GetCustomersResponse**](GetCustomersResponse.md) ### Authorization @@ -2215,7 +2234,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Departments | - | +| **200** | Customers | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2225,13 +2244,13 @@ 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) - -# **DepartmentsDelete** -> DeleteAccountingDepartmentResponse DepartmentsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **CustomersDelete** +> DeleteCustomerResponse CustomersDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Department +Delete Customer -Delete Department +Delete Customer ### Example ```csharp @@ -2243,7 +2262,7 @@ using Apideck.Model; namespace Example { - public class DepartmentsDeleteExample + public class CustomersDeleteExample { public static void Main() { @@ -2263,13 +2282,13 @@ namespace Example try { - // Delete Department - DeleteAccountingDepartmentResponse result = apiInstance.DepartmentsDelete(id, consumerId, appId, serviceId, raw); + // Delete Customer + DeleteCustomerResponse result = apiInstance.CustomersDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.DepartmentsDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CustomersDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2290,7 +2309,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteAccountingDepartmentResponse**](DeleteAccountingDepartmentResponse.md) +[**DeleteCustomerResponse**](DeleteCustomerResponse.md) ### Authorization @@ -2305,7 +2324,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Department deleted | - | +| **200** | Customers | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2315,13 +2334,13 @@ 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) - -# **DepartmentsOne** -> GetAccountingDepartmentResponse DepartmentsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **CustomersOne** +> GetCustomerResponse CustomersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Department +Get Customer -Get Department +Get Customer ### Example ```csharp @@ -2333,7 +2352,7 @@ using Apideck.Model; namespace Example { - public class DepartmentsOneExample + public class CustomersOneExample { public static void Main() { @@ -2354,13 +2373,13 @@ namespace Example try { - // Get Department - GetAccountingDepartmentResponse result = apiInstance.DepartmentsOne(id, consumerId, appId, serviceId, raw, fields); + // Get Customer + GetCustomerResponse result = apiInstance.CustomersOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.DepartmentsOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CustomersOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2382,7 +2401,7 @@ Name | Type | Description | Notes ### Return type -[**GetAccountingDepartmentResponse**](GetAccountingDepartmentResponse.md) +[**GetCustomerResponse**](GetCustomerResponse.md) ### Authorization @@ -2397,7 +2416,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Location | - | +| **200** | Customer | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2407,13 +2426,13 @@ 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) - -# **DepartmentsUpdate** -> UpdateAccountingDepartmentResponse DepartmentsUpdate (string id, AccountingDepartment accountingDepartment, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **CustomersUpdate** +> UpdateCustomerResponse CustomersUpdate (string id, Customer customer, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Department +Update Customer -Update Department +Update Customer ### Example ```csharp @@ -2425,7 +2444,7 @@ using Apideck.Model; namespace Example { - public class DepartmentsUpdateExample + public class CustomersUpdateExample { public static void Main() { @@ -2438,7 +2457,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var accountingDepartment = new AccountingDepartment(); // AccountingDepartment | + var customer = new Customer(); // Customer | 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) 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) @@ -2446,13 +2465,13 @@ namespace Example try { - // Update Department - UpdateAccountingDepartmentResponse result = apiInstance.DepartmentsUpdate(id, accountingDepartment, consumerId, appId, serviceId, raw); + // Update Customer + UpdateCustomerResponse result = apiInstance.CustomersUpdate(id, customer, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.DepartmentsUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.CustomersUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2466,7 +2485,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **accountingDepartment** | [**AccountingDepartment**](AccountingDepartment.md)| | + **customer** | [**Customer**](Customer.md)| | **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] **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] @@ -2474,7 +2493,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateAccountingDepartmentResponse**](UpdateAccountingDepartmentResponse.md) +[**UpdateCustomerResponse**](UpdateCustomerResponse.md) ### Authorization @@ -2489,7 +2508,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Department | - | +| **200** | Customers | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2499,13 +2518,13 @@ 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) - -# **InvoiceItemsAdd** -> CreateInvoiceItemResponse InvoiceItemsAdd (InvoiceItem invoiceItem, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **DepartmentsAdd** +> CreateAccountingDepartmentResponse DepartmentsAdd (AccountingDepartment accountingDepartment, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Invoice Item +Create Department -Create Invoice Item +Create Department ### Example ```csharp @@ -2517,7 +2536,7 @@ using Apideck.Model; namespace Example { - public class InvoiceItemsAddExample + public class DepartmentsAddExample { public static void Main() { @@ -2529,7 +2548,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var invoiceItem = new InvoiceItem(); // InvoiceItem | + var accountingDepartment = new AccountingDepartment(); // AccountingDepartment | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -2537,13 +2556,13 @@ namespace Example try { - // Create Invoice Item - CreateInvoiceItemResponse result = apiInstance.InvoiceItemsAdd(invoiceItem, raw, consumerId, appId, serviceId); + // Create Department + CreateAccountingDepartmentResponse result = apiInstance.DepartmentsAdd(accountingDepartment, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoiceItemsAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.DepartmentsAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2556,7 +2575,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **invoiceItem** | [**InvoiceItem**](InvoiceItem.md)| | + **accountingDepartment** | [**AccountingDepartment**](AccountingDepartment.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -2564,7 +2583,7 @@ Name | Type | Description | Notes ### Return type -[**CreateInvoiceItemResponse**](CreateInvoiceItemResponse.md) +[**CreateAccountingDepartmentResponse**](CreateAccountingDepartmentResponse.md) ### Authorization @@ -2579,7 +2598,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | InvoiceItems | - | +| **201** | Department | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2589,13 +2608,13 @@ 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) - -# **InvoiceItemsAll** -> GetInvoiceItemsResponse InvoiceItemsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, InvoiceItemsFilter filter = null, PassThroughQuery passThrough = null, string fields = null) + +# **DepartmentsAll** +> GetAccountingDepartmentsResponse DepartmentsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, string fields = null, AccountingDepartmentsFilter filter = null) -List Invoice Items +List Departments -List Invoice Items +List Departments ### Example ```csharp @@ -2607,7 +2626,7 @@ using Apideck.Model; namespace Example { - public class InvoiceItemsAllExample + public class DepartmentsAllExample { public static void Main() { @@ -2625,19 +2644,18 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new InvoiceItemsFilter(); // InvoiceItemsFilter | Apply filters (optional) - var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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 AccountingDepartmentsFilter(); // AccountingDepartmentsFilter | Apply filters (optional) try { - // List Invoice Items - GetInvoiceItemsResponse result = apiInstance.InvoiceItemsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); + // List Departments + GetAccountingDepartmentsResponse result = apiInstance.DepartmentsAll(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoiceItemsAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.DepartmentsAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2656,13 +2674,12 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**InvoiceItemsFilter**](InvoiceItemsFilter.md)| Apply filters | [optional] - **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] + **filter** | [**AccountingDepartmentsFilter**](AccountingDepartmentsFilter.md)| Apply filters | [optional] ### Return type -[**GetInvoiceItemsResponse**](GetInvoiceItemsResponse.md) +[**GetAccountingDepartmentsResponse**](GetAccountingDepartmentsResponse.md) ### Authorization @@ -2677,7 +2694,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | InvoiceItems | - | +| **200** | Departments | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2687,13 +2704,13 @@ 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) - -# **InvoiceItemsDelete** -> DeleteTaxRateResponse InvoiceItemsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **DepartmentsDelete** +> DeleteAccountingDepartmentResponse DepartmentsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Invoice Item +Delete Department -Delete Invoice Item +Delete Department ### Example ```csharp @@ -2705,7 +2722,7 @@ using Apideck.Model; namespace Example { - public class InvoiceItemsDeleteExample + public class DepartmentsDeleteExample { public static void Main() { @@ -2725,13 +2742,13 @@ namespace Example try { - // Delete Invoice Item - DeleteTaxRateResponse result = apiInstance.InvoiceItemsDelete(id, consumerId, appId, serviceId, raw); + // Delete Department + DeleteAccountingDepartmentResponse result = apiInstance.DepartmentsDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoiceItemsDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.DepartmentsDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2752,7 +2769,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTaxRateResponse**](DeleteTaxRateResponse.md) +[**DeleteAccountingDepartmentResponse**](DeleteAccountingDepartmentResponse.md) ### Authorization @@ -2767,7 +2784,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | InvoiceItems | - | +| **200** | Department deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2777,13 +2794,13 @@ 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) - -# **InvoiceItemsOne** -> GetInvoiceItemResponse InvoiceItemsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **DepartmentsOne** +> GetAccountingDepartmentResponse DepartmentsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Invoice Item +Get Department -Get Invoice Item +Get Department ### Example ```csharp @@ -2795,7 +2812,7 @@ using Apideck.Model; namespace Example { - public class InvoiceItemsOneExample + public class DepartmentsOneExample { public static void Main() { @@ -2816,13 +2833,13 @@ namespace Example try { - // Get Invoice Item - GetInvoiceItemResponse result = apiInstance.InvoiceItemsOne(id, consumerId, appId, serviceId, raw, fields); + // Get Department + GetAccountingDepartmentResponse result = apiInstance.DepartmentsOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoiceItemsOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.DepartmentsOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2844,7 +2861,7 @@ Name | Type | Description | Notes ### Return type -[**GetInvoiceItemResponse**](GetInvoiceItemResponse.md) +[**GetAccountingDepartmentResponse**](GetAccountingDepartmentResponse.md) ### Authorization @@ -2859,7 +2876,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | InvoiceItems | - | +| **200** | Location | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2869,13 +2886,13 @@ 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) - -# **InvoiceItemsUpdate** -> UpdateInvoiceItemsResponse InvoiceItemsUpdate (string id, InvoiceItem invoiceItem, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **DepartmentsUpdate** +> UpdateAccountingDepartmentResponse DepartmentsUpdate (string id, AccountingDepartment accountingDepartment, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Invoice Item +Update Department -Update Invoice Item +Update Department ### Example ```csharp @@ -2887,7 +2904,7 @@ using Apideck.Model; namespace Example { - public class InvoiceItemsUpdateExample + public class DepartmentsUpdateExample { public static void Main() { @@ -2900,7 +2917,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var invoiceItem = new InvoiceItem(); // InvoiceItem | + var accountingDepartment = new AccountingDepartment(); // AccountingDepartment | 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) 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) @@ -2908,13 +2925,13 @@ namespace Example try { - // Update Invoice Item - UpdateInvoiceItemsResponse result = apiInstance.InvoiceItemsUpdate(id, invoiceItem, consumerId, appId, serviceId, raw); + // Update Department + UpdateAccountingDepartmentResponse result = apiInstance.DepartmentsUpdate(id, accountingDepartment, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoiceItemsUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.DepartmentsUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -2928,7 +2945,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **invoiceItem** | [**InvoiceItem**](InvoiceItem.md)| | + **accountingDepartment** | [**AccountingDepartment**](AccountingDepartment.md)| | **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] **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] @@ -2936,7 +2953,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateInvoiceItemsResponse**](UpdateInvoiceItemsResponse.md) +[**UpdateAccountingDepartmentResponse**](UpdateAccountingDepartmentResponse.md) ### Authorization @@ -2951,7 +2968,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | InvoiceItems | - | +| **200** | Department | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -2961,13 +2978,13 @@ 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) - -# **InvoicesAdd** -> CreateInvoiceResponse InvoicesAdd (Invoice invoice, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **ExpensesAdd** +> CreateExpenseResponse ExpensesAdd (Expense expense, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Invoice +Create Expense -Create Invoice +Create Expense ### Example ```csharp @@ -2979,7 +2996,7 @@ using Apideck.Model; namespace Example { - public class InvoicesAddExample + public class ExpensesAddExample { public static void Main() { @@ -2991,7 +3008,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var invoice = new Invoice(); // Invoice | + var expense = new Expense(); // Expense | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -2999,13 +3016,13 @@ namespace Example try { - // Create Invoice - CreateInvoiceResponse result = apiInstance.InvoicesAdd(invoice, raw, consumerId, appId, serviceId); + // Create Expense + CreateExpenseResponse result = apiInstance.ExpensesAdd(expense, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoicesAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.ExpensesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3018,7 +3035,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **invoice** | [**Invoice**](Invoice.md)| | + **expense** | [**Expense**](Expense.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -3026,7 +3043,7 @@ Name | Type | Description | Notes ### Return type -[**CreateInvoiceResponse**](CreateInvoiceResponse.md) +[**CreateExpenseResponse**](CreateExpenseResponse.md) ### Authorization @@ -3041,7 +3058,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Invoice created | - | +| **201** | Expenses | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3051,13 +3068,13 @@ 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) - -# **InvoicesAll** -> GetInvoicesResponse InvoicesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, InvoicesFilter filter = null, InvoicesSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **ExpensesAll** +> GetExpensesResponse ExpensesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null) -List Invoices +List Expenses -List Invoices +List Expenses ### Example ```csharp @@ -3069,7 +3086,7 @@ using Apideck.Model; namespace Example { - public class InvoicesAllExample + public class ExpensesAllExample { public static void Main() { @@ -3087,20 +3104,16 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new InvoicesFilter(); // InvoicesFilter | Apply filters (optional) - var sort = new InvoicesSort(); // InvoicesSort | Apply sorting (optional) - var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Invoices - GetInvoicesResponse result = apiInstance.InvoicesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Expenses + GetExpensesResponse result = apiInstance.ExpensesAll(raw, consumerId, appId, serviceId, cursor, limit); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoicesAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.ExpensesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3119,14 +3132,10 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**InvoicesFilter**](InvoicesFilter.md)| Apply filters | [optional] - **sort** | [**InvoicesSort**](InvoicesSort.md)| Apply sorting | [optional] - **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] - **fields** | **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] ### Return type -[**GetInvoicesResponse**](GetInvoicesResponse.md) +[**GetExpensesResponse**](GetExpensesResponse.md) ### Authorization @@ -3141,7 +3150,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Invoices | - | +| **200** | Expenses | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3151,13 +3160,13 @@ 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) - -# **InvoicesDelete** -> DeleteInvoiceResponse InvoicesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **ExpensesDelete** +> DeleteExpenseResponse ExpensesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Invoice +Delete Expense -Delete Invoice +Delete Expense ### Example ```csharp @@ -3169,7 +3178,7 @@ using Apideck.Model; namespace Example { - public class InvoicesDeleteExample + public class ExpensesDeleteExample { public static void Main() { @@ -3189,13 +3198,13 @@ namespace Example try { - // Delete Invoice - DeleteInvoiceResponse result = apiInstance.InvoicesDelete(id, consumerId, appId, serviceId, raw); + // Delete Expense + DeleteExpenseResponse result = apiInstance.ExpensesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoicesDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.ExpensesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3216,7 +3225,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteInvoiceResponse**](DeleteInvoiceResponse.md) +[**DeleteExpenseResponse**](DeleteExpenseResponse.md) ### Authorization @@ -3231,7 +3240,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Invoice deleted | - | +| **200** | Expenses | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3241,13 +3250,13 @@ 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) - -# **InvoicesOne** -> GetInvoiceResponse InvoicesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **ExpensesOne** +> GetExpenseResponse ExpensesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Get Invoice +Get Expense -Get Invoice +Get Expense ### Example ```csharp @@ -3259,7 +3268,7 @@ using Apideck.Model; namespace Example { - public class InvoicesOneExample + public class ExpensesOneExample { public static void Main() { @@ -3276,17 +3285,16 @@ namespace Example var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // Get Invoice - GetInvoiceResponse result = apiInstance.InvoicesOne(id, consumerId, appId, serviceId, raw, fields); + // Get Expense + GetExpenseResponse result = apiInstance.ExpensesOne(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoicesOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.ExpensesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3304,11 +3312,10 @@ Name | Type | Description | Notes **appId** | **string**| The ID of your Unify application | [optional] **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 '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] ### Return type -[**GetInvoiceResponse**](GetInvoiceResponse.md) +[**GetExpenseResponse**](GetExpenseResponse.md) ### Authorization @@ -3323,7 +3330,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Invoice | - | +| **200** | Expenses | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3333,13 +3340,13 @@ 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) - -# **InvoicesUpdate** -> UpdateInvoiceResponse InvoicesUpdate (string id, Invoice invoice, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **ExpensesUpdate** +> UpdateExpenseResponse ExpensesUpdate (string id, Expense expense, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Invoice +Update Expense -Update Invoice +Update Expense ### Example ```csharp @@ -3351,7 +3358,7 @@ using Apideck.Model; namespace Example { - public class InvoicesUpdateExample + public class ExpensesUpdateExample { public static void Main() { @@ -3364,7 +3371,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var invoice = new Invoice(); // Invoice | + var expense = new Expense(); // Expense | 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) 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) @@ -3372,13 +3379,13 @@ namespace Example try { - // Update Invoice - UpdateInvoiceResponse result = apiInstance.InvoicesUpdate(id, invoice, consumerId, appId, serviceId, raw); + // Update Expense + UpdateExpenseResponse result = apiInstance.ExpensesUpdate(id, expense, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.InvoicesUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.ExpensesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3392,7 +3399,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **invoice** | [**Invoice**](Invoice.md)| | + **expense** | [**Expense**](Expense.md)| | **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] **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] @@ -3400,7 +3407,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateInvoiceResponse**](UpdateInvoiceResponse.md) +[**UpdateExpenseResponse**](UpdateExpenseResponse.md) ### Authorization @@ -3415,7 +3422,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Invoice updated | - | +| **200** | Expenses | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3425,13 +3432,13 @@ 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) - -# **JournalEntriesAdd** -> CreateJournalEntryResponse JournalEntriesAdd (JournalEntry journalEntry, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **InvoiceItemsAdd** +> CreateInvoiceItemResponse InvoiceItemsAdd (InvoiceItem invoiceItem, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Journal Entry +Create Invoice Item -Create Journal Entry +Create Invoice Item ### Example ```csharp @@ -3443,7 +3450,7 @@ using Apideck.Model; namespace Example { - public class JournalEntriesAddExample + public class InvoiceItemsAddExample { public static void Main() { @@ -3455,7 +3462,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var journalEntry = new JournalEntry(); // JournalEntry | + var invoiceItem = new InvoiceItem(); // InvoiceItem | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -3463,13 +3470,13 @@ namespace Example try { - // Create Journal Entry - CreateJournalEntryResponse result = apiInstance.JournalEntriesAdd(journalEntry, raw, consumerId, appId, serviceId); + // Create Invoice Item + CreateInvoiceItemResponse result = apiInstance.InvoiceItemsAdd(invoiceItem, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.JournalEntriesAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoiceItemsAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3482,7 +3489,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **journalEntry** | [**JournalEntry**](JournalEntry.md)| | + **invoiceItem** | [**InvoiceItem**](InvoiceItem.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -3490,7 +3497,7 @@ Name | Type | Description | Notes ### Return type -[**CreateJournalEntryResponse**](CreateJournalEntryResponse.md) +[**CreateInvoiceItemResponse**](CreateInvoiceItemResponse.md) ### Authorization @@ -3505,7 +3512,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | JournalEntries | - | +| **201** | InvoiceItems | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3515,13 +3522,13 @@ 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) - -# **JournalEntriesAll** -> GetJournalEntriesResponse JournalEntriesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, JournalEntriesFilter filter = null, JournalEntriesSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **InvoiceItemsAll** +> GetInvoiceItemsResponse InvoiceItemsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, InvoiceItemsFilter filter = null, PassThroughQuery passThrough = null, string fields = null) -List Journal Entries +List Invoice Items -List Journal Entries +List Invoice Items ### Example ```csharp @@ -3533,7 +3540,7 @@ using Apideck.Model; namespace Example { - public class JournalEntriesAllExample + public class InvoiceItemsAllExample { public static void Main() { @@ -3551,20 +3558,19 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new JournalEntriesFilter(); // JournalEntriesFilter | Apply filters (optional) - var sort = new JournalEntriesSort(); // JournalEntriesSort | Apply sorting (optional) + var filter = new InvoiceItemsFilter(); // InvoiceItemsFilter | Apply filters (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Journal Entries - GetJournalEntriesResponse result = apiInstance.JournalEntriesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Invoice Items + GetInvoiceItemsResponse result = apiInstance.InvoiceItemsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.JournalEntriesAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoiceItemsAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3583,14 +3589,13 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**JournalEntriesFilter**](JournalEntriesFilter.md)| Apply filters | [optional] - **sort** | [**JournalEntriesSort**](JournalEntriesSort.md)| Apply sorting | [optional] + **filter** | [**InvoiceItemsFilter**](InvoiceItemsFilter.md)| Apply filters | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetJournalEntriesResponse**](GetJournalEntriesResponse.md) +[**GetInvoiceItemsResponse**](GetInvoiceItemsResponse.md) ### Authorization @@ -3605,7 +3610,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | JournalEntry | - | +| **200** | InvoiceItems | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3615,13 +3620,13 @@ 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) - -# **JournalEntriesDelete** -> DeleteJournalEntryResponse JournalEntriesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **InvoiceItemsDelete** +> DeleteTaxRateResponse InvoiceItemsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Journal Entry +Delete Invoice Item -Delete Journal Entry +Delete Invoice Item ### Example ```csharp @@ -3633,7 +3638,7 @@ using Apideck.Model; namespace Example { - public class JournalEntriesDeleteExample + public class InvoiceItemsDeleteExample { public static void Main() { @@ -3653,13 +3658,13 @@ namespace Example try { - // Delete Journal Entry - DeleteJournalEntryResponse result = apiInstance.JournalEntriesDelete(id, consumerId, appId, serviceId, raw); + // Delete Invoice Item + DeleteTaxRateResponse result = apiInstance.InvoiceItemsDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.JournalEntriesDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoiceItemsDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3680,7 +3685,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteJournalEntryResponse**](DeleteJournalEntryResponse.md) +[**DeleteTaxRateResponse**](DeleteTaxRateResponse.md) ### Authorization @@ -3695,7 +3700,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | JournalEntries | - | +| **200** | InvoiceItems | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3705,13 +3710,13 @@ 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) - -# **JournalEntriesOne** -> GetJournalEntryResponse JournalEntriesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **InvoiceItemsOne** +> GetInvoiceItemResponse InvoiceItemsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Journal Entry +Get Invoice Item -Get Journal Entry +Get Invoice Item ### Example ```csharp @@ -3723,7 +3728,7 @@ using Apideck.Model; namespace Example { - public class JournalEntriesOneExample + public class InvoiceItemsOneExample { public static void Main() { @@ -3744,13 +3749,13 @@ namespace Example try { - // Get Journal Entry - GetJournalEntryResponse result = apiInstance.JournalEntriesOne(id, consumerId, appId, serviceId, raw, fields); + // Get Invoice Item + GetInvoiceItemResponse result = apiInstance.InvoiceItemsOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.JournalEntriesOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoiceItemsOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3772,7 +3777,7 @@ Name | Type | Description | Notes ### Return type -[**GetJournalEntryResponse**](GetJournalEntryResponse.md) +[**GetInvoiceItemResponse**](GetInvoiceItemResponse.md) ### Authorization @@ -3787,7 +3792,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | JournalEntries | - | +| **200** | InvoiceItems | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3797,13 +3802,13 @@ 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) - -# **JournalEntriesUpdate** -> UpdateJournalEntryResponse JournalEntriesUpdate (string id, JournalEntry journalEntry, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **InvoiceItemsUpdate** +> UpdateInvoiceItemsResponse InvoiceItemsUpdate (string id, InvoiceItem invoiceItem, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Journal Entry +Update Invoice Item -Update Journal Entry +Update Invoice Item ### Example ```csharp @@ -3815,7 +3820,7 @@ using Apideck.Model; namespace Example { - public class JournalEntriesUpdateExample + public class InvoiceItemsUpdateExample { public static void Main() { @@ -3828,7 +3833,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var journalEntry = new JournalEntry(); // JournalEntry | + var invoiceItem = new InvoiceItem(); // InvoiceItem | 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) 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) @@ -3836,13 +3841,13 @@ namespace Example try { - // Update Journal Entry - UpdateJournalEntryResponse result = apiInstance.JournalEntriesUpdate(id, journalEntry, consumerId, appId, serviceId, raw); + // Update Invoice Item + UpdateInvoiceItemsResponse result = apiInstance.InvoiceItemsUpdate(id, invoiceItem, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.JournalEntriesUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoiceItemsUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3856,7 +3861,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **journalEntry** | [**JournalEntry**](JournalEntry.md)| | + **invoiceItem** | [**InvoiceItem**](InvoiceItem.md)| | **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] **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] @@ -3864,7 +3869,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateJournalEntryResponse**](UpdateJournalEntryResponse.md) +[**UpdateInvoiceItemsResponse**](UpdateInvoiceItemsResponse.md) ### Authorization @@ -3879,7 +3884,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | JournalEntries | - | +| **200** | InvoiceItems | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3889,13 +3894,13 @@ 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) - -# **LedgerAccountsAdd** -> CreateLedgerAccountResponse LedgerAccountsAdd (LedgerAccount ledgerAccount, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **InvoicesAdd** +> CreateInvoiceResponse InvoicesAdd (Invoice invoice, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Ledger Account +Create Invoice -Create Ledger Account +Create Invoice ### Example ```csharp @@ -3907,7 +3912,7 @@ using Apideck.Model; namespace Example { - public class LedgerAccountsAddExample + public class InvoicesAddExample { public static void Main() { @@ -3919,7 +3924,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var ledgerAccount = new LedgerAccount(); // LedgerAccount | + var invoice = new Invoice(); // Invoice | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -3927,13 +3932,13 @@ namespace Example try { - // Create Ledger Account - CreateLedgerAccountResponse result = apiInstance.LedgerAccountsAdd(ledgerAccount, raw, consumerId, appId, serviceId); + // Create Invoice + CreateInvoiceResponse result = apiInstance.InvoicesAdd(invoice, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LedgerAccountsAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoicesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -3946,7 +3951,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ledgerAccount** | [**LedgerAccount**](LedgerAccount.md)| | + **invoice** | [**Invoice**](Invoice.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -3954,7 +3959,7 @@ Name | Type | Description | Notes ### Return type -[**CreateLedgerAccountResponse**](CreateLedgerAccountResponse.md) +[**CreateInvoiceResponse**](CreateInvoiceResponse.md) ### Authorization @@ -3969,7 +3974,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | LedgerAccount created | - | +| **201** | Invoice created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -3979,13 +3984,13 @@ 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) - -# **LedgerAccountsAll** -> GetLedgerAccountsResponse LedgerAccountsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, LedgerAccountsFilter filter = null, LedgerAccountsSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **InvoicesAll** +> GetInvoicesResponse InvoicesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, InvoicesFilter filter = null, InvoicesSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Ledger Accounts +List Invoices -List Ledger Accounts +List Invoices ### Example ```csharp @@ -3997,7 +4002,7 @@ using Apideck.Model; namespace Example { - public class LedgerAccountsAllExample + public class InvoicesAllExample { public static void Main() { @@ -4015,20 +4020,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new LedgerAccountsFilter(); // LedgerAccountsFilter | Apply filters (optional) - var sort = new LedgerAccountsSort(); // LedgerAccountsSort | Apply sorting (optional) + var filter = new InvoicesFilter(); // InvoicesFilter | Apply filters (optional) + var sort = new InvoicesSort(); // InvoicesSort | Apply sorting (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Ledger Accounts - GetLedgerAccountsResponse result = apiInstance.LedgerAccountsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Invoices + GetInvoicesResponse result = apiInstance.InvoicesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LedgerAccountsAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoicesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4047,14 +4052,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**LedgerAccountsFilter**](LedgerAccountsFilter.md)| Apply filters | [optional] - **sort** | [**LedgerAccountsSort**](LedgerAccountsSort.md)| Apply sorting | [optional] + **filter** | [**InvoicesFilter**](InvoicesFilter.md)| Apply filters | [optional] + **sort** | [**InvoicesSort**](InvoicesSort.md)| Apply sorting | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetLedgerAccountsResponse**](GetLedgerAccountsResponse.md) +[**GetInvoicesResponse**](GetInvoicesResponse.md) ### Authorization @@ -4069,7 +4074,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | LedgerAccounts | - | +| **200** | Invoices | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4079,13 +4084,13 @@ 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) - -# **LedgerAccountsDelete** -> DeleteLedgerAccountResponse LedgerAccountsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **InvoicesDelete** +> DeleteInvoiceResponse InvoicesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Ledger Account +Delete Invoice -Delete Ledger Account +Delete Invoice ### Example ```csharp @@ -4097,7 +4102,7 @@ using Apideck.Model; namespace Example { - public class LedgerAccountsDeleteExample + public class InvoicesDeleteExample { public static void Main() { @@ -4117,13 +4122,13 @@ namespace Example try { - // Delete Ledger Account - DeleteLedgerAccountResponse result = apiInstance.LedgerAccountsDelete(id, consumerId, appId, serviceId, raw); + // Delete Invoice + DeleteInvoiceResponse result = apiInstance.InvoicesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LedgerAccountsDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoicesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4144,7 +4149,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteLedgerAccountResponse**](DeleteLedgerAccountResponse.md) +[**DeleteInvoiceResponse**](DeleteInvoiceResponse.md) ### Authorization @@ -4159,7 +4164,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | LedgerAccount deleted | - | +| **200** | Invoice deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4169,13 +4174,13 @@ 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) - -# **LedgerAccountsOne** -> GetLedgerAccountResponse LedgerAccountsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **InvoicesOne** +> GetInvoiceResponse InvoicesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Ledger Account +Get Invoice -Get Ledger Account +Get Invoice ### Example ```csharp @@ -4187,7 +4192,7 @@ using Apideck.Model; namespace Example { - public class LedgerAccountsOneExample + public class InvoicesOneExample { public static void Main() { @@ -4208,13 +4213,13 @@ namespace Example try { - // Get Ledger Account - GetLedgerAccountResponse result = apiInstance.LedgerAccountsOne(id, consumerId, appId, serviceId, raw, fields); + // Get Invoice + GetInvoiceResponse result = apiInstance.InvoicesOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LedgerAccountsOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoicesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4236,7 +4241,7 @@ Name | Type | Description | Notes ### Return type -[**GetLedgerAccountResponse**](GetLedgerAccountResponse.md) +[**GetInvoiceResponse**](GetInvoiceResponse.md) ### Authorization @@ -4251,7 +4256,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | LedgerAccount | - | +| **200** | Invoice | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4261,13 +4266,13 @@ 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) - -# **LedgerAccountsUpdate** -> UpdateLedgerAccountResponse LedgerAccountsUpdate (string id, LedgerAccount ledgerAccount, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **InvoicesUpdate** +> UpdateInvoiceResponse InvoicesUpdate (string id, Invoice invoice, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Ledger Account +Update Invoice -Update Ledger Account +Update Invoice ### Example ```csharp @@ -4279,7 +4284,7 @@ using Apideck.Model; namespace Example { - public class LedgerAccountsUpdateExample + public class InvoicesUpdateExample { public static void Main() { @@ -4292,7 +4297,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var ledgerAccount = new LedgerAccount(); // LedgerAccount | + var invoice = new Invoice(); // Invoice | 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) 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) @@ -4300,13 +4305,13 @@ namespace Example try { - // Update Ledger Account - UpdateLedgerAccountResponse result = apiInstance.LedgerAccountsUpdate(id, ledgerAccount, consumerId, appId, serviceId, raw); + // Update Invoice + UpdateInvoiceResponse result = apiInstance.InvoicesUpdate(id, invoice, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LedgerAccountsUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.InvoicesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4320,7 +4325,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **ledgerAccount** | [**LedgerAccount**](LedgerAccount.md)| | + **invoice** | [**Invoice**](Invoice.md)| | **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] **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] @@ -4328,7 +4333,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateLedgerAccountResponse**](UpdateLedgerAccountResponse.md) +[**UpdateInvoiceResponse**](UpdateInvoiceResponse.md) ### Authorization @@ -4343,7 +4348,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | LedgerAccount updated | - | +| **200** | Invoice updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4353,13 +4358,13 @@ 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) - -# **LocationsAdd** -> CreateAccountingLocationResponse LocationsAdd (AccountingLocation accountingLocation, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **JournalEntriesAdd** +> CreateJournalEntryResponse JournalEntriesAdd (JournalEntry journalEntry, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Location +Create Journal Entry -Create Location +Create Journal Entry ### Example ```csharp @@ -4371,7 +4376,7 @@ using Apideck.Model; namespace Example { - public class LocationsAddExample + public class JournalEntriesAddExample { public static void Main() { @@ -4383,7 +4388,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var accountingLocation = new AccountingLocation(); // AccountingLocation | + var journalEntry = new JournalEntry(); // JournalEntry | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -4391,13 +4396,13 @@ namespace Example try { - // Create Location - CreateAccountingLocationResponse result = apiInstance.LocationsAdd(accountingLocation, raw, consumerId, appId, serviceId); + // Create Journal Entry + CreateJournalEntryResponse result = apiInstance.JournalEntriesAdd(journalEntry, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LocationsAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.JournalEntriesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4410,7 +4415,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **accountingLocation** | [**AccountingLocation**](AccountingLocation.md)| | + **journalEntry** | [**JournalEntry**](JournalEntry.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -4418,7 +4423,7 @@ Name | Type | Description | Notes ### Return type -[**CreateAccountingLocationResponse**](CreateAccountingLocationResponse.md) +[**CreateJournalEntryResponse**](CreateJournalEntryResponse.md) ### Authorization @@ -4433,7 +4438,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Location | - | +| **201** | JournalEntries | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4443,13 +4448,13 @@ 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) - -# **LocationsAll** -> GetAccountingLocationsResponse LocationsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, string fields = null, AccountingLocationsFilter filter = null) + +# **JournalEntriesAll** +> GetJournalEntriesResponse JournalEntriesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, JournalEntriesFilter filter = null, JournalEntriesSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Locations +List Journal Entries -List Locations +List Journal Entries ### Example ```csharp @@ -4461,7 +4466,7 @@ using Apideck.Model; namespace Example { - public class LocationsAllExample + public class JournalEntriesAllExample { public static void Main() { @@ -4479,18 +4484,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + var filter = new JournalEntriesFilter(); // JournalEntriesFilter | Apply filters (optional) + var sort = new JournalEntriesSort(); // JournalEntriesSort | Apply sorting (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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 AccountingLocationsFilter(); // AccountingLocationsFilter | Apply filters (optional) try { - // List Locations - GetAccountingLocationsResponse result = apiInstance.LocationsAll(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); + // List Journal Entries + GetJournalEntriesResponse result = apiInstance.JournalEntriesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LocationsAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.JournalEntriesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4509,12 +4516,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **filter** | [**JournalEntriesFilter**](JournalEntriesFilter.md)| Apply filters | [optional] + **sort** | [**JournalEntriesSort**](JournalEntriesSort.md)| Apply sorting | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] - **filter** | [**AccountingLocationsFilter**](AccountingLocationsFilter.md)| Apply filters | [optional] ### Return type -[**GetAccountingLocationsResponse**](GetAccountingLocationsResponse.md) +[**GetJournalEntriesResponse**](GetJournalEntriesResponse.md) ### Authorization @@ -4529,7 +4538,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Locations | - | +| **200** | JournalEntry | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4539,13 +4548,13 @@ 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) - -# **LocationsDelete** -> DeleteAccountingLocationResponse LocationsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **JournalEntriesDelete** +> DeleteJournalEntryResponse JournalEntriesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Location +Delete Journal Entry -Delete Location +Delete Journal Entry ### Example ```csharp @@ -4557,7 +4566,7 @@ using Apideck.Model; namespace Example { - public class LocationsDeleteExample + public class JournalEntriesDeleteExample { public static void Main() { @@ -4577,13 +4586,13 @@ namespace Example try { - // Delete Location - DeleteAccountingLocationResponse result = apiInstance.LocationsDelete(id, consumerId, appId, serviceId, raw); + // Delete Journal Entry + DeleteJournalEntryResponse result = apiInstance.JournalEntriesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LocationsDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.JournalEntriesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4604,7 +4613,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteAccountingLocationResponse**](DeleteAccountingLocationResponse.md) +[**DeleteJournalEntryResponse**](DeleteJournalEntryResponse.md) ### Authorization @@ -4619,7 +4628,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Location deleted | - | +| **200** | JournalEntries | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4629,13 +4638,13 @@ 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) - -# **LocationsOne** -> GetAccountingLocationResponse LocationsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **JournalEntriesOne** +> GetJournalEntryResponse JournalEntriesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Location +Get Journal Entry -Get Location +Get Journal Entry ### Example ```csharp @@ -4647,7 +4656,7 @@ using Apideck.Model; namespace Example { - public class LocationsOneExample + public class JournalEntriesOneExample { public static void Main() { @@ -4668,13 +4677,13 @@ namespace Example try { - // Get Location - GetAccountingLocationResponse result = apiInstance.LocationsOne(id, consumerId, appId, serviceId, raw, fields); + // Get Journal Entry + GetJournalEntryResponse result = apiInstance.JournalEntriesOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LocationsOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.JournalEntriesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4696,7 +4705,7 @@ Name | Type | Description | Notes ### Return type -[**GetAccountingLocationResponse**](GetAccountingLocationResponse.md) +[**GetJournalEntryResponse**](GetJournalEntryResponse.md) ### Authorization @@ -4711,7 +4720,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Location | - | +| **200** | JournalEntries | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4721,13 +4730,13 @@ 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) - -# **LocationsUpdate** -> UpdateAccountingLocationResponse LocationsUpdate (string id, AccountingLocation accountingLocation, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **JournalEntriesUpdate** +> UpdateJournalEntryResponse JournalEntriesUpdate (string id, JournalEntry journalEntry, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Location +Update Journal Entry -Update Location +Update Journal Entry ### Example ```csharp @@ -4739,7 +4748,7 @@ using Apideck.Model; namespace Example { - public class LocationsUpdateExample + public class JournalEntriesUpdateExample { public static void Main() { @@ -4752,7 +4761,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var accountingLocation = new AccountingLocation(); // AccountingLocation | + var journalEntry = new JournalEntry(); // JournalEntry | 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) 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) @@ -4760,13 +4769,13 @@ namespace Example try { - // Update Location - UpdateAccountingLocationResponse result = apiInstance.LocationsUpdate(id, accountingLocation, consumerId, appId, serviceId, raw); + // Update Journal Entry + UpdateJournalEntryResponse result = apiInstance.JournalEntriesUpdate(id, journalEntry, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.LocationsUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.JournalEntriesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4780,7 +4789,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **accountingLocation** | [**AccountingLocation**](AccountingLocation.md)| | + **journalEntry** | [**JournalEntry**](JournalEntry.md)| | **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] **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] @@ -4788,7 +4797,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateAccountingLocationResponse**](UpdateAccountingLocationResponse.md) +[**UpdateJournalEntryResponse**](UpdateJournalEntryResponse.md) ### Authorization @@ -4803,7 +4812,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Location | - | +| **200** | JournalEntries | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4813,13 +4822,13 @@ 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) - -# **PaymentsAdd** -> CreatePaymentResponse PaymentsAdd (Payment payment, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **LedgerAccountsAdd** +> CreateLedgerAccountResponse LedgerAccountsAdd (LedgerAccount ledgerAccount, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Payment +Create Ledger Account -Create Payment +Create Ledger Account ### Example ```csharp @@ -4831,7 +4840,7 @@ using Apideck.Model; namespace Example { - public class PaymentsAddExample + public class LedgerAccountsAddExample { public static void Main() { @@ -4843,7 +4852,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var payment = new Payment(); // Payment | + var ledgerAccount = new LedgerAccount(); // LedgerAccount | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -4851,13 +4860,13 @@ namespace Example try { - // Create Payment - CreatePaymentResponse result = apiInstance.PaymentsAdd(payment, raw, consumerId, appId, serviceId); + // Create Ledger Account + CreateLedgerAccountResponse result = apiInstance.LedgerAccountsAdd(ledgerAccount, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PaymentsAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LedgerAccountsAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4870,7 +4879,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **payment** | [**Payment**](Payment.md)| | + **ledgerAccount** | [**LedgerAccount**](LedgerAccount.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -4878,7 +4887,7 @@ Name | Type | Description | Notes ### Return type -[**CreatePaymentResponse**](CreatePaymentResponse.md) +[**CreateLedgerAccountResponse**](CreateLedgerAccountResponse.md) ### Authorization @@ -4893,7 +4902,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Payment created | - | +| **201** | LedgerAccount created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -4903,13 +4912,13 @@ 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) - -# **PaymentsAll** -> GetPaymentsResponse PaymentsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, PaymentsFilter filter = null, PaymentsSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **LedgerAccountsAll** +> GetLedgerAccountsResponse LedgerAccountsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, LedgerAccountsFilter filter = null, LedgerAccountsSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Payments +List Ledger Accounts -List Payments +List Ledger Accounts ### Example ```csharp @@ -4921,7 +4930,7 @@ using Apideck.Model; namespace Example { - public class PaymentsAllExample + public class LedgerAccountsAllExample { public static void Main() { @@ -4939,20 +4948,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new PaymentsFilter(); // PaymentsFilter | Apply filters (optional) - var sort = new PaymentsSort(); // PaymentsSort | Apply sorting (optional) + var filter = new LedgerAccountsFilter(); // LedgerAccountsFilter | Apply filters (optional) + var sort = new LedgerAccountsSort(); // LedgerAccountsSort | Apply sorting (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Payments - GetPaymentsResponse result = apiInstance.PaymentsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Ledger Accounts + GetLedgerAccountsResponse result = apiInstance.LedgerAccountsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PaymentsAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LedgerAccountsAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -4971,14 +4980,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**PaymentsFilter**](PaymentsFilter.md)| Apply filters | [optional] - **sort** | [**PaymentsSort**](PaymentsSort.md)| Apply sorting | [optional] + **filter** | [**LedgerAccountsFilter**](LedgerAccountsFilter.md)| Apply filters | [optional] + **sort** | [**LedgerAccountsSort**](LedgerAccountsSort.md)| Apply sorting | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetPaymentsResponse**](GetPaymentsResponse.md) +[**GetLedgerAccountsResponse**](GetLedgerAccountsResponse.md) ### Authorization @@ -4993,7 +5002,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Payments | - | +| **200** | LedgerAccounts | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5003,13 +5012,13 @@ 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) - -# **PaymentsDelete** -> DeletePaymentResponse PaymentsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **LedgerAccountsDelete** +> DeleteLedgerAccountResponse LedgerAccountsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Payment +Delete Ledger Account -Delete Payment +Delete Ledger Account ### Example ```csharp @@ -5021,7 +5030,7 @@ using Apideck.Model; namespace Example { - public class PaymentsDeleteExample + public class LedgerAccountsDeleteExample { public static void Main() { @@ -5041,13 +5050,13 @@ namespace Example try { - // Delete Payment - DeletePaymentResponse result = apiInstance.PaymentsDelete(id, consumerId, appId, serviceId, raw); + // Delete Ledger Account + DeleteLedgerAccountResponse result = apiInstance.LedgerAccountsDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PaymentsDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LedgerAccountsDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5068,7 +5077,7 @@ Name | Type | Description | Notes ### Return type -[**DeletePaymentResponse**](DeletePaymentResponse.md) +[**DeleteLedgerAccountResponse**](DeleteLedgerAccountResponse.md) ### Authorization @@ -5083,7 +5092,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Payment deleted | - | +| **200** | LedgerAccount deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5093,13 +5102,13 @@ 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) - -# **PaymentsOne** -> GetPaymentResponse PaymentsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **LedgerAccountsOne** +> GetLedgerAccountResponse LedgerAccountsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Payment +Get Ledger Account -Get Payment +Get Ledger Account ### Example ```csharp @@ -5111,7 +5120,7 @@ using Apideck.Model; namespace Example { - public class PaymentsOneExample + public class LedgerAccountsOneExample { public static void Main() { @@ -5132,13 +5141,13 @@ namespace Example try { - // Get Payment - GetPaymentResponse result = apiInstance.PaymentsOne(id, consumerId, appId, serviceId, raw, fields); + // Get Ledger Account + GetLedgerAccountResponse result = apiInstance.LedgerAccountsOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PaymentsOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LedgerAccountsOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5160,7 +5169,7 @@ Name | Type | Description | Notes ### Return type -[**GetPaymentResponse**](GetPaymentResponse.md) +[**GetLedgerAccountResponse**](GetLedgerAccountResponse.md) ### Authorization @@ -5175,7 +5184,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Payment | - | +| **200** | LedgerAccount | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5185,13 +5194,13 @@ 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) - -# **PaymentsUpdate** -> UpdatePaymentResponse PaymentsUpdate (string id, Payment payment, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **LedgerAccountsUpdate** +> UpdateLedgerAccountResponse LedgerAccountsUpdate (string id, LedgerAccount ledgerAccount, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Payment +Update Ledger Account -Update Payment +Update Ledger Account ### Example ```csharp @@ -5203,7 +5212,7 @@ using Apideck.Model; namespace Example { - public class PaymentsUpdateExample + public class LedgerAccountsUpdateExample { public static void Main() { @@ -5216,7 +5225,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var payment = new Payment(); // Payment | + var ledgerAccount = new LedgerAccount(); // LedgerAccount | 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) 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) @@ -5224,13 +5233,13 @@ namespace Example try { - // Update Payment - UpdatePaymentResponse result = apiInstance.PaymentsUpdate(id, payment, consumerId, appId, serviceId, raw); + // Update Ledger Account + UpdateLedgerAccountResponse result = apiInstance.LedgerAccountsUpdate(id, ledgerAccount, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PaymentsUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LedgerAccountsUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5244,7 +5253,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **payment** | [**Payment**](Payment.md)| | + **ledgerAccount** | [**LedgerAccount**](LedgerAccount.md)| | **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] **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] @@ -5252,7 +5261,7 @@ Name | Type | Description | Notes ### Return type -[**UpdatePaymentResponse**](UpdatePaymentResponse.md) +[**UpdateLedgerAccountResponse**](UpdateLedgerAccountResponse.md) ### Authorization @@ -5267,7 +5276,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Payment Updated | - | +| **200** | LedgerAccount updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5277,13 +5286,13 @@ 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) - -# **ProfitAndLossOne** -> GetProfitAndLossResponse ProfitAndLossOne (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, ProfitAndLossFilter filter = null, PassThroughQuery passThrough = null, string fields = null) + +# **LocationsAdd** +> CreateAccountingLocationResponse LocationsAdd (AccountingLocation accountingLocation, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Get Profit and Loss +Create Location -Get Profit and Loss +Create Location ### Example ```csharp @@ -5295,7 +5304,7 @@ using Apideck.Model; namespace Example { - public class ProfitAndLossOneExample + public class LocationsAddExample { public static void Main() { @@ -5307,23 +5316,21 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); + var accountingLocation = new AccountingLocation(); // AccountingLocation | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) 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 filter = new ProfitAndLossFilter(); // ProfitAndLossFilter | Apply filters (optional) - var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - 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.

Example: `fields=name,email,addresses.city`

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) try { - // Get Profit and Loss - GetProfitAndLossResponse result = apiInstance.ProfitAndLossOne(raw, consumerId, appId, serviceId, filter, passThrough, fields); + // Create Location + CreateAccountingLocationResponse result = apiInstance.LocationsAdd(accountingLocation, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.ProfitAndLossOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LocationsAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5336,17 +5343,15 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **accountingLocation** | [**AccountingLocation**](AccountingLocation.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] **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] - **filter** | [**ProfitAndLossFilter**](ProfitAndLossFilter.md)| Apply filters | [optional] - **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] - **fields** | **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] ### Return type -[**GetProfitAndLossResponse**](GetProfitAndLossResponse.md) +[**CreateAccountingLocationResponse**](CreateAccountingLocationResponse.md) ### Authorization @@ -5354,14 +5359,14 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Profit & Loss Report | - | +| **201** | Location | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5371,13 +5376,13 @@ 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) - -# **PurchaseOrdersAdd** -> CreatePurchaseOrderResponse PurchaseOrdersAdd (PurchaseOrder purchaseOrder, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **LocationsAll** +> GetAccountingLocationsResponse LocationsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, string fields = null, AccountingLocationsFilter filter = null) -Create Purchase Order +List Locations -Create Purchase Order +List Locations ### Example ```csharp @@ -5389,7 +5394,7 @@ using Apideck.Model; namespace Example { - public class PurchaseOrdersAddExample + public class LocationsAllExample { public static void Main() { @@ -5401,21 +5406,24 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var purchaseOrder = new PurchaseOrder(); // PurchaseOrder | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + 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.

Example: `fields=name,email,addresses.city`

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 AccountingLocationsFilter(); // AccountingLocationsFilter | Apply filters (optional) try { - // Create Purchase Order - CreatePurchaseOrderResponse result = apiInstance.PurchaseOrdersAdd(purchaseOrder, raw, consumerId, appId, serviceId); + // List Locations + GetAccountingLocationsResponse result = apiInstance.LocationsAll(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PurchaseOrdersAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.LocationsAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5428,15 +5436,18 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **purchaseOrder** | [**PurchaseOrder**](PurchaseOrder.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] **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] + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **fields** | **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] + **filter** | [**AccountingLocationsFilter**](AccountingLocationsFilter.md)| Apply filters | [optional] ### Return type -[**CreatePurchaseOrderResponse**](CreatePurchaseOrderResponse.md) +[**GetAccountingLocationsResponse**](GetAccountingLocationsResponse.md) ### Authorization @@ -5444,14 +5455,14 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | PurchaseOrders | - | +| **200** | Locations | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5461,11 +5472,933 @@ 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) - -# **PurchaseOrdersAll** -> GetPurchaseOrdersResponse PurchaseOrdersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, PassThroughQuery passThrough = null, int? limit = null, PurchaseOrdersFilter filter = null, PurchaseOrdersSort sort = null) + +# **LocationsDelete** +> DeleteAccountingLocationResponse LocationsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -List Purchase Orders +Delete Location + +Delete Location + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class LocationsDeleteExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + 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) + 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) + + try + { + // Delete Location + DeleteAccountingLocationResponse result = apiInstance.LocationsDelete(id, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.LocationsDelete: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **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] + **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] + +### Return type + +[**DeleteAccountingLocationResponse**](DeleteAccountingLocationResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Location deleted | - | +| **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) + + +# **LocationsOne** +> GetAccountingLocationResponse LocationsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +Get Location + +Get Location + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class LocationsOneExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + 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) + 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.

Example: `fields=name,email,addresses.city`

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) + + try + { + // Get Location + GetAccountingLocationResponse result = apiInstance.LocationsOne(id, consumerId, appId, serviceId, raw, fields); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.LocationsOne: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **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] + **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 '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] + +### Return type + +[**GetAccountingLocationResponse**](GetAccountingLocationResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Location | - | +| **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) + + +# **LocationsUpdate** +> UpdateAccountingLocationResponse LocationsUpdate (string id, AccountingLocation accountingLocation, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +Update Location + +Update Location + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class LocationsUpdateExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + var accountingLocation = new AccountingLocation(); // AccountingLocation | + 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) + 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) + + try + { + // Update Location + UpdateAccountingLocationResponse result = apiInstance.LocationsUpdate(id, accountingLocation, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.LocationsUpdate: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **accountingLocation** | [**AccountingLocation**](AccountingLocation.md)| | + **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] + **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] + +### Return type + +[**UpdateAccountingLocationResponse**](UpdateAccountingLocationResponse.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** | Location | - | +| **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) + + +# **PaymentsAdd** +> CreatePaymentResponse PaymentsAdd (Payment payment, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +Create Payment + +Create Payment + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PaymentsAddExample + { + 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 AccountingApi(config); + var payment = new Payment(); // Payment | + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + 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) + 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) + + try + { + // Create Payment + CreatePaymentResponse result = apiInstance.PaymentsAdd(payment, raw, consumerId, appId, serviceId); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PaymentsAdd: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **payment** | [**Payment**](Payment.md)| | + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **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] + **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] + +### Return type + +[**CreatePaymentResponse**](CreatePaymentResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Payment 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) + + +# **PaymentsAll** +> GetPaymentsResponse PaymentsAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, PaymentsFilter filter = null, PaymentsSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +List Payments + +List Payments + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PaymentsAllExample + { + 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 AccountingApi(config); + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + 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) + 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + var filter = new PaymentsFilter(); // PaymentsFilter | Apply filters (optional) + var sort = new PaymentsSort(); // PaymentsSort | Apply sorting (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + 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.

Example: `fields=name,email,addresses.city`

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) + + try + { + // List Payments + GetPaymentsResponse result = apiInstance.PaymentsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PaymentsAll: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **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] + **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] + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **filter** | [**PaymentsFilter**](PaymentsFilter.md)| Apply filters | [optional] + **sort** | [**PaymentsSort**](PaymentsSort.md)| Apply sorting | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] + **fields** | **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] + +### Return type + +[**GetPaymentsResponse**](GetPaymentsResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Payments | - | +| **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) + + +# **PaymentsDelete** +> DeletePaymentResponse PaymentsDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +Delete Payment + +Delete Payment + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PaymentsDeleteExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + 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) + 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) + + try + { + // Delete Payment + DeletePaymentResponse result = apiInstance.PaymentsDelete(id, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PaymentsDelete: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **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] + **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] + +### Return type + +[**DeletePaymentResponse**](DeletePaymentResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Payment deleted | - | +| **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) + + +# **PaymentsOne** +> GetPaymentResponse PaymentsOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +Get Payment + +Get Payment + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PaymentsOneExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + 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) + 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.

Example: `fields=name,email,addresses.city`

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) + + try + { + // Get Payment + GetPaymentResponse result = apiInstance.PaymentsOne(id, consumerId, appId, serviceId, raw, fields); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PaymentsOne: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **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] + **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 '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] + +### Return type + +[**GetPaymentResponse**](GetPaymentResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Payment | - | +| **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) + + +# **PaymentsUpdate** +> UpdatePaymentResponse PaymentsUpdate (string id, Payment payment, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +Update Payment + +Update Payment + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PaymentsUpdateExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + var payment = new Payment(); // Payment | + 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) + 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) + + try + { + // Update Payment + UpdatePaymentResponse result = apiInstance.PaymentsUpdate(id, payment, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PaymentsUpdate: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **payment** | [**Payment**](Payment.md)| | + **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] + **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] + +### Return type + +[**UpdatePaymentResponse**](UpdatePaymentResponse.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** | Payment Updated | - | +| **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) + + +# **ProfitAndLossOne** +> GetProfitAndLossResponse ProfitAndLossOne (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, ProfitAndLossFilter filter = null, PassThroughQuery passThrough = null, string fields = null) + +Get Profit and Loss + +Get Profit and Loss + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class ProfitAndLossOneExample + { + 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 AccountingApi(config); + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + 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) + 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 filter = new ProfitAndLossFilter(); // ProfitAndLossFilter | Apply filters (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + 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.

Example: `fields=name,email,addresses.city`

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) + + try + { + // Get Profit and Loss + GetProfitAndLossResponse result = apiInstance.ProfitAndLossOne(raw, consumerId, appId, serviceId, filter, passThrough, fields); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.ProfitAndLossOne: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **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] + **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] + **filter** | [**ProfitAndLossFilter**](ProfitAndLossFilter.md)| Apply filters | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] + **fields** | **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] + +### Return type + +[**GetProfitAndLossResponse**](GetProfitAndLossResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Profit & Loss Report | - | +| **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) + + +# **PurchaseOrdersAdd** +> CreatePurchaseOrderResponse PurchaseOrdersAdd (PurchaseOrder purchaseOrder, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +Create Purchase Order + +Create Purchase Order + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PurchaseOrdersAddExample + { + 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 AccountingApi(config); + var purchaseOrder = new PurchaseOrder(); // PurchaseOrder | + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + 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) + 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) + + try + { + // Create Purchase Order + CreatePurchaseOrderResponse result = apiInstance.PurchaseOrdersAdd(purchaseOrder, raw, consumerId, appId, serviceId); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PurchaseOrdersAdd: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **purchaseOrder** | [**PurchaseOrder**](PurchaseOrder.md)| | + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **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] + **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] + +### Return type + +[**CreatePurchaseOrderResponse**](CreatePurchaseOrderResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | PurchaseOrders | - | +| **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) + + +# **PurchaseOrdersAll** +> GetPurchaseOrdersResponse PurchaseOrdersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, PassThroughQuery passThrough = null, int? limit = null, PurchaseOrdersFilter filter = null, PurchaseOrdersSort sort = null) + +List Purchase Orders List Purchase Orders @@ -5479,7 +6412,467 @@ using Apideck.Model; namespace Example { - public class PurchaseOrdersAllExample + public class PurchaseOrdersAllExample + { + 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 AccountingApi(config); + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + 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) + 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + var filter = new PurchaseOrdersFilter(); // PurchaseOrdersFilter | Apply filters (optional) + var sort = new PurchaseOrdersSort(); // PurchaseOrdersSort | Apply sorting (optional) + + try + { + // List Purchase Orders + GetPurchaseOrdersResponse result = apiInstance.PurchaseOrdersAll(raw, consumerId, appId, serviceId, cursor, passThrough, limit, filter, sort); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PurchaseOrdersAll: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **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] + **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] + **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] + **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **filter** | [**PurchaseOrdersFilter**](PurchaseOrdersFilter.md)| Apply filters | [optional] + **sort** | [**PurchaseOrdersSort**](PurchaseOrdersSort.md)| Apply sorting | [optional] + +### Return type + +[**GetPurchaseOrdersResponse**](GetPurchaseOrdersResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | PurchaseOrders | - | +| **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) + + +# **PurchaseOrdersDelete** +> DeletePurchaseOrderResponse PurchaseOrdersDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +Delete Purchase Order + +Delete Purchase Order + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PurchaseOrdersDeleteExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + 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) + 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) + + try + { + // Delete Purchase Order + DeletePurchaseOrderResponse result = apiInstance.PurchaseOrdersDelete(id, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PurchaseOrdersDelete: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **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] + **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] + +### Return type + +[**DeletePurchaseOrderResponse**](DeletePurchaseOrderResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | PurchaseOrders | - | +| **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) + + +# **PurchaseOrdersOne** +> GetPurchaseOrderResponse PurchaseOrdersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +Get Purchase Order + +Get Purchase Order + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PurchaseOrdersOneExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + 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) + 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) + + try + { + // Get Purchase Order + GetPurchaseOrderResponse result = apiInstance.PurchaseOrdersOne(id, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PurchaseOrdersOne: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **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] + **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] + +### Return type + +[**GetPurchaseOrderResponse**](GetPurchaseOrderResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | PurchaseOrders | - | +| **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) + + +# **PurchaseOrdersUpdate** +> UpdatePurchaseOrderResponse PurchaseOrdersUpdate (string id, PurchaseOrder purchaseOrder, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +Update Purchase Order + +Update Purchase Order + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class PurchaseOrdersUpdateExample + { + 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 AccountingApi(config); + var id = "id_example"; // string | ID of the record you are acting upon. + var purchaseOrder = new PurchaseOrder(); // PurchaseOrder | + 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) + 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) + + try + { + // Update Purchase Order + UpdatePurchaseOrderResponse result = apiInstance.PurchaseOrdersUpdate(id, purchaseOrder, consumerId, appId, serviceId, raw); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.PurchaseOrdersUpdate: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **string**| ID of the record you are acting upon. | + **purchaseOrder** | [**PurchaseOrder**](PurchaseOrder.md)| | + **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] + **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] + +### Return type + +[**UpdatePurchaseOrderResponse**](UpdatePurchaseOrderResponse.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** | PurchaseOrders | - | +| **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) + + +# **SubsidiariesAdd** +> CreateSubsidiaryResponse SubsidiariesAdd (Subsidiary subsidiary, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +Create Subsidiary + +Create Subsidiary + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class SubsidiariesAddExample + { + 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 AccountingApi(config); + var subsidiary = new Subsidiary(); // Subsidiary | + var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) + 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) + 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) + + try + { + // Create Subsidiary + CreateSubsidiaryResponse result = apiInstance.SubsidiariesAdd(subsidiary, raw, consumerId, appId, serviceId); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling AccountingApi.SubsidiariesAdd: " + e.Message ); + Debug.Print("Status Code: "+ e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subsidiary** | [**Subsidiary**](Subsidiary.md)| | + **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] + **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] + **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] + +### Return type + +[**CreateSubsidiaryResponse**](CreateSubsidiaryResponse.md) + +### Authorization + +[apiKey](../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Subsidiaries | - | +| **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) + + +# **SubsidiariesAll** +> GetSubsidiariesResponse SubsidiariesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, string fields = null) + +List Subsidiaries + +List Subsidiaries + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using Apideck.Api; +using Apideck.Client; +using Apideck.Model; + +namespace Example +{ + public class SubsidiariesAllExample { public static void Main() { @@ -5496,20 +6889,18 @@ namespace Example var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional) 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new PurchaseOrdersFilter(); // PurchaseOrdersFilter | Apply filters (optional) - var sort = new PurchaseOrdersSort(); // PurchaseOrdersSort | Apply sorting (optional) + 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Purchase Orders - GetPurchaseOrdersResponse result = apiInstance.PurchaseOrdersAll(raw, consumerId, appId, serviceId, cursor, passThrough, limit, filter, sort); + // List Subsidiaries + GetSubsidiariesResponse result = apiInstance.SubsidiariesAll(raw, consumerId, appId, serviceId, cursor, limit, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PurchaseOrdersAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SubsidiariesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5527,14 +6918,12 @@ Name | Type | Description | Notes **appId** | **string**| The ID of your Unify application | [optional] **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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**PurchaseOrdersFilter**](PurchaseOrdersFilter.md)| Apply filters | [optional] - **sort** | [**PurchaseOrdersSort**](PurchaseOrdersSort.md)| Apply sorting | [optional] + **fields** | **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] ### Return type -[**GetPurchaseOrdersResponse**](GetPurchaseOrdersResponse.md) +[**GetSubsidiariesResponse**](GetSubsidiariesResponse.md) ### Authorization @@ -5549,7 +6938,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | PurchaseOrders | - | +| **200** | Subsidiaries | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5559,13 +6948,13 @@ 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) - -# **PurchaseOrdersDelete** -> DeletePurchaseOrderResponse PurchaseOrdersDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **SubsidiariesDelete** +> DeleteSubsidiaryResponse SubsidiariesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Purchase Order +Delete Subsidiary -Delete Purchase Order +Delete Subsidiary ### Example ```csharp @@ -5577,7 +6966,7 @@ using Apideck.Model; namespace Example { - public class PurchaseOrdersDeleteExample + public class SubsidiariesDeleteExample { public static void Main() { @@ -5597,13 +6986,13 @@ namespace Example try { - // Delete Purchase Order - DeletePurchaseOrderResponse result = apiInstance.PurchaseOrdersDelete(id, consumerId, appId, serviceId, raw); + // Delete Subsidiary + DeleteSubsidiaryResponse result = apiInstance.SubsidiariesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PurchaseOrdersDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SubsidiariesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5624,7 +7013,7 @@ Name | Type | Description | Notes ### Return type -[**DeletePurchaseOrderResponse**](DeletePurchaseOrderResponse.md) +[**DeleteSubsidiaryResponse**](DeleteSubsidiaryResponse.md) ### Authorization @@ -5639,7 +7028,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | PurchaseOrders | - | +| **200** | Subsidiarys | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5649,13 +7038,13 @@ 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) - -# **PurchaseOrdersOne** -> GetPurchaseOrderResponse PurchaseOrdersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **SubsidiariesOne** +> GetSubsidiaryResponse SubsidiariesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Purchase Order +Get Subsidiary -Get Purchase Order +Get Subsidiary ### Example ```csharp @@ -5667,7 +7056,7 @@ using Apideck.Model; namespace Example { - public class PurchaseOrdersOneExample + public class SubsidiariesOneExample { public static void Main() { @@ -5684,16 +7073,17 @@ namespace Example var appId = dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX; // string | The ID of your Unify application (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // Get Purchase Order - GetPurchaseOrderResponse result = apiInstance.PurchaseOrdersOne(id, consumerId, appId, serviceId, raw); + // Get Subsidiary + GetSubsidiaryResponse result = apiInstance.SubsidiariesOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PurchaseOrdersOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SubsidiariesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5711,10 +7101,11 @@ Name | Type | Description | Notes **appId** | **string**| The ID of your Unify application | [optional] **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 '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] ### Return type -[**GetPurchaseOrderResponse**](GetPurchaseOrderResponse.md) +[**GetSubsidiaryResponse**](GetSubsidiaryResponse.md) ### Authorization @@ -5729,7 +7120,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | PurchaseOrders | - | +| **200** | Subsidiary | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5739,13 +7130,13 @@ 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) - -# **PurchaseOrdersUpdate** -> UpdatePurchaseOrderResponse PurchaseOrdersUpdate (string id, PurchaseOrder purchaseOrder, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **SubsidiariesUpdate** +> UpdateSubsidiaryResponse SubsidiariesUpdate (string id, Subsidiary subsidiary, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Purchase Order +Update Subsidiary -Update Purchase Order +Update Subsidiary ### Example ```csharp @@ -5757,7 +7148,7 @@ using Apideck.Model; namespace Example { - public class PurchaseOrdersUpdateExample + public class SubsidiariesUpdateExample { public static void Main() { @@ -5770,7 +7161,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var purchaseOrder = new PurchaseOrder(); // PurchaseOrder | + var subsidiary = new Subsidiary(); // Subsidiary | 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) 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) @@ -5778,13 +7169,13 @@ namespace Example try { - // Update Purchase Order - UpdatePurchaseOrderResponse result = apiInstance.PurchaseOrdersUpdate(id, purchaseOrder, consumerId, appId, serviceId, raw); + // Update Subsidiary + UpdateSubsidiaryResponse result = apiInstance.SubsidiariesUpdate(id, subsidiary, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.PurchaseOrdersUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SubsidiariesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5798,7 +7189,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **purchaseOrder** | [**PurchaseOrder**](PurchaseOrder.md)| | + **subsidiary** | [**Subsidiary**](Subsidiary.md)| | **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] **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] @@ -5806,7 +7197,7 @@ Name | Type | Description | Notes ### Return type -[**UpdatePurchaseOrderResponse**](UpdatePurchaseOrderResponse.md) +[**UpdateSubsidiaryResponse**](UpdateSubsidiaryResponse.md) ### Authorization @@ -5821,7 +7212,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | PurchaseOrders | - | +| **200** | Subsidiaries | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5831,13 +7222,13 @@ 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) - -# **SubsidiariesAdd** -> CreateSubsidiaryResponse SubsidiariesAdd (Subsidiary subsidiary, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **SuppliersAdd** +> CreateSupplierResponse SuppliersAdd (Supplier supplier, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Subsidiary +Create Supplier -Create Subsidiary +Create Supplier ### Example ```csharp @@ -5849,7 +7240,7 @@ using Apideck.Model; namespace Example { - public class SubsidiariesAddExample + public class SuppliersAddExample { public static void Main() { @@ -5861,7 +7252,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var subsidiary = new Subsidiary(); // Subsidiary | + var supplier = new Supplier(); // Supplier | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -5869,13 +7260,13 @@ namespace Example try { - // Create Subsidiary - CreateSubsidiaryResponse result = apiInstance.SubsidiariesAdd(subsidiary, raw, consumerId, appId, serviceId); + // Create Supplier + CreateSupplierResponse result = apiInstance.SuppliersAdd(supplier, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SubsidiariesAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SuppliersAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5888,7 +7279,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **subsidiary** | [**Subsidiary**](Subsidiary.md)| | + **supplier** | [**Supplier**](Supplier.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -5896,7 +7287,7 @@ Name | Type | Description | Notes ### Return type -[**CreateSubsidiaryResponse**](CreateSubsidiaryResponse.md) +[**CreateSupplierResponse**](CreateSupplierResponse.md) ### Authorization @@ -5911,7 +7302,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Subsidiaries | - | +| **201** | Supplier created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -5921,13 +7312,13 @@ 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) - -# **SubsidiariesAll** -> GetSubsidiariesResponse SubsidiariesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, string fields = null) + +# **SuppliersAll** +> GetSuppliersResponse SuppliersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, SuppliersFilter filter = null, SuppliersSort sort = null, PassThroughQuery passThrough = null, string fields = null) -List Subsidiaries +List Suppliers -List Subsidiaries +List Suppliers ### Example ```csharp @@ -5939,7 +7330,7 @@ using Apideck.Model; namespace Example { - public class SubsidiariesAllExample + public class SuppliersAllExample { public static void Main() { @@ -5957,17 +7348,20 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) + var filter = new SuppliersFilter(); // SuppliersFilter | Apply filters (optional) + var sort = new SuppliersSort(); // SuppliersSort | Apply sorting (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Subsidiaries - GetSubsidiariesResponse result = apiInstance.SubsidiariesAll(raw, consumerId, appId, serviceId, cursor, limit, fields); + // List Suppliers + GetSuppliersResponse result = apiInstance.SuppliersAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SubsidiariesAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SuppliersAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -5986,11 +7380,14 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] + **filter** | [**SuppliersFilter**](SuppliersFilter.md)| Apply filters | [optional] + **sort** | [**SuppliersSort**](SuppliersSort.md)| Apply sorting | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetSubsidiariesResponse**](GetSubsidiariesResponse.md) +[**GetSuppliersResponse**](GetSuppliersResponse.md) ### Authorization @@ -6005,7 +7402,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Subsidiaries | - | +| **200** | Suppliers | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6015,13 +7412,13 @@ 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) - -# **SubsidiariesDelete** -> DeleteSubsidiaryResponse SubsidiariesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **SuppliersDelete** +> DeleteSupplierResponse SuppliersDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Subsidiary +Delete Supplier -Delete Subsidiary +Delete Supplier ### Example ```csharp @@ -6033,7 +7430,7 @@ using Apideck.Model; namespace Example { - public class SubsidiariesDeleteExample + public class SuppliersDeleteExample { public static void Main() { @@ -6053,13 +7450,13 @@ namespace Example try { - // Delete Subsidiary - DeleteSubsidiaryResponse result = apiInstance.SubsidiariesDelete(id, consumerId, appId, serviceId, raw); + // Delete Supplier + DeleteSupplierResponse result = apiInstance.SuppliersDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SubsidiariesDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SuppliersDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6080,7 +7477,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteSubsidiaryResponse**](DeleteSubsidiaryResponse.md) +[**DeleteSupplierResponse**](DeleteSupplierResponse.md) ### Authorization @@ -6095,7 +7492,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Subsidiarys | - | +| **200** | Supplier deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6105,13 +7502,13 @@ 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) - -# **SubsidiariesOne** -> GetSubsidiaryResponse SubsidiariesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **SuppliersOne** +> GetSupplierResponse SuppliersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Subsidiary +Get Supplier -Get Subsidiary +Get Supplier ### Example ```csharp @@ -6123,7 +7520,7 @@ using Apideck.Model; namespace Example { - public class SubsidiariesOneExample + public class SuppliersOneExample { public static void Main() { @@ -6144,13 +7541,13 @@ namespace Example try { - // Get Subsidiary - GetSubsidiaryResponse result = apiInstance.SubsidiariesOne(id, consumerId, appId, serviceId, raw, fields); + // Get Supplier + GetSupplierResponse result = apiInstance.SuppliersOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SubsidiariesOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SuppliersOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6172,7 +7569,7 @@ Name | Type | Description | Notes ### Return type -[**GetSubsidiaryResponse**](GetSubsidiaryResponse.md) +[**GetSupplierResponse**](GetSupplierResponse.md) ### Authorization @@ -6187,7 +7584,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Subsidiary | - | +| **200** | Supplier | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6197,13 +7594,13 @@ 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) - -# **SubsidiariesUpdate** -> UpdateSubsidiaryResponse SubsidiariesUpdate (string id, Subsidiary subsidiary, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **SuppliersUpdate** +> UpdateSupplierResponse SuppliersUpdate (string id, Supplier supplier, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Subsidiary +Update Supplier -Update Subsidiary +Update Supplier ### Example ```csharp @@ -6215,7 +7612,7 @@ using Apideck.Model; namespace Example { - public class SubsidiariesUpdateExample + public class SuppliersUpdateExample { public static void Main() { @@ -6228,7 +7625,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var subsidiary = new Subsidiary(); // Subsidiary | + var supplier = new Supplier(); // Supplier | 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) 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) @@ -6236,13 +7633,13 @@ namespace Example try { - // Update Subsidiary - UpdateSubsidiaryResponse result = apiInstance.SubsidiariesUpdate(id, subsidiary, consumerId, appId, serviceId, raw); + // Update Supplier + UpdateSupplierResponse result = apiInstance.SuppliersUpdate(id, supplier, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SubsidiariesUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.SuppliersUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6256,7 +7653,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **subsidiary** | [**Subsidiary**](Subsidiary.md)| | + **supplier** | [**Supplier**](Supplier.md)| | **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] **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] @@ -6264,7 +7661,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateSubsidiaryResponse**](UpdateSubsidiaryResponse.md) +[**UpdateSupplierResponse**](UpdateSupplierResponse.md) ### Authorization @@ -6279,7 +7676,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Subsidiaries | - | +| **200** | Supplier updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6289,13 +7686,13 @@ 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) - -# **SuppliersAdd** -> CreateSupplierResponse SuppliersAdd (Supplier supplier, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **TaxRatesAdd** +> CreateTaxRateResponse TaxRatesAdd (TaxRate taxRate, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Supplier +Create Tax Rate -Create Supplier +Create Tax Rate ### Example ```csharp @@ -6307,7 +7704,7 @@ using Apideck.Model; namespace Example { - public class SuppliersAddExample + public class TaxRatesAddExample { public static void Main() { @@ -6319,7 +7716,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var supplier = new Supplier(); // Supplier | + var taxRate = new TaxRate(); // TaxRate | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -6327,13 +7724,13 @@ namespace Example try { - // Create Supplier - CreateSupplierResponse result = apiInstance.SuppliersAdd(supplier, raw, consumerId, appId, serviceId); + // Create Tax Rate + CreateTaxRateResponse result = apiInstance.TaxRatesAdd(taxRate, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SuppliersAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TaxRatesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6346,7 +7743,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **supplier** | [**Supplier**](Supplier.md)| | + **taxRate** | [**TaxRate**](TaxRate.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -6354,7 +7751,7 @@ Name | Type | Description | Notes ### Return type -[**CreateSupplierResponse**](CreateSupplierResponse.md) +[**CreateTaxRateResponse**](CreateTaxRateResponse.md) ### Authorization @@ -6369,7 +7766,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | Supplier created | - | +| **201** | TaxRate created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6379,13 +7776,13 @@ 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) - -# **SuppliersAll** -> GetSuppliersResponse SuppliersAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, SuppliersFilter filter = null, SuppliersSort sort = null, PassThroughQuery passThrough = null, string fields = null) + +# **TaxRatesAll** +> GetTaxRatesResponse TaxRatesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, TaxRatesFilter filter = null, PassThroughQuery passThrough = null, string fields = null) -List Suppliers +List Tax Rates -List Suppliers +List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks ### Example ```csharp @@ -6397,7 +7794,7 @@ using Apideck.Model; namespace Example { - public class SuppliersAllExample + public class TaxRatesAllExample { public static void Main() { @@ -6415,20 +7812,19 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new SuppliersFilter(); // SuppliersFilter | Apply filters (optional) - var sort = new SuppliersSort(); // SuppliersSort | Apply sorting (optional) + var filter = new TaxRatesFilter(); // TaxRatesFilter | Apply filters (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Suppliers - GetSuppliersResponse result = apiInstance.SuppliersAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + // List Tax Rates + GetTaxRatesResponse result = apiInstance.TaxRatesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SuppliersAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TaxRatesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6447,14 +7843,13 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**SuppliersFilter**](SuppliersFilter.md)| Apply filters | [optional] - **sort** | [**SuppliersSort**](SuppliersSort.md)| Apply sorting | [optional] + **filter** | [**TaxRatesFilter**](TaxRatesFilter.md)| Apply filters | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetSuppliersResponse**](GetSuppliersResponse.md) +[**GetTaxRatesResponse**](GetTaxRatesResponse.md) ### Authorization @@ -6469,7 +7864,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Suppliers | - | +| **200** | TaxRates | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6479,13 +7874,13 @@ 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) - -# **SuppliersDelete** -> DeleteSupplierResponse SuppliersDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **TaxRatesDelete** +> DeleteTaxRateResponse TaxRatesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Supplier +Delete Tax Rate -Delete Supplier +Delete Tax Rate ### Example ```csharp @@ -6497,7 +7892,7 @@ using Apideck.Model; namespace Example { - public class SuppliersDeleteExample + public class TaxRatesDeleteExample { public static void Main() { @@ -6517,13 +7912,13 @@ namespace Example try { - // Delete Supplier - DeleteSupplierResponse result = apiInstance.SuppliersDelete(id, consumerId, appId, serviceId, raw); + // Delete Tax Rate + DeleteTaxRateResponse result = apiInstance.TaxRatesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SuppliersDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TaxRatesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6544,7 +7939,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteSupplierResponse**](DeleteSupplierResponse.md) +[**DeleteTaxRateResponse**](DeleteTaxRateResponse.md) ### Authorization @@ -6559,7 +7954,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Supplier deleted | - | +| **200** | TaxRates deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6569,13 +7964,13 @@ 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) - -# **SuppliersOne** -> GetSupplierResponse SuppliersOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **TaxRatesOne** +> GetTaxRateResponse TaxRatesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Supplier +Get Tax Rate -Get Supplier +Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks ### Example ```csharp @@ -6587,7 +7982,7 @@ using Apideck.Model; namespace Example { - public class SuppliersOneExample + public class TaxRatesOneExample { public static void Main() { @@ -6608,13 +8003,13 @@ namespace Example try { - // Get Supplier - GetSupplierResponse result = apiInstance.SuppliersOne(id, consumerId, appId, serviceId, raw, fields); + // Get Tax Rate + GetTaxRateResponse result = apiInstance.TaxRatesOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SuppliersOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TaxRatesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6636,7 +8031,7 @@ Name | Type | Description | Notes ### Return type -[**GetSupplierResponse**](GetSupplierResponse.md) +[**GetTaxRateResponse**](GetTaxRateResponse.md) ### Authorization @@ -6651,7 +8046,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Supplier | - | +| **200** | TaxRate | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6661,13 +8056,13 @@ 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) - -# **SuppliersUpdate** -> UpdateSupplierResponse SuppliersUpdate (string id, Supplier supplier, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **TaxRatesUpdate** +> UpdateTaxRateResponse TaxRatesUpdate (string id, TaxRate taxRate, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Supplier +Update Tax Rate -Update Supplier +Update Tax Rate ### Example ```csharp @@ -6679,7 +8074,7 @@ using Apideck.Model; namespace Example { - public class SuppliersUpdateExample + public class TaxRatesUpdateExample { public static void Main() { @@ -6692,7 +8087,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var supplier = new Supplier(); // Supplier | + var taxRate = new TaxRate(); // TaxRate | 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) 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) @@ -6700,13 +8095,13 @@ namespace Example try { - // Update Supplier - UpdateSupplierResponse result = apiInstance.SuppliersUpdate(id, supplier, consumerId, appId, serviceId, raw); + // Update Tax Rate + UpdateTaxRateResponse result = apiInstance.TaxRatesUpdate(id, taxRate, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.SuppliersUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TaxRatesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6720,7 +8115,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **supplier** | [**Supplier**](Supplier.md)| | + **taxRate** | [**TaxRate**](TaxRate.md)| | **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] **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] @@ -6728,7 +8123,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateSupplierResponse**](UpdateSupplierResponse.md) +[**UpdateTaxRateResponse**](UpdateTaxRateResponse.md) ### Authorization @@ -6743,7 +8138,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Supplier updated | - | +| **200** | TaxRate updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6753,13 +8148,13 @@ 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) - -# **TaxRatesAdd** -> CreateTaxRateResponse TaxRatesAdd (TaxRate taxRate, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) + +# **TrackingCategoriesAdd** +> CreateTrackingCategoryResponse TrackingCategoriesAdd (TrackingCategory trackingCategory, bool? raw = null, string consumerId = null, string appId = null, string serviceId = null) -Create Tax Rate +Create Tracking Category -Create Tax Rate +Create Tracking Category ### Example ```csharp @@ -6771,7 +8166,7 @@ using Apideck.Model; namespace Example { - public class TaxRatesAddExample + public class TrackingCategoriesAddExample { public static void Main() { @@ -6783,7 +8178,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new AccountingApi(config); - var taxRate = new TaxRate(); // TaxRate | + var trackingCategory = new TrackingCategory(); // TrackingCategory | var raw = false; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to false) 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) @@ -6791,13 +8186,13 @@ namespace Example try { - // Create Tax Rate - CreateTaxRateResponse result = apiInstance.TaxRatesAdd(taxRate, raw, consumerId, appId, serviceId); + // Create Tracking Category + CreateTrackingCategoryResponse result = apiInstance.TrackingCategoriesAdd(trackingCategory, raw, consumerId, appId, serviceId); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.TaxRatesAdd: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TrackingCategoriesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6810,7 +8205,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **taxRate** | [**TaxRate**](TaxRate.md)| | + **trackingCategory** | [**TrackingCategory**](TrackingCategory.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **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] @@ -6818,7 +8213,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTaxRateResponse**](CreateTaxRateResponse.md) +[**CreateTrackingCategoryResponse**](CreateTrackingCategoryResponse.md) ### Authorization @@ -6833,7 +8228,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | TaxRate created | - | +| **201** | Tracking category created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6843,13 +8238,13 @@ 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) - -# **TaxRatesAll** -> GetTaxRatesResponse TaxRatesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, TaxRatesFilter filter = null, PassThroughQuery passThrough = null, string fields = null) + +# **TrackingCategoriesAll** +> GetTrackingCategoriesResponse TrackingCategoriesAll (bool? raw = null, string consumerId = null, string appId = null, string serviceId = null, string cursor = null, int? limit = null, PassThroughQuery passThrough = null, string fields = null) -List Tax Rates +List Tracking Categories -List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks +List Tracking Categories ### Example ```csharp @@ -6861,7 +8256,7 @@ using Apideck.Model; namespace Example { - public class TaxRatesAllExample + public class TrackingCategoriesAllExample { public static void Main() { @@ -6879,19 +8274,18 @@ 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 cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) (default to 20) - var filter = new TaxRatesFilter(); // TaxRatesFilter | Apply filters (optional) var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) 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.

Example: `fields=name,email,addresses.city`

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) try { - // List Tax Rates - GetTaxRatesResponse result = apiInstance.TaxRatesAll(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); + // List Tracking Categories + GetTrackingCategoriesResponse result = apiInstance.TrackingCategoriesAll(raw, consumerId, appId, serviceId, cursor, limit, passThrough, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.TaxRatesAll: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TrackingCategoriesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -6910,13 +8304,12 @@ 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] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] [default to 20] - **filter** | [**TaxRatesFilter**](TaxRatesFilter.md)| Apply filters | [optional] **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] **fields** | **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] ### Return type -[**GetTaxRatesResponse**](GetTaxRatesResponse.md) +[**GetTrackingCategoriesResponse**](GetTrackingCategoriesResponse.md) ### Authorization @@ -6931,7 +8324,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | TaxRates | - | +| **200** | Tracking categories | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -6941,13 +8334,13 @@ 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) - -# **TaxRatesDelete** -> DeleteTaxRateResponse TaxRatesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **TrackingCategoriesDelete** +> DeleteTrackingCategoryResponse TrackingCategoriesDelete (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Delete Tax Rate +Delete Tracking Category -Delete Tax Rate +Delete Tracking Category ### Example ```csharp @@ -6959,7 +8352,7 @@ using Apideck.Model; namespace Example { - public class TaxRatesDeleteExample + public class TrackingCategoriesDeleteExample { public static void Main() { @@ -6979,13 +8372,13 @@ namespace Example try { - // Delete Tax Rate - DeleteTaxRateResponse result = apiInstance.TaxRatesDelete(id, consumerId, appId, serviceId, raw); + // Delete Tracking Category + DeleteTrackingCategoryResponse result = apiInstance.TrackingCategoriesDelete(id, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.TaxRatesDelete: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TrackingCategoriesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -7006,7 +8399,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTaxRateResponse**](DeleteTaxRateResponse.md) +[**DeleteTrackingCategoryResponse**](DeleteTrackingCategoryResponse.md) ### Authorization @@ -7021,7 +8414,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | TaxRates deleted | - | +| **200** | Tracking category deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -7031,13 +8424,13 @@ 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) - -# **TaxRatesOne** -> GetTaxRateResponse TaxRatesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) + +# **TrackingCategoriesOne** +> GetTrackingCategoryResponse TrackingCategoriesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null) -Get Tax Rate +Get Tracking Category -Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks +Get Tracking Category ### Example ```csharp @@ -7049,7 +8442,7 @@ using Apideck.Model; namespace Example { - public class TaxRatesOneExample + public class TrackingCategoriesOneExample { public static void Main() { @@ -7070,13 +8463,13 @@ namespace Example try { - // Get Tax Rate - GetTaxRateResponse result = apiInstance.TaxRatesOne(id, consumerId, appId, serviceId, raw, fields); + // Get Tracking Category + GetTrackingCategoryResponse result = apiInstance.TrackingCategoriesOne(id, consumerId, appId, serviceId, raw, fields); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.TaxRatesOne: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TrackingCategoriesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -7098,7 +8491,7 @@ Name | Type | Description | Notes ### Return type -[**GetTaxRateResponse**](GetTaxRateResponse.md) +[**GetTrackingCategoryResponse**](GetTrackingCategoryResponse.md) ### Authorization @@ -7113,7 +8506,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | TaxRate | - | +| **200** | Tracking category | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | @@ -7123,13 +8516,13 @@ 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) - -# **TaxRatesUpdate** -> UpdateTaxRateResponse TaxRatesUpdate (string id, TaxRate taxRate, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) + +# **TrackingCategoriesUpdate** +> UpdateTrackingCategoryResponse TrackingCategoriesUpdate (string id, TrackingCategory trackingCategory, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null) -Update Tax Rate +Update Tracking Category -Update Tax Rate +Update Tracking Category ### Example ```csharp @@ -7141,7 +8534,7 @@ using Apideck.Model; namespace Example { - public class TaxRatesUpdateExample + public class TrackingCategoriesUpdateExample { public static void Main() { @@ -7154,7 +8547,7 @@ namespace Example var apiInstance = new AccountingApi(config); var id = "id_example"; // string | ID of the record you are acting upon. - var taxRate = new TaxRate(); // TaxRate | + var trackingCategory = new TrackingCategory(); // TrackingCategory | 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) 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) @@ -7162,13 +8555,13 @@ namespace Example try { - // Update Tax Rate - UpdateTaxRateResponse result = apiInstance.TaxRatesUpdate(id, taxRate, consumerId, appId, serviceId, raw); + // Update Tracking Category + UpdateTrackingCategoryResponse result = apiInstance.TrackingCategoriesUpdate(id, trackingCategory, consumerId, appId, serviceId, raw); Debug.WriteLine(result); } catch (ApiException e) { - Debug.Print("Exception when calling AccountingApi.TaxRatesUpdate: " + e.Message ); + Debug.Print("Exception when calling AccountingApi.TrackingCategoriesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } @@ -7182,7 +8575,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | - **taxRate** | [**TaxRate**](TaxRate.md)| | + **trackingCategory** | [**TrackingCategory**](TrackingCategory.md)| | **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] **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] @@ -7190,7 +8583,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTaxRateResponse**](UpdateTaxRateResponse.md) +[**UpdateTrackingCategoryResponse**](UpdateTrackingCategoryResponse.md) ### Authorization @@ -7205,7 +8598,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | TaxRate updated | - | +| **200** | Tracking category updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | diff --git a/src/gen/docs/ActivitiesFilter.md b/src/gen/docs/ActivitiesFilter.md index 904256a2c5..6e8bb3a8a2 100644 --- a/src/gen/docs/ActivitiesFilter.md +++ b/src/gen/docs/ActivitiesFilter.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **OwnerId** | **string** | Owner ID to filter on | [optional] **ContactId** | **string** | Primary contact ID to filter on | [optional] **UpdatedSince** | **DateTime** | | [optional] +**Type** | **string** | Type 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) diff --git a/src/gen/docs/Attachment.md b/src/gen/docs/Attachment.md index c857fc14ca..092e5b4e31 100644 --- a/src/gen/docs/Attachment.md +++ b/src/gen/docs/Attachment.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **Size** | **int?** | The size of the file in bytes | [optional] **Reference** | [**AttachmentReference**](AttachmentReference.md) | | [optional] **Description** | **string** | Optional description of the file | [optional] +**ParentFolderId** | **string** | The folder id where this attachment belong to | [optional] **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] diff --git a/src/gen/docs/Bill.md b/src/gen/docs/Bill.md index 9df1a2cc09..168b853c45 100644 --- a/src/gen/docs/Bill.md +++ b/src/gen/docs/Bill.md @@ -34,6 +34,7 @@ Name | Type | Description | Notes **AccountingByRow** | **bool?** | Indicates if accounting by row is used (true) or not (false). Accounting by row means that a separate ledger transaction is created for each row. | [optional] **BankAccount** | [**BankAccount**](BankAccount.md) | | [optional] **DiscountPercentage** | **decimal?** | Discount percentage applied to this transaction. | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **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] @@ -41,6 +42,7 @@ Name | Type | Description | Notes **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] **CustomMappings** | **Object** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly] **PassThrough** | **List<Object>** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [optional] +**AccountingPeriod** | **string** | Accounting period | [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) diff --git a/src/gen/docs/BillLineItem.md b/src/gen/docs/BillLineItem.md index 0d085c276c..bc7328a22d 100644 --- a/src/gen/docs/BillLineItem.md +++ b/src/gen/docs/BillLineItem.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **Item** | [**LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional] **TaxRate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] **LedgerAccount** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **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] **CreatedBy** | **string** | The user who created the object. | [optional] [readonly] diff --git a/src/gen/docs/BillPayment.md b/src/gen/docs/BillPayment.md new file mode 100644 index 0000000000..b879f8cf07 --- /dev/null +++ b/src/gen/docs/BillPayment.md @@ -0,0 +1,38 @@ +# Apideck.Model.BillPayment + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | A unique identifier for an object. | [readonly] +**DownstreamId** | **string** | The third-party API ID of original entity | [optional] [readonly] +**Currency** | **Currency** | | [optional] +**CurrencyRate** | **decimal?** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] +**TotalAmount** | **decimal?** | The total amount of the transaction | +**Reference** | **string** | Optional transaction reference message ie: Debit remittance detail. | [optional] +**PaymentMethod** | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] +**PaymentMethodReference** | **string** | Optional reference message returned by payment method on processing | [optional] +**PaymentMethodId** | **string** | A unique identifier for an object. | [optional] +**Account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] +**TransactionDate** | **DateTime?** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +**Supplier** | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] +**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] +**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] +**CustomFields** | [**List<CustomField>**](CustomField.md) | | [optional] +**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] +**DisplayId** | **string** | Id to be displayed. | [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] +**CreatedAt** | **DateTime?** | The date and time when the object was created. | [optional] [readonly] +**UpdatedAt** | **DateTime?** | The date and time when the object was last updated. | [optional] [readonly] +**PassThrough** | **List<Object>** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [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) + diff --git a/src/gen/docs/CreateAttachmentRequest.md b/src/gen/docs/CreateAttachmentRequest.md index bd03d4e5e4..3e1f502ed8 100644 --- a/src/gen/docs/CreateAttachmentRequest.md +++ b/src/gen/docs/CreateAttachmentRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | The name of the file | **Description** | **string** | Optional description of the file. | [optional] +**ParentFolderId** | **string** | The folder id where this attachment belong to | [optional] **PassThrough** | **List<Object>** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [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) diff --git a/src/gen/docs/CreateBillPaymentResponse.md b/src/gen/docs/CreateBillPaymentResponse.md new file mode 100644 index 0000000000..523ffa6b9b --- /dev/null +++ b/src/gen/docs/CreateBillPaymentResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.CreateBillPaymentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/CreateExpenseResponse.md b/src/gen/docs/CreateExpenseResponse.md new file mode 100644 index 0000000000..2b2b94533c --- /dev/null +++ b/src/gen/docs/CreateExpenseResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.CreateExpenseResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/CreateTrackingCategoryResponse.md b/src/gen/docs/CreateTrackingCategoryResponse.md new file mode 100644 index 0000000000..f8197a5331 --- /dev/null +++ b/src/gen/docs/CreateTrackingCategoryResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.CreateTrackingCategoryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/CreditNote.md b/src/gen/docs/CreditNote.md index cb0578a00c..5c55393812 100644 --- a/src/gen/docs/CreditNote.md +++ b/src/gen/docs/CreditNote.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **Terms** | **string** | Optional terms to be associated with the credit note. | [optional] **BillingAddress** | [**Address**](Address.md) | | [optional] **ShippingAddress** | [**Address**](Address.md) | | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **CustomMappings** | **Object** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly] **CustomFields** | [**List<CustomField>**](CustomField.md) | | [optional] **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] diff --git a/src/gen/docs/DeleteBillPaymentResponse.md b/src/gen/docs/DeleteBillPaymentResponse.md new file mode 100644 index 0000000000..0499ad7654 --- /dev/null +++ b/src/gen/docs/DeleteBillPaymentResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.DeleteBillPaymentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/DeleteExpenseResponse.md b/src/gen/docs/DeleteExpenseResponse.md new file mode 100644 index 0000000000..1000e7fbcc --- /dev/null +++ b/src/gen/docs/DeleteExpenseResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.DeleteExpenseResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/DeleteTrackingCategoryResponse.md b/src/gen/docs/DeleteTrackingCategoryResponse.md new file mode 100644 index 0000000000..415c02a3b8 --- /dev/null +++ b/src/gen/docs/DeleteTrackingCategoryResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.DeleteTrackingCategoryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/DeprecatedLinkedSupplier.md b/src/gen/docs/DeprecatedLinkedSupplier.md new file mode 100644 index 0000000000..92e70d9606 --- /dev/null +++ b/src/gen/docs/DeprecatedLinkedSupplier.md @@ -0,0 +1,15 @@ +# Apideck.Model.DeprecatedLinkedSupplier +The supplier this entity is linked to. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | A unique identifier for an object. | [optional] [readonly] +**DisplayId** | **string** | The display ID of the supplier. | [optional] [readonly] +**DisplayName** | **string** | The display name of the supplier. | [optional] +**CompanyName** | **string** | The company name of the supplier. | [optional] [readonly] +**Address** | [**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) + diff --git a/src/gen/docs/DeprecatedLinkedTrackingCategory.md b/src/gen/docs/DeprecatedLinkedTrackingCategory.md new file mode 100644 index 0000000000..244e711b6a --- /dev/null +++ b/src/gen/docs/DeprecatedLinkedTrackingCategory.md @@ -0,0 +1,11 @@ +# Apideck.Model.DeprecatedLinkedTrackingCategory + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The unique identifier for the tracking category. | [optional] +**Name** | **string** | The name of the tracking category. | [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) + diff --git a/src/gen/docs/Employee.md b/src/gen/docs/Employee.md index c554f60095..d72641ec0e 100644 --- a/src/gen/docs/Employee.md +++ b/src/gen/docs/Employee.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | A unique identifier for an object. | [readonly] +**Id** | **string** | A unique identifier for an object. | [optional] **FirstName** | **string** | The first name of the person. | [optional] **LastName** | **string** | The last name of the person. | [optional] **MiddleName** | **string** | Middle name of the person. | [optional] diff --git a/src/gen/docs/Expense.md b/src/gen/docs/Expense.md new file mode 100644 index 0000000000..a975769397 --- /dev/null +++ b/src/gen/docs/Expense.md @@ -0,0 +1,30 @@ +# Apideck.Model.Expense + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | A unique identifier for an object. | [optional] [readonly] +**Number** | **string** | Number. | [optional] +**TransactionDate** | **DateTime?** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | +**AccountId** | **string** | The unique identifier for the ledger account that this expense should be credited to. | +**CustomerId** | **string** | The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers. | [optional] +**SupplierId** | **string** | The ID of the supplier this entity is linked to. | [optional] +**CompanyId** | **string** | The company or subsidiary id the transaction belongs to | [optional] +**DepartmentId** | **string** | The ID of the department this expense is linked to. | [optional] +**Currency** | **Currency** | | [optional] +**CurrencyRate** | **decimal?** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] +**Type** | **string** | The type of expense. | [optional] +**Memo** | **string** | The memo of the expense. | [optional] +**TaxRate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] +**TotalAmount** | **decimal?** | The total amount of the expense line item. | [optional] +**LineItems** | [**List<ExpenseLineItem>**](ExpenseLineItem.md) | Expense line items linked to this expense. | +**CustomFields** | [**List<CustomField>**](CustomField.md) | | [optional] +**CustomMappings** | **Object** | When custom mappings are configured on the resource, the result is included here. | [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] +**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] +**PassThrough** | **List<Object>** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [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) + diff --git a/src/gen/docs/ExpenseLineItem.md b/src/gen/docs/ExpenseLineItem.md new file mode 100644 index 0000000000..c18b4f063e --- /dev/null +++ b/src/gen/docs/ExpenseLineItem.md @@ -0,0 +1,19 @@ +# Apideck.Model.ExpenseLineItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | A unique identifier for an object. | [optional] [readonly] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] +**AccountId** | **string** | The unique identifier for the ledger account. | [optional] +**CustomerId** | **string** | The ID of the customer this expense item is linked to. | [optional] +**DepartmentId** | **string** | The ID of the department this expense item is linked to. | [optional] +**LocationId** | **string** | The ID of the location this expense item is linked to. | [optional] +**TaxRate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] +**Description** | **string** | The expense line item description | [optional] +**TotalAmount** | **decimal?** | The total amount of the expense line item. | +**Billable** | **bool** | Boolean that indicates if the line item is billable or not. | [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) + diff --git a/src/gen/docs/GetBillPaymentResponse.md b/src/gen/docs/GetBillPaymentResponse.md new file mode 100644 index 0000000000..2395ddc519 --- /dev/null +++ b/src/gen/docs/GetBillPaymentResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.GetBillPaymentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**BillPayment**](BillPayment.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) + diff --git a/src/gen/docs/GetBillPaymentsResponse.md b/src/gen/docs/GetBillPaymentsResponse.md new file mode 100644 index 0000000000..82e59870a3 --- /dev/null +++ b/src/gen/docs/GetBillPaymentsResponse.md @@ -0,0 +1,17 @@ +# Apideck.Model.GetBillPaymentsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**List<BillPayment>**](BillPayment.md) | | +**Meta** | [**Meta**](Meta.md) | | [optional] +**Links** | [**Links**](Links.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) + diff --git a/src/gen/docs/GetExpenseResponse.md b/src/gen/docs/GetExpenseResponse.md new file mode 100644 index 0000000000..d3ebd40533 --- /dev/null +++ b/src/gen/docs/GetExpenseResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.GetExpenseResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**Expense**](Expense.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) + diff --git a/src/gen/docs/GetExpensesResponse.md b/src/gen/docs/GetExpensesResponse.md new file mode 100644 index 0000000000..903c7419da --- /dev/null +++ b/src/gen/docs/GetExpensesResponse.md @@ -0,0 +1,17 @@ +# Apideck.Model.GetExpensesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**List<Expense>**](Expense.md) | | +**Meta** | [**Meta**](Meta.md) | | [optional] +**Links** | [**Links**](Links.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) + diff --git a/src/gen/docs/GetTrackingCategoriesResponse.md b/src/gen/docs/GetTrackingCategoriesResponse.md new file mode 100644 index 0000000000..030a81ce37 --- /dev/null +++ b/src/gen/docs/GetTrackingCategoriesResponse.md @@ -0,0 +1,17 @@ +# Apideck.Model.GetTrackingCategoriesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**List<TrackingCategory>**](TrackingCategory.md) | | +**Meta** | [**Meta**](Meta.md) | | [optional] +**Links** | [**Links**](Links.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) + diff --git a/src/gen/docs/GetTrackingCategoryResponse.md b/src/gen/docs/GetTrackingCategoryResponse.md new file mode 100644 index 0000000000..d46b5c8a03 --- /dev/null +++ b/src/gen/docs/GetTrackingCategoryResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.GetTrackingCategoryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**TrackingCategory**](TrackingCategory.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) + diff --git a/src/gen/docs/HrisApi.md b/src/gen/docs/HrisApi.md index 27ba9d88c4..8fa4f2b62f 100644 --- a/src/gen/docs/HrisApi.md +++ b/src/gen/docs/HrisApi.md @@ -1517,7 +1517,7 @@ Name | Type | Description | Notes # **EmployeesOne** -> GetEmployeeResponse EmployeesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null, EmployeesOneFilter filter = null) +> GetEmployeeResponse EmployeesOne (string id, string consumerId = null, string appId = null, string serviceId = null, bool? raw = null, string fields = null, EmployeesOneFilter filter = null, PassThroughQuery passThrough = null) Get Employee @@ -1552,11 +1552,12 @@ namespace Example 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.

Example: `fields=name,email,addresses.city`

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 EmployeesOneFilter(); // EmployeesOneFilter | Apply filters (optional) + var passThrough = new PassThroughQuery(); // PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) try { // Get Employee - GetEmployeeResponse result = apiInstance.EmployeesOne(id, consumerId, appId, serviceId, raw, fields, filter); + GetEmployeeResponse result = apiInstance.EmployeesOne(id, consumerId, appId, serviceId, raw, fields, filter, passThrough); Debug.WriteLine(result); } catch (ApiException e) @@ -1581,6 +1582,7 @@ Name | Type | Description | Notes **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to false] **fields** | **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] **filter** | [**EmployeesOneFilter**](EmployeesOneFilter.md)| Apply filters | [optional] + **passThrough** | [**PassThroughQuery**](PassThroughQuery.md)| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional] ### Return type diff --git a/src/gen/docs/Invoice.md b/src/gen/docs/Invoice.md index fd29137416..7b5afee0ca 100644 --- a/src/gen/docs/Invoice.md +++ b/src/gen/docs/Invoice.md @@ -29,7 +29,8 @@ Name | Type | Description | Notes **Balance** | **decimal?** | Balance of invoice due. | [optional] **Deposit** | **decimal?** | Amount of deposit made to this invoice. | [optional] **CustomerMemo** | **string** | Customer memo | [optional] -**TrackingCategory** | [**LinkedTrackingCategory**](LinkedTrackingCategory.md) | | [optional] +**TrackingCategory** | [**DeprecatedLinkedTrackingCategory**](DeprecatedLinkedTrackingCategory.md) | | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **LineItems** | [**List<InvoiceLineItem>**](InvoiceLineItem.md) | | [optional] **BillingAddress** | [**Address**](Address.md) | | [optional] **ShippingAddress** | [**Address**](Address.md) | | [optional] diff --git a/src/gen/docs/InvoiceItem.md b/src/gen/docs/InvoiceItem.md index 656c1cb314..f65c2f8e02 100644 --- a/src/gen/docs/InvoiceItem.md +++ b/src/gen/docs/InvoiceItem.md @@ -21,7 +21,8 @@ Name | Type | Description | Notes **AssetAccount** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] **IncomeAccount** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] **ExpenseAccount** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -**TrackingCategory** | [**LinkedTrackingCategory**](LinkedTrackingCategory.md) | | [optional] +**TrackingCategory** | [**DeprecatedLinkedTrackingCategory**](DeprecatedLinkedTrackingCategory.md) | | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **Active** | **bool?** | | [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] diff --git a/src/gen/docs/InvoiceLineItem.md b/src/gen/docs/InvoiceLineItem.md index 7bde90a5f6..35332ad4b3 100644 --- a/src/gen/docs/InvoiceLineItem.md +++ b/src/gen/docs/InvoiceLineItem.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | **string** | A unique identifier for an object. | [optional] **RowId** | **string** | Row ID | [optional] **Code** | **string** | User defined item code | [optional] -**LineNumber** | **int?** | Line number in the invoice | [optional] +**LineNumber** | **int?** | Line number of the resource | [optional] **Description** | **string** | User defined description | [optional] **Type** | **string** | Item type | [optional] **TaxAmount** | **decimal?** | Tax amount | [optional] @@ -21,6 +21,7 @@ Name | Type | Description | Notes **DepartmentId** | **string** | Department id | [optional] **Item** | [**LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional] **TaxRate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **LedgerAccount** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] **CustomFields** | [**List<CustomField>**](CustomField.md) | | [optional] **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] diff --git a/src/gen/docs/InvoicesFilter.md b/src/gen/docs/InvoicesFilter.md index 446fb5cf54..672c397fb9 100644 --- a/src/gen/docs/InvoicesFilter.md +++ b/src/gen/docs/InvoicesFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **UpdatedSince** | **DateTime** | | [optional] **CreatedSince** | **DateTime** | | [optional] +**Number** | **string** | Invoice number to search for | [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) diff --git a/src/gen/docs/JournalEntry.md b/src/gen/docs/JournalEntry.md index ccff4fec93..97635a3063 100644 --- a/src/gen/docs/JournalEntry.md +++ b/src/gen/docs/JournalEntry.md @@ -16,6 +16,8 @@ Name | Type | Description | Notes **TaxType** | **string** | The specific category of tax associated with a transaction like sales or purchase | [optional] **TaxCode** | **string** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional] **Number** | **string** | Journal entry number. | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] +**AccountingPeriod** | **string** | Accounting period | [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] diff --git a/src/gen/docs/JournalEntryLineItem.md b/src/gen/docs/JournalEntryLineItem.md index 476568145c..2d5ecdd78b 100644 --- a/src/gen/docs/JournalEntryLineItem.md +++ b/src/gen/docs/JournalEntryLineItem.md @@ -11,12 +11,14 @@ Name | Type | Description | Notes **TotalAmount** | **decimal?** | Debit entries are considered positive, and credit entries are considered negative. | [optional] **Type** | **string** | Debit entries are considered positive, and credit entries are considered negative. | **TaxRate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] -**TrackingCategory** | [**LinkedTrackingCategory**](LinkedTrackingCategory.md) | | [optional] +**TrackingCategory** | [**DeprecatedLinkedTrackingCategory**](DeprecatedLinkedTrackingCategory.md) | | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [optional] **LedgerAccount** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | **Customer** | [**LinkedCustomer**](LinkedCustomer.md) | | [optional] **Supplier** | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] **DepartmentId** | **string** | A unique identifier for an object. | [optional] [readonly] **LocationId** | **string** | A unique identifier for an object. | [optional] [readonly] +**LineNumber** | **int?** | Line number of the resource | [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) diff --git a/src/gen/docs/Lead.md b/src/gen/docs/Lead.md index 4d8c919aa3..7afb7a2266 100644 --- a/src/gen/docs/Lead.md +++ b/src/gen/docs/Lead.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **Name** | **string** | Full name of the lead. | **CompanyName** | **string** | The name of the company the lead is associated with. | **OwnerId** | **string** | The owner of the lead. | [optional] +**OwnerName** | **string** | The name of the owner of the lead. | [optional] **CompanyId** | **string** | The company the lead is associated with. | [optional] **LeadId** | **string** | The identifier of the lead. | [optional] **LeadSource** | **string** | The source of the lead. | [optional] diff --git a/src/gen/docs/LeadsFilter.md b/src/gen/docs/LeadsFilter.md index cb442c779a..aef41342af 100644 --- a/src/gen/docs/LeadsFilter.md +++ b/src/gen/docs/LeadsFilter.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **FirstName** | **string** | First name of the lead to filter on | [optional] **LastName** | **string** | Last name of the lead to filter on | [optional] **Email** | **string** | E-mail of the lead to filter on | [optional] +**PhoneNumber** | **string** | Phone number of the lead 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) diff --git a/src/gen/docs/Payment.md b/src/gen/docs/Payment.md index ad742ddc33..04374a69e3 100644 --- a/src/gen/docs/Payment.md +++ b/src/gen/docs/Payment.md @@ -4,31 +4,32 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | Unique identifier representing the entity | [readonly] +**Id** | **string** | A unique identifier for an object. | [readonly] **DownstreamId** | **string** | The third-party API ID of original entity | [optional] [readonly] **Currency** | **Currency** | | [optional] **CurrencyRate** | **decimal?** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] -**TotalAmount** | **decimal** | Amount of payment | -**Reference** | **string** | Optional payment reference message ie: Debit remittance detail. | [optional] -**PaymentMethod** | **string** | Payment method name | [optional] +**TotalAmount** | **decimal?** | The total amount of the transaction | +**Reference** | **string** | Optional transaction reference message ie: Debit remittance detail. | [optional] +**PaymentMethod** | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional] **PaymentMethodReference** | **string** | Optional reference message returned by payment method on processing | [optional] -**PaymentMethodId** | **string** | Unique identifier for the payment method. | [optional] +**PaymentMethodId** | **string** | A unique identifier for an object. | [optional] **AccountsReceivableAccountType** | **string** | Type of accounts receivable account. | [optional] **AccountsReceivableAccountId** | **string** | Unique identifier for the account to allocate payment to. | [optional] **Account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -**TransactionDate** | **DateTime** | Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD | +**TransactionDate** | **DateTime?** | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD | **Customer** | [**LinkedCustomer**](LinkedCustomer.md) | | [optional] -**Supplier** | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] +**Supplier** | [**DeprecatedLinkedSupplier**](DeprecatedLinkedSupplier.md) | | [optional] **CompanyId** | **string** | The company or subsidiary id the transaction belongs to | [optional] -**Reconciled** | **bool** | Payment has been reconciled | [optional] -**Status** | **string** | Status of payment | [optional] -**Type** | **string** | Type of payment | [optional] +**Reconciled** | **bool?** | Indicates if the transaction has been reconciled. | [optional] +**Status** | **PaymentStatus** | | [optional] +**Type** | **PaymentType** | | [optional] **Allocations** | [**List<Allocation>**](Allocation.md) | | [optional] -**Note** | **string** | Optional note to be associated with the payment. | [optional] -**Number** | **string** | Payment number. | [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] **CustomFields** | [**List<CustomField>**](CustomField.md) | | [optional] **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] -**DisplayId** | **string** | Payment id to be displayed. | [optional] +**DisplayId** | **string** | Id to be displayed. | [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] diff --git a/src/gen/docs/PaymentStatus.md b/src/gen/docs/PaymentStatus.md new file mode 100644 index 0000000000..8d7e4a3031 --- /dev/null +++ b/src/gen/docs/PaymentStatus.md @@ -0,0 +1,10 @@ +# Apideck.Model.PaymentStatus +Status of payment + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/src/gen/docs/PaymentType.md b/src/gen/docs/PaymentType.md new file mode 100644 index 0000000000..264e69fe36 --- /dev/null +++ b/src/gen/docs/PaymentType.md @@ -0,0 +1,10 @@ +# Apideck.Model.PaymentType +Type of payment + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/src/gen/docs/PurchaseOrder.md b/src/gen/docs/PurchaseOrder.md index 23ff0b1274..564afd5060 100644 --- a/src/gen/docs/PurchaseOrder.md +++ b/src/gen/docs/PurchaseOrder.md @@ -32,6 +32,7 @@ Name | Type | Description | Notes **TaxCode** | **string** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional] **Channel** | **string** | The channel through which the transaction is processed. | [optional] **Memo** | **string** | Message for the supplier. This text appears on the Purchase Order. | [optional] +**TrackingCategories** | [**List<LinkedTrackingCategory>**](LinkedTrackingCategory.md) | A list of linked tracking categories. | [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] diff --git a/src/gen/docs/PurchaseOrdersFilter.md b/src/gen/docs/PurchaseOrdersFilter.md index 425183a319..274a166899 100644 --- a/src/gen/docs/PurchaseOrdersFilter.md +++ b/src/gen/docs/PurchaseOrdersFilter.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **UpdatedSince** | **DateTime** | | [optional] +**SupplierId** | **string** | | [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) diff --git a/src/gen/docs/TimeOffRequest.md b/src/gen/docs/TimeOffRequest.md index 1918a9bdfd..46c6afad45 100644 --- a/src/gen/docs/TimeOffRequest.md +++ b/src/gen/docs/TimeOffRequest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **ApprovalDate** | **string** | The date the request was approved | [optional] **Units** | **string** | The unit of time off requested. Possible values include: `hours`, `days`, or `other`. | [optional] **Amount** | **decimal?** | The amount of time off requested. | [optional] +**DayPart** | **string** | The day part of the time off request. | [optional] **Notes** | [**TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [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] diff --git a/src/gen/docs/TimeOffRequestsFilter.md b/src/gen/docs/TimeOffRequestsFilter.md index daa7b23f7f..095ac8f65e 100644 --- a/src/gen/docs/TimeOffRequestsFilter.md +++ b/src/gen/docs/TimeOffRequestsFilter.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **UpdatedSince** | **string** | Minimum date the time off request was last created or modified | [optional] **EmployeeId** | **string** | Employee ID | [optional] **TimeOffRequestStatus** | **string** | Time off request status to filter on | [optional] +**CompanyId** | **string** | Company ID | [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) diff --git a/src/gen/docs/TrackingCategory.md b/src/gen/docs/TrackingCategory.md new file mode 100644 index 0000000000..b439410310 --- /dev/null +++ b/src/gen/docs/TrackingCategory.md @@ -0,0 +1,21 @@ +# Apideck.Model.TrackingCategory + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | A unique identifier for an object. | [optional] [readonly] +**ParentId** | **string** | A unique identifier for an object. | [optional] +**Name** | **string** | The name of the tracking category. | [optional] +**Code** | **string** | The code of the tracking category. | [optional] +**Status** | **string** | Based on the status some functionality is enabled or disabled. | [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] +**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] +**PassThrough** | **List<Object>** | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | [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) + diff --git a/src/gen/docs/UpdateBillPaymentResponse.md b/src/gen/docs/UpdateBillPaymentResponse.md new file mode 100644 index 0000000000..aa19007932 --- /dev/null +++ b/src/gen/docs/UpdateBillPaymentResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.UpdateBillPaymentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/UpdateExpenseResponse.md b/src/gen/docs/UpdateExpenseResponse.md new file mode 100644 index 0000000000..d025f8f7cc --- /dev/null +++ b/src/gen/docs/UpdateExpenseResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.UpdateExpenseResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/docs/UpdateTrackingCategoryResponse.md b/src/gen/docs/UpdateTrackingCategoryResponse.md new file mode 100644 index 0000000000..4947e3243b --- /dev/null +++ b/src/gen/docs/UpdateTrackingCategoryResponse.md @@ -0,0 +1,15 @@ +# Apideck.Model.UpdateTrackingCategoryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | **int** | HTTP Response Status Code | +**Status** | **string** | HTTP Response Status | +**Service** | **string** | Apideck ID of service provider | +**Resource** | **string** | Unified API resource name | +**Operation** | **string** | Operation performed | +**Data** | [**UnifiedId**](UnifiedId.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) + diff --git a/src/gen/src/Apideck.Test/Api/AccountingApiTests.cs b/src/gen/src/Apideck.Test/Api/AccountingApiTests.cs index 5e9b750ed5..d8b904aadd 100644 --- a/src/gen/src/Apideck.Test/Api/AccountingApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/AccountingApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -146,6 +146,93 @@ public void BalanceSheetOneTest() //Assert.IsType(response); } + /// + /// Test BillPaymentsAdd + /// + [Fact] + public void BillPaymentsAddTest() + { + // TODO uncomment below to test the method and replace null with proper value + //BillPayment billPayment = null; + //bool? raw = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //var response = instance.BillPaymentsAdd(billPayment, raw, consumerId, appId, serviceId); + //Assert.IsType(response); + } + + /// + /// Test BillPaymentsAll + /// + [Fact] + public void BillPaymentsAllTest() + { + // TODO uncomment below to test the method and replace null with proper value + //bool? raw = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //string cursor = null; + //int? limit = null; + //PaymentsFilter filter = null; + //PaymentsSort sort = null; + //PassThroughQuery passThrough = null; + //string fields = null; + //var response = instance.BillPaymentsAll(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + //Assert.IsType(response); + } + + /// + /// Test BillPaymentsDelete + /// + [Fact] + public void BillPaymentsDeleteTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.BillPaymentsDelete(id, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } + + /// + /// Test BillPaymentsOne + /// + [Fact] + public void BillPaymentsOneTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //string fields = null; + //var response = instance.BillPaymentsOne(id, consumerId, appId, serviceId, raw, fields); + //Assert.IsType(response); + } + + /// + /// Test BillPaymentsUpdate + /// + [Fact] + public void BillPaymentsUpdateTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //BillPayment billPayment = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.BillPaymentsUpdate(id, billPayment, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } + /// /// Test BillsAdd /// @@ -508,6 +595,88 @@ public void DepartmentsUpdateTest() //Assert.IsType(response); } + /// + /// Test ExpensesAdd + /// + [Fact] + public void ExpensesAddTest() + { + // TODO uncomment below to test the method and replace null with proper value + //Expense expense = null; + //bool? raw = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //var response = instance.ExpensesAdd(expense, raw, consumerId, appId, serviceId); + //Assert.IsType(response); + } + + /// + /// Test ExpensesAll + /// + [Fact] + public void ExpensesAllTest() + { + // TODO uncomment below to test the method and replace null with proper value + //bool? raw = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //string cursor = null; + //int? limit = null; + //var response = instance.ExpensesAll(raw, consumerId, appId, serviceId, cursor, limit); + //Assert.IsType(response); + } + + /// + /// Test ExpensesDelete + /// + [Fact] + public void ExpensesDeleteTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.ExpensesDelete(id, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } + + /// + /// Test ExpensesOne + /// + [Fact] + public void ExpensesOneTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.ExpensesOne(id, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } + + /// + /// Test ExpensesUpdate + /// + [Fact] + public void ExpensesUpdateTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //Expense expense = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.ExpensesUpdate(id, expense, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } + /// /// Test InvoiceItemsAdd /// @@ -1386,5 +1555,90 @@ public void TaxRatesUpdateTest() //var response = instance.TaxRatesUpdate(id, taxRate, consumerId, appId, serviceId, raw); //Assert.IsType(response); } + + /// + /// Test TrackingCategoriesAdd + /// + [Fact] + public void TrackingCategoriesAddTest() + { + // TODO uncomment below to test the method and replace null with proper value + //TrackingCategory trackingCategory = null; + //bool? raw = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //var response = instance.TrackingCategoriesAdd(trackingCategory, raw, consumerId, appId, serviceId); + //Assert.IsType(response); + } + + /// + /// Test TrackingCategoriesAll + /// + [Fact] + public void TrackingCategoriesAllTest() + { + // TODO uncomment below to test the method and replace null with proper value + //bool? raw = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //string cursor = null; + //int? limit = null; + //PassThroughQuery passThrough = null; + //string fields = null; + //var response = instance.TrackingCategoriesAll(raw, consumerId, appId, serviceId, cursor, limit, passThrough, fields); + //Assert.IsType(response); + } + + /// + /// Test TrackingCategoriesDelete + /// + [Fact] + public void TrackingCategoriesDeleteTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.TrackingCategoriesDelete(id, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } + + /// + /// Test TrackingCategoriesOne + /// + [Fact] + public void TrackingCategoriesOneTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //string fields = null; + //var response = instance.TrackingCategoriesOne(id, consumerId, appId, serviceId, raw, fields); + //Assert.IsType(response); + } + + /// + /// Test TrackingCategoriesUpdate + /// + [Fact] + public void TrackingCategoriesUpdateTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string id = null; + //TrackingCategory trackingCategory = null; + //string consumerId = null; + //string appId = null; + //string serviceId = null; + //bool? raw = null; + //var response = instance.TrackingCategoriesUpdate(id, trackingCategory, consumerId, appId, serviceId, raw); + //Assert.IsType(response); + } } } diff --git a/src/gen/src/Apideck.Test/Api/AtsApiTests.cs b/src/gen/src/Apideck.Test/Api/AtsApiTests.cs index 367c6694bc..1d06761621 100644 --- a/src/gen/src/Apideck.Test/Api/AtsApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/AtsApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/ConnectorApiTests.cs b/src/gen/src/Apideck.Test/Api/ConnectorApiTests.cs index b8d25c2dda..ebbe247a61 100644 --- a/src/gen/src/Apideck.Test/Api/ConnectorApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/ConnectorApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/CrmApiTests.cs b/src/gen/src/Apideck.Test/Api/CrmApiTests.cs index 86a0df5911..ff8c369e77 100644 --- a/src/gen/src/Apideck.Test/Api/CrmApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/CrmApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/EcommerceApiTests.cs b/src/gen/src/Apideck.Test/Api/EcommerceApiTests.cs index 3cadb18e6c..fec7666e2c 100644 --- a/src/gen/src/Apideck.Test/Api/EcommerceApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/EcommerceApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/FileStorageApiTests.cs b/src/gen/src/Apideck.Test/Api/FileStorageApiTests.cs index e8b0e36ab4..fe6bee6441 100644 --- a/src/gen/src/Apideck.Test/Api/FileStorageApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/FileStorageApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/HrisApiTests.cs b/src/gen/src/Apideck.Test/Api/HrisApiTests.cs index fb2fd15b19..2173c419e9 100644 --- a/src/gen/src/Apideck.Test/Api/HrisApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/HrisApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -346,7 +346,8 @@ public void EmployeesOneTest() //bool? raw = null; //string fields = null; //EmployeesOneFilter filter = null; - //var response = instance.EmployeesOne(id, consumerId, appId, serviceId, raw, fields, filter); + //PassThroughQuery passThrough = null; + //var response = instance.EmployeesOne(id, consumerId, appId, serviceId, raw, fields, filter, passThrough); //Assert.IsType(response); } diff --git a/src/gen/src/Apideck.Test/Api/IssueTrackingApiTests.cs b/src/gen/src/Apideck.Test/Api/IssueTrackingApiTests.cs index ea2060807b..1164069208 100644 --- a/src/gen/src/Apideck.Test/Api/IssueTrackingApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/IssueTrackingApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/LeadApiTests.cs b/src/gen/src/Apideck.Test/Api/LeadApiTests.cs index b723c3aa2d..c09a46cf2b 100644 --- a/src/gen/src/Apideck.Test/Api/LeadApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/LeadApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/PosApiTests.cs b/src/gen/src/Apideck.Test/Api/PosApiTests.cs index 1697f55584..e0a7e1093b 100644 --- a/src/gen/src/Apideck.Test/Api/PosApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/PosApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/SmsApiTests.cs b/src/gen/src/Apideck.Test/Api/SmsApiTests.cs index 1b3d851aac..3589cfc73b 100644 --- a/src/gen/src/Apideck.Test/Api/SmsApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/SmsApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/VaultApiTests.cs b/src/gen/src/Apideck.Test/Api/VaultApiTests.cs index edbb68c521..6f2d623261 100644 --- a/src/gen/src/Apideck.Test/Api/VaultApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/VaultApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Api/WebhookApiTests.cs b/src/gen/src/Apideck.Test/Api/WebhookApiTests.cs index e33caa5db5..a64dae0de8 100644 --- a/src/gen/src/Apideck.Test/Api/WebhookApiTests.cs +++ b/src/gen/src/Apideck.Test/Api/WebhookApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AccountingDepartmentTests.cs b/src/gen/src/Apideck.Test/Model/AccountingDepartmentTests.cs index 89e41cf889..2586a0905e 100644 --- a/src/gen/src/Apideck.Test/Model/AccountingDepartmentTests.cs +++ b/src/gen/src/Apideck.Test/Model/AccountingDepartmentTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AccountingDepartmentsFilterTests.cs b/src/gen/src/Apideck.Test/Model/AccountingDepartmentsFilterTests.cs index c17ca566a1..60b4cc3265 100644 --- a/src/gen/src/Apideck.Test/Model/AccountingDepartmentsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/AccountingDepartmentsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AccountingEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/AccountingEventTypeTests.cs index beace0fa4c..485a6e975c 100644 --- a/src/gen/src/Apideck.Test/Model/AccountingEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/AccountingEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AccountingLocationTests.cs b/src/gen/src/Apideck.Test/Model/AccountingLocationTests.cs index c8e5125260..c8fca5265b 100644 --- a/src/gen/src/Apideck.Test/Model/AccountingLocationTests.cs +++ b/src/gen/src/Apideck.Test/Model/AccountingLocationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AccountingLocationsFilterTests.cs b/src/gen/src/Apideck.Test/Model/AccountingLocationsFilterTests.cs index d4f36b6201..797420d48c 100644 --- a/src/gen/src/Apideck.Test/Model/AccountingLocationsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/AccountingLocationsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ActivitiesFilterTests.cs b/src/gen/src/Apideck.Test/Model/ActivitiesFilterTests.cs index adbb7ba4af..23c56aa09a 100644 --- a/src/gen/src/Apideck.Test/Model/ActivitiesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ActivitiesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -88,6 +88,14 @@ public void UpdatedSinceTest() { // TODO unit test for the property 'UpdatedSince' } + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } } diff --git a/src/gen/src/Apideck.Test/Model/ActivitiesSortTests.cs b/src/gen/src/Apideck.Test/Model/ActivitiesSortTests.cs index 249e991397..7aed22bf9e 100644 --- a/src/gen/src/Apideck.Test/Model/ActivitiesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/ActivitiesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ActivityAttendeeTests.cs b/src/gen/src/Apideck.Test/Model/ActivityAttendeeTests.cs index a349b9e353..b8b6aafa6a 100644 --- a/src/gen/src/Apideck.Test/Model/ActivityAttendeeTests.cs +++ b/src/gen/src/Apideck.Test/Model/ActivityAttendeeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ActivityTests.cs b/src/gen/src/Apideck.Test/Model/ActivityTests.cs index 5578543ad2..3c5173b099 100644 --- a/src/gen/src/Apideck.Test/Model/ActivityTests.cs +++ b/src/gen/src/Apideck.Test/Model/ActivityTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AddressTests.cs b/src/gen/src/Apideck.Test/Model/AddressTests.cs index c7926bf6c6..0adb3507f8 100644 --- a/src/gen/src/Apideck.Test/Model/AddressTests.cs +++ b/src/gen/src/Apideck.Test/Model/AddressTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AllocationTests.cs b/src/gen/src/Apideck.Test/Model/AllocationTests.cs index ec2eee2d26..8a845965a9 100644 --- a/src/gen/src/Apideck.Test/Model/AllocationTests.cs +++ b/src/gen/src/Apideck.Test/Model/AllocationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiResourceCoverageCoverageTests.cs b/src/gen/src/Apideck.Test/Model/ApiResourceCoverageCoverageTests.cs index 416b2f750e..6235ed49ae 100644 --- a/src/gen/src/Apideck.Test/Model/ApiResourceCoverageCoverageTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiResourceCoverageCoverageTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiResourceCoverageTests.cs b/src/gen/src/Apideck.Test/Model/ApiResourceCoverageTests.cs index 783d3132ba..874d04af80 100644 --- a/src/gen/src/Apideck.Test/Model/ApiResourceCoverageTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiResourceCoverageTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiResourceLinkedResourcesTests.cs b/src/gen/src/Apideck.Test/Model/ApiResourceLinkedResourcesTests.cs index d55da19a22..6b67558c8e 100644 --- a/src/gen/src/Apideck.Test/Model/ApiResourceLinkedResourcesTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiResourceLinkedResourcesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiResourceTests.cs b/src/gen/src/Apideck.Test/Model/ApiResourceTests.cs index aabb7001cf..9862c0ed20 100644 --- a/src/gen/src/Apideck.Test/Model/ApiResourceTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiResourceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiResourcesTests.cs b/src/gen/src/Apideck.Test/Model/ApiResourcesTests.cs index a942bb28da..efc7913f9f 100644 --- a/src/gen/src/Apideck.Test/Model/ApiResourcesTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiResourcesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiStatusTests.cs b/src/gen/src/Apideck.Test/Model/ApiStatusTests.cs index b3349a4c62..e5ec477eef 100644 --- a/src/gen/src/Apideck.Test/Model/ApiStatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiStatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApiTests.cs b/src/gen/src/Apideck.Test/Model/ApiTests.cs index 69c4c0b88c..8e90c85f4c 100644 --- a/src/gen/src/Apideck.Test/Model/ApiTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApiTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApisFilterTests.cs b/src/gen/src/Apideck.Test/Model/ApisFilterTests.cs index 0282da7d2f..58a21c8d7f 100644 --- a/src/gen/src/Apideck.Test/Model/ApisFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApisFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApplicantSocialLinksTests.cs b/src/gen/src/Apideck.Test/Model/ApplicantSocialLinksTests.cs index 47026160ad..198143ee3f 100644 --- a/src/gen/src/Apideck.Test/Model/ApplicantSocialLinksTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApplicantSocialLinksTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApplicantTests.cs b/src/gen/src/Apideck.Test/Model/ApplicantTests.cs index 9fcf32f07f..141b9bb4a5 100644 --- a/src/gen/src/Apideck.Test/Model/ApplicantTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApplicantTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApplicantWebsitesTests.cs b/src/gen/src/Apideck.Test/Model/ApplicantWebsitesTests.cs index 1045af9e91..2d2137d336 100644 --- a/src/gen/src/Apideck.Test/Model/ApplicantWebsitesTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApplicantWebsitesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApplicantsFilterTests.cs b/src/gen/src/Apideck.Test/Model/ApplicantsFilterTests.cs index ba8e7e6552..d2f37b698e 100644 --- a/src/gen/src/Apideck.Test/Model/ApplicantsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApplicantsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApplicationStageTests.cs b/src/gen/src/Apideck.Test/Model/ApplicationStageTests.cs index b9b5d01d46..22366e149b 100644 --- a/src/gen/src/Apideck.Test/Model/ApplicationStageTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApplicationStageTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ApplicationTests.cs b/src/gen/src/Apideck.Test/Model/ApplicationTests.cs index fd75a47176..04eafe030d 100644 --- a/src/gen/src/Apideck.Test/Model/ApplicationTests.cs +++ b/src/gen/src/Apideck.Test/Model/ApplicationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AssigneeTests.cs b/src/gen/src/Apideck.Test/Model/AssigneeTests.cs index d04b7b736e..469c457850 100644 --- a/src/gen/src/Apideck.Test/Model/AssigneeTests.cs +++ b/src/gen/src/Apideck.Test/Model/AssigneeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AtsActivityTests.cs b/src/gen/src/Apideck.Test/Model/AtsActivityTests.cs index 933481a6b9..51bceeda3a 100644 --- a/src/gen/src/Apideck.Test/Model/AtsActivityTests.cs +++ b/src/gen/src/Apideck.Test/Model/AtsActivityTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AtsEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/AtsEventTypeTests.cs index ebb3f1deec..ebddd05aba 100644 --- a/src/gen/src/Apideck.Test/Model/AtsEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/AtsEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AttachmentReferenceTests.cs b/src/gen/src/Apideck.Test/Model/AttachmentReferenceTests.cs index 5234ae75e7..dba380722c 100644 --- a/src/gen/src/Apideck.Test/Model/AttachmentReferenceTests.cs +++ b/src/gen/src/Apideck.Test/Model/AttachmentReferenceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AttachmentReferenceTypeTests.cs b/src/gen/src/Apideck.Test/Model/AttachmentReferenceTypeTests.cs index 47429e31b5..7d4ac3f250 100644 --- a/src/gen/src/Apideck.Test/Model/AttachmentReferenceTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/AttachmentReferenceTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/AttachmentTests.cs b/src/gen/src/Apideck.Test/Model/AttachmentTests.cs index bdded207e3..5610f92442 100644 --- a/src/gen/src/Apideck.Test/Model/AttachmentTests.cs +++ b/src/gen/src/Apideck.Test/Model/AttachmentTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -113,6 +113,14 @@ public void DescriptionTest() // TODO unit test for the property 'Description' } /// + /// Test the property 'ParentFolderId' + /// + [Fact] + public void ParentFolderIdTest() + { + // TODO unit test for the property 'ParentFolderId' + } + /// /// Test the property 'UpdatedBy' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/AuthTypeTests.cs b/src/gen/src/Apideck.Test/Model/AuthTypeTests.cs index 0dfa25b21f..1ee291da98 100644 --- a/src/gen/src/Apideck.Test/Model/AuthTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/AuthTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BadRequestResponseTests.cs b/src/gen/src/Apideck.Test/Model/BadRequestResponseTests.cs index faddcd978e..f66f09ae95 100644 --- a/src/gen/src/Apideck.Test/Model/BadRequestResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/BadRequestResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BalanceSheetAccountRecordTests.cs b/src/gen/src/Apideck.Test/Model/BalanceSheetAccountRecordTests.cs index 218b7a0e08..010181a6bd 100644 --- a/src/gen/src/Apideck.Test/Model/BalanceSheetAccountRecordTests.cs +++ b/src/gen/src/Apideck.Test/Model/BalanceSheetAccountRecordTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BalanceSheetAccountTests.cs b/src/gen/src/Apideck.Test/Model/BalanceSheetAccountTests.cs index 65e51908b4..376860936b 100644 --- a/src/gen/src/Apideck.Test/Model/BalanceSheetAccountTests.cs +++ b/src/gen/src/Apideck.Test/Model/BalanceSheetAccountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BalanceSheetFilterTests.cs b/src/gen/src/Apideck.Test/Model/BalanceSheetFilterTests.cs index e289dd352c..3dea29d020 100644 --- a/src/gen/src/Apideck.Test/Model/BalanceSheetFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/BalanceSheetFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BalanceSheetReportsTests.cs b/src/gen/src/Apideck.Test/Model/BalanceSheetReportsTests.cs index 1fc2c9c6a8..5e2c9ab363 100644 --- a/src/gen/src/Apideck.Test/Model/BalanceSheetReportsTests.cs +++ b/src/gen/src/Apideck.Test/Model/BalanceSheetReportsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BalanceSheetTests.cs b/src/gen/src/Apideck.Test/Model/BalanceSheetTests.cs index fc7900e572..84f0391cfa 100644 --- a/src/gen/src/Apideck.Test/Model/BalanceSheetTests.cs +++ b/src/gen/src/Apideck.Test/Model/BalanceSheetTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BankAccountTests.cs b/src/gen/src/Apideck.Test/Model/BankAccountTests.cs index b6394e5531..cd420d1a25 100644 --- a/src/gen/src/Apideck.Test/Model/BankAccountTests.cs +++ b/src/gen/src/Apideck.Test/Model/BankAccountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BenefitTests.cs b/src/gen/src/Apideck.Test/Model/BenefitTests.cs index 12d6824d4e..787bd4c343 100644 --- a/src/gen/src/Apideck.Test/Model/BenefitTests.cs +++ b/src/gen/src/Apideck.Test/Model/BenefitTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BillLineItemTests.cs b/src/gen/src/Apideck.Test/Model/BillLineItemTests.cs index cad14aa398..6e790e66c6 100644 --- a/src/gen/src/Apideck.Test/Model/BillLineItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/BillLineItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -201,6 +201,14 @@ public void LedgerAccountTest() // TODO unit test for the property 'LedgerAccount' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'RowVersion' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/BillPaymentTests.cs b/src/gen/src/Apideck.Test/Model/BillPaymentTests.cs new file mode 100644 index 0000000000..3ac722199c --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/BillPaymentTests.cs @@ -0,0 +1,294 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing BillPayment + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class BillPaymentTests : IDisposable + { + // TODO uncomment below to declare an instance variable for BillPayment + //private BillPayment instance; + + public BillPaymentTests() + { + // TODO uncomment below to create an instance of BillPayment + //instance = new BillPayment(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of BillPayment + /// + [Fact] + public void BillPaymentInstanceTest() + { + // TODO uncomment below to test "IsType" BillPayment + //Assert.IsType(instance); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'DownstreamId' + /// + [Fact] + public void DownstreamIdTest() + { + // TODO unit test for the property 'DownstreamId' + } + /// + /// Test the property 'Currency' + /// + [Fact] + public void CurrencyTest() + { + // TODO unit test for the property 'Currency' + } + /// + /// Test the property 'CurrencyRate' + /// + [Fact] + public void CurrencyRateTest() + { + // TODO unit test for the property 'CurrencyRate' + } + /// + /// Test the property 'TotalAmount' + /// + [Fact] + public void TotalAmountTest() + { + // TODO unit test for the property 'TotalAmount' + } + /// + /// Test the property 'Reference' + /// + [Fact] + public void ReferenceTest() + { + // TODO unit test for the property 'Reference' + } + /// + /// Test the property 'PaymentMethod' + /// + [Fact] + public void PaymentMethodTest() + { + // TODO unit test for the property 'PaymentMethod' + } + /// + /// Test the property 'PaymentMethodReference' + /// + [Fact] + public void PaymentMethodReferenceTest() + { + // TODO unit test for the property 'PaymentMethodReference' + } + /// + /// Test the property 'PaymentMethodId' + /// + [Fact] + public void PaymentMethodIdTest() + { + // TODO unit test for the property 'PaymentMethodId' + } + /// + /// Test the property 'Account' + /// + [Fact] + public void AccountTest() + { + // TODO unit test for the property 'Account' + } + /// + /// Test the property 'TransactionDate' + /// + [Fact] + public void TransactionDateTest() + { + // TODO unit test for the property 'TransactionDate' + } + /// + /// Test the property 'Supplier' + /// + [Fact] + public void SupplierTest() + { + // TODO unit test for the property 'Supplier' + } + /// + /// Test the property 'CompanyId' + /// + [Fact] + public void CompanyIdTest() + { + // TODO unit test for the property 'CompanyId' + } + /// + /// Test the property 'Reconciled' + /// + [Fact] + public void ReconciledTest() + { + // TODO unit test for the property 'Reconciled' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + /// + /// Test the property 'Allocations' + /// + [Fact] + public void AllocationsTest() + { + // TODO unit test for the property 'Allocations' + } + /// + /// Test the property 'Note' + /// + [Fact] + public void NoteTest() + { + // TODO unit test for the property 'Note' + } + /// + /// Test the property 'Number' + /// + [Fact] + public void NumberTest() + { + // TODO unit test for the property 'Number' + } + /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// + /// Test the property 'CustomFields' + /// + [Fact] + public void CustomFieldsTest() + { + // TODO unit test for the property 'CustomFields' + } + /// + /// Test the property 'RowVersion' + /// + [Fact] + public void RowVersionTest() + { + // TODO unit test for the property 'RowVersion' + } + /// + /// Test the property 'DisplayId' + /// + [Fact] + public void DisplayIdTest() + { + // TODO unit test for the property 'DisplayId' + } + /// + /// Test the property 'CustomMappings' + /// + [Fact] + public void CustomMappingsTest() + { + // TODO unit test for the property 'CustomMappings' + } + /// + /// Test the property 'UpdatedBy' + /// + [Fact] + public void UpdatedByTest() + { + // TODO unit test for the property 'UpdatedBy' + } + /// + /// Test the property 'CreatedBy' + /// + [Fact] + public void CreatedByTest() + { + // TODO unit test for the property 'CreatedBy' + } + /// + /// Test the property 'CreatedAt' + /// + [Fact] + public void CreatedAtTest() + { + // TODO unit test for the property 'CreatedAt' + } + /// + /// Test the property 'UpdatedAt' + /// + [Fact] + public void UpdatedAtTest() + { + // TODO unit test for the property 'UpdatedAt' + } + /// + /// Test the property 'PassThrough' + /// + [Fact] + public void PassThroughTest() + { + // TODO unit test for the property 'PassThrough' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/BillTests.cs b/src/gen/src/Apideck.Test/Model/BillTests.cs index c6c21b9d02..7e42e4593a 100644 --- a/src/gen/src/Apideck.Test/Model/BillTests.cs +++ b/src/gen/src/Apideck.Test/Model/BillTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -297,6 +297,14 @@ public void DiscountPercentageTest() // TODO unit test for the property 'DiscountPercentage' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'UpdatedBy' /// [Fact] @@ -352,6 +360,14 @@ public void PassThroughTest() { // TODO unit test for the property 'PassThrough' } + /// + /// Test the property 'AccountingPeriod' + /// + [Fact] + public void AccountingPeriodTest() + { + // TODO unit test for the property 'AccountingPeriod' + } } diff --git a/src/gen/src/Apideck.Test/Model/BillsFilterTests.cs b/src/gen/src/Apideck.Test/Model/BillsFilterTests.cs index 91ab5c7e12..e6629d06eb 100644 --- a/src/gen/src/Apideck.Test/Model/BillsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/BillsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BillsSortTests.cs b/src/gen/src/Apideck.Test/Model/BillsSortTests.cs index 8a0085b66e..f6b7c9f74e 100644 --- a/src/gen/src/Apideck.Test/Model/BillsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/BillsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/BranchTests.cs b/src/gen/src/Apideck.Test/Model/BranchTests.cs index b5758025ea..74ac4008db 100644 --- a/src/gen/src/Apideck.Test/Model/BranchTests.cs +++ b/src/gen/src/Apideck.Test/Model/BranchTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CashDetailsTests.cs b/src/gen/src/Apideck.Test/Model/CashDetailsTests.cs index 9b9bb1d21b..d575088667 100644 --- a/src/gen/src/Apideck.Test/Model/CashDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/CashDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CollectionTagTests.cs b/src/gen/src/Apideck.Test/Model/CollectionTagTests.cs index dc2b685982..12e3da7765 100644 --- a/src/gen/src/Apideck.Test/Model/CollectionTagTests.cs +++ b/src/gen/src/Apideck.Test/Model/CollectionTagTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CollectionTests.cs b/src/gen/src/Apideck.Test/Model/CollectionTests.cs index a2194b3a9d..3af4a06cfc 100644 --- a/src/gen/src/Apideck.Test/Model/CollectionTests.cs +++ b/src/gen/src/Apideck.Test/Model/CollectionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CollectionTicketCommentTests.cs b/src/gen/src/Apideck.Test/Model/CollectionTicketCommentTests.cs index 3020b0f3b9..16b499ff1b 100644 --- a/src/gen/src/Apideck.Test/Model/CollectionTicketCommentTests.cs +++ b/src/gen/src/Apideck.Test/Model/CollectionTicketCommentTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CollectionUserTests.cs b/src/gen/src/Apideck.Test/Model/CollectionUserTests.cs index 5180ce67b1..fd32395bd6 100644 --- a/src/gen/src/Apideck.Test/Model/CollectionUserTests.cs +++ b/src/gen/src/Apideck.Test/Model/CollectionUserTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CollectionsSortTests.cs b/src/gen/src/Apideck.Test/Model/CollectionsSortTests.cs index dd8dd3a7ea..9fcc25fcf4 100644 --- a/src/gen/src/Apideck.Test/Model/CollectionsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/CollectionsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CommentsSortTests.cs b/src/gen/src/Apideck.Test/Model/CommentsSortTests.cs index d1d9d78cc9..d2bb0fa375 100644 --- a/src/gen/src/Apideck.Test/Model/CommentsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/CommentsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CompaniesFilterTests.cs b/src/gen/src/Apideck.Test/Model/CompaniesFilterTests.cs index be71c3ccef..c64db13ce5 100644 --- a/src/gen/src/Apideck.Test/Model/CompaniesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/CompaniesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CompaniesSortTests.cs b/src/gen/src/Apideck.Test/Model/CompaniesSortTests.cs index c92b1b05f4..67a84093e1 100644 --- a/src/gen/src/Apideck.Test/Model/CompaniesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/CompaniesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CompanyInfoTests.cs b/src/gen/src/Apideck.Test/Model/CompanyInfoTests.cs index b330a56a55..16ceac2ed1 100644 --- a/src/gen/src/Apideck.Test/Model/CompanyInfoTests.cs +++ b/src/gen/src/Apideck.Test/Model/CompanyInfoTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CompanyRowTypeTests.cs b/src/gen/src/Apideck.Test/Model/CompanyRowTypeTests.cs index d95fe4b5fa..55212983f3 100644 --- a/src/gen/src/Apideck.Test/Model/CompanyRowTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/CompanyRowTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CompanyTests.cs b/src/gen/src/Apideck.Test/Model/CompanyTests.cs index d2dab486fc..92e8ee829c 100644 --- a/src/gen/src/Apideck.Test/Model/CompanyTests.cs +++ b/src/gen/src/Apideck.Test/Model/CompanyTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CompensationTests.cs b/src/gen/src/Apideck.Test/Model/CompensationTests.cs index e22887c4b6..9cc00294d3 100644 --- a/src/gen/src/Apideck.Test/Model/CompensationTests.cs +++ b/src/gen/src/Apideck.Test/Model/CompensationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionConfigurationTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionConfigurationTests.cs index 7ce837c722..863a2dbe54 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionConfigurationTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionConfigurationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionDefaultsTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionDefaultsTests.cs index 99e28983e9..dfb658ec59 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionDefaultsTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionDefaultsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionImportDataCredentialsTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionImportDataCredentialsTests.cs index 172d930677..2941ba57fc 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionImportDataCredentialsTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionImportDataCredentialsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionImportDataTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionImportDataTests.cs index e6135f95e4..0a1b2fdd2c 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionImportDataTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionImportDataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionMetadataTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionMetadataTests.cs index 28f699f4b7..865b26876b 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionMetadataTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionMetadataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionStateTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionStateTests.cs index 42972671df..92feb6bfaf 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionStateTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionStateTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionTests.cs index b966385deb..a96140be45 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectionWebhookTests.cs b/src/gen/src/Apideck.Test/Model/ConnectionWebhookTests.cs index bb44efcbef..a915901eb6 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectionWebhookTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectionWebhookTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorDocTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorDocTests.cs index 4e8328765a..96f6ef9d4d 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorDocTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorDocTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorEventTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorEventTests.cs index 5840aa2a61..bdcfccdc5d 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorEventTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorEventTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorOauthScopes1Tests.cs b/src/gen/src/Apideck.Test/Model/ConnectorOauthScopes1Tests.cs index a9296fda5a..27198870b6 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorOauthScopes1Tests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorOauthScopes1Tests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorOauthScopesTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorOauthScopesTests.cs index 23c63ba725..55ba1623fa 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorOauthScopesTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorOauthScopesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorResourceTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorResourceTests.cs index 6bb8430d23..418d276650 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorResourceTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorResourceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorSettingTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorSettingTests.cs index 9be4ec7ac3..20d35d13c1 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorSettingTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorSettingTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorStatusTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorStatusTests.cs index 9be4cbb25a..dcf78b81b6 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorStatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorStatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorTests.cs index 87797ddf62..aeeb1473f5 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorTlsSupportTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorTlsSupportTests.cs index e7343188ab..a519148016 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorTlsSupportTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorTlsSupportTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorUnifiedApisTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorUnifiedApisTests.cs index 5f2b751513..d7519d4d26 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorUnifiedApisTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorUnifiedApisTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConnectorsFilterTests.cs b/src/gen/src/Apideck.Test/Model/ConnectorsFilterTests.cs index 25e0d16f1b..22f5c567ee 100644 --- a/src/gen/src/Apideck.Test/Model/ConnectorsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConnectorsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConsumerConnectionTests.cs b/src/gen/src/Apideck.Test/Model/ConsumerConnectionTests.cs index 2637760ecc..668d776d76 100644 --- a/src/gen/src/Apideck.Test/Model/ConsumerConnectionTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConsumerConnectionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConsumerMetadataTests.cs b/src/gen/src/Apideck.Test/Model/ConsumerMetadataTests.cs index 85fa1e95e7..2979372485 100644 --- a/src/gen/src/Apideck.Test/Model/ConsumerMetadataTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConsumerMetadataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseDataTests.cs b/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseDataTests.cs index 22183b9117..d38ad4576e 100644 --- a/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseDataTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseDataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseTests.cs b/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseTests.cs index a3b9e0b529..78d434c358 100644 --- a/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConsumerRequestCountsInDateRangeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ConsumerTests.cs b/src/gen/src/Apideck.Test/Model/ConsumerTests.cs index 4375e65234..8fb726a4d0 100644 --- a/src/gen/src/Apideck.Test/Model/ConsumerTests.cs +++ b/src/gen/src/Apideck.Test/Model/ConsumerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ContactTests.cs b/src/gen/src/Apideck.Test/Model/ContactTests.cs index 9764045c4c..ad14d40932 100644 --- a/src/gen/src/Apideck.Test/Model/ContactTests.cs +++ b/src/gen/src/Apideck.Test/Model/ContactTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ContactsFilterTests.cs b/src/gen/src/Apideck.Test/Model/ContactsFilterTests.cs index ba87657fc0..0d6c6eac66 100644 --- a/src/gen/src/Apideck.Test/Model/ContactsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ContactsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ContactsSortTests.cs b/src/gen/src/Apideck.Test/Model/ContactsSortTests.cs index 7845d63de8..804a70ee50 100644 --- a/src/gen/src/Apideck.Test/Model/ContactsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/ContactsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CopyFolderRequestTests.cs b/src/gen/src/Apideck.Test/Model/CopyFolderRequestTests.cs index 734d617624..6e3055081d 100644 --- a/src/gen/src/Apideck.Test/Model/CopyFolderRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CopyFolderRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateAccountingDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateAccountingDepartmentResponseTests.cs index ab54d256e6..e8ee778d25 100644 --- a/src/gen/src/Apideck.Test/Model/CreateAccountingDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateAccountingDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateAccountingLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateAccountingLocationResponseTests.cs index b91f7250f0..d25e2348fd 100644 --- a/src/gen/src/Apideck.Test/Model/CreateAccountingLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateAccountingLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateActivityResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateActivityResponseTests.cs index 9d56c51104..224aaa479c 100644 --- a/src/gen/src/Apideck.Test/Model/CreateActivityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateActivityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateApplicantResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateApplicantResponseTests.cs index dc6ee08dfd..0cba662d7f 100644 --- a/src/gen/src/Apideck.Test/Model/CreateApplicantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateApplicantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateApplicationResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateApplicationResponseTests.cs index 5f78da18c0..eb47ccb6ba 100644 --- a/src/gen/src/Apideck.Test/Model/CreateApplicationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateApplicationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateAttachmentRequestTests.cs b/src/gen/src/Apideck.Test/Model/CreateAttachmentRequestTests.cs index edc1b0afd8..b8b566872d 100644 --- a/src/gen/src/Apideck.Test/Model/CreateAttachmentRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateAttachmentRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -73,6 +73,14 @@ public void DescriptionTest() // TODO unit test for the property 'Description' } /// + /// Test the property 'ParentFolderId' + /// + [Fact] + public void ParentFolderIdTest() + { + // TODO unit test for the property 'ParentFolderId' + } + /// /// Test the property 'PassThrough' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/CreateAttachmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateAttachmentResponseTests.cs index ac6ab77772..a16e33c9ed 100644 --- a/src/gen/src/Apideck.Test/Model/CreateAttachmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateAttachmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateBillPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateBillPaymentResponseTests.cs new file mode 100644 index 0000000000..685d5d96c5 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/CreateBillPaymentResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing CreateBillPaymentResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class CreateBillPaymentResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for CreateBillPaymentResponse + //private CreateBillPaymentResponse instance; + + public CreateBillPaymentResponseTests() + { + // TODO uncomment below to create an instance of CreateBillPaymentResponse + //instance = new CreateBillPaymentResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of CreateBillPaymentResponse + /// + [Fact] + public void CreateBillPaymentResponseInstanceTest() + { + // TODO uncomment below to test "IsType" CreateBillPaymentResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/CreateBillResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateBillResponseTests.cs index 138ab77419..f98e9c232b 100644 --- a/src/gen/src/Apideck.Test/Model/CreateBillResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateBillResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateCommentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateCommentResponseTests.cs index 0d5a47264a..fd34c06470 100644 --- a/src/gen/src/Apideck.Test/Model/CreateCommentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateCommentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateCompanyResponseTests.cs index 5f62f35e40..b3203c74e8 100644 --- a/src/gen/src/Apideck.Test/Model/CreateCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateConnectionResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateConnectionResponseTests.cs index ce070dbc10..b9ef4d5842 100644 --- a/src/gen/src/Apideck.Test/Model/CreateConnectionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateConnectionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateConsumerResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateConsumerResponseTests.cs index d60fe67741..2effa9f0a7 100644 --- a/src/gen/src/Apideck.Test/Model/CreateConsumerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateConsumerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateContactResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateContactResponseTests.cs index eb81fd2fe4..d83ddbbcce 100644 --- a/src/gen/src/Apideck.Test/Model/CreateContactResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateContactResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateCreditNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateCreditNoteResponseTests.cs index 282ad8a817..57ddf3367b 100644 --- a/src/gen/src/Apideck.Test/Model/CreateCreditNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateCreditNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateCustomMappingRequestTests.cs b/src/gen/src/Apideck.Test/Model/CreateCustomMappingRequestTests.cs index e2e3f95594..1926f69b2d 100644 --- a/src/gen/src/Apideck.Test/Model/CreateCustomMappingRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateCustomMappingRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateCustomMappingResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateCustomMappingResponseTests.cs index 2fdd581dd8..b320c3eafd 100644 --- a/src/gen/src/Apideck.Test/Model/CreateCustomMappingResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateCustomMappingResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateCustomerResponseTests.cs index 42b8ff5918..c1b799436e 100644 --- a/src/gen/src/Apideck.Test/Model/CreateCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateDepartmentResponseTests.cs index c44065d948..52c9ef7a07 100644 --- a/src/gen/src/Apideck.Test/Model/CreateDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateDriveGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateDriveGroupResponseTests.cs index f5007ff4cf..5cfb2bf58d 100644 --- a/src/gen/src/Apideck.Test/Model/CreateDriveGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateDriveGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateDriveResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateDriveResponseTests.cs index 1422e9320a..4eb3201bdf 100644 --- a/src/gen/src/Apideck.Test/Model/CreateDriveResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateDriveResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateEcommerceCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateEcommerceCustomerResponseTests.cs index 9a666fce01..3325c27d0a 100644 --- a/src/gen/src/Apideck.Test/Model/CreateEcommerceCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateEcommerceCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateEcommerceOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateEcommerceOrderResponseTests.cs index b5c9e902a8..752fe5f320 100644 --- a/src/gen/src/Apideck.Test/Model/CreateEcommerceOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateEcommerceOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateEmployeeResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateEmployeeResponseTests.cs index 0f3c039ab1..dba5491ba3 100644 --- a/src/gen/src/Apideck.Test/Model/CreateEmployeeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateEmployeeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateExpenseResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateExpenseResponseTests.cs new file mode 100644 index 0000000000..b8ec466d24 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/CreateExpenseResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing CreateExpenseResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class CreateExpenseResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for CreateExpenseResponse + //private CreateExpenseResponse instance; + + public CreateExpenseResponseTests() + { + // TODO uncomment below to create an instance of CreateExpenseResponse + //instance = new CreateExpenseResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of CreateExpenseResponse + /// + [Fact] + public void CreateExpenseResponseInstanceTest() + { + // TODO uncomment below to test "IsType" CreateExpenseResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/CreateFileRequestTests.cs b/src/gen/src/Apideck.Test/Model/CreateFileRequestTests.cs index cd83d35c77..eea6092dcb 100644 --- a/src/gen/src/Apideck.Test/Model/CreateFileRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateFileRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateFileResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateFileResponseTests.cs index 0bed02b21f..38caee09ff 100644 --- a/src/gen/src/Apideck.Test/Model/CreateFileResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateFileResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateFolderRequestTests.cs b/src/gen/src/Apideck.Test/Model/CreateFolderRequestTests.cs index 82f42f9ebe..36757ebeb0 100644 --- a/src/gen/src/Apideck.Test/Model/CreateFolderRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateFolderRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateFolderResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateFolderResponseTests.cs index 540c558232..293cdb18cf 100644 --- a/src/gen/src/Apideck.Test/Model/CreateFolderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateFolderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateHrisCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateHrisCompanyResponseTests.cs index ca55300b88..5c41fd8920 100644 --- a/src/gen/src/Apideck.Test/Model/CreateHrisCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateHrisCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateInvoiceItemResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateInvoiceItemResponseTests.cs index ef0aeba842..748b95cb41 100644 --- a/src/gen/src/Apideck.Test/Model/CreateInvoiceItemResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateInvoiceItemResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateInvoiceResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateInvoiceResponseTests.cs index bdc60c5d6a..882a61a415 100644 --- a/src/gen/src/Apideck.Test/Model/CreateInvoiceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateInvoiceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateItemResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateItemResponseTests.cs index ab738a53f0..80b7f29a56 100644 --- a/src/gen/src/Apideck.Test/Model/CreateItemResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateItemResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateJobResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateJobResponseTests.cs index d64d9da17c..0bd4a13ba1 100644 --- a/src/gen/src/Apideck.Test/Model/CreateJobResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateJobResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateJournalEntryResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateJournalEntryResponseTests.cs index 8bfbed5481..be09abd361 100644 --- a/src/gen/src/Apideck.Test/Model/CreateJournalEntryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateJournalEntryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateLeadResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateLeadResponseTests.cs index b8d6886fd1..48c6945aca 100644 --- a/src/gen/src/Apideck.Test/Model/CreateLeadResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateLeadResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateLedgerAccountResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateLedgerAccountResponseTests.cs index c5f266e088..d9da81ad30 100644 --- a/src/gen/src/Apideck.Test/Model/CreateLedgerAccountResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateLedgerAccountResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateLocationResponseTests.cs index 8cc4a0f1ed..2c4f7627a8 100644 --- a/src/gen/src/Apideck.Test/Model/CreateLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateMerchantResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateMerchantResponseTests.cs index 102305c0af..6db98264e3 100644 --- a/src/gen/src/Apideck.Test/Model/CreateMerchantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateMerchantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateMessageResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateMessageResponseTests.cs index 1b6b5cd1ba..929c5ec765 100644 --- a/src/gen/src/Apideck.Test/Model/CreateMessageResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateMessageResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateModifierGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateModifierGroupResponseTests.cs index f6c0ff7037..879a8ce99c 100644 --- a/src/gen/src/Apideck.Test/Model/CreateModifierGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateModifierGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateModifierResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateModifierResponseTests.cs index fd9d08d073..b9c6823615 100644 --- a/src/gen/src/Apideck.Test/Model/CreateModifierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateModifierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateNoteResponseTests.cs index 663f477375..31c4c940d9 100644 --- a/src/gen/src/Apideck.Test/Model/CreateNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateOpportunityResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateOpportunityResponseTests.cs index 1c6f36fce0..cc4149355a 100644 --- a/src/gen/src/Apideck.Test/Model/CreateOpportunityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateOpportunityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateOrderResponseTests.cs index a068cdc68a..c97c679c00 100644 --- a/src/gen/src/Apideck.Test/Model/CreateOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateOrderTypeResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateOrderTypeResponseTests.cs index d32a82a12f..97a05edd67 100644 --- a/src/gen/src/Apideck.Test/Model/CreateOrderTypeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateOrderTypeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreatePaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreatePaymentResponseTests.cs index ad10e18afc..c9d49a5b94 100644 --- a/src/gen/src/Apideck.Test/Model/CreatePaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreatePaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreatePipelineResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreatePipelineResponseTests.cs index 8e2a89e209..75700c4093 100644 --- a/src/gen/src/Apideck.Test/Model/CreatePipelineResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreatePipelineResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreatePosPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreatePosPaymentResponseTests.cs index 273c392436..614c95a67f 100644 --- a/src/gen/src/Apideck.Test/Model/CreatePosPaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreatePosPaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateProductResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateProductResponseTests.cs index 6096e0fb1d..7986caf392 100644 --- a/src/gen/src/Apideck.Test/Model/CreateProductResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateProductResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreatePurchaseOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreatePurchaseOrderResponseTests.cs index 847fe45519..719c55087d 100644 --- a/src/gen/src/Apideck.Test/Model/CreatePurchaseOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreatePurchaseOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateSessionResponseDataTests.cs b/src/gen/src/Apideck.Test/Model/CreateSessionResponseDataTests.cs index 109b0d2353..73e2e753da 100644 --- a/src/gen/src/Apideck.Test/Model/CreateSessionResponseDataTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateSessionResponseDataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateSessionResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateSessionResponseTests.cs index c7a881eb46..f5cb44167c 100644 --- a/src/gen/src/Apideck.Test/Model/CreateSessionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateSessionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateSharedLinkResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateSharedLinkResponseTests.cs index ddfc39da17..3fd19e8fe3 100644 --- a/src/gen/src/Apideck.Test/Model/CreateSharedLinkResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateSharedLinkResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateSubsidiaryResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateSubsidiaryResponseTests.cs index 1ab20a0117..4c5f561b56 100644 --- a/src/gen/src/Apideck.Test/Model/CreateSubsidiaryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateSubsidiaryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateSupplierResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateSupplierResponseTests.cs index d93ba9aa44..e03224342e 100644 --- a/src/gen/src/Apideck.Test/Model/CreateSupplierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateSupplierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateTaxRateResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateTaxRateResponseTests.cs index 4c1fca5591..5679ca59f6 100644 --- a/src/gen/src/Apideck.Test/Model/CreateTaxRateResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateTaxRateResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateTenderResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateTenderResponseTests.cs index 04fc22087e..4657058530 100644 --- a/src/gen/src/Apideck.Test/Model/CreateTenderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateTenderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateTicketResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateTicketResponseTests.cs index 9c36cfdb91..a78337ce73 100644 --- a/src/gen/src/Apideck.Test/Model/CreateTicketResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateTicketResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateTimeOffRequestResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateTimeOffRequestResponseTests.cs index a4dbfc91e2..b47693f689 100644 --- a/src/gen/src/Apideck.Test/Model/CreateTimeOffRequestResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateTimeOffRequestResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateTrackingCategoryResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateTrackingCategoryResponseTests.cs new file mode 100644 index 0000000000..105d8c1246 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/CreateTrackingCategoryResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing CreateTrackingCategoryResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class CreateTrackingCategoryResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for CreateTrackingCategoryResponse + //private CreateTrackingCategoryResponse instance; + + public CreateTrackingCategoryResponseTests() + { + // TODO uncomment below to create an instance of CreateTrackingCategoryResponse + //instance = new CreateTrackingCategoryResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of CreateTrackingCategoryResponse + /// + [Fact] + public void CreateTrackingCategoryResponseInstanceTest() + { + // TODO uncomment below to test "IsType" CreateTrackingCategoryResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/CreateUploadSessionRequestTests.cs b/src/gen/src/Apideck.Test/Model/CreateUploadSessionRequestTests.cs index 2bdddb5b9d..9e6ab36fb1 100644 --- a/src/gen/src/Apideck.Test/Model/CreateUploadSessionRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateUploadSessionRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateUploadSessionResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateUploadSessionResponseTests.cs index 4fba02275a..6159417981 100644 --- a/src/gen/src/Apideck.Test/Model/CreateUploadSessionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateUploadSessionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateUserResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateUserResponseTests.cs index da5eb55738..784713159e 100644 --- a/src/gen/src/Apideck.Test/Model/CreateUserResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateUserResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateWebhookRequestTests.cs b/src/gen/src/Apideck.Test/Model/CreateWebhookRequestTests.cs index 8427080ab8..91dda9a980 100644 --- a/src/gen/src/Apideck.Test/Model/CreateWebhookRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateWebhookRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreateWebhookResponseTests.cs b/src/gen/src/Apideck.Test/Model/CreateWebhookResponseTests.cs index 0d8961d7bd..8b34a50ed4 100644 --- a/src/gen/src/Apideck.Test/Model/CreateWebhookResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreateWebhookResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreditNoteTests.cs b/src/gen/src/Apideck.Test/Model/CreditNoteTests.cs index a292537675..206fe75ee6 100644 --- a/src/gen/src/Apideck.Test/Model/CreditNoteTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreditNoteTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -257,6 +257,14 @@ public void ShippingAddressTest() // TODO unit test for the property 'ShippingAddress' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'CustomMappings' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/CreditNotesFilterTests.cs b/src/gen/src/Apideck.Test/Model/CreditNotesFilterTests.cs index 87be189e63..2b51d1bcae 100644 --- a/src/gen/src/Apideck.Test/Model/CreditNotesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreditNotesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CreditNotesSortTests.cs b/src/gen/src/Apideck.Test/Model/CreditNotesSortTests.cs index 8ddc0a1d6d..2e7b4f2e81 100644 --- a/src/gen/src/Apideck.Test/Model/CreditNotesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/CreditNotesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CrmEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/CrmEventTypeTests.cs index f89d67983c..b846dee31a 100644 --- a/src/gen/src/Apideck.Test/Model/CrmEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/CrmEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CurrencyTests.cs b/src/gen/src/Apideck.Test/Model/CurrencyTests.cs index c08c827757..3a6168e347 100644 --- a/src/gen/src/Apideck.Test/Model/CurrencyTests.cs +++ b/src/gen/src/Apideck.Test/Model/CurrencyTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CustomFieldFinderTests.cs b/src/gen/src/Apideck.Test/Model/CustomFieldFinderTests.cs index 8d8456a637..f2a7f481a8 100644 --- a/src/gen/src/Apideck.Test/Model/CustomFieldFinderTests.cs +++ b/src/gen/src/Apideck.Test/Model/CustomFieldFinderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CustomFieldTests.cs b/src/gen/src/Apideck.Test/Model/CustomFieldTests.cs index 3f56da765b..41d1423b6c 100644 --- a/src/gen/src/Apideck.Test/Model/CustomFieldTests.cs +++ b/src/gen/src/Apideck.Test/Model/CustomFieldTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CustomMappingTests.cs b/src/gen/src/Apideck.Test/Model/CustomMappingTests.cs index e143d2a347..dfa40c2f82 100644 --- a/src/gen/src/Apideck.Test/Model/CustomMappingTests.cs +++ b/src/gen/src/Apideck.Test/Model/CustomMappingTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CustomerTests.cs b/src/gen/src/Apideck.Test/Model/CustomerTests.cs index 1de94f1157..a98a307377 100644 --- a/src/gen/src/Apideck.Test/Model/CustomerTests.cs +++ b/src/gen/src/Apideck.Test/Model/CustomerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CustomersFilterTests.cs b/src/gen/src/Apideck.Test/Model/CustomersFilterTests.cs index 184ba888cf..675839d332 100644 --- a/src/gen/src/Apideck.Test/Model/CustomersFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/CustomersFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/CustomersSortTests.cs b/src/gen/src/Apideck.Test/Model/CustomersSortTests.cs index 790198c2f2..cc0db93b39 100644 --- a/src/gen/src/Apideck.Test/Model/CustomersSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/CustomersSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeductionTests.cs b/src/gen/src/Apideck.Test/Model/DeductionTests.cs index 05e8146183..57deca56f6 100644 --- a/src/gen/src/Apideck.Test/Model/DeductionTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeductionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteAccountingDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteAccountingDepartmentResponseTests.cs index cab3fa245e..17b093d0e7 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteAccountingDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteAccountingDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteAccountingLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteAccountingLocationResponseTests.cs index 08ecb790cf..eb73f249c9 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteAccountingLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteAccountingLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteActivityResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteActivityResponseTests.cs index a1f2c268b0..4d478591fb 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteActivityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteActivityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteApplicantResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteApplicantResponseTests.cs index 51c1159a6a..d52316db50 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteApplicantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteApplicantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteApplicationResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteApplicationResponseTests.cs index 31a6a784e1..8268549a4a 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteApplicationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteApplicationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteAttachmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteAttachmentResponseTests.cs index d8294afe1b..314bb18993 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteAttachmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteAttachmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteBillPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteBillPaymentResponseTests.cs new file mode 100644 index 0000000000..a27d8f233c --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/DeleteBillPaymentResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing DeleteBillPaymentResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class DeleteBillPaymentResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for DeleteBillPaymentResponse + //private DeleteBillPaymentResponse instance; + + public DeleteBillPaymentResponseTests() + { + // TODO uncomment below to create an instance of DeleteBillPaymentResponse + //instance = new DeleteBillPaymentResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of DeleteBillPaymentResponse + /// + [Fact] + public void DeleteBillPaymentResponseInstanceTest() + { + // TODO uncomment below to test "IsType" DeleteBillPaymentResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/DeleteBillResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteBillResponseTests.cs index cf45a14872..f1b22e747a 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteBillResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteBillResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteCommentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteCommentResponseTests.cs index 5ef27a092a..3e703fa9a2 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteCommentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteCommentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteCompanyResponseTests.cs index 5aad40c8e1..8e766a1df5 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteConsumerResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteConsumerResponseTests.cs index 35e4846d4d..d48b0386e9 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteConsumerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteConsumerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteContactResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteContactResponseTests.cs index 56c6091d41..581c4dfe81 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteContactResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteContactResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteCreditNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteCreditNoteResponseTests.cs index 29f6261d7a..1edaef085c 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteCreditNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteCreditNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteCustomerResponseTests.cs index e759acbbf7..7bd4d41a0e 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteDepartmentResponseTests.cs index dc3d06cf3a..ab860a38cf 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteDriveGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteDriveGroupResponseTests.cs index 70067719e6..4d45e99d4c 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteDriveGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteDriveGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteDriveResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteDriveResponseTests.cs index aadb5ccc70..28db496d53 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteDriveResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteDriveResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteEcommerceCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteEcommerceCustomerResponseTests.cs index 3f5d07ab33..920c201045 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteEcommerceCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteEcommerceCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteEcommerceOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteEcommerceOrderResponseTests.cs index 1581870ccd..831c551657 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteEcommerceOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteEcommerceOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteEmployeeResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteEmployeeResponseTests.cs index aa1803991e..504039a55c 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteEmployeeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteEmployeeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteExpenseResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteExpenseResponseTests.cs new file mode 100644 index 0000000000..110f37c91f --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/DeleteExpenseResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing DeleteExpenseResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class DeleteExpenseResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for DeleteExpenseResponse + //private DeleteExpenseResponse instance; + + public DeleteExpenseResponseTests() + { + // TODO uncomment below to create an instance of DeleteExpenseResponse + //instance = new DeleteExpenseResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of DeleteExpenseResponse + /// + [Fact] + public void DeleteExpenseResponseInstanceTest() + { + // TODO uncomment below to test "IsType" DeleteExpenseResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/DeleteFileResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteFileResponseTests.cs index e783abf61a..402c775333 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteFileResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteFileResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteFolderResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteFolderResponseTests.cs index f5a920a691..a34f580ecb 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteFolderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteFolderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteHrisCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteHrisCompanyResponseTests.cs index b3bf3696f7..ad4ac48413 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteHrisCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteHrisCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteInvoiceResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteInvoiceResponseTests.cs index 7687b079e1..41036bb5b4 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteInvoiceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteInvoiceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteItemResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteItemResponseTests.cs index f2541ac284..db18052589 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteItemResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteItemResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteJobResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteJobResponseTests.cs index 7ebb249f2c..a445453a02 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteJobResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteJobResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteJournalEntryResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteJournalEntryResponseTests.cs index 881510a7db..dfc3cbea69 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteJournalEntryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteJournalEntryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteLeadResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteLeadResponseTests.cs index 8b2e42402f..039babb3c2 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteLeadResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteLeadResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteLedgerAccountResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteLedgerAccountResponseTests.cs index f12cc9b5ce..0e1e0ebc90 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteLedgerAccountResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteLedgerAccountResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteLocationResponseTests.cs index 036ffc15bd..d7c1418852 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteMerchantResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteMerchantResponseTests.cs index bf61112c3b..69cd3986cc 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteMerchantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteMerchantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteMessageResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteMessageResponseTests.cs index ad498f63ac..7b214c3d7e 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteMessageResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteMessageResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteModifierGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteModifierGroupResponseTests.cs index 205c099b61..68e4c17ef5 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteModifierGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteModifierGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteModifierResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteModifierResponseTests.cs index edb927921a..d4ecd5b986 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteModifierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteModifierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteNoteResponseTests.cs index fbadf6f583..576a1adcd3 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteOpportunityResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteOpportunityResponseTests.cs index 8d13617867..a5b00a8646 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteOpportunityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteOpportunityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteOrderResponseTests.cs index 3f7c414391..d5cbba706f 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteOrderTypeResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteOrderTypeResponseTests.cs index b310220974..b22fcef150 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteOrderTypeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteOrderTypeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeletePaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeletePaymentResponseTests.cs index 10294fa795..d7e7f67a5c 100644 --- a/src/gen/src/Apideck.Test/Model/DeletePaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeletePaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeletePipelineResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeletePipelineResponseTests.cs index 5a13e29622..c90b995239 100644 --- a/src/gen/src/Apideck.Test/Model/DeletePipelineResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeletePipelineResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeletePosPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeletePosPaymentResponseTests.cs index 7ce48b01b5..41ebccd0c6 100644 --- a/src/gen/src/Apideck.Test/Model/DeletePosPaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeletePosPaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteProductResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteProductResponseTests.cs index 82f89053f8..1d56a50242 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteProductResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteProductResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeletePurchaseOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeletePurchaseOrderResponseTests.cs index 5501f15d42..6f83d605da 100644 --- a/src/gen/src/Apideck.Test/Model/DeletePurchaseOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeletePurchaseOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteSharedLinkResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteSharedLinkResponseTests.cs index e13f13bbc1..61637d5516 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteSharedLinkResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteSharedLinkResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteSubsidiaryResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteSubsidiaryResponseTests.cs index 5cf1d5b166..7b052ca59b 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteSubsidiaryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteSubsidiaryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteSupplierResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteSupplierResponseTests.cs index 581b6409dc..0a6453b52a 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteSupplierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteSupplierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteTaxRateResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteTaxRateResponseTests.cs index b2ac1359bf..e6f2649dda 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteTaxRateResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteTaxRateResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteTenderResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteTenderResponseTests.cs index 5c13951b9e..da4e4977f3 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteTenderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteTenderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteTicketResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteTicketResponseTests.cs index 23d1d5125e..b1d16dc083 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteTicketResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteTicketResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteTimeOffRequestResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteTimeOffRequestResponseTests.cs index 6d838db423..9f3d41e06a 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteTimeOffRequestResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteTimeOffRequestResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteTrackingCategoryResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteTrackingCategoryResponseTests.cs new file mode 100644 index 0000000000..07d1babc06 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/DeleteTrackingCategoryResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing DeleteTrackingCategoryResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class DeleteTrackingCategoryResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for DeleteTrackingCategoryResponse + //private DeleteTrackingCategoryResponse instance; + + public DeleteTrackingCategoryResponseTests() + { + // TODO uncomment below to create an instance of DeleteTrackingCategoryResponse + //instance = new DeleteTrackingCategoryResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of DeleteTrackingCategoryResponse + /// + [Fact] + public void DeleteTrackingCategoryResponseInstanceTest() + { + // TODO uncomment below to test "IsType" DeleteTrackingCategoryResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/DeleteUploadSessionResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteUploadSessionResponseTests.cs index 9fbaff5baa..ce6afb8865 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteUploadSessionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteUploadSessionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteUserResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteUserResponseTests.cs index b8b89f693e..1820da76cd 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteUserResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteUserResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeleteWebhookResponseTests.cs b/src/gen/src/Apideck.Test/Model/DeleteWebhookResponseTests.cs index 4b57d3c3e6..25e663415d 100644 --- a/src/gen/src/Apideck.Test/Model/DeleteWebhookResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/DeleteWebhookResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DepartmentTests.cs b/src/gen/src/Apideck.Test/Model/DepartmentTests.cs index e16cc9eff9..0a2cdd8e4a 100644 --- a/src/gen/src/Apideck.Test/Model/DepartmentTests.cs +++ b/src/gen/src/Apideck.Test/Model/DepartmentTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DeprecatedLinkedSupplierTests.cs b/src/gen/src/Apideck.Test/Model/DeprecatedLinkedSupplierTests.cs new file mode 100644 index 0000000000..a50d51d16f --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/DeprecatedLinkedSupplierTests.cs @@ -0,0 +1,102 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing DeprecatedLinkedSupplier + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class DeprecatedLinkedSupplierTests : IDisposable + { + // TODO uncomment below to declare an instance variable for DeprecatedLinkedSupplier + //private DeprecatedLinkedSupplier instance; + + public DeprecatedLinkedSupplierTests() + { + // TODO uncomment below to create an instance of DeprecatedLinkedSupplier + //instance = new DeprecatedLinkedSupplier(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of DeprecatedLinkedSupplier + /// + [Fact] + public void DeprecatedLinkedSupplierInstanceTest() + { + // TODO uncomment below to test "IsType" DeprecatedLinkedSupplier + //Assert.IsType(instance); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'DisplayId' + /// + [Fact] + public void DisplayIdTest() + { + // TODO unit test for the property 'DisplayId' + } + /// + /// Test the property 'DisplayName' + /// + [Fact] + public void DisplayNameTest() + { + // TODO unit test for the property 'DisplayName' + } + /// + /// Test the property 'CompanyName' + /// + [Fact] + public void CompanyNameTest() + { + // TODO unit test for the property 'CompanyName' + } + /// + /// Test the property 'Address' + /// + [Fact] + public void AddressTest() + { + // TODO unit test for the property 'Address' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/DeprecatedLinkedTrackingCategoryTests.cs b/src/gen/src/Apideck.Test/Model/DeprecatedLinkedTrackingCategoryTests.cs new file mode 100644 index 0000000000..0698a5d90b --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/DeprecatedLinkedTrackingCategoryTests.cs @@ -0,0 +1,78 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing DeprecatedLinkedTrackingCategory + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class DeprecatedLinkedTrackingCategoryTests : IDisposable + { + // TODO uncomment below to declare an instance variable for DeprecatedLinkedTrackingCategory + //private DeprecatedLinkedTrackingCategory instance; + + public DeprecatedLinkedTrackingCategoryTests() + { + // TODO uncomment below to create an instance of DeprecatedLinkedTrackingCategory + //instance = new DeprecatedLinkedTrackingCategory(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of DeprecatedLinkedTrackingCategory + /// + [Fact] + public void DeprecatedLinkedTrackingCategoryInstanceTest() + { + // TODO uncomment below to test "IsType" DeprecatedLinkedTrackingCategory + //Assert.IsType(instance); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/DriveGroupTests.cs b/src/gen/src/Apideck.Test/Model/DriveGroupTests.cs index ed747a61e3..23ec02148b 100644 --- a/src/gen/src/Apideck.Test/Model/DriveGroupTests.cs +++ b/src/gen/src/Apideck.Test/Model/DriveGroupTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DriveGroupsFilterTests.cs b/src/gen/src/Apideck.Test/Model/DriveGroupsFilterTests.cs index fe186da7cf..b90875960a 100644 --- a/src/gen/src/Apideck.Test/Model/DriveGroupsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/DriveGroupsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DriveTests.cs b/src/gen/src/Apideck.Test/Model/DriveTests.cs index 0d763c12e4..6e995ea974 100644 --- a/src/gen/src/Apideck.Test/Model/DriveTests.cs +++ b/src/gen/src/Apideck.Test/Model/DriveTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/DrivesFilterTests.cs b/src/gen/src/Apideck.Test/Model/DrivesFilterTests.cs index bc5c9a8b20..45150b4a2a 100644 --- a/src/gen/src/Apideck.Test/Model/DrivesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/DrivesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceAddressTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceAddressTests.cs index 210446fe78..b09d349cd1 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceAddressTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceAddressTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceCustomerAddressesTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceCustomerAddressesTests.cs index 8aef2f8143..4095662b74 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceCustomerAddressesTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceCustomerAddressesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceCustomerTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceCustomerTests.cs index da9cca4481..123ed2dd1f 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceCustomerTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceCustomerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceCustomersFilterTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceCustomersFilterTests.cs index f59fe91399..f7f8286989 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceCustomersFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceCustomersFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceDiscountTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceDiscountTests.cs index 392543ffbe..daa603a995 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceDiscountTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceDiscountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceOrderLineItemTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceOrderLineItemTests.cs index af603cd544..077bce1b80 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceOrderLineItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceOrderLineItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceOrderStatusTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceOrderStatusTests.cs index 00d2145b8c..5d5c1a9f0b 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceOrderStatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceOrderStatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceOrderTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceOrderTests.cs index 333b6b8771..b23f6f5064 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceOrderTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceOrderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceOrdersFilterTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceOrdersFilterTests.cs index 8ac7078cb4..577c8952df 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceOrdersFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceOrdersFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductCategoriesTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductCategoriesTests.cs index 53a02b8e80..68f8f09948 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductCategoriesTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductCategoriesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductImages1Tests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductImages1Tests.cs index b4a294e13c..5cfc853f93 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductImages1Tests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductImages1Tests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductImagesTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductImagesTests.cs index 8e12855022..1989475209 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductImagesTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductImagesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductOptions1Tests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductOptions1Tests.cs index 5db80055cb..3831db9f33 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductOptions1Tests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductOptions1Tests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductOptionsTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductOptionsTests.cs index 8e0d72be7a..ccb4ded674 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductOptionsTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductOptionsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductTests.cs index 3ba16510eb..fec199d8f4 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceProductVariantsTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceProductVariantsTests.cs index 57952f73fb..adc56b3e82 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceProductVariantsTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceProductVariantsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EcommerceStoreTests.cs b/src/gen/src/Apideck.Test/Model/EcommerceStoreTests.cs index 9015161269..1375715b86 100644 --- a/src/gen/src/Apideck.Test/Model/EcommerceStoreTests.cs +++ b/src/gen/src/Apideck.Test/Model/EcommerceStoreTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmailTests.cs b/src/gen/src/Apideck.Test/Model/EmailTests.cs index 953642f4ee..4cbf934b67 100644 --- a/src/gen/src/Apideck.Test/Model/EmailTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmailTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeCompensationTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeCompensationTests.cs index ec87a0f238..9a68319c3b 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeCompensationTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeCompensationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeEmploymentRoleTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeEmploymentRoleTests.cs index 94addabc6d..c19a9c9486 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeEmploymentRoleTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeEmploymentRoleTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeJobTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeJobTests.cs index de0c23a608..70463857ec 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeJobTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeJobTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeListTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeListTests.cs index 8f1e4122f9..ca5e08de07 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeListTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeListTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeManagerTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeManagerTests.cs index b491b6089c..a0a93c7f97 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeManagerTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeManagerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeePayrollTests.cs b/src/gen/src/Apideck.Test/Model/EmployeePayrollTests.cs index 18e9e605c6..ec6220fc24 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeePayrollTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeePayrollTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeSchedulesTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeSchedulesTests.cs index aa3180a2ee..b5115f7df0 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeSchedulesTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeSchedulesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeeTests.cs b/src/gen/src/Apideck.Test/Model/EmployeeTests.cs index 94d9fbf824..15348127a9 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeeTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeesFilterTests.cs b/src/gen/src/Apideck.Test/Model/EmployeesFilterTests.cs index 0552dfc520..c70477eac2 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeesOneFilterTests.cs b/src/gen/src/Apideck.Test/Model/EmployeesOneFilterTests.cs index f635629b60..f53d9387ba 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeesOneFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeesOneFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmployeesSortTests.cs b/src/gen/src/Apideck.Test/Model/EmployeesSortTests.cs index 230777211a..bef3c6d5a1 100644 --- a/src/gen/src/Apideck.Test/Model/EmployeesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmployeesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/EmploymentStatusTests.cs b/src/gen/src/Apideck.Test/Model/EmploymentStatusTests.cs index 94f8728c57..7f905a8924 100644 --- a/src/gen/src/Apideck.Test/Model/EmploymentStatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/EmploymentStatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ErrorTests.cs b/src/gen/src/Apideck.Test/Model/ErrorTests.cs index 7b55e9809a..fcb9b9fd8a 100644 --- a/src/gen/src/Apideck.Test/Model/ErrorTests.cs +++ b/src/gen/src/Apideck.Test/Model/ErrorTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ExecuteWebhookResponseTests.cs b/src/gen/src/Apideck.Test/Model/ExecuteWebhookResponseTests.cs index 7675560fac..d705a9e8f2 100644 --- a/src/gen/src/Apideck.Test/Model/ExecuteWebhookResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/ExecuteWebhookResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ExpenseLineItemTests.cs b/src/gen/src/Apideck.Test/Model/ExpenseLineItemTests.cs new file mode 100644 index 0000000000..be1b207aab --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/ExpenseLineItemTests.cs @@ -0,0 +1,142 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing ExpenseLineItem + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ExpenseLineItemTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ExpenseLineItem + //private ExpenseLineItem instance; + + public ExpenseLineItemTests() + { + // TODO uncomment below to create an instance of ExpenseLineItem + //instance = new ExpenseLineItem(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ExpenseLineItem + /// + [Fact] + public void ExpenseLineItemInstanceTest() + { + // TODO uncomment below to test "IsType" ExpenseLineItem + //Assert.IsType(instance); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// + /// Test the property 'AccountId' + /// + [Fact] + public void AccountIdTest() + { + // TODO unit test for the property 'AccountId' + } + /// + /// Test the property 'CustomerId' + /// + [Fact] + public void CustomerIdTest() + { + // TODO unit test for the property 'CustomerId' + } + /// + /// Test the property 'DepartmentId' + /// + [Fact] + public void DepartmentIdTest() + { + // TODO unit test for the property 'DepartmentId' + } + /// + /// Test the property 'LocationId' + /// + [Fact] + public void LocationIdTest() + { + // TODO unit test for the property 'LocationId' + } + /// + /// Test the property 'TaxRate' + /// + [Fact] + public void TaxRateTest() + { + // TODO unit test for the property 'TaxRate' + } + /// + /// Test the property 'Description' + /// + [Fact] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + /// + /// Test the property 'TotalAmount' + /// + [Fact] + public void TotalAmountTest() + { + // TODO unit test for the property 'TotalAmount' + } + /// + /// Test the property 'Billable' + /// + [Fact] + public void BillableTest() + { + // TODO unit test for the property 'Billable' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/ExpenseTests.cs b/src/gen/src/Apideck.Test/Model/ExpenseTests.cs new file mode 100644 index 0000000000..9c4352f688 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/ExpenseTests.cs @@ -0,0 +1,230 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing Expense + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ExpenseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Expense + //private Expense instance; + + public ExpenseTests() + { + // TODO uncomment below to create an instance of Expense + //instance = new Expense(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Expense + /// + [Fact] + public void ExpenseInstanceTest() + { + // TODO uncomment below to test "IsType" Expense + //Assert.IsType(instance); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Number' + /// + [Fact] + public void NumberTest() + { + // TODO unit test for the property 'Number' + } + /// + /// Test the property 'TransactionDate' + /// + [Fact] + public void TransactionDateTest() + { + // TODO unit test for the property 'TransactionDate' + } + /// + /// Test the property 'AccountId' + /// + [Fact] + public void AccountIdTest() + { + // TODO unit test for the property 'AccountId' + } + /// + /// Test the property 'CustomerId' + /// + [Fact] + public void CustomerIdTest() + { + // TODO unit test for the property 'CustomerId' + } + /// + /// Test the property 'SupplierId' + /// + [Fact] + public void SupplierIdTest() + { + // TODO unit test for the property 'SupplierId' + } + /// + /// Test the property 'CompanyId' + /// + [Fact] + public void CompanyIdTest() + { + // TODO unit test for the property 'CompanyId' + } + /// + /// Test the property 'DepartmentId' + /// + [Fact] + public void DepartmentIdTest() + { + // TODO unit test for the property 'DepartmentId' + } + /// + /// Test the property 'Currency' + /// + [Fact] + public void CurrencyTest() + { + // TODO unit test for the property 'Currency' + } + /// + /// Test the property 'CurrencyRate' + /// + [Fact] + public void CurrencyRateTest() + { + // TODO unit test for the property 'CurrencyRate' + } + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + /// + /// Test the property 'Memo' + /// + [Fact] + public void MemoTest() + { + // TODO unit test for the property 'Memo' + } + /// + /// Test the property 'TaxRate' + /// + [Fact] + public void TaxRateTest() + { + // TODO unit test for the property 'TaxRate' + } + /// + /// Test the property 'TotalAmount' + /// + [Fact] + public void TotalAmountTest() + { + // TODO unit test for the property 'TotalAmount' + } + /// + /// Test the property 'LineItems' + /// + [Fact] + public void LineItemsTest() + { + // TODO unit test for the property 'LineItems' + } + /// + /// Test the property 'CustomFields' + /// + [Fact] + public void CustomFieldsTest() + { + // TODO unit test for the property 'CustomFields' + } + /// + /// Test the property 'CustomMappings' + /// + [Fact] + public void CustomMappingsTest() + { + // TODO unit test for the property 'CustomMappings' + } + /// + /// Test the property 'UpdatedAt' + /// + [Fact] + public void UpdatedAtTest() + { + // TODO unit test for the property 'UpdatedAt' + } + /// + /// Test the property 'CreatedAt' + /// + [Fact] + public void CreatedAtTest() + { + // TODO unit test for the property 'CreatedAt' + } + /// + /// Test the property 'RowVersion' + /// + [Fact] + public void RowVersionTest() + { + // TODO unit test for the property 'RowVersion' + } + /// + /// Test the property 'PassThrough' + /// + [Fact] + public void PassThroughTest() + { + // TODO unit test for the property 'PassThrough' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/FileStorageEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/FileStorageEventTypeTests.cs index d4c53ac677..ebc45f0da0 100644 --- a/src/gen/src/Apideck.Test/Model/FileStorageEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/FileStorageEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FileTypeTests.cs b/src/gen/src/Apideck.Test/Model/FileTypeTests.cs index 7dc1cc2dfd..6b4f4d81b4 100644 --- a/src/gen/src/Apideck.Test/Model/FileTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/FileTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FilesFilterTests.cs b/src/gen/src/Apideck.Test/Model/FilesFilterTests.cs index 1c23fd181c..8e22237f45 100644 --- a/src/gen/src/Apideck.Test/Model/FilesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/FilesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FilesSearchTests.cs b/src/gen/src/Apideck.Test/Model/FilesSearchTests.cs index 7c08564f06..05da19aa8f 100644 --- a/src/gen/src/Apideck.Test/Model/FilesSearchTests.cs +++ b/src/gen/src/Apideck.Test/Model/FilesSearchTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FilesSortTests.cs b/src/gen/src/Apideck.Test/Model/FilesSortTests.cs index a90ff700c1..21aca5f292 100644 --- a/src/gen/src/Apideck.Test/Model/FilesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/FilesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FolderTests.cs b/src/gen/src/Apideck.Test/Model/FolderTests.cs index 9b5a3c990c..a0cb7af7cf 100644 --- a/src/gen/src/Apideck.Test/Model/FolderTests.cs +++ b/src/gen/src/Apideck.Test/Model/FolderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FormFieldOptionGroupTests.cs b/src/gen/src/Apideck.Test/Model/FormFieldOptionGroupTests.cs index ee330b1d07..eb490ac99b 100644 --- a/src/gen/src/Apideck.Test/Model/FormFieldOptionGroupTests.cs +++ b/src/gen/src/Apideck.Test/Model/FormFieldOptionGroupTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FormFieldOptionTests.cs b/src/gen/src/Apideck.Test/Model/FormFieldOptionTests.cs index 47a0f99b62..ada257ef97 100644 --- a/src/gen/src/Apideck.Test/Model/FormFieldOptionTests.cs +++ b/src/gen/src/Apideck.Test/Model/FormFieldOptionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/FormFieldTests.cs b/src/gen/src/Apideck.Test/Model/FormFieldTests.cs index a62d2c0b96..baab574e46 100644 --- a/src/gen/src/Apideck.Test/Model/FormFieldTests.cs +++ b/src/gen/src/Apideck.Test/Model/FormFieldTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GenderTests.cs b/src/gen/src/Apideck.Test/Model/GenderTests.cs index ae04ee9995..ae44d1a5e8 100644 --- a/src/gen/src/Apideck.Test/Model/GenderTests.cs +++ b/src/gen/src/Apideck.Test/Model/GenderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentResponseTests.cs index 97aaf7c605..bd834edaa6 100644 --- a/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentsResponseTests.cs index e28453f289..aed648b626 100644 --- a/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetAccountingDepartmentsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetAccountingLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetAccountingLocationResponseTests.cs index f40a1acdae..71a5f23dee 100644 --- a/src/gen/src/Apideck.Test/Model/GetAccountingLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetAccountingLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetAccountingLocationsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetAccountingLocationsResponseTests.cs index 102627cd5e..3ade1b5381 100644 --- a/src/gen/src/Apideck.Test/Model/GetAccountingLocationsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetAccountingLocationsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetActivitiesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetActivitiesResponseTests.cs index 5765363d82..4b737b37f5 100644 --- a/src/gen/src/Apideck.Test/Model/GetActivitiesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetActivitiesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetActivityResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetActivityResponseTests.cs index b70077ac33..31b43905c3 100644 --- a/src/gen/src/Apideck.Test/Model/GetActivityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetActivityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApiResourceCoverageResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApiResourceCoverageResponseTests.cs index a6690b265d..7d799ed23b 100644 --- a/src/gen/src/Apideck.Test/Model/GetApiResourceCoverageResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApiResourceCoverageResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApiResourceResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApiResourceResponseTests.cs index bc183f7b12..cca98e1561 100644 --- a/src/gen/src/Apideck.Test/Model/GetApiResourceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApiResourceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApiResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApiResponseTests.cs index 20d21c2072..f2a41e0bd9 100644 --- a/src/gen/src/Apideck.Test/Model/GetApiResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApiResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApisResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApisResponseTests.cs index 52065aa7b7..41f8e5e3f7 100644 --- a/src/gen/src/Apideck.Test/Model/GetApisResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApisResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApplicantResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApplicantResponseTests.cs index eb2535fa6d..83f61ff7ab 100644 --- a/src/gen/src/Apideck.Test/Model/GetApplicantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApplicantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApplicantsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApplicantsResponseTests.cs index 834fe86db1..783ff8a4b4 100644 --- a/src/gen/src/Apideck.Test/Model/GetApplicantsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApplicantsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApplicationResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApplicationResponseTests.cs index 89a5fa49cd..3d137a3591 100644 --- a/src/gen/src/Apideck.Test/Model/GetApplicationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApplicationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetApplicationsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetApplicationsResponseTests.cs index 9ee3ce1093..386c61786d 100644 --- a/src/gen/src/Apideck.Test/Model/GetApplicationsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetApplicationsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetAttachmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetAttachmentResponseTests.cs index e3f0e360b4..b1332d0a11 100644 --- a/src/gen/src/Apideck.Test/Model/GetAttachmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetAttachmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetAttachmentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetAttachmentsResponseTests.cs index 3801b9defe..c665d72b35 100644 --- a/src/gen/src/Apideck.Test/Model/GetAttachmentsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetAttachmentsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetBalanceSheetResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetBalanceSheetResponseTests.cs index 40f92850f5..7dc848001a 100644 --- a/src/gen/src/Apideck.Test/Model/GetBalanceSheetResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetBalanceSheetResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetBillPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetBillPaymentResponseTests.cs new file mode 100644 index 0000000000..2ed4945574 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/GetBillPaymentResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing GetBillPaymentResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetBillPaymentResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetBillPaymentResponse + //private GetBillPaymentResponse instance; + + public GetBillPaymentResponseTests() + { + // TODO uncomment below to create an instance of GetBillPaymentResponse + //instance = new GetBillPaymentResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetBillPaymentResponse + /// + [Fact] + public void GetBillPaymentResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetBillPaymentResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/GetBillPaymentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetBillPaymentsResponseTests.cs new file mode 100644 index 0000000000..e3e0ffc8ba --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/GetBillPaymentsResponseTests.cs @@ -0,0 +1,126 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing GetBillPaymentsResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetBillPaymentsResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetBillPaymentsResponse + //private GetBillPaymentsResponse instance; + + public GetBillPaymentsResponseTests() + { + // TODO uncomment below to create an instance of GetBillPaymentsResponse + //instance = new GetBillPaymentsResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetBillPaymentsResponse + /// + [Fact] + public void GetBillPaymentsResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetBillPaymentsResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + /// + /// Test the property 'Meta' + /// + [Fact] + public void MetaTest() + { + // TODO unit test for the property 'Meta' + } + /// + /// Test the property 'Links' + /// + [Fact] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/GetBillResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetBillResponseTests.cs index 5c5a8d9fb3..8d1d6a3579 100644 --- a/src/gen/src/Apideck.Test/Model/GetBillResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetBillResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetBillsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetBillsResponseTests.cs index 3c43da8d80..28c52954e7 100644 --- a/src/gen/src/Apideck.Test/Model/GetBillsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetBillsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCollectionResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCollectionResponseTests.cs index e4e11f808f..2096af07b7 100644 --- a/src/gen/src/Apideck.Test/Model/GetCollectionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCollectionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCollectionTagsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCollectionTagsResponseTests.cs index c6b9e667ff..cf82f52e1e 100644 --- a/src/gen/src/Apideck.Test/Model/GetCollectionTagsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCollectionTagsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCollectionUserResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCollectionUserResponseTests.cs index 1c4fc7078b..1f41724716 100644 --- a/src/gen/src/Apideck.Test/Model/GetCollectionUserResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCollectionUserResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCollectionUsersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCollectionUsersResponseTests.cs index 926918c204..0c5dc5a0f1 100644 --- a/src/gen/src/Apideck.Test/Model/GetCollectionUsersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCollectionUsersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCollectionsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCollectionsResponseTests.cs index 9766e8e6d1..1d08e84773 100644 --- a/src/gen/src/Apideck.Test/Model/GetCollectionsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCollectionsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCommentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCommentResponseTests.cs index 23a888e69a..479cd21608 100644 --- a/src/gen/src/Apideck.Test/Model/GetCommentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCommentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCommentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCommentsResponseTests.cs index 6014b160b4..71d141f7f2 100644 --- a/src/gen/src/Apideck.Test/Model/GetCommentsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCommentsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCompaniesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCompaniesResponseTests.cs index 6f48ad5832..68b56635fd 100644 --- a/src/gen/src/Apideck.Test/Model/GetCompaniesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCompaniesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCompanyInfoResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCompanyInfoResponseTests.cs index f405ea499f..18fdc06fb7 100644 --- a/src/gen/src/Apideck.Test/Model/GetCompanyInfoResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCompanyInfoResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCompanyResponseTests.cs index b485284679..6e75cda39d 100644 --- a/src/gen/src/Apideck.Test/Model/GetCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectionResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectionResponseTests.cs index 38f34beab7..1f6fcc59a7 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectionsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectionsResponseTests.cs index eb9c886859..c55afb2c26 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectionsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectionsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseDataTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseDataTests.cs index efba171724..bd56d574ee 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseDataTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseDataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseTests.cs index 1c8cbc8ca3..279d69074c 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectorResourceExampleResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectorResourceResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectorResourceResponseTests.cs index 96b3c2998e..59ca3879fb 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectorResourceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectorResourceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectorResourceSchemaResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectorResourceSchemaResponseTests.cs index 7cdeafd7c5..7dab29d7bf 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectorResourceSchemaResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectorResourceSchemaResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectorResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectorResponseTests.cs index 0d409933c0..5adc80eb91 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectorResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectorResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConnectorsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConnectorsResponseTests.cs index 334b2abb83..9e82ec15b4 100644 --- a/src/gen/src/Apideck.Test/Model/GetConnectorsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConnectorsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConsumerResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConsumerResponseTests.cs index d111ada5bd..3c45d3f093 100644 --- a/src/gen/src/Apideck.Test/Model/GetConsumerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConsumerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConsumersResponseDataTests.cs b/src/gen/src/Apideck.Test/Model/GetConsumersResponseDataTests.cs index 2ffe7f59c7..08aa6e909c 100644 --- a/src/gen/src/Apideck.Test/Model/GetConsumersResponseDataTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConsumersResponseDataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetConsumersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetConsumersResponseTests.cs index 716aeb827c..6084a35f11 100644 --- a/src/gen/src/Apideck.Test/Model/GetConsumersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetConsumersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetContactResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetContactResponseTests.cs index 39bfe40645..cecebdfc14 100644 --- a/src/gen/src/Apideck.Test/Model/GetContactResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetContactResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetContactsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetContactsResponseTests.cs index a548810044..a01010339d 100644 --- a/src/gen/src/Apideck.Test/Model/GetContactsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetContactsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCreditNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCreditNoteResponseTests.cs index 975f2157aa..4e9c782c0d 100644 --- a/src/gen/src/Apideck.Test/Model/GetCreditNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCreditNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCreditNotesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCreditNotesResponseTests.cs index 091b28969e..6ec4f1b2c9 100644 --- a/src/gen/src/Apideck.Test/Model/GetCreditNotesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCreditNotesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCustomFieldsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCustomFieldsResponseTests.cs index f7cb4ec399..13f7f77224 100644 --- a/src/gen/src/Apideck.Test/Model/GetCustomFieldsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCustomFieldsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCustomMappingResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCustomMappingResponseTests.cs index e1b2b09502..c575b24c04 100644 --- a/src/gen/src/Apideck.Test/Model/GetCustomMappingResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCustomMappingResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCustomerResponseTests.cs index cc38aa4cc7..e1582a6234 100644 --- a/src/gen/src/Apideck.Test/Model/GetCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetCustomersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetCustomersResponseTests.cs index 2eaf0c5e34..444947b931 100644 --- a/src/gen/src/Apideck.Test/Model/GetCustomersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetCustomersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetDepartmentResponseTests.cs index c945eb5a41..726649fd6e 100644 --- a/src/gen/src/Apideck.Test/Model/GetDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetDepartmentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetDepartmentsResponseTests.cs index 78eb5e4676..f01a465b07 100644 --- a/src/gen/src/Apideck.Test/Model/GetDepartmentsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetDepartmentsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetDriveGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetDriveGroupResponseTests.cs index a80bb2edb1..280bebc24e 100644 --- a/src/gen/src/Apideck.Test/Model/GetDriveGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetDriveGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetDriveGroupsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetDriveGroupsResponseTests.cs index 3c0c29fa94..037ebb8afb 100644 --- a/src/gen/src/Apideck.Test/Model/GetDriveGroupsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetDriveGroupsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetDriveResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetDriveResponseTests.cs index 01b7830dfb..bf9e2e2c41 100644 --- a/src/gen/src/Apideck.Test/Model/GetDriveResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetDriveResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetDrivesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetDrivesResponseTests.cs index 3a48e5ae9c..52588e3122 100644 --- a/src/gen/src/Apideck.Test/Model/GetDrivesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetDrivesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEcommerceCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEcommerceCustomerResponseTests.cs index 76e5decb0a..42f2a7d5e8 100644 --- a/src/gen/src/Apideck.Test/Model/GetEcommerceCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEcommerceCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEcommerceCustomersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEcommerceCustomersResponseTests.cs index ef417ded14..3ed9dedc43 100644 --- a/src/gen/src/Apideck.Test/Model/GetEcommerceCustomersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEcommerceCustomersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEcommerceOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEcommerceOrderResponseTests.cs index 7402f7f9c3..1809440951 100644 --- a/src/gen/src/Apideck.Test/Model/GetEcommerceOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEcommerceOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEcommerceOrdersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEcommerceOrdersResponseTests.cs index 09bfeadfb5..6b0eb6f2fd 100644 --- a/src/gen/src/Apideck.Test/Model/GetEcommerceOrdersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEcommerceOrdersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEmployeePayrollResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEmployeePayrollResponseTests.cs index be4d8d205f..a5c8c57a5e 100644 --- a/src/gen/src/Apideck.Test/Model/GetEmployeePayrollResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEmployeePayrollResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEmployeePayrollsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEmployeePayrollsResponseTests.cs index 3d5a7d1c99..22c2165d78 100644 --- a/src/gen/src/Apideck.Test/Model/GetEmployeePayrollsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEmployeePayrollsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEmployeeResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEmployeeResponseTests.cs index 06d58bac9d..f24f60f1f3 100644 --- a/src/gen/src/Apideck.Test/Model/GetEmployeeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEmployeeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEmployeeSchedulesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEmployeeSchedulesResponseTests.cs index d074cce359..a29d0dee26 100644 --- a/src/gen/src/Apideck.Test/Model/GetEmployeeSchedulesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEmployeeSchedulesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetEmployeesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetEmployeesResponseTests.cs index 2247cd9ff1..60fd423187 100644 --- a/src/gen/src/Apideck.Test/Model/GetEmployeesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetEmployeesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetExpenseResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetExpenseResponseTests.cs new file mode 100644 index 0000000000..3a2d88ecf4 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/GetExpenseResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing GetExpenseResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetExpenseResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetExpenseResponse + //private GetExpenseResponse instance; + + public GetExpenseResponseTests() + { + // TODO uncomment below to create an instance of GetExpenseResponse + //instance = new GetExpenseResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetExpenseResponse + /// + [Fact] + public void GetExpenseResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetExpenseResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/GetExpensesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetExpensesResponseTests.cs new file mode 100644 index 0000000000..3bb73c7afc --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/GetExpensesResponseTests.cs @@ -0,0 +1,126 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing GetExpensesResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetExpensesResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetExpensesResponse + //private GetExpensesResponse instance; + + public GetExpensesResponseTests() + { + // TODO uncomment below to create an instance of GetExpensesResponse + //instance = new GetExpensesResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetExpensesResponse + /// + [Fact] + public void GetExpensesResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetExpensesResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + /// + /// Test the property 'Meta' + /// + [Fact] + public void MetaTest() + { + // TODO unit test for the property 'Meta' + } + /// + /// Test the property 'Links' + /// + [Fact] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/GetFileResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetFileResponseTests.cs index 35fa5e41cd..5d8e78a891 100644 --- a/src/gen/src/Apideck.Test/Model/GetFileResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetFileResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetFilesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetFilesResponseTests.cs index 4ed50956fb..a74fb125c5 100644 --- a/src/gen/src/Apideck.Test/Model/GetFilesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetFilesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetFolderResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetFolderResponseTests.cs index 34a7cc722c..2b06225376 100644 --- a/src/gen/src/Apideck.Test/Model/GetFolderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetFolderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetFoldersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetFoldersResponseTests.cs index f664c19f9a..11d888677b 100644 --- a/src/gen/src/Apideck.Test/Model/GetFoldersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetFoldersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetHrisCompaniesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetHrisCompaniesResponseTests.cs index 8a8a82019f..551c9b2b2a 100644 --- a/src/gen/src/Apideck.Test/Model/GetHrisCompaniesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetHrisCompaniesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetHrisCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetHrisCompanyResponseTests.cs index 30b976d6db..33eec830a4 100644 --- a/src/gen/src/Apideck.Test/Model/GetHrisCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetHrisCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetHrisJobResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetHrisJobResponseTests.cs index 40f10b19a4..e05dd25599 100644 --- a/src/gen/src/Apideck.Test/Model/GetHrisJobResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetHrisJobResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetHrisJobsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetHrisJobsResponseTests.cs index 132220a636..a350c4544a 100644 --- a/src/gen/src/Apideck.Test/Model/GetHrisJobsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetHrisJobsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetInvoiceItemResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetInvoiceItemResponseTests.cs index 570ca96a52..b23ce5ea7f 100644 --- a/src/gen/src/Apideck.Test/Model/GetInvoiceItemResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetInvoiceItemResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetInvoiceItemsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetInvoiceItemsResponseTests.cs index a37f7406ad..4c6a1c8caf 100644 --- a/src/gen/src/Apideck.Test/Model/GetInvoiceItemsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetInvoiceItemsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetInvoiceResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetInvoiceResponseTests.cs index dedc3dc967..fb270410e0 100644 --- a/src/gen/src/Apideck.Test/Model/GetInvoiceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetInvoiceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetInvoicesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetInvoicesResponseTests.cs index ad157af263..e8def3c08e 100644 --- a/src/gen/src/Apideck.Test/Model/GetInvoicesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetInvoicesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetItemResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetItemResponseTests.cs index 637e6ef731..c9084b66ef 100644 --- a/src/gen/src/Apideck.Test/Model/GetItemResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetItemResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetItemsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetItemsResponseTests.cs index 03b2605935..48dbe30b8a 100644 --- a/src/gen/src/Apideck.Test/Model/GetItemsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetItemsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetJobResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetJobResponseTests.cs index 98d8ac743f..ca262973ad 100644 --- a/src/gen/src/Apideck.Test/Model/GetJobResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetJobResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetJobsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetJobsResponseTests.cs index d7122f80f2..c41169560f 100644 --- a/src/gen/src/Apideck.Test/Model/GetJobsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetJobsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetJournalEntriesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetJournalEntriesResponseTests.cs index 9fc079caf7..c90ea693db 100644 --- a/src/gen/src/Apideck.Test/Model/GetJournalEntriesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetJournalEntriesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetJournalEntryResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetJournalEntryResponseTests.cs index 971cbc99ed..23bc8bb07f 100644 --- a/src/gen/src/Apideck.Test/Model/GetJournalEntryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetJournalEntryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLeadResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLeadResponseTests.cs index 99c8204bef..74107ebafe 100644 --- a/src/gen/src/Apideck.Test/Model/GetLeadResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLeadResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLeadsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLeadsResponseTests.cs index 3c0852e4be..5cf176006c 100644 --- a/src/gen/src/Apideck.Test/Model/GetLeadsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLeadsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLedgerAccountResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLedgerAccountResponseTests.cs index d48c95e398..a3af71e4f5 100644 --- a/src/gen/src/Apideck.Test/Model/GetLedgerAccountResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLedgerAccountResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLedgerAccountsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLedgerAccountsResponseTests.cs index cf6770600c..3a9fe3e2a2 100644 --- a/src/gen/src/Apideck.Test/Model/GetLedgerAccountsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLedgerAccountsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLocationResponseTests.cs index 9b618481b2..073f791f53 100644 --- a/src/gen/src/Apideck.Test/Model/GetLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLocationsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLocationsResponseTests.cs index 3437eb3459..472a3c144f 100644 --- a/src/gen/src/Apideck.Test/Model/GetLocationsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLocationsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetLogsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetLogsResponseTests.cs index e11c5d2907..b9c8fd7ad7 100644 --- a/src/gen/src/Apideck.Test/Model/GetLogsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetLogsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetMerchantResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetMerchantResponseTests.cs index e959860f59..bd4bea47d6 100644 --- a/src/gen/src/Apideck.Test/Model/GetMerchantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetMerchantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetMerchantsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetMerchantsResponseTests.cs index 1cb105309d..360e152c32 100644 --- a/src/gen/src/Apideck.Test/Model/GetMerchantsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetMerchantsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetMessageResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetMessageResponseTests.cs index b0363a4db3..e3054f4f52 100644 --- a/src/gen/src/Apideck.Test/Model/GetMessageResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetMessageResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetMessagesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetMessagesResponseTests.cs index 9def8302f3..d983fef0b7 100644 --- a/src/gen/src/Apideck.Test/Model/GetMessagesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetMessagesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetModifierGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetModifierGroupResponseTests.cs index 812f5eabe8..0640ba559f 100644 --- a/src/gen/src/Apideck.Test/Model/GetModifierGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetModifierGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetModifierGroupsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetModifierGroupsResponseTests.cs index 1a2e5f3419..8d78c82de2 100644 --- a/src/gen/src/Apideck.Test/Model/GetModifierGroupsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetModifierGroupsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetModifierResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetModifierResponseTests.cs index d186caabc4..59ac25a5d5 100644 --- a/src/gen/src/Apideck.Test/Model/GetModifierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetModifierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetModifiersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetModifiersResponseTests.cs index e8bc519a29..315958089e 100644 --- a/src/gen/src/Apideck.Test/Model/GetModifiersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetModifiersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetNoteResponseTests.cs index e7b5c36746..c56a301eb0 100644 --- a/src/gen/src/Apideck.Test/Model/GetNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetNotesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetNotesResponseTests.cs index c7640da759..c77cac7ce7 100644 --- a/src/gen/src/Apideck.Test/Model/GetNotesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetNotesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetOpportunitiesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetOpportunitiesResponseTests.cs index f6cc063f24..77fab5e73e 100644 --- a/src/gen/src/Apideck.Test/Model/GetOpportunitiesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetOpportunitiesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetOpportunityResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetOpportunityResponseTests.cs index f6a2c17342..76b922367a 100644 --- a/src/gen/src/Apideck.Test/Model/GetOpportunityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetOpportunityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetOrderResponseTests.cs index d711d6d918..6ebd814143 100644 --- a/src/gen/src/Apideck.Test/Model/GetOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetOrderTypeResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetOrderTypeResponseTests.cs index bb669eb27f..463dfaefd1 100644 --- a/src/gen/src/Apideck.Test/Model/GetOrderTypeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetOrderTypeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetOrderTypesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetOrderTypesResponseTests.cs index 5bfbe9b64d..642206d8ff 100644 --- a/src/gen/src/Apideck.Test/Model/GetOrderTypesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetOrderTypesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetOrdersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetOrdersResponseTests.cs index 034b57ab3f..076629cf77 100644 --- a/src/gen/src/Apideck.Test/Model/GetOrdersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetOrdersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPaymentResponseTests.cs index fe4563ef84..5bb725f269 100644 --- a/src/gen/src/Apideck.Test/Model/GetPaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPaymentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPaymentsResponseTests.cs index 4a88814a26..c34f41619d 100644 --- a/src/gen/src/Apideck.Test/Model/GetPaymentsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPaymentsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPayrollResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPayrollResponseTests.cs index b2f9bdf6e8..5d0b0f5814 100644 --- a/src/gen/src/Apideck.Test/Model/GetPayrollResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPayrollResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPayrollsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPayrollsResponseTests.cs index a20b26a8e8..ded9c4256c 100644 --- a/src/gen/src/Apideck.Test/Model/GetPayrollsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPayrollsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPipelineResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPipelineResponseTests.cs index 9d336c8f79..cc19926ecb 100644 --- a/src/gen/src/Apideck.Test/Model/GetPipelineResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPipelineResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPipelinesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPipelinesResponseTests.cs index 2a788f6080..9fb96540ba 100644 --- a/src/gen/src/Apideck.Test/Model/GetPipelinesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPipelinesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPosPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPosPaymentResponseTests.cs index 3a7b29ea92..dabe99e382 100644 --- a/src/gen/src/Apideck.Test/Model/GetPosPaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPosPaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPosPaymentsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPosPaymentsResponseTests.cs index 39c378b662..bf87f9712a 100644 --- a/src/gen/src/Apideck.Test/Model/GetPosPaymentsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPosPaymentsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetProductResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetProductResponseTests.cs index 6d3f1e3318..1c76d3bb44 100644 --- a/src/gen/src/Apideck.Test/Model/GetProductResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetProductResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetProductsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetProductsResponseTests.cs index 7dd306e9a5..ad66c5df67 100644 --- a/src/gen/src/Apideck.Test/Model/GetProductsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetProductsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetProfitAndLossResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetProfitAndLossResponseTests.cs index ec1a113108..81887e4cd9 100644 --- a/src/gen/src/Apideck.Test/Model/GetProfitAndLossResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetProfitAndLossResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPurchaseOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPurchaseOrderResponseTests.cs index dce48e6838..a4bc60f487 100644 --- a/src/gen/src/Apideck.Test/Model/GetPurchaseOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPurchaseOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetPurchaseOrdersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetPurchaseOrdersResponseTests.cs index 8c966f2c60..0940be7ecd 100644 --- a/src/gen/src/Apideck.Test/Model/GetPurchaseOrdersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetPurchaseOrdersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetResourceExampleResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetResourceExampleResponseTests.cs index e3b16b2735..426a9e1a72 100644 --- a/src/gen/src/Apideck.Test/Model/GetResourceExampleResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetResourceExampleResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetResourceSchemaResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetResourceSchemaResponseTests.cs index f30ca112bd..cdb15bb995 100644 --- a/src/gen/src/Apideck.Test/Model/GetResourceSchemaResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetResourceSchemaResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetSharedLinkResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetSharedLinkResponseTests.cs index 11e9eabe69..ace0075b81 100644 --- a/src/gen/src/Apideck.Test/Model/GetSharedLinkResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetSharedLinkResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetSharedLinksResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetSharedLinksResponseTests.cs index ae7c191b3e..ab0ec75eff 100644 --- a/src/gen/src/Apideck.Test/Model/GetSharedLinksResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetSharedLinksResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetStoreResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetStoreResponseTests.cs index 83d3dac1ac..7ac1ffec99 100644 --- a/src/gen/src/Apideck.Test/Model/GetStoreResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetStoreResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetStoresResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetStoresResponseTests.cs index 4b9ee79ac3..f58c6c00ad 100644 --- a/src/gen/src/Apideck.Test/Model/GetStoresResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetStoresResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetSubsidiariesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetSubsidiariesResponseTests.cs index 086cdbabb6..cac4ea306d 100644 --- a/src/gen/src/Apideck.Test/Model/GetSubsidiariesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetSubsidiariesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetSubsidiaryResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetSubsidiaryResponseTests.cs index 4576dba922..90550b6751 100644 --- a/src/gen/src/Apideck.Test/Model/GetSubsidiaryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetSubsidiaryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetSupplierResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetSupplierResponseTests.cs index a4a5047fea..733f1aef72 100644 --- a/src/gen/src/Apideck.Test/Model/GetSupplierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetSupplierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetSuppliersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetSuppliersResponseTests.cs index 9bdd5af740..780c14b7e3 100644 --- a/src/gen/src/Apideck.Test/Model/GetSuppliersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetSuppliersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTaxRateResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTaxRateResponseTests.cs index 7c786789cd..31f6517607 100644 --- a/src/gen/src/Apideck.Test/Model/GetTaxRateResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTaxRateResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTaxRatesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTaxRatesResponseTests.cs index 53b1f6e29c..cbf6fe334a 100644 --- a/src/gen/src/Apideck.Test/Model/GetTaxRatesResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTaxRatesResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTenderResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTenderResponseTests.cs index 40a2d3a78f..4348afa55a 100644 --- a/src/gen/src/Apideck.Test/Model/GetTenderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTenderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTendersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTendersResponseTests.cs index 504f3260f9..2e792cc08b 100644 --- a/src/gen/src/Apideck.Test/Model/GetTendersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTendersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTicketResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTicketResponseTests.cs index f371b94621..f789162631 100644 --- a/src/gen/src/Apideck.Test/Model/GetTicketResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTicketResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTicketsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTicketsResponseTests.cs index 89113a91a2..098846a455 100644 --- a/src/gen/src/Apideck.Test/Model/GetTicketsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTicketsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTimeOffRequestResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTimeOffRequestResponseTests.cs index e4b435e55e..5ce828c36e 100644 --- a/src/gen/src/Apideck.Test/Model/GetTimeOffRequestResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTimeOffRequestResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTimeOffRequestsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTimeOffRequestsResponseTests.cs index 62b47b554c..08def945a0 100644 --- a/src/gen/src/Apideck.Test/Model/GetTimeOffRequestsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetTimeOffRequestsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetTrackingCategoriesResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTrackingCategoriesResponseTests.cs new file mode 100644 index 0000000000..79c316eb87 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/GetTrackingCategoriesResponseTests.cs @@ -0,0 +1,126 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing GetTrackingCategoriesResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetTrackingCategoriesResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetTrackingCategoriesResponse + //private GetTrackingCategoriesResponse instance; + + public GetTrackingCategoriesResponseTests() + { + // TODO uncomment below to create an instance of GetTrackingCategoriesResponse + //instance = new GetTrackingCategoriesResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetTrackingCategoriesResponse + /// + [Fact] + public void GetTrackingCategoriesResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetTrackingCategoriesResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + /// + /// Test the property 'Meta' + /// + [Fact] + public void MetaTest() + { + // TODO unit test for the property 'Meta' + } + /// + /// Test the property 'Links' + /// + [Fact] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/GetTrackingCategoryResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetTrackingCategoryResponseTests.cs new file mode 100644 index 0000000000..9436d30e2b --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/GetTrackingCategoryResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing GetTrackingCategoryResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetTrackingCategoryResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetTrackingCategoryResponse + //private GetTrackingCategoryResponse instance; + + public GetTrackingCategoryResponseTests() + { + // TODO uncomment below to create an instance of GetTrackingCategoryResponse + //instance = new GetTrackingCategoryResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetTrackingCategoryResponse + /// + [Fact] + public void GetTrackingCategoryResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetTrackingCategoryResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/GetUploadSessionResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetUploadSessionResponseTests.cs index d16ddbb435..1c18648cd7 100644 --- a/src/gen/src/Apideck.Test/Model/GetUploadSessionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetUploadSessionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetUserResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetUserResponseTests.cs index 2d28aa324d..5c6b13194b 100644 --- a/src/gen/src/Apideck.Test/Model/GetUserResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetUserResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetUsersResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetUsersResponseTests.cs index f658589cbe..b19dbadaec 100644 --- a/src/gen/src/Apideck.Test/Model/GetUsersResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetUsersResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetWebhookEventLogsResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetWebhookEventLogsResponseTests.cs index 20d9d99f2b..2b1d26dded 100644 --- a/src/gen/src/Apideck.Test/Model/GetWebhookEventLogsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetWebhookEventLogsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetWebhookResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetWebhookResponseTests.cs index e3fc8c96a4..8c6a58b84b 100644 --- a/src/gen/src/Apideck.Test/Model/GetWebhookResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetWebhookResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/GetWebhooksResponseTests.cs b/src/gen/src/Apideck.Test/Model/GetWebhooksResponseTests.cs index 1cf3b7ae63..658eeb5d6b 100644 --- a/src/gen/src/Apideck.Test/Model/GetWebhooksResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/GetWebhooksResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/HrisCompanyTests.cs b/src/gen/src/Apideck.Test/Model/HrisCompanyTests.cs index f563bbb53b..1559cdb65c 100644 --- a/src/gen/src/Apideck.Test/Model/HrisCompanyTests.cs +++ b/src/gen/src/Apideck.Test/Model/HrisCompanyTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/HrisEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/HrisEventTypeTests.cs index e088a26c36..c71f50fe93 100644 --- a/src/gen/src/Apideck.Test/Model/HrisEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/HrisEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/HrisJobLocationTests.cs b/src/gen/src/Apideck.Test/Model/HrisJobLocationTests.cs index 8d052ca157..55a59f2032 100644 --- a/src/gen/src/Apideck.Test/Model/HrisJobLocationTests.cs +++ b/src/gen/src/Apideck.Test/Model/HrisJobLocationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/HrisJobTests.cs b/src/gen/src/Apideck.Test/Model/HrisJobTests.cs index dc6afb5d87..5bf2e8cb22 100644 --- a/src/gen/src/Apideck.Test/Model/HrisJobTests.cs +++ b/src/gen/src/Apideck.Test/Model/HrisJobTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/HrisJobsTests.cs b/src/gen/src/Apideck.Test/Model/HrisJobsTests.cs index 9b1eb73d56..2f1c1c1344 100644 --- a/src/gen/src/Apideck.Test/Model/HrisJobsTests.cs +++ b/src/gen/src/Apideck.Test/Model/HrisJobsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/IntegrationStateTests.cs b/src/gen/src/Apideck.Test/Model/IntegrationStateTests.cs index 4bb06e6f37..b56ea0a270 100644 --- a/src/gen/src/Apideck.Test/Model/IntegrationStateTests.cs +++ b/src/gen/src/Apideck.Test/Model/IntegrationStateTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/InvoiceItemSalesDetailsTests.cs b/src/gen/src/Apideck.Test/Model/InvoiceItemSalesDetailsTests.cs index ec6c45da5e..679240bbc8 100644 --- a/src/gen/src/Apideck.Test/Model/InvoiceItemSalesDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoiceItemSalesDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/InvoiceItemTests.cs b/src/gen/src/Apideck.Test/Model/InvoiceItemTests.cs index a06879ae35..b0c58044c6 100644 --- a/src/gen/src/Apideck.Test/Model/InvoiceItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoiceItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -201,6 +201,14 @@ public void TrackingCategoryTest() // TODO unit test for the property 'TrackingCategory' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'Active' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/InvoiceItemsFilterTests.cs b/src/gen/src/Apideck.Test/Model/InvoiceItemsFilterTests.cs index 117c070c49..031c59029c 100644 --- a/src/gen/src/Apideck.Test/Model/InvoiceItemsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoiceItemsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/InvoiceLineItemTests.cs b/src/gen/src/Apideck.Test/Model/InvoiceLineItemTests.cs index 2742f6552d..dad2003664 100644 --- a/src/gen/src/Apideck.Test/Model/InvoiceLineItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoiceLineItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -193,6 +193,14 @@ public void TaxRateTest() // TODO unit test for the property 'TaxRate' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'LedgerAccount' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/InvoiceResponseTests.cs b/src/gen/src/Apideck.Test/Model/InvoiceResponseTests.cs index e5e01628c1..67732900fc 100644 --- a/src/gen/src/Apideck.Test/Model/InvoiceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoiceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/InvoiceTests.cs b/src/gen/src/Apideck.Test/Model/InvoiceTests.cs index 23eb872651..da8ae7d1b8 100644 --- a/src/gen/src/Apideck.Test/Model/InvoiceTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoiceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -265,6 +265,14 @@ public void TrackingCategoryTest() // TODO unit test for the property 'TrackingCategory' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'LineItems' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/InvoicesFilterTests.cs b/src/gen/src/Apideck.Test/Model/InvoicesFilterTests.cs index c3a41a9cd7..c8ec32cd91 100644 --- a/src/gen/src/Apideck.Test/Model/InvoicesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoicesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -72,6 +72,14 @@ public void CreatedSinceTest() { // TODO unit test for the property 'CreatedSince' } + /// + /// Test the property 'Number' + /// + [Fact] + public void NumberTest() + { + // TODO unit test for the property 'Number' + } } diff --git a/src/gen/src/Apideck.Test/Model/InvoicesSortTests.cs b/src/gen/src/Apideck.Test/Model/InvoicesSortTests.cs index 49e6118d20..f6b8112cc5 100644 --- a/src/gen/src/Apideck.Test/Model/InvoicesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/InvoicesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/IssueTrackingEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/IssueTrackingEventTypeTests.cs index 5e77847e73..a9ad1ab47d 100644 --- a/src/gen/src/Apideck.Test/Model/IssueTrackingEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/IssueTrackingEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/IssuesFilterTests.cs b/src/gen/src/Apideck.Test/Model/IssuesFilterTests.cs index 88c5c2ca3d..98c5acb3e2 100644 --- a/src/gen/src/Apideck.Test/Model/IssuesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/IssuesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ItemTests.cs b/src/gen/src/Apideck.Test/Model/ItemTests.cs index 10b0ebec30..5a47c6823c 100644 --- a/src/gen/src/Apideck.Test/Model/ItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/ItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JobLinksTests.cs b/src/gen/src/Apideck.Test/Model/JobLinksTests.cs index e1e23e8d50..76ff0ecc62 100644 --- a/src/gen/src/Apideck.Test/Model/JobLinksTests.cs +++ b/src/gen/src/Apideck.Test/Model/JobLinksTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JobSalaryTests.cs b/src/gen/src/Apideck.Test/Model/JobSalaryTests.cs index 920a1ecd80..48f71726ae 100644 --- a/src/gen/src/Apideck.Test/Model/JobSalaryTests.cs +++ b/src/gen/src/Apideck.Test/Model/JobSalaryTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JobStatusTests.cs b/src/gen/src/Apideck.Test/Model/JobStatusTests.cs index 4861a0a411..74b5eb7233 100644 --- a/src/gen/src/Apideck.Test/Model/JobStatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/JobStatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JobTests.cs b/src/gen/src/Apideck.Test/Model/JobTests.cs index e86ff63aba..8ab705b33e 100644 --- a/src/gen/src/Apideck.Test/Model/JobTests.cs +++ b/src/gen/src/Apideck.Test/Model/JobTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JournalEntriesFilterTests.cs b/src/gen/src/Apideck.Test/Model/JournalEntriesFilterTests.cs index 51207d612b..ea79e4bd8a 100644 --- a/src/gen/src/Apideck.Test/Model/JournalEntriesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/JournalEntriesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JournalEntriesSortTests.cs b/src/gen/src/Apideck.Test/Model/JournalEntriesSortTests.cs index 3f9df01326..4147d36dfc 100644 --- a/src/gen/src/Apideck.Test/Model/JournalEntriesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/JournalEntriesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/JournalEntryLineItemTests.cs b/src/gen/src/Apideck.Test/Model/JournalEntryLineItemTests.cs index 0bd871101c..ee1a3db8b3 100644 --- a/src/gen/src/Apideck.Test/Model/JournalEntryLineItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/JournalEntryLineItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -121,6 +121,14 @@ public void TrackingCategoryTest() // TODO unit test for the property 'TrackingCategory' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'LedgerAccount' /// [Fact] @@ -160,6 +168,14 @@ public void LocationIdTest() { // TODO unit test for the property 'LocationId' } + /// + /// Test the property 'LineNumber' + /// + [Fact] + public void LineNumberTest() + { + // TODO unit test for the property 'LineNumber' + } } diff --git a/src/gen/src/Apideck.Test/Model/JournalEntryTests.cs b/src/gen/src/Apideck.Test/Model/JournalEntryTests.cs index 4ee9091dc6..3705a6e61a 100644 --- a/src/gen/src/Apideck.Test/Model/JournalEntryTests.cs +++ b/src/gen/src/Apideck.Test/Model/JournalEntryTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -153,6 +153,22 @@ public void NumberTest() // TODO unit test for the property 'Number' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// + /// Test the property 'AccountingPeriod' + /// + [Fact] + public void AccountingPeriodTest() + { + // TODO unit test for the property 'AccountingPeriod' + } + /// /// Test the property 'CustomMappings' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/LeadEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/LeadEventTypeTests.cs index 4736b18407..fa95e15d1f 100644 --- a/src/gen/src/Apideck.Test/Model/LeadEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/LeadEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LeadTests.cs b/src/gen/src/Apideck.Test/Model/LeadTests.cs index dd3dd4cdd2..1bcbfcade9 100644 --- a/src/gen/src/Apideck.Test/Model/LeadTests.cs +++ b/src/gen/src/Apideck.Test/Model/LeadTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -89,6 +89,14 @@ public void OwnerIdTest() // TODO unit test for the property 'OwnerId' } /// + /// Test the property 'OwnerName' + /// + [Fact] + public void OwnerNameTest() + { + // TODO unit test for the property 'OwnerName' + } + /// /// Test the property 'CompanyId' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/LeadsFilterTests.cs b/src/gen/src/Apideck.Test/Model/LeadsFilterTests.cs index fb6c6b9751..67017783fe 100644 --- a/src/gen/src/Apideck.Test/Model/LeadsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/LeadsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -88,6 +88,14 @@ public void EmailTest() { // TODO unit test for the property 'Email' } + /// + /// Test the property 'PhoneNumber' + /// + [Fact] + public void PhoneNumberTest() + { + // TODO unit test for the property 'PhoneNumber' + } } diff --git a/src/gen/src/Apideck.Test/Model/LeadsSortTests.cs b/src/gen/src/Apideck.Test/Model/LeadsSortTests.cs index 52c7549a23..5e2e0f288b 100644 --- a/src/gen/src/Apideck.Test/Model/LeadsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/LeadsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LedgerAccountCategoriesTests.cs b/src/gen/src/Apideck.Test/Model/LedgerAccountCategoriesTests.cs index d017d2fdbe..f51b3a5576 100644 --- a/src/gen/src/Apideck.Test/Model/LedgerAccountCategoriesTests.cs +++ b/src/gen/src/Apideck.Test/Model/LedgerAccountCategoriesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LedgerAccountParentAccountTests.cs b/src/gen/src/Apideck.Test/Model/LedgerAccountParentAccountTests.cs index 68251d4601..0efd8fc567 100644 --- a/src/gen/src/Apideck.Test/Model/LedgerAccountParentAccountTests.cs +++ b/src/gen/src/Apideck.Test/Model/LedgerAccountParentAccountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LedgerAccountTests.cs b/src/gen/src/Apideck.Test/Model/LedgerAccountTests.cs index d6989aa673..9cb1159cc8 100644 --- a/src/gen/src/Apideck.Test/Model/LedgerAccountTests.cs +++ b/src/gen/src/Apideck.Test/Model/LedgerAccountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LedgerAccountsFilterTests.cs b/src/gen/src/Apideck.Test/Model/LedgerAccountsFilterTests.cs index 615eea23bb..b9da9d4604 100644 --- a/src/gen/src/Apideck.Test/Model/LedgerAccountsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/LedgerAccountsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LedgerAccountsSortTests.cs b/src/gen/src/Apideck.Test/Model/LedgerAccountsSortTests.cs index 0f264496d8..62730d2773 100644 --- a/src/gen/src/Apideck.Test/Model/LedgerAccountsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/LedgerAccountsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedConnectorResourceTests.cs b/src/gen/src/Apideck.Test/Model/LinkedConnectorResourceTests.cs index 9767ced524..5ffcf82fb4 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedConnectorResourceTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedConnectorResourceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedCustomerTests.cs b/src/gen/src/Apideck.Test/Model/LinkedCustomerTests.cs index a65bab714c..3f8ba428a1 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedCustomerTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedCustomerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedEcommerceCustomerTests.cs b/src/gen/src/Apideck.Test/Model/LinkedEcommerceCustomerTests.cs index 914f4e0264..5126036a65 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedEcommerceCustomerTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedEcommerceCustomerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedEcommerceOrderTests.cs b/src/gen/src/Apideck.Test/Model/LinkedEcommerceOrderTests.cs index 6875c9bb27..a97b34ccd1 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedEcommerceOrderTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedEcommerceOrderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedFolderTests.cs b/src/gen/src/Apideck.Test/Model/LinkedFolderTests.cs index de6ad30abc..650438bb75 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedFolderTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedFolderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedInvoiceItemTests.cs b/src/gen/src/Apideck.Test/Model/LinkedInvoiceItemTests.cs index 442e230dd7..3510d7f9ec 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedInvoiceItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedInvoiceItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedLedgerAccountTests.cs b/src/gen/src/Apideck.Test/Model/LinkedLedgerAccountTests.cs index 1548e89b19..55603147a2 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedLedgerAccountTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedLedgerAccountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedParentCustomerTests.cs b/src/gen/src/Apideck.Test/Model/LinkedParentCustomerTests.cs index 6052b3c119..ade567a4d0 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedParentCustomerTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedParentCustomerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedSupplierTests.cs b/src/gen/src/Apideck.Test/Model/LinkedSupplierTests.cs index 6e0fb4a5a6..4c5ce1fe80 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedSupplierTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedSupplierTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedTaxRateTests.cs b/src/gen/src/Apideck.Test/Model/LinkedTaxRateTests.cs index 9fa2b4b4bb..b19036757f 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedTaxRateTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedTaxRateTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinkedTrackingCategoryTests.cs b/src/gen/src/Apideck.Test/Model/LinkedTrackingCategoryTests.cs index cdb70d176e..94217672eb 100644 --- a/src/gen/src/Apideck.Test/Model/LinkedTrackingCategoryTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinkedTrackingCategoryTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LinksTests.cs b/src/gen/src/Apideck.Test/Model/LinksTests.cs index 213908cca9..346a9e7d90 100644 --- a/src/gen/src/Apideck.Test/Model/LinksTests.cs +++ b/src/gen/src/Apideck.Test/Model/LinksTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LocationTests.cs b/src/gen/src/Apideck.Test/Model/LocationTests.cs index 94d500ea01..f222ec8978 100644 --- a/src/gen/src/Apideck.Test/Model/LocationTests.cs +++ b/src/gen/src/Apideck.Test/Model/LocationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LogOperationTests.cs b/src/gen/src/Apideck.Test/Model/LogOperationTests.cs index cbc83aa7b4..325d04be70 100644 --- a/src/gen/src/Apideck.Test/Model/LogOperationTests.cs +++ b/src/gen/src/Apideck.Test/Model/LogOperationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LogServiceTests.cs b/src/gen/src/Apideck.Test/Model/LogServiceTests.cs index ddef8c2a37..34f17acf37 100644 --- a/src/gen/src/Apideck.Test/Model/LogServiceTests.cs +++ b/src/gen/src/Apideck.Test/Model/LogServiceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LogTests.cs b/src/gen/src/Apideck.Test/Model/LogTests.cs index f2110447ad..a2b1b0f15f 100644 --- a/src/gen/src/Apideck.Test/Model/LogTests.cs +++ b/src/gen/src/Apideck.Test/Model/LogTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/LogsFilterTests.cs b/src/gen/src/Apideck.Test/Model/LogsFilterTests.cs index ee3dfe071b..6bef80c56a 100644 --- a/src/gen/src/Apideck.Test/Model/LogsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/LogsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/MerchantTests.cs b/src/gen/src/Apideck.Test/Model/MerchantTests.cs index 5a483b6513..ef69097aba 100644 --- a/src/gen/src/Apideck.Test/Model/MerchantTests.cs +++ b/src/gen/src/Apideck.Test/Model/MerchantTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/MessageTests.cs b/src/gen/src/Apideck.Test/Model/MessageTests.cs index 13dd7601c2..9d6d33ec7e 100644 --- a/src/gen/src/Apideck.Test/Model/MessageTests.cs +++ b/src/gen/src/Apideck.Test/Model/MessageTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/MetaCursorsTests.cs b/src/gen/src/Apideck.Test/Model/MetaCursorsTests.cs index c74f4925b3..5d58b6285c 100644 --- a/src/gen/src/Apideck.Test/Model/MetaCursorsTests.cs +++ b/src/gen/src/Apideck.Test/Model/MetaCursorsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/MetaTests.cs b/src/gen/src/Apideck.Test/Model/MetaTests.cs index 4e3f23d3b4..c101d9af5c 100644 --- a/src/gen/src/Apideck.Test/Model/MetaTests.cs +++ b/src/gen/src/Apideck.Test/Model/MetaTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ModifierGroupFilterTests.cs b/src/gen/src/Apideck.Test/Model/ModifierGroupFilterTests.cs index 62a772c755..79685aec3b 100644 --- a/src/gen/src/Apideck.Test/Model/ModifierGroupFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ModifierGroupFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ModifierGroupTests.cs b/src/gen/src/Apideck.Test/Model/ModifierGroupTests.cs index 4b82f05cb5..2335365dff 100644 --- a/src/gen/src/Apideck.Test/Model/ModifierGroupTests.cs +++ b/src/gen/src/Apideck.Test/Model/ModifierGroupTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ModifierTests.cs b/src/gen/src/Apideck.Test/Model/ModifierTests.cs index f6d70d4d37..e6a823cbff 100644 --- a/src/gen/src/Apideck.Test/Model/ModifierTests.cs +++ b/src/gen/src/Apideck.Test/Model/ModifierTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/NotFoundResponseTests.cs b/src/gen/src/Apideck.Test/Model/NotFoundResponseTests.cs index 383a3a0f15..6c7dda2814 100644 --- a/src/gen/src/Apideck.Test/Model/NotFoundResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/NotFoundResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/NotImplementedResponseTests.cs b/src/gen/src/Apideck.Test/Model/NotImplementedResponseTests.cs index 4cfc794d34..0b2c9d9e96 100644 --- a/src/gen/src/Apideck.Test/Model/NotImplementedResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/NotImplementedResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/NoteTests.cs b/src/gen/src/Apideck.Test/Model/NoteTests.cs index 7601433436..73ba89cd4d 100644 --- a/src/gen/src/Apideck.Test/Model/NoteTests.cs +++ b/src/gen/src/Apideck.Test/Model/NoteTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OAuthGrantTypeTests.cs b/src/gen/src/Apideck.Test/Model/OAuthGrantTypeTests.cs index 82c9d08586..8752bc626d 100644 --- a/src/gen/src/Apideck.Test/Model/OAuthGrantTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/OAuthGrantTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OfferTests.cs b/src/gen/src/Apideck.Test/Model/OfferTests.cs index ce1ebc7864..44823aac09 100644 --- a/src/gen/src/Apideck.Test/Model/OfferTests.cs +++ b/src/gen/src/Apideck.Test/Model/OfferTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OpportunitiesFilterTests.cs b/src/gen/src/Apideck.Test/Model/OpportunitiesFilterTests.cs index 15a1f75b47..924b195912 100644 --- a/src/gen/src/Apideck.Test/Model/OpportunitiesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/OpportunitiesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OpportunitiesSortTests.cs b/src/gen/src/Apideck.Test/Model/OpportunitiesSortTests.cs index ce67f47425..87e25715f5 100644 --- a/src/gen/src/Apideck.Test/Model/OpportunitiesSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/OpportunitiesSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OpportunityTests.cs b/src/gen/src/Apideck.Test/Model/OpportunityTests.cs index fe01c4f2ed..1998a7bdf4 100644 --- a/src/gen/src/Apideck.Test/Model/OpportunityTests.cs +++ b/src/gen/src/Apideck.Test/Model/OpportunityTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderCustomersTests.cs b/src/gen/src/Apideck.Test/Model/OrderCustomersTests.cs index 1fd4830a4c..c7abaa0078 100644 --- a/src/gen/src/Apideck.Test/Model/OrderCustomersTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderCustomersTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderDiscountsTests.cs b/src/gen/src/Apideck.Test/Model/OrderDiscountsTests.cs index 900114910d..12fa7046e4 100644 --- a/src/gen/src/Apideck.Test/Model/OrderDiscountsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderDiscountsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderFulfillmentsTests.cs b/src/gen/src/Apideck.Test/Model/OrderFulfillmentsTests.cs index 31a082fe9f..80cc5a7c8c 100644 --- a/src/gen/src/Apideck.Test/Model/OrderFulfillmentsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderFulfillmentsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderLineItemsTests.cs b/src/gen/src/Apideck.Test/Model/OrderLineItemsTests.cs index 4b4e2d0798..fc54e34f7f 100644 --- a/src/gen/src/Apideck.Test/Model/OrderLineItemsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderLineItemsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderPaymentsTests.cs b/src/gen/src/Apideck.Test/Model/OrderPaymentsTests.cs index b09e3c4c4f..5dbd513be4 100644 --- a/src/gen/src/Apideck.Test/Model/OrderPaymentsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderPaymentsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderPickupDetailsCurbsidePickupDetailsTests.cs b/src/gen/src/Apideck.Test/Model/OrderPickupDetailsCurbsidePickupDetailsTests.cs index 51c561d82c..283ac45ce4 100644 --- a/src/gen/src/Apideck.Test/Model/OrderPickupDetailsCurbsidePickupDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderPickupDetailsCurbsidePickupDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderPickupDetailsRecipientTests.cs b/src/gen/src/Apideck.Test/Model/OrderPickupDetailsRecipientTests.cs index 27573f2984..3e4860cb49 100644 --- a/src/gen/src/Apideck.Test/Model/OrderPickupDetailsRecipientTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderPickupDetailsRecipientTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderPickupDetailsTests.cs b/src/gen/src/Apideck.Test/Model/OrderPickupDetailsTests.cs index 949784e1b7..e5622d9afd 100644 --- a/src/gen/src/Apideck.Test/Model/OrderPickupDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderPickupDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderRefundsTests.cs b/src/gen/src/Apideck.Test/Model/OrderRefundsTests.cs index 350638b01d..f92e6073de 100644 --- a/src/gen/src/Apideck.Test/Model/OrderRefundsTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderRefundsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderTendersTests.cs b/src/gen/src/Apideck.Test/Model/OrderTendersTests.cs index a903cfba03..303170f30d 100644 --- a/src/gen/src/Apideck.Test/Model/OrderTendersTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderTendersTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderTests.cs b/src/gen/src/Apideck.Test/Model/OrderTests.cs index 08ab6cefaf..00fa4224f7 100644 --- a/src/gen/src/Apideck.Test/Model/OrderTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrderTypeTests.cs b/src/gen/src/Apideck.Test/Model/OrderTypeTests.cs index e0ab03ffcf..69b2001e15 100644 --- a/src/gen/src/Apideck.Test/Model/OrderTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrderTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OrdersSortTests.cs b/src/gen/src/Apideck.Test/Model/OrdersSortTests.cs index 0cc9e5de0b..c94175260a 100644 --- a/src/gen/src/Apideck.Test/Model/OrdersSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/OrdersSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/OwnerTests.cs b/src/gen/src/Apideck.Test/Model/OwnerTests.cs index f35a8677fb..68e35f5b2d 100644 --- a/src/gen/src/Apideck.Test/Model/OwnerTests.cs +++ b/src/gen/src/Apideck.Test/Model/OwnerTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaginationCoverageTests.cs b/src/gen/src/Apideck.Test/Model/PaginationCoverageTests.cs index eacb7cd26f..9506ee1728 100644 --- a/src/gen/src/Apideck.Test/Model/PaginationCoverageTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaginationCoverageTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PassThroughQueryTests.cs b/src/gen/src/Apideck.Test/Model/PassThroughQueryTests.cs index aaf936bbdd..3ce2a634da 100644 --- a/src/gen/src/Apideck.Test/Model/PassThroughQueryTests.cs +++ b/src/gen/src/Apideck.Test/Model/PassThroughQueryTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaymentCardTests.cs b/src/gen/src/Apideck.Test/Model/PaymentCardTests.cs index d8e8965749..3e3cb28404 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentCardTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentCardTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaymentFrequencyTests.cs b/src/gen/src/Apideck.Test/Model/PaymentFrequencyTests.cs index dfaace99c5..a575586181 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentFrequencyTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentFrequencyTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaymentRequiredResponseTests.cs b/src/gen/src/Apideck.Test/Model/PaymentRequiredResponseTests.cs index b2ff840c10..2dc96e5633 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentRequiredResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentRequiredResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaymentStatusTests.cs b/src/gen/src/Apideck.Test/Model/PaymentStatusTests.cs new file mode 100644 index 0000000000..a5a795c1b4 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/PaymentStatusTests.cs @@ -0,0 +1,62 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing PaymentStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PaymentStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PaymentStatus + //private PaymentStatus instance; + + public PaymentStatusTests() + { + // TODO uncomment below to create an instance of PaymentStatus + //instance = new PaymentStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PaymentStatus + /// + [Fact] + public void PaymentStatusInstanceTest() + { + // TODO uncomment below to test "IsType" PaymentStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/PaymentTests.cs b/src/gen/src/Apideck.Test/Model/PaymentTests.cs index 1cd2be6a10..a096776373 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -233,6 +233,14 @@ public void NumberTest() // TODO unit test for the property 'Number' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'CustomFields' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/PaymentTypeTests.cs b/src/gen/src/Apideck.Test/Model/PaymentTypeTests.cs new file mode 100644 index 0000000000..3c156984a4 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/PaymentTypeTests.cs @@ -0,0 +1,62 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing PaymentType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PaymentTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PaymentType + //private PaymentType instance; + + public PaymentTypeTests() + { + // TODO uncomment below to create an instance of PaymentType + //instance = new PaymentType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PaymentType + /// + [Fact] + public void PaymentTypeInstanceTest() + { + // TODO uncomment below to test "IsType" PaymentType + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/PaymentUnitTests.cs b/src/gen/src/Apideck.Test/Model/PaymentUnitTests.cs index af974320ed..f67afd0f79 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentUnitTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentUnitTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaymentsFilterTests.cs b/src/gen/src/Apideck.Test/Model/PaymentsFilterTests.cs index a39cddab20..2bd83e5b3e 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PaymentsSortTests.cs b/src/gen/src/Apideck.Test/Model/PaymentsSortTests.cs index 11d86597b7..215c37eec8 100644 --- a/src/gen/src/Apideck.Test/Model/PaymentsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/PaymentsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PayrollTests.cs b/src/gen/src/Apideck.Test/Model/PayrollTests.cs index 61c1305477..a42022f865 100644 --- a/src/gen/src/Apideck.Test/Model/PayrollTests.cs +++ b/src/gen/src/Apideck.Test/Model/PayrollTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PayrollTotalsTests.cs b/src/gen/src/Apideck.Test/Model/PayrollTotalsTests.cs index 843c51dfc3..218e614cd7 100644 --- a/src/gen/src/Apideck.Test/Model/PayrollTotalsTests.cs +++ b/src/gen/src/Apideck.Test/Model/PayrollTotalsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PayrollsFilterTests.cs b/src/gen/src/Apideck.Test/Model/PayrollsFilterTests.cs index d25d788d8b..4ef84b8b76 100644 --- a/src/gen/src/Apideck.Test/Model/PayrollsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/PayrollsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PersonTests.cs b/src/gen/src/Apideck.Test/Model/PersonTests.cs index e30af16a92..a523bf89d8 100644 --- a/src/gen/src/Apideck.Test/Model/PersonTests.cs +++ b/src/gen/src/Apideck.Test/Model/PersonTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PhoneNumberTests.cs b/src/gen/src/Apideck.Test/Model/PhoneNumberTests.cs index 1f0c45dfa0..62f8d66f6c 100644 --- a/src/gen/src/Apideck.Test/Model/PhoneNumberTests.cs +++ b/src/gen/src/Apideck.Test/Model/PhoneNumberTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PipelineStagesTests.cs b/src/gen/src/Apideck.Test/Model/PipelineStagesTests.cs index 4636b3255b..9a937fe7db 100644 --- a/src/gen/src/Apideck.Test/Model/PipelineStagesTests.cs +++ b/src/gen/src/Apideck.Test/Model/PipelineStagesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PipelineTests.cs b/src/gen/src/Apideck.Test/Model/PipelineTests.cs index 62b0719189..ba80b34866 100644 --- a/src/gen/src/Apideck.Test/Model/PipelineTests.cs +++ b/src/gen/src/Apideck.Test/Model/PipelineTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PosBankAccountAchDetailsTests.cs b/src/gen/src/Apideck.Test/Model/PosBankAccountAchDetailsTests.cs index 74358c4f4f..b20bcdea68 100644 --- a/src/gen/src/Apideck.Test/Model/PosBankAccountAchDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/PosBankAccountAchDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PosBankAccountTests.cs b/src/gen/src/Apideck.Test/Model/PosBankAccountTests.cs index f55ec722a6..2b47652806 100644 --- a/src/gen/src/Apideck.Test/Model/PosBankAccountTests.cs +++ b/src/gen/src/Apideck.Test/Model/PosBankAccountTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PosPaymentCardDetailsTests.cs b/src/gen/src/Apideck.Test/Model/PosPaymentCardDetailsTests.cs index ce6d521cfe..f79046c013 100644 --- a/src/gen/src/Apideck.Test/Model/PosPaymentCardDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/PosPaymentCardDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PosPaymentExternalDetailsTests.cs b/src/gen/src/Apideck.Test/Model/PosPaymentExternalDetailsTests.cs index a51ce5a6cc..7f6351e670 100644 --- a/src/gen/src/Apideck.Test/Model/PosPaymentExternalDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/PosPaymentExternalDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PosPaymentTests.cs b/src/gen/src/Apideck.Test/Model/PosPaymentTests.cs index 7138eee909..dc8c7c2779 100644 --- a/src/gen/src/Apideck.Test/Model/PosPaymentTests.cs +++ b/src/gen/src/Apideck.Test/Model/PosPaymentTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PriceTests.cs b/src/gen/src/Apideck.Test/Model/PriceTests.cs index 4d65cd8487..49ab4458c1 100644 --- a/src/gen/src/Apideck.Test/Model/PriceTests.cs +++ b/src/gen/src/Apideck.Test/Model/PriceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProbationPeriodTests.cs b/src/gen/src/Apideck.Test/Model/ProbationPeriodTests.cs index dba0e35a90..8dcfc0565c 100644 --- a/src/gen/src/Apideck.Test/Model/ProbationPeriodTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProbationPeriodTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossExpensesTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossExpensesTests.cs index 08bb44fd2b..985eeaa146 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossExpensesTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossExpensesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossFilterTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossFilterTests.cs index 28b6fed3e4..bb7ee6e974 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossGrossProfitTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossGrossProfitTests.cs index ac37b22f11..863b2d8874 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossGrossProfitTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossGrossProfitTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossIncomeTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossIncomeTests.cs index a9aee8e31c..e7ca0b4932 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossIncomeTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossIncomeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossNetIncomeTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossNetIncomeTests.cs index 285e5062a2..6e06a7f173 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossNetIncomeTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossNetIncomeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossNetOperatingIncomeTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossNetOperatingIncomeTests.cs index 925f8a8e5a..ad960597e7 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossNetOperatingIncomeTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossNetOperatingIncomeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossRecordTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossRecordTests.cs index 052b8c661f..2b7887f727 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossRecordTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossRecordTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossSectionTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossSectionTests.cs index b10ffac823..5a29709f91 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossSectionTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossSectionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ProfitAndLossTests.cs b/src/gen/src/Apideck.Test/Model/ProfitAndLossTests.cs index 08caedd7f0..ed90d3254c 100644 --- a/src/gen/src/Apideck.Test/Model/ProfitAndLossTests.cs +++ b/src/gen/src/Apideck.Test/Model/ProfitAndLossTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/PurchaseOrderTests.cs b/src/gen/src/Apideck.Test/Model/PurchaseOrderTests.cs index b372d06c2a..d9781e8155 100644 --- a/src/gen/src/Apideck.Test/Model/PurchaseOrderTests.cs +++ b/src/gen/src/Apideck.Test/Model/PurchaseOrderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -281,6 +281,14 @@ public void MemoTest() // TODO unit test for the property 'Memo' } /// + /// Test the property 'TrackingCategories' + /// + [Fact] + public void TrackingCategoriesTest() + { + // TODO unit test for the property 'TrackingCategories' + } + /// /// Test the property 'CustomMappings' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/PurchaseOrdersFilterTests.cs b/src/gen/src/Apideck.Test/Model/PurchaseOrdersFilterTests.cs index 60ae8ba2d6..c659d70d6b 100644 --- a/src/gen/src/Apideck.Test/Model/PurchaseOrdersFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/PurchaseOrdersFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -64,6 +64,14 @@ public void UpdatedSinceTest() { // TODO unit test for the property 'UpdatedSince' } + /// + /// Test the property 'SupplierId' + /// + [Fact] + public void SupplierIdTest() + { + // TODO unit test for the property 'SupplierId' + } } diff --git a/src/gen/src/Apideck.Test/Model/PurchaseOrdersSortTests.cs b/src/gen/src/Apideck.Test/Model/PurchaseOrdersSortTests.cs index f8b4d162c0..799c755a7e 100644 --- a/src/gen/src/Apideck.Test/Model/PurchaseOrdersSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/PurchaseOrdersSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/RequestCountAllocationTests.cs b/src/gen/src/Apideck.Test/Model/RequestCountAllocationTests.cs index cc6a21118f..a945aa5a73 100644 --- a/src/gen/src/Apideck.Test/Model/RequestCountAllocationTests.cs +++ b/src/gen/src/Apideck.Test/Model/RequestCountAllocationTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/RequestRateTests.cs b/src/gen/src/Apideck.Test/Model/RequestRateTests.cs index bc7dc86936..b25ced7c85 100644 --- a/src/gen/src/Apideck.Test/Model/RequestRateTests.cs +++ b/src/gen/src/Apideck.Test/Model/RequestRateTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ResolveWebhookResponseTests.cs b/src/gen/src/Apideck.Test/Model/ResolveWebhookResponseTests.cs index fee4225dfe..cad9e6a38e 100644 --- a/src/gen/src/Apideck.Test/Model/ResolveWebhookResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/ResolveWebhookResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ResourceExampleTests.cs b/src/gen/src/Apideck.Test/Model/ResourceExampleTests.cs index 339d5ad2a2..e10cbf6de7 100644 --- a/src/gen/src/Apideck.Test/Model/ResourceExampleTests.cs +++ b/src/gen/src/Apideck.Test/Model/ResourceExampleTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ResourceStatusTests.cs b/src/gen/src/Apideck.Test/Model/ResourceStatusTests.cs index 22e88887f6..b9a2b0f623 100644 --- a/src/gen/src/Apideck.Test/Model/ResourceStatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/ResourceStatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ScheduleTests.cs b/src/gen/src/Apideck.Test/Model/ScheduleTests.cs index 97a9191f5f..e15a98077e 100644 --- a/src/gen/src/Apideck.Test/Model/ScheduleTests.cs +++ b/src/gen/src/Apideck.Test/Model/ScheduleTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternOddWeeksTests.cs b/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternOddWeeksTests.cs index dd4560c1d9..9d94e3faf5 100644 --- a/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternOddWeeksTests.cs +++ b/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternOddWeeksTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternTests.cs b/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternTests.cs index 38e3a521f1..11a6be8310 100644 --- a/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternTests.cs +++ b/src/gen/src/Apideck.Test/Model/ScheduleWorkPatternTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SchemaSupportTests.cs b/src/gen/src/Apideck.Test/Model/SchemaSupportTests.cs index d405c4f7c4..f877a78099 100644 --- a/src/gen/src/Apideck.Test/Model/SchemaSupportTests.cs +++ b/src/gen/src/Apideck.Test/Model/SchemaSupportTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ServiceChargeTests.cs b/src/gen/src/Apideck.Test/Model/ServiceChargeTests.cs index 97ddc022af..1a195ff0c4 100644 --- a/src/gen/src/Apideck.Test/Model/ServiceChargeTests.cs +++ b/src/gen/src/Apideck.Test/Model/ServiceChargeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SessionSettingsTests.cs b/src/gen/src/Apideck.Test/Model/SessionSettingsTests.cs index 85f0e862cd..fdd1bf42fa 100644 --- a/src/gen/src/Apideck.Test/Model/SessionSettingsTests.cs +++ b/src/gen/src/Apideck.Test/Model/SessionSettingsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SessionTests.cs b/src/gen/src/Apideck.Test/Model/SessionTests.cs index 60f974dc3c..f0d8f231f1 100644 --- a/src/gen/src/Apideck.Test/Model/SessionTests.cs +++ b/src/gen/src/Apideck.Test/Model/SessionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SessionThemeTests.cs b/src/gen/src/Apideck.Test/Model/SessionThemeTests.cs index 73e73a2e9a..8a39518f72 100644 --- a/src/gen/src/Apideck.Test/Model/SessionThemeTests.cs +++ b/src/gen/src/Apideck.Test/Model/SessionThemeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SharedLinkTargetTests.cs b/src/gen/src/Apideck.Test/Model/SharedLinkTargetTests.cs index 6ddac5cbf0..6942aaf967 100644 --- a/src/gen/src/Apideck.Test/Model/SharedLinkTargetTests.cs +++ b/src/gen/src/Apideck.Test/Model/SharedLinkTargetTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SharedLinkTests.cs b/src/gen/src/Apideck.Test/Model/SharedLinkTests.cs index 3763eb8b70..892b5bb5ee 100644 --- a/src/gen/src/Apideck.Test/Model/SharedLinkTests.cs +++ b/src/gen/src/Apideck.Test/Model/SharedLinkTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SimpleFormFieldOptionTests.cs b/src/gen/src/Apideck.Test/Model/SimpleFormFieldOptionTests.cs index 407fd01e6b..be7edc7355 100644 --- a/src/gen/src/Apideck.Test/Model/SimpleFormFieldOptionTests.cs +++ b/src/gen/src/Apideck.Test/Model/SimpleFormFieldOptionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SocialLinkTests.cs b/src/gen/src/Apideck.Test/Model/SocialLinkTests.cs index 9c8448361c..ab49d722b7 100644 --- a/src/gen/src/Apideck.Test/Model/SocialLinkTests.cs +++ b/src/gen/src/Apideck.Test/Model/SocialLinkTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SortDirectionTests.cs b/src/gen/src/Apideck.Test/Model/SortDirectionTests.cs index f1fffc839d..f9785ae4ac 100644 --- a/src/gen/src/Apideck.Test/Model/SortDirectionTests.cs +++ b/src/gen/src/Apideck.Test/Model/SortDirectionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/StatusTests.cs b/src/gen/src/Apideck.Test/Model/StatusTests.cs index ada64f0dbd..dcc79eacb5 100644 --- a/src/gen/src/Apideck.Test/Model/StatusTests.cs +++ b/src/gen/src/Apideck.Test/Model/StatusTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SubsidiaryReferenceTests.cs b/src/gen/src/Apideck.Test/Model/SubsidiaryReferenceTests.cs index a24c3ed899..13af630add 100644 --- a/src/gen/src/Apideck.Test/Model/SubsidiaryReferenceTests.cs +++ b/src/gen/src/Apideck.Test/Model/SubsidiaryReferenceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SubsidiaryTests.cs b/src/gen/src/Apideck.Test/Model/SubsidiaryTests.cs index bd883085eb..b26f41eb4d 100644 --- a/src/gen/src/Apideck.Test/Model/SubsidiaryTests.cs +++ b/src/gen/src/Apideck.Test/Model/SubsidiaryTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SupplierTests.cs b/src/gen/src/Apideck.Test/Model/SupplierTests.cs index 0dcc2599ea..4baf875925 100644 --- a/src/gen/src/Apideck.Test/Model/SupplierTests.cs +++ b/src/gen/src/Apideck.Test/Model/SupplierTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SuppliersFilterTests.cs b/src/gen/src/Apideck.Test/Model/SuppliersFilterTests.cs index ba0ba07fc3..3c410d2275 100644 --- a/src/gen/src/Apideck.Test/Model/SuppliersFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/SuppliersFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SuppliersSortTests.cs b/src/gen/src/Apideck.Test/Model/SuppliersSortTests.cs index 854f203bc4..3964fdcdf1 100644 --- a/src/gen/src/Apideck.Test/Model/SuppliersSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/SuppliersSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/SupportedPropertyTests.cs b/src/gen/src/Apideck.Test/Model/SupportedPropertyTests.cs index 9ac9fdc70c..48f4199ed7 100644 --- a/src/gen/src/Apideck.Test/Model/SupportedPropertyTests.cs +++ b/src/gen/src/Apideck.Test/Model/SupportedPropertyTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TaxRateTests.cs b/src/gen/src/Apideck.Test/Model/TaxRateTests.cs index 5b2e337141..fa3ddcf520 100644 --- a/src/gen/src/Apideck.Test/Model/TaxRateTests.cs +++ b/src/gen/src/Apideck.Test/Model/TaxRateTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TaxRatesFilterTests.cs b/src/gen/src/Apideck.Test/Model/TaxRatesFilterTests.cs index ff6218d499..2577c12435 100644 --- a/src/gen/src/Apideck.Test/Model/TaxRatesFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/TaxRatesFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TaxTests.cs b/src/gen/src/Apideck.Test/Model/TaxTests.cs index 2724857857..3fb7e69a56 100644 --- a/src/gen/src/Apideck.Test/Model/TaxTests.cs +++ b/src/gen/src/Apideck.Test/Model/TaxTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TeamTests.cs b/src/gen/src/Apideck.Test/Model/TeamTests.cs index 79e6314157..bb199db906 100644 --- a/src/gen/src/Apideck.Test/Model/TeamTests.cs +++ b/src/gen/src/Apideck.Test/Model/TeamTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TenderTests.cs b/src/gen/src/Apideck.Test/Model/TenderTests.cs index f893daa026..602014b2a9 100644 --- a/src/gen/src/Apideck.Test/Model/TenderTests.cs +++ b/src/gen/src/Apideck.Test/Model/TenderTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TicketTests.cs b/src/gen/src/Apideck.Test/Model/TicketTests.cs index 59e8d339a9..360fd12ba9 100644 --- a/src/gen/src/Apideck.Test/Model/TicketTests.cs +++ b/src/gen/src/Apideck.Test/Model/TicketTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TicketsSortTests.cs b/src/gen/src/Apideck.Test/Model/TicketsSortTests.cs index aa0897f782..9a66a21f8d 100644 --- a/src/gen/src/Apideck.Test/Model/TicketsSortTests.cs +++ b/src/gen/src/Apideck.Test/Model/TicketsSortTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TimeOffRequestNotesTests.cs b/src/gen/src/Apideck.Test/Model/TimeOffRequestNotesTests.cs index 96ee74a939..849434fa60 100644 --- a/src/gen/src/Apideck.Test/Model/TimeOffRequestNotesTests.cs +++ b/src/gen/src/Apideck.Test/Model/TimeOffRequestNotesTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TimeOffRequestTests.cs b/src/gen/src/Apideck.Test/Model/TimeOffRequestTests.cs index 9fd555aa73..02c80eb059 100644 --- a/src/gen/src/Apideck.Test/Model/TimeOffRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/TimeOffRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -153,6 +153,14 @@ public void AmountTest() // TODO unit test for the property 'Amount' } /// + /// Test the property 'DayPart' + /// + [Fact] + public void DayPartTest() + { + // TODO unit test for the property 'DayPart' + } + /// /// Test the property 'Notes' /// [Fact] diff --git a/src/gen/src/Apideck.Test/Model/TimeOffRequestsFilterTests.cs b/src/gen/src/Apideck.Test/Model/TimeOffRequestsFilterTests.cs index bdc2c8ebd1..fdd3bc4db0 100644 --- a/src/gen/src/Apideck.Test/Model/TimeOffRequestsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/TimeOffRequestsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -96,6 +96,14 @@ public void TimeOffRequestStatusTest() { // TODO unit test for the property 'TimeOffRequestStatus' } + /// + /// Test the property 'CompanyId' + /// + [Fact] + public void CompanyIdTest() + { + // TODO unit test for the property 'CompanyId' + } } diff --git a/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseDetailTests.cs b/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseDetailTests.cs index 8ed02cde31..f554eb47c5 100644 --- a/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseDetailTests.cs +++ b/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseDetailTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseTests.cs b/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseTests.cs index 95161f4254..e5cdd72a2a 100644 --- a/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/TooManyRequestsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/TrackingCategoryTests.cs b/src/gen/src/Apideck.Test/Model/TrackingCategoryTests.cs new file mode 100644 index 0000000000..82a7fac0b6 --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/TrackingCategoryTests.cs @@ -0,0 +1,158 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing TrackingCategory + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class TrackingCategoryTests : IDisposable + { + // TODO uncomment below to declare an instance variable for TrackingCategory + //private TrackingCategory instance; + + public TrackingCategoryTests() + { + // TODO uncomment below to create an instance of TrackingCategory + //instance = new TrackingCategory(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of TrackingCategory + /// + [Fact] + public void TrackingCategoryInstanceTest() + { + // TODO uncomment below to test "IsType" TrackingCategory + //Assert.IsType(instance); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'ParentId' + /// + [Fact] + public void ParentIdTest() + { + // TODO unit test for the property 'ParentId' + } + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'Code' + /// + [Fact] + public void CodeTest() + { + // TODO unit test for the property 'Code' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'CustomMappings' + /// + [Fact] + public void CustomMappingsTest() + { + // TODO unit test for the property 'CustomMappings' + } + /// + /// Test the property 'RowVersion' + /// + [Fact] + public void RowVersionTest() + { + // TODO unit test for the property 'RowVersion' + } + /// + /// Test the property 'UpdatedBy' + /// + [Fact] + public void UpdatedByTest() + { + // TODO unit test for the property 'UpdatedBy' + } + /// + /// Test the property 'CreatedBy' + /// + [Fact] + public void CreatedByTest() + { + // TODO unit test for the property 'CreatedBy' + } + /// + /// Test the property 'UpdatedAt' + /// + [Fact] + public void UpdatedAtTest() + { + // TODO unit test for the property 'UpdatedAt' + } + /// + /// Test the property 'CreatedAt' + /// + [Fact] + public void CreatedAtTest() + { + // TODO unit test for the property 'CreatedAt' + } + /// + /// Test the property 'PassThrough' + /// + [Fact] + public void PassThroughTest() + { + // TODO unit test for the property 'PassThrough' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/TrackingItemTests.cs b/src/gen/src/Apideck.Test/Model/TrackingItemTests.cs index 3fcf309dc7..7f4868be25 100644 --- a/src/gen/src/Apideck.Test/Model/TrackingItemTests.cs +++ b/src/gen/src/Apideck.Test/Model/TrackingItemTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnauthorizedResponseTests.cs b/src/gen/src/Apideck.Test/Model/UnauthorizedResponseTests.cs index 8852f3e3c4..9ca907022f 100644 --- a/src/gen/src/Apideck.Test/Model/UnauthorizedResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnauthorizedResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnexpectedErrorResponseTests.cs b/src/gen/src/Apideck.Test/Model/UnexpectedErrorResponseTests.cs index b5f5bd4b3f..87d1618eb4 100644 --- a/src/gen/src/Apideck.Test/Model/UnexpectedErrorResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnexpectedErrorResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnifiedApiIdTests.cs b/src/gen/src/Apideck.Test/Model/UnifiedApiIdTests.cs index aec83c76ed..a4813a4e51 100644 --- a/src/gen/src/Apideck.Test/Model/UnifiedApiIdTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnifiedApiIdTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnifiedFilePermissionsTests.cs b/src/gen/src/Apideck.Test/Model/UnifiedFilePermissionsTests.cs index 9f00799b2a..9905d9010a 100644 --- a/src/gen/src/Apideck.Test/Model/UnifiedFilePermissionsTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnifiedFilePermissionsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnifiedFileTests.cs b/src/gen/src/Apideck.Test/Model/UnifiedFileTests.cs index 4bf49f07a3..a6ca15e7e4 100644 --- a/src/gen/src/Apideck.Test/Model/UnifiedFileTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnifiedFileTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnifiedIdTests.cs b/src/gen/src/Apideck.Test/Model/UnifiedIdTests.cs index 7cf7299b34..707b9e5d97 100644 --- a/src/gen/src/Apideck.Test/Model/UnifiedIdTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnifiedIdTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UnprocessableResponseTests.cs b/src/gen/src/Apideck.Test/Model/UnprocessableResponseTests.cs index 58009ff7f8..91c527277f 100644 --- a/src/gen/src/Apideck.Test/Model/UnprocessableResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UnprocessableResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateAccountingDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateAccountingDepartmentResponseTests.cs index 9ce4a4adae..cd6f12744c 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateAccountingDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateAccountingDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateAccountingLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateAccountingLocationResponseTests.cs index 0688f3dc98..ff4385007f 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateAccountingLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateAccountingLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateActivityResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateActivityResponseTests.cs index a01e1676b6..60c2b0d041 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateActivityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateActivityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateApplicantResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateApplicantResponseTests.cs index 323b6fe4c6..596f01d1ab 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateApplicantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateApplicantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateApplicationResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateApplicationResponseTests.cs index f03dc41878..a87b0e5072 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateApplicationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateApplicationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateBillPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateBillPaymentResponseTests.cs new file mode 100644 index 0000000000..d325570def --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/UpdateBillPaymentResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing UpdateBillPaymentResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class UpdateBillPaymentResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for UpdateBillPaymentResponse + //private UpdateBillPaymentResponse instance; + + public UpdateBillPaymentResponseTests() + { + // TODO uncomment below to create an instance of UpdateBillPaymentResponse + //instance = new UpdateBillPaymentResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of UpdateBillPaymentResponse + /// + [Fact] + public void UpdateBillPaymentResponseInstanceTest() + { + // TODO uncomment below to test "IsType" UpdateBillPaymentResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/UpdateBillResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateBillResponseTests.cs index c9b0f26039..ee20a5e078 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateBillResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateBillResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateCommentResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateCommentResponseTests.cs index afe14e8627..355022864d 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateCommentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateCommentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateCompanyResponseTests.cs index a8d5a19361..6d984b6474 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateConnectionResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateConnectionResponseTests.cs index d9d1e37c59..14b5401992 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateConnectionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateConnectionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateConsumerRequestTests.cs b/src/gen/src/Apideck.Test/Model/UpdateConsumerRequestTests.cs index 71b5fe561d..74cdd75f70 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateConsumerRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateConsumerRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateConsumerResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateConsumerResponseTests.cs index 93337befee..c5bca9304b 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateConsumerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateConsumerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateContactResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateContactResponseTests.cs index c9c5e23d3f..0c979db71b 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateContactResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateContactResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateCreditNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateCreditNoteResponseTests.cs index 02e286d48d..8ebb0cfd34 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateCreditNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateCreditNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateCustomMappingRequestTests.cs b/src/gen/src/Apideck.Test/Model/UpdateCustomMappingRequestTests.cs index 5cbf0e0ab6..a0ef2520fc 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateCustomMappingRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateCustomMappingRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateCustomMappingResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateCustomMappingResponseTests.cs index 0ce31771ff..3781e85136 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateCustomMappingResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateCustomMappingResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateCustomerResponseTests.cs index ac2c59b929..abf87529bf 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateDepartmentResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateDepartmentResponseTests.cs index 47eb90d94e..7ce94896d2 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateDepartmentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateDepartmentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateDriveGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateDriveGroupResponseTests.cs index 66e9e12dee..392d72a8db 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateDriveGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateDriveGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateDriveResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateDriveResponseTests.cs index d8d4c267ed..373a981fcd 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateDriveResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateDriveResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateEcommerceCustomerResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateEcommerceCustomerResponseTests.cs index 2cfc9a6537..fe6d4976ed 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateEcommerceCustomerResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateEcommerceCustomerResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateEcommerceOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateEcommerceOrderResponseTests.cs index 44380c771e..5fc70ca8ce 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateEcommerceOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateEcommerceOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateEmployeeResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateEmployeeResponseTests.cs index 83bd32f674..8fcede4ab5 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateEmployeeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateEmployeeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateExpenseResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateExpenseResponseTests.cs new file mode 100644 index 0000000000..51c4f74d5b --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/UpdateExpenseResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing UpdateExpenseResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class UpdateExpenseResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for UpdateExpenseResponse + //private UpdateExpenseResponse instance; + + public UpdateExpenseResponseTests() + { + // TODO uncomment below to create an instance of UpdateExpenseResponse + //instance = new UpdateExpenseResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of UpdateExpenseResponse + /// + [Fact] + public void UpdateExpenseResponseInstanceTest() + { + // TODO uncomment below to test "IsType" UpdateExpenseResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/UpdateFileRequestTests.cs b/src/gen/src/Apideck.Test/Model/UpdateFileRequestTests.cs index ef2ac728fb..39d02299a0 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateFileRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateFileRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateFileResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateFileResponseTests.cs index f533986451..32d153f6a9 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateFileResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateFileResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateFolderRequestTests.cs b/src/gen/src/Apideck.Test/Model/UpdateFolderRequestTests.cs index 25150dfc57..f54afa7f72 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateFolderRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateFolderRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateFolderResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateFolderResponseTests.cs index 90751de349..dc68e42450 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateFolderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateFolderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateHrisCompanyResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateHrisCompanyResponseTests.cs index 8490c8f3a2..f89bcbfad1 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateHrisCompanyResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateHrisCompanyResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateInvoiceItemsResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateInvoiceItemsResponseTests.cs index aa74e06aa7..264cb46823 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateInvoiceItemsResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateInvoiceItemsResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateInvoiceResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateInvoiceResponseTests.cs index 4d3af667c4..1121ef7e68 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateInvoiceResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateInvoiceResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateItemResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateItemResponseTests.cs index 00b2c3c654..fc5e36296b 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateItemResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateItemResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateJobResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateJobResponseTests.cs index 157a65b60d..3729ca9ee5 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateJobResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateJobResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateJournalEntryResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateJournalEntryResponseTests.cs index b5f467bbfe..4f2b1f9799 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateJournalEntryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateJournalEntryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateLeadResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateLeadResponseTests.cs index 194f71a339..1f107b79a2 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateLeadResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateLeadResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateLedgerAccountResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateLedgerAccountResponseTests.cs index b120f38433..3b66049d49 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateLedgerAccountResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateLedgerAccountResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateLocationResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateLocationResponseTests.cs index 6366309868..6aa6a239de 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateLocationResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateLocationResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateMerchantResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateMerchantResponseTests.cs index 738e7fb833..c908569efd 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateMerchantResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateMerchantResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateMessageResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateMessageResponseTests.cs index cf71ce09eb..2509181945 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateMessageResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateMessageResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateModifierGroupResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateModifierGroupResponseTests.cs index 67c92467db..cb44dd3cf6 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateModifierGroupResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateModifierGroupResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateModifierResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateModifierResponseTests.cs index 79c6d8a585..4a8ffabe92 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateModifierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateModifierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateNoteResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateNoteResponseTests.cs index 81bc4228a2..5a7a190c04 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateNoteResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateNoteResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateOpportunityResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateOpportunityResponseTests.cs index c239e499d3..8a8fa29233 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateOpportunityResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateOpportunityResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateOrderResponseTests.cs index 84576c3c2c..1a2ca184bf 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateOrderTypeResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateOrderTypeResponseTests.cs index 63626bc589..0a164a87f7 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateOrderTypeResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateOrderTypeResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdatePaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdatePaymentResponseTests.cs index 3195827939..9c56be2f3a 100644 --- a/src/gen/src/Apideck.Test/Model/UpdatePaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdatePaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdatePipelineResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdatePipelineResponseTests.cs index e25836cf31..dd9912fe1e 100644 --- a/src/gen/src/Apideck.Test/Model/UpdatePipelineResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdatePipelineResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdatePosPaymentResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdatePosPaymentResponseTests.cs index b57c3a69d8..b26fe221c6 100644 --- a/src/gen/src/Apideck.Test/Model/UpdatePosPaymentResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdatePosPaymentResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateProductResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateProductResponseTests.cs index 7dd099b298..ab18c018f5 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateProductResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateProductResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdatePurchaseOrderResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdatePurchaseOrderResponseTests.cs index d5f489398a..0706f692f3 100644 --- a/src/gen/src/Apideck.Test/Model/UpdatePurchaseOrderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdatePurchaseOrderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateSharedLinkResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateSharedLinkResponseTests.cs index a0dcb3122e..765435c4e4 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateSharedLinkResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateSharedLinkResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateSubsidiaryResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateSubsidiaryResponseTests.cs index fc136587c7..1bf4a4e2c7 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateSubsidiaryResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateSubsidiaryResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateSupplierResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateSupplierResponseTests.cs index 056343bd28..18a693cf51 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateSupplierResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateSupplierResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateTaxRateResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateTaxRateResponseTests.cs index 20496fb410..49ee4992cf 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateTaxRateResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateTaxRateResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateTenderResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateTenderResponseTests.cs index 283a176b32..3c5e7bb0ef 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateTenderResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateTenderResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateTicketResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateTicketResponseTests.cs index d9c5cf3e13..0c2dde3279 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateTicketResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateTicketResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateTimeOffRequestResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateTimeOffRequestResponseTests.cs index 0534bd02be..583b44a62f 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateTimeOffRequestResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateTimeOffRequestResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateTrackingCategoryResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateTrackingCategoryResponseTests.cs new file mode 100644 index 0000000000..a15c16363c --- /dev/null +++ b/src/gen/src/Apideck.Test/Model/UpdateTrackingCategoryResponseTests.cs @@ -0,0 +1,110 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Apideck.Api; +using Apideck.Model; +using Apideck.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Apideck.Test.Model +{ + /// + /// Class for testing UpdateTrackingCategoryResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class UpdateTrackingCategoryResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for UpdateTrackingCategoryResponse + //private UpdateTrackingCategoryResponse instance; + + public UpdateTrackingCategoryResponseTests() + { + // TODO uncomment below to create an instance of UpdateTrackingCategoryResponse + //instance = new UpdateTrackingCategoryResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of UpdateTrackingCategoryResponse + /// + [Fact] + public void UpdateTrackingCategoryResponseInstanceTest() + { + // TODO uncomment below to test "IsType" UpdateTrackingCategoryResponse + //Assert.IsType(instance); + } + + + /// + /// Test the property 'StatusCode' + /// + [Fact] + public void StatusCodeTest() + { + // TODO unit test for the property 'StatusCode' + } + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Service' + /// + [Fact] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'Resource' + /// + [Fact] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'Operation' + /// + [Fact] + public void OperationTest() + { + // TODO unit test for the property 'Operation' + } + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + + } + +} diff --git a/src/gen/src/Apideck.Test/Model/UpdateUploadSessionResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateUploadSessionResponseTests.cs index 831fbd99de..ac2cd72b2f 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateUploadSessionResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateUploadSessionResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateUserResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateUserResponseTests.cs index fcf6f2cd2f..818cfda039 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateUserResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateUserResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateWebhookRequestTests.cs b/src/gen/src/Apideck.Test/Model/UpdateWebhookRequestTests.cs index cdba47d88c..dffae956d9 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateWebhookRequestTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateWebhookRequestTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UpdateWebhookResponseTests.cs b/src/gen/src/Apideck.Test/Model/UpdateWebhookResponseTests.cs index 34d688b75d..806ce79dd0 100644 --- a/src/gen/src/Apideck.Test/Model/UpdateWebhookResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/UpdateWebhookResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UploadSessionTests.cs b/src/gen/src/Apideck.Test/Model/UploadSessionTests.cs index dbec58e337..18f2c4119b 100644 --- a/src/gen/src/Apideck.Test/Model/UploadSessionTests.cs +++ b/src/gen/src/Apideck.Test/Model/UploadSessionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/UserTests.cs b/src/gen/src/Apideck.Test/Model/UserTests.cs index 3927621ae4..7ed02bad6d 100644 --- a/src/gen/src/Apideck.Test/Model/UserTests.cs +++ b/src/gen/src/Apideck.Test/Model/UserTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseDataTests.cs b/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseDataTests.cs index 0d25c1e2a7..34571f2b43 100644 --- a/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseDataTests.cs +++ b/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseDataTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseTests.cs b/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseTests.cs index 77d8649671..7a63e66c6d 100644 --- a/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseTests.cs +++ b/src/gen/src/Apideck.Test/Model/ValidateConnectionStateResponseTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/VaultEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/VaultEventTypeTests.cs index f87bc40fc9..a3dfd6396d 100644 --- a/src/gen/src/Apideck.Test/Model/VaultEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/VaultEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/VirtualWebhooksTests.cs b/src/gen/src/Apideck.Test/Model/VirtualWebhooksTests.cs index 1e774e350f..61b05445eb 100644 --- a/src/gen/src/Apideck.Test/Model/VirtualWebhooksTests.cs +++ b/src/gen/src/Apideck.Test/Model/VirtualWebhooksTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WalletDetailsTests.cs b/src/gen/src/Apideck.Test/Model/WalletDetailsTests.cs index fb8c43889f..b29cd6d619 100644 --- a/src/gen/src/Apideck.Test/Model/WalletDetailsTests.cs +++ b/src/gen/src/Apideck.Test/Model/WalletDetailsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventLogAttemptsTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventLogAttemptsTests.cs index ae86b7769b..7041ac2cc4 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventLogAttemptsTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventLogAttemptsTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventLogServiceTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventLogServiceTests.cs index 91033f845d..6ab39b23b6 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventLogServiceTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventLogServiceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventLogTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventLogTests.cs index b4f3dc328d..364bbd7865 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventLogTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventLogTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterServiceTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterServiceTests.cs index 6b0c765f4d..a13609e10c 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterServiceTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterServiceTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterTests.cs index 7e6dcdc0bb..4fbace8eee 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventLogsFilterTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventTests.cs index f18f01862b..97edb7ac57 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookEventTypeTests.cs b/src/gen/src/Apideck.Test/Model/WebhookEventTypeTests.cs index 421ba55244..24013ae75c 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookEventTypeTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookEventTypeTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookSubscriptionTests.cs b/src/gen/src/Apideck.Test/Model/WebhookSubscriptionTests.cs index b7c36d0855..05eabe92dd 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookSubscriptionTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookSubscriptionTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookSupportTests.cs b/src/gen/src/Apideck.Test/Model/WebhookSupportTests.cs index 34f8a1acda..dd0fdf56c6 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookSupportTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookSupportTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebhookTests.cs b/src/gen/src/Apideck.Test/Model/WebhookTests.cs index a855545e20..848428d39a 100644 --- a/src/gen/src/Apideck.Test/Model/WebhookTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebhookTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck.Test/Model/WebsiteTests.cs b/src/gen/src/Apideck.Test/Model/WebsiteTests.cs index 25b60662a9..fcc9ac57bb 100644 --- a/src/gen/src/Apideck.Test/Model/WebsiteTests.cs +++ b/src/gen/src/Apideck.Test/Model/WebsiteTests.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/AccountingApi.cs b/src/gen/src/Apideck/Api/AccountingApi.cs index e4d626938f..3b03560ddc 100644 --- a/src/gen/src/Apideck/Api/AccountingApi.cs +++ b/src/gen/src/Apideck/Api/AccountingApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -196,6 +196,165 @@ public interface IAccountingApiSync : IApiAccessor /// ApiResponse of GetBalanceSheetResponse ApiResponse BalanceSheetOneWithHttpInfo(string consumerId = default(string), string appId = default(string), string serviceId = default(string), PassThroughQuery passThrough = default(PassThroughQuery), BalanceSheetFilter filter = default(BalanceSheetFilter), bool? raw = default(bool?)); /// + /// Create Bill Payment + /// + /// + /// Create Bill Payment + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// CreateBillPaymentResponse + CreateBillPaymentResponse BillPaymentsAdd(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)); + + /// + /// Create Bill Payment + /// + /// + /// Create Bill Payment + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// ApiResponse of CreateBillPaymentResponse + ApiResponse BillPaymentsAddWithHttpInfo(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)); + /// + /// List Bill Payments + /// + /// + /// List Bill Payments + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetBillPaymentsResponse + GetBillPaymentsResponse BillPaymentsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)); + + /// + /// List Bill Payments + /// + /// + /// List Bill Payments + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetBillPaymentsResponse + ApiResponse BillPaymentsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)); + /// + /// Delete Bill Payment + /// + /// + /// Delete Bill Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeleteBillPaymentResponse + DeleteBillPaymentResponse BillPaymentsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Delete Bill Payment + /// + /// + /// Delete Bill Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeleteBillPaymentResponse + ApiResponse BillPaymentsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + /// + /// Get Bill Payment + /// + /// + /// Get Bill Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// GetBillPaymentResponse + GetBillPaymentResponse BillPaymentsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)); + + /// + /// Get Bill Payment + /// + /// + /// Get Bill Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// ApiResponse of GetBillPaymentResponse + ApiResponse BillPaymentsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)); + /// + /// Update Bill Payment + /// + /// + /// Update Bill Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdateBillPaymentResponse + UpdateBillPaymentResponse BillPaymentsUpdate(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Update Bill Payment + /// + /// + /// Update Bill Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdateBillPaymentResponse + ApiResponse BillPaymentsUpdateWithHttpInfo(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + /// /// Create Bill /// /// @@ -857,6 +1016,155 @@ public interface IAccountingApiSync : IApiAccessor /// ApiResponse of UpdateAccountingDepartmentResponse ApiResponse DepartmentsUpdateWithHttpInfo(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); /// + /// Create Expense + /// + /// + /// Create Expense + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// CreateExpenseResponse + CreateExpenseResponse ExpensesAdd(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)); + + /// + /// Create Expense + /// + /// + /// Create Expense + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// ApiResponse of CreateExpenseResponse + ApiResponse ExpensesAddWithHttpInfo(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)); + /// + /// List Expenses + /// + /// + /// List Expenses + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// GetExpensesResponse + GetExpensesResponse ExpensesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?)); + + /// + /// List Expenses + /// + /// + /// List Expenses + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// ApiResponse of GetExpensesResponse + ApiResponse ExpensesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?)); + /// + /// Delete Expense + /// + /// + /// Delete Expense + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeleteExpenseResponse + DeleteExpenseResponse ExpensesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Delete Expense + /// + /// + /// Delete Expense + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeleteExpenseResponse + ApiResponse ExpensesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + /// + /// Get Expense + /// + /// + /// Get Expense + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// GetExpenseResponse + GetExpenseResponse ExpensesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Get Expense + /// + /// + /// Get Expense + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of GetExpenseResponse + ApiResponse ExpensesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + /// + /// Update Expense + /// + /// + /// Update Expense + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdateExpenseResponse + UpdateExpenseResponse ExpensesUpdate(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Update Expense + /// + /// + /// Update Expense + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdateExpenseResponse + ApiResponse ExpensesUpdateWithHttpInfo(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + /// /// Create Invoice Item /// /// @@ -2461,68 +2769,223 @@ public interface IAccountingApiSync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ApiResponse of UpdateTaxRateResponse ApiResponse TaxRatesUpdateWithHttpInfo(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); - #endregion Synchronous Operations - } - - /// - /// Represents a collection of functions to interact with the API endpoints - /// - public interface IAccountingApiAsync : IApiAccessor - { - #region Asynchronous Operations /// - /// List Attachments + /// Create Tracking Category /// /// - /// List Attachments + /// Create Tracking Category /// /// Thrown when fails to make API call - /// The reference type of the document. - /// The reference id of the object to retrieve. + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) - /// Cancellation Token to cancel the request. - /// Task of GetAttachmentsResponse - System.Threading.Tasks.Task AttachmentsAllAsync(AttachmentReferenceType referenceType, string referenceId, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// CreateTrackingCategoryResponse + CreateTrackingCategoryResponse TrackingCategoriesAdd(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)); /// - /// List Attachments + /// Create Tracking Category /// /// - /// List Attachments + /// Create Tracking Category /// /// Thrown when fails to make API call - /// The reference type of the document. - /// The reference id of the object to retrieve. + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) - /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetAttachmentsResponse) - System.Threading.Tasks.Task> AttachmentsAllWithHttpInfoAsync(AttachmentReferenceType referenceType, string referenceId, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// ApiResponse of CreateTrackingCategoryResponse + ApiResponse TrackingCategoriesAddWithHttpInfo(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)); /// - /// Delete Attachment + /// List Tracking Categories /// /// - /// Delete Attachment + /// List Tracking Categories /// /// Thrown when fails to make API call - /// The reference type of the document. - /// The reference id of the object to retrieve. - /// ID of the record you are acting upon. + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetTrackingCategoriesResponse + GetTrackingCategoriesResponse TrackingCategoriesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)); + + /// + /// List Tracking Categories + /// + /// + /// List Tracking Categories + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetTrackingCategoriesResponse + ApiResponse TrackingCategoriesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)); + /// + /// Delete Tracking Category + /// + /// + /// Delete Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeleteTrackingCategoryResponse + DeleteTrackingCategoryResponse TrackingCategoriesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Delete Tracking Category + /// + /// + /// Delete Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeleteTrackingCategoryResponse + ApiResponse TrackingCategoriesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + /// + /// Get Tracking Category + /// + /// + /// Get Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// GetTrackingCategoryResponse + GetTrackingCategoryResponse TrackingCategoriesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)); + + /// + /// Get Tracking Category + /// + /// + /// Get Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// ApiResponse of GetTrackingCategoryResponse + ApiResponse TrackingCategoriesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)); + /// + /// Update Tracking Category + /// + /// + /// Update Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdateTrackingCategoryResponse + UpdateTrackingCategoryResponse TrackingCategoriesUpdate(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + + /// + /// Update Tracking Category + /// + /// + /// Update Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdateTrackingCategoryResponse + ApiResponse TrackingCategoriesUpdateWithHttpInfo(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)); + #endregion Synchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IAccountingApiAsync : IApiAccessor + { + #region Asynchronous Operations + /// + /// List Attachments + /// + /// + /// List Attachments + /// + /// Thrown when fails to make API call + /// The reference type of the document. + /// The reference id of the object to retrieve. + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetAttachmentsResponse + System.Threading.Tasks.Task AttachmentsAllAsync(AttachmentReferenceType referenceType, string referenceId, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// List Attachments + /// + /// + /// List Attachments + /// + /// Thrown when fails to make API call + /// The reference type of the document. + /// The reference id of the object to retrieve. + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetAttachmentsResponse) + System.Threading.Tasks.Task> AttachmentsAllWithHttpInfoAsync(AttachmentReferenceType referenceType, string referenceId, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Delete Attachment + /// + /// + /// Delete Attachment + /// + /// Thrown when fails to make API call + /// The reference type of the document. + /// The reference id of the object to retrieve. + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. /// Task of DeleteAttachmentResponse System.Threading.Tasks.Task AttachmentsDeleteAsync(AttachmentReferenceType referenceType, string referenceId, string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2650,41 +3113,41 @@ public interface IAccountingApiAsync : IApiAccessor /// Task of ApiResponse (GetBalanceSheetResponse) System.Threading.Tasks.Task> BalanceSheetOneWithHttpInfoAsync(string consumerId = default(string), string appId = default(string), string serviceId = default(string), PassThroughQuery passThrough = default(PassThroughQuery), BalanceSheetFilter filter = default(BalanceSheetFilter), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Bill + /// Create Bill Payment /// /// - /// Create Bill + /// Create Bill Payment /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateBillResponse - System.Threading.Tasks.Task BillsAddAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of CreateBillPaymentResponse + System.Threading.Tasks.Task BillPaymentsAddAsync(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Bill + /// Create Bill Payment /// /// - /// Create Bill + /// Create Bill Payment /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateBillResponse) - System.Threading.Tasks.Task> BillsAddWithHttpInfoAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (CreateBillPaymentResponse) + System.Threading.Tasks.Task> BillPaymentsAddWithHttpInfoAsync(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List Bills + /// List Bill Payments /// /// - /// List Bills + /// List Bill Payments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -2698,14 +3161,14 @@ public interface IAccountingApiAsync : IApiAccessor /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetBillsResponse - System.Threading.Tasks.Task BillsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of GetBillPaymentsResponse + System.Threading.Tasks.Task BillPaymentsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List Bills + /// List Bill Payments /// /// - /// List Bills + /// List Bill Payments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -2719,13 +3182,13 @@ public interface IAccountingApiAsync : IApiAccessor /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetBillsResponse) - System.Threading.Tasks.Task> BillsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (GetBillPaymentsResponse) + System.Threading.Tasks.Task> BillPaymentsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Delete Bill + /// Delete Bill Payment /// /// - /// Delete Bill + /// Delete Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -2734,14 +3197,14 @@ public interface IAccountingApiAsync : IApiAccessor /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteBillResponse - System.Threading.Tasks.Task BillsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of DeleteBillPaymentResponse + System.Threading.Tasks.Task BillPaymentsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Delete Bill + /// Delete Bill Payment /// /// - /// Delete Bill + /// Delete Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -2750,13 +3213,13 @@ public interface IAccountingApiAsync : IApiAccessor /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteBillResponse) - System.Threading.Tasks.Task> BillsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (DeleteBillPaymentResponse) + System.Threading.Tasks.Task> BillPaymentsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Get Bill + /// Get Bill Payment /// /// - /// Get Bill + /// Get Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -2766,14 +3229,14 @@ public interface IAccountingApiAsync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetBillResponse - System.Threading.Tasks.Task BillsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of GetBillPaymentResponse + System.Threading.Tasks.Task BillPaymentsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Get Bill + /// Get Bill Payment /// /// - /// Get Bill + /// Get Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -2783,108 +3246,98 @@ public interface IAccountingApiAsync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetBillResponse) - System.Threading.Tasks.Task> BillsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (GetBillPaymentResponse) + System.Threading.Tasks.Task> BillPaymentsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Update Bill + /// Update Bill Payment /// /// - /// Update Bill + /// Update Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateBillResponse - System.Threading.Tasks.Task BillsUpdateAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of UpdateBillPaymentResponse + System.Threading.Tasks.Task BillPaymentsUpdateAsync(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Update Bill + /// Update Bill Payment /// /// - /// Update Bill + /// Update Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateBillResponse) - System.Threading.Tasks.Task> BillsUpdateWithHttpInfoAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (UpdateBillPaymentResponse) + System.Threading.Tasks.Task> BillPaymentsUpdateWithHttpInfoAsync(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Get company info + /// Create Bill /// /// - /// Get company info + /// Create Bill /// /// Thrown when fails to make API call + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetCompanyInfoResponse - System.Threading.Tasks.Task CompanyInfoOneAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of CreateBillResponse + System.Threading.Tasks.Task BillsAddAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Get company info + /// Create Bill /// /// - /// Get company info + /// Create Bill /// /// Thrown when fails to make API call + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetCompanyInfoResponse) - System.Threading.Tasks.Task> CompanyInfoOneWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (CreateBillResponse) + System.Threading.Tasks.Task> BillsAddWithHttpInfoAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Credit Note + /// List Bills /// /// - /// Create Credit Note + /// List Bills /// /// Thrown when fails to make API call - /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateCreditNoteResponse - System.Threading.Tasks.Task CreditNotesAddAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of GetBillsResponse + System.Threading.Tasks.Task BillsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Credit Note - /// - /// - /// Create Credit Note - /// - /// Thrown when fails to make API call - /// - /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ID of the consumer which you want to get or push data from (optional) - /// The ID of your Unify application (optional) - /// 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) - /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateCreditNoteResponse) - System.Threading.Tasks.Task> CreditNotesAddWithHttpInfoAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// - /// List Credit Notes + /// List Bills /// /// - /// List Credit Notes + /// List Bills /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -2898,22 +3351,201 @@ public interface IAccountingApiAsync : IApiAccessor /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetCreditNotesResponse - System.Threading.Tasks.Task CreditNotesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - + /// Task of ApiResponse (GetBillsResponse) + System.Threading.Tasks.Task> BillsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List Credit Notes + /// Delete Bill /// /// - /// List Credit Notes + /// Delete Bill /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of DeleteBillResponse + System.Threading.Tasks.Task BillsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Delete Bill + /// + /// + /// Delete Bill + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (DeleteBillResponse) + System.Threading.Tasks.Task> BillsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Get Bill + /// + /// + /// Get Bill + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetBillResponse + System.Threading.Tasks.Task BillsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Get Bill + /// + /// + /// Get Bill + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetBillResponse) + System.Threading.Tasks.Task> BillsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Update Bill + /// + /// + /// Update Bill + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of UpdateBillResponse + System.Threading.Tasks.Task BillsUpdateAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Update Bill + /// + /// + /// Update Bill + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (UpdateBillResponse) + System.Threading.Tasks.Task> BillsUpdateWithHttpInfoAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Get company info + /// + /// + /// Get company info + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetCompanyInfoResponse + System.Threading.Tasks.Task CompanyInfoOneAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Get company info + /// + /// + /// Get company info + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetCompanyInfoResponse) + System.Threading.Tasks.Task> CompanyInfoOneWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Create Credit Note + /// + /// + /// Create Credit Note + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of CreateCreditNoteResponse + System.Threading.Tasks.Task CreditNotesAddAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Create Credit Note + /// + /// + /// Create Credit Note + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (CreateCreditNoteResponse) + System.Threading.Tasks.Task> CreditNotesAddWithHttpInfoAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// List Credit Notes + /// + /// + /// List Credit Notes + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetCreditNotesResponse + System.Threading.Tasks.Task CreditNotesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// List Credit Notes + /// + /// + /// List Credit Notes + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) @@ -3353,41 +3985,41 @@ public interface IAccountingApiAsync : IApiAccessor /// Task of ApiResponse (UpdateAccountingDepartmentResponse) System.Threading.Tasks.Task> DepartmentsUpdateWithHttpInfoAsync(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Invoice Item + /// Create Expense /// /// - /// Create Invoice Item + /// Create Expense /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateInvoiceItemResponse - System.Threading.Tasks.Task InvoiceItemsAddAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of CreateExpenseResponse + System.Threading.Tasks.Task ExpensesAddAsync(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Invoice Item + /// Create Expense /// /// - /// Create Invoice Item + /// Create Expense /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateInvoiceItemResponse) - System.Threading.Tasks.Task> InvoiceItemsAddWithHttpInfoAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (CreateExpenseResponse) + System.Threading.Tasks.Task> ExpensesAddWithHttpInfoAsync(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List Invoice Items + /// List Expenses /// /// - /// List Invoice Items + /// List Expenses /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -3396,18 +4028,15 @@ public interface IAccountingApiAsync : IApiAccessor /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetInvoiceItemsResponse - System.Threading.Tasks.Task InvoiceItemsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of GetExpensesResponse + System.Threading.Tasks.Task ExpensesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List Invoice Items + /// List Expenses /// /// - /// List Invoice Items + /// List Expenses /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -3416,17 +4045,14 @@ public interface IAccountingApiAsync : IApiAccessor /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetInvoiceItemsResponse) - System.Threading.Tasks.Task> InvoiceItemsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (GetExpensesResponse) + System.Threading.Tasks.Task> ExpensesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Delete Invoice Item + /// Delete Expense /// /// - /// Delete Invoice Item + /// Delete Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -3435,14 +4061,14 @@ public interface IAccountingApiAsync : IApiAccessor /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteTaxRateResponse - System.Threading.Tasks.Task InvoiceItemsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of DeleteExpenseResponse + System.Threading.Tasks.Task ExpensesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Delete Invoice Item + /// Delete Expense /// /// - /// Delete Invoice Item + /// Delete Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -3451,13 +4077,13 @@ public interface IAccountingApiAsync : IApiAccessor /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteTaxRateResponse) - System.Threading.Tasks.Task> InvoiceItemsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (DeleteExpenseResponse) + System.Threading.Tasks.Task> ExpensesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Get Invoice Item + /// Get Expense /// /// - /// Get Invoice Item + /// Get Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -3465,16 +4091,15 @@ public interface IAccountingApiAsync : IApiAccessor /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetInvoiceItemResponse - System.Threading.Tasks.Task InvoiceItemsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of GetExpenseResponse + System.Threading.Tasks.Task ExpensesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Get Invoice Item + /// Get Expense /// /// - /// Get Invoice Item + /// Get Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -3482,76 +4107,242 @@ public interface IAccountingApiAsync : IApiAccessor /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetInvoiceItemResponse) - System.Threading.Tasks.Task> InvoiceItemsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (GetExpenseResponse) + System.Threading.Tasks.Task> ExpensesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Update Invoice Item + /// Update Expense /// /// - /// Update Invoice Item + /// Update Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateInvoiceItemsResponse - System.Threading.Tasks.Task InvoiceItemsUpdateAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of UpdateExpenseResponse + System.Threading.Tasks.Task ExpensesUpdateAsync(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Update Invoice Item + /// Update Expense /// /// - /// Update Invoice Item + /// Update Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateInvoiceItemsResponse) - System.Threading.Tasks.Task> InvoiceItemsUpdateWithHttpInfoAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (UpdateExpenseResponse) + System.Threading.Tasks.Task> ExpensesUpdateWithHttpInfoAsync(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Invoice + /// Create Invoice Item /// /// - /// Create Invoice + /// Create Invoice Item /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateInvoiceResponse - System.Threading.Tasks.Task InvoicesAddAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of CreateInvoiceItemResponse + System.Threading.Tasks.Task InvoiceItemsAddAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Create Invoice + /// Create Invoice Item /// /// - /// Create Invoice + /// Create Invoice Item /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateInvoiceResponse) - System.Threading.Tasks.Task> InvoicesAddWithHttpInfoAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// Task of ApiResponse (CreateInvoiceItemResponse) + System.Threading.Tasks.Task> InvoiceItemsAddWithHttpInfoAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// List Invoices + /// List Invoice Items + /// + /// + /// List Invoice Items + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetInvoiceItemsResponse + System.Threading.Tasks.Task InvoiceItemsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// List Invoice Items + /// + /// + /// List Invoice Items + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetInvoiceItemsResponse) + System.Threading.Tasks.Task> InvoiceItemsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Delete Invoice Item + /// + /// + /// Delete Invoice Item + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of DeleteTaxRateResponse + System.Threading.Tasks.Task InvoiceItemsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Delete Invoice Item + /// + /// + /// Delete Invoice Item + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (DeleteTaxRateResponse) + System.Threading.Tasks.Task> InvoiceItemsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Get Invoice Item + /// + /// + /// Get Invoice Item + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetInvoiceItemResponse + System.Threading.Tasks.Task InvoiceItemsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Get Invoice Item + /// + /// + /// Get Invoice Item + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetInvoiceItemResponse) + System.Threading.Tasks.Task> InvoiceItemsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Update Invoice Item + /// + /// + /// Update Invoice Item + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of UpdateInvoiceItemsResponse + System.Threading.Tasks.Task InvoiceItemsUpdateAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Update Invoice Item + /// + /// + /// Update Invoice Item + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (UpdateInvoiceItemsResponse) + System.Threading.Tasks.Task> InvoiceItemsUpdateWithHttpInfoAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Create Invoice + /// + /// + /// Create Invoice + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of CreateInvoiceResponse + System.Threading.Tasks.Task InvoicesAddAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Create Invoice + /// + /// + /// Create Invoice + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (CreateInvoiceResponse) + System.Threading.Tasks.Task> InvoicesAddWithHttpInfoAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// List Invoices /// /// /// List Invoices @@ -5059,77 +5850,242 @@ public interface IAccountingApiAsync : IApiAccessor /// Cancellation Token to cancel the request. /// Task of ApiResponse (UpdateTaxRateResponse) System.Threading.Tasks.Task> TaxRatesUpdateWithHttpInfoAsync(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - #endregion Asynchronous Operations - } - - /// - /// Represents a collection of functions to interact with the API endpoints - /// - public interface IAccountingApi : IAccountingApiSync, IAccountingApiAsync - { - - } - - /// - /// Represents a collection of functions to interact with the API endpoints - /// - public partial class AccountingApi : IAccountingApi - { - private Apideck.Client.ExceptionFactory _exceptionFactory = (name, response) => null; - /// - /// Initializes a new instance of the class. + /// Create Tracking Category /// - /// - public AccountingApi() : this((string)null) - { - } + /// + /// Create Tracking Category + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of CreateTrackingCategoryResponse + System.Threading.Tasks.Task TrackingCategoriesAddAsync(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Initializes a new instance of the class. + /// Create Tracking Category /// - /// - public AccountingApi(string basePath) - { - this.Configuration = Apideck.Client.Configuration.MergeConfigurations( - Apideck.Client.GlobalConfiguration.Instance, - new Apideck.Client.Configuration { BasePath = basePath } - ); - this.Client = new Apideck.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Apideck.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Apideck.Client.Configuration.DefaultExceptionFactory; - } - + /// + /// Create Tracking Category + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (CreateTrackingCategoryResponse) + System.Threading.Tasks.Task> TrackingCategoriesAddWithHttpInfoAsync(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Initializes a new instance of the class - /// using Configuration object + /// List Tracking Categories /// - /// An instance of Configuration - /// - public AccountingApi(Apideck.Client.Configuration configuration) - { - if (configuration == null) throw new ArgumentNullException("configuration"); - - this.Configuration = Apideck.Client.Configuration.MergeConfigurations( - Apideck.Client.GlobalConfiguration.Instance, - configuration - ); - this.Client = new Apideck.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Apideck.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Apideck.Client.Configuration.DefaultExceptionFactory; - } + /// + /// List Tracking Categories + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetTrackingCategoriesResponse + System.Threading.Tasks.Task TrackingCategoriesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Initializes a new instance of the class - /// using a Configuration object and client instance. + /// List Tracking Categories /// - /// The client interface for synchronous API access. - /// The client interface for asynchronous API access. - /// The configuration object. - public AccountingApi(Apideck.Client.ISynchronousClient client, Apideck.Client.IAsynchronousClient asyncClient, Apideck.Client.IReadableConfiguration configuration) - { - if (client == null) throw new ArgumentNullException("client"); - if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + /// + /// List Tracking Categories + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetTrackingCategoriesResponse) + System.Threading.Tasks.Task> TrackingCategoriesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Delete Tracking Category + /// + /// + /// Delete Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of DeleteTrackingCategoryResponse + System.Threading.Tasks.Task TrackingCategoriesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Delete Tracking Category + /// + /// + /// Delete Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (DeleteTrackingCategoryResponse) + System.Threading.Tasks.Task> TrackingCategoriesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Get Tracking Category + /// + /// + /// Get Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetTrackingCategoryResponse + System.Threading.Tasks.Task TrackingCategoriesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Get Tracking Category + /// + /// + /// Get Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetTrackingCategoryResponse) + System.Threading.Tasks.Task> TrackingCategoriesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// + /// Update Tracking Category + /// + /// + /// Update Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of UpdateTrackingCategoryResponse + System.Threading.Tasks.Task TrackingCategoriesUpdateAsync(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// + /// Update Tracking Category + /// + /// + /// Update Tracking Category + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (UpdateTrackingCategoryResponse) + System.Threading.Tasks.Task> TrackingCategoriesUpdateWithHttpInfoAsync(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + #endregion Asynchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IAccountingApi : IAccountingApiSync, IAccountingApiAsync + { + + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class AccountingApi : IAccountingApi + { + private Apideck.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + + /// + /// Initializes a new instance of the class. + /// + /// + public AccountingApi() : this((string)null) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + public AccountingApi(string basePath) + { + this.Configuration = Apideck.Client.Configuration.MergeConfigurations( + Apideck.Client.GlobalConfiguration.Instance, + new Apideck.Client.Configuration { BasePath = basePath } + ); + this.Client = new Apideck.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Apideck.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Apideck.Client.Configuration.DefaultExceptionFactory; + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public AccountingApi(Apideck.Client.Configuration configuration) + { + if (configuration == null) throw new ArgumentNullException("configuration"); + + this.Configuration = Apideck.Client.Configuration.MergeConfigurations( + Apideck.Client.GlobalConfiguration.Instance, + configuration + ); + this.Client = new Apideck.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Apideck.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Apideck.Client.Configuration.DefaultExceptionFactory; + } + + /// + /// Initializes a new instance of the class + /// using a Configuration object and client instance. + /// + /// The client interface for synchronous API access. + /// The client interface for asynchronous API access. + /// The configuration object. + public AccountingApi(Apideck.Client.ISynchronousClient client, Apideck.Client.IAsynchronousClient asyncClient, Apideck.Client.IReadableConfiguration configuration) + { + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; @@ -6284,37 +7240,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Bill Create Bill + /// Create Bill Payment Create Bill Payment /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateBillResponse - public CreateBillResponse BillsAdd(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateBillPaymentResponse + public CreateBillPaymentResponse BillPaymentsAdd(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = BillsAddWithHttpInfo(bill, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = BillPaymentsAddWithHttpInfo(billPayment, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Bill Create Bill + /// Create Bill Payment Create Bill Payment /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateBillResponse - public Apideck.Client.ApiResponse BillsAddWithHttpInfo(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateBillPaymentResponse + public Apideck.Client.ApiResponse BillPaymentsAddWithHttpInfo(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'bill' is set - if (bill == null) + // verify the required parameter 'billPayment' is set + if (billPayment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'billPayment' when calling AccountingApi->BillPaymentsAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -6356,7 +7312,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = bill; + localVarRequestOptions.Data = billPayment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -6365,10 +7321,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/bills", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/bill-payments", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -6379,39 +7335,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Bill Create Bill + /// Create Bill Payment Create Bill Payment /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateBillResponse - public async System.Threading.Tasks.Task BillsAddAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateBillPaymentResponse + public async System.Threading.Tasks.Task BillPaymentsAddAsync(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await BillsAddWithHttpInfoAsync(bill, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillPaymentsAddWithHttpInfoAsync(billPayment, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Bill Create Bill + /// Create Bill Payment Create Bill Payment /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateBillResponse) - public async System.Threading.Tasks.Task> BillsAddWithHttpInfoAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateBillPaymentResponse) + public async System.Threading.Tasks.Task> BillPaymentsAddWithHttpInfoAsync(BillPayment billPayment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'bill' is set - if (bill == null) + // verify the required parameter 'billPayment' is set + if (billPayment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'billPayment' when calling AccountingApi->BillPaymentsAdd"); } @@ -6454,7 +7410,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = bill; + localVarRequestOptions.Data = billPayment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -6463,11 +7419,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/bills", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/bill-payments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -6478,7 +7434,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Bills List Bills + /// List Bill Payments List Bill Payments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -6491,15 +7447,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetBillsResponse - public GetBillsResponse BillsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetBillPaymentsResponse + public GetBillPaymentsResponse BillPaymentsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = BillsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = BillPaymentsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Bills List Bills + /// List Bill Payments List Bill Payments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -6512,8 +7468,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetBillsResponse - public Apideck.Client.ApiResponse BillsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetBillPaymentsResponse + public Apideck.Client.ApiResponse BillPaymentsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -6598,10 +7554,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/bills", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/bill-payments", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -6612,7 +7568,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Bills List Bills + /// List Bill Payments List Bill Payments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -6626,15 +7582,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetBillsResponse - public async System.Threading.Tasks.Task BillsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetBillPaymentsResponse + public async System.Threading.Tasks.Task BillPaymentsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await BillsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillPaymentsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Bills List Bills + /// List Bill Payments List Bill Payments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -6648,8 +7604,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetBillsResponse) - public async System.Threading.Tasks.Task> BillsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetBillPaymentsResponse) + public async System.Threading.Tasks.Task> BillPaymentsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -6722,11 +7678,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/bills", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/bill-payments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -6737,7 +7693,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Bill Delete Bill + /// Delete Bill Payment Delete Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -6745,15 +7701,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteBillResponse - public DeleteBillResponse BillsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteBillPaymentResponse + public DeleteBillPaymentResponse BillPaymentsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = BillsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = BillPaymentsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Bill Delete Bill + /// Delete Bill Payment Delete Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -6761,13 +7717,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteBillResponse - public Apideck.Client.ApiResponse BillsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteBillPaymentResponse + public Apideck.Client.ApiResponse BillPaymentsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillPaymentsDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -6817,10 +7773,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/bills/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/bill-payments/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -6831,7 +7787,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Bill Delete Bill + /// Delete Bill Payment Delete Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -6840,15 +7796,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteBillResponse - public async System.Threading.Tasks.Task BillsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteBillPaymentResponse + public async System.Threading.Tasks.Task BillPaymentsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await BillsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillPaymentsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Bill Delete Bill + /// Delete Bill Payment Delete Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -6857,13 +7813,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteBillResponse) - public async System.Threading.Tasks.Task> BillsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteBillPaymentResponse) + public async System.Threading.Tasks.Task> BillPaymentsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillPaymentsDelete"); } @@ -6914,11 +7870,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/bills/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/bill-payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -6929,7 +7885,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Bill Get Bill + /// Get Bill Payment Get Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -6938,15 +7894,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetBillResponse - public GetBillResponse BillsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetBillPaymentResponse + public GetBillPaymentResponse BillPaymentsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = BillsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = BillPaymentsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Bill Get Bill + /// Get Bill Payment Get Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -6955,13 +7911,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetBillResponse - public Apideck.Client.ApiResponse BillsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetBillPaymentResponse + public Apideck.Client.ApiResponse BillPaymentsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillPaymentsOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -7015,10 +7971,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/bills/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/bill-payments/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -7029,7 +7985,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Bill Get Bill + /// Get Bill Payment Get Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -7039,15 +7995,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetBillResponse - public async System.Threading.Tasks.Task BillsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetBillPaymentResponse + public async System.Threading.Tasks.Task BillPaymentsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await BillsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillPaymentsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Bill Get Bill + /// Get Bill Payment Get Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -7057,13 +8013,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetBillResponse) - public async System.Threading.Tasks.Task> BillsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetBillPaymentResponse) + public async System.Threading.Tasks.Task> BillPaymentsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillPaymentsOne"); } @@ -7118,11 +8074,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/bills/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/bill-payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -7133,45 +8089,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Bill Update Bill + /// Update Bill Payment Update Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateBillResponse - public UpdateBillResponse BillsUpdate(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateBillPaymentResponse + public UpdateBillPaymentResponse BillPaymentsUpdate(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = BillsUpdateWithHttpInfo(id, bill, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = BillPaymentsUpdateWithHttpInfo(id, billPayment, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Bill Update Bill + /// Update Bill Payment Update Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateBillResponse - public Apideck.Client.ApiResponse BillsUpdateWithHttpInfo(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateBillPaymentResponse + public Apideck.Client.ApiResponse BillPaymentsUpdateWithHttpInfo(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillPaymentsUpdate"); } - // verify the required parameter 'bill' is set - if (bill == null) + // verify the required parameter 'billPayment' is set + if (billPayment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'billPayment' when calling AccountingApi->BillPaymentsUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -7214,7 +8170,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = bill; + localVarRequestOptions.Data = billPayment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -7223,10 +8179,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/bills/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/bill-payments/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -7237,47 +8193,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Bill Update Bill + /// Update Bill Payment Update Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateBillResponse - public async System.Threading.Tasks.Task BillsUpdateAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateBillPaymentResponse + public async System.Threading.Tasks.Task BillPaymentsUpdateAsync(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await BillsUpdateWithHttpInfoAsync(id, bill, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillPaymentsUpdateWithHttpInfoAsync(id, billPayment, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Bill Update Bill + /// Update Bill Payment Update Bill Payment /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateBillResponse) - public async System.Threading.Tasks.Task> BillsUpdateWithHttpInfoAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateBillPaymentResponse) + public async System.Threading.Tasks.Task> BillPaymentsUpdateWithHttpInfoAsync(string id, BillPayment billPayment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillPaymentsUpdate"); } - // verify the required parameter 'bill' is set - if (bill == null) + // verify the required parameter 'billPayment' is set + if (billPayment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'billPayment' when calling AccountingApi->BillPaymentsUpdate"); } @@ -7321,7 +8277,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = bill; + localVarRequestOptions.Data = billPayment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -7330,11 +8286,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/bills/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/bill-payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("BillsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("BillPaymentsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -7345,36 +8301,43 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get company info Get company info + /// Create Bill Create Bill /// /// Thrown when fails to make API call + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// 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) - /// GetCompanyInfoResponse - public GetCompanyInfoResponse CompanyInfoOne(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string)) + /// CreateBillResponse + public CreateBillResponse BillsAdd(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CompanyInfoOneWithHttpInfo(raw, consumerId, appId, serviceId, fields); + Apideck.Client.ApiResponse localVarResponse = BillsAddWithHttpInfo(bill, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Get company info Get company info + /// Create Bill Create Bill /// /// Thrown when fails to make API call + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// 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) - /// ApiResponse of GetCompanyInfoResponse - public Apideck.Client.ApiResponse CompanyInfoOneWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string)) + /// ApiResponse of CreateBillResponse + public Apideck.Client.ApiResponse BillsAddWithHttpInfo(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { + // verify the required parameter 'bill' is set + if (bill == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsAdd"); + } + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { + "application/json" }; // to determine the Accept header @@ -7398,10 +8361,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -7414,6 +8373,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } + localVarRequestOptions.Data = bill; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -7422,10 +8382,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/company-info", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/bills", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CompanyInfoOne", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -7436,39 +8396,46 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get company info Get company info + /// Create Bill Create Bill /// /// Thrown when fails to make API call + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetCompanyInfoResponse - public async System.Threading.Tasks.Task CompanyInfoOneAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateBillResponse + public async System.Threading.Tasks.Task BillsAddAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CompanyInfoOneWithHttpInfoAsync(raw, consumerId, appId, serviceId, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillsAddWithHttpInfoAsync(bill, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get company info Get company info + /// Create Bill Create Bill /// /// Thrown when fails to make API call + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetCompanyInfoResponse) - public async System.Threading.Tasks.Task> CompanyInfoOneWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateBillResponse) + public async System.Threading.Tasks.Task> BillsAddWithHttpInfoAsync(Bill bill, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + // verify the required parameter 'bill' is set + if (bill == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsAdd"); + } + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { + "application/json" }; // to determine the Accept header @@ -7492,10 +8459,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -7508,6 +8471,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } + localVarRequestOptions.Data = bill; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -7516,11 +8480,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/company-info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/bills", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CompanyInfoOne", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -7531,43 +8495,46 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Credit Note Create Credit Note + /// List Bills List Bills /// /// Thrown when fails to make API call - /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateCreditNoteResponse - public CreateCreditNoteResponse CreditNotesAdd(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetBillsResponse + public GetBillsResponse BillsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CreditNotesAddWithHttpInfo(creditNote, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = BillsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// Create Credit Note Create Credit Note + /// List Bills List Bills /// /// Thrown when fails to make API call - /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateCreditNoteResponse - public Apideck.Client.ApiResponse CreditNotesAddWithHttpInfo(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetBillsResponse + public Apideck.Client.ApiResponse BillsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - // verify the required parameter 'creditNote' is set - if (creditNote == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesAdd"); - } - Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { - "application/json" }; // to determine the Accept header @@ -7591,6 +8558,43 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (filter != null) + { + if (filter.UpdatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + } + } + if (sort != null) + { + if (sort.By != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + } + if (sort.Direction != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + } + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + } + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -7603,7 +8607,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -7612,10 +8615,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/credit-notes", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/bills", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -7626,46 +8629,49 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Credit Note Create Credit Note + /// List Bills List Bills /// /// Thrown when fails to make API call - /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateCreditNoteResponse - public async System.Threading.Tasks.Task CreditNotesAddAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetBillsResponse + public async System.Threading.Tasks.Task BillsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CreditNotesAddWithHttpInfoAsync(creditNote, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Credit Note Create Credit Note + /// List Bills List Bills /// /// Thrown when fails to make API call - /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateCreditNoteResponse) - public async System.Threading.Tasks.Task> CreditNotesAddWithHttpInfoAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetBillsResponse) + public async System.Threading.Tasks.Task> BillsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), BillsFilter filter = default(BillsFilter), BillsSort sort = default(BillsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'creditNote' is set - if (creditNote == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesAdd"); - } - Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { - "application/json" }; // to determine the Accept header @@ -7689,6 +8695,30 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -7701,7 +8731,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -7710,11 +8739,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/credit-notes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/bills", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -7725,43 +8754,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Credit Notes List Credit Notes + /// Delete Bill Delete Bill /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) - /// GetCreditNotesResponse - public GetCreditNotesResponse CreditNotesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeleteBillResponse + public DeleteBillResponse BillsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = CreditNotesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = BillsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// List Credit Notes List Credit Notes + /// Delete Bill Delete Bill /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) - /// ApiResponse of GetCreditNotesResponse - public Apideck.Client.ApiResponse CreditNotesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeleteBillResponse + public Apideck.Client.ApiResponse BillsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsDelete"); + } + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7784,47 +8809,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter if (raw != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (cursor != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); - } - if (limit != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); - } - if (filter != null) - { - if (filter.UpdatedSince != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); - } - } - if (sort != null) - { - if (sort.By != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); - } - if (sort.Direction != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); - } - } - if (passThrough != null) - { - if (passThrough.ExampleDownstreamProperty != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); - } - } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -7845,10 +8834,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/credit-notes", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/bills/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -7859,45 +8848,41 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Credit Notes List Credit Notes + /// Delete Bill Delete Bill /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of GetCreditNotesResponse - public async System.Threading.Tasks.Task CreditNotesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteBillResponse + public async System.Threading.Tasks.Task BillsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CreditNotesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Credit Notes List Credit Notes + /// Delete Bill Delete Bill /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetCreditNotesResponse) - public async System.Threading.Tasks.Task> CreditNotesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteBillResponse) + public async System.Threading.Tasks.Task> BillsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsDelete"); + } + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -7921,34 +8906,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter if (raw != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (cursor != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); - } - if (limit != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); - } - if (filter != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); - } - if (sort != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); - } - if (passThrough != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); - } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -7969,11 +8931,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/credit-notes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/bills/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -7984,7 +8946,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Credit Note Delete Credit Note + /// Get Bill Get Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -7992,15 +8954,16 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteCreditNoteResponse - public DeleteCreditNoteResponse CreditNotesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// 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) + /// GetBillResponse + public GetBillResponse BillsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CreditNotesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = BillsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Delete Credit Note Delete Credit Note + /// Get Bill Get Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -8008,13 +8971,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteCreditNoteResponse - public Apideck.Client.ApiResponse CreditNotesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// 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) + /// ApiResponse of GetBillResponse + public Apideck.Client.ApiResponse BillsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -8044,6 +9008,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -8064,10 +9032,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/bills/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -8078,7 +9046,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Credit Note Delete Credit Note + /// Get Bill Get Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -8086,16 +9054,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) /// Cancellation Token to cancel the request. - /// Task of DeleteCreditNoteResponse - public async System.Threading.Tasks.Task CreditNotesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetBillResponse + public async System.Threading.Tasks.Task BillsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CreditNotesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Credit Note Delete Credit Note + /// Get Bill Get Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -8103,14 +9072,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteCreditNoteResponse) - public async System.Threading.Tasks.Task> CreditNotesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetBillResponse) + public async System.Threading.Tasks.Task> BillsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsOne"); } @@ -8141,6 +9111,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -8161,11 +9135,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/bills/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -8176,44 +9150,51 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Credit Note Get Credit Note + /// Update Bill Update Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) - /// GetCreditNoteResponse - public GetCreditNoteResponse CreditNotesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// UpdateBillResponse + public UpdateBillResponse BillsUpdate(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = CreditNotesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = BillsUpdateWithHttpInfo(id, bill, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Get Credit Note Get Credit Note + /// Update Bill Update Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) - /// ApiResponse of GetCreditNoteResponse - public Apideck.Client.ApiResponse CreditNotesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of UpdateBillResponse + public Apideck.Client.ApiResponse BillsUpdateWithHttpInfo(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsUpdate"); + } + + // verify the required parameter 'bill' is set + if (bill == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { + "application/json" }; // to determine the Accept header @@ -8238,10 +9219,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -8254,6 +9231,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } + localVarRequestOptions.Data = bill; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8262,10 +9240,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/bills/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -8276,47 +9254,54 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Credit Note Get Credit Note + /// Update Bill Update Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetCreditNoteResponse - public async System.Threading.Tasks.Task CreditNotesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateBillResponse + public async System.Threading.Tasks.Task BillsUpdateAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CreditNotesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await BillsUpdateWithHttpInfoAsync(id, bill, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Credit Note Get Credit Note + /// Update Bill Update Bill /// /// Thrown when fails to make API call /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetCreditNoteResponse) - public async System.Threading.Tasks.Task> CreditNotesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateBillResponse) + public async System.Threading.Tasks.Task> BillsUpdateWithHttpInfoAsync(string id, Bill bill, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->BillsUpdate"); + } + + // verify the required parameter 'bill' is set + if (bill == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'bill' when calling AccountingApi->BillsUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { + "application/json" }; // to determine the Accept header @@ -8341,10 +9326,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -8357,6 +9338,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } + localVarRequestOptions.Data = bill; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8365,11 +9347,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/bills/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("BillsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -8380,51 +9362,36 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Credit Note Update Credit Note + /// Get company info Get company info /// /// Thrown when fails to make API call - /// ID of the record you are acting upon. - /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateCreditNoteResponse - public UpdateCreditNoteResponse CreditNotesUpdate(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// 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) + /// GetCompanyInfoResponse + public GetCompanyInfoResponse CompanyInfoOne(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CreditNotesUpdateWithHttpInfo(id, creditNote, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = CompanyInfoOneWithHttpInfo(raw, consumerId, appId, serviceId, fields); return localVarResponse.Data; } /// - /// Update Credit Note Update Credit Note + /// Get company info Get company info /// /// Thrown when fails to make API call - /// ID of the record you are acting upon. - /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateCreditNoteResponse - public Apideck.Client.ApiResponse CreditNotesUpdateWithHttpInfo(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// 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) + /// ApiResponse of GetCompanyInfoResponse + public Apideck.Client.ApiResponse CompanyInfoOneWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string)) { - // verify the required parameter 'id' is set - if (id == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesUpdate"); - } - - // verify the required parameter 'creditNote' is set - if (creditNote == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesUpdate"); - } - Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { - "application/json" }; // to determine the Accept header @@ -8444,11 +9411,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter if (raw != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -8461,7 +9431,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8470,10 +9439,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/company-info", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("CompanyInfoOne", localVarResponse); if (_exception != null) { throw _exception; @@ -8484,54 +9453,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Credit Note Update Credit Note + /// Get company info Get company info /// /// Thrown when fails to make API call - /// ID of the record you are acting upon. - /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) /// Cancellation Token to cancel the request. - /// Task of UpdateCreditNoteResponse - public async System.Threading.Tasks.Task CreditNotesUpdateAsync(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetCompanyInfoResponse + public async System.Threading.Tasks.Task CompanyInfoOneAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CreditNotesUpdateWithHttpInfoAsync(id, creditNote, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CompanyInfoOneWithHttpInfoAsync(raw, consumerId, appId, serviceId, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Credit Note Update Credit Note + /// Get company info Get company info /// /// Thrown when fails to make API call - /// ID of the record you are acting upon. - /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateCreditNoteResponse) - public async System.Threading.Tasks.Task> CreditNotesUpdateWithHttpInfoAsync(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetCompanyInfoResponse) + public async System.Threading.Tasks.Task> CompanyInfoOneWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'id' is set - if (id == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesUpdate"); - } - - // verify the required parameter 'creditNote' is set - if (creditNote == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesUpdate"); - } - Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { - "application/json" }; // to determine the Accept header @@ -8551,11 +9505,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter if (raw != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -8568,7 +9525,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8577,11 +9533,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/company-info", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CreditNotesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("CompanyInfoOne", localVarResponse); if (_exception != null) { throw _exception; @@ -8592,37 +9548,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Customer Create Customer + /// Create Credit Note Create Credit Note /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateCustomerResponse - public CreateCustomerResponse CustomersAdd(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateCreditNoteResponse + public CreateCreditNoteResponse CreditNotesAdd(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CustomersAddWithHttpInfo(customer, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = CreditNotesAddWithHttpInfo(creditNote, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Customer Create Customer + /// Create Credit Note Create Credit Note /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateCustomerResponse - public Apideck.Client.ApiResponse CustomersAddWithHttpInfo(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateCreditNoteResponse + public Apideck.Client.ApiResponse CreditNotesAddWithHttpInfo(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'customer' is set - if (customer == null) + // verify the required parameter 'creditNote' is set + if (creditNote == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -8664,7 +9620,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = customer; + localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8673,10 +9629,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/customers", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/credit-notes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -8687,39 +9643,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Customer Create Customer + /// Create Credit Note Create Credit Note /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateCustomerResponse - public async System.Threading.Tasks.Task CustomersAddAsync(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateCreditNoteResponse + public async System.Threading.Tasks.Task CreditNotesAddAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CustomersAddWithHttpInfoAsync(customer, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CreditNotesAddWithHttpInfoAsync(creditNote, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Customer Create Customer + /// Create Credit Note Create Credit Note /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateCustomerResponse) - public async System.Threading.Tasks.Task> CustomersAddWithHttpInfoAsync(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateCreditNoteResponse) + public async System.Threading.Tasks.Task> CreditNotesAddWithHttpInfoAsync(CreditNote creditNote, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'customer' is set - if (customer == null) + // verify the required parameter 'creditNote' is set + if (creditNote == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesAdd"); } @@ -8762,7 +9718,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = customer; + localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8771,11 +9727,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/customers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/credit-notes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -8786,7 +9742,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Customers List Customers + /// List Credit Notes List Credit Notes /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -8799,15 +9755,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetCustomersResponse - public GetCustomersResponse CustomersAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetCreditNotesResponse + public GetCreditNotesResponse CreditNotesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CustomersAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = CreditNotesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Customers List Customers + /// List Credit Notes List Credit Notes /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -8820,8 +9776,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetCustomersResponse - public Apideck.Client.ApiResponse CustomersAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetCreditNotesResponse + public Apideck.Client.ApiResponse CreditNotesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -8859,30 +9815,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } if (filter != null) { - if (filter.CompanyName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[company_name]", filter.CompanyName)); - } - if (filter.DisplayName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[display_name]", filter.DisplayName)); - } - if (filter.FirstName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[first_name]", filter.FirstName)); - } - if (filter.LastName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[last_name]", filter.LastName)); - } - if (filter.Email != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[email]", filter.Email)); - } - if (filter.Status != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[status]", filter.Status)); - } if (filter.UpdatedSince != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); @@ -8930,10 +9862,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/customers", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/credit-notes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersAll", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -8944,7 +9876,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Customers List Customers + /// List Credit Notes List Credit Notes /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -8958,15 +9890,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetCustomersResponse - public async System.Threading.Tasks.Task CustomersAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetCreditNotesResponse + public async System.Threading.Tasks.Task CreditNotesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CustomersAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CreditNotesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Customers List Customers + /// List Credit Notes List Credit Notes /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -8980,8 +9912,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetCustomersResponse) - public async System.Threading.Tasks.Task> CustomersAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetCreditNotesResponse) + public async System.Threading.Tasks.Task> CreditNotesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CreditNotesFilter filter = default(CreditNotesFilter), CreditNotesSort sort = default(CreditNotesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -9054,11 +9986,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/customers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/credit-notes", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersAll", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -9069,7 +10001,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Customer Delete Customer + /// Delete Credit Note Delete Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9077,15 +10009,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteCustomerResponse - public DeleteCustomerResponse CustomersDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteCreditNoteResponse + public DeleteCreditNoteResponse CreditNotesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = CustomersDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = CreditNotesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Customer Delete Customer + /// Delete Credit Note Delete Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9093,13 +10025,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteCustomerResponse - public Apideck.Client.ApiResponse CustomersDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteCreditNoteResponse + public Apideck.Client.ApiResponse CreditNotesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -9149,10 +10081,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/customers/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -9163,7 +10095,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Customer Delete Customer + /// Delete Credit Note Delete Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9172,15 +10104,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteCustomerResponse - public async System.Threading.Tasks.Task CustomersDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteCreditNoteResponse + public async System.Threading.Tasks.Task CreditNotesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CustomersDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CreditNotesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Customer Delete Customer + /// Delete Credit Note Delete Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9189,13 +10121,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteCustomerResponse) - public async System.Threading.Tasks.Task> CustomersDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteCreditNoteResponse) + public async System.Threading.Tasks.Task> CreditNotesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesDelete"); } @@ -9246,11 +10178,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/customers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -9261,7 +10193,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Customer Get Customer + /// Get Credit Note Get Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9270,15 +10202,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetCustomerResponse - public GetCustomerResponse CustomersOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetCreditNoteResponse + public GetCreditNoteResponse CreditNotesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = CustomersOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = CreditNotesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Customer Get Customer + /// Get Credit Note Get Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9287,13 +10219,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetCustomerResponse - public Apideck.Client.ApiResponse CustomersOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetCreditNoteResponse + public Apideck.Client.ApiResponse CreditNotesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -9347,10 +10279,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/customers/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersOne", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -9361,7 +10293,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Customer Get Customer + /// Get Credit Note Get Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9371,15 +10303,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetCustomerResponse - public async System.Threading.Tasks.Task CustomersOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetCreditNoteResponse + public async System.Threading.Tasks.Task CreditNotesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CustomersOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CreditNotesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Customer Get Customer + /// Get Credit Note Get Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -9389,13 +10321,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetCustomerResponse) - public async System.Threading.Tasks.Task> CustomersOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetCreditNoteResponse) + public async System.Threading.Tasks.Task> CreditNotesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesOne"); } @@ -9450,11 +10382,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/customers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersOne", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -9465,45 +10397,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Customer Update Customer + /// Update Credit Note Update Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateCustomerResponse - public UpdateCustomerResponse CustomersUpdate(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateCreditNoteResponse + public UpdateCreditNoteResponse CreditNotesUpdate(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = CustomersUpdateWithHttpInfo(id, customer, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = CreditNotesUpdateWithHttpInfo(id, creditNote, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Customer Update Customer + /// Update Credit Note Update Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateCustomerResponse - public Apideck.Client.ApiResponse CustomersUpdateWithHttpInfo(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateCreditNoteResponse + public Apideck.Client.ApiResponse CreditNotesUpdateWithHttpInfo(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesUpdate"); } - // verify the required parameter 'customer' is set - if (customer == null) + // verify the required parameter 'creditNote' is set + if (creditNote == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -9546,7 +10478,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = customer; + localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9555,10 +10487,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/customers/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -9569,47 +10501,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Customer Update Customer + /// Update Credit Note Update Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateCustomerResponse - public async System.Threading.Tasks.Task CustomersUpdateAsync(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateCreditNoteResponse + public async System.Threading.Tasks.Task CreditNotesUpdateAsync(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await CustomersUpdateWithHttpInfoAsync(id, customer, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CreditNotesUpdateWithHttpInfoAsync(id, creditNote, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Customer Update Customer + /// Update Credit Note Update Credit Note /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateCustomerResponse) - public async System.Threading.Tasks.Task> CustomersUpdateWithHttpInfoAsync(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateCreditNoteResponse) + public async System.Threading.Tasks.Task> CreditNotesUpdateWithHttpInfoAsync(string id, CreditNote creditNote, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CreditNotesUpdate"); } - // verify the required parameter 'customer' is set - if (customer == null) + // verify the required parameter 'creditNote' is set + if (creditNote == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'creditNote' when calling AccountingApi->CreditNotesUpdate"); } @@ -9653,7 +10585,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = customer; + localVarRequestOptions.Data = creditNote; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9662,11 +10594,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/customers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/credit-notes/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("CustomersUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("CreditNotesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -9677,37 +10609,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Department Create Department + /// Create Customer Create Customer /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateAccountingDepartmentResponse - public CreateAccountingDepartmentResponse DepartmentsAdd(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateCustomerResponse + public CreateCustomerResponse CustomersAdd(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = DepartmentsAddWithHttpInfo(accountingDepartment, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = CustomersAddWithHttpInfo(customer, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Department Create Department + /// Create Customer Create Customer /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateAccountingDepartmentResponse - public Apideck.Client.ApiResponse DepartmentsAddWithHttpInfo(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateCustomerResponse + public Apideck.Client.ApiResponse CustomersAddWithHttpInfo(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'accountingDepartment' is set - if (accountingDepartment == null) + // verify the required parameter 'customer' is set + if (customer == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -9749,7 +10681,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingDepartment; + localVarRequestOptions.Data = customer; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9758,10 +10690,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/departments", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/customers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -9772,39 +10704,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Department Create Department + /// Create Customer Create Customer /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateAccountingDepartmentResponse - public async System.Threading.Tasks.Task DepartmentsAddAsync(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateCustomerResponse + public async System.Threading.Tasks.Task CustomersAddAsync(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await DepartmentsAddWithHttpInfoAsync(accountingDepartment, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CustomersAddWithHttpInfoAsync(customer, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Department Create Department + /// Create Customer Create Customer /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateAccountingDepartmentResponse) - public async System.Threading.Tasks.Task> DepartmentsAddWithHttpInfoAsync(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateCustomerResponse) + public async System.Threading.Tasks.Task> CustomersAddWithHttpInfoAsync(Customer customer, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'accountingDepartment' is set - if (accountingDepartment == null) + // verify the required parameter 'customer' is set + if (customer == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersAdd"); } @@ -9847,7 +10779,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingDepartment; + localVarRequestOptions.Data = customer; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9856,11 +10788,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/departments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/customers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -9871,7 +10803,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Departments List Departments + /// List Customers List Customers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -9880,17 +10812,19 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) - /// GetAccountingDepartmentsResponse - public GetAccountingDepartmentsResponse DepartmentsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter)) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetCustomersResponse + public GetCustomersResponse CustomersAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = DepartmentsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); + Apideck.Client.ApiResponse localVarResponse = CustomersAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Departments List Departments + /// List Customers List Customers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -9899,10 +10833,12 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) - /// ApiResponse of GetAccountingDepartmentsResponse - public Apideck.Client.ApiResponse DepartmentsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter)) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetCustomersResponse + public Apideck.Client.ApiResponse CustomersAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -9938,17 +10874,59 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (fields != null) + if (filter != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + if (filter.CompanyName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[company_name]", filter.CompanyName)); + } + if (filter.DisplayName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[display_name]", filter.DisplayName)); + } + if (filter.FirstName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[first_name]", filter.FirstName)); + } + if (filter.LastName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[last_name]", filter.LastName)); + } + if (filter.Email != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[email]", filter.Email)); + } + if (filter.Status != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[status]", filter.Status)); + } + if (filter.UpdatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + } } - if (filter != null) + if (sort != null) { - if (filter.Subsidiary != null) + if (sort.By != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[subsidiary]", filter.Subsidiary)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + } + if (sort.Direction != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + } + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); } } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -9969,10 +10947,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/departments", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/customers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersAll", localVarResponse); if (_exception != null) { throw _exception; @@ -9983,7 +10961,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Departments List Departments + /// List Customers List Customers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -9992,18 +10970,20 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of GetAccountingDepartmentsResponse - public async System.Threading.Tasks.Task DepartmentsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetCustomersResponse + public async System.Threading.Tasks.Task CustomersAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await DepartmentsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, fields, filter, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CustomersAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Departments List Departments + /// List Customers List Customers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -10012,11 +10992,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetAccountingDepartmentsResponse) - public async System.Threading.Tasks.Task> DepartmentsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetCustomersResponse) + public async System.Threading.Tasks.Task> CustomersAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), CustomersFilter filter = default(CustomersFilter), CustomersSort sort = default(CustomersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -10053,17 +11035,25 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (filter != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); } - if (consumerId != null) + if (sort != null) { - localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter } if (appId != null) { @@ -10081,11 +11071,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/departments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/customers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersAll", localVarResponse); if (_exception != null) { throw _exception; @@ -10096,7 +11086,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Department Delete Department + /// Delete Customer Delete Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10104,15 +11094,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteAccountingDepartmentResponse - public DeleteAccountingDepartmentResponse DepartmentsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteCustomerResponse + public DeleteCustomerResponse CustomersDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = DepartmentsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = CustomersDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Department Delete Department + /// Delete Customer Delete Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10120,13 +11110,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteAccountingDepartmentResponse - public Apideck.Client.ApiResponse DepartmentsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteCustomerResponse + public Apideck.Client.ApiResponse CustomersDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -10176,10 +11166,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/departments/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/customers/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -10190,7 +11180,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Department Delete Department + /// Delete Customer Delete Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10199,15 +11189,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteAccountingDepartmentResponse - public async System.Threading.Tasks.Task DepartmentsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteCustomerResponse + public async System.Threading.Tasks.Task CustomersDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await DepartmentsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CustomersDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Department Delete Department + /// Delete Customer Delete Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10216,13 +11206,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteAccountingDepartmentResponse) - public async System.Threading.Tasks.Task> DepartmentsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteCustomerResponse) + public async System.Threading.Tasks.Task> CustomersDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersDelete"); } @@ -10273,11 +11263,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/departments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/customers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -10288,7 +11278,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Department Get Department + /// Get Customer Get Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10297,15 +11287,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetAccountingDepartmentResponse - public GetAccountingDepartmentResponse DepartmentsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetCustomerResponse + public GetCustomerResponse CustomersOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = DepartmentsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = CustomersOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Department Get Department + /// Get Customer Get Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10314,13 +11304,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetAccountingDepartmentResponse - public Apideck.Client.ApiResponse DepartmentsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetCustomerResponse + public Apideck.Client.ApiResponse CustomersOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -10374,10 +11364,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/departments/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/customers/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersOne", localVarResponse); if (_exception != null) { throw _exception; @@ -10388,7 +11378,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Department Get Department + /// Get Customer Get Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10398,15 +11388,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetAccountingDepartmentResponse - public async System.Threading.Tasks.Task DepartmentsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetCustomerResponse + public async System.Threading.Tasks.Task CustomersOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await DepartmentsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CustomersOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Department Get Department + /// Get Customer Get Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -10416,13 +11406,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetAccountingDepartmentResponse) - public async System.Threading.Tasks.Task> DepartmentsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetCustomerResponse) + public async System.Threading.Tasks.Task> CustomersOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersOne"); } @@ -10477,11 +11467,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/departments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/customers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersOne", localVarResponse); if (_exception != null) { throw _exception; @@ -10492,45 +11482,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Department Update Department + /// Update Customer Update Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateAccountingDepartmentResponse - public UpdateAccountingDepartmentResponse DepartmentsUpdate(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateCustomerResponse + public UpdateCustomerResponse CustomersUpdate(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = DepartmentsUpdateWithHttpInfo(id, accountingDepartment, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = CustomersUpdateWithHttpInfo(id, customer, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Department Update Department + /// Update Customer Update Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateAccountingDepartmentResponse - public Apideck.Client.ApiResponse DepartmentsUpdateWithHttpInfo(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateCustomerResponse + public Apideck.Client.ApiResponse CustomersUpdateWithHttpInfo(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersUpdate"); } - // verify the required parameter 'accountingDepartment' is set - if (accountingDepartment == null) + // verify the required parameter 'customer' is set + if (customer == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -10573,7 +11563,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingDepartment; + localVarRequestOptions.Data = customer; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10582,10 +11572,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/departments/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/customers/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -10596,47 +11586,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Department Update Department + /// Update Customer Update Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateAccountingDepartmentResponse - public async System.Threading.Tasks.Task DepartmentsUpdateAsync(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateCustomerResponse + public async System.Threading.Tasks.Task CustomersUpdateAsync(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await DepartmentsUpdateWithHttpInfoAsync(id, accountingDepartment, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await CustomersUpdateWithHttpInfoAsync(id, customer, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Department Update Department + /// Update Customer Update Customer /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateAccountingDepartmentResponse) - public async System.Threading.Tasks.Task> DepartmentsUpdateWithHttpInfoAsync(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateCustomerResponse) + public async System.Threading.Tasks.Task> CustomersUpdateWithHttpInfoAsync(string id, Customer customer, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->CustomersUpdate"); } - // verify the required parameter 'accountingDepartment' is set - if (accountingDepartment == null) + // verify the required parameter 'customer' is set + if (customer == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'customer' when calling AccountingApi->CustomersUpdate"); } @@ -10680,7 +11670,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingDepartment; + localVarRequestOptions.Data = customer; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10689,11 +11679,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/departments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/customers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("DepartmentsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("CustomersUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -10704,37 +11694,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Invoice Item Create Invoice Item + /// Create Department Create Department /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateInvoiceItemResponse - public CreateInvoiceItemResponse InvoiceItemsAdd(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateAccountingDepartmentResponse + public CreateAccountingDepartmentResponse DepartmentsAdd(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = InvoiceItemsAddWithHttpInfo(invoiceItem, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = DepartmentsAddWithHttpInfo(accountingDepartment, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Invoice Item Create Invoice Item + /// Create Department Create Department /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateInvoiceItemResponse - public Apideck.Client.ApiResponse InvoiceItemsAddWithHttpInfo(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateAccountingDepartmentResponse + public Apideck.Client.ApiResponse DepartmentsAddWithHttpInfo(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'invoiceItem' is set - if (invoiceItem == null) + // verify the required parameter 'accountingDepartment' is set + if (accountingDepartment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -10776,7 +11766,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoiceItem; + localVarRequestOptions.Data = accountingDepartment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10785,10 +11775,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/invoice-items", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/departments", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -10799,39 +11789,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Invoice Item Create Invoice Item + /// Create Department Create Department /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateInvoiceItemResponse - public async System.Threading.Tasks.Task InvoiceItemsAddAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateAccountingDepartmentResponse + public async System.Threading.Tasks.Task DepartmentsAddAsync(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsAddWithHttpInfoAsync(invoiceItem, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await DepartmentsAddWithHttpInfoAsync(accountingDepartment, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Invoice Item Create Invoice Item + /// Create Department Create Department /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateInvoiceItemResponse) - public async System.Threading.Tasks.Task> InvoiceItemsAddWithHttpInfoAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateAccountingDepartmentResponse) + public async System.Threading.Tasks.Task> DepartmentsAddWithHttpInfoAsync(AccountingDepartment accountingDepartment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'invoiceItem' is set - if (invoiceItem == null) + // verify the required parameter 'accountingDepartment' is set + if (accountingDepartment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsAdd"); } @@ -10874,7 +11864,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoiceItem; + localVarRequestOptions.Data = accountingDepartment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10883,11 +11873,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/invoice-items", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/departments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -10898,7 +11888,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Invoice Items List Invoice Items + /// List Departments List Departments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -10907,18 +11897,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetInvoiceItemsResponse - public GetInvoiceItemsResponse InvoiceItemsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// Apply filters (optional) + /// GetAccountingDepartmentsResponse + public GetAccountingDepartmentsResponse DepartmentsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter)) { - Apideck.Client.ApiResponse localVarResponse = InvoiceItemsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = DepartmentsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); return localVarResponse.Data; } /// - /// List Invoice Items List Invoice Items + /// List Departments List Departments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -10927,11 +11916,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetInvoiceItemsResponse - public Apideck.Client.ApiResponse InvoiceItemsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// Apply filters (optional) + /// ApiResponse of GetAccountingDepartmentsResponse + public Apideck.Client.ApiResponse DepartmentsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -10967,25 +11955,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) + if (fields != null) { - if (filter.Name != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[name]", filter.Name)); - } + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); } - if (passThrough != null) + if (filter != null) { - if (passThrough.ExampleDownstreamProperty != null) + if (filter.Subsidiary != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[subsidiary]", filter.Subsidiary)); } } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } - if (consumerId != null) + if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter } @@ -11005,10 +11986,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/invoice-items", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/departments", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -11019,7 +12000,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Invoice Items List Invoice Items + /// List Departments List Departments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -11028,19 +12009,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) + /// Apply filters (optional) /// Cancellation Token to cancel the request. - /// Task of GetInvoiceItemsResponse - public async System.Threading.Tasks.Task InvoiceItemsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetAccountingDepartmentsResponse + public async System.Threading.Tasks.Task DepartmentsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await DepartmentsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, fields, filter, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Invoice Items List Invoice Items + /// List Departments List Departments /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -11049,12 +12029,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) + /// Apply filters (optional) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetInvoiceItemsResponse) - public async System.Threading.Tasks.Task> InvoiceItemsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetAccountingDepartmentsResponse) + public async System.Threading.Tasks.Task> DepartmentsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingDepartmentsFilter filter = default(AccountingDepartmentsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -11091,18 +12070,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); - } - if (passThrough != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); - } if (fields != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -11123,11 +12098,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoice-items", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/departments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -11138,7 +12113,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Invoice Item Delete Invoice Item + /// Delete Department Delete Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11146,15 +12121,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteTaxRateResponse - public DeleteTaxRateResponse InvoiceItemsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteAccountingDepartmentResponse + public DeleteAccountingDepartmentResponse DepartmentsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = InvoiceItemsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = DepartmentsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Invoice Item Delete Invoice Item + /// Delete Department Delete Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11162,13 +12137,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteTaxRateResponse - public Apideck.Client.ApiResponse InvoiceItemsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteAccountingDepartmentResponse + public Apideck.Client.ApiResponse DepartmentsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -11218,10 +12193,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/departments/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -11232,7 +12207,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Invoice Item Delete Invoice Item + /// Delete Department Delete Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11241,15 +12216,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteTaxRateResponse - public async System.Threading.Tasks.Task InvoiceItemsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteAccountingDepartmentResponse + public async System.Threading.Tasks.Task DepartmentsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await DepartmentsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Invoice Item Delete Invoice Item + /// Delete Department Delete Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11258,13 +12233,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteTaxRateResponse) - public async System.Threading.Tasks.Task> InvoiceItemsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteAccountingDepartmentResponse) + public async System.Threading.Tasks.Task> DepartmentsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsDelete"); } @@ -11315,11 +12290,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/departments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -11330,7 +12305,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Invoice Item Get Invoice Item + /// Get Department Get Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11339,15 +12314,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetInvoiceItemResponse - public GetInvoiceItemResponse InvoiceItemsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetAccountingDepartmentResponse + public GetAccountingDepartmentResponse DepartmentsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = InvoiceItemsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = DepartmentsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Invoice Item Get Invoice Item + /// Get Department Get Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11356,13 +12331,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetInvoiceItemResponse - public Apideck.Client.ApiResponse InvoiceItemsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetAccountingDepartmentResponse + public Apideck.Client.ApiResponse DepartmentsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -11416,10 +12391,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/departments/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -11430,7 +12405,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Invoice Item Get Invoice Item + /// Get Department Get Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11440,15 +12415,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetInvoiceItemResponse - public async System.Threading.Tasks.Task InvoiceItemsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetAccountingDepartmentResponse + public async System.Threading.Tasks.Task DepartmentsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await DepartmentsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Invoice Item Get Invoice Item + /// Get Department Get Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -11458,13 +12433,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetInvoiceItemResponse) - public async System.Threading.Tasks.Task> InvoiceItemsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetAccountingDepartmentResponse) + public async System.Threading.Tasks.Task> DepartmentsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsOne"); } @@ -11519,11 +12494,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/departments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -11534,45 +12509,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Invoice Item Update Invoice Item + /// Update Department Update Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateInvoiceItemsResponse - public UpdateInvoiceItemsResponse InvoiceItemsUpdate(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateAccountingDepartmentResponse + public UpdateAccountingDepartmentResponse DepartmentsUpdate(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = InvoiceItemsUpdateWithHttpInfo(id, invoiceItem, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = DepartmentsUpdateWithHttpInfo(id, accountingDepartment, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Invoice Item Update Invoice Item + /// Update Department Update Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateInvoiceItemsResponse - public Apideck.Client.ApiResponse InvoiceItemsUpdateWithHttpInfo(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateAccountingDepartmentResponse + public Apideck.Client.ApiResponse DepartmentsUpdateWithHttpInfo(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsUpdate"); } - // verify the required parameter 'invoiceItem' is set - if (invoiceItem == null) + // verify the required parameter 'accountingDepartment' is set + if (accountingDepartment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -11615,7 +12590,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoiceItem; + localVarRequestOptions.Data = accountingDepartment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -11624,10 +12599,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/departments/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -11638,47 +12613,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Invoice Item Update Invoice Item + /// Update Department Update Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateInvoiceItemsResponse - public async System.Threading.Tasks.Task InvoiceItemsUpdateAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateAccountingDepartmentResponse + public async System.Threading.Tasks.Task DepartmentsUpdateAsync(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsUpdateWithHttpInfoAsync(id, invoiceItem, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await DepartmentsUpdateWithHttpInfoAsync(id, accountingDepartment, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Invoice Item Update Invoice Item + /// Update Department Update Department /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateInvoiceItemsResponse) - public async System.Threading.Tasks.Task> InvoiceItemsUpdateWithHttpInfoAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateAccountingDepartmentResponse) + public async System.Threading.Tasks.Task> DepartmentsUpdateWithHttpInfoAsync(string id, AccountingDepartment accountingDepartment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->DepartmentsUpdate"); } - // verify the required parameter 'invoiceItem' is set - if (invoiceItem == null) + // verify the required parameter 'accountingDepartment' is set + if (accountingDepartment == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingDepartment' when calling AccountingApi->DepartmentsUpdate"); } @@ -11722,7 +12697,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoiceItem; + localVarRequestOptions.Data = accountingDepartment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -11731,11 +12706,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/departments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoiceItemsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("DepartmentsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -11746,37 +12721,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Invoice Create Invoice + /// Create Expense Create Expense /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateInvoiceResponse - public CreateInvoiceResponse InvoicesAdd(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateExpenseResponse + public CreateExpenseResponse ExpensesAdd(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = InvoicesAddWithHttpInfo(invoice, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = ExpensesAddWithHttpInfo(expense, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Invoice Create Invoice + /// Create Expense Create Expense /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateInvoiceResponse - public Apideck.Client.ApiResponse InvoicesAddWithHttpInfo(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateExpenseResponse + public Apideck.Client.ApiResponse ExpensesAddWithHttpInfo(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'invoice' is set - if (invoice == null) + // verify the required parameter 'expense' is set + if (expense == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'expense' when calling AccountingApi->ExpensesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -11818,7 +12793,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoice; + localVarRequestOptions.Data = expense; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -11827,10 +12802,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/invoices", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/expenses", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -11841,39 +12816,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Invoice Create Invoice + /// Create Expense Create Expense /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateInvoiceResponse - public async System.Threading.Tasks.Task InvoicesAddAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateExpenseResponse + public async System.Threading.Tasks.Task ExpensesAddAsync(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoicesAddWithHttpInfoAsync(invoice, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await ExpensesAddWithHttpInfoAsync(expense, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Invoice Create Invoice + /// Create Expense Create Expense /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateInvoiceResponse) - public async System.Threading.Tasks.Task> InvoicesAddWithHttpInfoAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateExpenseResponse) + public async System.Threading.Tasks.Task> ExpensesAddWithHttpInfoAsync(Expense expense, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'invoice' is set - if (invoice == null) + // verify the required parameter 'expense' is set + if (expense == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'expense' when calling AccountingApi->ExpensesAdd"); } @@ -11916,7 +12891,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoice; + localVarRequestOptions.Data = expense; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -11925,11 +12900,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/invoices", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/expenses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -11940,7 +12915,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Invoices List Invoices + /// List Expenses List Expenses /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -11949,19 +12924,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) - /// GetInvoicesResponse - public GetInvoicesResponse InvoicesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetExpensesResponse + public GetExpensesResponse ExpensesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?)) { - Apideck.Client.ApiResponse localVarResponse = InvoicesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = ExpensesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit); return localVarResponse.Data; } /// - /// List Invoices List Invoices + /// List Expenses List Expenses /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -11970,12 +12941,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) - /// ApiResponse of GetInvoicesResponse - public Apideck.Client.ApiResponse InvoicesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetExpensesResponse + public Apideck.Client.ApiResponse ExpensesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -12011,48 +12978,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) + if (consumerId != null) { - if (filter.UpdatedSince != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); - } - if (filter.CreatedSince != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[created_since]", filter.CreatedSince)); - } + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter } - if (sort != null) + if (appId != null) { - if (sort.By != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); - } - if (sort.Direction != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); - } + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter } - if (passThrough != null) - { - if (passThrough.ExampleDownstreamProperty != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); - } - } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } - if (consumerId != null) - { - localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter - } - if (appId != null) - { - localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter - } - if (serviceId != null) + if (serviceId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } @@ -12064,10 +12998,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/invoices", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/expenses", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -12078,7 +13012,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Invoices List Invoices + /// List Expenses List Expenses /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -12087,20 +13021,16 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetInvoicesResponse - public async System.Threading.Tasks.Task InvoicesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetExpensesResponse + public async System.Threading.Tasks.Task ExpensesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoicesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await ExpensesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Invoices List Invoices + /// List Expenses List Expenses /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -12109,13 +13039,9 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetInvoicesResponse) - public async System.Threading.Tasks.Task> InvoicesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetExpensesResponse) + public async System.Threading.Tasks.Task> ExpensesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -12152,22 +13078,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); - } - if (sort != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); - } - if (passThrough != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); - } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -12188,11 +13098,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoices", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/expenses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -12203,7 +13113,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Invoice Delete Invoice + /// Delete Expense Delete Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12211,15 +13121,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteInvoiceResponse - public DeleteInvoiceResponse InvoicesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteExpenseResponse + public DeleteExpenseResponse ExpensesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = InvoicesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = ExpensesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Invoice Delete Invoice + /// Delete Expense Delete Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12227,13 +13137,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteInvoiceResponse - public Apideck.Client.ApiResponse InvoicesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteExpenseResponse + public Apideck.Client.ApiResponse ExpensesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->ExpensesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -12283,10 +13193,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/expenses/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -12297,7 +13207,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Invoice Delete Invoice + /// Delete Expense Delete Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12306,15 +13216,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteInvoiceResponse - public async System.Threading.Tasks.Task InvoicesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteExpenseResponse + public async System.Threading.Tasks.Task ExpensesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoicesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await ExpensesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Invoice Delete Invoice + /// Delete Expense Delete Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12323,13 +13233,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteInvoiceResponse) - public async System.Threading.Tasks.Task> InvoicesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteExpenseResponse) + public async System.Threading.Tasks.Task> ExpensesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->ExpensesDelete"); } @@ -12380,11 +13290,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/expenses/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -12395,7 +13305,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Invoice Get Invoice + /// Get Expense Get Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12403,16 +13313,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) - /// GetInvoiceResponse - public GetInvoiceResponse InvoicesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetExpenseResponse + public GetExpenseResponse ExpensesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = InvoicesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = ExpensesOneWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Get Invoice Get Invoice + /// Get Expense Get Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12420,14 +13329,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) - /// ApiResponse of GetInvoiceResponse - public Apideck.Client.ApiResponse InvoicesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetExpenseResponse + public Apideck.Client.ApiResponse ExpensesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->ExpensesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -12457,10 +13365,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -12481,10 +13385,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/expenses/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -12495,7 +13399,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Invoice Get Invoice + /// Get Expense Get Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12503,17 +13407,16 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetInvoiceResponse - public async System.Threading.Tasks.Task InvoicesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetExpenseResponse + public async System.Threading.Tasks.Task ExpensesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoicesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await ExpensesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Invoice Get Invoice + /// Get Expense Get Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -12521,15 +13424,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetInvoiceResponse) - public async System.Threading.Tasks.Task> InvoicesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetExpenseResponse) + public async System.Threading.Tasks.Task> ExpensesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->ExpensesOne"); } @@ -12560,10 +13462,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -12584,11 +13482,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/expenses/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -12599,45 +13497,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Invoice Update Invoice + /// Update Expense Update Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateInvoiceResponse - public UpdateInvoiceResponse InvoicesUpdate(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateExpenseResponse + public UpdateExpenseResponse ExpensesUpdate(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = InvoicesUpdateWithHttpInfo(id, invoice, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = ExpensesUpdateWithHttpInfo(id, expense, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Invoice Update Invoice + /// Update Expense Update Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateInvoiceResponse - public Apideck.Client.ApiResponse InvoicesUpdateWithHttpInfo(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateExpenseResponse + public Apideck.Client.ApiResponse ExpensesUpdateWithHttpInfo(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->ExpensesUpdate"); } - // verify the required parameter 'invoice' is set - if (invoice == null) + // verify the required parameter 'expense' is set + if (expense == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'expense' when calling AccountingApi->ExpensesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -12680,7 +13578,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoice; + localVarRequestOptions.Data = expense; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -12689,10 +13587,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/expenses/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -12703,47 +13601,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Invoice Update Invoice + /// Update Expense Update Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateInvoiceResponse - public async System.Threading.Tasks.Task InvoicesUpdateAsync(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateExpenseResponse + public async System.Threading.Tasks.Task ExpensesUpdateAsync(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await InvoicesUpdateWithHttpInfoAsync(id, invoice, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await ExpensesUpdateWithHttpInfoAsync(id, expense, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Invoice Update Invoice + /// Update Expense Update Expense /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateInvoiceResponse) - public async System.Threading.Tasks.Task> InvoicesUpdateWithHttpInfoAsync(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateExpenseResponse) + public async System.Threading.Tasks.Task> ExpensesUpdateWithHttpInfoAsync(string id, Expense expense, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->ExpensesUpdate"); } - // verify the required parameter 'invoice' is set - if (invoice == null) + // verify the required parameter 'expense' is set + if (expense == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'expense' when calling AccountingApi->ExpensesUpdate"); } @@ -12787,7 +13685,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = invoice; + localVarRequestOptions.Data = expense; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -12796,11 +13694,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/expenses/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("InvoicesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("ExpensesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -12811,37 +13709,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Journal Entry Create Journal Entry + /// Create Invoice Item Create Invoice Item /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateJournalEntryResponse - public CreateJournalEntryResponse JournalEntriesAdd(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateInvoiceItemResponse + public CreateInvoiceItemResponse InvoiceItemsAdd(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = JournalEntriesAddWithHttpInfo(journalEntry, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = InvoiceItemsAddWithHttpInfo(invoiceItem, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Journal Entry Create Journal Entry + /// Create Invoice Item Create Invoice Item /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateJournalEntryResponse - public Apideck.Client.ApiResponse JournalEntriesAddWithHttpInfo(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateInvoiceItemResponse + public Apideck.Client.ApiResponse InvoiceItemsAddWithHttpInfo(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'journalEntry' is set - if (journalEntry == null) + // verify the required parameter 'invoiceItem' is set + if (invoiceItem == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -12883,7 +13781,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = journalEntry; + localVarRequestOptions.Data = invoiceItem; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -12892,10 +13790,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/journal-entries", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/invoice-items", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -12906,39 +13804,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Journal Entry Create Journal Entry + /// Create Invoice Item Create Invoice Item /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateJournalEntryResponse - public async System.Threading.Tasks.Task JournalEntriesAddAsync(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateInvoiceItemResponse + public async System.Threading.Tasks.Task InvoiceItemsAddAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await JournalEntriesAddWithHttpInfoAsync(journalEntry, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsAddWithHttpInfoAsync(invoiceItem, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Journal Entry Create Journal Entry + /// Create Invoice Item Create Invoice Item /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateJournalEntryResponse) - public async System.Threading.Tasks.Task> JournalEntriesAddWithHttpInfoAsync(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateInvoiceItemResponse) + public async System.Threading.Tasks.Task> InvoiceItemsAddWithHttpInfoAsync(InvoiceItem invoiceItem, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'journalEntry' is set - if (journalEntry == null) + // verify the required parameter 'invoiceItem' is set + if (invoiceItem == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsAdd"); } @@ -12981,7 +13879,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = journalEntry; + localVarRequestOptions.Data = invoiceItem; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -12990,11 +13888,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/journal-entries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/invoice-items", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -13005,7 +13903,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Journal Entries List Journal Entries + /// List Invoice Items List Invoice Items /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -13015,18 +13913,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetJournalEntriesResponse - public GetJournalEntriesResponse JournalEntriesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetInvoiceItemsResponse + public GetInvoiceItemsResponse InvoiceItemsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = JournalEntriesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = InvoiceItemsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); return localVarResponse.Data; } /// - /// List Journal Entries List Journal Entries + /// List Invoice Items List Invoice Items /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -13036,11 +13933,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetJournalEntriesResponse - public Apideck.Client.ApiResponse JournalEntriesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetInvoiceItemsResponse + public Apideck.Client.ApiResponse InvoiceItemsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -13078,20 +13974,9 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } if (filter != null) { - if (filter.UpdatedSince != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); - } - } - if (sort != null) - { - if (sort.By != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); - } - if (sort.Direction != null) + if (filter.Name != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[name]", filter.Name)); } } if (passThrough != null) @@ -13125,10 +14010,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/journal-entries", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/invoice-items", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -13139,7 +14024,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Journal Entries List Journal Entries + /// List Invoice Items List Invoice Items /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -13149,19 +14034,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetJournalEntriesResponse - public async System.Threading.Tasks.Task JournalEntriesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetInvoiceItemsResponse + public async System.Threading.Tasks.Task InvoiceItemsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await JournalEntriesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Journal Entries List Journal Entries + /// List Invoice Items List Invoice Items /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -13171,12 +14055,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetJournalEntriesResponse) - public async System.Threading.Tasks.Task> JournalEntriesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetInvoiceItemsResponse) + public async System.Threading.Tasks.Task> InvoiceItemsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoiceItemsFilter filter = default(InvoiceItemsFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -13217,10 +14100,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); } - if (sort != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); - } if (passThrough != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); @@ -13249,11 +14128,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/journal-entries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoice-items", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -13264,7 +14143,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Journal Entry Delete Journal Entry + /// Delete Invoice Item Delete Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13272,15 +14151,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteJournalEntryResponse - public DeleteJournalEntryResponse JournalEntriesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteTaxRateResponse + public DeleteTaxRateResponse InvoiceItemsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = JournalEntriesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = InvoiceItemsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Journal Entry Delete Journal Entry + /// Delete Invoice Item Delete Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13288,13 +14167,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteJournalEntryResponse - public Apideck.Client.ApiResponse JournalEntriesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteTaxRateResponse + public Apideck.Client.ApiResponse InvoiceItemsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -13344,10 +14223,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -13358,7 +14237,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Journal Entry Delete Journal Entry + /// Delete Invoice Item Delete Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13367,15 +14246,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteJournalEntryResponse - public async System.Threading.Tasks.Task JournalEntriesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteTaxRateResponse + public async System.Threading.Tasks.Task InvoiceItemsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await JournalEntriesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Journal Entry Delete Journal Entry + /// Delete Invoice Item Delete Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13384,13 +14263,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteJournalEntryResponse) - public async System.Threading.Tasks.Task> JournalEntriesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteTaxRateResponse) + public async System.Threading.Tasks.Task> InvoiceItemsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsDelete"); } @@ -13441,11 +14320,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -13456,7 +14335,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Journal Entry Get Journal Entry + /// Get Invoice Item Get Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13465,15 +14344,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetJournalEntryResponse - public GetJournalEntryResponse JournalEntriesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetInvoiceItemResponse + public GetInvoiceItemResponse InvoiceItemsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = JournalEntriesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = InvoiceItemsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Journal Entry Get Journal Entry + /// Get Invoice Item Get Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13482,13 +14361,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetJournalEntryResponse - public Apideck.Client.ApiResponse JournalEntriesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetInvoiceItemResponse + public Apideck.Client.ApiResponse InvoiceItemsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -13542,10 +14421,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -13556,7 +14435,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Journal Entry Get Journal Entry + /// Get Invoice Item Get Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13566,15 +14445,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetJournalEntryResponse - public async System.Threading.Tasks.Task JournalEntriesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetInvoiceItemResponse + public async System.Threading.Tasks.Task InvoiceItemsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await JournalEntriesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Journal Entry Get Journal Entry + /// Get Invoice Item Get Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -13584,13 +14463,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetJournalEntryResponse) - public async System.Threading.Tasks.Task> JournalEntriesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetInvoiceItemResponse) + public async System.Threading.Tasks.Task> InvoiceItemsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsOne"); } @@ -13645,11 +14524,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsOne", localVarResponse); if (_exception != null) { throw _exception; @@ -13660,45 +14539,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Journal Entry Update Journal Entry + /// Update Invoice Item Update Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateJournalEntryResponse - public UpdateJournalEntryResponse JournalEntriesUpdate(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateInvoiceItemsResponse + public UpdateInvoiceItemsResponse InvoiceItemsUpdate(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = JournalEntriesUpdateWithHttpInfo(id, journalEntry, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = InvoiceItemsUpdateWithHttpInfo(id, invoiceItem, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Journal Entry Update Journal Entry + /// Update Invoice Item Update Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateJournalEntryResponse - public Apideck.Client.ApiResponse JournalEntriesUpdateWithHttpInfo(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateInvoiceItemsResponse + public Apideck.Client.ApiResponse InvoiceItemsUpdateWithHttpInfo(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsUpdate"); } - // verify the required parameter 'journalEntry' is set - if (journalEntry == null) + // verify the required parameter 'invoiceItem' is set + if (invoiceItem == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -13741,7 +14620,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = journalEntry; + localVarRequestOptions.Data = invoiceItem; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -13750,10 +14629,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -13764,47 +14643,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Journal Entry Update Journal Entry + /// Update Invoice Item Update Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateJournalEntryResponse - public async System.Threading.Tasks.Task JournalEntriesUpdateAsync(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateInvoiceItemsResponse + public async System.Threading.Tasks.Task InvoiceItemsUpdateAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await JournalEntriesUpdateWithHttpInfoAsync(id, journalEntry, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoiceItemsUpdateWithHttpInfoAsync(id, invoiceItem, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Journal Entry Update Journal Entry + /// Update Invoice Item Update Invoice Item /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateJournalEntryResponse) - public async System.Threading.Tasks.Task> JournalEntriesUpdateWithHttpInfoAsync(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateInvoiceItemsResponse) + public async System.Threading.Tasks.Task> InvoiceItemsUpdateWithHttpInfoAsync(string id, InvoiceItem invoiceItem, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoiceItemsUpdate"); } - // verify the required parameter 'journalEntry' is set - if (journalEntry == null) + // verify the required parameter 'invoiceItem' is set + if (invoiceItem == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoiceItem' when calling AccountingApi->InvoiceItemsUpdate"); } @@ -13848,7 +14727,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = journalEntry; + localVarRequestOptions.Data = invoiceItem; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -13857,11 +14736,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/invoice-items/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("JournalEntriesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoiceItemsUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -13872,37 +14751,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Ledger Account Create Ledger Account + /// Create Invoice Create Invoice /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateLedgerAccountResponse - public CreateLedgerAccountResponse LedgerAccountsAdd(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateInvoiceResponse + public CreateInvoiceResponse InvoicesAdd(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = LedgerAccountsAddWithHttpInfo(ledgerAccount, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = InvoicesAddWithHttpInfo(invoice, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Ledger Account Create Ledger Account + /// Create Invoice Create Invoice /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateLedgerAccountResponse - public Apideck.Client.ApiResponse LedgerAccountsAddWithHttpInfo(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateInvoiceResponse + public Apideck.Client.ApiResponse InvoicesAddWithHttpInfo(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'ledgerAccount' is set - if (ledgerAccount == null) + // verify the required parameter 'invoice' is set + if (invoice == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -13944,7 +14823,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = ledgerAccount; + localVarRequestOptions.Data = invoice; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -13953,10 +14832,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/invoices", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -13967,39 +14846,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Ledger Account Create Ledger Account + /// Create Invoice Create Invoice /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateLedgerAccountResponse - public async System.Threading.Tasks.Task LedgerAccountsAddAsync(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateInvoiceResponse + public async System.Threading.Tasks.Task InvoicesAddAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsAddWithHttpInfoAsync(ledgerAccount, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoicesAddWithHttpInfoAsync(invoice, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Ledger Account Create Ledger Account + /// Create Invoice Create Invoice /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateLedgerAccountResponse) - public async System.Threading.Tasks.Task> LedgerAccountsAddWithHttpInfoAsync(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateInvoiceResponse) + public async System.Threading.Tasks.Task> InvoicesAddWithHttpInfoAsync(Invoice invoice, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'ledgerAccount' is set - if (ledgerAccount == null) + // verify the required parameter 'invoice' is set + if (invoice == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesAdd"); } @@ -14042,7 +14921,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = ledgerAccount; + localVarRequestOptions.Data = invoice; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -14051,11 +14930,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/invoices", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -14066,7 +14945,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Ledger Accounts List Ledger Accounts + /// List Invoices List Invoices /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -14079,15 +14958,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetLedgerAccountsResponse - public GetLedgerAccountsResponse LedgerAccountsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetInvoicesResponse + public GetInvoicesResponse InvoicesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = LedgerAccountsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = InvoicesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Ledger Accounts List Ledger Accounts + /// List Invoices List Invoices /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -14100,8 +14979,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetLedgerAccountsResponse - public Apideck.Client.ApiResponse LedgerAccountsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetInvoicesResponse + public Apideck.Client.ApiResponse InvoicesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -14143,6 +15022,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); } + if (filter.CreatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[created_since]", filter.CreatedSince)); + } + if (filter.Number != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[number]", filter.Number)); + } } if (sort != null) { @@ -14186,10 +15073,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/invoices", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -14200,7 +15087,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Ledger Accounts List Ledger Accounts + /// List Invoices List Invoices /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -14214,15 +15101,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetLedgerAccountsResponse - public async System.Threading.Tasks.Task LedgerAccountsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetInvoicesResponse + public async System.Threading.Tasks.Task InvoicesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoicesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Ledger Accounts List Ledger Accounts + /// List Invoices List Invoices /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -14236,8 +15123,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetLedgerAccountsResponse) - public async System.Threading.Tasks.Task> LedgerAccountsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetInvoicesResponse) + public async System.Threading.Tasks.Task> InvoicesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), InvoicesFilter filter = default(InvoicesFilter), InvoicesSort sort = default(InvoicesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -14310,11 +15197,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoices", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -14325,7 +15212,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Ledger Account Delete Ledger Account + /// Delete Invoice Delete Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14333,15 +15220,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteLedgerAccountResponse - public DeleteLedgerAccountResponse LedgerAccountsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteInvoiceResponse + public DeleteInvoiceResponse InvoicesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = LedgerAccountsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = InvoicesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Ledger Account Delete Ledger Account + /// Delete Invoice Delete Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14349,13 +15236,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteLedgerAccountResponse - public Apideck.Client.ApiResponse LedgerAccountsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteInvoiceResponse + public Apideck.Client.ApiResponse InvoicesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -14405,10 +15292,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -14419,7 +15306,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Ledger Account Delete Ledger Account + /// Delete Invoice Delete Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14428,15 +15315,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteLedgerAccountResponse - public async System.Threading.Tasks.Task LedgerAccountsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteInvoiceResponse + public async System.Threading.Tasks.Task InvoicesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoicesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Ledger Account Delete Ledger Account + /// Delete Invoice Delete Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14445,13 +15332,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteLedgerAccountResponse) - public async System.Threading.Tasks.Task> LedgerAccountsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteInvoiceResponse) + public async System.Threading.Tasks.Task> InvoicesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesDelete"); } @@ -14502,11 +15389,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -14517,7 +15404,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Ledger Account Get Ledger Account + /// Get Invoice Get Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14526,15 +15413,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetLedgerAccountResponse - public GetLedgerAccountResponse LedgerAccountsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetInvoiceResponse + public GetInvoiceResponse InvoicesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = LedgerAccountsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = InvoicesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Ledger Account Get Ledger Account + /// Get Invoice Get Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14543,13 +15430,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetLedgerAccountResponse - public Apideck.Client.ApiResponse LedgerAccountsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetInvoiceResponse + public Apideck.Client.ApiResponse InvoicesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -14603,10 +15490,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -14617,7 +15504,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Ledger Account Get Ledger Account + /// Get Invoice Get Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14627,15 +15514,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetLedgerAccountResponse - public async System.Threading.Tasks.Task LedgerAccountsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetInvoiceResponse + public async System.Threading.Tasks.Task InvoicesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoicesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Ledger Account Get Ledger Account + /// Get Invoice Get Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -14645,13 +15532,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetLedgerAccountResponse) - public async System.Threading.Tasks.Task> LedgerAccountsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetInvoiceResponse) + public async System.Threading.Tasks.Task> InvoicesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesOne"); } @@ -14706,11 +15593,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -14721,45 +15608,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Ledger Account Update Ledger Account + /// Update Invoice Update Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateLedgerAccountResponse - public UpdateLedgerAccountResponse LedgerAccountsUpdate(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateInvoiceResponse + public UpdateInvoiceResponse InvoicesUpdate(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = LedgerAccountsUpdateWithHttpInfo(id, ledgerAccount, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = InvoicesUpdateWithHttpInfo(id, invoice, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Ledger Account Update Ledger Account + /// Update Invoice Update Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateLedgerAccountResponse - public Apideck.Client.ApiResponse LedgerAccountsUpdateWithHttpInfo(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateInvoiceResponse + public Apideck.Client.ApiResponse InvoicesUpdateWithHttpInfo(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesUpdate"); } - // verify the required parameter 'ledgerAccount' is set - if (ledgerAccount == null) + // verify the required parameter 'invoice' is set + if (invoice == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -14802,7 +15689,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = ledgerAccount; + localVarRequestOptions.Data = invoice; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -14811,10 +15698,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -14825,47 +15712,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Ledger Account Update Ledger Account + /// Update Invoice Update Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateLedgerAccountResponse - public async System.Threading.Tasks.Task LedgerAccountsUpdateAsync(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateInvoiceResponse + public async System.Threading.Tasks.Task InvoicesUpdateAsync(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsUpdateWithHttpInfoAsync(id, ledgerAccount, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await InvoicesUpdateWithHttpInfoAsync(id, invoice, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Ledger Account Update Ledger Account + /// Update Invoice Update Invoice /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateLedgerAccountResponse) - public async System.Threading.Tasks.Task> LedgerAccountsUpdateWithHttpInfoAsync(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateInvoiceResponse) + public async System.Threading.Tasks.Task> InvoicesUpdateWithHttpInfoAsync(string id, Invoice invoice, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->InvoicesUpdate"); } - // verify the required parameter 'ledgerAccount' is set - if (ledgerAccount == null) + // verify the required parameter 'invoice' is set + if (invoice == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'invoice' when calling AccountingApi->InvoicesUpdate"); } @@ -14909,7 +15796,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = ledgerAccount; + localVarRequestOptions.Data = invoice; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -14918,11 +15805,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/invoices/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LedgerAccountsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("InvoicesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -14933,37 +15820,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Location Create Location + /// Create Journal Entry Create Journal Entry /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateAccountingLocationResponse - public CreateAccountingLocationResponse LocationsAdd(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateJournalEntryResponse + public CreateJournalEntryResponse JournalEntriesAdd(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = LocationsAddWithHttpInfo(accountingLocation, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = JournalEntriesAddWithHttpInfo(journalEntry, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Location Create Location + /// Create Journal Entry Create Journal Entry /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateAccountingLocationResponse - public Apideck.Client.ApiResponse LocationsAddWithHttpInfo(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateJournalEntryResponse + public Apideck.Client.ApiResponse JournalEntriesAddWithHttpInfo(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'accountingLocation' is set - if (accountingLocation == null) + // verify the required parameter 'journalEntry' is set + if (journalEntry == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -15005,7 +15892,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingLocation; + localVarRequestOptions.Data = journalEntry; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -15014,10 +15901,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/locations", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/journal-entries", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -15028,39 +15915,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Location Create Location + /// Create Journal Entry Create Journal Entry /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateAccountingLocationResponse - public async System.Threading.Tasks.Task LocationsAddAsync(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateJournalEntryResponse + public async System.Threading.Tasks.Task JournalEntriesAddAsync(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LocationsAddWithHttpInfoAsync(accountingLocation, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await JournalEntriesAddWithHttpInfoAsync(journalEntry, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Location Create Location + /// Create Journal Entry Create Journal Entry /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateAccountingLocationResponse) - public async System.Threading.Tasks.Task> LocationsAddWithHttpInfoAsync(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateJournalEntryResponse) + public async System.Threading.Tasks.Task> JournalEntriesAddWithHttpInfoAsync(JournalEntry journalEntry, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'accountingLocation' is set - if (accountingLocation == null) + // verify the required parameter 'journalEntry' is set + if (journalEntry == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesAdd"); } @@ -15103,7 +15990,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingLocation; + localVarRequestOptions.Data = journalEntry; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -15112,11 +15999,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/locations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/journal-entries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -15127,7 +16014,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Locations List Locations + /// List Journal Entries List Journal Entries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -15136,17 +16023,19 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) - /// GetAccountingLocationsResponse - public GetAccountingLocationsResponse LocationsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter)) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetJournalEntriesResponse + public GetJournalEntriesResponse JournalEntriesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = LocationsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); + Apideck.Client.ApiResponse localVarResponse = JournalEntriesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Locations List Locations + /// List Journal Entries List Journal Entries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -15155,10 +16044,12 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) - /// ApiResponse of GetAccountingLocationsResponse - public Apideck.Client.ApiResponse LocationsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter)) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetJournalEntriesResponse + public Apideck.Client.ApiResponse JournalEntriesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -15194,17 +16085,35 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (fields != null) + if (filter != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + if (filter.UpdatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + } } - if (filter != null) + if (sort != null) { - if (filter.Subsidiary != null) + if (sort.By != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[subsidiary]", filter.Subsidiary)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + } + if (sort.Direction != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + } + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); } } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -15225,10 +16134,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/locations", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/journal-entries", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -15239,7 +16148,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Locations List Locations + /// List Journal Entries List Journal Entries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -15248,18 +16157,20 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of GetAccountingLocationsResponse - public async System.Threading.Tasks.Task LocationsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetJournalEntriesResponse + public async System.Threading.Tasks.Task JournalEntriesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LocationsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, fields, filter, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await JournalEntriesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Locations List Locations + /// List Journal Entries List Journal Entries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -15268,11 +16179,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// 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) /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetAccountingLocationsResponse) - public async System.Threading.Tasks.Task> LocationsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetJournalEntriesResponse) + public async System.Threading.Tasks.Task> JournalEntriesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), JournalEntriesFilter filter = default(JournalEntriesFilter), JournalEntriesSort sort = default(JournalEntriesSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -15309,14 +16222,22 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (filter != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -15337,11 +16258,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/locations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/journal-entries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -15352,7 +16273,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Location Delete Location + /// Delete Journal Entry Delete Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15360,15 +16281,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteAccountingLocationResponse - public DeleteAccountingLocationResponse LocationsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteJournalEntryResponse + public DeleteJournalEntryResponse JournalEntriesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = LocationsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = JournalEntriesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Location Delete Location + /// Delete Journal Entry Delete Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15376,13 +16297,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteAccountingLocationResponse - public Apideck.Client.ApiResponse LocationsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteJournalEntryResponse + public Apideck.Client.ApiResponse JournalEntriesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -15432,10 +16353,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/locations/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -15446,7 +16367,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Location Delete Location + /// Delete Journal Entry Delete Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15455,15 +16376,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteAccountingLocationResponse - public async System.Threading.Tasks.Task LocationsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteJournalEntryResponse + public async System.Threading.Tasks.Task JournalEntriesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LocationsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await JournalEntriesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Location Delete Location + /// Delete Journal Entry Delete Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15472,13 +16393,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteAccountingLocationResponse) - public async System.Threading.Tasks.Task> LocationsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteJournalEntryResponse) + public async System.Threading.Tasks.Task> JournalEntriesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesDelete"); } @@ -15529,11 +16450,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/locations/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -15544,7 +16465,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Location Get Location + /// Get Journal Entry Get Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15553,15 +16474,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetAccountingLocationResponse - public GetAccountingLocationResponse LocationsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetJournalEntryResponse + public GetJournalEntryResponse JournalEntriesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = LocationsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = JournalEntriesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Location Get Location + /// Get Journal Entry Get Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15570,13 +16491,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetAccountingLocationResponse - public Apideck.Client.ApiResponse LocationsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetJournalEntryResponse + public Apideck.Client.ApiResponse JournalEntriesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -15630,10 +16551,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/locations/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -15644,7 +16565,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Location Get Location + /// Get Journal Entry Get Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15654,15 +16575,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetAccountingLocationResponse - public async System.Threading.Tasks.Task LocationsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetJournalEntryResponse + public async System.Threading.Tasks.Task JournalEntriesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LocationsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await JournalEntriesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Location Get Location + /// Get Journal Entry Get Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -15672,13 +16593,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetAccountingLocationResponse) - public async System.Threading.Tasks.Task> LocationsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetJournalEntryResponse) + public async System.Threading.Tasks.Task> JournalEntriesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesOne"); } @@ -15733,11 +16654,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/locations/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -15748,45 +16669,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Location Update Location + /// Update Journal Entry Update Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateAccountingLocationResponse - public UpdateAccountingLocationResponse LocationsUpdate(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateJournalEntryResponse + public UpdateJournalEntryResponse JournalEntriesUpdate(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = LocationsUpdateWithHttpInfo(id, accountingLocation, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = JournalEntriesUpdateWithHttpInfo(id, journalEntry, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Location Update Location + /// Update Journal Entry Update Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateAccountingLocationResponse - public Apideck.Client.ApiResponse LocationsUpdateWithHttpInfo(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateJournalEntryResponse + public Apideck.Client.ApiResponse JournalEntriesUpdateWithHttpInfo(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesUpdate"); } - // verify the required parameter 'accountingLocation' is set - if (accountingLocation == null) + // verify the required parameter 'journalEntry' is set + if (journalEntry == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -15829,7 +16750,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingLocation; + localVarRequestOptions.Data = journalEntry; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -15838,10 +16759,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/locations/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -15852,47 +16773,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Location Update Location + /// Update Journal Entry Update Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateAccountingLocationResponse - public async System.Threading.Tasks.Task LocationsUpdateAsync(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateJournalEntryResponse + public async System.Threading.Tasks.Task JournalEntriesUpdateAsync(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await LocationsUpdateWithHttpInfoAsync(id, accountingLocation, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await JournalEntriesUpdateWithHttpInfoAsync(id, journalEntry, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Location Update Location + /// Update Journal Entry Update Journal Entry /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateAccountingLocationResponse) - public async System.Threading.Tasks.Task> LocationsUpdateWithHttpInfoAsync(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateJournalEntryResponse) + public async System.Threading.Tasks.Task> JournalEntriesUpdateWithHttpInfoAsync(string id, JournalEntry journalEntry, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->JournalEntriesUpdate"); } - // verify the required parameter 'accountingLocation' is set - if (accountingLocation == null) + // verify the required parameter 'journalEntry' is set + if (journalEntry == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'journalEntry' when calling AccountingApi->JournalEntriesUpdate"); } @@ -15936,7 +16857,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = accountingLocation; + localVarRequestOptions.Data = journalEntry; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -15945,11 +16866,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/locations/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/journal-entries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("LocationsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("JournalEntriesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -15960,37 +16881,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Payment Create Payment + /// Create Ledger Account Create Ledger Account /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreatePaymentResponse - public CreatePaymentResponse PaymentsAdd(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateLedgerAccountResponse + public CreateLedgerAccountResponse LedgerAccountsAdd(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = PaymentsAddWithHttpInfo(payment, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = LedgerAccountsAddWithHttpInfo(ledgerAccount, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Payment Create Payment + /// Create Ledger Account Create Ledger Account /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreatePaymentResponse - public Apideck.Client.ApiResponse PaymentsAddWithHttpInfo(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateLedgerAccountResponse + public Apideck.Client.ApiResponse LedgerAccountsAddWithHttpInfo(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'payment' is set - if (payment == null) + // verify the required parameter 'ledgerAccount' is set + if (ledgerAccount == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -16032,7 +16953,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = payment; + localVarRequestOptions.Data = ledgerAccount; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -16041,10 +16962,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/payments", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("LedgerAccountsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -16055,39 +16976,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Payment Create Payment + /// Create Ledger Account Create Ledger Account /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreatePaymentResponse - public async System.Threading.Tasks.Task PaymentsAddAsync(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateLedgerAccountResponse + public async System.Threading.Tasks.Task LedgerAccountsAddAsync(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PaymentsAddWithHttpInfoAsync(payment, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsAddWithHttpInfoAsync(ledgerAccount, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Payment Create Payment + /// Create Ledger Account Create Ledger Account /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreatePaymentResponse) - public async System.Threading.Tasks.Task> PaymentsAddWithHttpInfoAsync(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateLedgerAccountResponse) + public async System.Threading.Tasks.Task> LedgerAccountsAddWithHttpInfoAsync(LedgerAccount ledgerAccount, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'payment' is set - if (payment == null) + // verify the required parameter 'ledgerAccount' is set + if (ledgerAccount == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsAdd"); } @@ -16130,7 +17051,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = payment; + localVarRequestOptions.Data = ledgerAccount; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -16139,11 +17060,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/payments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("LedgerAccountsAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -16154,7 +17075,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Payments List Payments + /// List Ledger Accounts List Ledger Accounts /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -16167,15 +17088,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetPaymentsResponse - public GetPaymentsResponse PaymentsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetLedgerAccountsResponse + public GetLedgerAccountsResponse LedgerAccountsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = PaymentsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = LedgerAccountsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Payments List Payments + /// List Ledger Accounts List Ledger Accounts /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -16188,8 +17109,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetPaymentsResponse - public Apideck.Client.ApiResponse PaymentsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetLedgerAccountsResponse + public Apideck.Client.ApiResponse LedgerAccountsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -16274,10 +17195,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/payments", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("LedgerAccountsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -16288,7 +17209,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Payments List Payments + /// List Ledger Accounts List Ledger Accounts /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -16302,15 +17223,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetPaymentsResponse - public async System.Threading.Tasks.Task PaymentsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetLedgerAccountsResponse + public async System.Threading.Tasks.Task LedgerAccountsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PaymentsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Payments List Payments + /// List Ledger Accounts List Ledger Accounts /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -16324,8 +17245,8 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetPaymentsResponse) - public async System.Threading.Tasks.Task> PaymentsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetLedgerAccountsResponse) + public async System.Threading.Tasks.Task> LedgerAccountsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), LedgerAccountsFilter filter = default(LedgerAccountsFilter), LedgerAccountsSort sort = default(LedgerAccountsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -16398,11 +17319,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/payments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/ledger-accounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsAll", localVarResponse); + Exception _exception = this.ExceptionFactory("LedgerAccountsAll", localVarResponse); if (_exception != null) { throw _exception; @@ -16413,7 +17334,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Payment Delete Payment + /// Delete Ledger Account Delete Ledger Account /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16421,15 +17342,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeletePaymentResponse - public DeletePaymentResponse PaymentsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteLedgerAccountResponse + public DeleteLedgerAccountResponse LedgerAccountsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = PaymentsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = LedgerAccountsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Payment Delete Payment + /// Delete Ledger Account Delete Ledger Account /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16437,13 +17358,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeletePaymentResponse - public Apideck.Client.ApiResponse PaymentsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteLedgerAccountResponse + public Apideck.Client.ApiResponse LedgerAccountsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -16493,10 +17414,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/payments/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("LedgerAccountsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -16507,7 +17428,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Payment Delete Payment + /// Delete Ledger Account Delete Ledger Account /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16516,15 +17437,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeletePaymentResponse - public async System.Threading.Tasks.Task PaymentsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteLedgerAccountResponse + public async System.Threading.Tasks.Task LedgerAccountsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PaymentsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Payment Delete Payment + /// Delete Ledger Account Delete Ledger Account /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16533,13 +17454,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeletePaymentResponse) - public async System.Threading.Tasks.Task> PaymentsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteLedgerAccountResponse) + public async System.Threading.Tasks.Task> LedgerAccountsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsDelete"); } @@ -16590,11 +17511,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("LedgerAccountsDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -16605,7 +17526,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Payment Get Payment + /// Get Ledger Account Get Ledger Account /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16614,15 +17535,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetPaymentResponse - public GetPaymentResponse PaymentsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetLedgerAccountResponse + public GetLedgerAccountResponse LedgerAccountsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = PaymentsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = LedgerAccountsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Payment Get Payment + /// Get Ledger Account Get Ledger Account /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16631,13 +17552,3184 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetPaymentResponse - public Apideck.Client.ApiResponse PaymentsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetLedgerAccountResponse + public Apideck.Client.ApiResponse LedgerAccountsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsOne"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LedgerAccountsOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Ledger Account Get Ledger Account + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetLedgerAccountResponse + public async System.Threading.Tasks.Task LedgerAccountsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Get Ledger Account Get Ledger Account + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetLedgerAccountResponse) + public async System.Threading.Tasks.Task> LedgerAccountsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsOne"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LedgerAccountsOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Update Ledger Account Update Ledger Account + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdateLedgerAccountResponse + public UpdateLedgerAccountResponse LedgerAccountsUpdate(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + Apideck.Client.ApiResponse localVarResponse = LedgerAccountsUpdateWithHttpInfo(id, ledgerAccount, consumerId, appId, serviceId, raw); + return localVarResponse.Data; + } + + /// + /// Update Ledger Account Update Ledger Account + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdateLedgerAccountResponse + public Apideck.Client.ApiResponse LedgerAccountsUpdateWithHttpInfo(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsUpdate"); + } + + // verify the required parameter 'ledgerAccount' is set + if (ledgerAccount == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsUpdate"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = ledgerAccount; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Patch("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LedgerAccountsUpdate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Update Ledger Account Update Ledger Account + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of UpdateLedgerAccountResponse + public async System.Threading.Tasks.Task LedgerAccountsUpdateAsync(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LedgerAccountsUpdateWithHttpInfoAsync(id, ledgerAccount, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Update Ledger Account Update Ledger Account + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (UpdateLedgerAccountResponse) + public async System.Threading.Tasks.Task> LedgerAccountsUpdateWithHttpInfoAsync(string id, LedgerAccount ledgerAccount, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LedgerAccountsUpdate"); + } + + // verify the required parameter 'ledgerAccount' is set + if (ledgerAccount == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'ledgerAccount' when calling AccountingApi->LedgerAccountsUpdate"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = ledgerAccount; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/ledger-accounts/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LedgerAccountsUpdate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Create Location Create Location + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// CreateAccountingLocationResponse + public CreateAccountingLocationResponse LocationsAdd(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = LocationsAddWithHttpInfo(accountingLocation, raw, consumerId, appId, serviceId); + return localVarResponse.Data; + } + + /// + /// Create Location Create Location + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// ApiResponse of CreateAccountingLocationResponse + public Apideck.Client.ApiResponse LocationsAddWithHttpInfo(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + { + // verify the required parameter 'accountingLocation' is set + if (accountingLocation == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsAdd"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = accountingLocation; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Post("/accounting/locations", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsAdd", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Create Location Create Location + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of CreateAccountingLocationResponse + public async System.Threading.Tasks.Task LocationsAddAsync(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LocationsAddWithHttpInfoAsync(accountingLocation, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Create Location Create Location + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (CreateAccountingLocationResponse) + public async System.Threading.Tasks.Task> LocationsAddWithHttpInfoAsync(AccountingLocation accountingLocation, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'accountingLocation' is set + if (accountingLocation == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsAdd"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = accountingLocation; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/locations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsAdd", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Locations List Locations + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// 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) + /// Apply filters (optional) + /// GetAccountingLocationsResponse + public GetAccountingLocationsResponse LocationsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter)) + { + Apideck.Client.ApiResponse localVarResponse = LocationsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, fields, filter); + return localVarResponse.Data; + } + + /// + /// List Locations List Locations + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// 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) + /// Apply filters (optional) + /// ApiResponse of GetAccountingLocationsResponse + public Apideck.Client.ApiResponse LocationsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter)) + { + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (filter != null) + { + if (filter.Subsidiary != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[subsidiary]", filter.Subsidiary)); + } + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/locations", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsAll", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Locations List Locations + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// 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) + /// Apply filters (optional) + /// Cancellation Token to cancel the request. + /// Task of GetAccountingLocationsResponse + public async System.Threading.Tasks.Task LocationsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LocationsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, fields, filter, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// List Locations List Locations + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// 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) + /// Apply filters (optional) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetAccountingLocationsResponse) + public async System.Threading.Tasks.Task> LocationsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), AccountingLocationsFilter filter = default(AccountingLocationsFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/locations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsAll", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Delete Location Delete Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeleteAccountingLocationResponse + public DeleteAccountingLocationResponse LocationsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + Apideck.Client.ApiResponse localVarResponse = LocationsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + return localVarResponse.Data; + } + + /// + /// Delete Location Delete Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeleteAccountingLocationResponse + public Apideck.Client.ApiResponse LocationsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsDelete"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Delete("/accounting/locations/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsDelete", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Delete Location Delete Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of DeleteAccountingLocationResponse + public async System.Threading.Tasks.Task LocationsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LocationsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Delete Location Delete Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (DeleteAccountingLocationResponse) + public async System.Threading.Tasks.Task> LocationsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsDelete"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/locations/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsDelete", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Location Get Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// GetAccountingLocationResponse + public GetAccountingLocationResponse LocationsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = LocationsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + return localVarResponse.Data; + } + + /// + /// Get Location Get Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// ApiResponse of GetAccountingLocationResponse + public Apideck.Client.ApiResponse LocationsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsOne"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/locations/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Location Get Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetAccountingLocationResponse + public async System.Threading.Tasks.Task LocationsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LocationsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Get Location Get Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetAccountingLocationResponse) + public async System.Threading.Tasks.Task> LocationsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsOne"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/locations/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Update Location Update Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdateAccountingLocationResponse + public UpdateAccountingLocationResponse LocationsUpdate(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + Apideck.Client.ApiResponse localVarResponse = LocationsUpdateWithHttpInfo(id, accountingLocation, consumerId, appId, serviceId, raw); + return localVarResponse.Data; + } + + /// + /// Update Location Update Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdateAccountingLocationResponse + public Apideck.Client.ApiResponse LocationsUpdateWithHttpInfo(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsUpdate"); + } + + // verify the required parameter 'accountingLocation' is set + if (accountingLocation == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsUpdate"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = accountingLocation; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Patch("/accounting/locations/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsUpdate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Update Location Update Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of UpdateAccountingLocationResponse + public async System.Threading.Tasks.Task LocationsUpdateAsync(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await LocationsUpdateWithHttpInfoAsync(id, accountingLocation, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Update Location Update Location + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (UpdateAccountingLocationResponse) + public async System.Threading.Tasks.Task> LocationsUpdateWithHttpInfoAsync(string id, AccountingLocation accountingLocation, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->LocationsUpdate"); + } + + // verify the required parameter 'accountingLocation' is set + if (accountingLocation == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'accountingLocation' when calling AccountingApi->LocationsUpdate"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = accountingLocation; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/locations/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("LocationsUpdate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Create Payment Create Payment + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// CreatePaymentResponse + public CreatePaymentResponse PaymentsAdd(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = PaymentsAddWithHttpInfo(payment, raw, consumerId, appId, serviceId); + return localVarResponse.Data; + } + + /// + /// Create Payment Create Payment + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// ApiResponse of CreatePaymentResponse + public Apideck.Client.ApiResponse PaymentsAddWithHttpInfo(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + { + // verify the required parameter 'payment' is set + if (payment == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsAdd"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = payment; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Post("/accounting/payments", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsAdd", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Create Payment Create Payment + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of CreatePaymentResponse + public async System.Threading.Tasks.Task PaymentsAddAsync(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PaymentsAddWithHttpInfoAsync(payment, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Create Payment Create Payment + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (CreatePaymentResponse) + public async System.Threading.Tasks.Task> PaymentsAddWithHttpInfoAsync(Payment payment, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'payment' is set + if (payment == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsAdd"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = payment; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/payments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsAdd", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Payments List Payments + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetPaymentsResponse + public GetPaymentsResponse PaymentsAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = PaymentsAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + return localVarResponse.Data; + } + + /// + /// List Payments List Payments + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetPaymentsResponse + public Apideck.Client.ApiResponse PaymentsAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + { + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (filter != null) + { + if (filter.UpdatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + } + } + if (sort != null) + { + if (sort.By != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + } + if (sort.Direction != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + } + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + } + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/payments", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsAll", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Payments List Payments + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetPaymentsResponse + public async System.Threading.Tasks.Task PaymentsAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PaymentsAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// List Payments List Payments + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetPaymentsResponse) + public async System.Threading.Tasks.Task> PaymentsAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PaymentsFilter filter = default(PaymentsFilter), PaymentsSort sort = default(PaymentsSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/payments", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsAll", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Delete Payment Delete Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeletePaymentResponse + public DeletePaymentResponse PaymentsDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + Apideck.Client.ApiResponse localVarResponse = PaymentsDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + return localVarResponse.Data; + } + + /// + /// Delete Payment Delete Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeletePaymentResponse + public Apideck.Client.ApiResponse PaymentsDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsDelete"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Delete("/accounting/payments/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsDelete", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Delete Payment Delete Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of DeletePaymentResponse + public async System.Threading.Tasks.Task PaymentsDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PaymentsDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Delete Payment Delete Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (DeletePaymentResponse) + public async System.Threading.Tasks.Task> PaymentsDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsDelete"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsDelete", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Payment Get Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// GetPaymentResponse + public GetPaymentResponse PaymentsOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = PaymentsOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + return localVarResponse.Data; + } + + /// + /// Get Payment Get Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// ApiResponse of GetPaymentResponse + public Apideck.Client.ApiResponse PaymentsOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsOne"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/payments/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Payment Get Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetPaymentResponse + public async System.Threading.Tasks.Task PaymentsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PaymentsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Get Payment Get Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetPaymentResponse) + public async System.Threading.Tasks.Task> PaymentsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsOne"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Update Payment Update Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdatePaymentResponse + public UpdatePaymentResponse PaymentsUpdate(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + Apideck.Client.ApiResponse localVarResponse = PaymentsUpdateWithHttpInfo(id, payment, consumerId, appId, serviceId, raw); + return localVarResponse.Data; + } + + /// + /// Update Payment Update Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdatePaymentResponse + public Apideck.Client.ApiResponse PaymentsUpdateWithHttpInfo(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsUpdate"); + } + + // verify the required parameter 'payment' is set + if (payment == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsUpdate"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = payment; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Patch("/accounting/payments/{id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsUpdate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Update Payment Update Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of UpdatePaymentResponse + public async System.Threading.Tasks.Task PaymentsUpdateAsync(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PaymentsUpdateWithHttpInfoAsync(id, payment, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Update Payment Update Payment + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (UpdatePaymentResponse) + public async System.Threading.Tasks.Task> PaymentsUpdateWithHttpInfoAsync(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsUpdate"); + } + + // verify the required parameter 'payment' is set + if (payment == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsUpdate"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = payment; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PaymentsUpdate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Profit and Loss Get Profit and Loss + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// GetProfitAndLossResponse + public GetProfitAndLossResponse ProfitAndLossOne(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = ProfitAndLossOneWithHttpInfo(raw, consumerId, appId, serviceId, filter, passThrough, fields); + return localVarResponse.Data; + } + + /// + /// Get Profit and Loss Get Profit and Loss + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// ApiResponse of GetProfitAndLossResponse + public Apideck.Client.ApiResponse ProfitAndLossOneWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + { + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (filter != null) + { + if (filter.CustomerId != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[customer_id]", filter.CustomerId)); + } + if (filter.StartDate != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[start_date]", filter.StartDate)); + } + if (filter.EndDate != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[end_date]", filter.EndDate)); + } + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + } + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/profit-and-loss", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ProfitAndLossOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Profit and Loss Get Profit and Loss + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of GetProfitAndLossResponse + public async System.Threading.Tasks.Task ProfitAndLossOneAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await ProfitAndLossOneWithHttpInfoAsync(raw, consumerId, appId, serviceId, filter, passThrough, fields, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Get Profit and Loss Get Profit and Loss + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetProfitAndLossResponse) + public async System.Threading.Tasks.Task> ProfitAndLossOneWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/profit-and-loss", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ProfitAndLossOne", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Create Purchase Order Create Purchase Order + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// CreatePurchaseOrderResponse + public CreatePurchaseOrderResponse PurchaseOrdersAdd(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + { + Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersAddWithHttpInfo(purchaseOrder, raw, consumerId, appId, serviceId); + return localVarResponse.Data; + } + + /// + /// Create Purchase Order Create Purchase Order + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// ApiResponse of CreatePurchaseOrderResponse + public Apideck.Client.ApiResponse PurchaseOrdersAddWithHttpInfo(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + { + // verify the required parameter 'purchaseOrder' is set + if (purchaseOrder == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersAdd"); + } + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = purchaseOrder; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Post("/accounting/purchase-orders", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PurchaseOrdersAdd", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Create Purchase Order Create Purchase Order + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of CreatePurchaseOrderResponse + public async System.Threading.Tasks.Task PurchaseOrdersAddAsync(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersAddWithHttpInfoAsync(purchaseOrder, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Create Purchase Order Create Purchase Order + /// + /// Thrown when fails to make API call + /// + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (CreatePurchaseOrderResponse) + public async System.Threading.Tasks.Task> PurchaseOrdersAddWithHttpInfoAsync(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + // verify the required parameter 'purchaseOrder' is set + if (purchaseOrder == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersAdd"); + } + + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + "application/json" + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + localVarRequestOptions.Data = purchaseOrder; + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/purchase-orders", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PurchaseOrdersAdd", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Purchase Orders List Purchase Orders + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// GetPurchaseOrdersResponse + public GetPurchaseOrdersResponse PurchaseOrdersAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort)) + { + Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, passThrough, limit, filter, sort); + return localVarResponse.Data; + } + + /// + /// List Purchase Orders List Purchase Orders + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// ApiResponse of GetPurchaseOrdersResponse + public Apideck.Client.ApiResponse PurchaseOrdersAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort)) + { + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + } + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (filter != null) + { + if (filter.UpdatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + } + if (filter.SupplierId != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[supplier_id]", filter.SupplierId)); + } + } + if (sort != null) + { + if (sort.By != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + } + if (sort.Direction != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + } + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/accounting/purchase-orders", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PurchaseOrdersAll", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Purchase Orders List Purchase Orders + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Cancellation Token to cancel the request. + /// Task of GetPurchaseOrdersResponse + public async System.Threading.Tasks.Task PurchaseOrdersAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, passThrough, limit, filter, sort, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// List Purchase Orders List Purchase Orders + /// + /// Thrown when fails to make API call + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) + /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetPurchaseOrdersResponse) + public async System.Threading.Tasks.Task> PurchaseOrdersAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = Apideck.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = Apideck.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (raw != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); + } + if (cursor != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } + if (limit != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (consumerId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter + } + if (appId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-app-id", Apideck.Client.ClientUtils.ParameterToString(appId)); // header parameter + } + if (serviceId != null) + { + localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter + } + + // authentication (apiKey) required + if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/purchase-orders", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("PurchaseOrdersAll", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Delete Purchase Order Delete Purchase Order + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// DeletePurchaseOrderResponse + public DeletePurchaseOrderResponse PurchaseOrdersDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + { + Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + return localVarResponse.Data; + } + + /// + /// Delete Purchase Order Delete Purchase Order + /// + /// Thrown when fails to make API call + /// ID of the record you are acting upon. + /// ID of the consumer which you want to get or push data from (optional) + /// The ID of your Unify application (optional) + /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of DeletePurchaseOrderResponse + public Apideck.Client.ApiResponse PurchaseOrdersDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -16667,10 +20759,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -16691,10 +20779,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/payments/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("PurchaseOrdersDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -16705,7 +20793,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Payment Get Payment + /// Delete Purchase Order Delete Purchase Order /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16713,17 +20801,16 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of GetPaymentResponse - public async System.Threading.Tasks.Task PaymentsOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeletePurchaseOrderResponse + public async System.Threading.Tasks.Task PurchaseOrdersDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PaymentsOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Payment Get Payment + /// Delete Purchase Order Delete Purchase Order /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -16731,15 +20818,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetPaymentResponse) - public async System.Threading.Tasks.Task> PaymentsOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeletePurchaseOrderResponse) + public async System.Threading.Tasks.Task> PurchaseOrdersDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersDelete"); } @@ -16770,10 +20856,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -16794,11 +20876,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsOne", localVarResponse); + Exception _exception = this.ExceptionFactory("PurchaseOrdersDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -16809,51 +20891,42 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Payment Update Payment + /// Get Purchase Order Get Purchase Order /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdatePaymentResponse - public UpdatePaymentResponse PaymentsUpdate(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// GetPurchaseOrderResponse + public GetPurchaseOrderResponse PurchaseOrdersOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = PaymentsUpdateWithHttpInfo(id, payment, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersOneWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Payment Update Payment + /// Get Purchase Order Get Purchase Order /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdatePaymentResponse - public Apideck.Client.ApiResponse PaymentsUpdateWithHttpInfo(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of GetPurchaseOrderResponse + public Apideck.Client.ApiResponse PurchaseOrdersOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsUpdate"); - } - - // verify the required parameter 'payment' is set - if (payment == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { - "application/json" }; // to determine the Accept header @@ -16890,7 +20963,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = payment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -16899,10 +20971,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/payments/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("PurchaseOrdersOne", localVarResponse); if (_exception != null) { throw _exception; @@ -16913,54 +20985,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Payment Update Payment + /// Get Purchase Order Get Purchase Order /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdatePaymentResponse - public async System.Threading.Tasks.Task PaymentsUpdateAsync(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetPurchaseOrderResponse + public async System.Threading.Tasks.Task PurchaseOrdersOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PaymentsUpdateWithHttpInfoAsync(id, payment, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Payment Update Payment + /// Get Purchase Order Get Purchase Order /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdatePaymentResponse) - public async System.Threading.Tasks.Task> PaymentsUpdateWithHttpInfoAsync(string id, Payment payment, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetPurchaseOrderResponse) + public async System.Threading.Tasks.Task> PurchaseOrdersOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PaymentsUpdate"); - } - - // verify the required parameter 'payment' is set - if (payment == null) - { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'payment' when calling AccountingApi->PaymentsUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { - "application/json" }; // to determine the Accept header @@ -16997,7 +21060,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = payment; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -17006,11 +21068,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/payments/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PaymentsUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("PurchaseOrdersOne", localVarResponse); if (_exception != null) { throw _exception; @@ -17021,40 +21083,51 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Profit and Loss Get Profit and Loss + /// Update Purchase Order Update Purchase Order /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) - /// GetProfitAndLossResponse - public GetProfitAndLossResponse ProfitAndLossOne(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// UpdatePurchaseOrderResponse + public UpdatePurchaseOrderResponse PurchaseOrdersUpdate(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = ProfitAndLossOneWithHttpInfo(raw, consumerId, appId, serviceId, filter, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersUpdateWithHttpInfo(id, purchaseOrder, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Get Profit and Loss Get Profit and Loss + /// Update Purchase Order Update Purchase Order /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) - /// ApiResponse of GetProfitAndLossResponse - public Apideck.Client.ApiResponse ProfitAndLossOneWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ApiResponse of UpdatePurchaseOrderResponse + public Apideck.Client.ApiResponse PurchaseOrdersUpdateWithHttpInfo(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersUpdate"); + } + + // verify the required parameter 'purchaseOrder' is set + if (purchaseOrder == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersUpdate"); + } + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { + "application/json" }; // to determine the Accept header @@ -17074,36 +21147,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter if (raw != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (filter != null) - { - if (filter.CustomerId != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[customer_id]", filter.CustomerId)); - } - if (filter.StartDate != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[start_date]", filter.StartDate)); - } - if (filter.EndDate != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[end_date]", filter.EndDate)); - } - } - if (passThrough != null) - { - if (passThrough.ExampleDownstreamProperty != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); - } - } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -17116,6 +21164,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } + localVarRequestOptions.Data = purchaseOrder; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -17124,10 +21173,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/profit-and-loss", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("ProfitAndLossOne", localVarResponse); + Exception _exception = this.ExceptionFactory("PurchaseOrdersUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -17138,43 +21187,54 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Profit and Loss Get Profit and Loss + /// Update Purchase Order Update Purchase Order /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of GetProfitAndLossResponse - public async System.Threading.Tasks.Task ProfitAndLossOneAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdatePurchaseOrderResponse + public async System.Threading.Tasks.Task PurchaseOrdersUpdateAsync(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await ProfitAndLossOneWithHttpInfoAsync(raw, consumerId, appId, serviceId, filter, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersUpdateWithHttpInfoAsync(id, purchaseOrder, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Profit and Loss Get Profit and Loss + /// Update Purchase Order Update Purchase Order /// /// Thrown when fails to make API call - /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// ID of the record you are acting upon. + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// Apply filters (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) - /// 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) + /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetProfitAndLossResponse) - public async System.Threading.Tasks.Task> ProfitAndLossOneWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), ProfitAndLossFilter filter = default(ProfitAndLossFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdatePurchaseOrderResponse) + public async System.Threading.Tasks.Task> PurchaseOrdersUpdateWithHttpInfoAsync(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + // verify the required parameter 'id' is set + if (id == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersUpdate"); + } + + // verify the required parameter 'purchaseOrder' is set + if (purchaseOrder == null) + { + throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersUpdate"); + } + Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); string[] _contentTypes = new string[] { + "application/json" }; // to determine the Accept header @@ -17194,22 +21254,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } + localVarRequestOptions.PathParameters.Add("id", Apideck.Client.ClientUtils.ParameterToString(id)); // path parameter if (raw != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } - if (filter != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); - } - if (passThrough != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); - } - if (fields != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); - } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -17222,6 +21271,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } + localVarRequestOptions.Data = purchaseOrder; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -17230,11 +21280,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/profit-and-loss", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("ProfitAndLossOne", localVarResponse); + Exception _exception = this.ExceptionFactory("PurchaseOrdersUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -17245,37 +21295,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Purchase Order Create Purchase Order + /// Create Subsidiary Create Subsidiary /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreatePurchaseOrderResponse - public CreatePurchaseOrderResponse PurchaseOrdersAdd(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateSubsidiaryResponse + public CreateSubsidiaryResponse SubsidiariesAdd(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersAddWithHttpInfo(purchaseOrder, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = SubsidiariesAddWithHttpInfo(subsidiary, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Purchase Order Create Purchase Order + /// Create Subsidiary Create Subsidiary /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreatePurchaseOrderResponse - public Apideck.Client.ApiResponse PurchaseOrdersAddWithHttpInfo(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateSubsidiaryResponse + public Apideck.Client.ApiResponse SubsidiariesAddWithHttpInfo(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'purchaseOrder' is set - if (purchaseOrder == null) + // verify the required parameter 'subsidiary' is set + if (subsidiary == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -17317,7 +21367,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = purchaseOrder; + localVarRequestOptions.Data = subsidiary; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -17326,10 +21376,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/purchase-orders", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/subsidiaries", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -17340,39 +21390,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Purchase Order Create Purchase Order + /// Create Subsidiary Create Subsidiary /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreatePurchaseOrderResponse - public async System.Threading.Tasks.Task PurchaseOrdersAddAsync(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateSubsidiaryResponse + public async System.Threading.Tasks.Task SubsidiariesAddAsync(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersAddWithHttpInfoAsync(purchaseOrder, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SubsidiariesAddWithHttpInfoAsync(subsidiary, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Purchase Order Create Purchase Order + /// Create Subsidiary Create Subsidiary /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreatePurchaseOrderResponse) - public async System.Threading.Tasks.Task> PurchaseOrdersAddWithHttpInfoAsync(PurchaseOrder purchaseOrder, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateSubsidiaryResponse) + public async System.Threading.Tasks.Task> SubsidiariesAddWithHttpInfoAsync(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'purchaseOrder' is set - if (purchaseOrder == null) + // verify the required parameter 'subsidiary' is set + if (subsidiary == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesAdd"); } @@ -17415,7 +21465,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = purchaseOrder; + localVarRequestOptions.Data = subsidiary; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -17424,11 +21474,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/purchase-orders", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/subsidiaries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -17439,7 +21489,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Purchase Orders List Purchase Orders + /// List Subsidiaries List Subsidiaries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -17447,19 +21497,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// GetPurchaseOrdersResponse - public GetPurchaseOrdersResponse PurchaseOrdersAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort)) + /// 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) + /// GetSubsidiariesResponse + public GetSubsidiariesResponse SubsidiariesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, passThrough, limit, filter, sort); + Apideck.Client.ApiResponse localVarResponse = SubsidiariesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, fields); return localVarResponse.Data; } /// - /// List Purchase Orders List Purchase Orders + /// List Subsidiaries List Subsidiaries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -17467,12 +21515,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) - /// ApiResponse of GetPurchaseOrdersResponse - public Apideck.Client.ApiResponse PurchaseOrdersAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort)) + /// 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) + /// ApiResponse of GetSubsidiariesResponse + public Apideck.Client.ApiResponse SubsidiariesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -17504,34 +21550,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); } - if (passThrough != null) - { - if (passThrough.ExampleDownstreamProperty != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); - } - } if (limit != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) - { - if (filter.UpdatedSince != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); - } - } - if (sort != null) + if (fields != null) { - if (sort.By != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); - } - if (sort.Direction != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); - } + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); } if (consumerId != null) { @@ -17553,10 +21578,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/purchase-orders", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/subsidiaries", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersAll", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -17567,7 +21592,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Purchase Orders List Purchase Orders + /// List Subsidiaries List Subsidiaries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -17575,20 +21600,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of GetPurchaseOrdersResponse - public async System.Threading.Tasks.Task PurchaseOrdersAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetSubsidiariesResponse + public async System.Threading.Tasks.Task SubsidiariesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, passThrough, limit, filter, sort, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SubsidiariesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Purchase Orders List Purchase Orders + /// List Subsidiaries List Subsidiaries /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -17596,13 +21619,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) - /// Apply sorting (optional) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetPurchaseOrdersResponse) - public async System.Threading.Tasks.Task> PurchaseOrdersAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), PassThroughQuery passThrough = default(PassThroughQuery), int? limit = default(int?), PurchaseOrdersFilter filter = default(PurchaseOrdersFilter), PurchaseOrdersSort sort = default(PurchaseOrdersSort), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetSubsidiariesResponse) + public async System.Threading.Tasks.Task> SubsidiariesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -17635,21 +21656,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "cursor", cursor)); } - if (passThrough != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); - } if (limit != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); - } - if (sort != null) + if (fields != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); } if (consumerId != null) { @@ -17671,11 +21684,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/purchase-orders", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/subsidiaries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersAll", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -17686,7 +21699,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Purchase Order Delete Purchase Order + /// Delete Subsidiary Delete Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17694,15 +21707,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeletePurchaseOrderResponse - public DeletePurchaseOrderResponse PurchaseOrdersDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteSubsidiaryResponse + public DeleteSubsidiaryResponse SubsidiariesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = SubsidiariesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Purchase Order Delete Purchase Order + /// Delete Subsidiary Delete Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17710,13 +21723,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeletePurchaseOrderResponse - public Apideck.Client.ApiResponse PurchaseOrdersDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteSubsidiaryResponse + public Apideck.Client.ApiResponse SubsidiariesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -17766,10 +21779,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -17780,7 +21793,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Purchase Order Delete Purchase Order + /// Delete Subsidiary Delete Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17789,15 +21802,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeletePurchaseOrderResponse - public async System.Threading.Tasks.Task PurchaseOrdersDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteSubsidiaryResponse + public async System.Threading.Tasks.Task SubsidiariesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SubsidiariesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Purchase Order Delete Purchase Order + /// Delete Subsidiary Delete Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17806,13 +21819,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeletePurchaseOrderResponse) - public async System.Threading.Tasks.Task> PurchaseOrdersDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteSubsidiaryResponse) + public async System.Threading.Tasks.Task> SubsidiariesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesDelete"); } @@ -17863,11 +21876,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -17878,7 +21891,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Purchase Order Get Purchase Order + /// Get Subsidiary Get Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17886,15 +21899,16 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// GetPurchaseOrderResponse - public GetPurchaseOrderResponse PurchaseOrdersOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// 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) + /// GetSubsidiaryResponse + public GetSubsidiaryResponse SubsidiariesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersOneWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = SubsidiariesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Purchase Order Get Purchase Order + /// Get Subsidiary Get Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17902,13 +21916,14 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of GetPurchaseOrderResponse - public Apideck.Client.ApiResponse PurchaseOrdersOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// 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) + /// ApiResponse of GetSubsidiaryResponse + public Apideck.Client.ApiResponse SubsidiariesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -17938,6 +21953,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -17958,10 +21977,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersOne", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -17972,7 +21991,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Purchase Order Get Purchase Order + /// Get Subsidiary Get Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17980,16 +21999,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) /// Cancellation Token to cancel the request. - /// Task of GetPurchaseOrderResponse - public async System.Threading.Tasks.Task PurchaseOrdersOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetSubsidiaryResponse + public async System.Threading.Tasks.Task SubsidiariesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SubsidiariesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Purchase Order Get Purchase Order + /// Get Subsidiary Get Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -17997,14 +22017,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) + /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetPurchaseOrderResponse) - public async System.Threading.Tasks.Task> PurchaseOrdersOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetSubsidiaryResponse) + public async System.Threading.Tasks.Task> SubsidiariesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesOne"); } @@ -18035,6 +22056,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "raw", raw)); } + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -18055,11 +22080,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersOne", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -18070,45 +22095,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Purchase Order Update Purchase Order + /// Update Subsidiary Update Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdatePurchaseOrderResponse - public UpdatePurchaseOrderResponse PurchaseOrdersUpdate(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateSubsidiaryResponse + public UpdateSubsidiaryResponse SubsidiariesUpdate(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = PurchaseOrdersUpdateWithHttpInfo(id, purchaseOrder, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = SubsidiariesUpdateWithHttpInfo(id, subsidiary, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Purchase Order Update Purchase Order + /// Update Subsidiary Update Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdatePurchaseOrderResponse - public Apideck.Client.ApiResponse PurchaseOrdersUpdateWithHttpInfo(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateSubsidiaryResponse + public Apideck.Client.ApiResponse SubsidiariesUpdateWithHttpInfo(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesUpdate"); } - // verify the required parameter 'purchaseOrder' is set - if (purchaseOrder == null) + // verify the required parameter 'subsidiary' is set + if (subsidiary == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -18151,7 +22176,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = purchaseOrder; + localVarRequestOptions.Data = subsidiary; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -18160,10 +22185,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -18174,47 +22199,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Purchase Order Update Purchase Order + /// Update Subsidiary Update Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdatePurchaseOrderResponse - public async System.Threading.Tasks.Task PurchaseOrdersUpdateAsync(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateSubsidiaryResponse + public async System.Threading.Tasks.Task SubsidiariesUpdateAsync(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await PurchaseOrdersUpdateWithHttpInfoAsync(id, purchaseOrder, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SubsidiariesUpdateWithHttpInfoAsync(id, subsidiary, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Purchase Order Update Purchase Order + /// Update Subsidiary Update Subsidiary /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdatePurchaseOrderResponse) - public async System.Threading.Tasks.Task> PurchaseOrdersUpdateWithHttpInfoAsync(string id, PurchaseOrder purchaseOrder, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateSubsidiaryResponse) + public async System.Threading.Tasks.Task> SubsidiariesUpdateWithHttpInfoAsync(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->PurchaseOrdersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesUpdate"); } - // verify the required parameter 'purchaseOrder' is set - if (purchaseOrder == null) + // verify the required parameter 'subsidiary' is set + if (subsidiary == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'purchaseOrder' when calling AccountingApi->PurchaseOrdersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesUpdate"); } @@ -18258,7 +22283,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = purchaseOrder; + localVarRequestOptions.Data = subsidiary; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -18267,11 +22292,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/purchase-orders/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("PurchaseOrdersUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("SubsidiariesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -18282,37 +22307,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Subsidiary Create Subsidiary + /// Create Supplier Create Supplier /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateSubsidiaryResponse - public CreateSubsidiaryResponse SubsidiariesAdd(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateSupplierResponse + public CreateSupplierResponse SuppliersAdd(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = SubsidiariesAddWithHttpInfo(subsidiary, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = SuppliersAddWithHttpInfo(supplier, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Subsidiary Create Subsidiary + /// Create Supplier Create Supplier /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateSubsidiaryResponse - public Apideck.Client.ApiResponse SubsidiariesAddWithHttpInfo(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateSupplierResponse + public Apideck.Client.ApiResponse SuppliersAddWithHttpInfo(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'subsidiary' is set - if (subsidiary == null) + // verify the required parameter 'supplier' is set + if (supplier == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -18354,7 +22379,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = subsidiary; + localVarRequestOptions.Data = supplier; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -18363,10 +22388,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/subsidiaries", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/suppliers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -18377,39 +22402,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Subsidiary Create Subsidiary + /// Create Supplier Create Supplier /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateSubsidiaryResponse - public async System.Threading.Tasks.Task SubsidiariesAddAsync(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateSupplierResponse + public async System.Threading.Tasks.Task SuppliersAddAsync(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SubsidiariesAddWithHttpInfoAsync(subsidiary, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SuppliersAddWithHttpInfoAsync(supplier, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Subsidiary Create Subsidiary + /// Create Supplier Create Supplier /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateSubsidiaryResponse) - public async System.Threading.Tasks.Task> SubsidiariesAddWithHttpInfoAsync(Subsidiary subsidiary, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateSupplierResponse) + public async System.Threading.Tasks.Task> SuppliersAddWithHttpInfoAsync(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'subsidiary' is set - if (subsidiary == null) + // verify the required parameter 'supplier' is set + if (supplier == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersAdd"); } @@ -18452,7 +22477,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = subsidiary; + localVarRequestOptions.Data = supplier; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -18461,11 +22486,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/subsidiaries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/suppliers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -18476,7 +22501,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Subsidiaries List Subsidiaries + /// List Suppliers List Suppliers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -18485,16 +22510,19 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetSubsidiariesResponse - public GetSubsidiariesResponse SubsidiariesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string)) + /// GetSuppliersResponse + public GetSuppliersResponse SuppliersAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = SubsidiariesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, fields); + Apideck.Client.ApiResponse localVarResponse = SuppliersAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); return localVarResponse.Data; } /// - /// List Subsidiaries List Subsidiaries + /// List Suppliers List Suppliers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -18503,9 +22531,12 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetSubsidiariesResponse - public Apideck.Client.ApiResponse SubsidiariesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string)) + /// ApiResponse of GetSuppliersResponse + public Apideck.Client.ApiResponse SuppliersAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -18541,6 +22572,51 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } + if (filter != null) + { + if (filter.CompanyName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[company_name]", filter.CompanyName)); + } + if (filter.DisplayName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[display_name]", filter.DisplayName)); + } + if (filter.FirstName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[first_name]", filter.FirstName)); + } + if (filter.LastName != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[last_name]", filter.LastName)); + } + if (filter.Email != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[email]", filter.Email)); + } + if (filter.UpdatedSince != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + } + } + if (sort != null) + { + if (sort.By != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + } + if (sort.Direction != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + } + } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + } + } if (fields != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); @@ -18565,10 +22641,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/subsidiaries", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/suppliers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersAll", localVarResponse); if (_exception != null) { throw _exception; @@ -18579,7 +22655,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Subsidiaries List Subsidiaries + /// List Suppliers List Suppliers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -18588,17 +22664,20 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetSubsidiariesResponse - public async System.Threading.Tasks.Task SubsidiariesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetSuppliersResponse + public async System.Threading.Tasks.Task SuppliersAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SubsidiariesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SuppliersAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Subsidiaries List Subsidiaries + /// List Suppliers List Suppliers /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -18607,10 +22686,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) + /// Apply filters (optional) + /// Apply sorting (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetSubsidiariesResponse) - public async System.Threading.Tasks.Task> SubsidiariesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetSuppliersResponse) + public async System.Threading.Tasks.Task> SuppliersAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -18647,6 +22729,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } + if (filter != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); + } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } if (fields != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); @@ -18671,11 +22765,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/subsidiaries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/suppliers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersAll", localVarResponse); if (_exception != null) { throw _exception; @@ -18686,7 +22780,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Subsidiary Delete Subsidiary + /// Delete Supplier Delete Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18694,15 +22788,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteSubsidiaryResponse - public DeleteSubsidiaryResponse SubsidiariesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteSupplierResponse + public DeleteSupplierResponse SuppliersDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = SubsidiariesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = SuppliersDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Subsidiary Delete Subsidiary + /// Delete Supplier Delete Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18710,13 +22804,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteSubsidiaryResponse - public Apideck.Client.ApiResponse SubsidiariesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteSupplierResponse + public Apideck.Client.ApiResponse SuppliersDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -18766,10 +22860,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -18780,7 +22874,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Subsidiary Delete Subsidiary + /// Delete Supplier Delete Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18789,15 +22883,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteSubsidiaryResponse - public async System.Threading.Tasks.Task SubsidiariesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteSupplierResponse + public async System.Threading.Tasks.Task SuppliersDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SubsidiariesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SuppliersDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Subsidiary Delete Subsidiary + /// Delete Supplier Delete Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18806,13 +22900,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteSubsidiaryResponse) - public async System.Threading.Tasks.Task> SubsidiariesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteSupplierResponse) + public async System.Threading.Tasks.Task> SuppliersDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersDelete"); } @@ -18863,11 +22957,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -18878,7 +22972,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Subsidiary Get Subsidiary + /// Get Supplier Get Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18887,15 +22981,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetSubsidiaryResponse - public GetSubsidiaryResponse SubsidiariesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetSupplierResponse + public GetSupplierResponse SuppliersOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = SubsidiariesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = SuppliersOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Subsidiary Get Subsidiary + /// Get Supplier Get Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18904,13 +22998,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetSubsidiaryResponse - public Apideck.Client.ApiResponse SubsidiariesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetSupplierResponse + public Apideck.Client.ApiResponse SuppliersOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -18964,10 +23058,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersOne", localVarResponse); if (_exception != null) { throw _exception; @@ -18978,7 +23072,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Subsidiary Get Subsidiary + /// Get Supplier Get Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -18988,15 +23082,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetSubsidiaryResponse - public async System.Threading.Tasks.Task SubsidiariesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetSupplierResponse + public async System.Threading.Tasks.Task SuppliersOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SubsidiariesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SuppliersOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Subsidiary Get Subsidiary + /// Get Supplier Get Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19006,13 +23100,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetSubsidiaryResponse) - public async System.Threading.Tasks.Task> SubsidiariesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetSupplierResponse) + public async System.Threading.Tasks.Task> SuppliersOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersOne"); } @@ -19067,11 +23161,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersOne", localVarResponse); if (_exception != null) { throw _exception; @@ -19082,45 +23176,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Subsidiary Update Subsidiary + /// Update Supplier Update Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateSubsidiaryResponse - public UpdateSubsidiaryResponse SubsidiariesUpdate(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateSupplierResponse + public UpdateSupplierResponse SuppliersUpdate(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = SubsidiariesUpdateWithHttpInfo(id, subsidiary, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = SuppliersUpdateWithHttpInfo(id, supplier, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Subsidiary Update Subsidiary + /// Update Supplier Update Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateSubsidiaryResponse - public Apideck.Client.ApiResponse SubsidiariesUpdateWithHttpInfo(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateSupplierResponse + public Apideck.Client.ApiResponse SuppliersUpdateWithHttpInfo(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersUpdate"); } - // verify the required parameter 'subsidiary' is set - if (subsidiary == null) + // verify the required parameter 'supplier' is set + if (supplier == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -19163,7 +23257,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = subsidiary; + localVarRequestOptions.Data = supplier; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -19172,10 +23266,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -19186,47 +23280,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Subsidiary Update Subsidiary + /// Update Supplier Update Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateSubsidiaryResponse - public async System.Threading.Tasks.Task SubsidiariesUpdateAsync(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateSupplierResponse + public async System.Threading.Tasks.Task SuppliersUpdateAsync(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SubsidiariesUpdateWithHttpInfoAsync(id, subsidiary, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await SuppliersUpdateWithHttpInfoAsync(id, supplier, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Subsidiary Update Subsidiary + /// Update Supplier Update Supplier /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateSubsidiaryResponse) - public async System.Threading.Tasks.Task> SubsidiariesUpdateWithHttpInfoAsync(string id, Subsidiary subsidiary, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateSupplierResponse) + public async System.Threading.Tasks.Task> SuppliersUpdateWithHttpInfoAsync(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SubsidiariesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersUpdate"); } - // verify the required parameter 'subsidiary' is set - if (subsidiary == null) + // verify the required parameter 'supplier' is set + if (supplier == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'subsidiary' when calling AccountingApi->SubsidiariesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersUpdate"); } @@ -19270,7 +23364,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = subsidiary; + localVarRequestOptions.Data = supplier; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -19279,11 +23373,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/subsidiaries/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SubsidiariesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("SuppliersUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -19294,37 +23388,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Supplier Create Supplier + /// Create Tax Rate Create Tax Rate /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateSupplierResponse - public CreateSupplierResponse SuppliersAdd(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateTaxRateResponse + public CreateTaxRateResponse TaxRatesAdd(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = SuppliersAddWithHttpInfo(supplier, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = TaxRatesAddWithHttpInfo(taxRate, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Supplier Create Supplier + /// Create Tax Rate Create Tax Rate /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateSupplierResponse - public Apideck.Client.ApiResponse SuppliersAddWithHttpInfo(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateTaxRateResponse + public Apideck.Client.ApiResponse TaxRatesAddWithHttpInfo(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'supplier' is set - if (supplier == null) + // verify the required parameter 'taxRate' is set + if (taxRate == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -19366,7 +23460,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = supplier; + localVarRequestOptions.Data = taxRate; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -19375,10 +23469,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/suppliers", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/tax-rates", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -19389,39 +23483,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Supplier Create Supplier + /// Create Tax Rate Create Tax Rate /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateSupplierResponse - public async System.Threading.Tasks.Task SuppliersAddAsync(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateTaxRateResponse + public async System.Threading.Tasks.Task TaxRatesAddAsync(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SuppliersAddWithHttpInfoAsync(supplier, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TaxRatesAddWithHttpInfoAsync(taxRate, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Supplier Create Supplier + /// Create Tax Rate Create Tax Rate /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateSupplierResponse) - public async System.Threading.Tasks.Task> SuppliersAddWithHttpInfoAsync(Supplier supplier, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateTaxRateResponse) + public async System.Threading.Tasks.Task> TaxRatesAddWithHttpInfoAsync(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'supplier' is set - if (supplier == null) + // verify the required parameter 'taxRate' is set + if (taxRate == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesAdd"); } @@ -19464,7 +23558,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = supplier; + localVarRequestOptions.Data = taxRate; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -19473,11 +23567,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/suppliers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/tax-rates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -19488,7 +23582,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Suppliers List Suppliers + /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -19498,18 +23592,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetSuppliersResponse - public GetSuppliersResponse SuppliersAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetTaxRatesResponse + public GetTaxRatesResponse TaxRatesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = SuppliersAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = TaxRatesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); return localVarResponse.Data; } /// - /// List Suppliers List Suppliers + /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -19519,11 +23612,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetSuppliersResponse - public Apideck.Client.ApiResponse SuppliersAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetTaxRatesResponse + public Apideck.Client.ApiResponse TaxRatesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -19561,40 +23653,25 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } if (filter != null) { - if (filter.CompanyName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[company_name]", filter.CompanyName)); - } - if (filter.DisplayName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[display_name]", filter.DisplayName)); - } - if (filter.FirstName != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[first_name]", filter.FirstName)); - } - if (filter.LastName != null) + if (filter.Assets != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[last_name]", filter.LastName)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[assets]", filter.Assets)); } - if (filter.Email != null) + if (filter.Equity != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[email]", filter.Email)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[equity]", filter.Equity)); } - if (filter.UpdatedSince != null) + if (filter.Expenses != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[expenses]", filter.Expenses)); } - } - if (sort != null) - { - if (sort.By != null) + if (filter.Liabilities != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[by]", sort.By)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[liabilities]", filter.Liabilities)); } - if (sort.Direction != null) + if (filter.Revenue != null) { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort[direction]", sort.Direction)); + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[revenue]", filter.Revenue)); } } if (passThrough != null) @@ -19628,10 +23705,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/suppliers", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/tax-rates", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersAll", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -19642,7 +23719,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Suppliers List Suppliers + /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -19652,19 +23729,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetSuppliersResponse - public async System.Threading.Tasks.Task SuppliersAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetTaxRatesResponse + public async System.Threading.Tasks.Task TaxRatesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SuppliersAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, sort, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TaxRatesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Suppliers List Suppliers + /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -19674,12 +23750,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) /// Apply filters (optional) - /// Apply sorting (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetSuppliersResponse) - public async System.Threading.Tasks.Task> SuppliersAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), SuppliersFilter filter = default(SuppliersFilter), SuppliersSort sort = default(SuppliersSort), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetTaxRatesResponse) + public async System.Threading.Tasks.Task> TaxRatesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -19720,10 +23795,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); } - if (sort != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); - } if (passThrough != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); @@ -19752,11 +23823,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/suppliers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/tax-rates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersAll", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -19767,7 +23838,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Supplier Delete Supplier + /// Delete Tax Rate Delete Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19775,15 +23846,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteSupplierResponse - public DeleteSupplierResponse SuppliersDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteTaxRateResponse + public DeleteTaxRateResponse TaxRatesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = SuppliersDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = TaxRatesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Supplier Delete Supplier + /// Delete Tax Rate Delete Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19791,13 +23862,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteSupplierResponse - public Apideck.Client.ApiResponse SuppliersDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteTaxRateResponse + public Apideck.Client.ApiResponse TaxRatesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -19847,10 +23918,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -19861,7 +23932,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Supplier Delete Supplier + /// Delete Tax Rate Delete Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19870,15 +23941,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteSupplierResponse - public async System.Threading.Tasks.Task SuppliersDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteTaxRateResponse + public async System.Threading.Tasks.Task TaxRatesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SuppliersDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TaxRatesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Supplier Delete Supplier + /// Delete Tax Rate Delete Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19887,13 +23958,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteSupplierResponse) - public async System.Threading.Tasks.Task> SuppliersDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteTaxRateResponse) + public async System.Threading.Tasks.Task> TaxRatesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesDelete"); } @@ -19944,11 +24015,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -19959,7 +24030,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Supplier Get Supplier + /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19968,15 +24039,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetSupplierResponse - public GetSupplierResponse SuppliersOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetTaxRateResponse + public GetTaxRateResponse TaxRatesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = SuppliersOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = TaxRatesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Supplier Get Supplier + /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -19985,13 +24056,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetSupplierResponse - public Apideck.Client.ApiResponse SuppliersOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetTaxRateResponse + public Apideck.Client.ApiResponse TaxRatesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -20045,10 +24116,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersOne", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -20059,7 +24130,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Supplier Get Supplier + /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -20069,15 +24140,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetSupplierResponse - public async System.Threading.Tasks.Task SuppliersOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetTaxRateResponse + public async System.Threading.Tasks.Task TaxRatesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SuppliersOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TaxRatesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Supplier Get Supplier + /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -20087,13 +24158,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetSupplierResponse) - public async System.Threading.Tasks.Task> SuppliersOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetTaxRateResponse) + public async System.Threading.Tasks.Task> TaxRatesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesOne"); } @@ -20148,11 +24219,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersOne", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -20163,45 +24234,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Supplier Update Supplier + /// Update Tax Rate Update Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateSupplierResponse - public UpdateSupplierResponse SuppliersUpdate(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateTaxRateResponse + public UpdateTaxRateResponse TaxRatesUpdate(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = SuppliersUpdateWithHttpInfo(id, supplier, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = TaxRatesUpdateWithHttpInfo(id, taxRate, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Supplier Update Supplier + /// Update Tax Rate Update Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateSupplierResponse - public Apideck.Client.ApiResponse SuppliersUpdateWithHttpInfo(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateTaxRateResponse + public Apideck.Client.ApiResponse TaxRatesUpdateWithHttpInfo(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesUpdate"); } - // verify the required parameter 'supplier' is set - if (supplier == null) + // verify the required parameter 'taxRate' is set + if (taxRate == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -20244,7 +24315,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = supplier; + localVarRequestOptions.Data = taxRate; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -20253,10 +24324,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -20267,47 +24338,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Supplier Update Supplier + /// Update Tax Rate Update Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateSupplierResponse - public async System.Threading.Tasks.Task SuppliersUpdateAsync(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateTaxRateResponse + public async System.Threading.Tasks.Task TaxRatesUpdateAsync(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await SuppliersUpdateWithHttpInfoAsync(id, supplier, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TaxRatesUpdateWithHttpInfoAsync(id, taxRate, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Supplier Update Supplier + /// Update Tax Rate Update Tax Rate /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateSupplierResponse) - public async System.Threading.Tasks.Task> SuppliersUpdateWithHttpInfoAsync(string id, Supplier supplier, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateTaxRateResponse) + public async System.Threading.Tasks.Task> TaxRatesUpdateWithHttpInfoAsync(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->SuppliersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesUpdate"); } - // verify the required parameter 'supplier' is set - if (supplier == null) + // verify the required parameter 'taxRate' is set + if (taxRate == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'supplier' when calling AccountingApi->SuppliersUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesUpdate"); } @@ -20351,7 +24422,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = supplier; + localVarRequestOptions.Data = taxRate; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -20360,11 +24431,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/suppliers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("SuppliersUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("TaxRatesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -20375,37 +24446,37 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Tax Rate Create Tax Rate + /// Create Tracking Category Create Tracking Category /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// CreateTaxRateResponse - public CreateTaxRateResponse TaxRatesAdd(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// CreateTrackingCategoryResponse + public CreateTrackingCategoryResponse TrackingCategoriesAdd(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - Apideck.Client.ApiResponse localVarResponse = TaxRatesAddWithHttpInfo(taxRate, raw, consumerId, appId, serviceId); + Apideck.Client.ApiResponse localVarResponse = TrackingCategoriesAddWithHttpInfo(trackingCategory, raw, consumerId, appId, serviceId); return localVarResponse.Data; } /// - /// Create Tax Rate Create Tax Rate + /// Create Tracking Category Create Tracking Category /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) - /// ApiResponse of CreateTaxRateResponse - public Apideck.Client.ApiResponse TaxRatesAddWithHttpInfo(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) + /// ApiResponse of CreateTrackingCategoryResponse + public Apideck.Client.ApiResponse TrackingCategoriesAddWithHttpInfo(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string)) { - // verify the required parameter 'taxRate' is set - if (taxRate == null) + // verify the required parameter 'trackingCategory' is set + if (trackingCategory == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'trackingCategory' when calling AccountingApi->TrackingCategoriesAdd"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -20447,7 +24518,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = taxRate; + localVarRequestOptions.Data = trackingCategory; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -20456,10 +24527,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Post("/accounting/tax-rates", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/accounting/tracking-categories", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -20470,39 +24541,39 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Create Tax Rate Create Tax Rate + /// Create Tracking Category Create Tracking Category /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of CreateTaxRateResponse - public async System.Threading.Tasks.Task TaxRatesAddAsync(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of CreateTrackingCategoryResponse + public async System.Threading.Tasks.Task TrackingCategoriesAddAsync(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await TaxRatesAddWithHttpInfoAsync(taxRate, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TrackingCategoriesAddWithHttpInfoAsync(trackingCategory, raw, consumerId, appId, serviceId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create Tax Rate Create Tax Rate + /// Create Tracking Category Create Tracking Category /// /// Thrown when fails to make API call - /// + /// /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (CreateTaxRateResponse) - public async System.Threading.Tasks.Task> TaxRatesAddWithHttpInfoAsync(TaxRate taxRate, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (CreateTrackingCategoryResponse) + public async System.Threading.Tasks.Task> TrackingCategoriesAddWithHttpInfoAsync(TrackingCategory trackingCategory, bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - // verify the required parameter 'taxRate' is set - if (taxRate == null) + // verify the required parameter 'trackingCategory' is set + if (trackingCategory == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesAdd"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'trackingCategory' when calling AccountingApi->TrackingCategoriesAdd"); } @@ -20545,7 +24616,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = taxRate; + localVarRequestOptions.Data = trackingCategory; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -20554,11 +24625,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/tax-rates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PostAsync("/accounting/tracking-categories", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesAdd", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesAdd", localVarResponse); if (_exception != null) { throw _exception; @@ -20569,7 +24640,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks + /// List Tracking Categories List Tracking Categories /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -20578,18 +24649,17 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// GetTaxRatesResponse - public GetTaxRatesResponse TaxRatesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// GetTrackingCategoriesResponse + public GetTrackingCategoriesResponse TrackingCategoriesAll(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = TaxRatesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields); + Apideck.Client.ApiResponse localVarResponse = TrackingCategoriesAllWithHttpInfo(raw, consumerId, appId, serviceId, cursor, limit, passThrough, fields); return localVarResponse.Data; } /// - /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks + /// List Tracking Categories List Tracking Categories /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -20598,11 +24668,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) - /// ApiResponse of GetTaxRatesResponse - public Apideck.Client.ApiResponse TaxRatesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) + /// ApiResponse of GetTrackingCategoriesResponse + public Apideck.Client.ApiResponse TrackingCategoriesAllWithHttpInfo(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -20638,29 +24707,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) - { - if (filter.Assets != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[assets]", filter.Assets)); - } - if (filter.Equity != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[equity]", filter.Equity)); - } - if (filter.Expenses != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[expenses]", filter.Expenses)); - } - if (filter.Liabilities != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[liabilities]", filter.Liabilities)); - } - if (filter.Revenue != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[revenue]", filter.Revenue)); - } - } if (passThrough != null) { if (passThrough.ExampleDownstreamProperty != null) @@ -20692,10 +24738,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/tax-rates", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/tracking-categories", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -20706,7 +24752,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks + /// List Tracking Categories List Tracking Categories /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -20715,19 +24761,18 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetTaxRatesResponse - public async System.Threading.Tasks.Task TaxRatesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetTrackingCategoriesResponse + public async System.Threading.Tasks.Task TrackingCategoriesAllAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await TaxRatesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, filter, passThrough, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TrackingCategoriesAllWithHttpInfoAsync(raw, consumerId, appId, serviceId, cursor, limit, passThrough, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// List Tax Rates List Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected: Quickbooks + /// List Tracking Categories List Tracking Categories /// /// Thrown when fails to make API call /// Include raw response. Mostly used for debugging purposes (optional, default to false) @@ -20736,12 +24781,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) /// Number of results to return. Minimum 1, Maximum 200, Default 20 (optional, default to 20) - /// Apply filters (optional) /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetTaxRatesResponse) - public async System.Threading.Tasks.Task> TaxRatesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), TaxRatesFilter filter = default(TaxRatesFilter), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetTrackingCategoriesResponse) + public async System.Threading.Tasks.Task> TrackingCategoriesAllWithHttpInfoAsync(bool? raw = default(bool?), string consumerId = default(string), string appId = default(string), string serviceId = default(string), string cursor = default(string), int? limit = default(int?), PassThroughQuery passThrough = default(PassThroughQuery), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -20778,10 +24822,6 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filter != null) - { - localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); - } if (passThrough != null) { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); @@ -20810,11 +24850,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/tax-rates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/tracking-categories", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesAll", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesAll", localVarResponse); if (_exception != null) { throw _exception; @@ -20825,7 +24865,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Tax Rate Delete Tax Rate + /// Delete Tracking Category Delete Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -20833,15 +24873,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// DeleteTaxRateResponse - public DeleteTaxRateResponse TaxRatesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// DeleteTrackingCategoryResponse + public DeleteTrackingCategoryResponse TrackingCategoriesDelete(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = TaxRatesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = TrackingCategoriesDeleteWithHttpInfo(id, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Delete Tax Rate Delete Tax Rate + /// Delete Tracking Category Delete Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -20849,13 +24889,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of DeleteTaxRateResponse - public Apideck.Client.ApiResponse TaxRatesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of DeleteTrackingCategoryResponse + public Apideck.Client.ApiResponse TrackingCategoriesDeleteWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TrackingCategoriesDelete"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -20905,10 +24945,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Delete("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Delete("/accounting/tracking-categories/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -20919,7 +24959,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Delete Tax Rate Delete Tax Rate + /// Delete Tracking Category Delete Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -20928,15 +24968,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of DeleteTaxRateResponse - public async System.Threading.Tasks.Task TaxRatesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of DeleteTrackingCategoryResponse + public async System.Threading.Tasks.Task TrackingCategoriesDeleteAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await TaxRatesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TrackingCategoriesDeleteWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete Tax Rate Delete Tax Rate + /// Delete Tracking Category Delete Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -20945,13 +24985,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (DeleteTaxRateResponse) - public async System.Threading.Tasks.Task> TaxRatesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (DeleteTrackingCategoryResponse) + public async System.Threading.Tasks.Task> TrackingCategoriesDeleteWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesDelete"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TrackingCategoriesDelete"); } @@ -21002,11 +25042,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.DeleteAsync("/accounting/tracking-categories/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesDelete", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesDelete", localVarResponse); if (_exception != null) { throw _exception; @@ -21017,7 +25057,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks + /// Get Tracking Category Get Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -21026,15 +25066,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// GetTaxRateResponse - public GetTaxRateResponse TaxRatesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// GetTrackingCategoryResponse + public GetTrackingCategoryResponse TrackingCategoriesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { - Apideck.Client.ApiResponse localVarResponse = TaxRatesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); + Apideck.Client.ApiResponse localVarResponse = TrackingCategoriesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields); return localVarResponse.Data; } /// - /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks + /// Get Tracking Category Get Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -21043,13 +25083,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) - /// ApiResponse of GetTaxRateResponse - public Apideck.Client.ApiResponse TaxRatesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) + /// ApiResponse of GetTrackingCategoryResponse + public Apideck.Client.ApiResponse TrackingCategoriesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TrackingCategoriesOne"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -21103,10 +25143,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Get("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/accounting/tracking-categories/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -21117,7 +25157,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks + /// Get Tracking Category Get Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -21127,15 +25167,15 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of GetTaxRateResponse - public async System.Threading.Tasks.Task TaxRatesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of GetTrackingCategoryResponse + public async System.Threading.Tasks.Task TrackingCategoriesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await TaxRatesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TrackingCategoriesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Tax Rate Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks + /// Get Tracking Category Get Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. @@ -21145,13 +25185,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetTaxRateResponse) - public async System.Threading.Tasks.Task> TaxRatesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (GetTrackingCategoryResponse) + public async System.Threading.Tasks.Task> TrackingCategoriesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesOne"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TrackingCategoriesOne"); } @@ -21206,11 +25246,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/accounting/tracking-categories/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesOne", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesOne", localVarResponse); if (_exception != null) { throw _exception; @@ -21221,45 +25261,45 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Tax Rate Update Tax Rate + /// Update Tracking Category Update Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// UpdateTaxRateResponse - public UpdateTaxRateResponse TaxRatesUpdate(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// UpdateTrackingCategoryResponse + public UpdateTrackingCategoryResponse TrackingCategoriesUpdate(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { - Apideck.Client.ApiResponse localVarResponse = TaxRatesUpdateWithHttpInfo(id, taxRate, consumerId, appId, serviceId, raw); + Apideck.Client.ApiResponse localVarResponse = TrackingCategoriesUpdateWithHttpInfo(id, trackingCategory, consumerId, appId, serviceId, raw); return localVarResponse.Data; } /// - /// Update Tax Rate Update Tax Rate + /// Update Tracking Category Update Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) - /// ApiResponse of UpdateTaxRateResponse - public Apideck.Client.ApiResponse TaxRatesUpdateWithHttpInfo(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) + /// ApiResponse of UpdateTrackingCategoryResponse + public Apideck.Client.ApiResponse TrackingCategoriesUpdateWithHttpInfo(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TrackingCategoriesUpdate"); } - // verify the required parameter 'taxRate' is set - if (taxRate == null) + // verify the required parameter 'trackingCategory' is set + if (trackingCategory == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'trackingCategory' when calling AccountingApi->TrackingCategoriesUpdate"); } Apideck.Client.RequestOptions localVarRequestOptions = new Apideck.Client.RequestOptions(); @@ -21302,7 +25342,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = taxRate; + localVarRequestOptions.Data = trackingCategory; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -21311,10 +25351,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = this.Client.Patch("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/accounting/tracking-categories/{id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesUpdate", localVarResponse); if (_exception != null) { throw _exception; @@ -21325,47 +25365,47 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } /// - /// Update Tax Rate Update Tax Rate + /// Update Tracking Category Update Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of UpdateTaxRateResponse - public async System.Threading.Tasks.Task TaxRatesUpdateAsync(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of UpdateTrackingCategoryResponse + public async System.Threading.Tasks.Task TrackingCategoriesUpdateAsync(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await TaxRatesUpdateWithHttpInfoAsync(id, taxRate, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await TrackingCategoriesUpdateWithHttpInfoAsync(id, trackingCategory, consumerId, appId, serviceId, raw, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Update Tax Rate Update Tax Rate + /// Update Tracking Category Update Tracking Category /// /// Thrown when fails to make API call /// ID of the record you are acting upon. - /// + /// /// ID of the consumer which you want to get or push data from (optional) /// The ID of your Unify application (optional) /// 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) /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// Cancellation Token to cancel the request. - /// Task of ApiResponse (UpdateTaxRateResponse) - public async System.Threading.Tasks.Task> TaxRatesUpdateWithHttpInfoAsync(string id, TaxRate taxRate, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Task of ApiResponse (UpdateTrackingCategoryResponse) + public async System.Threading.Tasks.Task> TrackingCategoriesUpdateWithHttpInfoAsync(string id, TrackingCategory trackingCategory, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TaxRatesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'id' when calling AccountingApi->TrackingCategoriesUpdate"); } - // verify the required parameter 'taxRate' is set - if (taxRate == null) + // verify the required parameter 'trackingCategory' is set + if (trackingCategory == null) { - throw new Apideck.Client.ApiException(400, "Missing required parameter 'taxRate' when calling AccountingApi->TaxRatesUpdate"); + throw new Apideck.Client.ApiException(400, "Missing required parameter 'trackingCategory' when calling AccountingApi->TrackingCategoriesUpdate"); } @@ -21409,7 +25449,7 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.HeaderParameters.Add("x-apideck-service-id", Apideck.Client.ClientUtils.ParameterToString(serviceId)); // header parameter } - localVarRequestOptions.Data = taxRate; + localVarRequestOptions.Data = trackingCategory; // authentication (apiKey) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -21418,11 +25458,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/tax-rates/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.PatchAsync("/accounting/tracking-categories/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("TaxRatesUpdate", localVarResponse); + Exception _exception = this.ExceptionFactory("TrackingCategoriesUpdate", localVarResponse); if (_exception != null) { throw _exception; diff --git a/src/gen/src/Apideck/Api/AtsApi.cs b/src/gen/src/Apideck/Api/AtsApi.cs index 701e9afd6a..a4fbcdb0cd 100644 --- a/src/gen/src/Apideck/Api/AtsApi.cs +++ b/src/gen/src/Apideck/Api/AtsApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/ConnectorApi.cs b/src/gen/src/Apideck/Api/ConnectorApi.cs index 06774f388c..502391e7b9 100644 --- a/src/gen/src/Apideck/Api/ConnectorApi.cs +++ b/src/gen/src/Apideck/Api/ConnectorApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/CrmApi.cs b/src/gen/src/Apideck/Api/CrmApi.cs index a362a50920..ad714ff170 100644 --- a/src/gen/src/Apideck/Api/CrmApi.cs +++ b/src/gen/src/Apideck/Api/CrmApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -3039,6 +3039,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[updated_since]", filter.UpdatedSince)); } + if (filter.Type != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[type]", filter.Type)); + } } if (sort != null) { @@ -6254,6 +6258,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[email]", filter.Email)); } + if (filter.PhoneNumber != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[phone_number]", filter.PhoneNumber)); + } } if (sort != null) { diff --git a/src/gen/src/Apideck/Api/EcommerceApi.cs b/src/gen/src/Apideck/Api/EcommerceApi.cs index aecd600b89..e696d04957 100644 --- a/src/gen/src/Apideck/Api/EcommerceApi.cs +++ b/src/gen/src/Apideck/Api/EcommerceApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/FileStorageApi.cs b/src/gen/src/Apideck/Api/FileStorageApi.cs index be296f0dac..879e4e2888 100644 --- a/src/gen/src/Apideck/Api/FileStorageApi.cs +++ b/src/gen/src/Apideck/Api/FileStorageApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/HrisApi.cs b/src/gen/src/Apideck/Api/HrisApi.cs index f865b0e532..2c20f8018a 100644 --- a/src/gen/src/Apideck/Api/HrisApi.cs +++ b/src/gen/src/Apideck/Api/HrisApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -548,8 +548,9 @@ public interface IHrisApiSync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// GetEmployeeResponse - GetEmployeeResponse EmployeesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter)); + GetEmployeeResponse EmployeesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery)); /// /// Get Employee @@ -565,8 +566,9 @@ public interface IHrisApiSync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// ApiResponse of GetEmployeeResponse - ApiResponse EmployeesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter)); + ApiResponse EmployeesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery)); /// /// Update Employee /// @@ -1388,9 +1390,10 @@ public interface IHrisApiAsync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Cancellation Token to cancel the request. /// Task of GetEmployeeResponse - System.Threading.Tasks.Task EmployeesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task EmployeesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get Employee @@ -1406,9 +1409,10 @@ public interface IHrisApiAsync : IApiAccessor /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetEmployeeResponse) - System.Threading.Tasks.Task> EmployeesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> EmployeesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Update Employee /// @@ -5224,10 +5228,11 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// GetEmployeeResponse - public GetEmployeeResponse EmployeesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter)) + public GetEmployeeResponse EmployeesOne(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery)) { - Apideck.Client.ApiResponse localVarResponse = EmployeesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields, filter); + Apideck.Client.ApiResponse localVarResponse = EmployeesOneWithHttpInfo(id, consumerId, appId, serviceId, raw, fields, filter, passThrough); return localVarResponse.Data; } @@ -5242,8 +5247,9 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// ApiResponse of GetEmployeeResponse - public Apideck.Client.ApiResponse EmployeesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter)) + public Apideck.Client.ApiResponse EmployeesOneWithHttpInfo(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery)) { // verify the required parameter 'id' is set if (id == null) @@ -5289,6 +5295,13 @@ public Apideck.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[company_id]", filter.CompanyId)); } } + if (passThrough != null) + { + if (passThrough.ExampleDownstreamProperty != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through[example_downstream_property]", passThrough.ExampleDownstreamProperty)); + } + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -5333,11 +5346,12 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Cancellation Token to cancel the request. /// Task of GetEmployeeResponse - public async System.Threading.Tasks.Task EmployeesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task EmployeesOneAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Apideck.Client.ApiResponse localVarResponse = await EmployeesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, filter, cancellationToken).ConfigureAwait(false); + Apideck.Client.ApiResponse localVarResponse = await EmployeesOneWithHttpInfoAsync(id, consumerId, appId, serviceId, raw, fields, filter, passThrough, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -5352,9 +5366,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory /// Include raw response. Mostly used for debugging purposes (optional, default to false) /// 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) /// Apply filters (optional) + /// Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (GetEmployeeResponse) - public async System.Threading.Tasks.Task> EmployeesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> EmployeesOneWithHttpInfoAsync(string id, string consumerId = default(string), string appId = default(string), string serviceId = default(string), bool? raw = default(bool?), string fields = default(string), EmployeesOneFilter filter = default(EmployeesOneFilter), PassThroughQuery passThrough = default(PassThroughQuery), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) @@ -5398,6 +5413,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter", filter)); } + if (passThrough != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "pass_through", passThrough)); + } if (consumerId != null) { localVarRequestOptions.HeaderParameters.Add("x-apideck-consumer-id", Apideck.Client.ClientUtils.ParameterToString(consumerId)); // header parameter @@ -6354,6 +6373,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[time_off_request_status]", filter.TimeOffRequestStatus)); } + if (filter.CompanyId != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[company_id]", filter.CompanyId)); + } } if (passThrough != null) { diff --git a/src/gen/src/Apideck/Api/IssueTrackingApi.cs b/src/gen/src/Apideck/Api/IssueTrackingApi.cs index 87657e9dd5..3ccc6458fd 100644 --- a/src/gen/src/Apideck/Api/IssueTrackingApi.cs +++ b/src/gen/src/Apideck/Api/IssueTrackingApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/LeadApi.cs b/src/gen/src/Apideck/Api/LeadApi.cs index 09d5cd9b04..d8b092dfe4 100644 --- a/src/gen/src/Apideck/Api/LeadApi.cs +++ b/src/gen/src/Apideck/Api/LeadApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -761,6 +761,10 @@ public Apideck.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[email]", filter.Email)); } + if (filter.PhoneNumber != null) + { + localVarRequestOptions.QueryParameters.Add(Apideck.Client.ClientUtils.ParameterToMultiMap("", "filter[phone_number]", filter.PhoneNumber)); + } } if (sort != null) { diff --git a/src/gen/src/Apideck/Api/PosApi.cs b/src/gen/src/Apideck/Api/PosApi.cs index fb71155915..46a30cc109 100644 --- a/src/gen/src/Apideck/Api/PosApi.cs +++ b/src/gen/src/Apideck/Api/PosApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/SmsApi.cs b/src/gen/src/Apideck/Api/SmsApi.cs index c1289462b4..f13ef30fb5 100644 --- a/src/gen/src/Apideck/Api/SmsApi.cs +++ b/src/gen/src/Apideck/Api/SmsApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/VaultApi.cs b/src/gen/src/Apideck/Api/VaultApi.cs index b70d87d7b7..1df3a26d85 100644 --- a/src/gen/src/Apideck/Api/VaultApi.cs +++ b/src/gen/src/Apideck/Api/VaultApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Api/WebhookApi.cs b/src/gen/src/Apideck/Api/WebhookApi.cs index 90caf3b251..c0e236a3eb 100644 --- a/src/gen/src/Apideck/Api/WebhookApi.cs +++ b/src/gen/src/Apideck/Api/WebhookApi.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Apideck.csproj b/src/gen/src/Apideck/Apideck.csproj index beea463c69..2cbf593b04 100644 --- a/src/gen/src/Apideck/Apideck.csproj +++ b/src/gen/src/Apideck/Apideck.csproj @@ -12,7 +12,7 @@ Apideck .NET SDK APACHE 2.0 Apideck - 2.4.1 + 2.5.0 bin\$(Configuration)\$(TargetFramework)\Apideck.xml https://github.com/apideck-libraries/dotnet-sdk.git README.md diff --git a/src/gen/src/Apideck/Client/ApiClient.cs b/src/gen/src/Apideck/Client/ApiClient.cs index e6af6688c4..c2f27297a0 100644 --- a/src/gen/src/Apideck/Client/ApiClient.cs +++ b/src/gen/src/Apideck/Client/ApiClient.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/ApiException.cs b/src/gen/src/Apideck/Client/ApiException.cs index de889dd7c9..04e3087509 100644 --- a/src/gen/src/Apideck/Client/ApiException.cs +++ b/src/gen/src/Apideck/Client/ApiException.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/ApiResponse.cs b/src/gen/src/Apideck/Client/ApiResponse.cs index da0fb4433a..ccbb5ee0f9 100644 --- a/src/gen/src/Apideck/Client/ApiResponse.cs +++ b/src/gen/src/Apideck/Client/ApiResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/ClientUtils.cs b/src/gen/src/Apideck/Client/ClientUtils.cs index 9dd07b3c3f..8bb144dd7c 100644 --- a/src/gen/src/Apideck/Client/ClientUtils.cs +++ b/src/gen/src/Apideck/Client/ClientUtils.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/Configuration.cs b/src/gen/src/Apideck/Client/Configuration.cs index 0565bd2703..87bf8f29a0 100644 --- a/src/gen/src/Apideck/Client/Configuration.cs +++ b/src/gen/src/Apideck/Client/Configuration.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "2.4.1"; + public const string Version = "2.5.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -101,7 +101,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = "OpenAPI-Generator/2.4.1/csharp"; + UserAgent = "Apideck-dotnet-sdk/2.5.0 Unify-spec/10.7.3"; BasePath = "https://unify.apideck.com"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -445,8 +445,8 @@ public static string ToDebugReport() string report = "C# SDK (Apideck) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 10.6.3\n"; - report += " SDK Package Version: 2.4.1\n"; + report += " Version of the API: 10.7.3\n"; + report += " SDK Package Version: 2.5.0\n"; return report; } diff --git a/src/gen/src/Apideck/Client/ExceptionFactory.cs b/src/gen/src/Apideck/Client/ExceptionFactory.cs index 54dcaabdcb..a52951d492 100644 --- a/src/gen/src/Apideck/Client/ExceptionFactory.cs +++ b/src/gen/src/Apideck/Client/ExceptionFactory.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/GlobalConfiguration.cs b/src/gen/src/Apideck/Client/GlobalConfiguration.cs index f46a425507..ca7e5bd377 100644 --- a/src/gen/src/Apideck/Client/GlobalConfiguration.cs +++ b/src/gen/src/Apideck/Client/GlobalConfiguration.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/HttpMethod.cs b/src/gen/src/Apideck/Client/HttpMethod.cs index ee25809dd9..1aa8494d09 100644 --- a/src/gen/src/Apideck/Client/HttpMethod.cs +++ b/src/gen/src/Apideck/Client/HttpMethod.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/IApiAccessor.cs b/src/gen/src/Apideck/Client/IApiAccessor.cs index a995354aaa..2042996cb7 100644 --- a/src/gen/src/Apideck/Client/IApiAccessor.cs +++ b/src/gen/src/Apideck/Client/IApiAccessor.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/IAsynchronousClient.cs b/src/gen/src/Apideck/Client/IAsynchronousClient.cs index 2c0f4d40c8..dfa493c1f7 100644 --- a/src/gen/src/Apideck/Client/IAsynchronousClient.cs +++ b/src/gen/src/Apideck/Client/IAsynchronousClient.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/IReadableConfiguration.cs b/src/gen/src/Apideck/Client/IReadableConfiguration.cs index 020c75e846..2f3dd26986 100644 --- a/src/gen/src/Apideck/Client/IReadableConfiguration.cs +++ b/src/gen/src/Apideck/Client/IReadableConfiguration.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/ISynchronousClient.cs b/src/gen/src/Apideck/Client/ISynchronousClient.cs index 849d3c7245..384b09715b 100644 --- a/src/gen/src/Apideck/Client/ISynchronousClient.cs +++ b/src/gen/src/Apideck/Client/ISynchronousClient.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/Multimap.cs b/src/gen/src/Apideck/Client/Multimap.cs index b41066c4d3..40ab29dcf9 100644 --- a/src/gen/src/Apideck/Client/Multimap.cs +++ b/src/gen/src/Apideck/Client/Multimap.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/OpenAPIDateConverter.cs b/src/gen/src/Apideck/Client/OpenAPIDateConverter.cs index 3696e504af..c8db8e1f75 100644 --- a/src/gen/src/Apideck/Client/OpenAPIDateConverter.cs +++ b/src/gen/src/Apideck/Client/OpenAPIDateConverter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/RequestOptions.cs b/src/gen/src/Apideck/Client/RequestOptions.cs index f0b6919f84..9d30af8fc0 100644 --- a/src/gen/src/Apideck/Client/RequestOptions.cs +++ b/src/gen/src/Apideck/Client/RequestOptions.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Client/RetryConfiguration.cs b/src/gen/src/Apideck/Client/RetryConfiguration.cs index 6937d45c26..eb8cb7b965 100644 --- a/src/gen/src/Apideck/Client/RetryConfiguration.cs +++ b/src/gen/src/Apideck/Client/RetryConfiguration.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AbstractOpenAPISchema.cs b/src/gen/src/Apideck/Model/AbstractOpenAPISchema.cs index c1a4b4b09d..d5af113984 100644 --- a/src/gen/src/Apideck/Model/AbstractOpenAPISchema.cs +++ b/src/gen/src/Apideck/Model/AbstractOpenAPISchema.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AccountingDepartment.cs b/src/gen/src/Apideck/Model/AccountingDepartment.cs index d563ed679b..c6cbbc68c9 100644 --- a/src/gen/src/Apideck/Model/AccountingDepartment.cs +++ b/src/gen/src/Apideck/Model/AccountingDepartment.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AccountingDepartmentsFilter.cs b/src/gen/src/Apideck/Model/AccountingDepartmentsFilter.cs index fd107b50ba..b772d2b450 100644 --- a/src/gen/src/Apideck/Model/AccountingDepartmentsFilter.cs +++ b/src/gen/src/Apideck/Model/AccountingDepartmentsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AccountingEventType.cs b/src/gen/src/Apideck/Model/AccountingEventType.cs index 771c5d7928..96fed75105 100644 --- a/src/gen/src/Apideck/Model/AccountingEventType.cs +++ b/src/gen/src/Apideck/Model/AccountingEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -197,7 +197,25 @@ public enum AccountingEventType /// Enum AccountingPurchaseOrderDeleted for value: accounting.purchase-order.deleted /// [EnumMember(Value = "accounting.purchase-order.deleted")] - AccountingPurchaseOrderDeleted = 28 + AccountingPurchaseOrderDeleted = 28, + + /// + /// Enum AccountingExpenseCreated for value: accounting.expense.created + /// + [EnumMember(Value = "accounting.expense.created")] + AccountingExpenseCreated = 29, + + /// + /// Enum AccountingExpenseUpdated for value: accounting.expense.updated + /// + [EnumMember(Value = "accounting.expense.updated")] + AccountingExpenseUpdated = 30, + + /// + /// Enum AccountingExpenseDeleted for value: accounting.expense.deleted + /// + [EnumMember(Value = "accounting.expense.deleted")] + AccountingExpenseDeleted = 31 } diff --git a/src/gen/src/Apideck/Model/AccountingLocation.cs b/src/gen/src/Apideck/Model/AccountingLocation.cs index f54460630d..26f50d7308 100644 --- a/src/gen/src/Apideck/Model/AccountingLocation.cs +++ b/src/gen/src/Apideck/Model/AccountingLocation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AccountingLocationsFilter.cs b/src/gen/src/Apideck/Model/AccountingLocationsFilter.cs index 69f6ec3420..b87a26ee59 100644 --- a/src/gen/src/Apideck/Model/AccountingLocationsFilter.cs +++ b/src/gen/src/Apideck/Model/AccountingLocationsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ActivitiesFilter.cs b/src/gen/src/Apideck/Model/ActivitiesFilter.cs index f0cc3f8012..6da2511eae 100644 --- a/src/gen/src/Apideck/Model/ActivitiesFilter.cs +++ b/src/gen/src/Apideck/Model/ActivitiesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -38,12 +38,14 @@ public partial class ActivitiesFilter : IEquatable, IValidatab /// Owner ID to filter on. /// Primary contact ID to filter on. /// updatedSince. - public ActivitiesFilter(string companyId = default(string), string ownerId = default(string), string contactId = default(string), DateTime updatedSince = default(DateTime)) + /// Type to filter on. + public ActivitiesFilter(string companyId = default(string), string ownerId = default(string), string contactId = default(string), DateTime updatedSince = default(DateTime), string type = default(string)) { this.CompanyId = companyId; this.OwnerId = ownerId; this.ContactId = contactId; this.UpdatedSince = updatedSince; + this.Type = type; } /// @@ -73,6 +75,13 @@ public partial class ActivitiesFilter : IEquatable, IValidatab [DataMember(Name = "updated_since", EmitDefaultValue = false)] public DateTime UpdatedSince { get; set; } + /// + /// Type to filter on + /// + /// Type to filter on + [DataMember(Name = "type", EmitDefaultValue = false)] + public string Type { get; set; } + /// /// Returns the string presentation of the object /// @@ -85,6 +94,7 @@ public override string ToString() sb.Append(" OwnerId: ").Append(OwnerId).Append("\n"); sb.Append(" ContactId: ").Append(ContactId).Append("\n"); sb.Append(" UpdatedSince: ").Append(UpdatedSince).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -139,6 +149,11 @@ public bool Equals(ActivitiesFilter input) this.UpdatedSince == input.UpdatedSince || (this.UpdatedSince != null && this.UpdatedSince.Equals(input.UpdatedSince)) + ) && + ( + this.Type == input.Type || + (this.Type != null && + this.Type.Equals(input.Type)) ); } @@ -167,6 +182,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.UpdatedSince.GetHashCode(); } + if (this.Type != null) + { + hashCode = (hashCode * 59) + this.Type.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/ActivitiesSort.cs b/src/gen/src/Apideck/Model/ActivitiesSort.cs index a284ef7867..cdbe94a67a 100644 --- a/src/gen/src/Apideck/Model/ActivitiesSort.cs +++ b/src/gen/src/Apideck/Model/ActivitiesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Activity.cs b/src/gen/src/Apideck/Model/Activity.cs index f3bb9e8188..a725b14e0f 100644 --- a/src/gen/src/Apideck/Model/Activity.cs +++ b/src/gen/src/Apideck/Model/Activity.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ActivityAttendee.cs b/src/gen/src/Apideck/Model/ActivityAttendee.cs index 59dcd3d47d..b3795ac928 100644 --- a/src/gen/src/Apideck/Model/ActivityAttendee.cs +++ b/src/gen/src/Apideck/Model/ActivityAttendee.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Address.cs b/src/gen/src/Apideck/Model/Address.cs index 066deb05c6..d9ae7fe708 100644 --- a/src/gen/src/Apideck/Model/Address.cs +++ b/src/gen/src/Apideck/Model/Address.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Allocation.cs b/src/gen/src/Apideck/Model/Allocation.cs index 887bd0fcbf..a75b3f0d3a 100644 --- a/src/gen/src/Apideck/Model/Allocation.cs +++ b/src/gen/src/Apideck/Model/Allocation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -84,7 +84,13 @@ public enum TypeEnum /// Enum Other for value: other /// [EnumMember(Value = "other")] - Other = 8 + Other = 8, + + /// + /// Enum Bill for value: bill + /// + [EnumMember(Value = "bill")] + Bill = 9 } diff --git a/src/gen/src/Apideck/Model/Api.cs b/src/gen/src/Apideck/Model/Api.cs index 18dcff3974..0be9b60a88 100644 --- a/src/gen/src/Apideck/Model/Api.cs +++ b/src/gen/src/Apideck/Model/Api.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApiResource.cs b/src/gen/src/Apideck/Model/ApiResource.cs index 9044491c36..a3c05ddbcf 100644 --- a/src/gen/src/Apideck/Model/ApiResource.cs +++ b/src/gen/src/Apideck/Model/ApiResource.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApiResourceCoverage.cs b/src/gen/src/Apideck/Model/ApiResourceCoverage.cs index 2862c321be..a9df92e5a2 100644 --- a/src/gen/src/Apideck/Model/ApiResourceCoverage.cs +++ b/src/gen/src/Apideck/Model/ApiResourceCoverage.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApiResourceCoverageCoverage.cs b/src/gen/src/Apideck/Model/ApiResourceCoverageCoverage.cs index 9fc92da1a9..37b6b8dfa5 100644 --- a/src/gen/src/Apideck/Model/ApiResourceCoverageCoverage.cs +++ b/src/gen/src/Apideck/Model/ApiResourceCoverageCoverage.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApiResourceLinkedResources.cs b/src/gen/src/Apideck/Model/ApiResourceLinkedResources.cs index e3a17d9ef0..35130c48b5 100644 --- a/src/gen/src/Apideck/Model/ApiResourceLinkedResources.cs +++ b/src/gen/src/Apideck/Model/ApiResourceLinkedResources.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApiResources.cs b/src/gen/src/Apideck/Model/ApiResources.cs index b9793e5983..5474393bba 100644 --- a/src/gen/src/Apideck/Model/ApiResources.cs +++ b/src/gen/src/Apideck/Model/ApiResources.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApiStatus.cs b/src/gen/src/Apideck/Model/ApiStatus.cs index 1de0ec9997..78b908b1e2 100644 --- a/src/gen/src/Apideck/Model/ApiStatus.cs +++ b/src/gen/src/Apideck/Model/ApiStatus.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApisFilter.cs b/src/gen/src/Apideck/Model/ApisFilter.cs index c039f92aa3..106d5946ee 100644 --- a/src/gen/src/Apideck/Model/ApisFilter.cs +++ b/src/gen/src/Apideck/Model/ApisFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Applicant.cs b/src/gen/src/Apideck/Model/Applicant.cs index 6ee884bad9..3f6f36b9a3 100644 --- a/src/gen/src/Apideck/Model/Applicant.cs +++ b/src/gen/src/Apideck/Model/Applicant.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApplicantSocialLinks.cs b/src/gen/src/Apideck/Model/ApplicantSocialLinks.cs index c4a6d941f2..73badcf5a3 100644 --- a/src/gen/src/Apideck/Model/ApplicantSocialLinks.cs +++ b/src/gen/src/Apideck/Model/ApplicantSocialLinks.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApplicantWebsites.cs b/src/gen/src/Apideck/Model/ApplicantWebsites.cs index def512a89b..1177afc1c2 100644 --- a/src/gen/src/Apideck/Model/ApplicantWebsites.cs +++ b/src/gen/src/Apideck/Model/ApplicantWebsites.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApplicantsFilter.cs b/src/gen/src/Apideck/Model/ApplicantsFilter.cs index d6c514d426..7b34157e64 100644 --- a/src/gen/src/Apideck/Model/ApplicantsFilter.cs +++ b/src/gen/src/Apideck/Model/ApplicantsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Application.cs b/src/gen/src/Apideck/Model/Application.cs index 4efd3ec2ca..df0bc31ef1 100644 --- a/src/gen/src/Apideck/Model/Application.cs +++ b/src/gen/src/Apideck/Model/Application.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ApplicationStage.cs b/src/gen/src/Apideck/Model/ApplicationStage.cs index af172fda4d..e1fa803e3d 100644 --- a/src/gen/src/Apideck/Model/ApplicationStage.cs +++ b/src/gen/src/Apideck/Model/ApplicationStage.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Assignee.cs b/src/gen/src/Apideck/Model/Assignee.cs index e6f8c8d84d..63ba227719 100644 --- a/src/gen/src/Apideck/Model/Assignee.cs +++ b/src/gen/src/Apideck/Model/Assignee.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AtsActivity.cs b/src/gen/src/Apideck/Model/AtsActivity.cs index f9a26973d7..c3c9872c2b 100644 --- a/src/gen/src/Apideck/Model/AtsActivity.cs +++ b/src/gen/src/Apideck/Model/AtsActivity.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AtsEventType.cs b/src/gen/src/Apideck/Model/AtsEventType.cs index d692a519a0..e846d4a7d4 100644 --- a/src/gen/src/Apideck/Model/AtsEventType.cs +++ b/src/gen/src/Apideck/Model/AtsEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Attachment.cs b/src/gen/src/Apideck/Model/Attachment.cs index c00d28eaaf..07a927a9cd 100644 --- a/src/gen/src/Apideck/Model/Attachment.cs +++ b/src/gen/src/Apideck/Model/Attachment.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -40,8 +40,9 @@ public partial class Attachment : IEquatable, IValidatableObject /// The size of the file in bytes. /// reference. /// Optional description of the file. + /// The folder id where this attachment belong to. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public Attachment(string displayId = default(string), string name = default(string), string mimeType = default(string), int? size = default(int?), AttachmentReference reference = default(AttachmentReference), string description = default(string), List passThrough = default(List)) + public Attachment(string displayId = default(string), string name = default(string), string mimeType = default(string), int? size = default(int?), AttachmentReference reference = default(AttachmentReference), string description = default(string), string parentFolderId = default(string), List passThrough = default(List)) { this.DisplayId = displayId; this.Name = name; @@ -49,6 +50,7 @@ public partial class Attachment : IEquatable, IValidatableObject this.Size = size; this.Reference = reference; this.Description = description; + this.ParentFolderId = parentFolderId; this.PassThrough = passThrough; } @@ -108,6 +110,13 @@ public bool ShouldSerializeId() [DataMember(Name = "description", EmitDefaultValue = true)] public string Description { get; set; } + /// + /// The folder id where this attachment belong to + /// + /// The folder id where this attachment belong to + [DataMember(Name = "parent_folder_id", EmitDefaultValue = true)] + public string ParentFolderId { get; set; } + /// /// The user who last updated the object. /// @@ -190,6 +199,7 @@ public override string ToString() sb.Append(" Size: ").Append(Size).Append("\n"); sb.Append(" Reference: ").Append(Reference).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ParentFolderId: ").Append(ParentFolderId).Append("\n"); sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); @@ -265,6 +275,11 @@ public bool Equals(Attachment input) (this.Description != null && this.Description.Equals(input.Description)) ) && + ( + this.ParentFolderId == input.ParentFolderId || + (this.ParentFolderId != null && + this.ParentFolderId.Equals(input.ParentFolderId)) + ) && ( this.UpdatedBy == input.UpdatedBy || (this.UpdatedBy != null && @@ -330,6 +345,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Description.GetHashCode(); } + if (this.ParentFolderId != null) + { + hashCode = (hashCode * 59) + this.ParentFolderId.GetHashCode(); + } if (this.UpdatedBy != null) { hashCode = (hashCode * 59) + this.UpdatedBy.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/AttachmentReference.cs b/src/gen/src/Apideck/Model/AttachmentReference.cs index a936cea549..290073f384 100644 --- a/src/gen/src/Apideck/Model/AttachmentReference.cs +++ b/src/gen/src/Apideck/Model/AttachmentReference.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/AttachmentReferenceType.cs b/src/gen/src/Apideck/Model/AttachmentReferenceType.cs index 9b5dcee06e..bab1ef26ad 100644 --- a/src/gen/src/Apideck/Model/AttachmentReferenceType.cs +++ b/src/gen/src/Apideck/Model/AttachmentReferenceType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -41,7 +41,13 @@ public enum AttachmentReferenceType /// Enum Bill for value: bill /// [EnumMember(Value = "bill")] - Bill = 2 + Bill = 2, + + /// + /// Enum Expense for value: expense + /// + [EnumMember(Value = "expense")] + Expense = 3 } diff --git a/src/gen/src/Apideck/Model/AuthType.cs b/src/gen/src/Apideck/Model/AuthType.cs index 7ad8b644f1..ce1298667a 100644 --- a/src/gen/src/Apideck/Model/AuthType.cs +++ b/src/gen/src/Apideck/Model/AuthType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BadRequestResponse.cs b/src/gen/src/Apideck/Model/BadRequestResponse.cs index 7e499e95f7..d8eb14a63b 100644 --- a/src/gen/src/Apideck/Model/BadRequestResponse.cs +++ b/src/gen/src/Apideck/Model/BadRequestResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BalanceSheet.cs b/src/gen/src/Apideck/Model/BalanceSheet.cs index e8af781f33..3d938eb38f 100644 --- a/src/gen/src/Apideck/Model/BalanceSheet.cs +++ b/src/gen/src/Apideck/Model/BalanceSheet.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BalanceSheetAccount.cs b/src/gen/src/Apideck/Model/BalanceSheetAccount.cs index afd99fc261..d27c00c1ca 100644 --- a/src/gen/src/Apideck/Model/BalanceSheetAccount.cs +++ b/src/gen/src/Apideck/Model/BalanceSheetAccount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BalanceSheetAccountRecord.cs b/src/gen/src/Apideck/Model/BalanceSheetAccountRecord.cs index e6c87b1d74..a10d1796dc 100644 --- a/src/gen/src/Apideck/Model/BalanceSheetAccountRecord.cs +++ b/src/gen/src/Apideck/Model/BalanceSheetAccountRecord.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BalanceSheetFilter.cs b/src/gen/src/Apideck/Model/BalanceSheetFilter.cs index c3ecc7efd6..b209b1a5a2 100644 --- a/src/gen/src/Apideck/Model/BalanceSheetFilter.cs +++ b/src/gen/src/Apideck/Model/BalanceSheetFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BalanceSheetReports.cs b/src/gen/src/Apideck/Model/BalanceSheetReports.cs index 712cba94e4..5994e08c71 100644 --- a/src/gen/src/Apideck/Model/BalanceSheetReports.cs +++ b/src/gen/src/Apideck/Model/BalanceSheetReports.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BankAccount.cs b/src/gen/src/Apideck/Model/BankAccount.cs index 1f88691193..ebf6d5f110 100644 --- a/src/gen/src/Apideck/Model/BankAccount.cs +++ b/src/gen/src/Apideck/Model/BankAccount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Benefit.cs b/src/gen/src/Apideck/Model/Benefit.cs index 3b90212412..e274598866 100644 --- a/src/gen/src/Apideck/Model/Benefit.cs +++ b/src/gen/src/Apideck/Model/Benefit.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Bill.cs b/src/gen/src/Apideck/Model/Bill.cs index 4df802ff00..84b66b96dd 100644 --- a/src/gen/src/Apideck/Model/Bill.cs +++ b/src/gen/src/Apideck/Model/Bill.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -132,9 +132,11 @@ public enum StatusEnum /// Indicates if accounting by row is used (true) or not (false). Accounting by row means that a separate ledger transaction is created for each row.. /// bankAccount. /// Discount percentage applied to this transaction.. + /// A list of linked tracking categories.. /// 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.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public Bill(string billNumber = default(string), LinkedSupplier supplier = default(LinkedSupplier), string companyId = default(string), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), bool? taxInclusive = default(bool?), DateTime billDate = default(DateTime), DateTime dueDate = default(DateTime), DateTime? paidDate = default(DateTime?), string poNumber = default(string), string reference = default(string), List lineItems = default(List), string terms = default(string), decimal? balance = default(decimal?), decimal? deposit = default(decimal?), decimal? subTotal = default(decimal?), decimal? totalTax = default(decimal?), decimal? total = default(decimal?), string taxCode = default(string), string notes = default(string), StatusEnum? status = default(StatusEnum?), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), string paymentMethod = default(string), string channel = default(string), string language = default(string), bool? accountingByRow = default(bool?), BankAccount bankAccount = default(BankAccount), decimal? discountPercentage = default(decimal?), string rowVersion = default(string), List passThrough = default(List)) + /// Accounting period. + public Bill(string billNumber = default(string), LinkedSupplier supplier = default(LinkedSupplier), string companyId = default(string), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), bool? taxInclusive = default(bool?), DateTime billDate = default(DateTime), DateTime dueDate = default(DateTime), DateTime? paidDate = default(DateTime?), string poNumber = default(string), string reference = default(string), List lineItems = default(List), string terms = default(string), decimal? balance = default(decimal?), decimal? deposit = default(decimal?), decimal? subTotal = default(decimal?), decimal? totalTax = default(decimal?), decimal? total = default(decimal?), string taxCode = default(string), string notes = default(string), StatusEnum? status = default(StatusEnum?), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), string paymentMethod = default(string), string channel = default(string), string language = default(string), bool? accountingByRow = default(bool?), BankAccount bankAccount = default(BankAccount), decimal? discountPercentage = default(decimal?), List trackingCategories = default(List), string rowVersion = default(string), List passThrough = default(List), string accountingPeriod = default(string)) { this.BillNumber = billNumber; this.Supplier = supplier; @@ -164,8 +166,10 @@ public enum StatusEnum this.AccountingByRow = accountingByRow; this.BankAccount = bankAccount; this.DiscountPercentage = discountPercentage; + this.TrackingCategories = trackingCategories; this.RowVersion = rowVersion; this.PassThrough = passThrough; + this.AccountingPeriod = accountingPeriod; } /// @@ -378,6 +382,13 @@ public bool ShouldSerializeDownstreamId() [DataMember(Name = "discount_percentage", EmitDefaultValue = true)] public decimal? DiscountPercentage { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + /// /// The user who last updated the object. /// @@ -467,6 +478,13 @@ public bool ShouldSerializeCustomMappings() [DataMember(Name = "pass_through", EmitDefaultValue = false)] public List PassThrough { get; set; } + /// + /// Accounting period + /// + /// Accounting period + [DataMember(Name = "accounting_period", EmitDefaultValue = true)] + public string AccountingPeriod { get; set; } + /// /// Returns the string presentation of the object /// @@ -505,6 +523,7 @@ public override string ToString() sb.Append(" AccountingByRow: ").Append(AccountingByRow).Append("\n"); sb.Append(" BankAccount: ").Append(BankAccount).Append("\n"); sb.Append(" DiscountPercentage: ").Append(DiscountPercentage).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); @@ -512,6 +531,7 @@ public override string ToString() sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); sb.Append(" PassThrough: ").Append(PassThrough).Append("\n"); + sb.Append(" AccountingPeriod: ").Append(AccountingPeriod).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -696,6 +716,12 @@ public bool Equals(Bill input) (this.DiscountPercentage != null && this.DiscountPercentage.Equals(input.DiscountPercentage)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.UpdatedBy == input.UpdatedBy || (this.UpdatedBy != null && @@ -731,6 +757,11 @@ public bool Equals(Bill input) this.PassThrough != null && input.PassThrough != null && this.PassThrough.SequenceEqual(input.PassThrough) + ) && + ( + this.AccountingPeriod == input.AccountingPeriod || + (this.AccountingPeriod != null && + this.AccountingPeriod.Equals(input.AccountingPeriod)) ); } @@ -857,6 +888,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.DiscountPercentage.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.UpdatedBy != null) { hashCode = (hashCode * 59) + this.UpdatedBy.GetHashCode(); @@ -885,6 +920,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.PassThrough.GetHashCode(); } + if (this.AccountingPeriod != null) + { + hashCode = (hashCode * 59) + this.AccountingPeriod.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/BillLineItem.cs b/src/gen/src/Apideck/Model/BillLineItem.cs index f86ffe1083..11bc165f19 100644 --- a/src/gen/src/Apideck/Model/BillLineItem.cs +++ b/src/gen/src/Apideck/Model/BillLineItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -85,8 +85,9 @@ public enum TypeEnum /// item. /// taxRate. /// ledgerAccount. + /// A list of linked tracking categories.. /// 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.. - public BillLineItem(string rowId = default(string), string code = default(string), int? lineNumber = default(int?), string description = default(string), TypeEnum? type = default(TypeEnum?), decimal? taxAmount = default(decimal?), decimal? totalAmount = default(decimal?), decimal? quantity = default(decimal?), decimal? unitPrice = default(decimal?), string unitOfMeasure = default(string), decimal? discountPercentage = default(decimal?), decimal? discountAmount = default(decimal?), string locationId = default(string), string departmentId = default(string), LinkedInvoiceItem item = default(LinkedInvoiceItem), LinkedTaxRate taxRate = default(LinkedTaxRate), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), string rowVersion = default(string)) + public BillLineItem(string rowId = default(string), string code = default(string), int? lineNumber = default(int?), string description = default(string), TypeEnum? type = default(TypeEnum?), decimal? taxAmount = default(decimal?), decimal? totalAmount = default(decimal?), decimal? quantity = default(decimal?), decimal? unitPrice = default(decimal?), string unitOfMeasure = default(string), decimal? discountPercentage = default(decimal?), decimal? discountAmount = default(decimal?), string locationId = default(string), string departmentId = default(string), LinkedInvoiceItem item = default(LinkedInvoiceItem), LinkedTaxRate taxRate = default(LinkedTaxRate), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), List trackingCategories = default(List), string rowVersion = default(string)) { this.RowId = rowId; this.Code = code; @@ -105,6 +106,7 @@ public enum TypeEnum this.Item = item; this.TaxRate = taxRate; this.LedgerAccount = ledgerAccount; + this.TrackingCategories = trackingCategories; this.RowVersion = rowVersion; } @@ -230,6 +232,13 @@ public bool ShouldSerializeId() [DataMember(Name = "ledger_account", EmitDefaultValue = true)] public LinkedLedgerAccount LedgerAccount { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + /// /// 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. /// @@ -323,6 +332,7 @@ public override string ToString() sb.Append(" Item: ").Append(Item).Append("\n"); sb.Append(" TaxRate: ").Append(TaxRate).Append("\n"); sb.Append(" LedgerAccount: ").Append(LedgerAccount).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); @@ -452,6 +462,12 @@ public bool Equals(BillLineItem input) (this.LedgerAccount != null && this.LedgerAccount.Equals(input.LedgerAccount)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.RowVersion == input.RowVersion || (this.RowVersion != null && @@ -557,6 +573,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.LedgerAccount.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.RowVersion != null) { hashCode = (hashCode * 59) + this.RowVersion.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/BillPayment.cs b/src/gen/src/Apideck/Model/BillPayment.cs new file mode 100644 index 0000000000..685b83fa4d --- /dev/null +++ b/src/gen/src/Apideck/Model/BillPayment.cs @@ -0,0 +1,701 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// BillPayment + /// + [DataContract(Name = "BillPayment")] + public partial class BillPayment : IEquatable, IValidatableObject + { + + /// + /// Gets or Sets Currency + /// + [DataMember(Name = "currency", EmitDefaultValue = true)] + public Currency? Currency { get; set; } + + /// + /// Gets or Sets Status + /// + [DataMember(Name = "status", EmitDefaultValue = false)] + public PaymentStatus? Status { get; set; } + + /// + /// Gets or Sets Type + /// + [DataMember(Name = "type", EmitDefaultValue = false)] + public PaymentType? Type { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected BillPayment() { } + /// + /// Initializes a new instance of the class. + /// + /// currency. + /// Currency Exchange Rate at the time entity was recorded/generated.. + /// The total amount of the transaction (required). + /// Optional transaction reference message ie: Debit remittance detail.. + /// Payment method used for the transaction, such as cash, credit card, bank transfer, or check. + /// Optional reference message returned by payment method on processing. + /// A unique identifier for an object.. + /// account. + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD (required). + /// supplier. + /// The company or subsidiary id the transaction belongs to. + /// Indicates if the transaction has been reconciled.. + /// status. + /// type. + /// allocations. + /// Note associated with the transaction. + /// Number associated with the transaction. + /// A list of linked tracking categories.. + /// customFields. + /// 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.. + /// Id to be displayed.. + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. + public BillPayment(Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), decimal? totalAmount = default(decimal?), string reference = default(string), string paymentMethod = default(string), string paymentMethodReference = default(string), string paymentMethodId = default(string), LinkedLedgerAccount account = default(LinkedLedgerAccount), DateTime? transactionDate = default(DateTime?), LinkedSupplier supplier = default(LinkedSupplier), string companyId = default(string), bool? reconciled = default(bool?), PaymentStatus? status = default(PaymentStatus?), PaymentType? type = default(PaymentType?), List allocations = default(List), string note = default(string), string number = default(string), List trackingCategories = default(List), List customFields = default(List), string rowVersion = default(string), string displayId = default(string), List passThrough = default(List)) + { + // to ensure "totalAmount" is required (not null) + if (totalAmount == null) { + throw new ArgumentNullException("totalAmount is a required property for BillPayment and cannot be null"); + } + this.TotalAmount = totalAmount; + // to ensure "transactionDate" is required (not null) + if (transactionDate == null) { + throw new ArgumentNullException("transactionDate is a required property for BillPayment and cannot be null"); + } + this.TransactionDate = transactionDate; + this.Currency = currency; + this.CurrencyRate = currencyRate; + this.Reference = reference; + this.PaymentMethod = paymentMethod; + this.PaymentMethodReference = paymentMethodReference; + this.PaymentMethodId = paymentMethodId; + this.Account = account; + this.Supplier = supplier; + this.CompanyId = companyId; + this.Reconciled = reconciled; + this.Status = status; + this.Type = type; + this.Allocations = allocations; + this.Note = note; + this.Number = number; + this.TrackingCategories = trackingCategories; + this.CustomFields = customFields; + this.RowVersion = rowVersion; + this.DisplayId = displayId; + this.PassThrough = passThrough; + } + + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = false)] + public string Id { get; private set; } + + /// + /// Returns false as Id should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeId() + { + return false; + } + /// + /// The third-party API ID of original entity + /// + /// The third-party API ID of original entity + [DataMember(Name = "downstream_id", EmitDefaultValue = true)] + public string DownstreamId { get; private set; } + + /// + /// Returns false as DownstreamId should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDownstreamId() + { + return false; + } + /// + /// Currency Exchange Rate at the time entity was recorded/generated. + /// + /// Currency Exchange Rate at the time entity was recorded/generated. + [DataMember(Name = "currency_rate", EmitDefaultValue = true)] + public decimal? CurrencyRate { get; set; } + + /// + /// The total amount of the transaction + /// + /// The total amount of the transaction + [DataMember(Name = "total_amount", IsRequired = true, EmitDefaultValue = true)] + public decimal? TotalAmount { get; set; } + + /// + /// Optional transaction reference message ie: Debit remittance detail. + /// + /// Optional transaction reference message ie: Debit remittance detail. + [DataMember(Name = "reference", EmitDefaultValue = true)] + public string Reference { get; set; } + + /// + /// Payment method used for the transaction, such as cash, credit card, bank transfer, or check + /// + /// Payment method used for the transaction, such as cash, credit card, bank transfer, or check + [DataMember(Name = "payment_method", EmitDefaultValue = true)] + public string PaymentMethod { get; set; } + + /// + /// Optional reference message returned by payment method on processing + /// + /// Optional reference message returned by payment method on processing + [DataMember(Name = "payment_method_reference", EmitDefaultValue = true)] + public string PaymentMethodReference { get; set; } + + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "payment_method_id", EmitDefaultValue = true)] + public string PaymentMethodId { get; set; } + + /// + /// Gets or Sets Account + /// + [DataMember(Name = "account", EmitDefaultValue = true)] + public LinkedLedgerAccount Account { get; set; } + + /// + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + /// + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + [DataMember(Name = "transaction_date", IsRequired = true, EmitDefaultValue = true)] + public DateTime? TransactionDate { get; set; } + + /// + /// Gets or Sets Supplier + /// + [DataMember(Name = "supplier", EmitDefaultValue = true)] + public LinkedSupplier Supplier { get; set; } + + /// + /// The company or subsidiary id the transaction belongs to + /// + /// The company or subsidiary id the transaction belongs to + [DataMember(Name = "company_id", EmitDefaultValue = true)] + public string CompanyId { get; set; } + + /// + /// Indicates if the transaction has been reconciled. + /// + /// Indicates if the transaction has been reconciled. + [DataMember(Name = "reconciled", EmitDefaultValue = true)] + public bool? Reconciled { get; set; } + + /// + /// Gets or Sets Allocations + /// + [DataMember(Name = "allocations", EmitDefaultValue = false)] + public List Allocations { get; set; } + + /// + /// Note associated with the transaction + /// + /// Note associated with the transaction + [DataMember(Name = "note", EmitDefaultValue = true)] + public string Note { get; set; } + + /// + /// Number associated with the transaction + /// + /// Number associated with the transaction + [DataMember(Name = "number", EmitDefaultValue = true)] + public string Number { get; set; } + + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + + /// + /// Gets or Sets CustomFields + /// + [DataMember(Name = "custom_fields", EmitDefaultValue = false)] + public List CustomFields { get; set; } + + /// + /// 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. + /// + /// 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. + [DataMember(Name = "row_version", EmitDefaultValue = true)] + public string RowVersion { get; set; } + + /// + /// Id to be displayed. + /// + /// Id to be displayed. + [DataMember(Name = "display_id", EmitDefaultValue = true)] + public string DisplayId { get; set; } + + /// + /// When custom mappings are configured on the resource, the result is included here. + /// + /// When custom mappings are configured on the resource, the result is included here. + [DataMember(Name = "custom_mappings", EmitDefaultValue = true)] + public Object CustomMappings { get; private set; } + + /// + /// Returns false as CustomMappings should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCustomMappings() + { + return false; + } + /// + /// The user who last updated the object. + /// + /// The user who last updated the object. + [DataMember(Name = "updated_by", EmitDefaultValue = true)] + public string UpdatedBy { get; private set; } + + /// + /// Returns false as UpdatedBy should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeUpdatedBy() + { + return false; + } + /// + /// The user who created the object. + /// + /// The user who created the object. + [DataMember(Name = "created_by", EmitDefaultValue = true)] + public string CreatedBy { get; private set; } + + /// + /// Returns false as CreatedBy should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCreatedBy() + { + return false; + } + /// + /// The date and time when the object was created. + /// + /// The date and time when the object was created. + [DataMember(Name = "created_at", EmitDefaultValue = true)] + public DateTime? CreatedAt { get; private set; } + + /// + /// Returns false as CreatedAt should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCreatedAt() + { + return false; + } + /// + /// The date and time when the object was last updated. + /// + /// The date and time when the object was last updated. + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; private set; } + + /// + /// Returns false as UpdatedAt should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeUpdatedAt() + { + return false; + } + /// + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + /// + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + [DataMember(Name = "pass_through", EmitDefaultValue = false)] + public List PassThrough { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class BillPayment {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" DownstreamId: ").Append(DownstreamId).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" CurrencyRate: ").Append(CurrencyRate).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" Reference: ").Append(Reference).Append("\n"); + sb.Append(" PaymentMethod: ").Append(PaymentMethod).Append("\n"); + sb.Append(" PaymentMethodReference: ").Append(PaymentMethodReference).Append("\n"); + sb.Append(" PaymentMethodId: ").Append(PaymentMethodId).Append("\n"); + sb.Append(" Account: ").Append(Account).Append("\n"); + sb.Append(" TransactionDate: ").Append(TransactionDate).Append("\n"); + sb.Append(" Supplier: ").Append(Supplier).Append("\n"); + sb.Append(" CompanyId: ").Append(CompanyId).Append("\n"); + sb.Append(" Reconciled: ").Append(Reconciled).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" Allocations: ").Append(Allocations).Append("\n"); + sb.Append(" Note: ").Append(Note).Append("\n"); + sb.Append(" Number: ").Append(Number).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); + sb.Append(" CustomFields: ").Append(CustomFields).Append("\n"); + sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); + sb.Append(" DisplayId: ").Append(DisplayId).Append("\n"); + sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); + sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); + sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" PassThrough: ").Append(PassThrough).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as BillPayment); + } + + /// + /// Returns true if BillPayment instances are equal + /// + /// Instance of BillPayment to be compared + /// Boolean + public bool Equals(BillPayment input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.DownstreamId == input.DownstreamId || + (this.DownstreamId != null && + this.DownstreamId.Equals(input.DownstreamId)) + ) && + ( + this.Currency == input.Currency || + this.Currency.Equals(input.Currency) + ) && + ( + this.CurrencyRate == input.CurrencyRate || + (this.CurrencyRate != null && + this.CurrencyRate.Equals(input.CurrencyRate)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.Reference == input.Reference || + (this.Reference != null && + this.Reference.Equals(input.Reference)) + ) && + ( + this.PaymentMethod == input.PaymentMethod || + (this.PaymentMethod != null && + this.PaymentMethod.Equals(input.PaymentMethod)) + ) && + ( + this.PaymentMethodReference == input.PaymentMethodReference || + (this.PaymentMethodReference != null && + this.PaymentMethodReference.Equals(input.PaymentMethodReference)) + ) && + ( + this.PaymentMethodId == input.PaymentMethodId || + (this.PaymentMethodId != null && + this.PaymentMethodId.Equals(input.PaymentMethodId)) + ) && + ( + this.Account == input.Account || + (this.Account != null && + this.Account.Equals(input.Account)) + ) && + ( + this.TransactionDate == input.TransactionDate || + (this.TransactionDate != null && + this.TransactionDate.Equals(input.TransactionDate)) + ) && + ( + this.Supplier == input.Supplier || + (this.Supplier != null && + this.Supplier.Equals(input.Supplier)) + ) && + ( + this.CompanyId == input.CompanyId || + (this.CompanyId != null && + this.CompanyId.Equals(input.CompanyId)) + ) && + ( + this.Reconciled == input.Reconciled || + (this.Reconciled != null && + this.Reconciled.Equals(input.Reconciled)) + ) && + ( + this.Status == input.Status || + this.Status.Equals(input.Status) + ) && + ( + this.Type == input.Type || + this.Type.Equals(input.Type) + ) && + ( + this.Allocations == input.Allocations || + this.Allocations != null && + input.Allocations != null && + this.Allocations.SequenceEqual(input.Allocations) + ) && + ( + this.Note == input.Note || + (this.Note != null && + this.Note.Equals(input.Note)) + ) && + ( + this.Number == input.Number || + (this.Number != null && + this.Number.Equals(input.Number)) + ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && + ( + this.CustomFields == input.CustomFields || + this.CustomFields != null && + input.CustomFields != null && + this.CustomFields.SequenceEqual(input.CustomFields) + ) && + ( + this.RowVersion == input.RowVersion || + (this.RowVersion != null && + this.RowVersion.Equals(input.RowVersion)) + ) && + ( + this.DisplayId == input.DisplayId || + (this.DisplayId != null && + this.DisplayId.Equals(input.DisplayId)) + ) && + ( + this.CustomMappings == input.CustomMappings || + (this.CustomMappings != null && + this.CustomMappings.Equals(input.CustomMappings)) + ) && + ( + this.UpdatedBy == input.UpdatedBy || + (this.UpdatedBy != null && + this.UpdatedBy.Equals(input.UpdatedBy)) + ) && + ( + this.CreatedBy == input.CreatedBy || + (this.CreatedBy != null && + this.CreatedBy.Equals(input.CreatedBy)) + ) && + ( + this.CreatedAt == input.CreatedAt || + (this.CreatedAt != null && + this.CreatedAt.Equals(input.CreatedAt)) + ) && + ( + this.UpdatedAt == input.UpdatedAt || + (this.UpdatedAt != null && + this.UpdatedAt.Equals(input.UpdatedAt)) + ) && + ( + this.PassThrough == input.PassThrough || + this.PassThrough != null && + input.PassThrough != null && + this.PassThrough.SequenceEqual(input.PassThrough) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.DownstreamId != null) + { + hashCode = (hashCode * 59) + this.DownstreamId.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Currency.GetHashCode(); + if (this.CurrencyRate != null) + { + hashCode = (hashCode * 59) + this.CurrencyRate.GetHashCode(); + } + if (this.TotalAmount != null) + { + hashCode = (hashCode * 59) + this.TotalAmount.GetHashCode(); + } + if (this.Reference != null) + { + hashCode = (hashCode * 59) + this.Reference.GetHashCode(); + } + if (this.PaymentMethod != null) + { + hashCode = (hashCode * 59) + this.PaymentMethod.GetHashCode(); + } + if (this.PaymentMethodReference != null) + { + hashCode = (hashCode * 59) + this.PaymentMethodReference.GetHashCode(); + } + if (this.PaymentMethodId != null) + { + hashCode = (hashCode * 59) + this.PaymentMethodId.GetHashCode(); + } + if (this.Account != null) + { + hashCode = (hashCode * 59) + this.Account.GetHashCode(); + } + if (this.TransactionDate != null) + { + hashCode = (hashCode * 59) + this.TransactionDate.GetHashCode(); + } + if (this.Supplier != null) + { + hashCode = (hashCode * 59) + this.Supplier.GetHashCode(); + } + if (this.CompanyId != null) + { + hashCode = (hashCode * 59) + this.CompanyId.GetHashCode(); + } + if (this.Reconciled != null) + { + hashCode = (hashCode * 59) + this.Reconciled.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + hashCode = (hashCode * 59) + this.Type.GetHashCode(); + if (this.Allocations != null) + { + hashCode = (hashCode * 59) + this.Allocations.GetHashCode(); + } + if (this.Note != null) + { + hashCode = (hashCode * 59) + this.Note.GetHashCode(); + } + if (this.Number != null) + { + hashCode = (hashCode * 59) + this.Number.GetHashCode(); + } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } + if (this.CustomFields != null) + { + hashCode = (hashCode * 59) + this.CustomFields.GetHashCode(); + } + if (this.RowVersion != null) + { + hashCode = (hashCode * 59) + this.RowVersion.GetHashCode(); + } + if (this.DisplayId != null) + { + hashCode = (hashCode * 59) + this.DisplayId.GetHashCode(); + } + if (this.CustomMappings != null) + { + hashCode = (hashCode * 59) + this.CustomMappings.GetHashCode(); + } + if (this.UpdatedBy != null) + { + hashCode = (hashCode * 59) + this.UpdatedBy.GetHashCode(); + } + if (this.CreatedBy != null) + { + hashCode = (hashCode * 59) + this.CreatedBy.GetHashCode(); + } + if (this.CreatedAt != null) + { + hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode(); + } + if (this.UpdatedAt != null) + { + hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode(); + } + if (this.PassThrough != null) + { + hashCode = (hashCode * 59) + this.PassThrough.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/BillsFilter.cs b/src/gen/src/Apideck/Model/BillsFilter.cs index 4928287227..c72c78e0b1 100644 --- a/src/gen/src/Apideck/Model/BillsFilter.cs +++ b/src/gen/src/Apideck/Model/BillsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/BillsSort.cs b/src/gen/src/Apideck/Model/BillsSort.cs index 97c813ecd5..91844ce0c2 100644 --- a/src/gen/src/Apideck/Model/BillsSort.cs +++ b/src/gen/src/Apideck/Model/BillsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Branch.cs b/src/gen/src/Apideck/Model/Branch.cs index 82356d96b7..a2cab2c753 100644 --- a/src/gen/src/Apideck/Model/Branch.cs +++ b/src/gen/src/Apideck/Model/Branch.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CashDetails.cs b/src/gen/src/Apideck/Model/CashDetails.cs index 276f99a6ab..ee7ea680e6 100644 --- a/src/gen/src/Apideck/Model/CashDetails.cs +++ b/src/gen/src/Apideck/Model/CashDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Collection.cs b/src/gen/src/Apideck/Model/Collection.cs index 0aaedfb109..cc5325d163 100644 --- a/src/gen/src/Apideck/Model/Collection.cs +++ b/src/gen/src/Apideck/Model/Collection.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CollectionTag.cs b/src/gen/src/Apideck/Model/CollectionTag.cs index f69bc57d7a..b9c2d4cba9 100644 --- a/src/gen/src/Apideck/Model/CollectionTag.cs +++ b/src/gen/src/Apideck/Model/CollectionTag.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CollectionTicketComment.cs b/src/gen/src/Apideck/Model/CollectionTicketComment.cs index 661ea72feb..23ef15fc93 100644 --- a/src/gen/src/Apideck/Model/CollectionTicketComment.cs +++ b/src/gen/src/Apideck/Model/CollectionTicketComment.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CollectionUser.cs b/src/gen/src/Apideck/Model/CollectionUser.cs index e58c36f6e1..b21a782c12 100644 --- a/src/gen/src/Apideck/Model/CollectionUser.cs +++ b/src/gen/src/Apideck/Model/CollectionUser.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CollectionsSort.cs b/src/gen/src/Apideck/Model/CollectionsSort.cs index 13c56b97fe..df39b9618c 100644 --- a/src/gen/src/Apideck/Model/CollectionsSort.cs +++ b/src/gen/src/Apideck/Model/CollectionsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CommentsSort.cs b/src/gen/src/Apideck/Model/CommentsSort.cs index 5fe55d1175..35d10e2c89 100644 --- a/src/gen/src/Apideck/Model/CommentsSort.cs +++ b/src/gen/src/Apideck/Model/CommentsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CompaniesFilter.cs b/src/gen/src/Apideck/Model/CompaniesFilter.cs index ecd38c7cdc..9ff0fc339c 100644 --- a/src/gen/src/Apideck/Model/CompaniesFilter.cs +++ b/src/gen/src/Apideck/Model/CompaniesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CompaniesSort.cs b/src/gen/src/Apideck/Model/CompaniesSort.cs index 554f67f259..4133fc0712 100644 --- a/src/gen/src/Apideck/Model/CompaniesSort.cs +++ b/src/gen/src/Apideck/Model/CompaniesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Company.cs b/src/gen/src/Apideck/Model/Company.cs index 0683119bf0..5858434853 100644 --- a/src/gen/src/Apideck/Model/Company.cs +++ b/src/gen/src/Apideck/Model/Company.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CompanyInfo.cs b/src/gen/src/Apideck/Model/CompanyInfo.cs index a327fc879d..5e703324d3 100644 --- a/src/gen/src/Apideck/Model/CompanyInfo.cs +++ b/src/gen/src/Apideck/Model/CompanyInfo.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CompanyRowType.cs b/src/gen/src/Apideck/Model/CompanyRowType.cs index 3905b51d45..5296495239 100644 --- a/src/gen/src/Apideck/Model/CompanyRowType.cs +++ b/src/gen/src/Apideck/Model/CompanyRowType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Compensation.cs b/src/gen/src/Apideck/Model/Compensation.cs index e2f0bd7fce..6de1ba800d 100644 --- a/src/gen/src/Apideck/Model/Compensation.cs +++ b/src/gen/src/Apideck/Model/Compensation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Connection.cs b/src/gen/src/Apideck/Model/Connection.cs index d96b782f4d..28b6f295cc 100644 --- a/src/gen/src/Apideck/Model/Connection.cs +++ b/src/gen/src/Apideck/Model/Connection.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionConfiguration.cs b/src/gen/src/Apideck/Model/ConnectionConfiguration.cs index 2b84e7b3b8..f9ef2cd6ec 100644 --- a/src/gen/src/Apideck/Model/ConnectionConfiguration.cs +++ b/src/gen/src/Apideck/Model/ConnectionConfiguration.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionDefaults.cs b/src/gen/src/Apideck/Model/ConnectionDefaults.cs index 1b066f7c02..5431f70a12 100644 --- a/src/gen/src/Apideck/Model/ConnectionDefaults.cs +++ b/src/gen/src/Apideck/Model/ConnectionDefaults.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionImportData.cs b/src/gen/src/Apideck/Model/ConnectionImportData.cs index b68141b86a..0fc5f0c84b 100644 --- a/src/gen/src/Apideck/Model/ConnectionImportData.cs +++ b/src/gen/src/Apideck/Model/ConnectionImportData.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionImportDataCredentials.cs b/src/gen/src/Apideck/Model/ConnectionImportDataCredentials.cs index cff970d352..dba7ce7755 100644 --- a/src/gen/src/Apideck/Model/ConnectionImportDataCredentials.cs +++ b/src/gen/src/Apideck/Model/ConnectionImportDataCredentials.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionMetadata.cs b/src/gen/src/Apideck/Model/ConnectionMetadata.cs index ccda70ad35..9e51100bef 100644 --- a/src/gen/src/Apideck/Model/ConnectionMetadata.cs +++ b/src/gen/src/Apideck/Model/ConnectionMetadata.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionState.cs b/src/gen/src/Apideck/Model/ConnectionState.cs index df08ee3a66..04a5baf590 100644 --- a/src/gen/src/Apideck/Model/ConnectionState.cs +++ b/src/gen/src/Apideck/Model/ConnectionState.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectionWebhook.cs b/src/gen/src/Apideck/Model/ConnectionWebhook.cs index 31906b0293..91814ff957 100644 --- a/src/gen/src/Apideck/Model/ConnectionWebhook.cs +++ b/src/gen/src/Apideck/Model/ConnectionWebhook.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -715,7 +715,25 @@ public enum EventsEnum /// Enum AtsApplicationDeleted for value: ats.application.deleted /// [EnumMember(Value = "ats.application.deleted")] - AtsApplicationDeleted = 102 + AtsApplicationDeleted = 102, + + /// + /// Enum AccountingExpenseCreated for value: accounting.expense.created + /// + [EnumMember(Value = "accounting.expense.created")] + AccountingExpenseCreated = 103, + + /// + /// Enum AccountingExpenseUpdated for value: accounting.expense.updated + /// + [EnumMember(Value = "accounting.expense.updated")] + AccountingExpenseUpdated = 104, + + /// + /// Enum AccountingExpenseDeleted for value: accounting.expense.deleted + /// + [EnumMember(Value = "accounting.expense.deleted")] + AccountingExpenseDeleted = 105 } diff --git a/src/gen/src/Apideck/Model/Connector.cs b/src/gen/src/Apideck/Model/Connector.cs index 1724dd2163..c838432be5 100644 --- a/src/gen/src/Apideck/Model/Connector.cs +++ b/src/gen/src/Apideck/Model/Connector.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorDoc.cs b/src/gen/src/Apideck/Model/ConnectorDoc.cs index 285cdec4bb..542321fc74 100644 --- a/src/gen/src/Apideck/Model/ConnectorDoc.cs +++ b/src/gen/src/Apideck/Model/ConnectorDoc.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorEvent.cs b/src/gen/src/Apideck/Model/ConnectorEvent.cs index 02df418da9..b857ead64b 100644 --- a/src/gen/src/Apideck/Model/ConnectorEvent.cs +++ b/src/gen/src/Apideck/Model/ConnectorEvent.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorOauthScopes.cs b/src/gen/src/Apideck/Model/ConnectorOauthScopes.cs index 54f7d0a630..83b761c10f 100644 --- a/src/gen/src/Apideck/Model/ConnectorOauthScopes.cs +++ b/src/gen/src/Apideck/Model/ConnectorOauthScopes.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorOauthScopes1.cs b/src/gen/src/Apideck/Model/ConnectorOauthScopes1.cs index 0d5fe58f02..fff009f86c 100644 --- a/src/gen/src/Apideck/Model/ConnectorOauthScopes1.cs +++ b/src/gen/src/Apideck/Model/ConnectorOauthScopes1.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorResource.cs b/src/gen/src/Apideck/Model/ConnectorResource.cs index 8975147853..e958229040 100644 --- a/src/gen/src/Apideck/Model/ConnectorResource.cs +++ b/src/gen/src/Apideck/Model/ConnectorResource.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorSetting.cs b/src/gen/src/Apideck/Model/ConnectorSetting.cs index d9683100e5..bab2289c52 100644 --- a/src/gen/src/Apideck/Model/ConnectorSetting.cs +++ b/src/gen/src/Apideck/Model/ConnectorSetting.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorStatus.cs b/src/gen/src/Apideck/Model/ConnectorStatus.cs index 701b0c2aaa..0de0203839 100644 --- a/src/gen/src/Apideck/Model/ConnectorStatus.cs +++ b/src/gen/src/Apideck/Model/ConnectorStatus.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorTlsSupport.cs b/src/gen/src/Apideck/Model/ConnectorTlsSupport.cs index d50a5cdb95..49022446e5 100644 --- a/src/gen/src/Apideck/Model/ConnectorTlsSupport.cs +++ b/src/gen/src/Apideck/Model/ConnectorTlsSupport.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorUnifiedApis.cs b/src/gen/src/Apideck/Model/ConnectorUnifiedApis.cs index 34bd4e7873..1fa8585af1 100644 --- a/src/gen/src/Apideck/Model/ConnectorUnifiedApis.cs +++ b/src/gen/src/Apideck/Model/ConnectorUnifiedApis.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConnectorsFilter.cs b/src/gen/src/Apideck/Model/ConnectorsFilter.cs index ddabe5ff62..81c8edf6cd 100644 --- a/src/gen/src/Apideck/Model/ConnectorsFilter.cs +++ b/src/gen/src/Apideck/Model/ConnectorsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Consumer.cs b/src/gen/src/Apideck/Model/Consumer.cs index 85bcf45783..a2446fc82c 100644 --- a/src/gen/src/Apideck/Model/Consumer.cs +++ b/src/gen/src/Apideck/Model/Consumer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConsumerConnection.cs b/src/gen/src/Apideck/Model/ConsumerConnection.cs index 5b9220e647..0ab7a12485 100644 --- a/src/gen/src/Apideck/Model/ConsumerConnection.cs +++ b/src/gen/src/Apideck/Model/ConsumerConnection.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConsumerMetadata.cs b/src/gen/src/Apideck/Model/ConsumerMetadata.cs index 0a0e2ae1f7..c1f575c042 100644 --- a/src/gen/src/Apideck/Model/ConsumerMetadata.cs +++ b/src/gen/src/Apideck/Model/ConsumerMetadata.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponse.cs b/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponse.cs index 187ab6dccf..16b94856fb 100644 --- a/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponse.cs +++ b/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponseData.cs b/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponseData.cs index 9fea765d8e..6fd2570770 100644 --- a/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponseData.cs +++ b/src/gen/src/Apideck/Model/ConsumerRequestCountsInDateRangeResponseData.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Contact.cs b/src/gen/src/Apideck/Model/Contact.cs index dabb51ab72..5dcd164c97 100644 --- a/src/gen/src/Apideck/Model/Contact.cs +++ b/src/gen/src/Apideck/Model/Contact.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ContactsFilter.cs b/src/gen/src/Apideck/Model/ContactsFilter.cs index 94d1bfc2dd..f59add3242 100644 --- a/src/gen/src/Apideck/Model/ContactsFilter.cs +++ b/src/gen/src/Apideck/Model/ContactsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ContactsSort.cs b/src/gen/src/Apideck/Model/ContactsSort.cs index 4ceb0c193f..344b0b2115 100644 --- a/src/gen/src/Apideck/Model/ContactsSort.cs +++ b/src/gen/src/Apideck/Model/ContactsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CopyFolderRequest.cs b/src/gen/src/Apideck/Model/CopyFolderRequest.cs index 1484875e46..01a049f097 100644 --- a/src/gen/src/Apideck/Model/CopyFolderRequest.cs +++ b/src/gen/src/Apideck/Model/CopyFolderRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateAccountingDepartmentResponse.cs b/src/gen/src/Apideck/Model/CreateAccountingDepartmentResponse.cs index a40fbe4e06..8ce656b923 100644 --- a/src/gen/src/Apideck/Model/CreateAccountingDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/CreateAccountingDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateAccountingLocationResponse.cs b/src/gen/src/Apideck/Model/CreateAccountingLocationResponse.cs index 976b033b5d..6abf24321a 100644 --- a/src/gen/src/Apideck/Model/CreateAccountingLocationResponse.cs +++ b/src/gen/src/Apideck/Model/CreateAccountingLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateActivityResponse.cs b/src/gen/src/Apideck/Model/CreateActivityResponse.cs index 78252609d9..a6e8f278f2 100644 --- a/src/gen/src/Apideck/Model/CreateActivityResponse.cs +++ b/src/gen/src/Apideck/Model/CreateActivityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateApplicantResponse.cs b/src/gen/src/Apideck/Model/CreateApplicantResponse.cs index 8646ba264a..e63da8b7ac 100644 --- a/src/gen/src/Apideck/Model/CreateApplicantResponse.cs +++ b/src/gen/src/Apideck/Model/CreateApplicantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateApplicationResponse.cs b/src/gen/src/Apideck/Model/CreateApplicationResponse.cs index d602651613..49d7f2ea9f 100644 --- a/src/gen/src/Apideck/Model/CreateApplicationResponse.cs +++ b/src/gen/src/Apideck/Model/CreateApplicationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateAttachmentRequest.cs b/src/gen/src/Apideck/Model/CreateAttachmentRequest.cs index c14f4545a9..fb714b06fe 100644 --- a/src/gen/src/Apideck/Model/CreateAttachmentRequest.cs +++ b/src/gen/src/Apideck/Model/CreateAttachmentRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -41,8 +41,9 @@ protected CreateAttachmentRequest() { } /// /// The name of the file (required). /// Optional description of the file.. + /// The folder id where this attachment belong to. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public CreateAttachmentRequest(string name = default(string), string description = default(string), List passThrough = default(List)) + public CreateAttachmentRequest(string name = default(string), string description = default(string), string parentFolderId = default(string), List passThrough = default(List)) { // to ensure "name" is required (not null) if (name == null) { @@ -50,6 +51,7 @@ protected CreateAttachmentRequest() { } } this.Name = name; this.Description = description; + this.ParentFolderId = parentFolderId; this.PassThrough = passThrough; } @@ -67,6 +69,13 @@ protected CreateAttachmentRequest() { } [DataMember(Name = "description", EmitDefaultValue = false)] public string Description { get; set; } + /// + /// The folder id where this attachment belong to + /// + /// The folder id where this attachment belong to + [DataMember(Name = "parent_folder_id", EmitDefaultValue = false)] + public string ParentFolderId { get; set; } + /// /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. /// @@ -84,6 +93,7 @@ public override string ToString() sb.Append("class CreateAttachmentRequest {\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ParentFolderId: ").Append(ParentFolderId).Append("\n"); sb.Append(" PassThrough: ").Append(PassThrough).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -130,6 +140,11 @@ public bool Equals(CreateAttachmentRequest input) (this.Description != null && this.Description.Equals(input.Description)) ) && + ( + this.ParentFolderId == input.ParentFolderId || + (this.ParentFolderId != null && + this.ParentFolderId.Equals(input.ParentFolderId)) + ) && ( this.PassThrough == input.PassThrough || this.PassThrough != null && @@ -155,6 +170,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Description.GetHashCode(); } + if (this.ParentFolderId != null) + { + hashCode = (hashCode * 59) + this.ParentFolderId.GetHashCode(); + } if (this.PassThrough != null) { hashCode = (hashCode * 59) + this.PassThrough.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/CreateAttachmentResponse.cs b/src/gen/src/Apideck/Model/CreateAttachmentResponse.cs index 06f7bcab45..3a94353f87 100644 --- a/src/gen/src/Apideck/Model/CreateAttachmentResponse.cs +++ b/src/gen/src/Apideck/Model/CreateAttachmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateBillPaymentResponse.cs b/src/gen/src/Apideck/Model/CreateBillPaymentResponse.cs new file mode 100644 index 0000000000..20e19e664a --- /dev/null +++ b/src/gen/src/Apideck/Model/CreateBillPaymentResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// CreateBillPaymentResponse + /// + [DataContract(Name = "CreateBillPaymentResponse")] + public partial class CreateBillPaymentResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CreateBillPaymentResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public CreateBillPaymentResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for CreateBillPaymentResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for CreateBillPaymentResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for CreateBillPaymentResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for CreateBillPaymentResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for CreateBillPaymentResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateBillPaymentResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateBillPaymentResponse); + } + + /// + /// Returns true if CreateBillPaymentResponse instances are equal + /// + /// Instance of CreateBillPaymentResponse to be compared + /// Boolean + public bool Equals(CreateBillPaymentResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/CreateBillResponse.cs b/src/gen/src/Apideck/Model/CreateBillResponse.cs index 31374dd79d..3c087f50bb 100644 --- a/src/gen/src/Apideck/Model/CreateBillResponse.cs +++ b/src/gen/src/Apideck/Model/CreateBillResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateCommentResponse.cs b/src/gen/src/Apideck/Model/CreateCommentResponse.cs index ce3d19c773..bdf58ee8f1 100644 --- a/src/gen/src/Apideck/Model/CreateCommentResponse.cs +++ b/src/gen/src/Apideck/Model/CreateCommentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateCompanyResponse.cs b/src/gen/src/Apideck/Model/CreateCompanyResponse.cs index a7ef6bc0c3..aa57238637 100644 --- a/src/gen/src/Apideck/Model/CreateCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/CreateCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateConnectionResponse.cs b/src/gen/src/Apideck/Model/CreateConnectionResponse.cs index d03e5f84ba..119111dd17 100644 --- a/src/gen/src/Apideck/Model/CreateConnectionResponse.cs +++ b/src/gen/src/Apideck/Model/CreateConnectionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateConsumerResponse.cs b/src/gen/src/Apideck/Model/CreateConsumerResponse.cs index e9396e4cb7..ec44dbebe9 100644 --- a/src/gen/src/Apideck/Model/CreateConsumerResponse.cs +++ b/src/gen/src/Apideck/Model/CreateConsumerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateContactResponse.cs b/src/gen/src/Apideck/Model/CreateContactResponse.cs index 5089a96119..9841fd3133 100644 --- a/src/gen/src/Apideck/Model/CreateContactResponse.cs +++ b/src/gen/src/Apideck/Model/CreateContactResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateCreditNoteResponse.cs b/src/gen/src/Apideck/Model/CreateCreditNoteResponse.cs index f7686c6848..0281de8ece 100644 --- a/src/gen/src/Apideck/Model/CreateCreditNoteResponse.cs +++ b/src/gen/src/Apideck/Model/CreateCreditNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateCustomMappingRequest.cs b/src/gen/src/Apideck/Model/CreateCustomMappingRequest.cs index e221bad116..b3fd0f6c48 100644 --- a/src/gen/src/Apideck/Model/CreateCustomMappingRequest.cs +++ b/src/gen/src/Apideck/Model/CreateCustomMappingRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateCustomMappingResponse.cs b/src/gen/src/Apideck/Model/CreateCustomMappingResponse.cs index b56b59d124..36522e45c1 100644 --- a/src/gen/src/Apideck/Model/CreateCustomMappingResponse.cs +++ b/src/gen/src/Apideck/Model/CreateCustomMappingResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateCustomerResponse.cs b/src/gen/src/Apideck/Model/CreateCustomerResponse.cs index 49a5f30d47..7319a329eb 100644 --- a/src/gen/src/Apideck/Model/CreateCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/CreateCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateDepartmentResponse.cs b/src/gen/src/Apideck/Model/CreateDepartmentResponse.cs index 4561ca86a8..d802e66497 100644 --- a/src/gen/src/Apideck/Model/CreateDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/CreateDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateDriveGroupResponse.cs b/src/gen/src/Apideck/Model/CreateDriveGroupResponse.cs index bb06a90710..3c9cdf7912 100644 --- a/src/gen/src/Apideck/Model/CreateDriveGroupResponse.cs +++ b/src/gen/src/Apideck/Model/CreateDriveGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateDriveResponse.cs b/src/gen/src/Apideck/Model/CreateDriveResponse.cs index 76271af487..f6621f6fe1 100644 --- a/src/gen/src/Apideck/Model/CreateDriveResponse.cs +++ b/src/gen/src/Apideck/Model/CreateDriveResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateEcommerceCustomerResponse.cs b/src/gen/src/Apideck/Model/CreateEcommerceCustomerResponse.cs index 6ac43b4e2e..a9c4bc0217 100644 --- a/src/gen/src/Apideck/Model/CreateEcommerceCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/CreateEcommerceCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateEcommerceOrderResponse.cs b/src/gen/src/Apideck/Model/CreateEcommerceOrderResponse.cs index 0933c36e92..f96ca0ba4c 100644 --- a/src/gen/src/Apideck/Model/CreateEcommerceOrderResponse.cs +++ b/src/gen/src/Apideck/Model/CreateEcommerceOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateEmployeeResponse.cs b/src/gen/src/Apideck/Model/CreateEmployeeResponse.cs index 98a45cedfc..b05979bef3 100644 --- a/src/gen/src/Apideck/Model/CreateEmployeeResponse.cs +++ b/src/gen/src/Apideck/Model/CreateEmployeeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateExpenseResponse.cs b/src/gen/src/Apideck/Model/CreateExpenseResponse.cs new file mode 100644 index 0000000000..f51cbcbc15 --- /dev/null +++ b/src/gen/src/Apideck/Model/CreateExpenseResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// CreateExpenseResponse + /// + [DataContract(Name = "CreateExpenseResponse")] + public partial class CreateExpenseResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CreateExpenseResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public CreateExpenseResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for CreateExpenseResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for CreateExpenseResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for CreateExpenseResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for CreateExpenseResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for CreateExpenseResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateExpenseResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateExpenseResponse); + } + + /// + /// Returns true if CreateExpenseResponse instances are equal + /// + /// Instance of CreateExpenseResponse to be compared + /// Boolean + public bool Equals(CreateExpenseResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/CreateFileRequest.cs b/src/gen/src/Apideck/Model/CreateFileRequest.cs index de9580b4aa..a707cc19a8 100644 --- a/src/gen/src/Apideck/Model/CreateFileRequest.cs +++ b/src/gen/src/Apideck/Model/CreateFileRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateFileResponse.cs b/src/gen/src/Apideck/Model/CreateFileResponse.cs index 5bc50a2d8c..a2a9916bc5 100644 --- a/src/gen/src/Apideck/Model/CreateFileResponse.cs +++ b/src/gen/src/Apideck/Model/CreateFileResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateFolderRequest.cs b/src/gen/src/Apideck/Model/CreateFolderRequest.cs index fd98ccf05f..5702f3e901 100644 --- a/src/gen/src/Apideck/Model/CreateFolderRequest.cs +++ b/src/gen/src/Apideck/Model/CreateFolderRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateFolderResponse.cs b/src/gen/src/Apideck/Model/CreateFolderResponse.cs index da0bfe9aa4..7577da808a 100644 --- a/src/gen/src/Apideck/Model/CreateFolderResponse.cs +++ b/src/gen/src/Apideck/Model/CreateFolderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateHrisCompanyResponse.cs b/src/gen/src/Apideck/Model/CreateHrisCompanyResponse.cs index 6385310fde..279fae0af1 100644 --- a/src/gen/src/Apideck/Model/CreateHrisCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/CreateHrisCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateInvoiceItemResponse.cs b/src/gen/src/Apideck/Model/CreateInvoiceItemResponse.cs index 652bae0b55..ab34c2bf10 100644 --- a/src/gen/src/Apideck/Model/CreateInvoiceItemResponse.cs +++ b/src/gen/src/Apideck/Model/CreateInvoiceItemResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateInvoiceResponse.cs b/src/gen/src/Apideck/Model/CreateInvoiceResponse.cs index 0ee76252ce..f9e9a1a7df 100644 --- a/src/gen/src/Apideck/Model/CreateInvoiceResponse.cs +++ b/src/gen/src/Apideck/Model/CreateInvoiceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateItemResponse.cs b/src/gen/src/Apideck/Model/CreateItemResponse.cs index 94027be301..d3fc516c71 100644 --- a/src/gen/src/Apideck/Model/CreateItemResponse.cs +++ b/src/gen/src/Apideck/Model/CreateItemResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateJobResponse.cs b/src/gen/src/Apideck/Model/CreateJobResponse.cs index 0d364bee38..4b2fcd3bd4 100644 --- a/src/gen/src/Apideck/Model/CreateJobResponse.cs +++ b/src/gen/src/Apideck/Model/CreateJobResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateJournalEntryResponse.cs b/src/gen/src/Apideck/Model/CreateJournalEntryResponse.cs index 91f30486bb..313bddc276 100644 --- a/src/gen/src/Apideck/Model/CreateJournalEntryResponse.cs +++ b/src/gen/src/Apideck/Model/CreateJournalEntryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateLeadResponse.cs b/src/gen/src/Apideck/Model/CreateLeadResponse.cs index f771bf7c54..6d7fd9db4d 100644 --- a/src/gen/src/Apideck/Model/CreateLeadResponse.cs +++ b/src/gen/src/Apideck/Model/CreateLeadResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateLedgerAccountResponse.cs b/src/gen/src/Apideck/Model/CreateLedgerAccountResponse.cs index 342907d442..6122b1f040 100644 --- a/src/gen/src/Apideck/Model/CreateLedgerAccountResponse.cs +++ b/src/gen/src/Apideck/Model/CreateLedgerAccountResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateLocationResponse.cs b/src/gen/src/Apideck/Model/CreateLocationResponse.cs index be22cc1471..6e211d9f51 100644 --- a/src/gen/src/Apideck/Model/CreateLocationResponse.cs +++ b/src/gen/src/Apideck/Model/CreateLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateMerchantResponse.cs b/src/gen/src/Apideck/Model/CreateMerchantResponse.cs index 5a896a1cfd..524ecb0233 100644 --- a/src/gen/src/Apideck/Model/CreateMerchantResponse.cs +++ b/src/gen/src/Apideck/Model/CreateMerchantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateMessageResponse.cs b/src/gen/src/Apideck/Model/CreateMessageResponse.cs index e69f50c80c..6c3439fbba 100644 --- a/src/gen/src/Apideck/Model/CreateMessageResponse.cs +++ b/src/gen/src/Apideck/Model/CreateMessageResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateModifierGroupResponse.cs b/src/gen/src/Apideck/Model/CreateModifierGroupResponse.cs index 8057865f19..23d41d457a 100644 --- a/src/gen/src/Apideck/Model/CreateModifierGroupResponse.cs +++ b/src/gen/src/Apideck/Model/CreateModifierGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateModifierResponse.cs b/src/gen/src/Apideck/Model/CreateModifierResponse.cs index 93bbc92300..e809174dc6 100644 --- a/src/gen/src/Apideck/Model/CreateModifierResponse.cs +++ b/src/gen/src/Apideck/Model/CreateModifierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateNoteResponse.cs b/src/gen/src/Apideck/Model/CreateNoteResponse.cs index 360cb6e641..cf63fa5a87 100644 --- a/src/gen/src/Apideck/Model/CreateNoteResponse.cs +++ b/src/gen/src/Apideck/Model/CreateNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateOpportunityResponse.cs b/src/gen/src/Apideck/Model/CreateOpportunityResponse.cs index 69e9358ee7..b59fdaf3d4 100644 --- a/src/gen/src/Apideck/Model/CreateOpportunityResponse.cs +++ b/src/gen/src/Apideck/Model/CreateOpportunityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateOrderResponse.cs b/src/gen/src/Apideck/Model/CreateOrderResponse.cs index 603ed8ec4a..2846b9e1db 100644 --- a/src/gen/src/Apideck/Model/CreateOrderResponse.cs +++ b/src/gen/src/Apideck/Model/CreateOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateOrderTypeResponse.cs b/src/gen/src/Apideck/Model/CreateOrderTypeResponse.cs index d4d6c3b623..41f85f2509 100644 --- a/src/gen/src/Apideck/Model/CreateOrderTypeResponse.cs +++ b/src/gen/src/Apideck/Model/CreateOrderTypeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreatePaymentResponse.cs b/src/gen/src/Apideck/Model/CreatePaymentResponse.cs index f9bec7f440..caf7d4c5bd 100644 --- a/src/gen/src/Apideck/Model/CreatePaymentResponse.cs +++ b/src/gen/src/Apideck/Model/CreatePaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreatePipelineResponse.cs b/src/gen/src/Apideck/Model/CreatePipelineResponse.cs index a2fb7f4bdd..ccbcab8bc9 100644 --- a/src/gen/src/Apideck/Model/CreatePipelineResponse.cs +++ b/src/gen/src/Apideck/Model/CreatePipelineResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreatePosPaymentResponse.cs b/src/gen/src/Apideck/Model/CreatePosPaymentResponse.cs index 54deff0216..82c63dd6a1 100644 --- a/src/gen/src/Apideck/Model/CreatePosPaymentResponse.cs +++ b/src/gen/src/Apideck/Model/CreatePosPaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateProductResponse.cs b/src/gen/src/Apideck/Model/CreateProductResponse.cs index 9b6cf33bd3..4be0a6b676 100644 --- a/src/gen/src/Apideck/Model/CreateProductResponse.cs +++ b/src/gen/src/Apideck/Model/CreateProductResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreatePurchaseOrderResponse.cs b/src/gen/src/Apideck/Model/CreatePurchaseOrderResponse.cs index 12b297888b..363ddd8d0d 100644 --- a/src/gen/src/Apideck/Model/CreatePurchaseOrderResponse.cs +++ b/src/gen/src/Apideck/Model/CreatePurchaseOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateSessionResponse.cs b/src/gen/src/Apideck/Model/CreateSessionResponse.cs index 45f7548daa..d613b8f628 100644 --- a/src/gen/src/Apideck/Model/CreateSessionResponse.cs +++ b/src/gen/src/Apideck/Model/CreateSessionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateSessionResponseData.cs b/src/gen/src/Apideck/Model/CreateSessionResponseData.cs index 70ece74b13..ff3a20ab1b 100644 --- a/src/gen/src/Apideck/Model/CreateSessionResponseData.cs +++ b/src/gen/src/Apideck/Model/CreateSessionResponseData.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateSharedLinkResponse.cs b/src/gen/src/Apideck/Model/CreateSharedLinkResponse.cs index e0a579e677..ef4167e2f7 100644 --- a/src/gen/src/Apideck/Model/CreateSharedLinkResponse.cs +++ b/src/gen/src/Apideck/Model/CreateSharedLinkResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateSubsidiaryResponse.cs b/src/gen/src/Apideck/Model/CreateSubsidiaryResponse.cs index a050c1c5fb..fdb0048000 100644 --- a/src/gen/src/Apideck/Model/CreateSubsidiaryResponse.cs +++ b/src/gen/src/Apideck/Model/CreateSubsidiaryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateSupplierResponse.cs b/src/gen/src/Apideck/Model/CreateSupplierResponse.cs index 2b3ce743b4..4970531692 100644 --- a/src/gen/src/Apideck/Model/CreateSupplierResponse.cs +++ b/src/gen/src/Apideck/Model/CreateSupplierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateTaxRateResponse.cs b/src/gen/src/Apideck/Model/CreateTaxRateResponse.cs index d461f62bec..cce7c6adea 100644 --- a/src/gen/src/Apideck/Model/CreateTaxRateResponse.cs +++ b/src/gen/src/Apideck/Model/CreateTaxRateResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateTenderResponse.cs b/src/gen/src/Apideck/Model/CreateTenderResponse.cs index c070fd08ef..5444cc4fe5 100644 --- a/src/gen/src/Apideck/Model/CreateTenderResponse.cs +++ b/src/gen/src/Apideck/Model/CreateTenderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateTicketResponse.cs b/src/gen/src/Apideck/Model/CreateTicketResponse.cs index 040d345a75..6720981e80 100644 --- a/src/gen/src/Apideck/Model/CreateTicketResponse.cs +++ b/src/gen/src/Apideck/Model/CreateTicketResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateTimeOffRequestResponse.cs b/src/gen/src/Apideck/Model/CreateTimeOffRequestResponse.cs index 12253ca555..93eb5e7970 100644 --- a/src/gen/src/Apideck/Model/CreateTimeOffRequestResponse.cs +++ b/src/gen/src/Apideck/Model/CreateTimeOffRequestResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateTrackingCategoryResponse.cs b/src/gen/src/Apideck/Model/CreateTrackingCategoryResponse.cs new file mode 100644 index 0000000000..bbcce32cda --- /dev/null +++ b/src/gen/src/Apideck/Model/CreateTrackingCategoryResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// CreateTrackingCategoryResponse + /// + [DataContract(Name = "CreateTrackingCategoryResponse")] + public partial class CreateTrackingCategoryResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CreateTrackingCategoryResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public CreateTrackingCategoryResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for CreateTrackingCategoryResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for CreateTrackingCategoryResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for CreateTrackingCategoryResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for CreateTrackingCategoryResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for CreateTrackingCategoryResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateTrackingCategoryResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateTrackingCategoryResponse); + } + + /// + /// Returns true if CreateTrackingCategoryResponse instances are equal + /// + /// Instance of CreateTrackingCategoryResponse to be compared + /// Boolean + public bool Equals(CreateTrackingCategoryResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/CreateUploadSessionRequest.cs b/src/gen/src/Apideck/Model/CreateUploadSessionRequest.cs index 4a1410888e..74deab233d 100644 --- a/src/gen/src/Apideck/Model/CreateUploadSessionRequest.cs +++ b/src/gen/src/Apideck/Model/CreateUploadSessionRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateUploadSessionResponse.cs b/src/gen/src/Apideck/Model/CreateUploadSessionResponse.cs index 1605d1119d..2cacb773b1 100644 --- a/src/gen/src/Apideck/Model/CreateUploadSessionResponse.cs +++ b/src/gen/src/Apideck/Model/CreateUploadSessionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateUserResponse.cs b/src/gen/src/Apideck/Model/CreateUserResponse.cs index d55864c286..5653682d54 100644 --- a/src/gen/src/Apideck/Model/CreateUserResponse.cs +++ b/src/gen/src/Apideck/Model/CreateUserResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateWebhookRequest.cs b/src/gen/src/Apideck/Model/CreateWebhookRequest.cs index 2334ed8c1e..261380d1b6 100644 --- a/src/gen/src/Apideck/Model/CreateWebhookRequest.cs +++ b/src/gen/src/Apideck/Model/CreateWebhookRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreateWebhookResponse.cs b/src/gen/src/Apideck/Model/CreateWebhookResponse.cs index 93b5569cef..3d99436bfe 100644 --- a/src/gen/src/Apideck/Model/CreateWebhookResponse.cs +++ b/src/gen/src/Apideck/Model/CreateWebhookResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreditNote.cs b/src/gen/src/Apideck/Model/CreditNote.cs index fa1a8ce7ee..999e728466 100644 --- a/src/gen/src/Apideck/Model/CreditNote.cs +++ b/src/gen/src/Apideck/Model/CreditNote.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -143,10 +143,11 @@ protected CreditNote() { } /// Optional terms to be associated with the credit note.. /// billingAddress. /// shippingAddress. + /// A list of linked tracking categories.. /// customFields. /// 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.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public CreditNote(string number = default(string), LinkedCustomer customer = default(LinkedCustomer), string companyId = default(string), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), bool? taxInclusive = default(bool?), decimal? subTotal = default(decimal?), decimal totalAmount = default(decimal), decimal? totalTax = default(decimal?), string taxCode = default(string), decimal? balance = default(decimal?), decimal? remainingCredit = default(decimal?), StatusEnum? status = default(StatusEnum?), string reference = default(string), DateTime dateIssued = default(DateTime), DateTime? datePaid = default(DateTime?), TypeEnum? type = default(TypeEnum?), LinkedLedgerAccount account = default(LinkedLedgerAccount), List lineItems = default(List), List allocations = default(List), string note = default(string), string terms = default(string), Address billingAddress = default(Address), Address shippingAddress = default(Address), List customFields = default(List), string rowVersion = default(string), List passThrough = default(List)) + public CreditNote(string number = default(string), LinkedCustomer customer = default(LinkedCustomer), string companyId = default(string), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), bool? taxInclusive = default(bool?), decimal? subTotal = default(decimal?), decimal totalAmount = default(decimal), decimal? totalTax = default(decimal?), string taxCode = default(string), decimal? balance = default(decimal?), decimal? remainingCredit = default(decimal?), StatusEnum? status = default(StatusEnum?), string reference = default(string), DateTime dateIssued = default(DateTime), DateTime? datePaid = default(DateTime?), TypeEnum? type = default(TypeEnum?), LinkedLedgerAccount account = default(LinkedLedgerAccount), List lineItems = default(List), List allocations = default(List), string note = default(string), string terms = default(string), Address billingAddress = default(Address), Address shippingAddress = default(Address), List trackingCategories = default(List), List customFields = default(List), string rowVersion = default(string), List passThrough = default(List)) { this.TotalAmount = totalAmount; this.Number = number; @@ -172,6 +173,7 @@ protected CreditNote() { } this.Terms = terms; this.BillingAddress = billingAddress; this.ShippingAddress = shippingAddress; + this.TrackingCategories = trackingCategories; this.CustomFields = customFields; this.RowVersion = rowVersion; this.PassThrough = passThrough; @@ -333,6 +335,13 @@ public bool ShouldSerializeId() [DataMember(Name = "shipping_address", EmitDefaultValue = false)] public Address ShippingAddress { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + /// /// When custom mappings are configured on the resource, the result is included here. /// @@ -461,6 +470,7 @@ public override string ToString() sb.Append(" Terms: ").Append(Terms).Append("\n"); sb.Append(" BillingAddress: ").Append(BillingAddress).Append("\n"); sb.Append(" ShippingAddress: ").Append(ShippingAddress).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); sb.Append(" CustomFields: ").Append(CustomFields).Append("\n"); sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); @@ -627,6 +637,12 @@ public bool Equals(CreditNote input) (this.ShippingAddress != null && this.ShippingAddress.Equals(input.ShippingAddress)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.CustomMappings == input.CustomMappings || (this.CustomMappings != null && @@ -768,6 +784,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ShippingAddress.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.CustomMappings != null) { hashCode = (hashCode * 59) + this.CustomMappings.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/CreditNotesFilter.cs b/src/gen/src/Apideck/Model/CreditNotesFilter.cs index ca522889af..71b8441061 100644 --- a/src/gen/src/Apideck/Model/CreditNotesFilter.cs +++ b/src/gen/src/Apideck/Model/CreditNotesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CreditNotesSort.cs b/src/gen/src/Apideck/Model/CreditNotesSort.cs index d033e876a1..b85463892e 100644 --- a/src/gen/src/Apideck/Model/CreditNotesSort.cs +++ b/src/gen/src/Apideck/Model/CreditNotesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CrmEventType.cs b/src/gen/src/Apideck/Model/CrmEventType.cs index 1a225be761..6e1155f684 100644 --- a/src/gen/src/Apideck/Model/CrmEventType.cs +++ b/src/gen/src/Apideck/Model/CrmEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Currency.cs b/src/gen/src/Apideck/Model/Currency.cs index 752427258c..7d83725362 100644 --- a/src/gen/src/Apideck/Model/Currency.cs +++ b/src/gen/src/Apideck/Model/Currency.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CustomField.cs b/src/gen/src/Apideck/Model/CustomField.cs index 3943516e34..0162bb9426 100644 --- a/src/gen/src/Apideck/Model/CustomField.cs +++ b/src/gen/src/Apideck/Model/CustomField.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CustomFieldFinder.cs b/src/gen/src/Apideck/Model/CustomFieldFinder.cs index e405620c20..0180cee75d 100644 --- a/src/gen/src/Apideck/Model/CustomFieldFinder.cs +++ b/src/gen/src/Apideck/Model/CustomFieldFinder.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CustomMapping.cs b/src/gen/src/Apideck/Model/CustomMapping.cs index ca8fd1c77f..3bdaf0c76e 100644 --- a/src/gen/src/Apideck/Model/CustomMapping.cs +++ b/src/gen/src/Apideck/Model/CustomMapping.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Customer.cs b/src/gen/src/Apideck/Model/Customer.cs index 13ea930b8d..4ff05545b1 100644 --- a/src/gen/src/Apideck/Model/Customer.cs +++ b/src/gen/src/Apideck/Model/Customer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CustomersFilter.cs b/src/gen/src/Apideck/Model/CustomersFilter.cs index e05d677073..67f160b464 100644 --- a/src/gen/src/Apideck/Model/CustomersFilter.cs +++ b/src/gen/src/Apideck/Model/CustomersFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/CustomersSort.cs b/src/gen/src/Apideck/Model/CustomersSort.cs index 0a2c5ebcc2..23595666be 100644 --- a/src/gen/src/Apideck/Model/CustomersSort.cs +++ b/src/gen/src/Apideck/Model/CustomersSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Deduction.cs b/src/gen/src/Apideck/Model/Deduction.cs index c06f7b2808..232cfa91db 100644 --- a/src/gen/src/Apideck/Model/Deduction.cs +++ b/src/gen/src/Apideck/Model/Deduction.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteAccountingDepartmentResponse.cs b/src/gen/src/Apideck/Model/DeleteAccountingDepartmentResponse.cs index c6fec54130..e514fbab1e 100644 --- a/src/gen/src/Apideck/Model/DeleteAccountingDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteAccountingDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteAccountingLocationResponse.cs b/src/gen/src/Apideck/Model/DeleteAccountingLocationResponse.cs index e7e53329b1..f892dc3263 100644 --- a/src/gen/src/Apideck/Model/DeleteAccountingLocationResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteAccountingLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteActivityResponse.cs b/src/gen/src/Apideck/Model/DeleteActivityResponse.cs index fb08f498f1..8575e57ff1 100644 --- a/src/gen/src/Apideck/Model/DeleteActivityResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteActivityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteApplicantResponse.cs b/src/gen/src/Apideck/Model/DeleteApplicantResponse.cs index ce1fcbf455..8260b5911f 100644 --- a/src/gen/src/Apideck/Model/DeleteApplicantResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteApplicantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteApplicationResponse.cs b/src/gen/src/Apideck/Model/DeleteApplicationResponse.cs index 668b5c542a..472428a507 100644 --- a/src/gen/src/Apideck/Model/DeleteApplicationResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteApplicationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteAttachmentResponse.cs b/src/gen/src/Apideck/Model/DeleteAttachmentResponse.cs index 0857bf4dd3..f5eae45aa8 100644 --- a/src/gen/src/Apideck/Model/DeleteAttachmentResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteAttachmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteBillPaymentResponse.cs b/src/gen/src/Apideck/Model/DeleteBillPaymentResponse.cs new file mode 100644 index 0000000000..9a1d18eae0 --- /dev/null +++ b/src/gen/src/Apideck/Model/DeleteBillPaymentResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// DeleteBillPaymentResponse + /// + [DataContract(Name = "DeleteBillPaymentResponse")] + public partial class DeleteBillPaymentResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected DeleteBillPaymentResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public DeleteBillPaymentResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for DeleteBillPaymentResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for DeleteBillPaymentResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for DeleteBillPaymentResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for DeleteBillPaymentResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for DeleteBillPaymentResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class DeleteBillPaymentResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as DeleteBillPaymentResponse); + } + + /// + /// Returns true if DeleteBillPaymentResponse instances are equal + /// + /// Instance of DeleteBillPaymentResponse to be compared + /// Boolean + public bool Equals(DeleteBillPaymentResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/DeleteBillResponse.cs b/src/gen/src/Apideck/Model/DeleteBillResponse.cs index 2d7222f6a4..dd0630f034 100644 --- a/src/gen/src/Apideck/Model/DeleteBillResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteBillResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteCommentResponse.cs b/src/gen/src/Apideck/Model/DeleteCommentResponse.cs index 6963678e8a..c482e7e44c 100644 --- a/src/gen/src/Apideck/Model/DeleteCommentResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteCommentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteCompanyResponse.cs b/src/gen/src/Apideck/Model/DeleteCompanyResponse.cs index dfc25959c6..6dd554258e 100644 --- a/src/gen/src/Apideck/Model/DeleteCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteConsumerResponse.cs b/src/gen/src/Apideck/Model/DeleteConsumerResponse.cs index 803931e464..b2cb6f6bdd 100644 --- a/src/gen/src/Apideck/Model/DeleteConsumerResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteConsumerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteContactResponse.cs b/src/gen/src/Apideck/Model/DeleteContactResponse.cs index 3571eb6c2b..1a8d9ae46a 100644 --- a/src/gen/src/Apideck/Model/DeleteContactResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteContactResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteCreditNoteResponse.cs b/src/gen/src/Apideck/Model/DeleteCreditNoteResponse.cs index dd8968a9a1..0bb1dffadc 100644 --- a/src/gen/src/Apideck/Model/DeleteCreditNoteResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteCreditNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteCustomerResponse.cs b/src/gen/src/Apideck/Model/DeleteCustomerResponse.cs index c32bef0cd7..e96c4ddf2b 100644 --- a/src/gen/src/Apideck/Model/DeleteCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteDepartmentResponse.cs b/src/gen/src/Apideck/Model/DeleteDepartmentResponse.cs index 42d5f74924..c036dd27c3 100644 --- a/src/gen/src/Apideck/Model/DeleteDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteDriveGroupResponse.cs b/src/gen/src/Apideck/Model/DeleteDriveGroupResponse.cs index d8cb05459f..67f13c78fb 100644 --- a/src/gen/src/Apideck/Model/DeleteDriveGroupResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteDriveGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteDriveResponse.cs b/src/gen/src/Apideck/Model/DeleteDriveResponse.cs index e96a3b75b9..ce571ac453 100644 --- a/src/gen/src/Apideck/Model/DeleteDriveResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteDriveResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteEcommerceCustomerResponse.cs b/src/gen/src/Apideck/Model/DeleteEcommerceCustomerResponse.cs index 2cc4fd4c9c..79740d0a87 100644 --- a/src/gen/src/Apideck/Model/DeleteEcommerceCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteEcommerceCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteEcommerceOrderResponse.cs b/src/gen/src/Apideck/Model/DeleteEcommerceOrderResponse.cs index c54a4113f0..7b7f137f33 100644 --- a/src/gen/src/Apideck/Model/DeleteEcommerceOrderResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteEcommerceOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteEmployeeResponse.cs b/src/gen/src/Apideck/Model/DeleteEmployeeResponse.cs index fd737922d5..245ce39cfa 100644 --- a/src/gen/src/Apideck/Model/DeleteEmployeeResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteEmployeeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteExpenseResponse.cs b/src/gen/src/Apideck/Model/DeleteExpenseResponse.cs new file mode 100644 index 0000000000..1ceb007e67 --- /dev/null +++ b/src/gen/src/Apideck/Model/DeleteExpenseResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// DeleteExpenseResponse + /// + [DataContract(Name = "DeleteExpenseResponse")] + public partial class DeleteExpenseResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected DeleteExpenseResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public DeleteExpenseResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for DeleteExpenseResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for DeleteExpenseResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for DeleteExpenseResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for DeleteExpenseResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for DeleteExpenseResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class DeleteExpenseResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as DeleteExpenseResponse); + } + + /// + /// Returns true if DeleteExpenseResponse instances are equal + /// + /// Instance of DeleteExpenseResponse to be compared + /// Boolean + public bool Equals(DeleteExpenseResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/DeleteFileResponse.cs b/src/gen/src/Apideck/Model/DeleteFileResponse.cs index 22c899e991..4324d78bea 100644 --- a/src/gen/src/Apideck/Model/DeleteFileResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteFileResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteFolderResponse.cs b/src/gen/src/Apideck/Model/DeleteFolderResponse.cs index ba69a779d5..7b64e8c09e 100644 --- a/src/gen/src/Apideck/Model/DeleteFolderResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteFolderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteHrisCompanyResponse.cs b/src/gen/src/Apideck/Model/DeleteHrisCompanyResponse.cs index 4627cde7ca..4cd7c38a3d 100644 --- a/src/gen/src/Apideck/Model/DeleteHrisCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteHrisCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteInvoiceResponse.cs b/src/gen/src/Apideck/Model/DeleteInvoiceResponse.cs index f857508b30..824d4fce67 100644 --- a/src/gen/src/Apideck/Model/DeleteInvoiceResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteInvoiceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteItemResponse.cs b/src/gen/src/Apideck/Model/DeleteItemResponse.cs index 2a972c9e6b..43be2e07af 100644 --- a/src/gen/src/Apideck/Model/DeleteItemResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteItemResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteJobResponse.cs b/src/gen/src/Apideck/Model/DeleteJobResponse.cs index ee094167bf..8f90228448 100644 --- a/src/gen/src/Apideck/Model/DeleteJobResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteJobResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteJournalEntryResponse.cs b/src/gen/src/Apideck/Model/DeleteJournalEntryResponse.cs index a679c6a00d..fe6dc27004 100644 --- a/src/gen/src/Apideck/Model/DeleteJournalEntryResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteJournalEntryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteLeadResponse.cs b/src/gen/src/Apideck/Model/DeleteLeadResponse.cs index b73d7516bf..a11017903b 100644 --- a/src/gen/src/Apideck/Model/DeleteLeadResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteLeadResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteLedgerAccountResponse.cs b/src/gen/src/Apideck/Model/DeleteLedgerAccountResponse.cs index 7dc42718bf..663cf0d95f 100644 --- a/src/gen/src/Apideck/Model/DeleteLedgerAccountResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteLedgerAccountResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteLocationResponse.cs b/src/gen/src/Apideck/Model/DeleteLocationResponse.cs index 3e09ec3456..aefb5f1009 100644 --- a/src/gen/src/Apideck/Model/DeleteLocationResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteMerchantResponse.cs b/src/gen/src/Apideck/Model/DeleteMerchantResponse.cs index 106aea9cdf..ddc58db4e2 100644 --- a/src/gen/src/Apideck/Model/DeleteMerchantResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteMerchantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteMessageResponse.cs b/src/gen/src/Apideck/Model/DeleteMessageResponse.cs index 30fb66d049..788ab902a5 100644 --- a/src/gen/src/Apideck/Model/DeleteMessageResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteMessageResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteModifierGroupResponse.cs b/src/gen/src/Apideck/Model/DeleteModifierGroupResponse.cs index b146fb056a..ae43c05b35 100644 --- a/src/gen/src/Apideck/Model/DeleteModifierGroupResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteModifierGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteModifierResponse.cs b/src/gen/src/Apideck/Model/DeleteModifierResponse.cs index 33b4a256cb..28563c7c93 100644 --- a/src/gen/src/Apideck/Model/DeleteModifierResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteModifierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteNoteResponse.cs b/src/gen/src/Apideck/Model/DeleteNoteResponse.cs index f5ac6cc5d2..2a89e30ffa 100644 --- a/src/gen/src/Apideck/Model/DeleteNoteResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteOpportunityResponse.cs b/src/gen/src/Apideck/Model/DeleteOpportunityResponse.cs index c863777e11..7ffb59e3ba 100644 --- a/src/gen/src/Apideck/Model/DeleteOpportunityResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteOpportunityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteOrderResponse.cs b/src/gen/src/Apideck/Model/DeleteOrderResponse.cs index cc07ffda1a..c922b3ba79 100644 --- a/src/gen/src/Apideck/Model/DeleteOrderResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteOrderTypeResponse.cs b/src/gen/src/Apideck/Model/DeleteOrderTypeResponse.cs index c8dc2c814e..4bfe84a301 100644 --- a/src/gen/src/Apideck/Model/DeleteOrderTypeResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteOrderTypeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeletePaymentResponse.cs b/src/gen/src/Apideck/Model/DeletePaymentResponse.cs index 478f9fa3f3..8618c52bc8 100644 --- a/src/gen/src/Apideck/Model/DeletePaymentResponse.cs +++ b/src/gen/src/Apideck/Model/DeletePaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeletePipelineResponse.cs b/src/gen/src/Apideck/Model/DeletePipelineResponse.cs index 1977b2f4f1..0b96e285d7 100644 --- a/src/gen/src/Apideck/Model/DeletePipelineResponse.cs +++ b/src/gen/src/Apideck/Model/DeletePipelineResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeletePosPaymentResponse.cs b/src/gen/src/Apideck/Model/DeletePosPaymentResponse.cs index 92f734acd1..165e722ad3 100644 --- a/src/gen/src/Apideck/Model/DeletePosPaymentResponse.cs +++ b/src/gen/src/Apideck/Model/DeletePosPaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteProductResponse.cs b/src/gen/src/Apideck/Model/DeleteProductResponse.cs index 128903dfd1..cc51535242 100644 --- a/src/gen/src/Apideck/Model/DeleteProductResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteProductResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeletePurchaseOrderResponse.cs b/src/gen/src/Apideck/Model/DeletePurchaseOrderResponse.cs index a9f94f4bb7..8b9a9b66fa 100644 --- a/src/gen/src/Apideck/Model/DeletePurchaseOrderResponse.cs +++ b/src/gen/src/Apideck/Model/DeletePurchaseOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteSharedLinkResponse.cs b/src/gen/src/Apideck/Model/DeleteSharedLinkResponse.cs index 9b19aec2a0..4132d19604 100644 --- a/src/gen/src/Apideck/Model/DeleteSharedLinkResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteSharedLinkResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteSubsidiaryResponse.cs b/src/gen/src/Apideck/Model/DeleteSubsidiaryResponse.cs index 6c254e4481..9ccf137bfe 100644 --- a/src/gen/src/Apideck/Model/DeleteSubsidiaryResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteSubsidiaryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteSupplierResponse.cs b/src/gen/src/Apideck/Model/DeleteSupplierResponse.cs index 641c23b593..9e2c354acf 100644 --- a/src/gen/src/Apideck/Model/DeleteSupplierResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteSupplierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteTaxRateResponse.cs b/src/gen/src/Apideck/Model/DeleteTaxRateResponse.cs index 8a3ded2aec..f59a5c0441 100644 --- a/src/gen/src/Apideck/Model/DeleteTaxRateResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteTaxRateResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteTenderResponse.cs b/src/gen/src/Apideck/Model/DeleteTenderResponse.cs index ed5b4b2990..32f505af58 100644 --- a/src/gen/src/Apideck/Model/DeleteTenderResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteTenderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteTicketResponse.cs b/src/gen/src/Apideck/Model/DeleteTicketResponse.cs index 05b3e0fddf..830f2b86a4 100644 --- a/src/gen/src/Apideck/Model/DeleteTicketResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteTicketResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteTimeOffRequestResponse.cs b/src/gen/src/Apideck/Model/DeleteTimeOffRequestResponse.cs index 3cee11e903..5fc2e45dfe 100644 --- a/src/gen/src/Apideck/Model/DeleteTimeOffRequestResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteTimeOffRequestResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteTrackingCategoryResponse.cs b/src/gen/src/Apideck/Model/DeleteTrackingCategoryResponse.cs new file mode 100644 index 0000000000..639bcc0b44 --- /dev/null +++ b/src/gen/src/Apideck/Model/DeleteTrackingCategoryResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// DeleteTrackingCategoryResponse + /// + [DataContract(Name = "DeleteTrackingCategoryResponse")] + public partial class DeleteTrackingCategoryResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected DeleteTrackingCategoryResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public DeleteTrackingCategoryResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for DeleteTrackingCategoryResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for DeleteTrackingCategoryResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for DeleteTrackingCategoryResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for DeleteTrackingCategoryResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for DeleteTrackingCategoryResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class DeleteTrackingCategoryResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as DeleteTrackingCategoryResponse); + } + + /// + /// Returns true if DeleteTrackingCategoryResponse instances are equal + /// + /// Instance of DeleteTrackingCategoryResponse to be compared + /// Boolean + public bool Equals(DeleteTrackingCategoryResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/DeleteUploadSessionResponse.cs b/src/gen/src/Apideck/Model/DeleteUploadSessionResponse.cs index ed4d937761..2b458884fa 100644 --- a/src/gen/src/Apideck/Model/DeleteUploadSessionResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteUploadSessionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteUserResponse.cs b/src/gen/src/Apideck/Model/DeleteUserResponse.cs index 2e36d2c059..0ea4e7882f 100644 --- a/src/gen/src/Apideck/Model/DeleteUserResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteUserResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeleteWebhookResponse.cs b/src/gen/src/Apideck/Model/DeleteWebhookResponse.cs index 7a49a038cc..0264450a96 100644 --- a/src/gen/src/Apideck/Model/DeleteWebhookResponse.cs +++ b/src/gen/src/Apideck/Model/DeleteWebhookResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Department.cs b/src/gen/src/Apideck/Model/Department.cs index 8b3f527923..bbd7337c13 100644 --- a/src/gen/src/Apideck/Model/Department.cs +++ b/src/gen/src/Apideck/Model/Department.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DeprecatedLinkedSupplier.cs b/src/gen/src/Apideck/Model/DeprecatedLinkedSupplier.cs new file mode 100644 index 0000000000..f682738bbb --- /dev/null +++ b/src/gen/src/Apideck/Model/DeprecatedLinkedSupplier.cs @@ -0,0 +1,222 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// The supplier this entity is linked to. + /// + [DataContract(Name = "DeprecatedLinkedSupplier")] + public partial class DeprecatedLinkedSupplier : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The display name of the supplier.. + /// address. + public DeprecatedLinkedSupplier(string displayName = default(string), Address address = default(Address)) + { + this.DisplayName = displayName; + this.Address = address; + } + + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; private set; } + + /// + /// Returns false as Id should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeId() + { + return false; + } + /// + /// The display ID of the supplier. + /// + /// The display ID of the supplier. + [DataMember(Name = "display_id", EmitDefaultValue = true)] + public string DisplayId { get; private set; } + + /// + /// Returns false as DisplayId should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDisplayId() + { + return false; + } + /// + /// The display name of the supplier. + /// + /// The display name of the supplier. + [DataMember(Name = "display_name", EmitDefaultValue = true)] + public string DisplayName { get; set; } + + /// + /// The company name of the supplier. + /// + /// The company name of the supplier. + [DataMember(Name = "company_name", EmitDefaultValue = true)] + public string CompanyName { get; private set; } + + /// + /// Returns false as CompanyName should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCompanyName() + { + return false; + } + /// + /// Gets or Sets Address + /// + [DataMember(Name = "address", EmitDefaultValue = false)] + public Address Address { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class DeprecatedLinkedSupplier {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" DisplayId: ").Append(DisplayId).Append("\n"); + sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); + sb.Append(" CompanyName: ").Append(CompanyName).Append("\n"); + sb.Append(" Address: ").Append(Address).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as DeprecatedLinkedSupplier); + } + + /// + /// Returns true if DeprecatedLinkedSupplier instances are equal + /// + /// Instance of DeprecatedLinkedSupplier to be compared + /// Boolean + public bool Equals(DeprecatedLinkedSupplier input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.DisplayId == input.DisplayId || + (this.DisplayId != null && + this.DisplayId.Equals(input.DisplayId)) + ) && + ( + this.DisplayName == input.DisplayName || + (this.DisplayName != null && + this.DisplayName.Equals(input.DisplayName)) + ) && + ( + this.CompanyName == input.CompanyName || + (this.CompanyName != null && + this.CompanyName.Equals(input.CompanyName)) + ) && + ( + this.Address == input.Address || + (this.Address != null && + this.Address.Equals(input.Address)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.DisplayId != null) + { + hashCode = (hashCode * 59) + this.DisplayId.GetHashCode(); + } + if (this.DisplayName != null) + { + hashCode = (hashCode * 59) + this.DisplayName.GetHashCode(); + } + if (this.CompanyName != null) + { + hashCode = (hashCode * 59) + this.CompanyName.GetHashCode(); + } + if (this.Address != null) + { + hashCode = (hashCode * 59) + this.Address.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/DeprecatedLinkedTrackingCategory.cs b/src/gen/src/Apideck/Model/DeprecatedLinkedTrackingCategory.cs new file mode 100644 index 0000000000..dc4da9ce9c --- /dev/null +++ b/src/gen/src/Apideck/Model/DeprecatedLinkedTrackingCategory.cs @@ -0,0 +1,148 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// DeprecatedLinkedTrackingCategory + /// + [DataContract(Name = "DeprecatedLinkedTrackingCategory")] + public partial class DeprecatedLinkedTrackingCategory : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The unique identifier for the tracking category.. + /// The name of the tracking category.. + public DeprecatedLinkedTrackingCategory(string id = default(string), string name = default(string)) + { + this.Id = id; + this.Name = name; + } + + /// + /// The unique identifier for the tracking category. + /// + /// The unique identifier for the tracking category. + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } + + /// + /// The name of the tracking category. + /// + /// The name of the tracking category. + [DataMember(Name = "name", EmitDefaultValue = true)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class DeprecatedLinkedTrackingCategory {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as DeprecatedLinkedTrackingCategory); + } + + /// + /// Returns true if DeprecatedLinkedTrackingCategory instances are equal + /// + /// Instance of DeprecatedLinkedTrackingCategory to be compared + /// Boolean + public bool Equals(DeprecatedLinkedTrackingCategory input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.Name != null) + { + hashCode = (hashCode * 59) + this.Name.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/Drive.cs b/src/gen/src/Apideck/Model/Drive.cs index cab046e241..d783bcee38 100644 --- a/src/gen/src/Apideck/Model/Drive.cs +++ b/src/gen/src/Apideck/Model/Drive.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DriveGroup.cs b/src/gen/src/Apideck/Model/DriveGroup.cs index 676481dee8..40b917ff28 100644 --- a/src/gen/src/Apideck/Model/DriveGroup.cs +++ b/src/gen/src/Apideck/Model/DriveGroup.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DriveGroupsFilter.cs b/src/gen/src/Apideck/Model/DriveGroupsFilter.cs index 191370b278..9a1f62205b 100644 --- a/src/gen/src/Apideck/Model/DriveGroupsFilter.cs +++ b/src/gen/src/Apideck/Model/DriveGroupsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/DrivesFilter.cs b/src/gen/src/Apideck/Model/DrivesFilter.cs index d42b7b363b..0cf85421b9 100644 --- a/src/gen/src/Apideck/Model/DrivesFilter.cs +++ b/src/gen/src/Apideck/Model/DrivesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceAddress.cs b/src/gen/src/Apideck/Model/EcommerceAddress.cs index ca74a0fffe..150bcf9553 100644 --- a/src/gen/src/Apideck/Model/EcommerceAddress.cs +++ b/src/gen/src/Apideck/Model/EcommerceAddress.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceCustomer.cs b/src/gen/src/Apideck/Model/EcommerceCustomer.cs index f52b8b74f9..ace0428545 100644 --- a/src/gen/src/Apideck/Model/EcommerceCustomer.cs +++ b/src/gen/src/Apideck/Model/EcommerceCustomer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceCustomerAddresses.cs b/src/gen/src/Apideck/Model/EcommerceCustomerAddresses.cs index 8ad707602d..8bfff1cb27 100644 --- a/src/gen/src/Apideck/Model/EcommerceCustomerAddresses.cs +++ b/src/gen/src/Apideck/Model/EcommerceCustomerAddresses.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceCustomersFilter.cs b/src/gen/src/Apideck/Model/EcommerceCustomersFilter.cs index 92315458c0..6057b8ef1e 100644 --- a/src/gen/src/Apideck/Model/EcommerceCustomersFilter.cs +++ b/src/gen/src/Apideck/Model/EcommerceCustomersFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceDiscount.cs b/src/gen/src/Apideck/Model/EcommerceDiscount.cs index 910a14381a..3f971215db 100644 --- a/src/gen/src/Apideck/Model/EcommerceDiscount.cs +++ b/src/gen/src/Apideck/Model/EcommerceDiscount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceOrder.cs b/src/gen/src/Apideck/Model/EcommerceOrder.cs index ddf3d29768..b0ee734275 100644 --- a/src/gen/src/Apideck/Model/EcommerceOrder.cs +++ b/src/gen/src/Apideck/Model/EcommerceOrder.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceOrderLineItem.cs b/src/gen/src/Apideck/Model/EcommerceOrderLineItem.cs index daa8116821..f55ef537dc 100644 --- a/src/gen/src/Apideck/Model/EcommerceOrderLineItem.cs +++ b/src/gen/src/Apideck/Model/EcommerceOrderLineItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceOrderStatus.cs b/src/gen/src/Apideck/Model/EcommerceOrderStatus.cs index 482056e400..0982e6d914 100644 --- a/src/gen/src/Apideck/Model/EcommerceOrderStatus.cs +++ b/src/gen/src/Apideck/Model/EcommerceOrderStatus.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceOrdersFilter.cs b/src/gen/src/Apideck/Model/EcommerceOrdersFilter.cs index d45d91bfc7..9cceee3bdc 100644 --- a/src/gen/src/Apideck/Model/EcommerceOrdersFilter.cs +++ b/src/gen/src/Apideck/Model/EcommerceOrdersFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProduct.cs b/src/gen/src/Apideck/Model/EcommerceProduct.cs index 5d60237f95..bd9bf9ceb9 100644 --- a/src/gen/src/Apideck/Model/EcommerceProduct.cs +++ b/src/gen/src/Apideck/Model/EcommerceProduct.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProductCategories.cs b/src/gen/src/Apideck/Model/EcommerceProductCategories.cs index e9da99aa3d..622689d940 100644 --- a/src/gen/src/Apideck/Model/EcommerceProductCategories.cs +++ b/src/gen/src/Apideck/Model/EcommerceProductCategories.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProductImages.cs b/src/gen/src/Apideck/Model/EcommerceProductImages.cs index 0ed7adc6d1..088806234c 100644 --- a/src/gen/src/Apideck/Model/EcommerceProductImages.cs +++ b/src/gen/src/Apideck/Model/EcommerceProductImages.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProductImages1.cs b/src/gen/src/Apideck/Model/EcommerceProductImages1.cs index 33871839ab..57a0c3868d 100644 --- a/src/gen/src/Apideck/Model/EcommerceProductImages1.cs +++ b/src/gen/src/Apideck/Model/EcommerceProductImages1.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProductOptions.cs b/src/gen/src/Apideck/Model/EcommerceProductOptions.cs index 62c3924f17..fbf4c2b1f5 100644 --- a/src/gen/src/Apideck/Model/EcommerceProductOptions.cs +++ b/src/gen/src/Apideck/Model/EcommerceProductOptions.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProductOptions1.cs b/src/gen/src/Apideck/Model/EcommerceProductOptions1.cs index 79162d9851..06c2cc3844 100644 --- a/src/gen/src/Apideck/Model/EcommerceProductOptions1.cs +++ b/src/gen/src/Apideck/Model/EcommerceProductOptions1.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceProductVariants.cs b/src/gen/src/Apideck/Model/EcommerceProductVariants.cs index f654a919c1..7a3b360c1d 100644 --- a/src/gen/src/Apideck/Model/EcommerceProductVariants.cs +++ b/src/gen/src/Apideck/Model/EcommerceProductVariants.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EcommerceStore.cs b/src/gen/src/Apideck/Model/EcommerceStore.cs index 2783d96cab..6517d59143 100644 --- a/src/gen/src/Apideck/Model/EcommerceStore.cs +++ b/src/gen/src/Apideck/Model/EcommerceStore.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Email.cs b/src/gen/src/Apideck/Model/Email.cs index aaa050fe92..c60bdcdc63 100644 --- a/src/gen/src/Apideck/Model/Email.cs +++ b/src/gen/src/Apideck/Model/Email.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Employee.cs b/src/gen/src/Apideck/Model/Employee.cs index 27298c4af7..53fbca2b19 100644 --- a/src/gen/src/Apideck/Model/Employee.cs +++ b/src/gen/src/Apideck/Model/Employee.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -86,11 +86,7 @@ public enum LeavingReasonEnum /// /// Initializes a new instance of the class. /// - [JsonConstructorAttribute] - protected Employee() { } - /// - /// Initializes a new instance of the class. - /// + /// A unique identifier for an object.. /// The first name of the person.. /// The last name of the person.. /// Middle name of the person.. @@ -151,8 +147,9 @@ protected Employee() { } /// 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.. /// Flag to indicate if the object is deleted.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public Employee(string firstName = default(string), string lastName = default(string), string middleName = default(string), string displayName = default(string), string preferredName = default(string), string initials = default(string), string salutation = default(string), string title = default(string), string maritalStatus = default(string), Person partner = default(Person), string division = default(string), string divisionId = default(string), string department = default(string), string departmentId = default(string), string departmentName = default(string), Team team = default(Team), string companyId = default(string), string companyName = default(string), string employmentStartDate = default(string), string employmentEndDate = default(string), LeavingReasonEnum? leavingReason = default(LeavingReasonEnum?), string employeeNumber = default(string), EmploymentStatus? employmentStatus = default(EmploymentStatus?), EmployeeEmploymentRole employmentRole = default(EmployeeEmploymentRole), string ethnicity = default(string), EmployeeManager manager = default(EmployeeManager), List directReports = default(List), string socialSecurityNumber = default(string), DateTime? birthday = default(DateTime?), DateTime? deceasedOn = default(DateTime?), string countryOfBirth = default(string), string description = default(string), Gender? gender = default(Gender?), string pronouns = default(string), string preferredLanguage = default(string), List languages = default(List), List nationalities = default(List), string photoUrl = default(string), string timezone = default(string), string source = default(string), string sourceId = default(string), string recordUrl = default(string), List jobs = default(List), List compensations = default(List), bool? worksRemote = default(bool?), List
addresses = default(List
), List phoneNumbers = default(List), List emails = default(List), List customFields = default(List), List socialLinks = default(List), List bankAccounts = default(List), string taxCode = default(string), string taxId = default(string), string dietaryPreference = default(string), List foodAllergies = default(List), ProbationPeriod probationPeriod = default(ProbationPeriod), List tags = default(List), string rowVersion = default(string), bool? deleted = default(bool?), List passThrough = default(List)) + public Employee(string id = default(string), string firstName = default(string), string lastName = default(string), string middleName = default(string), string displayName = default(string), string preferredName = default(string), string initials = default(string), string salutation = default(string), string title = default(string), string maritalStatus = default(string), Person partner = default(Person), string division = default(string), string divisionId = default(string), string department = default(string), string departmentId = default(string), string departmentName = default(string), Team team = default(Team), string companyId = default(string), string companyName = default(string), string employmentStartDate = default(string), string employmentEndDate = default(string), LeavingReasonEnum? leavingReason = default(LeavingReasonEnum?), string employeeNumber = default(string), EmploymentStatus? employmentStatus = default(EmploymentStatus?), EmployeeEmploymentRole employmentRole = default(EmployeeEmploymentRole), string ethnicity = default(string), EmployeeManager manager = default(EmployeeManager), List directReports = default(List), string socialSecurityNumber = default(string), DateTime? birthday = default(DateTime?), DateTime? deceasedOn = default(DateTime?), string countryOfBirth = default(string), string description = default(string), Gender? gender = default(Gender?), string pronouns = default(string), string preferredLanguage = default(string), List languages = default(List), List nationalities = default(List), string photoUrl = default(string), string timezone = default(string), string source = default(string), string sourceId = default(string), string recordUrl = default(string), List jobs = default(List), List compensations = default(List), bool? worksRemote = default(bool?), List
addresses = default(List
), List phoneNumbers = default(List), List emails = default(List), List customFields = default(List), List socialLinks = default(List), List bankAccounts = default(List), string taxCode = default(string), string taxId = default(string), string dietaryPreference = default(string), List foodAllergies = default(List), ProbationPeriod probationPeriod = default(ProbationPeriod), List tags = default(List), string rowVersion = default(string), bool? deleted = default(bool?), List passThrough = default(List)) { + this.Id = id; this.FirstName = firstName; this.LastName = lastName; this.MiddleName = middleName; @@ -219,17 +216,9 @@ protected Employee() { } /// A unique identifier for an object. /// /// A unique identifier for an object. - [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = false)] - public string Id { get; private set; } + [DataMember(Name = "id", EmitDefaultValue = true)] + public string Id { get; set; } - /// - /// Returns false as Id should not be serialized given that it's read-only. - /// - /// false (boolean) - public bool ShouldSerializeId() - { - return false; - } /// /// The first name of the person. /// diff --git a/src/gen/src/Apideck/Model/EmployeeCompensation.cs b/src/gen/src/Apideck/Model/EmployeeCompensation.cs index 14332e7a8a..a2ec9d3640 100644 --- a/src/gen/src/Apideck/Model/EmployeeCompensation.cs +++ b/src/gen/src/Apideck/Model/EmployeeCompensation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeeEmploymentRole.cs b/src/gen/src/Apideck/Model/EmployeeEmploymentRole.cs index 033633b76d..e64aa0019a 100644 --- a/src/gen/src/Apideck/Model/EmployeeEmploymentRole.cs +++ b/src/gen/src/Apideck/Model/EmployeeEmploymentRole.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeeJob.cs b/src/gen/src/Apideck/Model/EmployeeJob.cs index da236d78e0..37f9ab4789 100644 --- a/src/gen/src/Apideck/Model/EmployeeJob.cs +++ b/src/gen/src/Apideck/Model/EmployeeJob.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeeList.cs b/src/gen/src/Apideck/Model/EmployeeList.cs index a6fc2c97bb..028af5e82c 100644 --- a/src/gen/src/Apideck/Model/EmployeeList.cs +++ b/src/gen/src/Apideck/Model/EmployeeList.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeeManager.cs b/src/gen/src/Apideck/Model/EmployeeManager.cs index ba73574de1..9a320ae4f1 100644 --- a/src/gen/src/Apideck/Model/EmployeeManager.cs +++ b/src/gen/src/Apideck/Model/EmployeeManager.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeePayroll.cs b/src/gen/src/Apideck/Model/EmployeePayroll.cs index b26cdc4658..d43ef99e7b 100644 --- a/src/gen/src/Apideck/Model/EmployeePayroll.cs +++ b/src/gen/src/Apideck/Model/EmployeePayroll.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeeSchedules.cs b/src/gen/src/Apideck/Model/EmployeeSchedules.cs index 048981dab6..245dde1d6e 100644 --- a/src/gen/src/Apideck/Model/EmployeeSchedules.cs +++ b/src/gen/src/Apideck/Model/EmployeeSchedules.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeesFilter.cs b/src/gen/src/Apideck/Model/EmployeesFilter.cs index 31517c28f9..069f8c0e4c 100644 --- a/src/gen/src/Apideck/Model/EmployeesFilter.cs +++ b/src/gen/src/Apideck/Model/EmployeesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeesOneFilter.cs b/src/gen/src/Apideck/Model/EmployeesOneFilter.cs index bed93beb8a..eaf74fe04a 100644 --- a/src/gen/src/Apideck/Model/EmployeesOneFilter.cs +++ b/src/gen/src/Apideck/Model/EmployeesOneFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmployeesSort.cs b/src/gen/src/Apideck/Model/EmployeesSort.cs index 36b7726396..3c75d50551 100644 --- a/src/gen/src/Apideck/Model/EmployeesSort.cs +++ b/src/gen/src/Apideck/Model/EmployeesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/EmploymentStatus.cs b/src/gen/src/Apideck/Model/EmploymentStatus.cs index 5afea248f1..753bc55024 100644 --- a/src/gen/src/Apideck/Model/EmploymentStatus.cs +++ b/src/gen/src/Apideck/Model/EmploymentStatus.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Error.cs b/src/gen/src/Apideck/Model/Error.cs index 82fecc0945..50eaa0ecc0 100644 --- a/src/gen/src/Apideck/Model/Error.cs +++ b/src/gen/src/Apideck/Model/Error.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ExecuteWebhookResponse.cs b/src/gen/src/Apideck/Model/ExecuteWebhookResponse.cs index 68455a3032..c4b12473cd 100644 --- a/src/gen/src/Apideck/Model/ExecuteWebhookResponse.cs +++ b/src/gen/src/Apideck/Model/ExecuteWebhookResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Expense.cs b/src/gen/src/Apideck/Model/Expense.cs new file mode 100644 index 0000000000..202bfd0d18 --- /dev/null +++ b/src/gen/src/Apideck/Model/Expense.cs @@ -0,0 +1,563 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// Expense + /// + [DataContract(Name = "Expense")] + public partial class Expense : IEquatable, IValidatableObject + { + + /// + /// Gets or Sets Currency + /// + [DataMember(Name = "currency", EmitDefaultValue = true)] + public Currency? Currency { get; set; } + /// + /// The type of expense. + /// + /// The type of expense. + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeEnum + { + /// + /// Enum Expense for value: expense + /// + [EnumMember(Value = "expense")] + Expense = 1, + + /// + /// Enum Refund for value: refund + /// + [EnumMember(Value = "refund")] + Refund = 2 + + } + + + /// + /// The type of expense. + /// + /// The type of expense. + [DataMember(Name = "type", EmitDefaultValue = true)] + public TypeEnum? Type { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Expense() { } + /// + /// Initializes a new instance of the class. + /// + /// Number.. + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD (required). + /// The unique identifier for the ledger account that this expense should be credited to. (required). + /// The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers.. + /// The ID of the supplier this entity is linked to.. + /// The company or subsidiary id the transaction belongs to. + /// The ID of the department this expense is linked to.. + /// currency. + /// Currency Exchange Rate at the time entity was recorded/generated.. + /// The type of expense.. + /// The memo of the expense.. + /// taxRate. + /// The total amount of the expense line item.. + /// Expense line items linked to this expense. (required). + /// customFields. + /// 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.. + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. + public Expense(string number = default(string), DateTime? transactionDate = default(DateTime?), string accountId = default(string), string customerId = default(string), string supplierId = default(string), string companyId = default(string), string departmentId = default(string), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), TypeEnum? type = default(TypeEnum?), string memo = default(string), LinkedTaxRate taxRate = default(LinkedTaxRate), decimal? totalAmount = default(decimal?), List lineItems = default(List), List customFields = default(List), string rowVersion = default(string), List passThrough = default(List)) + { + // to ensure "transactionDate" is required (not null) + if (transactionDate == null) { + throw new ArgumentNullException("transactionDate is a required property for Expense and cannot be null"); + } + this.TransactionDate = transactionDate; + // to ensure "accountId" is required (not null) + if (accountId == null) { + throw new ArgumentNullException("accountId is a required property for Expense and cannot be null"); + } + this.AccountId = accountId; + // to ensure "lineItems" is required (not null) + if (lineItems == null) { + throw new ArgumentNullException("lineItems is a required property for Expense and cannot be null"); + } + this.LineItems = lineItems; + this.Number = number; + this.CustomerId = customerId; + this.SupplierId = supplierId; + this.CompanyId = companyId; + this.DepartmentId = departmentId; + this.Currency = currency; + this.CurrencyRate = currencyRate; + this.Type = type; + this.Memo = memo; + this.TaxRate = taxRate; + this.TotalAmount = totalAmount; + this.CustomFields = customFields; + this.RowVersion = rowVersion; + this.PassThrough = passThrough; + } + + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; private set; } + + /// + /// Returns false as Id should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeId() + { + return false; + } + /// + /// Number. + /// + /// Number. + [DataMember(Name = "number", EmitDefaultValue = true)] + public string Number { get; set; } + + /// + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + /// + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + [DataMember(Name = "transaction_date", IsRequired = true, EmitDefaultValue = true)] + public DateTime? TransactionDate { get; set; } + + /// + /// The unique identifier for the ledger account that this expense should be credited to. + /// + /// The unique identifier for the ledger account that this expense should be credited to. + [DataMember(Name = "account_id", IsRequired = true, EmitDefaultValue = false)] + public string AccountId { get; set; } + + /// + /// The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers. + /// + /// The ID of the customer this entity is linked to. Used for expenses that should be marked as billable to customers. + [DataMember(Name = "customer_id", EmitDefaultValue = false)] + public string CustomerId { get; set; } + + /// + /// The ID of the supplier this entity is linked to. + /// + /// The ID of the supplier this entity is linked to. + [DataMember(Name = "supplier_id", EmitDefaultValue = false)] + public string SupplierId { get; set; } + + /// + /// The company or subsidiary id the transaction belongs to + /// + /// The company or subsidiary id the transaction belongs to + [DataMember(Name = "company_id", EmitDefaultValue = true)] + public string CompanyId { get; set; } + + /// + /// The ID of the department this expense is linked to. + /// + /// The ID of the department this expense is linked to. + [DataMember(Name = "department_id", EmitDefaultValue = false)] + public string DepartmentId { get; set; } + + /// + /// Currency Exchange Rate at the time entity was recorded/generated. + /// + /// Currency Exchange Rate at the time entity was recorded/generated. + [DataMember(Name = "currency_rate", EmitDefaultValue = true)] + public decimal? CurrencyRate { get; set; } + + /// + /// The memo of the expense. + /// + /// The memo of the expense. + [DataMember(Name = "memo", EmitDefaultValue = true)] + public string Memo { get; set; } + + /// + /// Gets or Sets TaxRate + /// + [DataMember(Name = "tax_rate", EmitDefaultValue = false)] + public LinkedTaxRate TaxRate { get; set; } + + /// + /// The total amount of the expense line item. + /// + /// The total amount of the expense line item. + [DataMember(Name = "total_amount", EmitDefaultValue = true)] + public decimal? TotalAmount { get; set; } + + /// + /// Expense line items linked to this expense. + /// + /// Expense line items linked to this expense. + [DataMember(Name = "line_items", IsRequired = true, EmitDefaultValue = false)] + public List LineItems { get; set; } + + /// + /// Gets or Sets CustomFields + /// + [DataMember(Name = "custom_fields", EmitDefaultValue = false)] + public List CustomFields { get; set; } + + /// + /// When custom mappings are configured on the resource, the result is included here. + /// + /// When custom mappings are configured on the resource, the result is included here. + [DataMember(Name = "custom_mappings", EmitDefaultValue = true)] + public Object CustomMappings { get; private set; } + + /// + /// Returns false as CustomMappings should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCustomMappings() + { + return false; + } + /// + /// The date and time when the object was last updated. + /// + /// The date and time when the object was last updated. + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; private set; } + + /// + /// Returns false as UpdatedAt should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeUpdatedAt() + { + return false; + } + /// + /// The date and time when the object was created. + /// + /// The date and time when the object was created. + [DataMember(Name = "created_at", EmitDefaultValue = true)] + public DateTime? CreatedAt { get; private set; } + + /// + /// Returns false as CreatedAt should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCreatedAt() + { + return false; + } + /// + /// 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. + /// + /// 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. + [DataMember(Name = "row_version", EmitDefaultValue = true)] + public string RowVersion { get; set; } + + /// + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + /// + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + [DataMember(Name = "pass_through", EmitDefaultValue = false)] + public List PassThrough { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class Expense {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Number: ").Append(Number).Append("\n"); + sb.Append(" TransactionDate: ").Append(TransactionDate).Append("\n"); + sb.Append(" AccountId: ").Append(AccountId).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" SupplierId: ").Append(SupplierId).Append("\n"); + sb.Append(" CompanyId: ").Append(CompanyId).Append("\n"); + sb.Append(" DepartmentId: ").Append(DepartmentId).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" CurrencyRate: ").Append(CurrencyRate).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" Memo: ").Append(Memo).Append("\n"); + sb.Append(" TaxRate: ").Append(TaxRate).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" LineItems: ").Append(LineItems).Append("\n"); + sb.Append(" CustomFields: ").Append(CustomFields).Append("\n"); + sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); + sb.Append(" PassThrough: ").Append(PassThrough).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Expense); + } + + /// + /// Returns true if Expense instances are equal + /// + /// Instance of Expense to be compared + /// Boolean + public bool Equals(Expense input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Number == input.Number || + (this.Number != null && + this.Number.Equals(input.Number)) + ) && + ( + this.TransactionDate == input.TransactionDate || + (this.TransactionDate != null && + this.TransactionDate.Equals(input.TransactionDate)) + ) && + ( + this.AccountId == input.AccountId || + (this.AccountId != null && + this.AccountId.Equals(input.AccountId)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.SupplierId == input.SupplierId || + (this.SupplierId != null && + this.SupplierId.Equals(input.SupplierId)) + ) && + ( + this.CompanyId == input.CompanyId || + (this.CompanyId != null && + this.CompanyId.Equals(input.CompanyId)) + ) && + ( + this.DepartmentId == input.DepartmentId || + (this.DepartmentId != null && + this.DepartmentId.Equals(input.DepartmentId)) + ) && + ( + this.Currency == input.Currency || + this.Currency.Equals(input.Currency) + ) && + ( + this.CurrencyRate == input.CurrencyRate || + (this.CurrencyRate != null && + this.CurrencyRate.Equals(input.CurrencyRate)) + ) && + ( + this.Type == input.Type || + this.Type.Equals(input.Type) + ) && + ( + this.Memo == input.Memo || + (this.Memo != null && + this.Memo.Equals(input.Memo)) + ) && + ( + this.TaxRate == input.TaxRate || + (this.TaxRate != null && + this.TaxRate.Equals(input.TaxRate)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.LineItems == input.LineItems || + this.LineItems != null && + input.LineItems != null && + this.LineItems.SequenceEqual(input.LineItems) + ) && + ( + this.CustomFields == input.CustomFields || + this.CustomFields != null && + input.CustomFields != null && + this.CustomFields.SequenceEqual(input.CustomFields) + ) && + ( + this.CustomMappings == input.CustomMappings || + (this.CustomMappings != null && + this.CustomMappings.Equals(input.CustomMappings)) + ) && + ( + this.UpdatedAt == input.UpdatedAt || + (this.UpdatedAt != null && + this.UpdatedAt.Equals(input.UpdatedAt)) + ) && + ( + this.CreatedAt == input.CreatedAt || + (this.CreatedAt != null && + this.CreatedAt.Equals(input.CreatedAt)) + ) && + ( + this.RowVersion == input.RowVersion || + (this.RowVersion != null && + this.RowVersion.Equals(input.RowVersion)) + ) && + ( + this.PassThrough == input.PassThrough || + this.PassThrough != null && + input.PassThrough != null && + this.PassThrough.SequenceEqual(input.PassThrough) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.Number != null) + { + hashCode = (hashCode * 59) + this.Number.GetHashCode(); + } + if (this.TransactionDate != null) + { + hashCode = (hashCode * 59) + this.TransactionDate.GetHashCode(); + } + if (this.AccountId != null) + { + hashCode = (hashCode * 59) + this.AccountId.GetHashCode(); + } + if (this.CustomerId != null) + { + hashCode = (hashCode * 59) + this.CustomerId.GetHashCode(); + } + if (this.SupplierId != null) + { + hashCode = (hashCode * 59) + this.SupplierId.GetHashCode(); + } + if (this.CompanyId != null) + { + hashCode = (hashCode * 59) + this.CompanyId.GetHashCode(); + } + if (this.DepartmentId != null) + { + hashCode = (hashCode * 59) + this.DepartmentId.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Currency.GetHashCode(); + if (this.CurrencyRate != null) + { + hashCode = (hashCode * 59) + this.CurrencyRate.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Type.GetHashCode(); + if (this.Memo != null) + { + hashCode = (hashCode * 59) + this.Memo.GetHashCode(); + } + if (this.TaxRate != null) + { + hashCode = (hashCode * 59) + this.TaxRate.GetHashCode(); + } + if (this.TotalAmount != null) + { + hashCode = (hashCode * 59) + this.TotalAmount.GetHashCode(); + } + if (this.LineItems != null) + { + hashCode = (hashCode * 59) + this.LineItems.GetHashCode(); + } + if (this.CustomFields != null) + { + hashCode = (hashCode * 59) + this.CustomFields.GetHashCode(); + } + if (this.CustomMappings != null) + { + hashCode = (hashCode * 59) + this.CustomMappings.GetHashCode(); + } + if (this.UpdatedAt != null) + { + hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode(); + } + if (this.CreatedAt != null) + { + hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode(); + } + if (this.RowVersion != null) + { + hashCode = (hashCode * 59) + this.RowVersion.GetHashCode(); + } + if (this.PassThrough != null) + { + hashCode = (hashCode * 59) + this.PassThrough.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/ExpenseLineItem.cs b/src/gen/src/Apideck/Model/ExpenseLineItem.cs new file mode 100644 index 0000000000..4f2c8ee6fa --- /dev/null +++ b/src/gen/src/Apideck/Model/ExpenseLineItem.cs @@ -0,0 +1,311 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// ExpenseLineItem + /// + [DataContract(Name = "ExpenseLineItem")] + public partial class ExpenseLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ExpenseLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// A list of linked tracking categories.. + /// The unique identifier for the ledger account.. + /// The ID of the customer this expense item is linked to.. + /// The ID of the department this expense item is linked to.. + /// The ID of the location this expense item is linked to.. + /// taxRate. + /// The expense line item description. + /// The total amount of the expense line item. (required). + /// Boolean that indicates if the line item is billable or not.. + public ExpenseLineItem(List trackingCategories = default(List), string accountId = default(string), string customerId = default(string), string departmentId = default(string), string locationId = default(string), LinkedTaxRate taxRate = default(LinkedTaxRate), string description = default(string), decimal? totalAmount = default(decimal?), bool billable = default(bool)) + { + // to ensure "totalAmount" is required (not null) + if (totalAmount == null) { + throw new ArgumentNullException("totalAmount is a required property for ExpenseLineItem and cannot be null"); + } + this.TotalAmount = totalAmount; + this.TrackingCategories = trackingCategories; + this.AccountId = accountId; + this.CustomerId = customerId; + this.DepartmentId = departmentId; + this.LocationId = locationId; + this.TaxRate = taxRate; + this.Description = description; + this.Billable = billable; + } + + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; private set; } + + /// + /// Returns false as Id should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeId() + { + return false; + } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + + /// + /// The unique identifier for the ledger account. + /// + /// The unique identifier for the ledger account. + [DataMember(Name = "account_id", EmitDefaultValue = false)] + public string AccountId { get; set; } + + /// + /// The ID of the customer this expense item is linked to. + /// + /// The ID of the customer this expense item is linked to. + [DataMember(Name = "customer_id", EmitDefaultValue = false)] + public string CustomerId { get; set; } + + /// + /// The ID of the department this expense item is linked to. + /// + /// The ID of the department this expense item is linked to. + [DataMember(Name = "department_id", EmitDefaultValue = false)] + public string DepartmentId { get; set; } + + /// + /// The ID of the location this expense item is linked to. + /// + /// The ID of the location this expense item is linked to. + [DataMember(Name = "location_id", EmitDefaultValue = false)] + public string LocationId { get; set; } + + /// + /// Gets or Sets TaxRate + /// + [DataMember(Name = "tax_rate", EmitDefaultValue = false)] + public LinkedTaxRate TaxRate { get; set; } + + /// + /// The expense line item description + /// + /// The expense line item description + [DataMember(Name = "description", EmitDefaultValue = true)] + public string Description { get; set; } + + /// + /// The total amount of the expense line item. + /// + /// The total amount of the expense line item. + [DataMember(Name = "total_amount", IsRequired = true, EmitDefaultValue = true)] + public decimal? TotalAmount { get; set; } + + /// + /// Boolean that indicates if the line item is billable or not. + /// + /// Boolean that indicates if the line item is billable or not. + [DataMember(Name = "billable", EmitDefaultValue = true)] + public bool Billable { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ExpenseLineItem {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); + sb.Append(" AccountId: ").Append(AccountId).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" DepartmentId: ").Append(DepartmentId).Append("\n"); + sb.Append(" LocationId: ").Append(LocationId).Append("\n"); + sb.Append(" TaxRate: ").Append(TaxRate).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" Billable: ").Append(Billable).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ExpenseLineItem); + } + + /// + /// Returns true if ExpenseLineItem instances are equal + /// + /// Instance of ExpenseLineItem to be compared + /// Boolean + public bool Equals(ExpenseLineItem input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && + ( + this.AccountId == input.AccountId || + (this.AccountId != null && + this.AccountId.Equals(input.AccountId)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.DepartmentId == input.DepartmentId || + (this.DepartmentId != null && + this.DepartmentId.Equals(input.DepartmentId)) + ) && + ( + this.LocationId == input.LocationId || + (this.LocationId != null && + this.LocationId.Equals(input.LocationId)) + ) && + ( + this.TaxRate == input.TaxRate || + (this.TaxRate != null && + this.TaxRate.Equals(input.TaxRate)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.Billable == input.Billable || + this.Billable.Equals(input.Billable) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } + if (this.AccountId != null) + { + hashCode = (hashCode * 59) + this.AccountId.GetHashCode(); + } + if (this.CustomerId != null) + { + hashCode = (hashCode * 59) + this.CustomerId.GetHashCode(); + } + if (this.DepartmentId != null) + { + hashCode = (hashCode * 59) + this.DepartmentId.GetHashCode(); + } + if (this.LocationId != null) + { + hashCode = (hashCode * 59) + this.LocationId.GetHashCode(); + } + if (this.TaxRate != null) + { + hashCode = (hashCode * 59) + this.TaxRate.GetHashCode(); + } + if (this.Description != null) + { + hashCode = (hashCode * 59) + this.Description.GetHashCode(); + } + if (this.TotalAmount != null) + { + hashCode = (hashCode * 59) + this.TotalAmount.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Billable.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/FileStorageEventType.cs b/src/gen/src/Apideck/Model/FileStorageEventType.cs index 05e413bc32..8f11ab2288 100644 --- a/src/gen/src/Apideck/Model/FileStorageEventType.cs +++ b/src/gen/src/Apideck/Model/FileStorageEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FileType.cs b/src/gen/src/Apideck/Model/FileType.cs index e4da71f645..dac5b82833 100644 --- a/src/gen/src/Apideck/Model/FileType.cs +++ b/src/gen/src/Apideck/Model/FileType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FilesFilter.cs b/src/gen/src/Apideck/Model/FilesFilter.cs index 8d28588d56..869afb4737 100644 --- a/src/gen/src/Apideck/Model/FilesFilter.cs +++ b/src/gen/src/Apideck/Model/FilesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FilesSearch.cs b/src/gen/src/Apideck/Model/FilesSearch.cs index 9f5cdb3c71..ee30310fa0 100644 --- a/src/gen/src/Apideck/Model/FilesSearch.cs +++ b/src/gen/src/Apideck/Model/FilesSearch.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FilesSort.cs b/src/gen/src/Apideck/Model/FilesSort.cs index e7b2f14482..f0c49acd79 100644 --- a/src/gen/src/Apideck/Model/FilesSort.cs +++ b/src/gen/src/Apideck/Model/FilesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Folder.cs b/src/gen/src/Apideck/Model/Folder.cs index 8204469c30..ce13d2bd38 100644 --- a/src/gen/src/Apideck/Model/Folder.cs +++ b/src/gen/src/Apideck/Model/Folder.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FormField.cs b/src/gen/src/Apideck/Model/FormField.cs index 16730b4dd3..20ab5da3e8 100644 --- a/src/gen/src/Apideck/Model/FormField.cs +++ b/src/gen/src/Apideck/Model/FormField.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FormFieldOption.cs b/src/gen/src/Apideck/Model/FormFieldOption.cs index 8675dd7148..283f4a88a8 100644 --- a/src/gen/src/Apideck/Model/FormFieldOption.cs +++ b/src/gen/src/Apideck/Model/FormFieldOption.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/FormFieldOptionGroup.cs b/src/gen/src/Apideck/Model/FormFieldOptionGroup.cs index 1992be3630..a46ba5502f 100644 --- a/src/gen/src/Apideck/Model/FormFieldOptionGroup.cs +++ b/src/gen/src/Apideck/Model/FormFieldOptionGroup.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Gender.cs b/src/gen/src/Apideck/Model/Gender.cs index 3460db197b..e676ed9beb 100644 --- a/src/gen/src/Apideck/Model/Gender.cs +++ b/src/gen/src/Apideck/Model/Gender.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetAccountingDepartmentResponse.cs b/src/gen/src/Apideck/Model/GetAccountingDepartmentResponse.cs index eee76d6fe5..0c81ffff31 100644 --- a/src/gen/src/Apideck/Model/GetAccountingDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/GetAccountingDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetAccountingDepartmentsResponse.cs b/src/gen/src/Apideck/Model/GetAccountingDepartmentsResponse.cs index 1dabc73d45..64185f4f54 100644 --- a/src/gen/src/Apideck/Model/GetAccountingDepartmentsResponse.cs +++ b/src/gen/src/Apideck/Model/GetAccountingDepartmentsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetAccountingLocationResponse.cs b/src/gen/src/Apideck/Model/GetAccountingLocationResponse.cs index c1a45f73fb..dc8269df16 100644 --- a/src/gen/src/Apideck/Model/GetAccountingLocationResponse.cs +++ b/src/gen/src/Apideck/Model/GetAccountingLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetAccountingLocationsResponse.cs b/src/gen/src/Apideck/Model/GetAccountingLocationsResponse.cs index 02e1a79b4a..e9c999be1e 100644 --- a/src/gen/src/Apideck/Model/GetAccountingLocationsResponse.cs +++ b/src/gen/src/Apideck/Model/GetAccountingLocationsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetActivitiesResponse.cs b/src/gen/src/Apideck/Model/GetActivitiesResponse.cs index 7d54302c64..b15598650e 100644 --- a/src/gen/src/Apideck/Model/GetActivitiesResponse.cs +++ b/src/gen/src/Apideck/Model/GetActivitiesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetActivityResponse.cs b/src/gen/src/Apideck/Model/GetActivityResponse.cs index f9239c24af..d10eec6183 100644 --- a/src/gen/src/Apideck/Model/GetActivityResponse.cs +++ b/src/gen/src/Apideck/Model/GetActivityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApiResourceCoverageResponse.cs b/src/gen/src/Apideck/Model/GetApiResourceCoverageResponse.cs index 8ead94fa84..8b9a4ffafd 100644 --- a/src/gen/src/Apideck/Model/GetApiResourceCoverageResponse.cs +++ b/src/gen/src/Apideck/Model/GetApiResourceCoverageResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApiResourceResponse.cs b/src/gen/src/Apideck/Model/GetApiResourceResponse.cs index 43aa165127..b6af1e5945 100644 --- a/src/gen/src/Apideck/Model/GetApiResourceResponse.cs +++ b/src/gen/src/Apideck/Model/GetApiResourceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApiResponse.cs b/src/gen/src/Apideck/Model/GetApiResponse.cs index fe8c1849fd..56e4a7e69e 100644 --- a/src/gen/src/Apideck/Model/GetApiResponse.cs +++ b/src/gen/src/Apideck/Model/GetApiResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApisResponse.cs b/src/gen/src/Apideck/Model/GetApisResponse.cs index 0adcf909bf..0aca9b9867 100644 --- a/src/gen/src/Apideck/Model/GetApisResponse.cs +++ b/src/gen/src/Apideck/Model/GetApisResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApplicantResponse.cs b/src/gen/src/Apideck/Model/GetApplicantResponse.cs index f27cedfa98..de9bc31ba0 100644 --- a/src/gen/src/Apideck/Model/GetApplicantResponse.cs +++ b/src/gen/src/Apideck/Model/GetApplicantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApplicantsResponse.cs b/src/gen/src/Apideck/Model/GetApplicantsResponse.cs index 04ad32e9d1..c7c7a5a36a 100644 --- a/src/gen/src/Apideck/Model/GetApplicantsResponse.cs +++ b/src/gen/src/Apideck/Model/GetApplicantsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApplicationResponse.cs b/src/gen/src/Apideck/Model/GetApplicationResponse.cs index f1810d0952..7df01783fd 100644 --- a/src/gen/src/Apideck/Model/GetApplicationResponse.cs +++ b/src/gen/src/Apideck/Model/GetApplicationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetApplicationsResponse.cs b/src/gen/src/Apideck/Model/GetApplicationsResponse.cs index fad1797572..db03972a2f 100644 --- a/src/gen/src/Apideck/Model/GetApplicationsResponse.cs +++ b/src/gen/src/Apideck/Model/GetApplicationsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetAttachmentResponse.cs b/src/gen/src/Apideck/Model/GetAttachmentResponse.cs index 5fae08a717..3974d12bf5 100644 --- a/src/gen/src/Apideck/Model/GetAttachmentResponse.cs +++ b/src/gen/src/Apideck/Model/GetAttachmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetAttachmentsResponse.cs b/src/gen/src/Apideck/Model/GetAttachmentsResponse.cs index 0c1513d565..997b7e483c 100644 --- a/src/gen/src/Apideck/Model/GetAttachmentsResponse.cs +++ b/src/gen/src/Apideck/Model/GetAttachmentsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetBalanceSheetResponse.cs b/src/gen/src/Apideck/Model/GetBalanceSheetResponse.cs index bb4917c8f9..645deb131a 100644 --- a/src/gen/src/Apideck/Model/GetBalanceSheetResponse.cs +++ b/src/gen/src/Apideck/Model/GetBalanceSheetResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetBillPaymentResponse.cs b/src/gen/src/Apideck/Model/GetBillPaymentResponse.cs new file mode 100644 index 0000000000..66197a4a1a --- /dev/null +++ b/src/gen/src/Apideck/Model/GetBillPaymentResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// GetBillPaymentResponse + /// + [DataContract(Name = "GetBillPaymentResponse")] + public partial class GetBillPaymentResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GetBillPaymentResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public GetBillPaymentResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), BillPayment data = default(BillPayment)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for GetBillPaymentResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for GetBillPaymentResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for GetBillPaymentResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for GetBillPaymentResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for GetBillPaymentResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public BillPayment Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetBillPaymentResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetBillPaymentResponse); + } + + /// + /// Returns true if GetBillPaymentResponse instances are equal + /// + /// Instance of GetBillPaymentResponse to be compared + /// Boolean + public bool Equals(GetBillPaymentResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/GetBillPaymentsResponse.cs b/src/gen/src/Apideck/Model/GetBillPaymentsResponse.cs new file mode 100644 index 0000000000..6e5c41e289 --- /dev/null +++ b/src/gen/src/Apideck/Model/GetBillPaymentsResponse.cs @@ -0,0 +1,281 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// GetBillPaymentsResponse + /// + [DataContract(Name = "GetBillPaymentsResponse")] + public partial class GetBillPaymentsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GetBillPaymentsResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + /// meta. + /// links. + public GetBillPaymentsResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), List data = default(List), Meta meta = default(Meta), Links links = default(Links)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for GetBillPaymentsResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for GetBillPaymentsResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for GetBillPaymentsResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for GetBillPaymentsResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for GetBillPaymentsResponse and cannot be null"); + } + this.Data = data; + this.Meta = meta; + this.Links = links; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public List Data { get; set; } + + /// + /// Gets or Sets Meta + /// + [DataMember(Name = "meta", EmitDefaultValue = false)] + public Meta Meta { get; set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name = "links", EmitDefaultValue = false)] + public Links Links { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetBillPaymentsResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" Meta: ").Append(Meta).Append("\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetBillPaymentsResponse); + } + + /// + /// Returns true if GetBillPaymentsResponse instances are equal + /// + /// Instance of GetBillPaymentsResponse to be compared + /// Boolean + public bool Equals(GetBillPaymentsResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + this.Data != null && + input.Data != null && + this.Data.SequenceEqual(input.Data) + ) && + ( + this.Meta == input.Meta || + (this.Meta != null && + this.Meta.Equals(input.Meta)) + ) && + ( + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + if (this.Meta != null) + { + hashCode = (hashCode * 59) + this.Meta.GetHashCode(); + } + if (this.Links != null) + { + hashCode = (hashCode * 59) + this.Links.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/GetBillResponse.cs b/src/gen/src/Apideck/Model/GetBillResponse.cs index 8325a41589..4b210163ed 100644 --- a/src/gen/src/Apideck/Model/GetBillResponse.cs +++ b/src/gen/src/Apideck/Model/GetBillResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetBillsResponse.cs b/src/gen/src/Apideck/Model/GetBillsResponse.cs index ff29846f2b..f3f19affef 100644 --- a/src/gen/src/Apideck/Model/GetBillsResponse.cs +++ b/src/gen/src/Apideck/Model/GetBillsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCollectionResponse.cs b/src/gen/src/Apideck/Model/GetCollectionResponse.cs index aff6489b41..015272a928 100644 --- a/src/gen/src/Apideck/Model/GetCollectionResponse.cs +++ b/src/gen/src/Apideck/Model/GetCollectionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCollectionTagsResponse.cs b/src/gen/src/Apideck/Model/GetCollectionTagsResponse.cs index 2b6a2b21e3..5e583980a7 100644 --- a/src/gen/src/Apideck/Model/GetCollectionTagsResponse.cs +++ b/src/gen/src/Apideck/Model/GetCollectionTagsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCollectionUserResponse.cs b/src/gen/src/Apideck/Model/GetCollectionUserResponse.cs index 6d145c348e..e9d6d48f27 100644 --- a/src/gen/src/Apideck/Model/GetCollectionUserResponse.cs +++ b/src/gen/src/Apideck/Model/GetCollectionUserResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCollectionUsersResponse.cs b/src/gen/src/Apideck/Model/GetCollectionUsersResponse.cs index 32be7a75d0..8ba8e7899a 100644 --- a/src/gen/src/Apideck/Model/GetCollectionUsersResponse.cs +++ b/src/gen/src/Apideck/Model/GetCollectionUsersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCollectionsResponse.cs b/src/gen/src/Apideck/Model/GetCollectionsResponse.cs index ab274032c8..16f26ebba2 100644 --- a/src/gen/src/Apideck/Model/GetCollectionsResponse.cs +++ b/src/gen/src/Apideck/Model/GetCollectionsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCommentResponse.cs b/src/gen/src/Apideck/Model/GetCommentResponse.cs index 4154621a5e..ebf4ed94a6 100644 --- a/src/gen/src/Apideck/Model/GetCommentResponse.cs +++ b/src/gen/src/Apideck/Model/GetCommentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCommentsResponse.cs b/src/gen/src/Apideck/Model/GetCommentsResponse.cs index dd4a46da35..e5cc0364ac 100644 --- a/src/gen/src/Apideck/Model/GetCommentsResponse.cs +++ b/src/gen/src/Apideck/Model/GetCommentsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCompaniesResponse.cs b/src/gen/src/Apideck/Model/GetCompaniesResponse.cs index 3d6aa5651e..7f2545c6d9 100644 --- a/src/gen/src/Apideck/Model/GetCompaniesResponse.cs +++ b/src/gen/src/Apideck/Model/GetCompaniesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCompanyInfoResponse.cs b/src/gen/src/Apideck/Model/GetCompanyInfoResponse.cs index f55dcd73ba..c5258c4b3b 100644 --- a/src/gen/src/Apideck/Model/GetCompanyInfoResponse.cs +++ b/src/gen/src/Apideck/Model/GetCompanyInfoResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCompanyResponse.cs b/src/gen/src/Apideck/Model/GetCompanyResponse.cs index 0b0d5673c6..04290f5a12 100644 --- a/src/gen/src/Apideck/Model/GetCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/GetCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectionResponse.cs b/src/gen/src/Apideck/Model/GetConnectionResponse.cs index 0aed27725c..a47c4908af 100644 --- a/src/gen/src/Apideck/Model/GetConnectionResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectionsResponse.cs b/src/gen/src/Apideck/Model/GetConnectionsResponse.cs index 377c3273c3..c2945617aa 100644 --- a/src/gen/src/Apideck/Model/GetConnectionsResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectionsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponse.cs b/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponse.cs index 732f450ffb..ca00e107e3 100644 --- a/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponseData.cs b/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponseData.cs index fd328964b0..46532548bf 100644 --- a/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponseData.cs +++ b/src/gen/src/Apideck/Model/GetConnectorResourceExampleResponseData.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectorResourceResponse.cs b/src/gen/src/Apideck/Model/GetConnectorResourceResponse.cs index 27234ad08a..2a296bbd86 100644 --- a/src/gen/src/Apideck/Model/GetConnectorResourceResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectorResourceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectorResourceSchemaResponse.cs b/src/gen/src/Apideck/Model/GetConnectorResourceSchemaResponse.cs index 47252c64b8..764f36193c 100644 --- a/src/gen/src/Apideck/Model/GetConnectorResourceSchemaResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectorResourceSchemaResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectorResponse.cs b/src/gen/src/Apideck/Model/GetConnectorResponse.cs index 9c74efa14a..98514604d1 100644 --- a/src/gen/src/Apideck/Model/GetConnectorResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectorResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConnectorsResponse.cs b/src/gen/src/Apideck/Model/GetConnectorsResponse.cs index eaaeecb473..42b1a46f11 100644 --- a/src/gen/src/Apideck/Model/GetConnectorsResponse.cs +++ b/src/gen/src/Apideck/Model/GetConnectorsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConsumerResponse.cs b/src/gen/src/Apideck/Model/GetConsumerResponse.cs index 2a7c62d0a3..8081927f91 100644 --- a/src/gen/src/Apideck/Model/GetConsumerResponse.cs +++ b/src/gen/src/Apideck/Model/GetConsumerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConsumersResponse.cs b/src/gen/src/Apideck/Model/GetConsumersResponse.cs index d8be2abe3e..d505e1da5d 100644 --- a/src/gen/src/Apideck/Model/GetConsumersResponse.cs +++ b/src/gen/src/Apideck/Model/GetConsumersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetConsumersResponseData.cs b/src/gen/src/Apideck/Model/GetConsumersResponseData.cs index f825571cae..0efbbc9a2b 100644 --- a/src/gen/src/Apideck/Model/GetConsumersResponseData.cs +++ b/src/gen/src/Apideck/Model/GetConsumersResponseData.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetContactResponse.cs b/src/gen/src/Apideck/Model/GetContactResponse.cs index 9c296c8e0c..36869d9c9f 100644 --- a/src/gen/src/Apideck/Model/GetContactResponse.cs +++ b/src/gen/src/Apideck/Model/GetContactResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetContactsResponse.cs b/src/gen/src/Apideck/Model/GetContactsResponse.cs index e77ea869f0..223f19cabc 100644 --- a/src/gen/src/Apideck/Model/GetContactsResponse.cs +++ b/src/gen/src/Apideck/Model/GetContactsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCreditNoteResponse.cs b/src/gen/src/Apideck/Model/GetCreditNoteResponse.cs index 30be1013eb..41ffdbb2fb 100644 --- a/src/gen/src/Apideck/Model/GetCreditNoteResponse.cs +++ b/src/gen/src/Apideck/Model/GetCreditNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCreditNotesResponse.cs b/src/gen/src/Apideck/Model/GetCreditNotesResponse.cs index 14134ce7d3..5717ac5b11 100644 --- a/src/gen/src/Apideck/Model/GetCreditNotesResponse.cs +++ b/src/gen/src/Apideck/Model/GetCreditNotesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCustomFieldsResponse.cs b/src/gen/src/Apideck/Model/GetCustomFieldsResponse.cs index 068c8b34b1..68a4554edf 100644 --- a/src/gen/src/Apideck/Model/GetCustomFieldsResponse.cs +++ b/src/gen/src/Apideck/Model/GetCustomFieldsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCustomMappingResponse.cs b/src/gen/src/Apideck/Model/GetCustomMappingResponse.cs index 8a5e270117..1fe87a05c9 100644 --- a/src/gen/src/Apideck/Model/GetCustomMappingResponse.cs +++ b/src/gen/src/Apideck/Model/GetCustomMappingResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCustomerResponse.cs b/src/gen/src/Apideck/Model/GetCustomerResponse.cs index a20cb2e57f..0bca6a68b0 100644 --- a/src/gen/src/Apideck/Model/GetCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/GetCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetCustomersResponse.cs b/src/gen/src/Apideck/Model/GetCustomersResponse.cs index 6cd9d6f271..ccbc90c477 100644 --- a/src/gen/src/Apideck/Model/GetCustomersResponse.cs +++ b/src/gen/src/Apideck/Model/GetCustomersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetDepartmentResponse.cs b/src/gen/src/Apideck/Model/GetDepartmentResponse.cs index 755a7b797e..b1613ba396 100644 --- a/src/gen/src/Apideck/Model/GetDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/GetDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetDepartmentsResponse.cs b/src/gen/src/Apideck/Model/GetDepartmentsResponse.cs index 4fb4a130dc..ebf281378d 100644 --- a/src/gen/src/Apideck/Model/GetDepartmentsResponse.cs +++ b/src/gen/src/Apideck/Model/GetDepartmentsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetDriveGroupResponse.cs b/src/gen/src/Apideck/Model/GetDriveGroupResponse.cs index f9fbabe184..232392dbb1 100644 --- a/src/gen/src/Apideck/Model/GetDriveGroupResponse.cs +++ b/src/gen/src/Apideck/Model/GetDriveGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetDriveGroupsResponse.cs b/src/gen/src/Apideck/Model/GetDriveGroupsResponse.cs index 9b06c648e6..a946ca0572 100644 --- a/src/gen/src/Apideck/Model/GetDriveGroupsResponse.cs +++ b/src/gen/src/Apideck/Model/GetDriveGroupsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetDriveResponse.cs b/src/gen/src/Apideck/Model/GetDriveResponse.cs index df15ee0961..34f4595504 100644 --- a/src/gen/src/Apideck/Model/GetDriveResponse.cs +++ b/src/gen/src/Apideck/Model/GetDriveResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetDrivesResponse.cs b/src/gen/src/Apideck/Model/GetDrivesResponse.cs index c991f7ba4c..08a5a5cc4f 100644 --- a/src/gen/src/Apideck/Model/GetDrivesResponse.cs +++ b/src/gen/src/Apideck/Model/GetDrivesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEcommerceCustomerResponse.cs b/src/gen/src/Apideck/Model/GetEcommerceCustomerResponse.cs index af0ea97475..735ed8ea09 100644 --- a/src/gen/src/Apideck/Model/GetEcommerceCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/GetEcommerceCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEcommerceCustomersResponse.cs b/src/gen/src/Apideck/Model/GetEcommerceCustomersResponse.cs index 249d8946a6..60b0570815 100644 --- a/src/gen/src/Apideck/Model/GetEcommerceCustomersResponse.cs +++ b/src/gen/src/Apideck/Model/GetEcommerceCustomersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEcommerceOrderResponse.cs b/src/gen/src/Apideck/Model/GetEcommerceOrderResponse.cs index 511adcf463..c279c5e8df 100644 --- a/src/gen/src/Apideck/Model/GetEcommerceOrderResponse.cs +++ b/src/gen/src/Apideck/Model/GetEcommerceOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEcommerceOrdersResponse.cs b/src/gen/src/Apideck/Model/GetEcommerceOrdersResponse.cs index aae1b8a5c3..02b3217697 100644 --- a/src/gen/src/Apideck/Model/GetEcommerceOrdersResponse.cs +++ b/src/gen/src/Apideck/Model/GetEcommerceOrdersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEmployeePayrollResponse.cs b/src/gen/src/Apideck/Model/GetEmployeePayrollResponse.cs index e6bf9d5fad..988dd6070c 100644 --- a/src/gen/src/Apideck/Model/GetEmployeePayrollResponse.cs +++ b/src/gen/src/Apideck/Model/GetEmployeePayrollResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEmployeePayrollsResponse.cs b/src/gen/src/Apideck/Model/GetEmployeePayrollsResponse.cs index f991c28bb2..16a7595b4e 100644 --- a/src/gen/src/Apideck/Model/GetEmployeePayrollsResponse.cs +++ b/src/gen/src/Apideck/Model/GetEmployeePayrollsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEmployeeResponse.cs b/src/gen/src/Apideck/Model/GetEmployeeResponse.cs index 9ab351a063..007b8caba1 100644 --- a/src/gen/src/Apideck/Model/GetEmployeeResponse.cs +++ b/src/gen/src/Apideck/Model/GetEmployeeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEmployeeSchedulesResponse.cs b/src/gen/src/Apideck/Model/GetEmployeeSchedulesResponse.cs index 801967137c..a568fad082 100644 --- a/src/gen/src/Apideck/Model/GetEmployeeSchedulesResponse.cs +++ b/src/gen/src/Apideck/Model/GetEmployeeSchedulesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetEmployeesResponse.cs b/src/gen/src/Apideck/Model/GetEmployeesResponse.cs index 723156c085..24f505df19 100644 --- a/src/gen/src/Apideck/Model/GetEmployeesResponse.cs +++ b/src/gen/src/Apideck/Model/GetEmployeesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetExpenseResponse.cs b/src/gen/src/Apideck/Model/GetExpenseResponse.cs new file mode 100644 index 0000000000..752777549c --- /dev/null +++ b/src/gen/src/Apideck/Model/GetExpenseResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// GetExpenseResponse + /// + [DataContract(Name = "GetExpenseResponse")] + public partial class GetExpenseResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GetExpenseResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public GetExpenseResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), Expense data = default(Expense)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for GetExpenseResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for GetExpenseResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for GetExpenseResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for GetExpenseResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for GetExpenseResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public Expense Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetExpenseResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetExpenseResponse); + } + + /// + /// Returns true if GetExpenseResponse instances are equal + /// + /// Instance of GetExpenseResponse to be compared + /// Boolean + public bool Equals(GetExpenseResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/GetExpensesResponse.cs b/src/gen/src/Apideck/Model/GetExpensesResponse.cs new file mode 100644 index 0000000000..a97632cf4d --- /dev/null +++ b/src/gen/src/Apideck/Model/GetExpensesResponse.cs @@ -0,0 +1,281 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// GetExpensesResponse + /// + [DataContract(Name = "GetExpensesResponse")] + public partial class GetExpensesResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GetExpensesResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + /// meta. + /// links. + public GetExpensesResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), List data = default(List), Meta meta = default(Meta), Links links = default(Links)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for GetExpensesResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for GetExpensesResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for GetExpensesResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for GetExpensesResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for GetExpensesResponse and cannot be null"); + } + this.Data = data; + this.Meta = meta; + this.Links = links; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public List Data { get; set; } + + /// + /// Gets or Sets Meta + /// + [DataMember(Name = "meta", EmitDefaultValue = false)] + public Meta Meta { get; set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name = "links", EmitDefaultValue = false)] + public Links Links { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetExpensesResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" Meta: ").Append(Meta).Append("\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetExpensesResponse); + } + + /// + /// Returns true if GetExpensesResponse instances are equal + /// + /// Instance of GetExpensesResponse to be compared + /// Boolean + public bool Equals(GetExpensesResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + this.Data != null && + input.Data != null && + this.Data.SequenceEqual(input.Data) + ) && + ( + this.Meta == input.Meta || + (this.Meta != null && + this.Meta.Equals(input.Meta)) + ) && + ( + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + if (this.Meta != null) + { + hashCode = (hashCode * 59) + this.Meta.GetHashCode(); + } + if (this.Links != null) + { + hashCode = (hashCode * 59) + this.Links.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/GetFileResponse.cs b/src/gen/src/Apideck/Model/GetFileResponse.cs index c410d056c3..f24b9d8494 100644 --- a/src/gen/src/Apideck/Model/GetFileResponse.cs +++ b/src/gen/src/Apideck/Model/GetFileResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetFilesResponse.cs b/src/gen/src/Apideck/Model/GetFilesResponse.cs index ad0a47a448..54a0f898dc 100644 --- a/src/gen/src/Apideck/Model/GetFilesResponse.cs +++ b/src/gen/src/Apideck/Model/GetFilesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetFolderResponse.cs b/src/gen/src/Apideck/Model/GetFolderResponse.cs index a0d6dccfa4..db5b4976cf 100644 --- a/src/gen/src/Apideck/Model/GetFolderResponse.cs +++ b/src/gen/src/Apideck/Model/GetFolderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetFoldersResponse.cs b/src/gen/src/Apideck/Model/GetFoldersResponse.cs index 239a9b9dc4..424c303ac7 100644 --- a/src/gen/src/Apideck/Model/GetFoldersResponse.cs +++ b/src/gen/src/Apideck/Model/GetFoldersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetHrisCompaniesResponse.cs b/src/gen/src/Apideck/Model/GetHrisCompaniesResponse.cs index 550c9fa070..112d613dfd 100644 --- a/src/gen/src/Apideck/Model/GetHrisCompaniesResponse.cs +++ b/src/gen/src/Apideck/Model/GetHrisCompaniesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetHrisCompanyResponse.cs b/src/gen/src/Apideck/Model/GetHrisCompanyResponse.cs index 0e128d0ea0..e01bd63cdb 100644 --- a/src/gen/src/Apideck/Model/GetHrisCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/GetHrisCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetHrisJobResponse.cs b/src/gen/src/Apideck/Model/GetHrisJobResponse.cs index 881bdc30ea..5e3fb80d7a 100644 --- a/src/gen/src/Apideck/Model/GetHrisJobResponse.cs +++ b/src/gen/src/Apideck/Model/GetHrisJobResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetHrisJobsResponse.cs b/src/gen/src/Apideck/Model/GetHrisJobsResponse.cs index cb3de0b52e..3892babc63 100644 --- a/src/gen/src/Apideck/Model/GetHrisJobsResponse.cs +++ b/src/gen/src/Apideck/Model/GetHrisJobsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetInvoiceItemResponse.cs b/src/gen/src/Apideck/Model/GetInvoiceItemResponse.cs index 533b8d901c..1976826004 100644 --- a/src/gen/src/Apideck/Model/GetInvoiceItemResponse.cs +++ b/src/gen/src/Apideck/Model/GetInvoiceItemResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetInvoiceItemsResponse.cs b/src/gen/src/Apideck/Model/GetInvoiceItemsResponse.cs index 94dc14b104..1c2e979c13 100644 --- a/src/gen/src/Apideck/Model/GetInvoiceItemsResponse.cs +++ b/src/gen/src/Apideck/Model/GetInvoiceItemsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetInvoiceResponse.cs b/src/gen/src/Apideck/Model/GetInvoiceResponse.cs index 01248c9c53..773bb87fcd 100644 --- a/src/gen/src/Apideck/Model/GetInvoiceResponse.cs +++ b/src/gen/src/Apideck/Model/GetInvoiceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetInvoicesResponse.cs b/src/gen/src/Apideck/Model/GetInvoicesResponse.cs index 5c65104210..b007de1e85 100644 --- a/src/gen/src/Apideck/Model/GetInvoicesResponse.cs +++ b/src/gen/src/Apideck/Model/GetInvoicesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetItemResponse.cs b/src/gen/src/Apideck/Model/GetItemResponse.cs index 7904c67080..881b21a2d8 100644 --- a/src/gen/src/Apideck/Model/GetItemResponse.cs +++ b/src/gen/src/Apideck/Model/GetItemResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetItemsResponse.cs b/src/gen/src/Apideck/Model/GetItemsResponse.cs index 537fd1bbdc..d9f950f2be 100644 --- a/src/gen/src/Apideck/Model/GetItemsResponse.cs +++ b/src/gen/src/Apideck/Model/GetItemsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetJobResponse.cs b/src/gen/src/Apideck/Model/GetJobResponse.cs index 7ed75642e2..f0a7479a8b 100644 --- a/src/gen/src/Apideck/Model/GetJobResponse.cs +++ b/src/gen/src/Apideck/Model/GetJobResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetJobsResponse.cs b/src/gen/src/Apideck/Model/GetJobsResponse.cs index d2e7f953e8..19394071fc 100644 --- a/src/gen/src/Apideck/Model/GetJobsResponse.cs +++ b/src/gen/src/Apideck/Model/GetJobsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetJournalEntriesResponse.cs b/src/gen/src/Apideck/Model/GetJournalEntriesResponse.cs index e5bf08d20b..211e98f684 100644 --- a/src/gen/src/Apideck/Model/GetJournalEntriesResponse.cs +++ b/src/gen/src/Apideck/Model/GetJournalEntriesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetJournalEntryResponse.cs b/src/gen/src/Apideck/Model/GetJournalEntryResponse.cs index 54d128dabf..a8dfdd3070 100644 --- a/src/gen/src/Apideck/Model/GetJournalEntryResponse.cs +++ b/src/gen/src/Apideck/Model/GetJournalEntryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLeadResponse.cs b/src/gen/src/Apideck/Model/GetLeadResponse.cs index 490caffb62..9ffce0f943 100644 --- a/src/gen/src/Apideck/Model/GetLeadResponse.cs +++ b/src/gen/src/Apideck/Model/GetLeadResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLeadsResponse.cs b/src/gen/src/Apideck/Model/GetLeadsResponse.cs index 2013be5277..6f42e615b4 100644 --- a/src/gen/src/Apideck/Model/GetLeadsResponse.cs +++ b/src/gen/src/Apideck/Model/GetLeadsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLedgerAccountResponse.cs b/src/gen/src/Apideck/Model/GetLedgerAccountResponse.cs index dd337770a9..3711e32092 100644 --- a/src/gen/src/Apideck/Model/GetLedgerAccountResponse.cs +++ b/src/gen/src/Apideck/Model/GetLedgerAccountResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLedgerAccountsResponse.cs b/src/gen/src/Apideck/Model/GetLedgerAccountsResponse.cs index 10ccb4285e..4285a02aee 100644 --- a/src/gen/src/Apideck/Model/GetLedgerAccountsResponse.cs +++ b/src/gen/src/Apideck/Model/GetLedgerAccountsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLocationResponse.cs b/src/gen/src/Apideck/Model/GetLocationResponse.cs index a222da7cb8..0cb266d737 100644 --- a/src/gen/src/Apideck/Model/GetLocationResponse.cs +++ b/src/gen/src/Apideck/Model/GetLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLocationsResponse.cs b/src/gen/src/Apideck/Model/GetLocationsResponse.cs index e548e48709..926f15396c 100644 --- a/src/gen/src/Apideck/Model/GetLocationsResponse.cs +++ b/src/gen/src/Apideck/Model/GetLocationsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetLogsResponse.cs b/src/gen/src/Apideck/Model/GetLogsResponse.cs index 0588eb2cb6..c4c644eb63 100644 --- a/src/gen/src/Apideck/Model/GetLogsResponse.cs +++ b/src/gen/src/Apideck/Model/GetLogsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetMerchantResponse.cs b/src/gen/src/Apideck/Model/GetMerchantResponse.cs index af9329a2b1..a9766bb2cf 100644 --- a/src/gen/src/Apideck/Model/GetMerchantResponse.cs +++ b/src/gen/src/Apideck/Model/GetMerchantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetMerchantsResponse.cs b/src/gen/src/Apideck/Model/GetMerchantsResponse.cs index b84691ff82..29aa8774cc 100644 --- a/src/gen/src/Apideck/Model/GetMerchantsResponse.cs +++ b/src/gen/src/Apideck/Model/GetMerchantsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetMessageResponse.cs b/src/gen/src/Apideck/Model/GetMessageResponse.cs index 1db0f800b3..f3145f4492 100644 --- a/src/gen/src/Apideck/Model/GetMessageResponse.cs +++ b/src/gen/src/Apideck/Model/GetMessageResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetMessagesResponse.cs b/src/gen/src/Apideck/Model/GetMessagesResponse.cs index e53a7b92f5..4099099fd3 100644 --- a/src/gen/src/Apideck/Model/GetMessagesResponse.cs +++ b/src/gen/src/Apideck/Model/GetMessagesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetModifierGroupResponse.cs b/src/gen/src/Apideck/Model/GetModifierGroupResponse.cs index 3404e22cc0..6a7aef6a9f 100644 --- a/src/gen/src/Apideck/Model/GetModifierGroupResponse.cs +++ b/src/gen/src/Apideck/Model/GetModifierGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetModifierGroupsResponse.cs b/src/gen/src/Apideck/Model/GetModifierGroupsResponse.cs index 2fb8facb82..6672301a7a 100644 --- a/src/gen/src/Apideck/Model/GetModifierGroupsResponse.cs +++ b/src/gen/src/Apideck/Model/GetModifierGroupsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetModifierResponse.cs b/src/gen/src/Apideck/Model/GetModifierResponse.cs index 9247e271e1..a15a4cc0c8 100644 --- a/src/gen/src/Apideck/Model/GetModifierResponse.cs +++ b/src/gen/src/Apideck/Model/GetModifierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetModifiersResponse.cs b/src/gen/src/Apideck/Model/GetModifiersResponse.cs index 6c46adc4df..7b83575203 100644 --- a/src/gen/src/Apideck/Model/GetModifiersResponse.cs +++ b/src/gen/src/Apideck/Model/GetModifiersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetNoteResponse.cs b/src/gen/src/Apideck/Model/GetNoteResponse.cs index cfc2164e63..61acbdc18f 100644 --- a/src/gen/src/Apideck/Model/GetNoteResponse.cs +++ b/src/gen/src/Apideck/Model/GetNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetNotesResponse.cs b/src/gen/src/Apideck/Model/GetNotesResponse.cs index 3af31c60e4..f4e177bfbe 100644 --- a/src/gen/src/Apideck/Model/GetNotesResponse.cs +++ b/src/gen/src/Apideck/Model/GetNotesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetOpportunitiesResponse.cs b/src/gen/src/Apideck/Model/GetOpportunitiesResponse.cs index 21c805f217..515aaefc4f 100644 --- a/src/gen/src/Apideck/Model/GetOpportunitiesResponse.cs +++ b/src/gen/src/Apideck/Model/GetOpportunitiesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetOpportunityResponse.cs b/src/gen/src/Apideck/Model/GetOpportunityResponse.cs index 74dfc284b5..739a6af25a 100644 --- a/src/gen/src/Apideck/Model/GetOpportunityResponse.cs +++ b/src/gen/src/Apideck/Model/GetOpportunityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetOrderResponse.cs b/src/gen/src/Apideck/Model/GetOrderResponse.cs index 48f9f0a4ae..a00d2bb246 100644 --- a/src/gen/src/Apideck/Model/GetOrderResponse.cs +++ b/src/gen/src/Apideck/Model/GetOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetOrderTypeResponse.cs b/src/gen/src/Apideck/Model/GetOrderTypeResponse.cs index a39937e8cd..006bed0e95 100644 --- a/src/gen/src/Apideck/Model/GetOrderTypeResponse.cs +++ b/src/gen/src/Apideck/Model/GetOrderTypeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetOrderTypesResponse.cs b/src/gen/src/Apideck/Model/GetOrderTypesResponse.cs index f20a11809b..5fa67f6c41 100644 --- a/src/gen/src/Apideck/Model/GetOrderTypesResponse.cs +++ b/src/gen/src/Apideck/Model/GetOrderTypesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetOrdersResponse.cs b/src/gen/src/Apideck/Model/GetOrdersResponse.cs index c970e96830..bb036fe226 100644 --- a/src/gen/src/Apideck/Model/GetOrdersResponse.cs +++ b/src/gen/src/Apideck/Model/GetOrdersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPaymentResponse.cs b/src/gen/src/Apideck/Model/GetPaymentResponse.cs index 01bfdc9ffe..7280ec778f 100644 --- a/src/gen/src/Apideck/Model/GetPaymentResponse.cs +++ b/src/gen/src/Apideck/Model/GetPaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPaymentsResponse.cs b/src/gen/src/Apideck/Model/GetPaymentsResponse.cs index 5e51f32a4f..e5ac22a093 100644 --- a/src/gen/src/Apideck/Model/GetPaymentsResponse.cs +++ b/src/gen/src/Apideck/Model/GetPaymentsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPayrollResponse.cs b/src/gen/src/Apideck/Model/GetPayrollResponse.cs index d2c9845469..6f865f899c 100644 --- a/src/gen/src/Apideck/Model/GetPayrollResponse.cs +++ b/src/gen/src/Apideck/Model/GetPayrollResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPayrollsResponse.cs b/src/gen/src/Apideck/Model/GetPayrollsResponse.cs index 50004212db..05a97976e0 100644 --- a/src/gen/src/Apideck/Model/GetPayrollsResponse.cs +++ b/src/gen/src/Apideck/Model/GetPayrollsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPipelineResponse.cs b/src/gen/src/Apideck/Model/GetPipelineResponse.cs index 450ea7e4cd..cf371f72e5 100644 --- a/src/gen/src/Apideck/Model/GetPipelineResponse.cs +++ b/src/gen/src/Apideck/Model/GetPipelineResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPipelinesResponse.cs b/src/gen/src/Apideck/Model/GetPipelinesResponse.cs index 7ed00739ce..f1c23cf40e 100644 --- a/src/gen/src/Apideck/Model/GetPipelinesResponse.cs +++ b/src/gen/src/Apideck/Model/GetPipelinesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPosPaymentResponse.cs b/src/gen/src/Apideck/Model/GetPosPaymentResponse.cs index 9c590cab68..0959d1ccfa 100644 --- a/src/gen/src/Apideck/Model/GetPosPaymentResponse.cs +++ b/src/gen/src/Apideck/Model/GetPosPaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPosPaymentsResponse.cs b/src/gen/src/Apideck/Model/GetPosPaymentsResponse.cs index dd69edcdd5..79d4bc2064 100644 --- a/src/gen/src/Apideck/Model/GetPosPaymentsResponse.cs +++ b/src/gen/src/Apideck/Model/GetPosPaymentsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetProductResponse.cs b/src/gen/src/Apideck/Model/GetProductResponse.cs index c42edc15fd..4f3a15c9fe 100644 --- a/src/gen/src/Apideck/Model/GetProductResponse.cs +++ b/src/gen/src/Apideck/Model/GetProductResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetProductsResponse.cs b/src/gen/src/Apideck/Model/GetProductsResponse.cs index 81f0a8c5a2..22a3be6220 100644 --- a/src/gen/src/Apideck/Model/GetProductsResponse.cs +++ b/src/gen/src/Apideck/Model/GetProductsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetProfitAndLossResponse.cs b/src/gen/src/Apideck/Model/GetProfitAndLossResponse.cs index 00992d4a0a..e807391b57 100644 --- a/src/gen/src/Apideck/Model/GetProfitAndLossResponse.cs +++ b/src/gen/src/Apideck/Model/GetProfitAndLossResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPurchaseOrderResponse.cs b/src/gen/src/Apideck/Model/GetPurchaseOrderResponse.cs index adceb173ba..15e265c079 100644 --- a/src/gen/src/Apideck/Model/GetPurchaseOrderResponse.cs +++ b/src/gen/src/Apideck/Model/GetPurchaseOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetPurchaseOrdersResponse.cs b/src/gen/src/Apideck/Model/GetPurchaseOrdersResponse.cs index f666d3d79a..8285c90d05 100644 --- a/src/gen/src/Apideck/Model/GetPurchaseOrdersResponse.cs +++ b/src/gen/src/Apideck/Model/GetPurchaseOrdersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetResourceExampleResponse.cs b/src/gen/src/Apideck/Model/GetResourceExampleResponse.cs index fb8c501daa..3e83807aaf 100644 --- a/src/gen/src/Apideck/Model/GetResourceExampleResponse.cs +++ b/src/gen/src/Apideck/Model/GetResourceExampleResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetResourceSchemaResponse.cs b/src/gen/src/Apideck/Model/GetResourceSchemaResponse.cs index 29a5e0a5d9..3de4237278 100644 --- a/src/gen/src/Apideck/Model/GetResourceSchemaResponse.cs +++ b/src/gen/src/Apideck/Model/GetResourceSchemaResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetSharedLinkResponse.cs b/src/gen/src/Apideck/Model/GetSharedLinkResponse.cs index f318ec46e2..fa2a79d6e8 100644 --- a/src/gen/src/Apideck/Model/GetSharedLinkResponse.cs +++ b/src/gen/src/Apideck/Model/GetSharedLinkResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetSharedLinksResponse.cs b/src/gen/src/Apideck/Model/GetSharedLinksResponse.cs index 6d4bfc9cbd..2dec3feef2 100644 --- a/src/gen/src/Apideck/Model/GetSharedLinksResponse.cs +++ b/src/gen/src/Apideck/Model/GetSharedLinksResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetStoreResponse.cs b/src/gen/src/Apideck/Model/GetStoreResponse.cs index 0002eed838..b314144a0d 100644 --- a/src/gen/src/Apideck/Model/GetStoreResponse.cs +++ b/src/gen/src/Apideck/Model/GetStoreResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetStoresResponse.cs b/src/gen/src/Apideck/Model/GetStoresResponse.cs index 16fd77adc9..e42617d164 100644 --- a/src/gen/src/Apideck/Model/GetStoresResponse.cs +++ b/src/gen/src/Apideck/Model/GetStoresResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetSubsidiariesResponse.cs b/src/gen/src/Apideck/Model/GetSubsidiariesResponse.cs index 77c04d7391..f4a8d15e30 100644 --- a/src/gen/src/Apideck/Model/GetSubsidiariesResponse.cs +++ b/src/gen/src/Apideck/Model/GetSubsidiariesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetSubsidiaryResponse.cs b/src/gen/src/Apideck/Model/GetSubsidiaryResponse.cs index ae1ec00a69..3a39f513be 100644 --- a/src/gen/src/Apideck/Model/GetSubsidiaryResponse.cs +++ b/src/gen/src/Apideck/Model/GetSubsidiaryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetSupplierResponse.cs b/src/gen/src/Apideck/Model/GetSupplierResponse.cs index faeb5c20eb..6ff04b0b83 100644 --- a/src/gen/src/Apideck/Model/GetSupplierResponse.cs +++ b/src/gen/src/Apideck/Model/GetSupplierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetSuppliersResponse.cs b/src/gen/src/Apideck/Model/GetSuppliersResponse.cs index 66591748f0..c1096bf148 100644 --- a/src/gen/src/Apideck/Model/GetSuppliersResponse.cs +++ b/src/gen/src/Apideck/Model/GetSuppliersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTaxRateResponse.cs b/src/gen/src/Apideck/Model/GetTaxRateResponse.cs index a0c70ed6c8..0e4e25611c 100644 --- a/src/gen/src/Apideck/Model/GetTaxRateResponse.cs +++ b/src/gen/src/Apideck/Model/GetTaxRateResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTaxRatesResponse.cs b/src/gen/src/Apideck/Model/GetTaxRatesResponse.cs index b25c3e9b79..8d85331260 100644 --- a/src/gen/src/Apideck/Model/GetTaxRatesResponse.cs +++ b/src/gen/src/Apideck/Model/GetTaxRatesResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTenderResponse.cs b/src/gen/src/Apideck/Model/GetTenderResponse.cs index f357e52921..75cd8582c1 100644 --- a/src/gen/src/Apideck/Model/GetTenderResponse.cs +++ b/src/gen/src/Apideck/Model/GetTenderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTendersResponse.cs b/src/gen/src/Apideck/Model/GetTendersResponse.cs index ea93216183..2833ee7a20 100644 --- a/src/gen/src/Apideck/Model/GetTendersResponse.cs +++ b/src/gen/src/Apideck/Model/GetTendersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTicketResponse.cs b/src/gen/src/Apideck/Model/GetTicketResponse.cs index a98c136395..914daa0087 100644 --- a/src/gen/src/Apideck/Model/GetTicketResponse.cs +++ b/src/gen/src/Apideck/Model/GetTicketResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTicketsResponse.cs b/src/gen/src/Apideck/Model/GetTicketsResponse.cs index f151bf84c3..1801d68371 100644 --- a/src/gen/src/Apideck/Model/GetTicketsResponse.cs +++ b/src/gen/src/Apideck/Model/GetTicketsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTimeOffRequestResponse.cs b/src/gen/src/Apideck/Model/GetTimeOffRequestResponse.cs index 9801e39009..8bb36014d2 100644 --- a/src/gen/src/Apideck/Model/GetTimeOffRequestResponse.cs +++ b/src/gen/src/Apideck/Model/GetTimeOffRequestResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTimeOffRequestsResponse.cs b/src/gen/src/Apideck/Model/GetTimeOffRequestsResponse.cs index 41b3f61d20..d2babc6bff 100644 --- a/src/gen/src/Apideck/Model/GetTimeOffRequestsResponse.cs +++ b/src/gen/src/Apideck/Model/GetTimeOffRequestsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetTrackingCategoriesResponse.cs b/src/gen/src/Apideck/Model/GetTrackingCategoriesResponse.cs new file mode 100644 index 0000000000..d30195ef44 --- /dev/null +++ b/src/gen/src/Apideck/Model/GetTrackingCategoriesResponse.cs @@ -0,0 +1,281 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// GetTrackingCategoriesResponse + /// + [DataContract(Name = "GetTrackingCategoriesResponse")] + public partial class GetTrackingCategoriesResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GetTrackingCategoriesResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + /// meta. + /// links. + public GetTrackingCategoriesResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), List data = default(List), Meta meta = default(Meta), Links links = default(Links)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for GetTrackingCategoriesResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for GetTrackingCategoriesResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for GetTrackingCategoriesResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for GetTrackingCategoriesResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for GetTrackingCategoriesResponse and cannot be null"); + } + this.Data = data; + this.Meta = meta; + this.Links = links; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public List Data { get; set; } + + /// + /// Gets or Sets Meta + /// + [DataMember(Name = "meta", EmitDefaultValue = false)] + public Meta Meta { get; set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name = "links", EmitDefaultValue = false)] + public Links Links { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetTrackingCategoriesResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" Meta: ").Append(Meta).Append("\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetTrackingCategoriesResponse); + } + + /// + /// Returns true if GetTrackingCategoriesResponse instances are equal + /// + /// Instance of GetTrackingCategoriesResponse to be compared + /// Boolean + public bool Equals(GetTrackingCategoriesResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + this.Data != null && + input.Data != null && + this.Data.SequenceEqual(input.Data) + ) && + ( + this.Meta == input.Meta || + (this.Meta != null && + this.Meta.Equals(input.Meta)) + ) && + ( + this.Links == input.Links || + (this.Links != null && + this.Links.Equals(input.Links)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + if (this.Meta != null) + { + hashCode = (hashCode * 59) + this.Meta.GetHashCode(); + } + if (this.Links != null) + { + hashCode = (hashCode * 59) + this.Links.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/GetTrackingCategoryResponse.cs b/src/gen/src/Apideck/Model/GetTrackingCategoryResponse.cs new file mode 100644 index 0000000000..766591cf7d --- /dev/null +++ b/src/gen/src/Apideck/Model/GetTrackingCategoryResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// GetTrackingCategoryResponse + /// + [DataContract(Name = "GetTrackingCategoryResponse")] + public partial class GetTrackingCategoryResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GetTrackingCategoryResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public GetTrackingCategoryResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), TrackingCategory data = default(TrackingCategory)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for GetTrackingCategoryResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for GetTrackingCategoryResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for GetTrackingCategoryResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for GetTrackingCategoryResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for GetTrackingCategoryResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public TrackingCategory Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetTrackingCategoryResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetTrackingCategoryResponse); + } + + /// + /// Returns true if GetTrackingCategoryResponse instances are equal + /// + /// Instance of GetTrackingCategoryResponse to be compared + /// Boolean + public bool Equals(GetTrackingCategoryResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/GetUploadSessionResponse.cs b/src/gen/src/Apideck/Model/GetUploadSessionResponse.cs index 029d81d8e1..e50a4f318e 100644 --- a/src/gen/src/Apideck/Model/GetUploadSessionResponse.cs +++ b/src/gen/src/Apideck/Model/GetUploadSessionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetUserResponse.cs b/src/gen/src/Apideck/Model/GetUserResponse.cs index 752dd9668b..b4ba922ecc 100644 --- a/src/gen/src/Apideck/Model/GetUserResponse.cs +++ b/src/gen/src/Apideck/Model/GetUserResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetUsersResponse.cs b/src/gen/src/Apideck/Model/GetUsersResponse.cs index e7bdd0bcef..79435778c4 100644 --- a/src/gen/src/Apideck/Model/GetUsersResponse.cs +++ b/src/gen/src/Apideck/Model/GetUsersResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetWebhookEventLogsResponse.cs b/src/gen/src/Apideck/Model/GetWebhookEventLogsResponse.cs index 855800c165..81b4951ade 100644 --- a/src/gen/src/Apideck/Model/GetWebhookEventLogsResponse.cs +++ b/src/gen/src/Apideck/Model/GetWebhookEventLogsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetWebhookResponse.cs b/src/gen/src/Apideck/Model/GetWebhookResponse.cs index a25cf7ddfd..48c816d660 100644 --- a/src/gen/src/Apideck/Model/GetWebhookResponse.cs +++ b/src/gen/src/Apideck/Model/GetWebhookResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/GetWebhooksResponse.cs b/src/gen/src/Apideck/Model/GetWebhooksResponse.cs index b5827ee831..a632038dec 100644 --- a/src/gen/src/Apideck/Model/GetWebhooksResponse.cs +++ b/src/gen/src/Apideck/Model/GetWebhooksResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/HrisCompany.cs b/src/gen/src/Apideck/Model/HrisCompany.cs index 60fd726b9c..b67912af62 100644 --- a/src/gen/src/Apideck/Model/HrisCompany.cs +++ b/src/gen/src/Apideck/Model/HrisCompany.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/HrisEventType.cs b/src/gen/src/Apideck/Model/HrisEventType.cs index bfb8addd4b..a88b50696d 100644 --- a/src/gen/src/Apideck/Model/HrisEventType.cs +++ b/src/gen/src/Apideck/Model/HrisEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/HrisJob.cs b/src/gen/src/Apideck/Model/HrisJob.cs index 88a511f7a5..91d996cffc 100644 --- a/src/gen/src/Apideck/Model/HrisJob.cs +++ b/src/gen/src/Apideck/Model/HrisJob.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/HrisJobLocation.cs b/src/gen/src/Apideck/Model/HrisJobLocation.cs index 494c9bd71c..119a6aa7b0 100644 --- a/src/gen/src/Apideck/Model/HrisJobLocation.cs +++ b/src/gen/src/Apideck/Model/HrisJobLocation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/HrisJobs.cs b/src/gen/src/Apideck/Model/HrisJobs.cs index f4de66ab20..7c2475c2c6 100644 --- a/src/gen/src/Apideck/Model/HrisJobs.cs +++ b/src/gen/src/Apideck/Model/HrisJobs.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/IntegrationState.cs b/src/gen/src/Apideck/Model/IntegrationState.cs index 8c4c11a606..fb5069831c 100644 --- a/src/gen/src/Apideck/Model/IntegrationState.cs +++ b/src/gen/src/Apideck/Model/IntegrationState.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Invoice.cs b/src/gen/src/Apideck/Model/Invoice.cs index deb88eb519..6ced487e91 100644 --- a/src/gen/src/Apideck/Model/Invoice.cs +++ b/src/gen/src/Apideck/Model/Invoice.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -180,6 +180,7 @@ public enum StatusEnum /// Amount of deposit made to this invoice.. /// Customer memo. /// trackingCategory. + /// A list of linked tracking categories.. /// lineItems. /// billingAddress. /// shippingAddress. @@ -194,7 +195,7 @@ public enum StatusEnum /// customFields. /// 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.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public Invoice(TypeEnum? type = default(TypeEnum?), string number = default(string), LinkedCustomer customer = default(LinkedCustomer), string companyId = default(string), DateTime? invoiceDate = default(DateTime?), DateTime? dueDate = default(DateTime?), string terms = default(string), string poNumber = default(string), string reference = default(string), StatusEnum? status = default(StatusEnum?), bool invoiceSent = default(bool), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), bool? taxInclusive = default(bool?), decimal? subTotal = default(decimal?), decimal? totalTax = default(decimal?), string taxCode = default(string), decimal? discountPercentage = default(decimal?), decimal? discountAmount = default(decimal?), decimal? total = default(decimal?), decimal? balance = default(decimal?), decimal? deposit = default(decimal?), string customerMemo = default(string), LinkedTrackingCategory trackingCategory = default(LinkedTrackingCategory), List lineItems = default(List), Address billingAddress = default(Address), Address shippingAddress = default(Address), string templateId = default(string), string sourceDocumentUrl = default(string), string paymentMethod = default(string), string channel = default(string), string language = default(string), bool? accountingByRow = default(bool?), BankAccount bankAccount = default(BankAccount), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), List customFields = default(List), string rowVersion = default(string), List passThrough = default(List)) + public Invoice(TypeEnum? type = default(TypeEnum?), string number = default(string), LinkedCustomer customer = default(LinkedCustomer), string companyId = default(string), DateTime? invoiceDate = default(DateTime?), DateTime? dueDate = default(DateTime?), string terms = default(string), string poNumber = default(string), string reference = default(string), StatusEnum? status = default(StatusEnum?), bool invoiceSent = default(bool), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), bool? taxInclusive = default(bool?), decimal? subTotal = default(decimal?), decimal? totalTax = default(decimal?), string taxCode = default(string), decimal? discountPercentage = default(decimal?), decimal? discountAmount = default(decimal?), decimal? total = default(decimal?), decimal? balance = default(decimal?), decimal? deposit = default(decimal?), string customerMemo = default(string), DeprecatedLinkedTrackingCategory trackingCategory = default(DeprecatedLinkedTrackingCategory), List trackingCategories = default(List), List lineItems = default(List), Address billingAddress = default(Address), Address shippingAddress = default(Address), string templateId = default(string), string sourceDocumentUrl = default(string), string paymentMethod = default(string), string channel = default(string), string language = default(string), bool? accountingByRow = default(bool?), BankAccount bankAccount = default(BankAccount), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), List customFields = default(List), string rowVersion = default(string), List passThrough = default(List)) { this.Type = type; this.Number = number; @@ -220,6 +221,7 @@ public enum StatusEnum this.Deposit = deposit; this.CustomerMemo = customerMemo; this.TrackingCategory = trackingCategory; + this.TrackingCategories = trackingCategories; this.LineItems = lineItems; this.BillingAddress = billingAddress; this.ShippingAddress = shippingAddress; @@ -411,7 +413,15 @@ public bool ShouldSerializeDownstreamId() /// Gets or Sets TrackingCategory /// [DataMember(Name = "tracking_category", EmitDefaultValue = true)] - public LinkedTrackingCategory TrackingCategory { get; set; } + [Obsolete] + public DeprecatedLinkedTrackingCategory TrackingCategory { get; set; } + + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } /// /// Gets or Sets LineItems @@ -614,6 +624,7 @@ public override string ToString() sb.Append(" Deposit: ").Append(Deposit).Append("\n"); sb.Append(" CustomerMemo: ").Append(CustomerMemo).Append("\n"); sb.Append(" TrackingCategory: ").Append(TrackingCategory).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" LineItems: ").Append(LineItems).Append("\n"); sb.Append(" BillingAddress: ").Append(BillingAddress).Append("\n"); sb.Append(" ShippingAddress: ").Append(ShippingAddress).Append("\n"); @@ -794,6 +805,12 @@ public bool Equals(Invoice input) (this.TrackingCategory != null && this.TrackingCategory.Equals(input.TrackingCategory)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.LineItems == input.LineItems || this.LineItems != null && @@ -995,6 +1012,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.TrackingCategory.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.LineItems != null) { hashCode = (hashCode * 59) + this.LineItems.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/InvoiceItem.cs b/src/gen/src/Apideck/Model/InvoiceItem.cs index 08137d8bf6..56cc612575 100644 --- a/src/gen/src/Apideck/Model/InvoiceItem.cs +++ b/src/gen/src/Apideck/Model/InvoiceItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -85,10 +85,11 @@ public enum TypeEnum /// incomeAccount. /// expenseAccount. /// trackingCategory. + /// A list of linked tracking categories.. /// active. /// 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.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public InvoiceItem(string name = default(string), string description = default(string), string code = default(string), bool? sold = default(bool?), bool? purchased = default(bool?), bool? tracked = default(bool?), bool? taxable = default(bool?), DateTime? inventoryDate = default(DateTime?), TypeEnum? type = default(TypeEnum?), InvoiceItemSalesDetails salesDetails = default(InvoiceItemSalesDetails), InvoiceItemSalesDetails purchaseDetails = default(InvoiceItemSalesDetails), decimal? quantity = default(decimal?), decimal? unitPrice = default(decimal?), LinkedLedgerAccount assetAccount = default(LinkedLedgerAccount), LinkedLedgerAccount incomeAccount = default(LinkedLedgerAccount), LinkedLedgerAccount expenseAccount = default(LinkedLedgerAccount), LinkedTrackingCategory trackingCategory = default(LinkedTrackingCategory), bool? active = default(bool?), string rowVersion = default(string), List passThrough = default(List)) + public InvoiceItem(string name = default(string), string description = default(string), string code = default(string), bool? sold = default(bool?), bool? purchased = default(bool?), bool? tracked = default(bool?), bool? taxable = default(bool?), DateTime? inventoryDate = default(DateTime?), TypeEnum? type = default(TypeEnum?), InvoiceItemSalesDetails salesDetails = default(InvoiceItemSalesDetails), InvoiceItemSalesDetails purchaseDetails = default(InvoiceItemSalesDetails), decimal? quantity = default(decimal?), decimal? unitPrice = default(decimal?), LinkedLedgerAccount assetAccount = default(LinkedLedgerAccount), LinkedLedgerAccount incomeAccount = default(LinkedLedgerAccount), LinkedLedgerAccount expenseAccount = default(LinkedLedgerAccount), DeprecatedLinkedTrackingCategory trackingCategory = default(DeprecatedLinkedTrackingCategory), List trackingCategories = default(List), bool? active = default(bool?), string rowVersion = default(string), List passThrough = default(List)) { this.Name = name; this.Description = description; @@ -107,6 +108,7 @@ public enum TypeEnum this.IncomeAccount = incomeAccount; this.ExpenseAccount = expenseAccount; this.TrackingCategory = trackingCategory; + this.TrackingCategories = trackingCategories; this.Active = active; this.RowVersion = rowVersion; this.PassThrough = passThrough; @@ -230,7 +232,15 @@ public bool ShouldSerializeId() /// Gets or Sets TrackingCategory /// [DataMember(Name = "tracking_category", EmitDefaultValue = true)] - public LinkedTrackingCategory TrackingCategory { get; set; } + [Obsolete] + public DeprecatedLinkedTrackingCategory TrackingCategory { get; set; } + + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } /// /// Gets or Sets Active @@ -353,6 +363,7 @@ public override string ToString() sb.Append(" IncomeAccount: ").Append(IncomeAccount).Append("\n"); sb.Append(" ExpenseAccount: ").Append(ExpenseAccount).Append("\n"); sb.Append(" TrackingCategory: ").Append(TrackingCategory).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" Active: ").Append(Active).Append("\n"); sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); @@ -485,6 +496,12 @@ public bool Equals(InvoiceItem input) (this.TrackingCategory != null && this.TrackingCategory.Equals(input.TrackingCategory)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.Active == input.Active || (this.Active != null && @@ -606,6 +623,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.TrackingCategory.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.Active != null) { hashCode = (hashCode * 59) + this.Active.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/InvoiceItemSalesDetails.cs b/src/gen/src/Apideck/Model/InvoiceItemSalesDetails.cs index 225fe32064..2cd316e634 100644 --- a/src/gen/src/Apideck/Model/InvoiceItemSalesDetails.cs +++ b/src/gen/src/Apideck/Model/InvoiceItemSalesDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/InvoiceItemsFilter.cs b/src/gen/src/Apideck/Model/InvoiceItemsFilter.cs index bbb0670c9a..b1b77cc34b 100644 --- a/src/gen/src/Apideck/Model/InvoiceItemsFilter.cs +++ b/src/gen/src/Apideck/Model/InvoiceItemsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/InvoiceLineItem.cs b/src/gen/src/Apideck/Model/InvoiceLineItem.cs index 66e1a5b795..52118822be 100644 --- a/src/gen/src/Apideck/Model/InvoiceLineItem.cs +++ b/src/gen/src/Apideck/Model/InvoiceLineItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -83,7 +83,7 @@ public enum TypeEnum /// A unique identifier for an object.. /// Row ID. /// User defined item code. - /// Line number in the invoice. + /// Line number of the resource. /// User defined description. /// Item type. /// Tax amount. @@ -97,10 +97,11 @@ public enum TypeEnum /// Department id. /// item. /// taxRate. + /// A list of linked tracking categories.. /// ledgerAccount. /// customFields. /// 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.. - public InvoiceLineItem(string id = default(string), string rowId = default(string), string code = default(string), int? lineNumber = default(int?), string description = default(string), TypeEnum? type = default(TypeEnum?), decimal? taxAmount = default(decimal?), decimal? totalAmount = default(decimal?), decimal? quantity = default(decimal?), decimal? unitPrice = default(decimal?), string unitOfMeasure = default(string), decimal? discountPercentage = default(decimal?), decimal? discountAmount = default(decimal?), string locationId = default(string), string departmentId = default(string), LinkedInvoiceItem item = default(LinkedInvoiceItem), LinkedTaxRate taxRate = default(LinkedTaxRate), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), List customFields = default(List), string rowVersion = default(string)) + public InvoiceLineItem(string id = default(string), string rowId = default(string), string code = default(string), int? lineNumber = default(int?), string description = default(string), TypeEnum? type = default(TypeEnum?), decimal? taxAmount = default(decimal?), decimal? totalAmount = default(decimal?), decimal? quantity = default(decimal?), decimal? unitPrice = default(decimal?), string unitOfMeasure = default(string), decimal? discountPercentage = default(decimal?), decimal? discountAmount = default(decimal?), string locationId = default(string), string departmentId = default(string), LinkedInvoiceItem item = default(LinkedInvoiceItem), LinkedTaxRate taxRate = default(LinkedTaxRate), List trackingCategories = default(List), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), List customFields = default(List), string rowVersion = default(string)) { this.Id = id; this.RowId = rowId; @@ -119,6 +120,7 @@ public enum TypeEnum this.DepartmentId = departmentId; this.Item = item; this.TaxRate = taxRate; + this.TrackingCategories = trackingCategories; this.LedgerAccount = ledgerAccount; this.CustomFields = customFields; this.RowVersion = rowVersion; @@ -146,9 +148,9 @@ public enum TypeEnum public string Code { get; set; } /// - /// Line number in the invoice + /// Line number of the resource /// - /// Line number in the invoice + /// Line number of the resource [DataMember(Name = "line_number", EmitDefaultValue = true)] public int? LineNumber { get; set; } @@ -232,6 +234,13 @@ public enum TypeEnum [DataMember(Name = "tax_rate", EmitDefaultValue = false)] public LinkedTaxRate TaxRate { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + /// /// Gets or Sets LedgerAccount /// @@ -336,6 +345,7 @@ public override string ToString() sb.Append(" DepartmentId: ").Append(DepartmentId).Append("\n"); sb.Append(" Item: ").Append(Item).Append("\n"); sb.Append(" TaxRate: ").Append(TaxRate).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" LedgerAccount: ").Append(LedgerAccount).Append("\n"); sb.Append(" CustomFields: ").Append(CustomFields).Append("\n"); sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); @@ -462,6 +472,12 @@ public bool Equals(InvoiceLineItem input) (this.TaxRate != null && this.TaxRate.Equals(input.TaxRate)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.LedgerAccount == input.LedgerAccount || (this.LedgerAccount != null && @@ -574,6 +590,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.TaxRate.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.LedgerAccount != null) { hashCode = (hashCode * 59) + this.LedgerAccount.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/InvoiceResponse.cs b/src/gen/src/Apideck/Model/InvoiceResponse.cs index 798a306811..c1396bddf6 100644 --- a/src/gen/src/Apideck/Model/InvoiceResponse.cs +++ b/src/gen/src/Apideck/Model/InvoiceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/InvoicesFilter.cs b/src/gen/src/Apideck/Model/InvoicesFilter.cs index 3ae28821e7..a3349e46b8 100644 --- a/src/gen/src/Apideck/Model/InvoicesFilter.cs +++ b/src/gen/src/Apideck/Model/InvoicesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -36,10 +36,12 @@ public partial class InvoicesFilter : IEquatable, IValidatableOb /// /// updatedSince. /// createdSince. - public InvoicesFilter(DateTime updatedSince = default(DateTime), DateTime createdSince = default(DateTime)) + /// Invoice number to search for. + public InvoicesFilter(DateTime updatedSince = default(DateTime), DateTime createdSince = default(DateTime), string number = default(string)) { this.UpdatedSince = updatedSince; this.CreatedSince = createdSince; + this.Number = number; } /// @@ -54,6 +56,13 @@ public partial class InvoicesFilter : IEquatable, IValidatableOb [DataMember(Name = "created_since", EmitDefaultValue = false)] public DateTime CreatedSince { get; set; } + /// + /// Invoice number to search for + /// + /// Invoice number to search for + [DataMember(Name = "number", EmitDefaultValue = false)] + public string Number { get; set; } + /// /// Returns the string presentation of the object /// @@ -64,6 +73,7 @@ public override string ToString() sb.Append("class InvoicesFilter {\n"); sb.Append(" UpdatedSince: ").Append(UpdatedSince).Append("\n"); sb.Append(" CreatedSince: ").Append(CreatedSince).Append("\n"); + sb.Append(" Number: ").Append(Number).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -108,6 +118,11 @@ public bool Equals(InvoicesFilter input) this.CreatedSince == input.CreatedSince || (this.CreatedSince != null && this.CreatedSince.Equals(input.CreatedSince)) + ) && + ( + this.Number == input.Number || + (this.Number != null && + this.Number.Equals(input.Number)) ); } @@ -128,6 +143,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.CreatedSince.GetHashCode(); } + if (this.Number != null) + { + hashCode = (hashCode * 59) + this.Number.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/InvoicesSort.cs b/src/gen/src/Apideck/Model/InvoicesSort.cs index 35a65f60a7..d1eb73a1bb 100644 --- a/src/gen/src/Apideck/Model/InvoicesSort.cs +++ b/src/gen/src/Apideck/Model/InvoicesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/IssueTrackingEventType.cs b/src/gen/src/Apideck/Model/IssueTrackingEventType.cs index 4724f843d6..8766143e11 100644 --- a/src/gen/src/Apideck/Model/IssueTrackingEventType.cs +++ b/src/gen/src/Apideck/Model/IssueTrackingEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/IssuesFilter.cs b/src/gen/src/Apideck/Model/IssuesFilter.cs index 09f75fc2d5..2fde37fc65 100644 --- a/src/gen/src/Apideck/Model/IssuesFilter.cs +++ b/src/gen/src/Apideck/Model/IssuesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Item.cs b/src/gen/src/Apideck/Model/Item.cs index 4e345b225f..a8481b51cc 100644 --- a/src/gen/src/Apideck/Model/Item.cs +++ b/src/gen/src/Apideck/Model/Item.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Job.cs b/src/gen/src/Apideck/Model/Job.cs index 3f67c3aa3f..ea998233d3 100644 --- a/src/gen/src/Apideck/Model/Job.cs +++ b/src/gen/src/Apideck/Model/Job.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/JobLinks.cs b/src/gen/src/Apideck/Model/JobLinks.cs index 0642020fda..f84dd085c7 100644 --- a/src/gen/src/Apideck/Model/JobLinks.cs +++ b/src/gen/src/Apideck/Model/JobLinks.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/JobSalary.cs b/src/gen/src/Apideck/Model/JobSalary.cs index 966785b090..322dd06715 100644 --- a/src/gen/src/Apideck/Model/JobSalary.cs +++ b/src/gen/src/Apideck/Model/JobSalary.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/JobStatus.cs b/src/gen/src/Apideck/Model/JobStatus.cs index f53fea1cf3..e7c4cddb90 100644 --- a/src/gen/src/Apideck/Model/JobStatus.cs +++ b/src/gen/src/Apideck/Model/JobStatus.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/JournalEntriesFilter.cs b/src/gen/src/Apideck/Model/JournalEntriesFilter.cs index 88b43977d0..636a3b8e97 100644 --- a/src/gen/src/Apideck/Model/JournalEntriesFilter.cs +++ b/src/gen/src/Apideck/Model/JournalEntriesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/JournalEntriesSort.cs b/src/gen/src/Apideck/Model/JournalEntriesSort.cs index 00950b3eb8..5a8e307678 100644 --- a/src/gen/src/Apideck/Model/JournalEntriesSort.cs +++ b/src/gen/src/Apideck/Model/JournalEntriesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/JournalEntry.cs b/src/gen/src/Apideck/Model/JournalEntry.cs index da7ecdc55d..853f488620 100644 --- a/src/gen/src/Apideck/Model/JournalEntry.cs +++ b/src/gen/src/Apideck/Model/JournalEntry.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,9 +51,11 @@ public partial class JournalEntry : IEquatable, IValidatableObject /// The specific category of tax associated with a transaction like sales or purchase. /// Applicable tax id/code override if tax is not supplied on a line item basis.. /// Journal entry number.. + /// A list of linked tracking categories.. + /// Accounting period. /// 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.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public JournalEntry(string title = default(string), decimal? currencyRate = default(decimal?), Currency? currency = default(Currency?), string companyId = default(string), List lineItems = default(List), string memo = default(string), DateTime postedAt = default(DateTime), string journalSymbol = default(string), string taxType = default(string), string taxCode = default(string), string number = default(string), string rowVersion = default(string), List passThrough = default(List)) + public JournalEntry(string title = default(string), decimal? currencyRate = default(decimal?), Currency? currency = default(Currency?), string companyId = default(string), List lineItems = default(List), string memo = default(string), DateTime postedAt = default(DateTime), string journalSymbol = default(string), string taxType = default(string), string taxCode = default(string), string number = default(string), List trackingCategories = default(List), string accountingPeriod = default(string), string rowVersion = default(string), List passThrough = default(List)) { this.Title = title; this.CurrencyRate = currencyRate; @@ -66,6 +68,8 @@ public partial class JournalEntry : IEquatable, IValidatableObject this.TaxType = taxType; this.TaxCode = taxCode; this.Number = number; + this.TrackingCategories = trackingCategories; + this.AccountingPeriod = accountingPeriod; this.RowVersion = rowVersion; this.PassThrough = passThrough; } @@ -155,6 +159,20 @@ public bool ShouldSerializeId() [DataMember(Name = "number", EmitDefaultValue = true)] public string Number { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + + /// + /// Accounting period + /// + /// Accounting period + [DataMember(Name = "accounting_period", EmitDefaultValue = true)] + public string AccountingPeriod { get; set; } + /// /// When custom mappings are configured on the resource, the result is included here. /// @@ -264,6 +282,8 @@ public override string ToString() sb.Append(" TaxType: ").Append(TaxType).Append("\n"); sb.Append(" TaxCode: ").Append(TaxCode).Append("\n"); sb.Append(" Number: ").Append(Number).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); + sb.Append(" AccountingPeriod: ").Append(AccountingPeriod).Append("\n"); sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); @@ -366,6 +386,17 @@ public bool Equals(JournalEntry input) (this.Number != null && this.Number.Equals(input.Number)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && + ( + this.AccountingPeriod == input.AccountingPeriod || + (this.AccountingPeriod != null && + this.AccountingPeriod.Equals(input.AccountingPeriod)) + ) && ( this.CustomMappings == input.CustomMappings || (this.CustomMappings != null && @@ -458,6 +489,14 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Number.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } + if (this.AccountingPeriod != null) + { + hashCode = (hashCode * 59) + this.AccountingPeriod.GetHashCode(); + } if (this.CustomMappings != null) { hashCode = (hashCode * 59) + this.CustomMappings.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/JournalEntryLineItem.cs b/src/gen/src/Apideck/Model/JournalEntryLineItem.cs index 8c3d73b875..3e78058e29 100644 --- a/src/gen/src/Apideck/Model/JournalEntryLineItem.cs +++ b/src/gen/src/Apideck/Model/JournalEntryLineItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -74,10 +74,12 @@ protected JournalEntryLineItem() { } /// Debit entries are considered positive, and credit entries are considered negative. (required). /// taxRate. /// trackingCategory. + /// A list of linked tracking categories.. /// ledgerAccount (required). /// customer. /// supplier. - public JournalEntryLineItem(string description = default(string), decimal? taxAmount = default(decimal?), decimal? subTotal = default(decimal?), decimal? totalAmount = default(decimal?), TypeEnum type = default(TypeEnum), LinkedTaxRate taxRate = default(LinkedTaxRate), LinkedTrackingCategory trackingCategory = default(LinkedTrackingCategory), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), LinkedCustomer customer = default(LinkedCustomer), LinkedSupplier supplier = default(LinkedSupplier)) + /// Line number of the resource. + public JournalEntryLineItem(string description = default(string), decimal? taxAmount = default(decimal?), decimal? subTotal = default(decimal?), decimal? totalAmount = default(decimal?), TypeEnum type = default(TypeEnum), LinkedTaxRate taxRate = default(LinkedTaxRate), DeprecatedLinkedTrackingCategory trackingCategory = default(DeprecatedLinkedTrackingCategory), List trackingCategories = default(List), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), LinkedCustomer customer = default(LinkedCustomer), LinkedSupplier supplier = default(LinkedSupplier), int? lineNumber = default(int?)) { this.Type = type; // to ensure "ledgerAccount" is required (not null) @@ -91,8 +93,10 @@ protected JournalEntryLineItem() { } this.TotalAmount = totalAmount; this.TaxRate = taxRate; this.TrackingCategory = trackingCategory; + this.TrackingCategories = trackingCategories; this.Customer = customer; this.Supplier = supplier; + this.LineNumber = lineNumber; } /// @@ -148,7 +152,15 @@ public bool ShouldSerializeId() /// Gets or Sets TrackingCategory /// [DataMember(Name = "tracking_category", EmitDefaultValue = true)] - public LinkedTrackingCategory TrackingCategory { get; set; } + [Obsolete] + public DeprecatedLinkedTrackingCategory TrackingCategory { get; set; } + + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } /// /// Gets or Sets LedgerAccount @@ -198,6 +210,13 @@ public bool ShouldSerializeLocationId() { return false; } + /// + /// Line number of the resource + /// + /// Line number of the resource + [DataMember(Name = "line_number", EmitDefaultValue = true)] + public int? LineNumber { get; set; } + /// /// Returns the string presentation of the object /// @@ -214,11 +233,13 @@ public override string ToString() sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" TaxRate: ").Append(TaxRate).Append("\n"); sb.Append(" TrackingCategory: ").Append(TrackingCategory).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" LedgerAccount: ").Append(LedgerAccount).Append("\n"); sb.Append(" Customer: ").Append(Customer).Append("\n"); sb.Append(" Supplier: ").Append(Supplier).Append("\n"); sb.Append(" DepartmentId: ").Append(DepartmentId).Append("\n"); sb.Append(" LocationId: ").Append(LocationId).Append("\n"); + sb.Append(" LineNumber: ").Append(LineNumber).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -293,6 +314,12 @@ public bool Equals(JournalEntryLineItem input) (this.TrackingCategory != null && this.TrackingCategory.Equals(input.TrackingCategory)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.LedgerAccount == input.LedgerAccount || (this.LedgerAccount != null && @@ -317,6 +344,11 @@ public bool Equals(JournalEntryLineItem input) this.LocationId == input.LocationId || (this.LocationId != null && this.LocationId.Equals(input.LocationId)) + ) && + ( + this.LineNumber == input.LineNumber || + (this.LineNumber != null && + this.LineNumber.Equals(input.LineNumber)) ); } @@ -358,6 +390,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.TrackingCategory.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.LedgerAccount != null) { hashCode = (hashCode * 59) + this.LedgerAccount.GetHashCode(); @@ -378,6 +414,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.LocationId.GetHashCode(); } + if (this.LineNumber != null) + { + hashCode = (hashCode * 59) + this.LineNumber.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/Lead.cs b/src/gen/src/Apideck/Model/Lead.cs index 34648b2210..20d0406a09 100644 --- a/src/gen/src/Apideck/Model/Lead.cs +++ b/src/gen/src/Apideck/Model/Lead.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -48,6 +48,7 @@ protected Lead() { } /// Full name of the lead. (required). /// The name of the company the lead is associated with. (required). /// The owner of the lead.. + /// The name of the owner of the lead.. /// The company the lead is associated with.. /// The identifier of the lead.. /// The source of the lead.. @@ -69,7 +70,7 @@ protected Lead() { } /// customFields. /// tags. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public Lead(string name = default(string), string companyName = default(string), string ownerId = default(string), string companyId = default(string), string leadId = default(string), string leadSource = default(string), string firstName = default(string), string lastName = default(string), string description = default(string), string prefix = default(string), string title = default(string), string language = default(string), string status = default(string), decimal? monetaryAmount = default(decimal?), Currency? currency = default(Currency?), string fax = default(string), List websites = default(List), List
addresses = default(List
), List socialLinks = default(List), List phoneNumbers = default(List), List emails = default(List), List customFields = default(List), List tags = default(List), List passThrough = default(List)) + public Lead(string name = default(string), string companyName = default(string), string ownerId = default(string), string ownerName = default(string), string companyId = default(string), string leadId = default(string), string leadSource = default(string), string firstName = default(string), string lastName = default(string), string description = default(string), string prefix = default(string), string title = default(string), string language = default(string), string status = default(string), decimal? monetaryAmount = default(decimal?), Currency? currency = default(Currency?), string fax = default(string), List websites = default(List), List
addresses = default(List
), List socialLinks = default(List), List phoneNumbers = default(List), List emails = default(List), List customFields = default(List), List tags = default(List), List passThrough = default(List)) { // to ensure "name" is required (not null) if (name == null) { @@ -82,6 +83,7 @@ protected Lead() { } } this.CompanyName = companyName; this.OwnerId = ownerId; + this.OwnerName = ownerName; this.CompanyId = companyId; this.LeadId = leadId; this.LeadSource = leadSource; @@ -141,6 +143,13 @@ public bool ShouldSerializeId() [DataMember(Name = "owner_id", EmitDefaultValue = true)] public string OwnerId { get; set; } + /// + /// The name of the owner of the lead. + /// + /// The name of the owner of the lead. + [DataMember(Name = "owner_name", EmitDefaultValue = true)] + public string OwnerName { get; set; } + /// /// The company the lead is associated with. /// @@ -330,6 +339,7 @@ public override string ToString() sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" CompanyName: ").Append(CompanyName).Append("\n"); sb.Append(" OwnerId: ").Append(OwnerId).Append("\n"); + sb.Append(" OwnerName: ").Append(OwnerName).Append("\n"); sb.Append(" CompanyId: ").Append(CompanyId).Append("\n"); sb.Append(" LeadId: ").Append(LeadId).Append("\n"); sb.Append(" LeadSource: ").Append(LeadSource).Append("\n"); @@ -409,6 +419,11 @@ public bool Equals(Lead input) (this.OwnerId != null && this.OwnerId.Equals(input.OwnerId)) ) && + ( + this.OwnerName == input.OwnerName || + (this.OwnerName != null && + this.OwnerName.Equals(input.OwnerName)) + ) && ( this.CompanyId == input.CompanyId || (this.CompanyId != null && @@ -563,6 +578,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.OwnerId.GetHashCode(); } + if (this.OwnerName != null) + { + hashCode = (hashCode * 59) + this.OwnerName.GetHashCode(); + } if (this.CompanyId != null) { hashCode = (hashCode * 59) + this.CompanyId.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/LeadEventType.cs b/src/gen/src/Apideck/Model/LeadEventType.cs index b4913f224f..11f0ac03d1 100644 --- a/src/gen/src/Apideck/Model/LeadEventType.cs +++ b/src/gen/src/Apideck/Model/LeadEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LeadsFilter.cs b/src/gen/src/Apideck/Model/LeadsFilter.cs index 490e5fb2bd..a6a10a9e39 100644 --- a/src/gen/src/Apideck/Model/LeadsFilter.cs +++ b/src/gen/src/Apideck/Model/LeadsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -38,12 +38,14 @@ public partial class LeadsFilter : IEquatable, IValidatableObject /// First name of the lead to filter on. /// Last name of the lead to filter on. /// E-mail of the lead to filter on. - public LeadsFilter(string name = default(string), string firstName = default(string), string lastName = default(string), string email = default(string)) + /// Phone number of the lead to filter on. + public LeadsFilter(string name = default(string), string firstName = default(string), string lastName = default(string), string email = default(string), string phoneNumber = default(string)) { this.Name = name; this.FirstName = firstName; this.LastName = lastName; this.Email = email; + this.PhoneNumber = phoneNumber; } /// @@ -74,6 +76,13 @@ public partial class LeadsFilter : IEquatable, IValidatableObject [DataMember(Name = "email", EmitDefaultValue = false)] public string Email { get; set; } + /// + /// Phone number of the lead to filter on + /// + /// Phone number of the lead to filter on + [DataMember(Name = "phone_number", EmitDefaultValue = false)] + public string PhoneNumber { get; set; } + /// /// Returns the string presentation of the object /// @@ -86,6 +95,7 @@ public override string ToString() sb.Append(" FirstName: ").Append(FirstName).Append("\n"); sb.Append(" LastName: ").Append(LastName).Append("\n"); sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -140,6 +150,11 @@ public bool Equals(LeadsFilter input) this.Email == input.Email || (this.Email != null && this.Email.Equals(input.Email)) + ) && + ( + this.PhoneNumber == input.PhoneNumber || + (this.PhoneNumber != null && + this.PhoneNumber.Equals(input.PhoneNumber)) ); } @@ -168,6 +183,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Email.GetHashCode(); } + if (this.PhoneNumber != null) + { + hashCode = (hashCode * 59) + this.PhoneNumber.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/LeadsSort.cs b/src/gen/src/Apideck/Model/LeadsSort.cs index baf7d3f186..d3151e5168 100644 --- a/src/gen/src/Apideck/Model/LeadsSort.cs +++ b/src/gen/src/Apideck/Model/LeadsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LedgerAccount.cs b/src/gen/src/Apideck/Model/LedgerAccount.cs index 3d813ebd88..e760cba14b 100644 --- a/src/gen/src/Apideck/Model/LedgerAccount.cs +++ b/src/gen/src/Apideck/Model/LedgerAccount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -90,7 +90,13 @@ public enum ClassificationEnum /// Enum CostsOfSales for value: costs_of_sales /// [EnumMember(Value = "costs_of_sales")] - CostsOfSales = 9 + CostsOfSales = 9, + + /// + /// Enum Other for value: other + /// + [EnumMember(Value = "other")] + Other = 10 } diff --git a/src/gen/src/Apideck/Model/LedgerAccountCategories.cs b/src/gen/src/Apideck/Model/LedgerAccountCategories.cs index 7ec757be1a..cc1c2c007f 100644 --- a/src/gen/src/Apideck/Model/LedgerAccountCategories.cs +++ b/src/gen/src/Apideck/Model/LedgerAccountCategories.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LedgerAccountParentAccount.cs b/src/gen/src/Apideck/Model/LedgerAccountParentAccount.cs index 66f6ca648a..db28cec233 100644 --- a/src/gen/src/Apideck/Model/LedgerAccountParentAccount.cs +++ b/src/gen/src/Apideck/Model/LedgerAccountParentAccount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LedgerAccountsFilter.cs b/src/gen/src/Apideck/Model/LedgerAccountsFilter.cs index d307152830..d18b58d97f 100644 --- a/src/gen/src/Apideck/Model/LedgerAccountsFilter.cs +++ b/src/gen/src/Apideck/Model/LedgerAccountsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LedgerAccountsSort.cs b/src/gen/src/Apideck/Model/LedgerAccountsSort.cs index f45f076faf..b16dd2d27c 100644 --- a/src/gen/src/Apideck/Model/LedgerAccountsSort.cs +++ b/src/gen/src/Apideck/Model/LedgerAccountsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedConnectorResource.cs b/src/gen/src/Apideck/Model/LinkedConnectorResource.cs index 2a101ec5a8..333b72e91c 100644 --- a/src/gen/src/Apideck/Model/LinkedConnectorResource.cs +++ b/src/gen/src/Apideck/Model/LinkedConnectorResource.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedCustomer.cs b/src/gen/src/Apideck/Model/LinkedCustomer.cs index a8c15394d9..51ba5055fe 100644 --- a/src/gen/src/Apideck/Model/LinkedCustomer.cs +++ b/src/gen/src/Apideck/Model/LinkedCustomer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedEcommerceCustomer.cs b/src/gen/src/Apideck/Model/LinkedEcommerceCustomer.cs index c98a9dd982..6ee24259dc 100644 --- a/src/gen/src/Apideck/Model/LinkedEcommerceCustomer.cs +++ b/src/gen/src/Apideck/Model/LinkedEcommerceCustomer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedEcommerceOrder.cs b/src/gen/src/Apideck/Model/LinkedEcommerceOrder.cs index 1e46764bc2..8bbb704f3b 100644 --- a/src/gen/src/Apideck/Model/LinkedEcommerceOrder.cs +++ b/src/gen/src/Apideck/Model/LinkedEcommerceOrder.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedFolder.cs b/src/gen/src/Apideck/Model/LinkedFolder.cs index 64d5d3d0d1..99e7061c3b 100644 --- a/src/gen/src/Apideck/Model/LinkedFolder.cs +++ b/src/gen/src/Apideck/Model/LinkedFolder.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedInvoiceItem.cs b/src/gen/src/Apideck/Model/LinkedInvoiceItem.cs index 3e8619963f..411f436411 100644 --- a/src/gen/src/Apideck/Model/LinkedInvoiceItem.cs +++ b/src/gen/src/Apideck/Model/LinkedInvoiceItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedLedgerAccount.cs b/src/gen/src/Apideck/Model/LinkedLedgerAccount.cs index 5d87a7b595..891f34ea49 100644 --- a/src/gen/src/Apideck/Model/LinkedLedgerAccount.cs +++ b/src/gen/src/Apideck/Model/LinkedLedgerAccount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedParentCustomer.cs b/src/gen/src/Apideck/Model/LinkedParentCustomer.cs index 2b4c175a90..e6f32d2de7 100644 --- a/src/gen/src/Apideck/Model/LinkedParentCustomer.cs +++ b/src/gen/src/Apideck/Model/LinkedParentCustomer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedSupplier.cs b/src/gen/src/Apideck/Model/LinkedSupplier.cs index fe320bdff6..0f657157b9 100644 --- a/src/gen/src/Apideck/Model/LinkedSupplier.cs +++ b/src/gen/src/Apideck/Model/LinkedSupplier.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedTaxRate.cs b/src/gen/src/Apideck/Model/LinkedTaxRate.cs index f81762221d..fcbc664cfb 100644 --- a/src/gen/src/Apideck/Model/LinkedTaxRate.cs +++ b/src/gen/src/Apideck/Model/LinkedTaxRate.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LinkedTrackingCategory.cs b/src/gen/src/Apideck/Model/LinkedTrackingCategory.cs index e12b11ab75..532f45ceb1 100644 --- a/src/gen/src/Apideck/Model/LinkedTrackingCategory.cs +++ b/src/gen/src/Apideck/Model/LinkedTrackingCategory.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Links.cs b/src/gen/src/Apideck/Model/Links.cs index 8d1dc33b4a..cd2d0f837f 100644 --- a/src/gen/src/Apideck/Model/Links.cs +++ b/src/gen/src/Apideck/Model/Links.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Location.cs b/src/gen/src/Apideck/Model/Location.cs index b9f869d59b..5c91c92657 100644 --- a/src/gen/src/Apideck/Model/Location.cs +++ b/src/gen/src/Apideck/Model/Location.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Log.cs b/src/gen/src/Apideck/Model/Log.cs index ce1a276c41..0c7a11b5f8 100644 --- a/src/gen/src/Apideck/Model/Log.cs +++ b/src/gen/src/Apideck/Model/Log.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LogOperation.cs b/src/gen/src/Apideck/Model/LogOperation.cs index 345e6cc5af..7b0d0e36d5 100644 --- a/src/gen/src/Apideck/Model/LogOperation.cs +++ b/src/gen/src/Apideck/Model/LogOperation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LogService.cs b/src/gen/src/Apideck/Model/LogService.cs index 844bf9719e..24622f4d75 100644 --- a/src/gen/src/Apideck/Model/LogService.cs +++ b/src/gen/src/Apideck/Model/LogService.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/LogsFilter.cs b/src/gen/src/Apideck/Model/LogsFilter.cs index 27afc26671..31571f6b82 100644 --- a/src/gen/src/Apideck/Model/LogsFilter.cs +++ b/src/gen/src/Apideck/Model/LogsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Merchant.cs b/src/gen/src/Apideck/Model/Merchant.cs index 880914c980..ceb622ee36 100644 --- a/src/gen/src/Apideck/Model/Merchant.cs +++ b/src/gen/src/Apideck/Model/Merchant.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Message.cs b/src/gen/src/Apideck/Model/Message.cs index 67e869fdac..c04de1362d 100644 --- a/src/gen/src/Apideck/Model/Message.cs +++ b/src/gen/src/Apideck/Model/Message.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Meta.cs b/src/gen/src/Apideck/Model/Meta.cs index 0af2ad301e..0ad8fc0f38 100644 --- a/src/gen/src/Apideck/Model/Meta.cs +++ b/src/gen/src/Apideck/Model/Meta.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/MetaCursors.cs b/src/gen/src/Apideck/Model/MetaCursors.cs index 002baa4aa7..5eb2fac977 100644 --- a/src/gen/src/Apideck/Model/MetaCursors.cs +++ b/src/gen/src/Apideck/Model/MetaCursors.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Modifier.cs b/src/gen/src/Apideck/Model/Modifier.cs index 31005dda3a..e8e4a6411e 100644 --- a/src/gen/src/Apideck/Model/Modifier.cs +++ b/src/gen/src/Apideck/Model/Modifier.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ModifierGroup.cs b/src/gen/src/Apideck/Model/ModifierGroup.cs index ca98a747ea..3a06afe742 100644 --- a/src/gen/src/Apideck/Model/ModifierGroup.cs +++ b/src/gen/src/Apideck/Model/ModifierGroup.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ModifierGroupFilter.cs b/src/gen/src/Apideck/Model/ModifierGroupFilter.cs index 10b9e35b96..92c81ab053 100644 --- a/src/gen/src/Apideck/Model/ModifierGroupFilter.cs +++ b/src/gen/src/Apideck/Model/ModifierGroupFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/NotFoundResponse.cs b/src/gen/src/Apideck/Model/NotFoundResponse.cs index 12e2aae6c7..334960d81a 100644 --- a/src/gen/src/Apideck/Model/NotFoundResponse.cs +++ b/src/gen/src/Apideck/Model/NotFoundResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/NotImplementedResponse.cs b/src/gen/src/Apideck/Model/NotImplementedResponse.cs index e11b1996af..216e7443b5 100644 --- a/src/gen/src/Apideck/Model/NotImplementedResponse.cs +++ b/src/gen/src/Apideck/Model/NotImplementedResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Note.cs b/src/gen/src/Apideck/Model/Note.cs index 0a266086be..744a3714a7 100644 --- a/src/gen/src/Apideck/Model/Note.cs +++ b/src/gen/src/Apideck/Model/Note.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OAuthGrantType.cs b/src/gen/src/Apideck/Model/OAuthGrantType.cs index e313c2950c..1621020707 100644 --- a/src/gen/src/Apideck/Model/OAuthGrantType.cs +++ b/src/gen/src/Apideck/Model/OAuthGrantType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Offer.cs b/src/gen/src/Apideck/Model/Offer.cs index 2435299891..eedcd97bca 100644 --- a/src/gen/src/Apideck/Model/Offer.cs +++ b/src/gen/src/Apideck/Model/Offer.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OpportunitiesFilter.cs b/src/gen/src/Apideck/Model/OpportunitiesFilter.cs index b94ef964a5..a7a0ab8497 100644 --- a/src/gen/src/Apideck/Model/OpportunitiesFilter.cs +++ b/src/gen/src/Apideck/Model/OpportunitiesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OpportunitiesSort.cs b/src/gen/src/Apideck/Model/OpportunitiesSort.cs index daccaa62ce..646ea5ff53 100644 --- a/src/gen/src/Apideck/Model/OpportunitiesSort.cs +++ b/src/gen/src/Apideck/Model/OpportunitiesSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Opportunity.cs b/src/gen/src/Apideck/Model/Opportunity.cs index 22de66cead..e98bbe5873 100644 --- a/src/gen/src/Apideck/Model/Opportunity.cs +++ b/src/gen/src/Apideck/Model/Opportunity.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Order.cs b/src/gen/src/Apideck/Model/Order.cs index 173490346c..e5dca7f3a0 100644 --- a/src/gen/src/Apideck/Model/Order.cs +++ b/src/gen/src/Apideck/Model/Order.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderCustomers.cs b/src/gen/src/Apideck/Model/OrderCustomers.cs index 0c7d5aafdb..9a19d0a57c 100644 --- a/src/gen/src/Apideck/Model/OrderCustomers.cs +++ b/src/gen/src/Apideck/Model/OrderCustomers.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderDiscounts.cs b/src/gen/src/Apideck/Model/OrderDiscounts.cs index 4afdcd43cb..cb101f072a 100644 --- a/src/gen/src/Apideck/Model/OrderDiscounts.cs +++ b/src/gen/src/Apideck/Model/OrderDiscounts.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderFulfillments.cs b/src/gen/src/Apideck/Model/OrderFulfillments.cs index d02005f67a..0b177362fe 100644 --- a/src/gen/src/Apideck/Model/OrderFulfillments.cs +++ b/src/gen/src/Apideck/Model/OrderFulfillments.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderLineItems.cs b/src/gen/src/Apideck/Model/OrderLineItems.cs index 5e3dea6274..f64cc4b2ac 100644 --- a/src/gen/src/Apideck/Model/OrderLineItems.cs +++ b/src/gen/src/Apideck/Model/OrderLineItems.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderPayments.cs b/src/gen/src/Apideck/Model/OrderPayments.cs index 41ec858353..f00714a8a6 100644 --- a/src/gen/src/Apideck/Model/OrderPayments.cs +++ b/src/gen/src/Apideck/Model/OrderPayments.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderPickupDetails.cs b/src/gen/src/Apideck/Model/OrderPickupDetails.cs index 8aa8c4f031..c3e3395076 100644 --- a/src/gen/src/Apideck/Model/OrderPickupDetails.cs +++ b/src/gen/src/Apideck/Model/OrderPickupDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderPickupDetailsCurbsidePickupDetails.cs b/src/gen/src/Apideck/Model/OrderPickupDetailsCurbsidePickupDetails.cs index 9fbbc11425..1c9d38812d 100644 --- a/src/gen/src/Apideck/Model/OrderPickupDetailsCurbsidePickupDetails.cs +++ b/src/gen/src/Apideck/Model/OrderPickupDetailsCurbsidePickupDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderPickupDetailsRecipient.cs b/src/gen/src/Apideck/Model/OrderPickupDetailsRecipient.cs index a90ab3a9c6..3d61b0ba50 100644 --- a/src/gen/src/Apideck/Model/OrderPickupDetailsRecipient.cs +++ b/src/gen/src/Apideck/Model/OrderPickupDetailsRecipient.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderRefunds.cs b/src/gen/src/Apideck/Model/OrderRefunds.cs index 522bc21180..0e36380a4b 100644 --- a/src/gen/src/Apideck/Model/OrderRefunds.cs +++ b/src/gen/src/Apideck/Model/OrderRefunds.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderTenders.cs b/src/gen/src/Apideck/Model/OrderTenders.cs index 795b9894a8..ea16778e3b 100644 --- a/src/gen/src/Apideck/Model/OrderTenders.cs +++ b/src/gen/src/Apideck/Model/OrderTenders.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrderType.cs b/src/gen/src/Apideck/Model/OrderType.cs index ad0d13d273..a6737c3b44 100644 --- a/src/gen/src/Apideck/Model/OrderType.cs +++ b/src/gen/src/Apideck/Model/OrderType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/OrdersSort.cs b/src/gen/src/Apideck/Model/OrdersSort.cs index 9b56ea5b2e..e334f02b7b 100644 --- a/src/gen/src/Apideck/Model/OrdersSort.cs +++ b/src/gen/src/Apideck/Model/OrdersSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Owner.cs b/src/gen/src/Apideck/Model/Owner.cs index 3933be29f0..2cc4bb78d3 100644 --- a/src/gen/src/Apideck/Model/Owner.cs +++ b/src/gen/src/Apideck/Model/Owner.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PaginationCoverage.cs b/src/gen/src/Apideck/Model/PaginationCoverage.cs index 3e45b9fc3c..a2afdc8451 100644 --- a/src/gen/src/Apideck/Model/PaginationCoverage.cs +++ b/src/gen/src/Apideck/Model/PaginationCoverage.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PassThroughQuery.cs b/src/gen/src/Apideck/Model/PassThroughQuery.cs index 9cb8a95584..6d4278392e 100644 --- a/src/gen/src/Apideck/Model/PassThroughQuery.cs +++ b/src/gen/src/Apideck/Model/PassThroughQuery.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Payment.cs b/src/gen/src/Apideck/Model/Payment.cs index baebd66eee..ce069c21be 100644 --- a/src/gen/src/Apideck/Model/Payment.cs +++ b/src/gen/src/Apideck/Model/Payment.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,110 +37,18 @@ public partial class Payment : IEquatable, IValidatableObject /// [DataMember(Name = "currency", EmitDefaultValue = true)] public Currency? Currency { get; set; } - /// - /// Status of payment - /// - /// Status of payment - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum Authorised for value: authorised - /// - [EnumMember(Value = "authorised")] - Authorised = 1, - - /// - /// Enum Paid for value: paid - /// - [EnumMember(Value = "paid")] - Paid = 2, - - /// - /// Enum Voided for value: voided - /// - [EnumMember(Value = "voided")] - Voided = 3, - - /// - /// Enum Deleted for value: deleted - /// - [EnumMember(Value = "deleted")] - Deleted = 4 - - } - /// - /// Status of payment + /// Gets or Sets Status /// - /// Status of payment [DataMember(Name = "status", EmitDefaultValue = false)] - public StatusEnum? Status { get; set; } - /// - /// Type of payment - /// - /// Type of payment - [JsonConverter(typeof(StringEnumConverter))] - public enum TypeEnum - { - /// - /// Enum Receivable for value: accounts_receivable - /// - [EnumMember(Value = "accounts_receivable")] - Receivable = 1, - - /// - /// Enum Payable for value: accounts_payable - /// - [EnumMember(Value = "accounts_payable")] - Payable = 2, - - /// - /// Enum ReceivableCredit for value: accounts_receivable_credit - /// - [EnumMember(Value = "accounts_receivable_credit")] - ReceivableCredit = 3, - - /// - /// Enum PayableCredit for value: accounts_payable_credit - /// - [EnumMember(Value = "accounts_payable_credit")] - PayableCredit = 4, - - /// - /// Enum ReceivableOverpayment for value: accounts_receivable_overpayment - /// - [EnumMember(Value = "accounts_receivable_overpayment")] - ReceivableOverpayment = 5, - - /// - /// Enum PayableOverpayment for value: accounts_payable_overpayment - /// - [EnumMember(Value = "accounts_payable_overpayment")] - PayableOverpayment = 6, - - /// - /// Enum ReceivablePrepayment for value: accounts_receivable_prepayment - /// - [EnumMember(Value = "accounts_receivable_prepayment")] - ReceivablePrepayment = 7, - - /// - /// Enum PayablePrepayment for value: accounts_payable_prepayment - /// - [EnumMember(Value = "accounts_payable_prepayment")] - PayablePrepayment = 8 - - } - + public PaymentStatus? Status { get; set; } /// - /// Type of payment + /// Gets or Sets Type /// - /// Type of payment [DataMember(Name = "type", EmitDefaultValue = false)] - public TypeEnum? Type { get; set; } + public PaymentType? Type { get; set; } /// /// Initializes a new instance of the class. /// @@ -151,31 +59,40 @@ protected Payment() { } /// /// currency. /// Currency Exchange Rate at the time entity was recorded/generated.. - /// Amount of payment (required). - /// Optional payment reference message ie: Debit remittance detail.. - /// Payment method name. + /// The total amount of the transaction (required). + /// Optional transaction reference message ie: Debit remittance detail.. + /// Payment method used for the transaction, such as cash, credit card, bank transfer, or check. /// Optional reference message returned by payment method on processing. - /// Unique identifier for the payment method.. + /// A unique identifier for an object.. /// Type of accounts receivable account.. /// Unique identifier for the account to allocate payment to.. /// account. - /// Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD (required). + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD (required). /// customer. /// supplier. /// The company or subsidiary id the transaction belongs to. - /// Payment has been reconciled. - /// Status of payment. - /// Type of payment. + /// Indicates if the transaction has been reconciled.. + /// status. + /// type. /// allocations. - /// Optional note to be associated with the payment.. - /// Payment number.. + /// Note associated with the transaction. + /// Number associated with the transaction. + /// A list of linked tracking categories.. /// customFields. /// 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.. - /// Payment id to be displayed.. + /// Id to be displayed.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public Payment(Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), decimal totalAmount = default(decimal), string reference = default(string), string paymentMethod = default(string), string paymentMethodReference = default(string), string paymentMethodId = default(string), string accountsReceivableAccountType = default(string), string accountsReceivableAccountId = default(string), LinkedLedgerAccount account = default(LinkedLedgerAccount), DateTime transactionDate = default(DateTime), LinkedCustomer customer = default(LinkedCustomer), LinkedSupplier supplier = default(LinkedSupplier), string companyId = default(string), bool reconciled = default(bool), StatusEnum? status = default(StatusEnum?), TypeEnum? type = default(TypeEnum?), List allocations = default(List), string note = default(string), string number = default(string), List customFields = default(List), string rowVersion = default(string), string displayId = default(string), List passThrough = default(List)) + public Payment(Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), decimal? totalAmount = default(decimal?), string reference = default(string), string paymentMethod = default(string), string paymentMethodReference = default(string), string paymentMethodId = default(string), string accountsReceivableAccountType = default(string), string accountsReceivableAccountId = default(string), LinkedLedgerAccount account = default(LinkedLedgerAccount), DateTime? transactionDate = default(DateTime?), LinkedCustomer customer = default(LinkedCustomer), DeprecatedLinkedSupplier supplier = default(DeprecatedLinkedSupplier), string companyId = default(string), bool? reconciled = default(bool?), PaymentStatus? status = default(PaymentStatus?), PaymentType? type = default(PaymentType?), List allocations = default(List), string note = default(string), string number = default(string), List trackingCategories = default(List), List customFields = default(List), string rowVersion = default(string), string displayId = default(string), List passThrough = default(List)) { + // to ensure "totalAmount" is required (not null) + if (totalAmount == null) { + throw new ArgumentNullException("totalAmount is a required property for Payment and cannot be null"); + } this.TotalAmount = totalAmount; + // to ensure "transactionDate" is required (not null) + if (transactionDate == null) { + throw new ArgumentNullException("transactionDate is a required property for Payment and cannot be null"); + } this.TransactionDate = transactionDate; this.Currency = currency; this.CurrencyRate = currencyRate; @@ -195,6 +112,7 @@ protected Payment() { } this.Allocations = allocations; this.Note = note; this.Number = number; + this.TrackingCategories = trackingCategories; this.CustomFields = customFields; this.RowVersion = rowVersion; this.DisplayId = displayId; @@ -202,9 +120,9 @@ protected Payment() { } } /// - /// Unique identifier representing the entity + /// A unique identifier for an object. /// - /// Unique identifier representing the entity + /// A unique identifier for an object. [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = false)] public string Id { get; private set; } @@ -239,23 +157,23 @@ public bool ShouldSerializeDownstreamId() public decimal? CurrencyRate { get; set; } /// - /// Amount of payment + /// The total amount of the transaction /// - /// Amount of payment - [DataMember(Name = "total_amount", IsRequired = true, EmitDefaultValue = false)] - public decimal TotalAmount { get; set; } + /// The total amount of the transaction + [DataMember(Name = "total_amount", IsRequired = true, EmitDefaultValue = true)] + public decimal? TotalAmount { get; set; } /// - /// Optional payment reference message ie: Debit remittance detail. + /// Optional transaction reference message ie: Debit remittance detail. /// - /// Optional payment reference message ie: Debit remittance detail. + /// Optional transaction reference message ie: Debit remittance detail. [DataMember(Name = "reference", EmitDefaultValue = true)] public string Reference { get; set; } /// - /// Payment method name + /// Payment method used for the transaction, such as cash, credit card, bank transfer, or check /// - /// Payment method name + /// Payment method used for the transaction, such as cash, credit card, bank transfer, or check [DataMember(Name = "payment_method", EmitDefaultValue = true)] public string PaymentMethod { get; set; } @@ -267,9 +185,9 @@ public bool ShouldSerializeDownstreamId() public string PaymentMethodReference { get; set; } /// - /// Unique identifier for the payment method. + /// A unique identifier for an object. /// - /// Unique identifier for the payment method. + /// A unique identifier for an object. [DataMember(Name = "payment_method_id", EmitDefaultValue = true)] public string PaymentMethodId { get; set; } @@ -296,11 +214,11 @@ public bool ShouldSerializeDownstreamId() public LinkedLedgerAccount Account { get; set; } /// - /// Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD /// - /// Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD - [DataMember(Name = "transaction_date", IsRequired = true, EmitDefaultValue = false)] - public DateTime TransactionDate { get; set; } + /// The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD + [DataMember(Name = "transaction_date", IsRequired = true, EmitDefaultValue = true)] + public DateTime? TransactionDate { get; set; } /// /// Gets or Sets Customer @@ -312,7 +230,8 @@ public bool ShouldSerializeDownstreamId() /// Gets or Sets Supplier /// [DataMember(Name = "supplier", EmitDefaultValue = true)] - public LinkedSupplier Supplier { get; set; } + [Obsolete] + public DeprecatedLinkedSupplier Supplier { get; set; } /// /// The company or subsidiary id the transaction belongs to @@ -322,11 +241,11 @@ public bool ShouldSerializeDownstreamId() public string CompanyId { get; set; } /// - /// Payment has been reconciled + /// Indicates if the transaction has been reconciled. /// - /// Payment has been reconciled + /// Indicates if the transaction has been reconciled. [DataMember(Name = "reconciled", EmitDefaultValue = true)] - public bool Reconciled { get; set; } + public bool? Reconciled { get; set; } /// /// Gets or Sets Allocations @@ -335,19 +254,26 @@ public bool ShouldSerializeDownstreamId() public List Allocations { get; set; } /// - /// Optional note to be associated with the payment. + /// Note associated with the transaction /// - /// Optional note to be associated with the payment. + /// Note associated with the transaction [DataMember(Name = "note", EmitDefaultValue = true)] public string Note { get; set; } /// - /// Payment number. + /// Number associated with the transaction /// - /// Payment number. + /// Number associated with the transaction [DataMember(Name = "number", EmitDefaultValue = true)] public string Number { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + /// /// Gets or Sets CustomFields /// @@ -362,9 +288,9 @@ public bool ShouldSerializeDownstreamId() public string RowVersion { get; set; } /// - /// Payment id to be displayed. + /// Id to be displayed. /// - /// Payment id to be displayed. + /// Id to be displayed. [DataMember(Name = "display_id", EmitDefaultValue = true)] public string DisplayId { get; set; } @@ -480,6 +406,7 @@ public override string ToString() sb.Append(" Allocations: ").Append(Allocations).Append("\n"); sb.Append(" Note: ").Append(Note).Append("\n"); sb.Append(" Number: ").Append(Number).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" CustomFields: ").Append(CustomFields).Append("\n"); sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); sb.Append(" DisplayId: ").Append(DisplayId).Append("\n"); @@ -545,7 +472,8 @@ public bool Equals(Payment input) ) && ( this.TotalAmount == input.TotalAmount || - this.TotalAmount.Equals(input.TotalAmount) + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) ) && ( this.Reference == input.Reference || @@ -604,7 +532,8 @@ public bool Equals(Payment input) ) && ( this.Reconciled == input.Reconciled || - this.Reconciled.Equals(input.Reconciled) + (this.Reconciled != null && + this.Reconciled.Equals(input.Reconciled)) ) && ( this.Status == input.Status || @@ -630,6 +559,12 @@ public bool Equals(Payment input) (this.Number != null && this.Number.Equals(input.Number)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.CustomFields == input.CustomFields || this.CustomFields != null && @@ -701,7 +636,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.CurrencyRate.GetHashCode(); } - hashCode = (hashCode * 59) + this.TotalAmount.GetHashCode(); + if (this.TotalAmount != null) + { + hashCode = (hashCode * 59) + this.TotalAmount.GetHashCode(); + } if (this.Reference != null) { hashCode = (hashCode * 59) + this.Reference.GetHashCode(); @@ -746,7 +684,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.CompanyId.GetHashCode(); } - hashCode = (hashCode * 59) + this.Reconciled.GetHashCode(); + if (this.Reconciled != null) + { + hashCode = (hashCode * 59) + this.Reconciled.GetHashCode(); + } hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Type.GetHashCode(); if (this.Allocations != null) @@ -761,6 +702,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Number.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.CustomFields != null) { hashCode = (hashCode * 59) + this.CustomFields.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/PaymentCard.cs b/src/gen/src/Apideck/Model/PaymentCard.cs index 2f92699671..b2978addde 100644 --- a/src/gen/src/Apideck/Model/PaymentCard.cs +++ b/src/gen/src/Apideck/Model/PaymentCard.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PaymentFrequency.cs b/src/gen/src/Apideck/Model/PaymentFrequency.cs index 39c6f060b3..8e49ef6a7a 100644 --- a/src/gen/src/Apideck/Model/PaymentFrequency.cs +++ b/src/gen/src/Apideck/Model/PaymentFrequency.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PaymentRequiredResponse.cs b/src/gen/src/Apideck/Model/PaymentRequiredResponse.cs index d06e29cbad..295eac5b8a 100644 --- a/src/gen/src/Apideck/Model/PaymentRequiredResponse.cs +++ b/src/gen/src/Apideck/Model/PaymentRequiredResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PaymentStatus.cs b/src/gen/src/Apideck/Model/PaymentStatus.cs new file mode 100644 index 0000000000..d6dd199e25 --- /dev/null +++ b/src/gen/src/Apideck/Model/PaymentStatus.cs @@ -0,0 +1,61 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// Status of payment + /// + /// Status of payment + [JsonConverter(typeof(StringEnumConverter))] + public enum PaymentStatus + { + /// + /// Enum Authorised for value: authorised + /// + [EnumMember(Value = "authorised")] + Authorised = 1, + + /// + /// Enum Paid for value: paid + /// + [EnumMember(Value = "paid")] + Paid = 2, + + /// + /// Enum Voided for value: voided + /// + [EnumMember(Value = "voided")] + Voided = 3, + + /// + /// Enum Deleted for value: deleted + /// + [EnumMember(Value = "deleted")] + Deleted = 4 + + } + +} diff --git a/src/gen/src/Apideck/Model/PaymentType.cs b/src/gen/src/Apideck/Model/PaymentType.cs new file mode 100644 index 0000000000..e07ee7222b --- /dev/null +++ b/src/gen/src/Apideck/Model/PaymentType.cs @@ -0,0 +1,85 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// Type of payment + /// + /// Type of payment + [JsonConverter(typeof(StringEnumConverter))] + public enum PaymentType + { + /// + /// Enum Receivable for value: accounts_receivable + /// + [EnumMember(Value = "accounts_receivable")] + Receivable = 1, + + /// + /// Enum Payable for value: accounts_payable + /// + [EnumMember(Value = "accounts_payable")] + Payable = 2, + + /// + /// Enum ReceivableCredit for value: accounts_receivable_credit + /// + [EnumMember(Value = "accounts_receivable_credit")] + ReceivableCredit = 3, + + /// + /// Enum PayableCredit for value: accounts_payable_credit + /// + [EnumMember(Value = "accounts_payable_credit")] + PayableCredit = 4, + + /// + /// Enum ReceivableOverpayment for value: accounts_receivable_overpayment + /// + [EnumMember(Value = "accounts_receivable_overpayment")] + ReceivableOverpayment = 5, + + /// + /// Enum PayableOverpayment for value: accounts_payable_overpayment + /// + [EnumMember(Value = "accounts_payable_overpayment")] + PayableOverpayment = 6, + + /// + /// Enum ReceivablePrepayment for value: accounts_receivable_prepayment + /// + [EnumMember(Value = "accounts_receivable_prepayment")] + ReceivablePrepayment = 7, + + /// + /// Enum PayablePrepayment for value: accounts_payable_prepayment + /// + [EnumMember(Value = "accounts_payable_prepayment")] + PayablePrepayment = 8 + + } + +} diff --git a/src/gen/src/Apideck/Model/PaymentUnit.cs b/src/gen/src/Apideck/Model/PaymentUnit.cs index 816160e490..299ca30061 100644 --- a/src/gen/src/Apideck/Model/PaymentUnit.cs +++ b/src/gen/src/Apideck/Model/PaymentUnit.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PaymentsFilter.cs b/src/gen/src/Apideck/Model/PaymentsFilter.cs index e028b6cadf..b4ab3cb8b0 100644 --- a/src/gen/src/Apideck/Model/PaymentsFilter.cs +++ b/src/gen/src/Apideck/Model/PaymentsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PaymentsSort.cs b/src/gen/src/Apideck/Model/PaymentsSort.cs index 669052a79a..aa1f5a1bff 100644 --- a/src/gen/src/Apideck/Model/PaymentsSort.cs +++ b/src/gen/src/Apideck/Model/PaymentsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Payroll.cs b/src/gen/src/Apideck/Model/Payroll.cs index 8f13d91020..e96dbee165 100644 --- a/src/gen/src/Apideck/Model/Payroll.cs +++ b/src/gen/src/Apideck/Model/Payroll.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PayrollTotals.cs b/src/gen/src/Apideck/Model/PayrollTotals.cs index 99092f9e0c..617ba4eaa2 100644 --- a/src/gen/src/Apideck/Model/PayrollTotals.cs +++ b/src/gen/src/Apideck/Model/PayrollTotals.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PayrollsFilter.cs b/src/gen/src/Apideck/Model/PayrollsFilter.cs index 9e78c188a4..91524f5977 100644 --- a/src/gen/src/Apideck/Model/PayrollsFilter.cs +++ b/src/gen/src/Apideck/Model/PayrollsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Person.cs b/src/gen/src/Apideck/Model/Person.cs index 4f62ff344b..4d35998506 100644 --- a/src/gen/src/Apideck/Model/Person.cs +++ b/src/gen/src/Apideck/Model/Person.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PhoneNumber.cs b/src/gen/src/Apideck/Model/PhoneNumber.cs index 79a5245151..b7c7c74544 100644 --- a/src/gen/src/Apideck/Model/PhoneNumber.cs +++ b/src/gen/src/Apideck/Model/PhoneNumber.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Pipeline.cs b/src/gen/src/Apideck/Model/Pipeline.cs index b8d1cb73c4..2f4089235c 100644 --- a/src/gen/src/Apideck/Model/Pipeline.cs +++ b/src/gen/src/Apideck/Model/Pipeline.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PipelineStages.cs b/src/gen/src/Apideck/Model/PipelineStages.cs index b1db9a216c..76d32bf4fb 100644 --- a/src/gen/src/Apideck/Model/PipelineStages.cs +++ b/src/gen/src/Apideck/Model/PipelineStages.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PosBankAccount.cs b/src/gen/src/Apideck/Model/PosBankAccount.cs index 55bf61a3a7..108c7d7d59 100644 --- a/src/gen/src/Apideck/Model/PosBankAccount.cs +++ b/src/gen/src/Apideck/Model/PosBankAccount.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PosBankAccountAchDetails.cs b/src/gen/src/Apideck/Model/PosBankAccountAchDetails.cs index 272cb0fd60..ff00cd1823 100644 --- a/src/gen/src/Apideck/Model/PosBankAccountAchDetails.cs +++ b/src/gen/src/Apideck/Model/PosBankAccountAchDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PosPayment.cs b/src/gen/src/Apideck/Model/PosPayment.cs index 35499bf41c..e9eac6bf18 100644 --- a/src/gen/src/Apideck/Model/PosPayment.cs +++ b/src/gen/src/Apideck/Model/PosPayment.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PosPaymentCardDetails.cs b/src/gen/src/Apideck/Model/PosPaymentCardDetails.cs index d41ae1b9f2..40a2e53101 100644 --- a/src/gen/src/Apideck/Model/PosPaymentCardDetails.cs +++ b/src/gen/src/Apideck/Model/PosPaymentCardDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PosPaymentExternalDetails.cs b/src/gen/src/Apideck/Model/PosPaymentExternalDetails.cs index c422bcca78..db06f9b99f 100644 --- a/src/gen/src/Apideck/Model/PosPaymentExternalDetails.cs +++ b/src/gen/src/Apideck/Model/PosPaymentExternalDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Price.cs b/src/gen/src/Apideck/Model/Price.cs index e972b36ed4..7bb835bfbc 100644 --- a/src/gen/src/Apideck/Model/Price.cs +++ b/src/gen/src/Apideck/Model/Price.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProbationPeriod.cs b/src/gen/src/Apideck/Model/ProbationPeriod.cs index 694e917756..3827eefe00 100644 --- a/src/gen/src/Apideck/Model/ProbationPeriod.cs +++ b/src/gen/src/Apideck/Model/ProbationPeriod.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLoss.cs b/src/gen/src/Apideck/Model/ProfitAndLoss.cs index 9d1731cd17..d96546d1f2 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLoss.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLoss.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossExpenses.cs b/src/gen/src/Apideck/Model/ProfitAndLossExpenses.cs index c973906017..535a2a0680 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossExpenses.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossExpenses.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossFilter.cs b/src/gen/src/Apideck/Model/ProfitAndLossFilter.cs index 89feaf861d..ce6cec6ba3 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossFilter.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossGrossProfit.cs b/src/gen/src/Apideck/Model/ProfitAndLossGrossProfit.cs index dd53e50cbf..89ba1c5a4a 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossGrossProfit.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossGrossProfit.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossIncome.cs b/src/gen/src/Apideck/Model/ProfitAndLossIncome.cs index fa51be083f..4a1d1bf9c6 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossIncome.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossIncome.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossNetIncome.cs b/src/gen/src/Apideck/Model/ProfitAndLossNetIncome.cs index 3704e29676..36d142c631 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossNetIncome.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossNetIncome.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossNetOperatingIncome.cs b/src/gen/src/Apideck/Model/ProfitAndLossNetOperatingIncome.cs index 33cd10e45f..806d7b463a 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossNetOperatingIncome.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossNetOperatingIncome.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossRecord.cs b/src/gen/src/Apideck/Model/ProfitAndLossRecord.cs index 1a7544395e..aad0c628bf 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossRecord.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossRecord.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ProfitAndLossSection.cs b/src/gen/src/Apideck/Model/ProfitAndLossSection.cs index 5ff17cb645..dcf58b230f 100644 --- a/src/gen/src/Apideck/Model/ProfitAndLossSection.cs +++ b/src/gen/src/Apideck/Model/ProfitAndLossSection.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/PurchaseOrder.cs b/src/gen/src/Apideck/Model/PurchaseOrder.cs index 1a83731c90..7a32b03cad 100644 --- a/src/gen/src/Apideck/Model/PurchaseOrder.cs +++ b/src/gen/src/Apideck/Model/PurchaseOrder.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -116,9 +116,10 @@ public enum StatusEnum /// Applicable tax id/code override if tax is not supplied on a line item basis.. /// The channel through which the transaction is processed.. /// Message for the supplier. This text appears on the Purchase Order.. + /// A list of linked tracking categories.. /// 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.. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. - public PurchaseOrder(string poNumber = default(string), string reference = default(string), LinkedSupplier supplier = default(LinkedSupplier), string companyId = default(string), StatusEnum? status = default(StatusEnum?), DateTime? issuedDate = default(DateTime?), DateTime? deliveryDate = default(DateTime?), DateTime? expectedArrivalDate = default(DateTime?), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), decimal? subTotal = default(decimal?), decimal? totalTax = default(decimal?), decimal? total = default(decimal?), bool? taxInclusive = default(bool?), List lineItems = default(List), Address shippingAddress = default(Address), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), string templateId = default(string), decimal? discountPercentage = default(decimal?), BankAccount bankAccount = default(BankAccount), bool? accountingByRow = default(bool?), DateTime dueDate = default(DateTime), string paymentMethod = default(string), string taxCode = default(string), string channel = default(string), string memo = default(string), string rowVersion = default(string), List passThrough = default(List)) + public PurchaseOrder(string poNumber = default(string), string reference = default(string), LinkedSupplier supplier = default(LinkedSupplier), string companyId = default(string), StatusEnum? status = default(StatusEnum?), DateTime? issuedDate = default(DateTime?), DateTime? deliveryDate = default(DateTime?), DateTime? expectedArrivalDate = default(DateTime?), Currency? currency = default(Currency?), decimal? currencyRate = default(decimal?), decimal? subTotal = default(decimal?), decimal? totalTax = default(decimal?), decimal? total = default(decimal?), bool? taxInclusive = default(bool?), List lineItems = default(List), Address shippingAddress = default(Address), LinkedLedgerAccount ledgerAccount = default(LinkedLedgerAccount), string templateId = default(string), decimal? discountPercentage = default(decimal?), BankAccount bankAccount = default(BankAccount), bool? accountingByRow = default(bool?), DateTime dueDate = default(DateTime), string paymentMethod = default(string), string taxCode = default(string), string channel = default(string), string memo = default(string), List trackingCategories = default(List), string rowVersion = default(string), List passThrough = default(List)) { this.PoNumber = poNumber; this.Reference = reference; @@ -146,6 +147,7 @@ public enum StatusEnum this.TaxCode = taxCode; this.Channel = channel; this.Memo = memo; + this.TrackingCategories = trackingCategories; this.RowVersion = rowVersion; this.PassThrough = passThrough; } @@ -347,6 +349,13 @@ public bool ShouldSerializeDownstreamId() [DataMember(Name = "memo", EmitDefaultValue = true)] public string Memo { get; set; } + /// + /// A list of linked tracking categories. + /// + /// A list of linked tracking categories. + [DataMember(Name = "tracking_categories", EmitDefaultValue = true)] + public List TrackingCategories { get; set; } + /// /// When custom mappings are configured on the resource, the result is included here. /// @@ -472,6 +481,7 @@ public override string ToString() sb.Append(" TaxCode: ").Append(TaxCode).Append("\n"); sb.Append(" Channel: ").Append(Channel).Append("\n"); sb.Append(" Memo: ").Append(Memo).Append("\n"); + sb.Append(" TrackingCategories: ").Append(TrackingCategories).Append("\n"); sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); @@ -653,6 +663,12 @@ public bool Equals(PurchaseOrder input) (this.Memo != null && this.Memo.Equals(input.Memo)) ) && + ( + this.TrackingCategories == input.TrackingCategories || + this.TrackingCategories != null && + input.TrackingCategories != null && + this.TrackingCategories.SequenceEqual(input.TrackingCategories) + ) && ( this.CustomMappings == input.CustomMappings || (this.CustomMappings != null && @@ -806,6 +822,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Memo.GetHashCode(); } + if (this.TrackingCategories != null) + { + hashCode = (hashCode * 59) + this.TrackingCategories.GetHashCode(); + } if (this.CustomMappings != null) { hashCode = (hashCode * 59) + this.CustomMappings.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/PurchaseOrdersFilter.cs b/src/gen/src/Apideck/Model/PurchaseOrdersFilter.cs index 5ffccd9833..aa19c3ff49 100644 --- a/src/gen/src/Apideck/Model/PurchaseOrdersFilter.cs +++ b/src/gen/src/Apideck/Model/PurchaseOrdersFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,9 +35,11 @@ public partial class PurchaseOrdersFilter : IEquatable, IV /// Initializes a new instance of the class. /// /// updatedSince. - public PurchaseOrdersFilter(DateTime updatedSince = default(DateTime)) + /// supplierId. + public PurchaseOrdersFilter(DateTime updatedSince = default(DateTime), string supplierId = default(string)) { this.UpdatedSince = updatedSince; + this.SupplierId = supplierId; } /// @@ -46,6 +48,12 @@ public partial class PurchaseOrdersFilter : IEquatable, IV [DataMember(Name = "updated_since", EmitDefaultValue = false)] public DateTime UpdatedSince { get; set; } + /// + /// Gets or Sets SupplierId + /// + [DataMember(Name = "supplier_id", EmitDefaultValue = false)] + public string SupplierId { get; set; } + /// /// Returns the string presentation of the object /// @@ -55,6 +63,7 @@ public override string ToString() StringBuilder sb = new StringBuilder(); sb.Append("class PurchaseOrdersFilter {\n"); sb.Append(" UpdatedSince: ").Append(UpdatedSince).Append("\n"); + sb.Append(" SupplierId: ").Append(SupplierId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -94,6 +103,11 @@ public bool Equals(PurchaseOrdersFilter input) this.UpdatedSince == input.UpdatedSince || (this.UpdatedSince != null && this.UpdatedSince.Equals(input.UpdatedSince)) + ) && + ( + this.SupplierId == input.SupplierId || + (this.SupplierId != null && + this.SupplierId.Equals(input.SupplierId)) ); } @@ -110,6 +124,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.UpdatedSince.GetHashCode(); } + if (this.SupplierId != null) + { + hashCode = (hashCode * 59) + this.SupplierId.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/PurchaseOrdersSort.cs b/src/gen/src/Apideck/Model/PurchaseOrdersSort.cs index fc7658dba6..6fc5dff186 100644 --- a/src/gen/src/Apideck/Model/PurchaseOrdersSort.cs +++ b/src/gen/src/Apideck/Model/PurchaseOrdersSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/RequestCountAllocation.cs b/src/gen/src/Apideck/Model/RequestCountAllocation.cs index e24925c504..a446fe2d39 100644 --- a/src/gen/src/Apideck/Model/RequestCountAllocation.cs +++ b/src/gen/src/Apideck/Model/RequestCountAllocation.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/RequestRate.cs b/src/gen/src/Apideck/Model/RequestRate.cs index 0ee852d322..9d63434f27 100644 --- a/src/gen/src/Apideck/Model/RequestRate.cs +++ b/src/gen/src/Apideck/Model/RequestRate.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ResolveWebhookResponse.cs b/src/gen/src/Apideck/Model/ResolveWebhookResponse.cs index 94437fa209..7947f0a9fd 100644 --- a/src/gen/src/Apideck/Model/ResolveWebhookResponse.cs +++ b/src/gen/src/Apideck/Model/ResolveWebhookResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ResourceExample.cs b/src/gen/src/Apideck/Model/ResourceExample.cs index e7a17ca483..fc18d85f53 100644 --- a/src/gen/src/Apideck/Model/ResourceExample.cs +++ b/src/gen/src/Apideck/Model/ResourceExample.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ResourceStatus.cs b/src/gen/src/Apideck/Model/ResourceStatus.cs index 9f8742159a..05d36a604e 100644 --- a/src/gen/src/Apideck/Model/ResourceStatus.cs +++ b/src/gen/src/Apideck/Model/ResourceStatus.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Schedule.cs b/src/gen/src/Apideck/Model/Schedule.cs index 1848cf6222..95aa653f45 100644 --- a/src/gen/src/Apideck/Model/Schedule.cs +++ b/src/gen/src/Apideck/Model/Schedule.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ScheduleWorkPattern.cs b/src/gen/src/Apideck/Model/ScheduleWorkPattern.cs index 1b30119928..9968a0d0f0 100644 --- a/src/gen/src/Apideck/Model/ScheduleWorkPattern.cs +++ b/src/gen/src/Apideck/Model/ScheduleWorkPattern.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ScheduleWorkPatternOddWeeks.cs b/src/gen/src/Apideck/Model/ScheduleWorkPatternOddWeeks.cs index a0ca0a3ac0..f8a6c2291b 100644 --- a/src/gen/src/Apideck/Model/ScheduleWorkPatternOddWeeks.cs +++ b/src/gen/src/Apideck/Model/ScheduleWorkPatternOddWeeks.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SchemaSupport.cs b/src/gen/src/Apideck/Model/SchemaSupport.cs index 7b59cb08a1..ff416460df 100644 --- a/src/gen/src/Apideck/Model/SchemaSupport.cs +++ b/src/gen/src/Apideck/Model/SchemaSupport.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ServiceCharge.cs b/src/gen/src/Apideck/Model/ServiceCharge.cs index c771f892ad..a9b36bc5c7 100644 --- a/src/gen/src/Apideck/Model/ServiceCharge.cs +++ b/src/gen/src/Apideck/Model/ServiceCharge.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Session.cs b/src/gen/src/Apideck/Model/Session.cs index c907109940..893b65f2eb 100644 --- a/src/gen/src/Apideck/Model/Session.cs +++ b/src/gen/src/Apideck/Model/Session.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SessionSettings.cs b/src/gen/src/Apideck/Model/SessionSettings.cs index 25de018331..e59fe85d4e 100644 --- a/src/gen/src/Apideck/Model/SessionSettings.cs +++ b/src/gen/src/Apideck/Model/SessionSettings.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SessionTheme.cs b/src/gen/src/Apideck/Model/SessionTheme.cs index e833f0bbc0..37cc73aabd 100644 --- a/src/gen/src/Apideck/Model/SessionTheme.cs +++ b/src/gen/src/Apideck/Model/SessionTheme.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SharedLink.cs b/src/gen/src/Apideck/Model/SharedLink.cs index f27629cb84..a408c46d59 100644 --- a/src/gen/src/Apideck/Model/SharedLink.cs +++ b/src/gen/src/Apideck/Model/SharedLink.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SharedLinkTarget.cs b/src/gen/src/Apideck/Model/SharedLinkTarget.cs index 1487278931..0b973447d0 100644 --- a/src/gen/src/Apideck/Model/SharedLinkTarget.cs +++ b/src/gen/src/Apideck/Model/SharedLinkTarget.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SimpleFormFieldOption.cs b/src/gen/src/Apideck/Model/SimpleFormFieldOption.cs index d129c8a709..a3c99e8bc4 100644 --- a/src/gen/src/Apideck/Model/SimpleFormFieldOption.cs +++ b/src/gen/src/Apideck/Model/SimpleFormFieldOption.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SocialLink.cs b/src/gen/src/Apideck/Model/SocialLink.cs index d74bd23896..4a8b4f9b89 100644 --- a/src/gen/src/Apideck/Model/SocialLink.cs +++ b/src/gen/src/Apideck/Model/SocialLink.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SortDirection.cs b/src/gen/src/Apideck/Model/SortDirection.cs index 2359b63333..740198a4b3 100644 --- a/src/gen/src/Apideck/Model/SortDirection.cs +++ b/src/gen/src/Apideck/Model/SortDirection.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Status.cs b/src/gen/src/Apideck/Model/Status.cs index 197d9babc1..7e75753501 100644 --- a/src/gen/src/Apideck/Model/Status.cs +++ b/src/gen/src/Apideck/Model/Status.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Subsidiary.cs b/src/gen/src/Apideck/Model/Subsidiary.cs index ff1a6244b9..4901440354 100644 --- a/src/gen/src/Apideck/Model/Subsidiary.cs +++ b/src/gen/src/Apideck/Model/Subsidiary.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SubsidiaryReference.cs b/src/gen/src/Apideck/Model/SubsidiaryReference.cs index 7bbb1276bf..9dd3ec877e 100644 --- a/src/gen/src/Apideck/Model/SubsidiaryReference.cs +++ b/src/gen/src/Apideck/Model/SubsidiaryReference.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Supplier.cs b/src/gen/src/Apideck/Model/Supplier.cs index 4c4dadb03d..e642d80435 100644 --- a/src/gen/src/Apideck/Model/Supplier.cs +++ b/src/gen/src/Apideck/Model/Supplier.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SuppliersFilter.cs b/src/gen/src/Apideck/Model/SuppliersFilter.cs index 8ccfa8b61d..0fbe169df6 100644 --- a/src/gen/src/Apideck/Model/SuppliersFilter.cs +++ b/src/gen/src/Apideck/Model/SuppliersFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SuppliersSort.cs b/src/gen/src/Apideck/Model/SuppliersSort.cs index 8d3165b12d..f9f77ee0c9 100644 --- a/src/gen/src/Apideck/Model/SuppliersSort.cs +++ b/src/gen/src/Apideck/Model/SuppliersSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/SupportedProperty.cs b/src/gen/src/Apideck/Model/SupportedProperty.cs index 288a7d8f52..b67e8d8024 100644 --- a/src/gen/src/Apideck/Model/SupportedProperty.cs +++ b/src/gen/src/Apideck/Model/SupportedProperty.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Tax.cs b/src/gen/src/Apideck/Model/Tax.cs index ae3a982b22..fb21928c07 100644 --- a/src/gen/src/Apideck/Model/Tax.cs +++ b/src/gen/src/Apideck/Model/Tax.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TaxRate.cs b/src/gen/src/Apideck/Model/TaxRate.cs index 58d9383569..d7fa71d58e 100644 --- a/src/gen/src/Apideck/Model/TaxRate.cs +++ b/src/gen/src/Apideck/Model/TaxRate.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TaxRatesFilter.cs b/src/gen/src/Apideck/Model/TaxRatesFilter.cs index 696818f77c..a8abadb670 100644 --- a/src/gen/src/Apideck/Model/TaxRatesFilter.cs +++ b/src/gen/src/Apideck/Model/TaxRatesFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Team.cs b/src/gen/src/Apideck/Model/Team.cs index bff318ad4d..b3c236b8b4 100644 --- a/src/gen/src/Apideck/Model/Team.cs +++ b/src/gen/src/Apideck/Model/Team.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Tender.cs b/src/gen/src/Apideck/Model/Tender.cs index 96ba2c275e..dc312f7763 100644 --- a/src/gen/src/Apideck/Model/Tender.cs +++ b/src/gen/src/Apideck/Model/Tender.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Ticket.cs b/src/gen/src/Apideck/Model/Ticket.cs index b4ad4d1898..cb4b14bb63 100644 --- a/src/gen/src/Apideck/Model/Ticket.cs +++ b/src/gen/src/Apideck/Model/Ticket.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TicketsSort.cs b/src/gen/src/Apideck/Model/TicketsSort.cs index 9e3fbd0d25..7895a46d9f 100644 --- a/src/gen/src/Apideck/Model/TicketsSort.cs +++ b/src/gen/src/Apideck/Model/TicketsSort.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TimeOffRequest.cs b/src/gen/src/Apideck/Model/TimeOffRequest.cs index 1e38043b96..966d85f0c6 100644 --- a/src/gen/src/Apideck/Model/TimeOffRequest.cs +++ b/src/gen/src/Apideck/Model/TimeOffRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -189,10 +189,11 @@ public enum UnitsEnum /// The date the request was approved. /// The unit of time off requested. Possible values include: `hours`, `days`, or `other`.. /// The amount of time off requested.. + /// The day part of the time off request.. /// notes. /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. /// The policy type of the time off request. - public TimeOffRequest(string employeeId = default(string), string policyId = default(string), StatusEnum? status = default(StatusEnum?), string description = default(string), string startDate = default(string), string endDate = default(string), string requestDate = default(string), RequestTypeEnum? requestType = default(RequestTypeEnum?), string approvalDate = default(string), UnitsEnum? units = default(UnitsEnum?), decimal? amount = default(decimal?), TimeOffRequestNotes notes = default(TimeOffRequestNotes), List passThrough = default(List), string policyType = default(string)) + public TimeOffRequest(string employeeId = default(string), string policyId = default(string), StatusEnum? status = default(StatusEnum?), string description = default(string), string startDate = default(string), string endDate = default(string), string requestDate = default(string), RequestTypeEnum? requestType = default(RequestTypeEnum?), string approvalDate = default(string), UnitsEnum? units = default(UnitsEnum?), decimal? amount = default(decimal?), string dayPart = default(string), TimeOffRequestNotes notes = default(TimeOffRequestNotes), List passThrough = default(List), string policyType = default(string)) { this.EmployeeId = employeeId; this.PolicyId = policyId; @@ -205,6 +206,7 @@ public enum UnitsEnum this.ApprovalDate = approvalDate; this.Units = units; this.Amount = amount; + this.DayPart = dayPart; this.Notes = notes; this.PassThrough = passThrough; this.PolicyType = policyType; @@ -281,6 +283,13 @@ public bool ShouldSerializeId() [DataMember(Name = "amount", EmitDefaultValue = true)] public decimal? Amount { get; set; } + /// + /// The day part of the time off request. + /// + /// The day part of the time off request. + [DataMember(Name = "day_part", EmitDefaultValue = true)] + public string DayPart { get; set; } + /// /// Gets or Sets Notes /// @@ -396,6 +405,7 @@ public override string ToString() sb.Append(" ApprovalDate: ").Append(ApprovalDate).Append("\n"); sb.Append(" Units: ").Append(Units).Append("\n"); sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" DayPart: ").Append(DayPart).Append("\n"); sb.Append(" Notes: ").Append(Notes).Append("\n"); sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); @@ -496,6 +506,11 @@ public bool Equals(TimeOffRequest input) (this.Amount != null && this.Amount.Equals(input.Amount)) ) && + ( + this.DayPart == input.DayPart || + (this.DayPart != null && + this.DayPart.Equals(input.DayPart)) + ) && ( this.Notes == input.Notes || (this.Notes != null && @@ -587,6 +602,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Amount.GetHashCode(); } + if (this.DayPart != null) + { + hashCode = (hashCode * 59) + this.DayPart.GetHashCode(); + } if (this.Notes != null) { hashCode = (hashCode * 59) + this.Notes.GetHashCode(); diff --git a/src/gen/src/Apideck/Model/TimeOffRequestNotes.cs b/src/gen/src/Apideck/Model/TimeOffRequestNotes.cs index cf783315f7..0759578250 100644 --- a/src/gen/src/Apideck/Model/TimeOffRequestNotes.cs +++ b/src/gen/src/Apideck/Model/TimeOffRequestNotes.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TimeOffRequestsFilter.cs b/src/gen/src/Apideck/Model/TimeOffRequestsFilter.cs index 5b2583a3f3..7bf05075dc 100644 --- a/src/gen/src/Apideck/Model/TimeOffRequestsFilter.cs +++ b/src/gen/src/Apideck/Model/TimeOffRequestsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -91,13 +91,15 @@ public enum TimeOffRequestStatusEnum /// Minimum date the time off request was last created or modified. /// Employee ID. /// Time off request status to filter on. - public TimeOffRequestsFilter(string startDate = default(string), string endDate = default(string), string updatedSince = default(string), string employeeId = default(string), TimeOffRequestStatusEnum? timeOffRequestStatus = default(TimeOffRequestStatusEnum?)) + /// Company ID. + public TimeOffRequestsFilter(string startDate = default(string), string endDate = default(string), string updatedSince = default(string), string employeeId = default(string), TimeOffRequestStatusEnum? timeOffRequestStatus = default(TimeOffRequestStatusEnum?), string companyId = default(string)) { this.StartDate = startDate; this.EndDate = endDate; this.UpdatedSince = updatedSince; this.EmployeeId = employeeId; this.TimeOffRequestStatus = timeOffRequestStatus; + this.CompanyId = companyId; } /// @@ -128,6 +130,13 @@ public enum TimeOffRequestStatusEnum [DataMember(Name = "employee_id", EmitDefaultValue = false)] public string EmployeeId { get; set; } + /// + /// Company ID + /// + /// Company ID + [DataMember(Name = "company_id", EmitDefaultValue = false)] + public string CompanyId { get; set; } + /// /// Returns the string presentation of the object /// @@ -141,6 +150,7 @@ public override string ToString() sb.Append(" UpdatedSince: ").Append(UpdatedSince).Append("\n"); sb.Append(" EmployeeId: ").Append(EmployeeId).Append("\n"); sb.Append(" TimeOffRequestStatus: ").Append(TimeOffRequestStatus).Append("\n"); + sb.Append(" CompanyId: ").Append(CompanyId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -199,6 +209,11 @@ public bool Equals(TimeOffRequestsFilter input) ( this.TimeOffRequestStatus == input.TimeOffRequestStatus || this.TimeOffRequestStatus.Equals(input.TimeOffRequestStatus) + ) && + ( + this.CompanyId == input.CompanyId || + (this.CompanyId != null && + this.CompanyId.Equals(input.CompanyId)) ); } @@ -228,6 +243,10 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.EmployeeId.GetHashCode(); } hashCode = (hashCode * 59) + this.TimeOffRequestStatus.GetHashCode(); + if (this.CompanyId != null) + { + hashCode = (hashCode * 59) + this.CompanyId.GetHashCode(); + } return hashCode; } } diff --git a/src/gen/src/Apideck/Model/TooManyRequestsResponse.cs b/src/gen/src/Apideck/Model/TooManyRequestsResponse.cs index 6bfb2ef3e9..d4ef2ea9eb 100644 --- a/src/gen/src/Apideck/Model/TooManyRequestsResponse.cs +++ b/src/gen/src/Apideck/Model/TooManyRequestsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TooManyRequestsResponseDetail.cs b/src/gen/src/Apideck/Model/TooManyRequestsResponseDetail.cs index e564e9c311..fce9de4e07 100644 --- a/src/gen/src/Apideck/Model/TooManyRequestsResponseDetail.cs +++ b/src/gen/src/Apideck/Model/TooManyRequestsResponseDetail.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/TrackingCategory.cs b/src/gen/src/Apideck/Model/TrackingCategory.cs new file mode 100644 index 0000000000..47e370e074 --- /dev/null +++ b/src/gen/src/Apideck/Model/TrackingCategory.cs @@ -0,0 +1,392 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// TrackingCategory + /// + [DataContract(Name = "TrackingCategory")] + public partial class TrackingCategory : IEquatable, IValidatableObject + { + /// + /// Based on the status some functionality is enabled or disabled. + /// + /// Based on the status some functionality is enabled or disabled. + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + /// + /// Enum Active for value: active + /// + [EnumMember(Value = "active")] + Active = 1, + + /// + /// Enum Inactive for value: inactive + /// + [EnumMember(Value = "inactive")] + Inactive = 2 + + } + + + /// + /// Based on the status some functionality is enabled or disabled. + /// + /// Based on the status some functionality is enabled or disabled. + [DataMember(Name = "status", EmitDefaultValue = false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// A unique identifier for an object.. + /// The name of the tracking category.. + /// The code of the tracking category.. + /// Based on the status some functionality is enabled or disabled.. + /// 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.. + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.. + public TrackingCategory(string parentId = default(string), string name = default(string), string code = default(string), StatusEnum? status = default(StatusEnum?), string rowVersion = default(string), List passThrough = default(List)) + { + this.ParentId = parentId; + this.Name = name; + this.Code = code; + this.Status = status; + this.RowVersion = rowVersion; + this.PassThrough = passThrough; + } + + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; private set; } + + /// + /// Returns false as Id should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeId() + { + return false; + } + /// + /// A unique identifier for an object. + /// + /// A unique identifier for an object. + [DataMember(Name = "parent_id", EmitDefaultValue = true)] + public string ParentId { get; set; } + + /// + /// The name of the tracking category. + /// + /// The name of the tracking category. + [DataMember(Name = "name", EmitDefaultValue = false)] + public string Name { get; set; } + + /// + /// The code of the tracking category. + /// + /// The code of the tracking category. + [DataMember(Name = "code", EmitDefaultValue = true)] + public string Code { get; set; } + + /// + /// When custom mappings are configured on the resource, the result is included here. + /// + /// When custom mappings are configured on the resource, the result is included here. + [DataMember(Name = "custom_mappings", EmitDefaultValue = true)] + public Object CustomMappings { get; private set; } + + /// + /// Returns false as CustomMappings should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCustomMappings() + { + return false; + } + /// + /// 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. + /// + /// 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. + [DataMember(Name = "row_version", EmitDefaultValue = true)] + public string RowVersion { get; set; } + + /// + /// The user who last updated the object. + /// + /// The user who last updated the object. + [DataMember(Name = "updated_by", EmitDefaultValue = true)] + public string UpdatedBy { get; private set; } + + /// + /// Returns false as UpdatedBy should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeUpdatedBy() + { + return false; + } + /// + /// The user who created the object. + /// + /// The user who created the object. + [DataMember(Name = "created_by", EmitDefaultValue = true)] + public string CreatedBy { get; private set; } + + /// + /// Returns false as CreatedBy should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCreatedBy() + { + return false; + } + /// + /// The date and time when the object was last updated. + /// + /// The date and time when the object was last updated. + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; private set; } + + /// + /// Returns false as UpdatedAt should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeUpdatedAt() + { + return false; + } + /// + /// The date and time when the object was created. + /// + /// The date and time when the object was created. + [DataMember(Name = "created_at", EmitDefaultValue = true)] + public DateTime? CreatedAt { get; private set; } + + /// + /// Returns false as CreatedAt should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCreatedAt() + { + return false; + } + /// + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + /// + /// The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. + [DataMember(Name = "pass_through", EmitDefaultValue = false)] + public List PassThrough { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class TrackingCategory {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" ParentId: ").Append(ParentId).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" CustomMappings: ").Append(CustomMappings).Append("\n"); + sb.Append(" RowVersion: ").Append(RowVersion).Append("\n"); + sb.Append(" UpdatedBy: ").Append(UpdatedBy).Append("\n"); + sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" PassThrough: ").Append(PassThrough).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as TrackingCategory); + } + + /// + /// Returns true if TrackingCategory instances are equal + /// + /// Instance of TrackingCategory to be compared + /// Boolean + public bool Equals(TrackingCategory input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.ParentId == input.ParentId || + (this.ParentId != null && + this.ParentId.Equals(input.ParentId)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Code == input.Code || + (this.Code != null && + this.Code.Equals(input.Code)) + ) && + ( + this.Status == input.Status || + this.Status.Equals(input.Status) + ) && + ( + this.CustomMappings == input.CustomMappings || + (this.CustomMappings != null && + this.CustomMappings.Equals(input.CustomMappings)) + ) && + ( + this.RowVersion == input.RowVersion || + (this.RowVersion != null && + this.RowVersion.Equals(input.RowVersion)) + ) && + ( + this.UpdatedBy == input.UpdatedBy || + (this.UpdatedBy != null && + this.UpdatedBy.Equals(input.UpdatedBy)) + ) && + ( + this.CreatedBy == input.CreatedBy || + (this.CreatedBy != null && + this.CreatedBy.Equals(input.CreatedBy)) + ) && + ( + this.UpdatedAt == input.UpdatedAt || + (this.UpdatedAt != null && + this.UpdatedAt.Equals(input.UpdatedAt)) + ) && + ( + this.CreatedAt == input.CreatedAt || + (this.CreatedAt != null && + this.CreatedAt.Equals(input.CreatedAt)) + ) && + ( + this.PassThrough == input.PassThrough || + this.PassThrough != null && + input.PassThrough != null && + this.PassThrough.SequenceEqual(input.PassThrough) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.ParentId != null) + { + hashCode = (hashCode * 59) + this.ParentId.GetHashCode(); + } + if (this.Name != null) + { + hashCode = (hashCode * 59) + this.Name.GetHashCode(); + } + if (this.Code != null) + { + hashCode = (hashCode * 59) + this.Code.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + if (this.CustomMappings != null) + { + hashCode = (hashCode * 59) + this.CustomMappings.GetHashCode(); + } + if (this.RowVersion != null) + { + hashCode = (hashCode * 59) + this.RowVersion.GetHashCode(); + } + if (this.UpdatedBy != null) + { + hashCode = (hashCode * 59) + this.UpdatedBy.GetHashCode(); + } + if (this.CreatedBy != null) + { + hashCode = (hashCode * 59) + this.CreatedBy.GetHashCode(); + } + if (this.UpdatedAt != null) + { + hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode(); + } + if (this.CreatedAt != null) + { + hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode(); + } + if (this.PassThrough != null) + { + hashCode = (hashCode * 59) + this.PassThrough.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/TrackingItem.cs b/src/gen/src/Apideck/Model/TrackingItem.cs index 5b64656d49..fc4cd58927 100644 --- a/src/gen/src/Apideck/Model/TrackingItem.cs +++ b/src/gen/src/Apideck/Model/TrackingItem.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnauthorizedResponse.cs b/src/gen/src/Apideck/Model/UnauthorizedResponse.cs index d04e50649d..cf38b8da92 100644 --- a/src/gen/src/Apideck/Model/UnauthorizedResponse.cs +++ b/src/gen/src/Apideck/Model/UnauthorizedResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnexpectedErrorResponse.cs b/src/gen/src/Apideck/Model/UnexpectedErrorResponse.cs index 1ce5431db6..e02d65f3a3 100644 --- a/src/gen/src/Apideck/Model/UnexpectedErrorResponse.cs +++ b/src/gen/src/Apideck/Model/UnexpectedErrorResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnifiedApiId.cs b/src/gen/src/Apideck/Model/UnifiedApiId.cs index 7c5bf15b9f..4716339c0d 100644 --- a/src/gen/src/Apideck/Model/UnifiedApiId.cs +++ b/src/gen/src/Apideck/Model/UnifiedApiId.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnifiedFile.cs b/src/gen/src/Apideck/Model/UnifiedFile.cs index c9f7508b03..f65edf1ece 100644 --- a/src/gen/src/Apideck/Model/UnifiedFile.cs +++ b/src/gen/src/Apideck/Model/UnifiedFile.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnifiedFilePermissions.cs b/src/gen/src/Apideck/Model/UnifiedFilePermissions.cs index c70f3de353..5473958335 100644 --- a/src/gen/src/Apideck/Model/UnifiedFilePermissions.cs +++ b/src/gen/src/Apideck/Model/UnifiedFilePermissions.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnifiedId.cs b/src/gen/src/Apideck/Model/UnifiedId.cs index 032b232cee..0f16db0b79 100644 --- a/src/gen/src/Apideck/Model/UnifiedId.cs +++ b/src/gen/src/Apideck/Model/UnifiedId.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UnprocessableResponse.cs b/src/gen/src/Apideck/Model/UnprocessableResponse.cs index e14276346a..755f820f5b 100644 --- a/src/gen/src/Apideck/Model/UnprocessableResponse.cs +++ b/src/gen/src/Apideck/Model/UnprocessableResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateAccountingDepartmentResponse.cs b/src/gen/src/Apideck/Model/UpdateAccountingDepartmentResponse.cs index f33807492f..b4d3638dca 100644 --- a/src/gen/src/Apideck/Model/UpdateAccountingDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateAccountingDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateAccountingLocationResponse.cs b/src/gen/src/Apideck/Model/UpdateAccountingLocationResponse.cs index f94a4891f3..9024f51eec 100644 --- a/src/gen/src/Apideck/Model/UpdateAccountingLocationResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateAccountingLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateActivityResponse.cs b/src/gen/src/Apideck/Model/UpdateActivityResponse.cs index 2a68084999..935ee5d2f6 100644 --- a/src/gen/src/Apideck/Model/UpdateActivityResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateActivityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateApplicantResponse.cs b/src/gen/src/Apideck/Model/UpdateApplicantResponse.cs index 4434585f36..62110ee64d 100644 --- a/src/gen/src/Apideck/Model/UpdateApplicantResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateApplicantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateApplicationResponse.cs b/src/gen/src/Apideck/Model/UpdateApplicationResponse.cs index 7aaa87c241..071940ccb0 100644 --- a/src/gen/src/Apideck/Model/UpdateApplicationResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateApplicationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateBillPaymentResponse.cs b/src/gen/src/Apideck/Model/UpdateBillPaymentResponse.cs new file mode 100644 index 0000000000..47a8e42b5e --- /dev/null +++ b/src/gen/src/Apideck/Model/UpdateBillPaymentResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// UpdateBillPaymentResponse + /// + [DataContract(Name = "UpdateBillPaymentResponse")] + public partial class UpdateBillPaymentResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected UpdateBillPaymentResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public UpdateBillPaymentResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for UpdateBillPaymentResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for UpdateBillPaymentResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for UpdateBillPaymentResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for UpdateBillPaymentResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for UpdateBillPaymentResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class UpdateBillPaymentResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as UpdateBillPaymentResponse); + } + + /// + /// Returns true if UpdateBillPaymentResponse instances are equal + /// + /// Instance of UpdateBillPaymentResponse to be compared + /// Boolean + public bool Equals(UpdateBillPaymentResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/UpdateBillResponse.cs b/src/gen/src/Apideck/Model/UpdateBillResponse.cs index 9f5b4a9f5b..349e11ec8a 100644 --- a/src/gen/src/Apideck/Model/UpdateBillResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateBillResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateCommentResponse.cs b/src/gen/src/Apideck/Model/UpdateCommentResponse.cs index 114ac8d958..d82804bbce 100644 --- a/src/gen/src/Apideck/Model/UpdateCommentResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateCommentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateCompanyResponse.cs b/src/gen/src/Apideck/Model/UpdateCompanyResponse.cs index c302fc3d4a..bbf10e573d 100644 --- a/src/gen/src/Apideck/Model/UpdateCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateConnectionResponse.cs b/src/gen/src/Apideck/Model/UpdateConnectionResponse.cs index 850a07c9b7..f269c954fc 100644 --- a/src/gen/src/Apideck/Model/UpdateConnectionResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateConnectionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateConsumerRequest.cs b/src/gen/src/Apideck/Model/UpdateConsumerRequest.cs index d1e66850ce..65fba6b1a0 100644 --- a/src/gen/src/Apideck/Model/UpdateConsumerRequest.cs +++ b/src/gen/src/Apideck/Model/UpdateConsumerRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateConsumerResponse.cs b/src/gen/src/Apideck/Model/UpdateConsumerResponse.cs index ea68ae6e94..db2d2faab1 100644 --- a/src/gen/src/Apideck/Model/UpdateConsumerResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateConsumerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateContactResponse.cs b/src/gen/src/Apideck/Model/UpdateContactResponse.cs index 07bf3f52d6..0ba9a3463d 100644 --- a/src/gen/src/Apideck/Model/UpdateContactResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateContactResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateCreditNoteResponse.cs b/src/gen/src/Apideck/Model/UpdateCreditNoteResponse.cs index f21b5fee46..97a2db0d58 100644 --- a/src/gen/src/Apideck/Model/UpdateCreditNoteResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateCreditNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateCustomMappingRequest.cs b/src/gen/src/Apideck/Model/UpdateCustomMappingRequest.cs index aa2453ab92..ed0afbb4aa 100644 --- a/src/gen/src/Apideck/Model/UpdateCustomMappingRequest.cs +++ b/src/gen/src/Apideck/Model/UpdateCustomMappingRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateCustomMappingResponse.cs b/src/gen/src/Apideck/Model/UpdateCustomMappingResponse.cs index 765d30f028..9c285bcefc 100644 --- a/src/gen/src/Apideck/Model/UpdateCustomMappingResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateCustomMappingResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateCustomerResponse.cs b/src/gen/src/Apideck/Model/UpdateCustomerResponse.cs index 1a09e24f9e..8e09bf593c 100644 --- a/src/gen/src/Apideck/Model/UpdateCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateDepartmentResponse.cs b/src/gen/src/Apideck/Model/UpdateDepartmentResponse.cs index a1cc87005b..2702dd957d 100644 --- a/src/gen/src/Apideck/Model/UpdateDepartmentResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateDepartmentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateDriveGroupResponse.cs b/src/gen/src/Apideck/Model/UpdateDriveGroupResponse.cs index f0c698434b..123b365642 100644 --- a/src/gen/src/Apideck/Model/UpdateDriveGroupResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateDriveGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateDriveResponse.cs b/src/gen/src/Apideck/Model/UpdateDriveResponse.cs index aaf6ca6f79..2519981065 100644 --- a/src/gen/src/Apideck/Model/UpdateDriveResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateDriveResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateEcommerceCustomerResponse.cs b/src/gen/src/Apideck/Model/UpdateEcommerceCustomerResponse.cs index ba7160ed0f..4e1462333e 100644 --- a/src/gen/src/Apideck/Model/UpdateEcommerceCustomerResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateEcommerceCustomerResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateEcommerceOrderResponse.cs b/src/gen/src/Apideck/Model/UpdateEcommerceOrderResponse.cs index 12b8973d81..334958d491 100644 --- a/src/gen/src/Apideck/Model/UpdateEcommerceOrderResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateEcommerceOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateEmployeeResponse.cs b/src/gen/src/Apideck/Model/UpdateEmployeeResponse.cs index c897d3e04a..0729ed091e 100644 --- a/src/gen/src/Apideck/Model/UpdateEmployeeResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateEmployeeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateExpenseResponse.cs b/src/gen/src/Apideck/Model/UpdateExpenseResponse.cs new file mode 100644 index 0000000000..32f32ee972 --- /dev/null +++ b/src/gen/src/Apideck/Model/UpdateExpenseResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// UpdateExpenseResponse + /// + [DataContract(Name = "UpdateExpenseResponse")] + public partial class UpdateExpenseResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected UpdateExpenseResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public UpdateExpenseResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for UpdateExpenseResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for UpdateExpenseResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for UpdateExpenseResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for UpdateExpenseResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for UpdateExpenseResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class UpdateExpenseResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as UpdateExpenseResponse); + } + + /// + /// Returns true if UpdateExpenseResponse instances are equal + /// + /// Instance of UpdateExpenseResponse to be compared + /// Boolean + public bool Equals(UpdateExpenseResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/UpdateFileRequest.cs b/src/gen/src/Apideck/Model/UpdateFileRequest.cs index 97419abf56..eaaaca33d4 100644 --- a/src/gen/src/Apideck/Model/UpdateFileRequest.cs +++ b/src/gen/src/Apideck/Model/UpdateFileRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateFileResponse.cs b/src/gen/src/Apideck/Model/UpdateFileResponse.cs index 68cfb2ef57..22ff724652 100644 --- a/src/gen/src/Apideck/Model/UpdateFileResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateFileResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateFolderRequest.cs b/src/gen/src/Apideck/Model/UpdateFolderRequest.cs index 791d4c5f90..15a9f8bebe 100644 --- a/src/gen/src/Apideck/Model/UpdateFolderRequest.cs +++ b/src/gen/src/Apideck/Model/UpdateFolderRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateFolderResponse.cs b/src/gen/src/Apideck/Model/UpdateFolderResponse.cs index 6d40557bc6..af141303c8 100644 --- a/src/gen/src/Apideck/Model/UpdateFolderResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateFolderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateHrisCompanyResponse.cs b/src/gen/src/Apideck/Model/UpdateHrisCompanyResponse.cs index bce63599ad..473a84c349 100644 --- a/src/gen/src/Apideck/Model/UpdateHrisCompanyResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateHrisCompanyResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateInvoiceItemsResponse.cs b/src/gen/src/Apideck/Model/UpdateInvoiceItemsResponse.cs index 6340a82d92..0c4e70d4dd 100644 --- a/src/gen/src/Apideck/Model/UpdateInvoiceItemsResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateInvoiceItemsResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateInvoiceResponse.cs b/src/gen/src/Apideck/Model/UpdateInvoiceResponse.cs index 6ec2df21f6..5d906318d4 100644 --- a/src/gen/src/Apideck/Model/UpdateInvoiceResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateInvoiceResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateItemResponse.cs b/src/gen/src/Apideck/Model/UpdateItemResponse.cs index 3021e1f6b4..3326c68655 100644 --- a/src/gen/src/Apideck/Model/UpdateItemResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateItemResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateJobResponse.cs b/src/gen/src/Apideck/Model/UpdateJobResponse.cs index 8a8ea7d8d0..94b3bb8ad3 100644 --- a/src/gen/src/Apideck/Model/UpdateJobResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateJobResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateJournalEntryResponse.cs b/src/gen/src/Apideck/Model/UpdateJournalEntryResponse.cs index 049c912802..6a544f3118 100644 --- a/src/gen/src/Apideck/Model/UpdateJournalEntryResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateJournalEntryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateLeadResponse.cs b/src/gen/src/Apideck/Model/UpdateLeadResponse.cs index 22a9ed2673..30f24cabfc 100644 --- a/src/gen/src/Apideck/Model/UpdateLeadResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateLeadResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateLedgerAccountResponse.cs b/src/gen/src/Apideck/Model/UpdateLedgerAccountResponse.cs index 0f82a6b53c..3e832c111d 100644 --- a/src/gen/src/Apideck/Model/UpdateLedgerAccountResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateLedgerAccountResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateLocationResponse.cs b/src/gen/src/Apideck/Model/UpdateLocationResponse.cs index e2cf09aebe..a44301aca3 100644 --- a/src/gen/src/Apideck/Model/UpdateLocationResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateLocationResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateMerchantResponse.cs b/src/gen/src/Apideck/Model/UpdateMerchantResponse.cs index f5b36f0b49..f6431e00cf 100644 --- a/src/gen/src/Apideck/Model/UpdateMerchantResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateMerchantResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateMessageResponse.cs b/src/gen/src/Apideck/Model/UpdateMessageResponse.cs index ce892a4163..d024697fe5 100644 --- a/src/gen/src/Apideck/Model/UpdateMessageResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateMessageResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateModifierGroupResponse.cs b/src/gen/src/Apideck/Model/UpdateModifierGroupResponse.cs index e513c3ab72..c381c6024b 100644 --- a/src/gen/src/Apideck/Model/UpdateModifierGroupResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateModifierGroupResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateModifierResponse.cs b/src/gen/src/Apideck/Model/UpdateModifierResponse.cs index a30ca8f3d2..ae7276c898 100644 --- a/src/gen/src/Apideck/Model/UpdateModifierResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateModifierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateNoteResponse.cs b/src/gen/src/Apideck/Model/UpdateNoteResponse.cs index 234751e5ef..7a9178a234 100644 --- a/src/gen/src/Apideck/Model/UpdateNoteResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateNoteResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateOpportunityResponse.cs b/src/gen/src/Apideck/Model/UpdateOpportunityResponse.cs index 7489b3c101..9ace3b0ec7 100644 --- a/src/gen/src/Apideck/Model/UpdateOpportunityResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateOpportunityResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateOrderResponse.cs b/src/gen/src/Apideck/Model/UpdateOrderResponse.cs index 4bce5acc62..b45099db47 100644 --- a/src/gen/src/Apideck/Model/UpdateOrderResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateOrderTypeResponse.cs b/src/gen/src/Apideck/Model/UpdateOrderTypeResponse.cs index e233a79d94..e3cf20356a 100644 --- a/src/gen/src/Apideck/Model/UpdateOrderTypeResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateOrderTypeResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdatePaymentResponse.cs b/src/gen/src/Apideck/Model/UpdatePaymentResponse.cs index a8c425c5e0..e98fc1bd7e 100644 --- a/src/gen/src/Apideck/Model/UpdatePaymentResponse.cs +++ b/src/gen/src/Apideck/Model/UpdatePaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdatePipelineResponse.cs b/src/gen/src/Apideck/Model/UpdatePipelineResponse.cs index 8267e56a54..0c71eb0c3d 100644 --- a/src/gen/src/Apideck/Model/UpdatePipelineResponse.cs +++ b/src/gen/src/Apideck/Model/UpdatePipelineResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdatePosPaymentResponse.cs b/src/gen/src/Apideck/Model/UpdatePosPaymentResponse.cs index 23e7bd970d..75c5b635ad 100644 --- a/src/gen/src/Apideck/Model/UpdatePosPaymentResponse.cs +++ b/src/gen/src/Apideck/Model/UpdatePosPaymentResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateProductResponse.cs b/src/gen/src/Apideck/Model/UpdateProductResponse.cs index d84c2aff85..a01d0af1ef 100644 --- a/src/gen/src/Apideck/Model/UpdateProductResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateProductResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdatePurchaseOrderResponse.cs b/src/gen/src/Apideck/Model/UpdatePurchaseOrderResponse.cs index f4270244ff..a1764ad4c3 100644 --- a/src/gen/src/Apideck/Model/UpdatePurchaseOrderResponse.cs +++ b/src/gen/src/Apideck/Model/UpdatePurchaseOrderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateSharedLinkResponse.cs b/src/gen/src/Apideck/Model/UpdateSharedLinkResponse.cs index 1034f0ce83..38cde71ff2 100644 --- a/src/gen/src/Apideck/Model/UpdateSharedLinkResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateSharedLinkResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateSubsidiaryResponse.cs b/src/gen/src/Apideck/Model/UpdateSubsidiaryResponse.cs index 7c52e2b5d3..9efa03fcac 100644 --- a/src/gen/src/Apideck/Model/UpdateSubsidiaryResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateSubsidiaryResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateSupplierResponse.cs b/src/gen/src/Apideck/Model/UpdateSupplierResponse.cs index f66b443f66..141619f773 100644 --- a/src/gen/src/Apideck/Model/UpdateSupplierResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateSupplierResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateTaxRateResponse.cs b/src/gen/src/Apideck/Model/UpdateTaxRateResponse.cs index 12cd08f30b..6f1e204c4c 100644 --- a/src/gen/src/Apideck/Model/UpdateTaxRateResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateTaxRateResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateTenderResponse.cs b/src/gen/src/Apideck/Model/UpdateTenderResponse.cs index 695e32ddef..1eb265824d 100644 --- a/src/gen/src/Apideck/Model/UpdateTenderResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateTenderResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateTicketResponse.cs b/src/gen/src/Apideck/Model/UpdateTicketResponse.cs index 423d3bced1..3065d2c9f5 100644 --- a/src/gen/src/Apideck/Model/UpdateTicketResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateTicketResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateTimeOffRequestResponse.cs b/src/gen/src/Apideck/Model/UpdateTimeOffRequestResponse.cs index d3c736e3cb..cef99bae97 100644 --- a/src/gen/src/Apideck/Model/UpdateTimeOffRequestResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateTimeOffRequestResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateTrackingCategoryResponse.cs b/src/gen/src/Apideck/Model/UpdateTrackingCategoryResponse.cs new file mode 100644 index 0000000000..6d00aba3aa --- /dev/null +++ b/src/gen/src/Apideck/Model/UpdateTrackingCategoryResponse.cs @@ -0,0 +1,244 @@ +/* + * Apideck + * + * The Apideck OpenAPI Spec: SDK Optimized + * + * The version of the OpenAPI document: 10.7.3 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Apideck.Client.OpenAPIDateConverter; + +namespace Apideck.Model +{ + /// + /// UpdateTrackingCategoryResponse + /// + [DataContract(Name = "UpdateTrackingCategoryResponse")] + public partial class UpdateTrackingCategoryResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected UpdateTrackingCategoryResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// HTTP Response Status Code (required). + /// HTTP Response Status (required). + /// Apideck ID of service provider (required). + /// Unified API resource name (required). + /// Operation performed (required). + /// data (required). + public UpdateTrackingCategoryResponse(int statusCode = default(int), string status = default(string), string service = default(string), string resource = default(string), string operation = default(string), UnifiedId data = default(UnifiedId)) + { + this.StatusCode = statusCode; + // to ensure "status" is required (not null) + if (status == null) { + throw new ArgumentNullException("status is a required property for UpdateTrackingCategoryResponse and cannot be null"); + } + this.Status = status; + // to ensure "service" is required (not null) + if (service == null) { + throw new ArgumentNullException("service is a required property for UpdateTrackingCategoryResponse and cannot be null"); + } + this.Service = service; + // to ensure "resource" is required (not null) + if (resource == null) { + throw new ArgumentNullException("resource is a required property for UpdateTrackingCategoryResponse and cannot be null"); + } + this.Resource = resource; + // to ensure "operation" is required (not null) + if (operation == null) { + throw new ArgumentNullException("operation is a required property for UpdateTrackingCategoryResponse and cannot be null"); + } + this.Operation = operation; + // to ensure "data" is required (not null) + if (data == null) { + throw new ArgumentNullException("data is a required property for UpdateTrackingCategoryResponse and cannot be null"); + } + this.Data = data; + } + + /// + /// HTTP Response Status Code + /// + /// HTTP Response Status Code + [DataMember(Name = "status_code", IsRequired = true, EmitDefaultValue = false)] + public int StatusCode { get; set; } + + /// + /// HTTP Response Status + /// + /// HTTP Response Status + [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] + public string Status { get; set; } + + /// + /// Apideck ID of service provider + /// + /// Apideck ID of service provider + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = false)] + public string Service { get; set; } + + /// + /// Unified API resource name + /// + /// Unified API resource name + [DataMember(Name = "resource", IsRequired = true, EmitDefaultValue = false)] + public string Resource { get; set; } + + /// + /// Operation performed + /// + /// Operation performed + [DataMember(Name = "operation", IsRequired = true, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = false)] + public UnifiedId Data { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class UpdateTrackingCategoryResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Resource: ").Append(Resource).Append("\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as UpdateTrackingCategoryResponse); + } + + /// + /// Returns true if UpdateTrackingCategoryResponse instances are equal + /// + /// Instance of UpdateTrackingCategoryResponse to be compared + /// Boolean + public bool Equals(UpdateTrackingCategoryResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.StatusCode == input.StatusCode || + this.StatusCode.Equals(input.StatusCode) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Resource == input.Resource || + (this.Resource != null && + this.Resource.Equals(input.Resource)) + ) && + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Resource != null) + { + hashCode = (hashCode * 59) + this.Resource.GetHashCode(); + } + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/gen/src/Apideck/Model/UpdateUploadSessionResponse.cs b/src/gen/src/Apideck/Model/UpdateUploadSessionResponse.cs index e133cd1876..d857ef01e5 100644 --- a/src/gen/src/Apideck/Model/UpdateUploadSessionResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateUploadSessionResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateUserResponse.cs b/src/gen/src/Apideck/Model/UpdateUserResponse.cs index 7639fbe39b..a7f0a9b022 100644 --- a/src/gen/src/Apideck/Model/UpdateUserResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateUserResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateWebhookRequest.cs b/src/gen/src/Apideck/Model/UpdateWebhookRequest.cs index a0f6d0e52c..1eaf4fdbca 100644 --- a/src/gen/src/Apideck/Model/UpdateWebhookRequest.cs +++ b/src/gen/src/Apideck/Model/UpdateWebhookRequest.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UpdateWebhookResponse.cs b/src/gen/src/Apideck/Model/UpdateWebhookResponse.cs index 8b05cd2259..2680491aa6 100644 --- a/src/gen/src/Apideck/Model/UpdateWebhookResponse.cs +++ b/src/gen/src/Apideck/Model/UpdateWebhookResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/UploadSession.cs b/src/gen/src/Apideck/Model/UploadSession.cs index f5c619a921..19408cf4b3 100644 --- a/src/gen/src/Apideck/Model/UploadSession.cs +++ b/src/gen/src/Apideck/Model/UploadSession.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/User.cs b/src/gen/src/Apideck/Model/User.cs index ee2cb6ec6b..0870412fb4 100644 --- a/src/gen/src/Apideck/Model/User.cs +++ b/src/gen/src/Apideck/Model/User.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ValidateConnectionStateResponse.cs b/src/gen/src/Apideck/Model/ValidateConnectionStateResponse.cs index 8915553666..9c597ce9dc 100644 --- a/src/gen/src/Apideck/Model/ValidateConnectionStateResponse.cs +++ b/src/gen/src/Apideck/Model/ValidateConnectionStateResponse.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/ValidateConnectionStateResponseData.cs b/src/gen/src/Apideck/Model/ValidateConnectionStateResponseData.cs index bc69ef7cfe..f18228fe47 100644 --- a/src/gen/src/Apideck/Model/ValidateConnectionStateResponseData.cs +++ b/src/gen/src/Apideck/Model/ValidateConnectionStateResponseData.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/VaultEventType.cs b/src/gen/src/Apideck/Model/VaultEventType.cs index 00c1bbaf42..2c689b2bad 100644 --- a/src/gen/src/Apideck/Model/VaultEventType.cs +++ b/src/gen/src/Apideck/Model/VaultEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/VirtualWebhooks.cs b/src/gen/src/Apideck/Model/VirtualWebhooks.cs index da4b6167c3..b832610dce 100644 --- a/src/gen/src/Apideck/Model/VirtualWebhooks.cs +++ b/src/gen/src/Apideck/Model/VirtualWebhooks.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WalletDetails.cs b/src/gen/src/Apideck/Model/WalletDetails.cs index 5ed4416463..8bdde7b0fe 100644 --- a/src/gen/src/Apideck/Model/WalletDetails.cs +++ b/src/gen/src/Apideck/Model/WalletDetails.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Webhook.cs b/src/gen/src/Apideck/Model/Webhook.cs index 33af890dc9..6402e55a1f 100644 --- a/src/gen/src/Apideck/Model/Webhook.cs +++ b/src/gen/src/Apideck/Model/Webhook.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEvent.cs b/src/gen/src/Apideck/Model/WebhookEvent.cs index 8b121b1e32..206843a454 100644 --- a/src/gen/src/Apideck/Model/WebhookEvent.cs +++ b/src/gen/src/Apideck/Model/WebhookEvent.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEventLog.cs b/src/gen/src/Apideck/Model/WebhookEventLog.cs index 2d4d2a1a4c..c5ef01c53b 100644 --- a/src/gen/src/Apideck/Model/WebhookEventLog.cs +++ b/src/gen/src/Apideck/Model/WebhookEventLog.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEventLogAttempts.cs b/src/gen/src/Apideck/Model/WebhookEventLogAttempts.cs index 54e6986a1e..5cfab0dda5 100644 --- a/src/gen/src/Apideck/Model/WebhookEventLogAttempts.cs +++ b/src/gen/src/Apideck/Model/WebhookEventLogAttempts.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEventLogService.cs b/src/gen/src/Apideck/Model/WebhookEventLogService.cs index 1b8a0f7671..3e0149dd14 100644 --- a/src/gen/src/Apideck/Model/WebhookEventLogService.cs +++ b/src/gen/src/Apideck/Model/WebhookEventLogService.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEventLogsFilter.cs b/src/gen/src/Apideck/Model/WebhookEventLogsFilter.cs index 1306892e61..b5af10b128 100644 --- a/src/gen/src/Apideck/Model/WebhookEventLogsFilter.cs +++ b/src/gen/src/Apideck/Model/WebhookEventLogsFilter.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEventLogsFilterService.cs b/src/gen/src/Apideck/Model/WebhookEventLogsFilterService.cs index 9fa7219e67..84a2f2635f 100644 --- a/src/gen/src/Apideck/Model/WebhookEventLogsFilterService.cs +++ b/src/gen/src/Apideck/Model/WebhookEventLogsFilterService.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookEventType.cs b/src/gen/src/Apideck/Model/WebhookEventType.cs index 76a9845a67..51994d3d3b 100644 --- a/src/gen/src/Apideck/Model/WebhookEventType.cs +++ b/src/gen/src/Apideck/Model/WebhookEventType.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -641,7 +641,25 @@ public enum WebhookEventType /// Enum AtsApplicationDeleted for value: ats.application.deleted /// [EnumMember(Value = "ats.application.deleted")] - AtsApplicationDeleted = 102 + AtsApplicationDeleted = 102, + + /// + /// Enum AccountingExpenseCreated for value: accounting.expense.created + /// + [EnumMember(Value = "accounting.expense.created")] + AccountingExpenseCreated = 103, + + /// + /// Enum AccountingExpenseUpdated for value: accounting.expense.updated + /// + [EnumMember(Value = "accounting.expense.updated")] + AccountingExpenseUpdated = 104, + + /// + /// Enum AccountingExpenseDeleted for value: accounting.expense.deleted + /// + [EnumMember(Value = "accounting.expense.deleted")] + AccountingExpenseDeleted = 105 } diff --git a/src/gen/src/Apideck/Model/WebhookSubscription.cs b/src/gen/src/Apideck/Model/WebhookSubscription.cs index 7b1cb5e286..bb0e7713a4 100644 --- a/src/gen/src/Apideck/Model/WebhookSubscription.cs +++ b/src/gen/src/Apideck/Model/WebhookSubscription.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/WebhookSupport.cs b/src/gen/src/Apideck/Model/WebhookSupport.cs index 07e3b384c0..362ad1f303 100644 --- a/src/gen/src/Apideck/Model/WebhookSupport.cs +++ b/src/gen/src/Apideck/Model/WebhookSupport.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/gen/src/Apideck/Model/Website.cs b/src/gen/src/Apideck/Model/Website.cs index 4220f54f5f..9482b9999e 100644 --- a/src/gen/src/Apideck/Model/Website.cs +++ b/src/gen/src/Apideck/Model/Website.cs @@ -3,7 +3,7 @@ * * The Apideck OpenAPI Spec: SDK Optimized * - * The version of the OpenAPI document: 10.6.3 + * The version of the OpenAPI document: 10.7.3 * Generated by: https://github.com/openapitools/openapi-generator.git */